Mechanics

The governor that needed friction to work

James Watt's steam engines were kept at a steady speed by two heavy balls on hinged arms, spun by the engine itself: run faster and the balls fly out and close the steam valve; run slower and they drop and open it. The balls stand at a height set by the speed alone. As engines grew and governors were made more sensitive, many began to hunt — speeding and slowing in a growing rhythm, the governor always too late. In 1868 James Clerk Maxwell wrote the equations down and showed why: a governor with no friction cannot settle at all, and the more precisely it is meant to hold the speed, the more friction it needs.

Assumes: Turning is an acceleration, and constant speed does not help · The three ways of coming to rest

Turning is an acceleration found that anything moving in a circle needs a force pointing inward, of size mv2/rm v^2/r, even at constant speed, and that without such a force the body leaves the circle along a straight line. A ball on a string swung round the head is held on its circle by the string’s tension; a ball on a hinged arm attached to a spinning shaft is held by the arm, which lets it swing outward until the arm’s pull, partly inward and partly upward, both supplies the circular force and holds the ball’s weight.

That second arrangement is the centrifugal governor, the device in front of nearly every steam engine of the nineteenth century, spinning on top of the engine with two heavy balls on hinged arms. It was adapted to steam engines by James Watt and Matthew Boulton in 1788 from a mechanism already used in windmills, and it was the first widely used automatic feedback controller. It is a piece of circular motion made into a measuring instrument and then into a regulator — and the way it misbehaved led directly to the mathematics of stability that every control system since has been designed with.

A speedometer made of a conical pendulum

Two balls of mass mm on arms of length ℓ\ell, hinged at the top of a shaft turning at angular speed Ω\Omega, are a pair of conical pendulums. Each ball moves on a horizontal circle of radius ℓsin⁡φ\ell\sin\varphi, where φ\varphi is the arm’s angle from the shaft. The arm’s tension has an upward part that must balance the weight and an inward part that must supply the circular force, and the two balance at

cos⁡φ=gℓ Ω2.\cos\varphi = \frac{g}{\ell\,\Omega^2}.

How far the balls fly out at each speed. The angle the arms of a centrifugal governor make with its shaft (solid), and the height of the balls below the hinge in units of the arm length (dashed; on the same grid, 90° stands for one arm length), against the shaft's speed in units of √(g/ℓ). Below a speed of one unit the balls hang straight down: the shaft turns and the balls do not move. Above it they rise to the angle at which the inward pull of the arm supplies the force a ball needs to go round, cos φ = g/ℓΩ², reaching 76° at twice the critical speed. The height below the hinge is g/Ω² whatever the ball's mass or arm's length — for a shaft at 60 rpm, 24.8 cm — which is what makes the device a speedometer.
Fig. 1 The angle of a governor’s arms from its shaft (solid) and the balls’ height below the hinge in arm lengths (dashed; 90° on the grid stands for one arm length), against shaft speed in units of g/ℓ\sqrt{g/\ell}. Below the critical speed the balls hang straight down; above it cos⁡φ=g/ℓΩ2\cos\varphi = g/\ell\Omega^2, reaching 76° at twice the critical speed. The height is g/Ω2g/\Omega^2 whatever the balls’ mass, 24.8 cm at 60 rpm.

Seen from the shaft, turning with it, the same balance reads differently: in that frame the balls are at rest, and they stand out because of an outward centrifugal force, mΩ2rm\Omega^2 r, balanced by the arm’s inward pull. The forces that are not there found that such forces exist only in a turning frame and are the price of describing motion from one; they give the right answer here, and they give the device its name, but from the ground nothing pushes the balls outward. They are trying to go straight and the arms will not let them.

Two features make this a good speedometer. Below a critical speed, g/ℓ\sqrt{g/\ell}, there is no solution with the arms raised: the balls hang straight down and turn on the shaft without moving outward. Above it, the angle rises steadily with speed. And the height of the balls below the hinge, ℓcos⁡φ=g/Ω2\ell\cos\varphi = g/\Omega^2, depends on the speed alone — not on the mass of the balls, not on the length of the arms. A governor running at sixty revolutions a minute holds its balls 24.8 centimetres below the hinge whatever they are made of, which made it easy to set: choose the height at which the throttle should be half open, and the speed follows.

The mass of the balls does matter for something else. Heavy balls can push hard on the linkage that moves the valve, so a governor with heavy balls can operate a large valve against its friction and the pressure of the steam, and the governors on big mill engines carried balls of tens of kilograms.

Holding a speed, nearly

