MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Servo system building blocks and how the three loops work
HomeModels
Table of contents

On this page

Drives & Actuators (102 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Servo system building blocks and how the three loops work

A servo achieves millisecond response and drift-free positioning through three nested closed loops, a control depth entirely different from a VFD spinning a motor open loop. This page covers the four building blocks, how the loops interlock, and how to match inertia during sizing.

1. How it works

The system has four parts: the drive, power conversion plus the three-loop computation; the motor, low inertia with 3~5 times overload margin and high demagnetisation temperature; the encoder, 2500-line incremental or 17~23 bit absolute, feeding back position and speed; and the motion controller, a PLC motion module, a dedicated motion controller or a CNC. The essential difference from a VFD is the feedback: a V/F drive runs without any encoder, while a servo is dead without one, since both speed and position come from it. Size the motor on three checks: inertia ratio, load over rotor, at or below 10 for general duty and 5 for high-speed precision; speed and torque demand; and overload, with acceleration torque up to three times rated checked against the RMS torque over the cycle.

2. Numbers and practice

From inside out: the current loop is the fastest at 1~2kHz bandwidth and turns torque, factory-set and not user-touched; the speed loop runs at several hundred Hz, receives the speed command and outputs the torque command, and this is where the user tunes stiffness; the position loop is outermost, at a third to a fifth of the speed-loop bandwidth, and outputs the speed command. The interlock rule is that each inner loop must be an order of magnitude faster than the one around it, or raising outer gain oscillates. Tune in the same order: current first, factory-set, then speed stiffness upward until slight oscillation and back off 30 percent, then position gain and the feedforward terms. Velocity and torque feedforward are the tools against following error and are mandatory for high-precision interpolation.

3. Pitfalls and fixes

Inertia mismatch is the number one sizing trap: at a 20-to-1 ratio the speed loop oscillates no matter how it is tuned, seen as hunting around the target. A bigger frame or a gearbox, which divides the reflected inertia by the square of the ratio, both fix it. Compute torque in three steps: acceleration from T_a = 2π·J_total·n/(60·t_acc), constant-speed from the load, and RMS over the cycle not exceeding rated. Resolution is set jointly by encoder and mechanics: a 23-bit encoder with a 10mm pitch screw resolves 1.2nm on paper, but backlash and compliance keep the real figure at 1~5μm, so every axis needs backlash and pitch error compensation.

4. Servo versus VFD capability comparison

ItemServo systemVFDWhy differentSelection hint
Control schemeThree closed loopsV/F or vectorServo requires feedbackPositioning picks servo
Overload factor3~5 times1.2~1.5 timesMotor design marginShock loads check this
Low-speed smoothnessRange 1:5000 plus1:20 to 1:100Weak vector torque at low speedSlow feeds pick servo
Response bandwidthHundreds of Hz speed loopA few to tens of HzInertia and feedbackFast reciprocation picks servo
Power range50W~55kW common0.4kW to MWServos uneconomic largeHigh power picks VFD
Cost, same power2~4 timesBaselineFeedback and control depthInvest by need

5. Notes

The tuning order is fixed: mechanics first, coupling tight and backlash removed; current loop factory-set; then speed stiffness; then position gain and feedforward. Back up every servo parameter set, because importing it into a replacement drive halves the commissioning time.

6. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Servos per GB/T 16439; equipment safety per GB/T 5226.1 / IEC 60204-1. Always check the device datasheet and the product design file for ratings and derating.

7. Cautions

⚠️ Three common pitfalls:
① Tuning through a 20-to-1 inertia ratio: the speed gain hits resonance and the machine still hunts, wearing play into the ball-nut assembly in three months
② Skipping the RMS torque check: three-times overload looks fine per move but the motor overheats after one shift, with demagnetisation following
③ Rigid couplings locked without alignment: once-per-rev vibration leaks into the position loop, which compensates as if it were load disturbance until both end bearings fail

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL