PID Control
A machine can look intelligent because three dumb terms keep correcting it. PID control compares where a process is with where it should be, then acts on present error, accumulated error, and the error's rate of change. That is enough to steer ships, stabilize drones, hold kilns near temperature, and keep thermostats from hunting.
How it works
PID means proportional, integral, derivative.
output = Kp * error + Ki * integral(error) + Kd * derivative(error)
The proportional term says: "How far off am I right now?" The integral term says: "How long have I been wrong?" The derivative term says: "How fast is this mistake changing?"
Nicholas Minorsky formalized this in 1922 while studying automatic ship steering. The point was not elegance. A helmsman sees the current heading error, remembers whether the ship has been drifting off course, and anticipates whether the correction is coming too fast. PID turned that human habit into a controller.
Where it shows up
| Use case | Controlled variable | Actuator | Failure mode |
|---|---|---|---|
| Thermostat | room temperature | heater relay | overshoot |
| Drone | pitch / roll / yaw | motor speed | oscillation |
| Kiln | chamber heat | power input | slow drift |
| Ship autopilot | heading | rudder angle | zig-zag correction |
The clean lesson is that feedback beats prediction when the world is noisy. A kiln does not need a perfect thermal model if it can measure temperature every few seconds and correct the burn. A drone does not need to know every gust in advance if its control loop runs fast enough.
What's contested
PID is not the answer to every control problem. It struggles when delays are long, sensors are noisy, actuators saturate, or the process changes shape across operating ranges. Modern control, model predictive control, and adaptive methods exist because "measure error and push back" can become unstable when the feedback arrives late.
The live judgment is practical: when is PID good enough? In factories and embedded systems, the answer is often "more often than theory people like to admit."
Why this has to do with other realms
PID is engineering's version of concept feedback loops: a behavior changes because the result of yesterday's behavior returns as today's input. That same structure sits under concept information theory, where surprise is measured as error against expectation, and under concept queueing theory, where a small delay can make a correction arrive after the room has changed.
Space makes the limit visible. mission voyager 1 cannot be controlled like a drone because the signal delay is measured in hours, not milliseconds. mission breakthrough starshot would push that gap harder: a gram-scale craft moving at a fraction of light speed cannot wait for Earth to close its loop.
An open question
How much of intelligence is just control with better sensors, better memory, and a richer error signal?
Key sources
- Minorsky, "Directional Stability of Automatically Steered Bodies" (1922) - the canonical ship-steering paper behind early three-term control.
- Ziegler and Nichols, "Optimum Settings for Automatic Controllers" (1942) - the tuning rules that made PID practical in industry.
- Åström and Hägglund, PID Controllers: Theory, Design, and Tuning (1995) - the standard engineering reference.
- Stuart Bennett, A History of Control Engineering 1930-1955 (1993) - history of automatic control moving from governors to formal control theory.
Further Reading
- concept feedback loops - the parent idea behind PID.
- concept queueing theory - why delayed correction can make a system worse.
- mission voyager 1 - a clean case where feedback delay becomes the whole engineering problem.
- mission breakthrough starshot - what control means when the craft is too far and too fast.
Abhishek's take
What grabs me about PID is how much competence comes from refusing to guess. The controller does not need a theory of the whole world; it needs a target, a sensor, and the discipline to keep correcting. That feels closer to real operating work than most grand plans.
Tags: #control-theory #feedback #automation #engineering #systems
See Also
- concept feedback loops
- concept information theory
- concept queueing theory
- mission voyager 1
- mission breakthrough starshot