Connect the arms to the throttle so that rising arms close it. If the engine speeds up, the balls rise, the throttle closes, the steam supply falls and the engine slows. If it slows, they drop, the throttle opens and it speeds up. That is negative feedback, and at a steady state it holds the engine at the speed where the balls’ height gives just the throttle opening the load needs.

A governor holds a speed, but not exactly. The steady speed an engine with a centrifugal governor settles at against the extra load put on it, in units of the throttle torque, for three governor gains — how much the throttle closes per radian the arms rise. With no extra load each runs at 1.5 units. Load it and the speed falls: the arms must drop to open the throttle wider, and they drop only if the speed has fallen. A stiffer linkage, larger gain, holds the speed more closely, falling by 0.110 rather than 0.316 under a tenth of a unit of extra load. This "droop" is built in: a governor that only feels its speed can correct an error only while the error exists.
Fig. 2 The steady speed an engine with a centrifugal governor settles at against the extra load put on it, for three governor gains — how far the throttle closes per radian the arms rise. Loaded, the speed falls, because only a lower speed drops the arms to open the throttle: by 0.11 units under a tenth of a unit of extra load with the stiffest linkage, by 0.32 with the softest.

But the speed it holds depends on the load. A heavier load needs a wider throttle, a wider throttle needs lower arms, and lower arms need a lower speed. A governor of this kind cannot hold an engine at exactly the same speed under different loads; it can only hold it at a speed that falls as the load rises, a property called droop. Making the linkage stiffer — more throttle movement per degree of arm movement — reduces the droop, so that a small fall in speed opens the throttle a lot. That is the sensitivity a mill owner wanted, and it is where the trouble began.

The flywheel is the other half of the loop. An engine’s speed changes at a rate set by the difference between the steam’s torque and the load’s, divided by the flywheel’s moment of inertia, which the mass and where it sits found growing with the square of the distance of the rim from the axle. A heavy rim makes the speed sluggish: it changes slowly whatever the governor does, which gives the governor time to respond before the speed has run far away from its target. The flywheel is a filter in the loop as much as an energy store, and its size will turn out to set how much the governor can be trusted.

Hunting

By the 1860s, with engines larger and governors made more sensitive to hold speed more tightly, many installations began to hunt. Instead of settling at a new speed after a change of load, the engine would speed up and slow down in a slow oscillation, sometimes steady, sometimes growing until the balls hit their stops. Engineers tried adding weights, springs and dashpots, with mixed success, and nobody could say in advance which governor would hunt.

A governor that hunts. The speed of an engine with a centrifugal governor after its load is suddenly increased, against time in units of √(ℓ/g), for three amounts of friction in the governor's linkage: damping 0, 0.25, 0.6, against Vyshnegradsky's minimum for this governor, 0.397. With no friction the speed oscillates about its new, slightly lower value with a growing swing — the governor hunts, opening and closing the throttle out of step with the engine — until the arms hit their stops and the curve ends. At damping 0.25, below the minimum, it still hunts, more slowly. At damping 0.6, above the minimum, the oscillation dies away and the engine settles at its new speed. The friction that seems to spoil the mechanism is what makes it work.
Fig. 3 The speed of an engine with a centrifugal governor after its load is suddenly increased, for three amounts of friction in the governor’s linkage — damping 0, 0.25 and 0.6, against a minimum for this governor of 0.40. With none, the speed oscillates with a growing swing until the arms hit their stops; with too little it hunts more slowly; above the minimum it settles at its new, slightly lower speed.

The simulation shows all three behaviours with one governor. The load rises by a small step. With no friction in the governor’s linkage, the engine slows, the balls drop, the throttle opens, the engine speeds up — and the balls, swinging on their arms, overshoot, close the throttle too far, the engine slows again, and each swing is larger than the last until the arms hit their stops. With a little friction it does the same, more slowly. With enough friction, the oscillation dies and the engine settles.

The reason is a delay that the feedback cannot see. Any loop in which a correction arrives late can feed its own oscillation, a fact the answer that cannot come first traced back to causality itself: a response must follow its cause, so every real system adds some phase lag, and the lag grows with frequency until, at some frequency, the correction pushes in step with the error instead of against it. The throttle’s position follows the balls, and the balls are pendulums: when the speed changes, they do not move instantly to their new height but swing towards it, with their own natural frequency, and they lag. The engine’s speed, in turn, does not respond to the throttle instantly, because the flywheel takes time to speed up or slow down. Two lags in a loop make a correction that arrives late, and a late correction overshoots. The balls’ own swinging is the larger of the two. A governor’s arms are a pendulum whose restoring force comes partly from gravity and partly from the spin, and like any pendulum it has a natural frequency at which it will happily oscillate on its own; the swing that is pumped, not pushed found how readily such a pendulum takes up energy from anything that varies at the right rate. A governor without friction is a pendulum coupled to an engine whose speed is fed back into it, and the loop can find a rate at which it pumps itself. With nothing to absorb the swinging of the balls — no friction in the hinges and linkage — each overshoot feeds the next.

