We use cookies to provide our visitors with an optimal site experience. View our privacy notice and cookie notice to learn more about how we use cookies and how to manage your settings. By proceeding on our website you consent to the use of cookies.
I have attached an excel file in this thread. It has the factory default EEPROM values and the values used in my application. This will give you an idea on what to tune to get a satisfactory performance. The motor inductance should be amongst the important parameters to be tune to get a reliable start-up. Have you done that?
One issue was a unsatisfactory speed response in closed loop.
Thanks for the response. I have looked a your excel file briefly, but will study it in more detail!
To answer your question, no I have not tuned the inductance properly using a scope yet (as suggested in application note) - I have only experimented with different values using the GUI.
Today I was able to get more reliable start up though (with no load on motor at this stage, eventually it will drive a pump head). This was with the inductance set to ‘7’ on the GUI, though I don’t know how that value actually relates to the motor inductance (i.e. my motor spec sheet lists an inductance of 0.45 mH)
Either way, I was happier with start up consistency…but have been trying to push the start up time / acceleration further.
I have the following start up related settings in the GUI:
Start up mode = Align & go (running ‘IPD test’ was not successful on my motor, though I still seem to get consistent start ups using ‘slight move’ now also)
acceleration at start up = 816 Hz/s (maxed out)
soft-ON = disabled
First cycle speed = 4.4hz
Open loop acceleration buffer = Fast
Is there any other tricks for a faster start up? i.e. when not using the GUI, can you push the acceleration at start up further?
Finally I have not experimented much with closed loop control yet, but also noticed a slow response when I did…so am sticking to open loop for now also.
Hi, @Presto of course I’m interested in copy of this famous GUI. I would like compare how I calculate parameters (especially Motor Resistance) and what program will say about.
Going back to your application: your acceleration at start sounds very offensive (maybe application requires it?)
Anyway Im going to shortly describe parameters which I tuned a lot:
SCL=1 (close loop),
AR=1, and Acceleration=4, (higher values cause instability of the start if the rotor is under load)
Startup_Current - max, and rated current calculated as in datasheet
PID_P - in my case between 2 to 8 (2 faster response, 8 more stable (smoothly stabilizing expected rpm))
PID_I - 5, bigger value cause significant reduction in rpm
Deadtime_setting = 4 (I dont see any spikes on oscilloscope, seems enough in case of my mosfets);
Son,Soff = 1;
First_cycle_speed=2 (stable start under rotor load)
IPD_Current_Thr - this one I have to say that I don’t get it, in my case I didn’t realize any influence. @surabibio - maybe you have experience with?
I set the motor inductance by trial and error. Just choose the best value that gave a reliable startup and best speed at lowest current consumption (as measured from the desktop power supply).
Hi @Presto,
I suppose that service like https://fromsmash.com/ will be usefull (please choose the ‘Link’ option).
Just post generate link here
Thanks in advance!
PS: I was fighting with my motor yesterday, and still BEMF is an issue. @surabibio - in my case I don’t see any difference when I change Inductance. Both in velocity/stability of the run, and power consumption. My motor is 72ohm per phase, maybe that’s the reason … .