Design World

  • Home
  • Articles
    • 3D CAD
    • Electronics • electrical
    • Fastening & Joining
    • Factory automation
    • Linear Motion
    • Motion Control
    • Test & Measurement
    • Sensors
  • 3D CAD Models
    • PARTsolutions
    • TraceParts
  • Leadership
    • 2020 Winners
    • 2019 Winners
    • 2020 LEAP Awards
  • Resources
    • DIGITAL ISSUES
      • EE World Digital Issues
    • Future of Design Engineering
    • 2020 LEAP Awards
    • MC² Motion Control Classroom
    • Motion Design Guide Library
    • Podcasts
    • Suppliers
    • Webinars
  • Women in Engineering
  • Ebooks / Tech Tips
  • Videos
  • Subscribe
  • COVID-19

How are servo system velocity control loops tuned?

By Danielle Collins | May 25, 2017

Share

Servo systems typically use a combination of three types of control loops: current, velocity, and position. The velocity control loop serves two purposes—it enables the system to respond to changing velocity commands, and it allows the system to resist high-frequency load disturbances. But the velocity loop by itself can’t ensure that the system maintains a given position over long time spans. This is why velocity control loops are often used in conjunction with position control loops in a cascaded structure.

velocity control loop

A velocity control loop is often cascaded with a position loop.
Image credit: Integrated Industrial Technologies, Inc.

The velocity controller is typically a PI controller, using the proportional, Kvp, and integral, Kvi, gains, whereas the position controller typically uses only the proportional gain, Kp. (Note that the current control is often set automatically and is manually adjusted only in rare cases.)


To recap from a previous post, proportional gain has a value that is directly proportional to the error and determines the voltage that is applied to overcome the error. Proportional gain is related to system stiffness.

Integral gain accumulates the error over time and provides a restoring force during the end of a move to push the system to a point of zero error.


In cascaded control loops, the bandwidth of the inner loop should be anywhere from 5 to 10 times the bandwidth of the outer loop, or the inner loop will have little effect on the outer loop. Best practice is to tune the fastest loop first, so in the cascaded position-velocity loops, we start with the (inner) velocity loop.

Since the velocity loop is a PI controller, there are only two parameters to tune—Kvp and Kvi. For the move profile, use a medium-value velocity target (not the lowest or the highest that the application will experience), but keep the acceleration rate relatively high. This will magnify the effects of the system’s response, making it easier to tune the system.

To begin the tuning sequence, increase the velocity proportional gain (Kvp) to a point just before overshoot occurs. (It is sometimes helpful to increase Kvp to the point of overshoot, and then back it down until overshoot is eliminated.) Now increase the velocity integral gain (Kvi) until a small amount of overshoot (5 to 15 percent) occurs.


In cascaded control loops, the performance of the inner loop affects the performance of the next outer loop. In essence, the inner loop (velocity) acts as a low-pass filter to the outer loop (position).


Once the velocity control loop is tuned, the controller should be set to operate in position mode, and the position loop can be tuned. Begin with a low value for the position gain (Kp), and raise it slowly, to a point just before overshoot occurs.

Now that the velocity and position gains have been set and stabilized, increase the target velocity and test the gains again. Adjust them if needed, to make the gains suitable across the full velocity range of the application.

It’s important to note that the output of the position loop is a velocity command. Here’s how it works: The position error detected by the position loop is scaled by the position gain, Kp, to generate a velocity command. That velocity command is sent to the velocity loop, which uses it to command more torque, which moves the motor to correct the position error.

velocity control loop

Feed-forward control is used when the following error must be minimized, although it sacrifices system stiffness.
Image credit: Integrated Industrial Technologies, Inc.

If the application requires very low following error, it may be necessary to add feed-forward control to the tuning parameters. Velocity feed-forward control (Vff) takes a proactive approach, calculating the velocity needed to meet the desired position and feeding this value directly to the velocity control loop, rather than allowing the control loop to wait for the position error to develop. However, the drawback of using velocity feed-forward is that the position loop proportional gain (Kp) must be lowered, which reduces the system’s stiffness.

Feature imaged credit: National Instruments

About Danielle Collins

Tell Us What You Think! Cancel reply

MOTION DESIGN GUIDES

“motion

“motion

“motion

“motion

“motion

“motion

Enews Sign Up

Motion Control Classroom

Design World Digital Edition

cover

Browse the most current issue of Design World and back issues in an easy to use high quality format. Clip, share and download with the leading design engineering magazine today.

EDABoard the Forum for Electronics

Top global problem solving EE forum covering Microcontrollers, DSP, Networking, Analog and Digital Design, RF, Power Electronics, PCB Routing and much more

EDABoard: Forum for electronics

Sponsored Content

  • Configuration Management: Configuration Integrity IS A Core Driver for Business Success
  • How to Choose a Linear Actuator
  • Create your perfect machine with Advanced Engineering
  • How a ME/EE turned passion for design into his own bike company
  • Everyone Can Save on Cable Costs. Here’s How
  • How and Why You Should Use a Wave Spring for Bearing Preload
Engineering Exchange

The Engineering Exchange is a global educational networking community for engineers.

Connect, share, and learn today »

Tweets by @DesignWorld
Design World
  • Advertising
  • About us
  • Contact
  • Manage your Design World Subscription
  • Subscribe
  • Design World Digital Network
  • Engineering White Papers
  • LEAP Awards

Copyright © 2021 WTWH Media, LLC. 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. Site Map | Privacy Policy | RSS

Search Design World

  • Home
  • Articles
    • 3D CAD
    • Electronics • electrical
    • Fastening & Joining
    • Factory automation
    • Linear Motion
    • Motion Control
    • Test & Measurement
    • Sensors
  • 3D CAD Models
    • PARTsolutions
    • TraceParts
  • Leadership
    • 2020 Winners
    • 2019 Winners
    • 2020 LEAP Awards
  • Resources
    • DIGITAL ISSUES
      • EE World Digital Issues
    • Future of Design Engineering
    • 2020 LEAP Awards
    • MC² Motion Control Classroom
    • Motion Design Guide Library
    • Podcasts
    • Suppliers
    • Webinars
  • Women in Engineering
  • Ebooks / Tech Tips
  • Videos
  • Subscribe
  • COVID-19
We use cookies to personalize content and ads, to provide social media features and to analyze our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services. You consent to our cookies if you continue to use this website.OkNoRead more