PID Tuning
PID Tuning
(OP)
I am trying to tune a PID controller to control a motor via a variable speed drive. The vsd used is a siemens micromaster 410 and ramp up and down times are low (1.5). I cant seem to get the speed output to remain steady. When in manual mode it produces a perfect steady output but in automatic (PID) the speed output is very unsteady.
Can anyone help with this?
Regards
Derek
Can anyone help with this?
Regards
Derek





RE: PID Tuning
Perhaps if you gave us your existing proportional gain, integral time, and derivative time, plus a graph of the input and output, we might have a suggestion. It would be good to include the process variables -- for example, is your input pressure? Flow? What are the values currently stored in the drive for all configuration parameters? What is the characteristic of the load? Dead time?
Tuning questions are tough to answer from afar.
David St. Clair's methods have never let me down so far:
http://www.straightlinecontrol.com/
Good on ya,
Goober Dave
Haven't see the forum policies? Do so now: Forum Policies
RE: PID Tuning
RE: PID Tuning
Your VFD may have dozens of configuration parameters that could be limiting your ability to control in a stable manner.
Your comment that you have tried a thousand variations of the tuning constants indicates to me that you don't have a good understanding of tuning control loops. There are systematic ways to tune a PID loop that yield optimal results (or close to it) quickly. It might be best if you got hire someone local to come have a look. There are too many variables involved to troubleshoot in a forum.
Let us know how it works out!
Good on ya,
Goober Dave
Haven't see the forum policies? Do so now: Forum Policies
RE: PID Tuning
You don't just tune a PID. You tune a system. This means you need to know something about the system you are tuning.
Some controllers have a auto tune function that will automatically tune a system for you but these will only work if the system is relatively perfect and then a auto tuner shouldn't be necessary any way.
So do you know the gain and time constant of your system? If not you should find out.
Peter Nachtwey
Delta Computer Systems
http://www.deltamotion.com
RE: PID Tuning
* Lower the derivative value to 0, we will not change this value from zero after this first step.
• Lower the integral value to 0, easy second step.
• Raise the proportional value 100.0
• Increase the integral value to 100
• Slowly lower the integral value and observe the system's response.
• Since the system will be maintained around setpoint, change setpoint and verify if system corrects in
an acceptable amount of time. If not acceptable or you would like a quick response, continue lowering
the integral value.
• If the system begins to oscillate again, record the integral value and raise value to 100. Just like me,
you got a little greedy trying to get the quickest response.
• After raising the integral value to 100, return to the proportional value and raise this value until
oscillation ceases.
• Lower the proportional value back to 100.0 and then lower the integral value slowly to a value that is 10%
to 20% higher than the recorded value when oscillation started. (recorded value times 1.1 or 1.2)
Change the setpoint and watch as the system tracks quickly and efficiently. If you experience an overshoot that
is not desirable, consider using the setpoint ramp parameter. It is most useful at system start-up or when a large
setpoint change is introduced during system operation.
Details may be find on internet.
RE: PID Tuning
I prefer a simpler method like this.
I made a rough video that is unedited but short.
htt
My system requires a derivative gain because it is in torque mode. Notice how I had to specify that I was tuning a system in torque mode and not a velocity or voltage mode. The point is that I wouldn't give advise until I know more about the system.
Peter Nachtwey
Delta Computer Systems
http://www.deltamotion.com
RE: PID Tuning