Servo tuning basics
Driving a servo motor is much like driving a car. Driving a car has many similarities including the key concepts of torque, velocity and position control. Most of this happens in the driver's head the same way than a servo drive does with a motor.
Contents
Driving (a.k.a servoing) a car
Driver as a controller
What is a feedback gain
Feedback gain means sensitivity to change output due to tracking error (the difference between setpoint and feedback). The simplest feedback controller is a proportional gain controller (P-gain) where output follows the formula output = Pgain*(setpoint-feedback). The problem of proportional gain controller is that it may never reach the setpoint because output starts approaching zero when the following error is reaching zero.
Because of this, it's better to add in integrating component to the controller. Integrator accumulates the tracking error to a integrator variable. Integrator variable is like a bucket of water, when you add water, the water level rises and when you take out water, the level lowers. In controller the equation becomes: output = Pgain*(setpoint-feedback) + Igain*IntegralOf(setpoint-feedback).
The characteristics of gain variables:
- P-gain - reacts instantly to the tracking error but can't eliminate tracking error completely
- I-gain - reacts slowly over time to the accumulated error, adjusts output until tracking error is dead zero
Low feedback gain, sluggish response
Too high feedback gain, oscillation & instability
Optimum feedback gain, only little overshoot
Optimum gain with realistic setpoint, optimum response
In no event the Product Information or parts hereof shall be regarded as guarantee of conditions or characteristics. The Product Information or any part thereof may also not be regarded as a warranty of any kind. No liability of any kind shall be assumed by Author with respect to Product Information or any use made by you thereof, nor shall Author indemnify you against or be liable for any third party claims with respect to such information or any use thereof.
As content of this Wiki may be edited by user community, Granite Devices Oy or it's affiliates do not take any responsibility of the contents of this Wiki. Use information at your own risk. However, Granite Devices staff attempts to review all changes made to this Wiki and keep information trustworthy.
Without written consent, Granite Devices' Products or Intellectual Property shall not be used in situations or installations where living beings, material property, or immaterial property could be harmed by the operation, features or failures of Product. Products may only be used in a way where hazards like moving parts, electric shock, laser radiation, or fire can't be realized even if the content of this Wiki would suggest otherwise.