Inside a servo drive run three nested closed loops: the innermost current loop handles torque the middle speed loop handles rpm and the outer position loop handles location. This page explains how the three loops nest and what each controls.
The three loops cascade: the position loop sits outside taking position command and encoder feedback computing a position error then outputting a speed command. The speed loop takes that and outputs a current command. The current loop directly controls torque. Each loop does target minus actual and any disturbance is corrected immediately.
The current loop decides instantaneous motor torque and responds first to load change; if poorly tuned it oscillates and the motor whines. The speed loop locks rpm to set value. The position loop decides final accuracy. Commissioning rule is inside out: tune current first then speed then position and the inner loop bandwidth must exceed the outer. Run auto tuning first then fine tune hard axes manually.
| Loop | Input command | Feedback | Tuning point |
|---|---|---|---|
| Current | current cmd | phase current | gain 20 percent below edge |
| Speed | speed cmd | speed fb | bandwidth above current |
| Position | position cmd | encoder | outermost last |
| Order | inner to outer | auto first | manual hard axis |
| Rule | bandwidth cascade | no oscillation | stable response |
Always tune inside out: current loop then speed loop then position loop and the inner bandwidth must be higher than the outer. Run auto tuning for base parameters then hand tune difficult axes and watch for whine as a sign of oscillation.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Servo drive control see IEC 61800-3 and machinery electrical safety see GB/T 5226.1. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.