Run a motor at a set speed with a fixed command, add load, and it slows down, because nothing in the system knows the speed changed. Measure the speed and correct the command, and the motor goes back to its target. That is the difference between open loop and closed loop control. This second entry in our actuator 101 series explains what a motor controller does and how the two approaches work. Later entries build on it.
What does a motor controller do?
A motor drive has two parts. The power stage, for example an inverter, switches the supply voltage onto the motor windings. The controller decides how the power stage should switch: how much voltage, and when.
The controller exists to get a result, not to issue a command. The result can be a speed, a torque or a position, and the controller's job is to reach it and keep it there while conditions change. The most common change is load.
Why does a motor slow down when the load increases?
Take a brushed DC motor on a fixed voltage. When you load the shaft, the rotor slows. A slower rotor generates less back EMF, so more of the supply voltage drives current through the winding. More current means more torque, and the motor settles at a new, lower speed where its torque matches the load [1]. At a fixed voltage, more load always means less speed [2].
Nothing is broken when this happens. The motor does exactly what its physics says. The controller simply never finds out.
Open loop: command, no measurement
An open loop controller applies a preset command and never checks the result. A fixed PWM duty cycle is the simplest example: it sets the average voltage on the motor, and the speed ends up wherever the load puts it.
Open loop is not wrong. It is simple, cheap and needs no sensor. Stepper motors are often run this way and still repeat positions well, as long as the load stays within what the motor can handle [3]. Open loop works when the load is known and steady, or when a small error does not matter.
Closed loop: measure, compare, correct

A closed loop controller measures what the motor is actually doing and compares it with the target. The difference is the error, and the controller adjusts its output to shrink it. When load slows the motor, the error grows, and the controller raises the voltage until the speed is back on target.
| Open loop | Closed loop | |
|---|---|---|
| Measures the result | no | yes |
| When load is added | speed drops and stays lower | speed dips, then returns to target |
| What the controller changes | nothing | raises the command until the error is gone |
| Sensor needed | no | yes |
This happens continuously: measure, compare, correct, many times per second. A controller with integral action keeps correcting until the error is gone, not just smaller [4]. The speed measurement can come from Hall sensors, an encoder, or an estimate from the motor's back EMF [3].
Why it matters for a robot joint
A robot joint never has a steady load. It changes with every pose, every payload and every contact. A command alone cannot hold a joint where you want it; the controller has to see what is happening and react.
Real drives go further than one speed loop. Servo drives usually nest several loops, current inside speed inside position [5]. That is where the next entries in this series pick up.
References
- Nidec, "Rotating Speed of DC Motor and Counter electromotive Force," motor technology basics. https://www.nidec.com/en/products/small-precision-motors/contents/technology/motor/basic/00013/
- Precision Microdrives, "DC Motor Speed: Voltage and Torque Relationships." https://www.precisionmicrodrives.com/dc-motor-speed-voltage-and-torque-relationships
- B. Schweber, "Considerations in Choosing Motors for Robotics," Mouser Electronics. https://www.mouser.in/applications/considerations-choosing-advance-robotics/
- Lund University, Department of Automatic Control, "PID control" laboratory preparation. https://control.lth.se/fileadmin/control/Education/EngineeringProgram/FRTF05_China/pm_pid.pdf
- D. Collins, "Why is the bandwidth of a servo control loop important?" Motion Control Tips, 2017. https://www.motioncontroltips.com/why-is-the-bandwidth-of-a-servo-control-loop-important
