Getting the most out of servocontrollers
A few logical procedures during setup can tune motion controllers to perform at their best.
The problem with this method is that the value of the D term substantially affects the optimal value of the P term, but much less so vice versa. The zone-based method resolved this by tuning D first. If you tune the P terms first, plan on going through a few iterations of P and D until you have a combination that you are happy with.
When in doubt, back off! Aggressive gain values may look good on the test bench, but don't forget they must work in the field day in and day out. For most applications oscillation and instability are much more serious problems than missing the target by a few encoder counts. It's best to explore different PID values on a variety of hardware if possible, including worn and used mechanisms. And of course, whenever exercising a system with new servo values, make sure you and your equipment will both be safe should the motor enter oscillation or undergo uncontrolled motion.
The tuning of feedforward systems starts with the velocity feedforward term, adjusting it to make servo lag as small as possible, and focuses on a portion of the profile where the velocity is flat. Next to be adjusted is the acceleration feedforward value, set to minimize the servo lag during periods of profile acceleration and deceleration.
Feedforward refers to the addition of open-loop information that is available to the profile generator. Typical feedforward terms are desired velocity and desired acceleration. By adding these values to the PID filter with a gain factor, it is possible to further improve the performance of the servosystem. Basically the additional terms let the servo better anticipate changes that are being commanded. Understanding when and how to use feedforward terms will maximize the performance of your system.
Feedforward will help when there are elements in your motion system that add a lag proportional to the feedforward term. For example, use velocity feedforward if there are velocity-proportional lags in the system. These most often come from use of voltage or velocity-mode amplifiers, and from frictional elements. The most common source of acceleration-proportional servo lag (or overshoot) is inertia of the motor system.
Start tuning velocity feedforward and focus on a portion of your profile where the velocity is flat, so acceleration effects do not come in to play. Adjust the velocity feedforward so that the servo lag is zero or small.
Leaving this value for velocity feedforward in place, adjust the acceleration feedforward value, and try to minimize the servo lag during periods of profile acceleration and deceleration.
There is one important thing to be aware of: Feedforward terms are by definition open-loop contributions to the final motor command. Thus if the conditions that caused the proportional lag change, such as a change in oil viscosity or increase in inertial load, then the optimum gain values will change as well. Because many of these factors cannot be controlled, you should select conservative average values for feedforward terms over the operating range and loads your system will encounter.
No tuning procedure can fully guarantee that a system will operate as desired under all conditions. However, as you gain experience in servo tuning you will develop an intuitive feel for the contribution of each of the PID terms. And using feedforward terms, you should be able to maximize system performance throughout the entire motion profile, during the acceleration, coast and deceleration phase.
Advanced servo features come to motion chipsOff-the-shelf motion chips, also called motion processors, have always had an advantage of size and power consumption over their board or module-based cousins. But many people perceive motion chips as lower in performance. Recent developments go a long way toward dispelling that idea. An example is the MC2140 motion processor from Performance Motion Devices. This off-the-shelf motion processor includes a standard PID servoloop but adds velocity and acceleration feedforward, integral windup limitation, motor bias offset, output scaling, and a programmable derivative time base. This product demonstrates that servocontrol features previously reserved for board-level systems have made their way into the world of motion chips. |
Motion oscilloscopes light the wayWhether dubbed motion oscilloscopes, motion-capture systems, or servotuning systems, PC-based software packages that let designers examine the performance of their motion system have become indispensable for many motion design projects. One such product is ProMotion, a motion exerciser and tuning package offered by Performance Motion Devices that offers features typical for these packages. The centerpiece of this program is a motion oscilloscope function, which allows one or more variables to be captured in real time and plotted on the screen or saved to a file. Most capture systems offer millisecond, if not microsecond accuracy in their data capture using dedicated hardware for precise synchronization. For example, ProMotion works in conjunction with Navigator motion processors, which store various real-time motion parameters such as encoder position, servo lag, desired position along with many others directly onto a hardware memory buffer on the motion card. |
Want to use this article? Click here for options!
© 2012 Penton Media Inc.
advertisement



