Material Insights · Understanding the Material World

Control and systems: feedback, stability and how machines are made to behave: Open loop and closed loop: measure, compare, correct

All courses / Understanding Engineering / Module 11: Control and systems: feedback, stability and how machines are made to behave Part 1 of 5

Open loop and closed loop: measure, compare, correct

A ceiling fan runs at the speed its regulator is set to, whatever the weather. A geyser switches itself off when the water is hot. The first obeys an instruction and never looks at the result; the second looks at the result and acts on what it sees. That difference is the core of control. This part builds it from three machines that were working long before electronics: a thermostat, a float valve and a spinning governor.

1.1 An open-loop machine follows its instruction blind; a closed-loop machine checks the result and corrects

Switch a ceiling fan to position three and it spins at the speed that setting gives. If the mains voltage sags, or dust slows the blades, the speed changes and the fan neither notices nor cares. Nothing inside it measures speed. This is open-loop control: an instruction goes in, an action comes out, and nobody checks the result. A toaster on a timer, a washing machine with a fixed rinse time and a street light switched by a clock are all open loop.

Open loop is cheap, and it works when you know how the machine responds and little disturbs it. A fan regulator suits its user, who feels the breeze and adjusts. That person is the missing feedback.

Now take a geyser with a thermostat. A temperature sensor sits in the tank. When the water reaches the chosen temperature the heater is cut off, and when the water cools a little it is switched on again. The machine now looks at the result it cares about. This is closed-loop control, also called feedback control, and every closed loop does the same three jobs in turn. It measures the quantity that matters. It compares the measurement with the target, and the gap is the error. It acts to shrink the error. Then it measures again, and the circle repeats, which is why it is called a loop.

The parts have standard names. The thing being controlled, such as water temperature, is the process. The target is the set point. Anything that pushes the process off target unasked, such as cold inflow or a hill under a car, is a disturbance. A loop exists to defend the set point against disturbances.

Closed loop is not free. It needs a sensor, a decision unit and an actuator, so it costs more and has more ways to fail. It also brings a new fault: a loop that corrects badly can behave worse than no loop. The trade is plain. Open loop gives simplicity in a calm world. Closed loop gives accuracy in a disturbed one, and pays in parts and in the risk of instability.

Process flowchart The loop inside a geyser thermostat
Inputs Set pointsay 55 degrees C, chosen on the dial Process steps 1 Sensor

turns tank water temperature into a signal

2 Comparison

set point minus measurement = error

3 Switch

error positive → heater on; error negative → heater off

4 Heater and tank

adds heat; cold inflow and heat loss act as disturbances, and the new temperature is sensed again

Outputs Hot waterheld near 55 degrees C, within the thermostat's gap

The arrow from the tank back to the sensor is what makes the loop closed.

  • Vincenti, What Engineers Know and How They Know It (Johns Hopkins University Press, 1990) · ch. 3, 'Establishment of Design Requirements: Flying-Quality Specifications for American Aircraft, 1918-1943', on pilot and aircraft seen as an open-loop or a closed-loop system

1.2 A float valve in a water tank is a complete feedback loop made of a ball and a lever

Inside an overhead roof tank, a hollow ball sits on the water surface at the end of an arm, and the other end of the arm presses on the inlet valve. As the level rises, the ball rises, the arm tilts and the valve closes. Yet every job of the loop is done without electricity. The ball is the sensor, turning level into position. Where the arm is bent sets the comparison, because that fixes the level at which the valve will be shut. The valve is the actuator.

The valve does not slam shut at the last moment. Its opening shrinks smoothly over the top few centimetres of the ball's travel, so the nearer the level is to the brim, the smaller the flow. The flow is proportional to the gap between the level and the full mark, which engineers call proportional action. Flow rate itself was covered in Fluids: pressure, flow, lift and drag; here only volume in and volume out matter, and the table works the tank through.

Two results matter. The end of the fill is slow, because the flow dies away as the gap closes. And if someone draws water meanwhile, the valve cannot shut: it must stay partly open to match the draw, which needs a gap. The level settles below the brim by an amount that grows with the draw. This lasting gap is the price of purely proportional action, and it returns in the governor, the cruise control and the grid.

The trade-off sits in the arm. A long closing band gives a quiet approach but a bigger gap under draw. A short band keeps the level near the brim but makes the valve snap shut and bang the pipe.

