• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Linear Motion Tips

Covering Linear Motion Systems, Components and Linear Motion Resources

  • New
    • Editor’s blog
    • Industry news
    • Motion Casebook
    • Video
  • Applications
  • Slides + guides
    • Ball + roller guides
    • Track roller (cam + wheel) guides
    • Crossed-roller slides
    • Linear bearings
    • Plastic + composite guides
  • Drives
    • Ball + lead + roller screws
    • Belt + chain drives for linear
    • Rack + pinion sets
  • Actuators
    • Ball + leadscrew driven
    • Belt + chain driven
    • Linear motors
    • Mini + piezo + voice coil
    • Rack + pinion driven
    • Rigid-chain actuators
  • Encoders + sensors (linear) + I/O
  • Stages + gantries
  • Suppliers

What is servo tuning and why is it important?

February 25, 2019 By Danielle Collins 1 Comment

Unlike stepper motors, which rely on even pulses of current to turn the motor in discreet steps, servo motors operate with continuous current to reach a specified position, velocity, or torque. The precise amount of current to be delivered to the motor is determined by the servo controller, based on information supplied by an encoder regarding the system’s actual condition (position, speed, or torque). The controller sends these current commands to the servo drive (also referred to as an amplifier), which provides the motor with the precise current needed to adjust for any differences between the commanded value (position, speed, or torque) and the actual value.


When we talk about “accuracy” in a linear system, we typically refer to the positioning accuracy and repeatability of the mechanical drive (screw or belt, for example). But regardless of how accurate the mechanical system is, if the servo motor doesn’t receive the proper amount of current, it can’t produce the necessary torque (either too much or too little) to drive the mechanical system to the intended position.


Servo tuning via PID loops

Tuning a servo system involves adjusting the gains in the motion controller to minimize the servo system’s response time, settling time, and overshoot. The goal of servo tuning is to minimize (but not necessarily eliminate) the error between the commanded position (or speed or torque) and the actual value achieved.

The most common type of control loop, or algorithm, used for servo tuning is a PID loop, where “P” refers to proportional gain, “I” refers to integral gain, and “D” refers to derivative gain. A gain is essentially a ratio of output to input, and in a servo control loop, the gains determine how — and to what extent — the controller tries to correct the errors detected by the feedback device.

servo tuning
PID gains are used in servo tuning to determine how much the system tries to correct errors between the commanded position and the actual position.
Image credit: Performance Motion Devices, Inc.

The amount of proportional gain in the control loop determines how much restoring force is applied to overcome the error between the commanded value and the actual value. The proportional gain is multiplied by the error and generates the contribution to the output for the next time period. The term “proportional” is used because the amount of restoring force is directly proportional to the amount of error at any instant in time.

Integral gain is used to “push” the system to zero error at the end of the move. The integral gain value increases with time — hence, the term “integral.” However, because the integral gain increases at the end of the move, it can cause the system to overshoot or oscillate. And if the integral gain is too low, the system will have a slow response time. Integral gain is primarily used when the system is subjected to static torque loads.

Derivative gain is proportional to the rate of change (the derivative) of the error. It’s often used in conjunction with proportional gain to reduce overshoot and provide damping. But a derivative gain that is too high can reduce system response time and cause oscillations.


Feed-forward gains for highly dynamic applications

The PID gains described above are reactive corrections to the system’s behavior over time. For highly dynamic applications, or for better responsiveness, another type of gain — referred to as feed-forward gain — works outside the feedback loop and provides a proactive approach to error correction by predicting the commands needed to achieve zero error (rather than waiting for the error to develop). Feed-forward gains are classified as either velocity feed-forward or acceleration feed-forward.

servo tuning
Because feed-forward commands operate outside the feedback loop, they don’t cause oscillations or instability.
Image credit: Integrated Industrial Technologies, Inc.

Velocity feed-forward works during the constant velocity portion of the move profile. It minimizes following error and improves response time by multiplying the derivative of the position command (i.e. the velocity) by the velocity feed-forward gain value.

Acceleration feed-forward works during the acceleration and deceleration portions of the move and can eliminate overshoot caused by velocity feed-forward. Acceleration feed-forward multiplies the second derivative of the position command (i.e. the acceleration) by the acceleration feed-forward gain value.

You may also like:

  • closed-loop stepper
    How does closed-loop stepper control work … and why not…
  • servo
    What type of motor is a servo motor?
  • stepper motor
    Servo motor or stepper motor? How to choose
  • servo system
    A servo system glossary for the mechanical engineer
  • Servo Motor
    Servo motor basics

Filed Under: Applications, Controls for linear axes, FAQs + basics, Featured

Reader Interactions

Leave a Reply

You must be logged in to post a comment.

Primary Sidebar

DESIGN GUIDE LIBRARY

“motion
Subscribe Today

RSS Featured White Papers

  • Evaluating actuators for washdown in food & beverage applications
  • Identifying Best-Value Linear Motion Technologies
  • Introduction to accuracy and repeatability in linear motion systems

RSS Motion Control Tips

  • Bush and shaft assemblies feature 4-micron clearance
  • New gearboxes for electric motors in mobile machines
  • Leading motion-control and actuation options for robotics
  • Basics of wave and cycloidal gearing for robotics and servo designs
  • New micro servo-drive system for extra-low-voltage manufacturing applications

Footer

Linear Motion Tips

Design World Network

Design World Online
The Robot Report
Coupling Tips
Motion Control Tips
Bearing Tips
Fastener Engineering

Linear Motion Tips

Subscribe to our newsletter
Advertise with us
Contact us
About us

Follow us on TwitterAdd us on FacebookAdd us on LinkedInAdd us on YouTubeAdd us on Instagram

Copyright © 2022 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy