Engineering

Why a falling pole can be held up: feedback, and the PID controller

A green pole balanced upright on a small cart, with fading ghost images of it leaning, and an arrow showing the cart's corrective push
30seconds
The 30-second version

A pole on a cart wants to fall, and a controller that watches the lean and shoves the cart can hold it up. But how hard it pushes matters: too weak and it topples, P only and it wobbles forever, and adding a term that reacts to tipping speed makes the wobble die out.

Drag the pole, tune the two gains yourself, and meet the PID idea that Nicolas Minorsky wrote down while testing automatic steering on a battleship in 1922.

Deep dive · 4 min
Deep dive · 4 min

More in Engineering

View all →
Why a dam is fat at the bottom: water's push grows with depth squared, its tipping with depth cubed A dam is fat at the bottom and slim at the top because water pressure grows with depth, so the push grows with depth squared and the tipping effect with depth… Engineering5 min read Why bridges are made of triangles: a square folds, a triangle cannot A square made of four pinned rods folds flat at the slightest push, but a triangle of three rods cannot change shape at all. That one fact is why bridges… Engineering3 min read Why Taipei 101 hangs a 660-tonne ball in its upper floors: the tuned mass damper At the top of Taipei 101 a 660-tonne steel ball hangs in plain view. It is not decoration: it is a tuned mass damper that swings against the building and can… Engineering4 min read Why airliner windows have no corners: stress piles up at the tightest curve Cut a hole in a stretched plate and the force has to squeeze past it, so the metal beside the hole carries far more stress than the rest. For a round hole in a… Engineering5 min read Why steel beams are shaped like an I: the same steel, 25 times stiffer Put a beam across a gap and it sags: the top edge is squeezed, the bottom stretched, and the steel in the middle does almost nothing. That is why girders are… Engineering4 min read Why a stone arch stands without glue: Hooke's upside-down rope A stone arch has no glue, yet it stands for centuries because every block is only ever squeezed. In 1675 Robert Hooke hid the secret in an anagram: as a… Engineering5 min read