Design World

  • Home
  • Technologies
    • ELECTRONICS • ELECTRICAL
    • Fastening • joining
    • FLUID POWER
    • LINEAR MOTION
    • MOTION CONTROL
    • SENSORS
    • TEST & MEASUREMENT
    • Factory automation
    • Warehouse automation
    • DIGITAL TRANSFORMATION
  • Learn
    • Tech Toolboxes
    • Learning center
    • eBooks • Tech Tips
    • Podcasts
    • Videos
    • Webinars • general engineering
    • Webinars • Automated warehousing
    • Voices
  • LEAP Awards
  • 2025 Leadership
    • 2024 Winners
    • 2023 Winners
    • 2022 Winners
    • 2021 Winners
  • Design Guides
  • Resources
    • 3D Cad Models
      • PARTsolutions
      • TraceParts
    • Digital Issues
      • Design World
      • EE World
    • Educational Assets
    • Engineering diversity
    • Reports
    • Trends
  • Supplier Listings
  • Advertise
  • SUBSCRIBE
    • MAGAZINE
    • NEWSLETTER

How are servo system velocity control loops tuned?

By Danielle Collins | May 25, 2017

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

You might also like


Filed Under: Drives (servo) + amplifiers, Motion control • motor controls

 

About The Author

Danielle Collins

LEARNING CENTER

Design World Learning Center
“dw
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for Design Engineering Professionals.
Motor University

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

  • Digitalization made easy: Bridging IT/OT with scalable network infrastructure
  • Apple Rubber custom o-rings for harsh underwater conditions
  • ASMPT chooses Renishaw for high-quality motion control
  • Innovating Together: How Italian Machine Builders Drive Industry Forward Through Collaboration
  • Efficiency Is the New Luxury — and Italy Is Delivering
  • Beyond the Build: How Italy’s Machine Makers Are Powering Smart Manufacturing
View More >>
Engineering Exchange

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

Connect, share, and learn today »

Design World
  • About us
  • Contact
  • Manage your Design World Subscription
  • Subscribe
  • Design World Digital Network
  • Control Engineering
  • Consulting-Specifying Engineer
  • Plant Engineering
  • Engineering White Papers
  • Leap Awards

Copyright © 2025 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
Privacy Policy | Advertising | About Us

Search Design World

  • Home
  • Technologies
    • ELECTRONICS • ELECTRICAL
    • Fastening • joining
    • FLUID POWER
    • LINEAR MOTION
    • MOTION CONTROL
    • SENSORS
    • TEST & MEASUREMENT
    • Factory automation
    • Warehouse automation
    • DIGITAL TRANSFORMATION
  • Learn
    • Tech Toolboxes
    • Learning center
    • eBooks • Tech Tips
    • Podcasts
    • Videos
    • Webinars • general engineering
    • Webinars • Automated warehousing
    • Voices
  • LEAP Awards
  • 2025 Leadership
    • 2024 Winners
    • 2023 Winners
    • 2022 Winners
    • 2021 Winners
  • Design Guides
  • Resources
    • 3D Cad Models
      • PARTsolutions
      • TraceParts
    • Digital Issues
      • Design World
      • EE World
    • Educational Assets
    • Engineering diversity
    • Reports
    • Trends
  • Supplier Listings
  • Advertise
  • SUBSCRIBE
    • MAGAZINE
    • NEWSLETTER
We use cookies to personalize content and ads, to provide social media features, and to analyze our traffic. We share information about your use of our site with our social media, advertising, and analytics partners who may combine it with other information 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.