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.

The toaster's open-loop control: a chain in one direction. No path leads from the bread back to the timer.

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.

The heater's control loop. Whatever the heater does, the sensor measures again. The loop keeps running as long as the heating is on.

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.
FeatureOpen loopClosed loop
Result measured?noyes, by a sensor
Path of informationone way, a chaina closed loop
If something interferesit notices nothingit adjusts
Examplestoaster, traffic light on a fixed cyclethermostat, 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.

At 17:00 the heating is set to 20 °C. The temperature rises, overshoots the setpoint a little, and then swings around it.

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:

  1. Setpoint: you want to drive at 50 km/h.
  2. Sensor: your eyes read the actual value off the speedometer, say 45 km/h.
  3. Comparison: you are too slow.
  4. Adjusting: you press the gas a little more and look at the speedometer again.
  5. 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

Open-loop control carries out its task without checking the result. Closed-loop control measures the actual value, compares it with the setpoint, and adjusts.

Tasks

Three tasks complete the lesson. The order does not matter, the text above stays where it is.

Task 1 · Sorting

Open loop or closed loop?

Drag every card into its group, or tap the group.

6 cards left

Aquarium heater that keeps the water at 25 °C

Task 2 · Fill in

The oven: fill in the words.

Tap a word, it goes into the marked gap.

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?

One answer is right.

Go deeper

Three more tasks, optional. They do not count for completing the lesson.

Task 4 · Several right · optional

What is true of both open-loop and closed-loop control?

Several answers are right. Pick all of them.

Task 5 · Pairs · optional

What does the sensor measure in each control loop?

Drag every card to its place, or tap it and then the place.

  • Cruise control
  • Toilet tank with a float
  • Iron
  • Humidifier

Task 6 · Order · optional

The refrigerator door was left open for a while. Put in order what the control loop does next.

Drag the rows into the right order.

  1. 1The sensor reads more than the setpoint
  2. 2The temperature inside drops again
  3. 3The cooling unit starts up
  4. 4Warm kitchen air flows in

Back to the chapter