The loop that holds a temperature: control and feedback

: heat that leaks in from outside, and a machine that must keep pushing it out. This lesson adds the part the drawing leaves out, the rule that decides how hard to push.
A ship is steered by one person turning a wheel. Imagine a machine to do it. The simple version is easy to build: if the ship points left of its course, turn the rudder right, and the other way round. It works badly. The ship swings past the course, the machine turns the rudder the other way, and the ship zigzags.
Nicolas Minorsky, a Russian-born engineer, based his analysis on watching a helmsman. A good helmsman does not only look at how far off course the ship is. They also notice how fast it is turning, and how long it has been off. Minorsky wrote this down as a rule in a 1922 paper, “Directional stability of automatically steered bodies”, and the rule was tested at sea on the battleship USS New Mexico (sources: Wikipedia and a 1984 history of control by S. Bennett, read 2026-11-28). It is the rule inside most machines that hold a value steady today.
Your air conditioner holds a room at 24 degrees Celsius with the same problem. By the end of this lesson you will be able to explain how a thermostat, a cruise control and a three-part controller keep a number steady. You will also work out by hand why the simplest rule always misses a little.
The history (optional)
Minorsky’s paper is dated 1922. Sources differ on the date of the sea trials, so none is given here. Bennett writes that the trials on the New Mexico succeeded, but the automatic steering was removed and the work was dropped. The sections below do not depend on this.
Before you start. Cold Is a Lie: fridge, AC, heat pump showed that heat always flows from hot to cold, and that an air conditioner spends energy to push it back out. So a hot room keeps leaking heat in, and the air conditioner must keep working. What is in the battery showed a charger that follows a rule, constant current and then constant voltage. That charger is a small example of what this lesson explains.