Lesson 5 of 5 · Open
Open loop or closed loop
What a thermostat does that a toaster does not.
A toaster switches off by itself, and so does a heater with a thermostat. Both are called automatic. Yet they work in very different ways: the toaster pops the bread out after a fixed time, even if it is still pale. The heater, on the other hand, notices whether the room is warm enough. What exactly is the difference?
Open loop: set it and carry it out
On a simple toaster, you set the toasting time with a dial. This information decides how long the heating wires glow. Nobody checks whether the bread turns brown: a thick slice stays light, a thin one gets dark. This kind of process is called open-loop control, or open loop for short. It runs in one direction, like a chain, and the result does not act back on the start.
Closed loop: measure, compare, adjust
On the heater's thermostat, you set 20 °C. This desired value is called the setpoint. A sensor, a device that measures something, keeps checking how warm the room really is. What it measures is the actual value.
The thermostat compares the two values. If the sensor reads 18 °C, it is too cold, and the heater is turned up. If it reads 21 °C, it is too warm, and the heater is turned down. So the result is measured again and again and acts back on the heater. This kind of process is called closed-loop control, or closed loop for short.
New terms
- open-loop control
- An input decides what happens. The result is not measured and does not act back.
- closed-loop control
- The result is measured all the time, compared with the setpoint, and adjusted.
- sensor
- A device that measures a quantity, such as temperature.
- setpoint
- The value the control is supposed to reach.
- actual value
- The value the sensor is measuring right now.
| Feature | Open loop | Closed loop |
|---|---|---|
| Result measured? | no | yes, by a sensor |
| Path of information | one way, a chain | a closed loop |
| If something interferes | it notices nothing | it adjusts |
| Examples | toaster, traffic light on a fixed cycle | thermostat, refrigerator, iron |
You notice the difference when something interferes. If a frozen slice is in the toaster, it stays pale, because the timer knows nothing about it. If you open the window in winter, the sensor soon reads less than the setpoint, and the heater turns up.
Quick check
A traffic light changes every 40 seconds, no matter how many cars are waiting. Open or closed loop?
Pay attention to what the sensor measures. An outdoor lamp with a motion detector does have a sensor, but it measures motion, not the lamp's light. The lamp's result does not act back on it. So this is open-loop control that a sensor starts. It only becomes closed-loop control when the sensor measures the result.
The actual value swings around the setpoint
Closed-loop control does not hold the actual value perfectly still. It only reacts once the value is off. On top of that, a radiator takes time to warm up, and it keeps giving off heat for a while after it is turned down. That is why the temperature swings around the setpoint: sometimes a little above, sometimes a little below.
°C
Example
Borderline case: a person as the controller
A control loop does not have to sit entirely inside a device. When you drive without cruise control, a person closes it:
- Setpoint: you want to drive at 50 km/h.
- Sensor: your eyes read the actual value off the speedometer, say 45 km/h.
- Comparison: you are too slow.
- Adjusting: you press the gas a little more and look at the speedometer again.
- Cruise control takes over exactly this job: a sensor measures the speed, and the electronics give more or less gas.
Typical mistake
Thinking that anything that runs by itself is closed-loop control. Then the toaster would be too, even though it pops the bread out after a fixed time, however pale it is. Automatic only means it runs without you. What decides it is whether the result is measured and acts back.
Remember
Tasks
Task 1 · Sorting
Open loop or closed loop?
6 cards left
Task 2 · Fill in
The oven: fill in the words.
You set the oven to 180 °C: that is the . A inside the oven keeps measuring how hot it really is: the . If that is too low, the oven heats up again. That is .
Task 3 · Choice
A streetlight comes on as soon as its light sensor detects dusk. What is that?
Go deeper
Task 4 · Several right · optional
What is true of both open-loop and closed-loop control?
Task 5 · Pairs · optional
What does the sensor measure in each control loop?
Task 6 · Order · optional
The refrigerator door was left open for a while. Put in order what the control loop does next.
- 1The sensor reads more than the setpoint
- 2The temperature inside drops again
- 3The cooling unit starts up
- 4Warm kitchen air flows in