Data Worked estimate 1: filling a 1,000 litre roof tank through a float valve
StepWorkingResult
Tank cross-section and height1,000 L = 1.0 m3; assume floor area 0.8 m2depth 1.0 / 0.8 = 1.25 m
Rate of rise with valve wide open (20 L/min)0.020 m3/min / 0.8 m20.025 m/min, 2.5 cm each minute
Time to fill up to 10 cm below the full mark(1.15 m x 0.8 m2) / 0.020 m3/min920 L / 20 = 46 min
Closing band (flow falls to zero over the top 10 cm): time constantarea x band / full flow = 0.8 x 0.10 / 0.0204 min
Time to close 95 per cent of the last gapabout 3 time constantsabout 12 min
Level while a tap draws 10 L/minvalve must pass 10 of its 20 L/min, so it is half opengap = half of 10 cm = 5 cm below the brim

Assumed: 20 L/min through a fully open valve, a 0.8 m2 tank floor, a closing band of 10 cm. Every result is calculated from these. Check: 1,000 L at 20 L/min would take 50 min if the valve never slowed; the fill to within 5 per cent of the last gap takes about 58 min, so the slow approach costs about eight minutes.

Source: Bloomfield, How Things Work (Wiley, 2015), ch. 5, 'Fluids', section 5.2, 'Water Distribution'
  • Bloomfield, How Things Work (Wiley, 2015) · ch. 5, 'Fluids', section 5.2, 'Water Distribution'

1.3 A centrifugal governor holds an engine's speed by letting spinning weights swing outwards against a spring

A mill engine must hold a steady speed whether one machine or twenty hang on it. In the classic governor, two heavy balls hang from arms on a vertical shaft that the engine turns. The faster the shaft spins, the further the balls swing outwards, because a body moving in a circle needs an inward pull and the arms and spring can only give so much of it. A collar slides up the shaft as the balls rise, and a linkage ties it to the steam or fuel valve.

Run the three jobs. Measuring: the angle of the balls is the speed signal. Comparing: spring and arm lengths fix the balance point, the set point. Acting: the linkage closes the valve when the balls fly high and opens it when they sink. Add a heavy load and the engine slows, the balls drop, the valve opens and the speed recovers.

Here is the catch, and it is the same one as in the tank. To hold the valve wider open for a heavier load, the balls must sit lower, which means the shaft must turn more slowly. A purely mechanical governor therefore lets speed sag as load rises. This sag is called droop. A droop of 4 per cent on a 1,500 rpm engine means about 60 rpm less at full load than at no load (1,500 x 0.04). Droop is a defect when you need exact speed, and a feature when two engines must share a load, because each one then takes up a fair share without a referee. Power grids use it on purpose, as Part 4 shows.

Governors are fitted on the Steam turbine, the Heavy-duty diesel engine, the Gas turbine and the water turbines that drive an Electric generator. Modern versions sense speed electronically; the structure is unchanged.

The trade-off is between liveliness and steadiness. A sensitive governor corrects fast and keeps droop small, but the engine may swing above and below its speed, a fault called hunting. A sluggish one is calm but lets speed wander with each change of load.

  • Bloomfield, How Things Work (Wiley, 2015) · ch. 3, 'Mechanical Objects Part 1', section 3.3, 'Carousels and Roller Coasters', centripetal force
  • Maxwell, J. C., On Governors, Proceedings of the Royal Society of London 16 (1868) · the paper as a whole (history only)

See it in the table

H₂O WaterEl Electricity

Check your understanding

A bedside fan is set to speed 2 and the supply voltage falls, so the blades slow. Which statement is right?

Closed loop needs a measurement of the result fed back into the action. A plain regulator sets a fixed input and never checks the speed, so the speed simply follows the supply.

A float valve is shut a little more for every centimetre the water rises. What happens when a tap draws water steadily from the tank while it fills?

Inflow must match the draw, so the valve has to stay partly open, and with proportional action that needs a lasting gap below the brim.

Why do two engines with a few per cent droop share a load more easily than two with none?

With droop, the more load an engine carries, the lower its speed for the same set point, so load drifts towards balance. With no droop, tiny differences would send all the load to one machine.
← Module contentsMark read · Part 2: Sensors, actuators and on-off control: the hardware of a loop →