Your car's cruise control never "knows" the road, the wind or the hill ahead. All it ever sees is one number: how far off you are from the speed you asked for. And yet, second after second, it nudges the throttle until that number goes to zero. The same trick keeps ovens at temperature, drones hovering in place, and chemical plants from boiling over.
The trick is called PID control — proportional, integral, derivative — and it may be the single most deployed algorithm in the physical world. No model of the car, the oven or the drone is required. Just one signal, the error, and three simple ways of reacting to it.
The hard part was never writing the formula. It's tuning it: push too hard and the system overshoots and oscillates: too gently and it crawls toward the target forever. Where that boundary sits is a genuinely rich problem in control theory.
Comments
Loading comments...