PLC Sim Lab
Field devices

How servo systems work

A servo system moves an axis to an exact position at an exact speed, again and again: cutting material to length, placing parts, driving robot joints. Its secret is a closed loop: it constantly measures where the motor really is and corrects any difference.

2 min read · Updated 2026-10-02

The three parts

PartWhat it does
Servo motorusually a permanent-magnet synchronous motor: compact, fast, high torque at every speed
Encodermounted on the motor shaft, reports the exact position thousands of times per second (often 20-bit or more: over a million counts per revolution). Many are absolute multi-turn, so no homing is needed after power-off
Servo amplifier (drive)powers the motor and runs the control loops, using the encoder feedback

Three control loops inside the amplifier

  1. Current (torque) loop: the fastest, tens of kHz. Controls the motor current, which is the torque.
  2. Velocity loop: compares the commanded speed with the encoder speed and asks the current loop for more or less torque.
  3. Position loop: compares the target position with the actual position. The difference is the following error; the loop turns it into a speed command.

Tuning

The loop gains decide how hard the amplifier reacts. Too low and the axis is sluggish with a large following error; too high and it overshoots, oscillates and buzzes. The most important setting is the load inertia ratio: how heavy the load is compared with the motor. Most modern amplifiers have auto-tuning that measures it while the axis moves.

Important terms

Servo vs stepper vs VFD

ServoStepperVFD + induction motor
Feedbackalways (encoder)usually noneoptional
Positioningvery precisegood at low speed, can lose stepsbasic
Speed rangewide, high speedtorque drops at high speedwide
Costhighestlowlow to medium
Typical usepick and place, axes, robotssmall positioningconveyors, pumps, fans

Next: controlling a servo from a PLC. The PLC Sim Lab Playground has a servo amplifier and a linear axis to try.

Try it yourself. Wire sensors, contactors and a PLC, write ladder logic and press RUN in the free PLC Sim Lab Playground. Nothing to install.

Open the Playground →Guided lessons →