Maxwell’s equations of a governor

Maxwell had a practical reason to care. In the early 1860s he was part of the British Association committee fixing a standard of electrical resistance, and its method spun a coil of wire in the Earth’s magnetic field and measured the current induced in it — the induction of the field that makes the other put to work as a measurement. The result depended on the coil’s speed, which had to be held constant for minutes at a time, and the committee’s apparatus carried a governor that Maxwell, Fleeming Jenkin and their colleagues had to make behave. James Clerk Maxwell’s paper “On Governors”, read to the Royal Society in 1868, is usually taken as the beginning of control theory. Maxwell wrote the equations of motion for the engine and its governor, linearised them about the steady state, and observed that whether the steady state is stable depends on the roots of a polynomial: the motion is a sum of terms este^{st}, one for each root ss, and the engine settles only if every root has a negative real part.

For the governor drawn here, three quantities enter: the flywheel’s moment of inertia JJ, the gain KK of the linkage, and the damping β\beta of the balls’ swinging. The linearised loop gives the cubic

s3+βs2+c s+aKJ=0,s^3 + \beta s^2 + c\,s + \frac{aK}{J} = 0,

where aa and cc are fixed by the governor’s geometry at its operating speed. A cubic’s roots all have negative real parts if and only if all its coefficients are positive and βc>aK/J\beta c > aK/J — a criterion found in general form by Edward Routh in 1877 and Adolf Hurwitz in 1895, and stated for this governor by Ivan Vyshnegradsky in 1876. With no damping, β=0\beta = 0, the condition fails whatever the other quantities are: a frictionless governor cannot settle.

The friction a governor needs grows with its sensitivity. The least friction a centrifugal governor needs to settle rather than hunt, against its gain, for engines whose flywheels have three moments of inertia, from the Routh–Hurwitz condition on the linearised loop, βc > aK/J. Above each line the engine settles; below it, it hunts. The line is straight: doubling the gain, to hold the speed twice as tightly, doubles the friction needed. A heavier flywheel lowers it, because the engine's speed then responds more slowly and the governor has time to catch up. The dots are the three governors of the hunting figure, at gain 0.6 with a flywheel of 1: two below the line, one above.
Fig. 4 The least friction a governor needs to settle rather than hunt, against its gain, for flywheels of three moments of inertia, from βc>aK/J\beta c > aK/J. Above each line the engine settles; below it, it hunts. Doubling the gain doubles the friction needed; a heavier flywheel lowers it. The dots are the three governors of the hunting figure: two below the line, one above.

The stability boundary explains the 1860s at once. The friction needed is proportional to the gain divided by the flywheel’s inertia. Engineers had been making governors more sensitive — raising the gain — to reduce the droop, and at the same time making them better, with polished hinges and lighter linkages that reduced the friction, and fitting lighter flywheels to faster engines. Every one of those changes moved the operating point towards the hunting side of the line. Vyshnegradsky’s rule of thumb, which he wrote down for designers, was that friction is necessary for stable regulation, and that an unduly sensitive governor is unstable.

A heavier flywheel buys time

The boundary also says what else could be done, short of adding friction: make the flywheel heavier. Doubling the moment of inertia halves the damping the governor needs, because the engine’s speed then changes half as fast, and a governor whose balls lag by the same amount is late by a smaller fraction of each oscillation.

A governor that hunts. The speed of an engine with a centrifugal governor after its load is suddenly increased, against time in units of √(ℓ/g), for three amounts of friction in the governor's linkage: damping 0, 0.25, 0.6, against Vyshnegradsky's minimum for this governor, 0.198. With no friction the speed oscillates about its new, slightly lower value with a growing swing — the governor hunts, opening and closing the throttle out of step with the engine — until the arms hit their stops and the curve ends. At damping 0.25, above the minimum, the oscillation dies away and the engine settles at its new speed. At damping 0.6, above the minimum, the oscillation dies away and the engine settles at its new speed. The friction that seems to spoil the mechanism is what makes it work.
Fig. 5 The same governor and the same load step with a flywheel of twice the moment of inertia, for the same three amounts of friction. The minimum damping falls to 0.20: with none the engine still hunts, but now damping 0.25, which hunted before, settles, and 0.6 settles sooner.

