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

Motion Control Tips

Automation • Motion Control • Power Transmission

  • News
    • Industry News
    • Editor Blogs
    • Video
  • Controls
    • HMIs
    • PC-Based Controllers
    • PLCs + PACs
    • Stand-Alone Controllers
    • Software
  • Drives
    • Servo Drives
    • Stepper Drives
  • Encoders
    • Absolute Encoders
    • Incremental Encoders
    • Rotary Encoders
  • Mechanical
    • Bearings
    • Brakes + Clutches
    • Belt + chain
    • Couplings
    • Gears + Gearing
    • Lubrication
    • Shock + Vibration Mitigation
    • Springs + Rings + Seals
  • Linear
    • Actuators
    • Linear Motors
    • Linear Encoders
  • Motors
    • AC Motors
    • DC Motors
    • Brushless Motors
    • Gearmotors
    • Piezo Motors
    • Servo Motors
    • Stepper Motors
  • Systems
    • Conveyors + linear transport systems
    • Gantries + Stages
    • Rotary Tables
    • Grippers + End Effectors
    • Robotics
  • Networks
    • Connections + Sliprings
    • Fieldbuses
    • I/O
    • Sensors + Vision
  • FAQs
    • Motion Casebook
    • Motion Selection Guides
  • Suppliers
You are here: Home / FAQs + basics / FAQ: What are PID gains and feed-forward gains?

FAQ: What are PID gains and feed-forward gains?

December 30, 2016 By Danielle Collins Leave a Comment

Gain is the ratio of output to input—a measure of the amplification of the input signal. A common example is the volume button on a stereo. This button controls the ratio of the input signal (received from the radio station) to the output signal (how loud the sound is from your speakers). When the volume is low, the sound is soft. This is low gain. When the volume is high, the sound is loud. This is high gain.

Servo systems are tuned using gains that help correct errors between the target value (position, velocity, or torque) and the actual value. The three primary gains used in servo tuning are known as proportional gain, integral gain, and derivative gain, and when they’re combined to minimize errors in the system, the algorithm is known as a PID loop. Another type of gain, referred to as “feed-forward,” can be used when the error is predictable, or when PID gains are insufficient to correct error and begin to cause instability or oscillations in the system.

PID gains

Proportional, integral, and derivative gains control how hard the servo tries to correct or reduce the error between the commanded and actual values. Using a PID loop is the most common method for servo tuning.

Proportional gain (Kp) is essentially a measure of system stiffness. It determines the amount of restoring force that should be applied to overcome position error. The term “proportional” is used because it is directly proportional to the amount of error. In other words, the error value is multiplied by the proportional gain to determine the controller output that will correct the error.

Integral gain (Ki) is related to static torque load on the system. The Ki value “pushes” the system to zero positioning error at the end of the move. This term is referred to as “integral” because it increases with time at the end of the move. The integral gain is multiplied by the sum of errors over time. Integral gain is not always needed, and is primarily used when the system experiences static loads.

Derivative gain (Kd) represents the damping effects on the system, working with proportional gain to reduce overshoot and oscillations. The term “derivative” is used because this parameter is proportional to the rate of change (derivative) of the error.

Servo tuning
Proportional, integral, and derivative gains are used to compensate for errors that have already occurred between the commanded and actual values.
Image credit: Performance Motion Devices, Inc.

Feed-forward gains

Where PID gains are reactive—based on error that has already occurred—feed-forward gain is proactive. Feed-forward gains, which include velocity feed-forward and acceleration feed-forward, predict the commands needed to achieve zero error and inject them into the control loop.

Velocity feed-forward (Vff) works against viscous friction (friction that’s proportional to velocity) and minimizes error during the constant velocity portion of the move.

Acceleration feed-forward (Aff) works against inertia in the system to minimize error during the acceleration and deceleration phases of the move.

feed-forward
Velocity and acceleration feed-forward gains predict errors that will occur due to system friction and inertia and compensate for them proactively.
Image credit: Integrated Industrial Technologies, Inc.

You may also like:

  • PIV
    What is PIV servo control?
  • feed-forward
    FAQ: How to tune servo systems for high dynamic response?
  • control loop
    FAQ: What are servo motor current, velocity and position loops…
  • Frequency Response
    FAQ: What is the closed-loop frequency response of a servo…
  • Feedback Gains
    FAQ: What are servo feedback gains, overshoot limits, and position…
  • Servo Tuning
    FAQ: How are the controls for servo motors tuned?

  • FAQ: What’s the difference between servo and closed-loop stepper motors?

Filed Under: FAQs + basics, Featured, Servo Drives, Servo Motors

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

MOTION DESIGN GUIDES

“motion

“motion

“motion

“motion

“motion

POWER TRANSMISSION REFERENCE GUIDE

RSS Linear Motion Tips

  • Haydon Kerk Pittman launches compact Z-Theta motion platform
  • Three easy ways to specify application requirements for linear motion systems
  • Sourcing linear motion solutions from NSK’s global manufacturing sites
  • Ride the wave of electrification: Off-highway designs with linear actuators
  • What are capacitive sensors and where are they used?
Subscribe Today

RSS Featured White Papers

  • Identifying Best-Value Linear Motion Technologies
  • Learn how to reduce noise and distortion in encoders’ signals
  • Helical Planetary Gearboxes: Understanding The Tradeoffs
Tweets from https://twitter.com/Motion_Control/lists/motion-control-tweets

Footer

Motion Control Tips

DESIGN WORLD NETWORK

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

MOTION CONTROL 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 © 2021 · 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 | RSS