With the heavier flywheel the governor that hunted with a little friction now settles, and the one with no friction still hunts, more slowly than before. This was the other remedy mill engineers found by trial: a heavier flywheel steadied a hunting engine. It costs something too — a heavier flywheel makes the engine slower to respond to a genuine change of load, so the speed wanders further before the governor catches it — and the choice between friction, a dashpot and inertia was one engineers made by feel until Vyshnegradsky gave them the inequality.

The lesson generalises beyond engines. Wherever a correction has to pass through something that lags — the swing of a pendulum, the heating of a room, the playing of a loudspeaker — the loop is only as stable as the margin between its gain and its lag allows. The silence that fits in a tenth of a wavelength found a fixed delay limiting what a noise canceller can do at high frequency; the governor’s lags are mechanical rather than electronic, but they bound it in the same way, and the cure is the same: slow the loop down where it cannot keep up, or damp it where it would overshoot.

The trade-off in every controller since

Behind the particular equations is a general conflict that every feedback controller faces. A controller that reacts strongly to a small error holds its target closely in the steady state, and the same strong reaction, arriving late through whatever lags the system contains, overshoots and can feed an oscillation. The cure is a term that resists rapid change — damping, in the governor’s case friction in the linkage or a dashpot added on purpose — or, in later controllers, a term proportional to the rate of change of the error, which anticipates where the error is going. The proportional–integral–derivative controller that runs most of the world’s industrial processes is the governor’s problem solved with three adjustable coefficients, and the rules for tuning it descend from the stability arguments Maxwell and Vyshnegradsky made.

The same balance appears elsewhere in this collection without being called control. The three ways of coming to rest found an oscillator returning fastest with just enough damping, neither too much nor too little; here the oscillator is the whole loop, and too little damping does not merely slow the return but makes it grow. The swing that dies in a straight line found that the friction in a real linkage is often dry, not viscous; dry friction gives a governor a dead band, a range of speeds over which the balls do not move at all, and dead bands in feedback loops produce their own slow limit cycles, which governor designers of the period called “hunting” too.

What the picture leaves out

The load is not a step. A real mill’s load changes irregularly as machines are engaged and released, and a governor that settles cleanly after a single step can still be driven into large swings by a load that happens to fluctuate near the loop’s natural frequency. Damping protects against that too, since it lowers the loop’s resonance as well as stabilising it.

The steam does not respond instantly. A real engine’s torque lags the throttle, because steam must flow through pipes and cylinders, adding another lag to the loop and lowering the gain the system can tolerate further. Maxwell’s analysis included some such effects; the drawing here has one lag in the balls and one in the flywheel only.

Governors were modified to remove the droop. Adding a term that integrates the speed error over time, so that the throttle keeps moving as long as the speed is wrong, removes the steady error entirely. Maxwell analysed governors of that kind too — he called them “governors” as opposed to “moderators” — and found that the integral action makes stability harder still.

The arms are not the only pendulum. In a real governor the balls can also swing sideways relative to the shaft’s rotation, the linkage has its own flexibility, and the governor’s drive from the engine may slip. Each adds modes that the simple model ignores.

Still open: how much stability a controller needs

The governor’s question has never gone away; it has moved. Every aircraft autopilot, every power grid’s frequency regulation, every insulin pump and every speed controller in a hard disk faces the same trade between how closely it holds its target and how robustly it stays stable when its model of the system is wrong. Modern control theory measures the margin by how much extra gain or extra delay a loop can tolerate before it starts to oscillate, and designs for a margin rather than for the boundary itself.

How large that margin must be, and how it should be shared between performance and safety, has no general answer. It depends on how uncertain the system is, on what happens when it fails, and on what is being regulated. The power grids of the 2020s pose a new form of it: large rotating generators, whose flywheel inertia steadies the grid’s frequency the way an engine’s flywheel steadied Watt’s, are being replaced by solar and wind sources connected through electronics that have no inertia at all, and how much artificial inertia and damping the electronics must supply to keep the grid from hunting is being worked out on live systems. The answer Maxwell gave for one governor is the template. A loop with delay needs damping to settle, and the more tightly it is asked to hold, the more damping it needs.

Part 8 of 8

This essay is one argument about Circular motion. The others:

The objects named here

The third axis, after the field and the reading path: the things themselves, and every essay that touches each one.

Centripetal forceCircular motionConical pendulumControl theoryDampingFeedbackRouth hurwitz criterionStability