Textbooks/Feedback and Control/Chapter 1Lite (plain text) version
1Open and closed loop
Version 1 · Technically checked (automated checks only) · 3 source lessons · 8 practice items
Introduction
A toaster runs for a set time whether the bread is pale or burnt: that is open loop. A thermostat measures the room and acts on the difference between what it wants and what it gets: that is closed loop. The difference, the error, is the heart of feedback. Closed loops correct for disturbances nobody predicted, but they depend completely on the sensor telling the truth.
Explanation
This chapter is built from 3 School lessons. Each part below is the lesson's own explanation; open the lesson for its predict-and-discover activities.
1.1 Sense, decide, act
A toaster burns frozen bread and undercooks warm bread. A smart greenhouse never lets its plants freeze. What does the greenhouse know that the toaster doesn't?
Information is an input too
A thermometer reading, a button press, a camera image: these carry information into a system. Information doesn't push anything, but it can change what the system decides to do.
Sense → decide → act
Sense: a sensor measures something (temperature). Decide: a controller compares it with a target, called the setpoint (20 °C), using a rule. Act: an actuator changes the world (the heater switches on). A rule can be as simple as: IF temperature < 20 °C THEN heater ON, ELSE heater OFF.
Open loop or closed loop?
Open loop: the system acts without checking the result, like a timer toaster or a garden sprinkler on a clock. Closed loop: it measures the result and adjusts, like a thermostat. Closed loops cope with surprises (a cold night, frozen bread) but need a sensor and a good rule. The measuring-and-adjusting is called feedback.
Common mix-ups
- Smart machines think like people.
✓ Most 'smart' machines follow simple rules: measure, compare with a target, switch something on or off. - Open loop is always worse.
✓ Open loop is cheap and fine when conditions don't change much. A toaster timer is good enough for most bread.
1.2 Open loop or closed loop?
A robot was told to roll exactly 40 wheel-turns to a door. On a polished floor it stopped a hand's width short. What was it missing?
Open loop: act from a plan
Open-loop control decides what to do in advance and never checks the result. A toaster on a timer, a robot told 'drive 40 wheel turns'. Simple and cheap, but if the world isn't exactly as expected, the result is wrong and nobody notices.
Closed loop: measure and correct
Closed-loop control measures the result and uses it to decide what to do next. The measurement is fed back, which is why it's called feedback. It's a sense–think–act loop aimed at a target.
The gap drives everything
The thinking step usually starts with one subtraction:
gap = target − measured value
Big gap: push hard. Zero gap: you've arrived. Negative gap: you've gone too far, so push back. The controller doesn't need to know why it's off, just how far.
Common mix-ups
- Closed loop means the machine is switched off.
✓ It means information goes round in a circle: act, measure, feed back, act again. - Feedback needs to know what caused the error.
✓ It only needs the gap. Slip, slope or a push all show up the same way.
1.3 Open loop or closed loop?
A toaster with a timer and an oven with a thermostat both heat things up. Only one of them knows whether it worked. Which?
Open loop: act and hope
In open-loop control the command is decided in advance: run the toaster for 2 minutes, run the motor at 60%. It is simple and cheap, and fine when conditions never change. But it cannot notice a disturbance (thicker bread, a heavier cart) or its own mistakes.
Closed loop: measure and correct
In closed-loop (feedback) control a sensor measures the result, the controller compares it with the setpoint (the target) to get the error = setpoint − measurement, and adjusts the actuator to shrink the error. Then it measures again, every loop pass. A thermostat, cruise control and a self-balancing robot all do this.
What feedback buys, and costs
Feedback rejects disturbances and copes with machines that are not quite what you expected. The cost is a sensor, more design, and new risks: a badly tuned loop can overshoot, oscillate or, with a broken sensor, act on nonsense. That is why the noise and calibration work earlier this term matters.
Common mix-ups
- Closed-loop control is always better.
✓ Open loop is cheaper and perfectly good when conditions are steady. Feedback adds sensors, tuning and new failure modes. - A machine with a sensor is closed loop.
✓ Only if the sensor's reading changes the command. A sensor that only displays a value leaves the loop open.
Worked examples
Sense, decide, act: example 1
Write a sense–decide–act rule for a night light.
Solution
Sense: a light sensor measures brightness. Decide: IF brightness < a chosen level THEN light ON, ELSE light OFF. Act: the LED switches. It is closed loop for darkness; the system checks the room every moment.
Open loop or closed loop?: example 1
A robot wants to be 200 cm along a corridor. Its encoder says it's at 165 cm. What's the gap, and what should it do?
Solution
gap = 200 − 165 = 35 cm. Positive, so keep driving forwards. If it later reads 207 cm, the gap is −7 cm: it has overshot and should reverse a little.
Open loop or closed loop?: example 1
Classify: (a) a washing machine filling for exactly 90 s, (b) a washing machine filling until a level sensor trips, (c) a sprinkler on a timer.
Solution
(a) Open loop: time is fixed. (b) Closed loop: it stops when the measured level reaches the target. (c) Open loop, unless it also checks a soil-moisture sensor.
Laboratory
Everything runs in your browser. No kit, nothing mains-powered. Simulations are simplified educational models.
BUILD level
BUILD: Smart greenhouse, level 1
Map the greenhouse loop: name the setpoint, sensor, controller, actuator and one disturbance.
Open BUILD: Smart greenhouse, level 1 →Playground lab
Playground: Feedback control
Run the system with the feedback path removed, then restored, and describe what the sensor adds.
Open Playground: Feedback control →
Guided practice
Answers are checked on the server; wrong answers get a hint and another try. Signed in, solved items also count towards the source lesson.
- Which is a closed-loop system?
- A sprinkler that runs at 6 a.m. every day, rain or shine
- A heater that switches off when the room reaches 21 °C
- A toaster with only a timer
- Why would you choose closed loop over open loop?
- It is always cheaper
- It adjusts when conditions change, like a sudden cold night
- It needs no sensor
- Which of these is closed-loop?
- A washing machine that always fills for 90 seconds
- A washing machine that fills until a level sensor says full
- A fan that runs for 10 minutes
- A robot's target is 80 cm. It measures 86 cm. What is the gap, in cm? (It can be negative.) (cm)
- A closed-loop robot is pushed back 10 cm by a friend. What happens?
- It doesn't notice
- The gap grows, so it drives forward again
- It stops working
- In a greenhouse heater loop, what is the 'error'?
- The heater's power
- Setpoint minus measured temperature
- The thermometer
- The setpoint is 18 °C and the thermometer reads 15.5 °C. What is the error, in °C? (°C)
- A closed-loop heater's thermometer falls off the wall and reads 0 °C. What does the controller do?
- Switches off safely
- Heats flat out, because it thinks it is freezing
- Nothing
Engineering applications
Cruise control
A car's cruise control measures speed and adjusts the throttle to hold the setpoint. On a hill the speed falls, the error grows and the throttle opens, with no map of the hill needed.
A lying sensor
If a thermostat's sensor sits next to a warm lamp, the loop faithfully holds the wrong temperature. Feedback corrects for disturbances, not for a sensor that measures the wrong thing.
Watch
Optional verified videos. Nothing loads from YouTube until you press play.
- Control Systems Lectures - Closed Loop Control (Brian Douglas)
- Thermostats: Cooler than you think! (Technology Connections)
Chapter summary
- Open loop acts without measuring the result; closed loop measures and corrects.
- Error = setpoint − measurement; its sign says which way to push.
- Closed loops reject disturbances nobody planned for.
- A loop is only as good as its sensor: a broken or misplaced sensor breaks the loop.
Glossary
- Open-loop control
- Open-loop control sends commands without measuring the result: 'run the motor at 60 % for 2 seconds' and hope it went far enough.
- Closed-loop (feedback) control
- Closed-loop control measures the output, compares it with the target and adjusts the command to shrink the difference, over and over.
- Setpoint and error
- The setpoint (or reference) is the value you want; the error is the setpoint minus the measured value. Controllers act on the error.
- Sense–think–act loop
- Most robots run a repeating cycle: read sensors, decide what to do, command actuators, then repeat, usually at a fixed rate.
Definitions from the Field Guide.
Project: Loops in the wild
Find three control systems in your home or school, such as a fridge, a toilet cistern or an automatic door. For each, say whether it is open or closed loop, draw its block diagram, name its setpoint and sensor, and describe what happens if the sensor fails.
Deliverables
- Three block diagrams with every block labelled
- A classification with reasons
- The failure behaviour of each sensor
Keep your work in your Engineering Journal; it stays private unless you choose to share it.
References
- Karl Johan Åström and Richard M. Murray (2008). Feedback Systems: An Introduction for Scientists and Engineers. Princeton University Press.
- James Clerk Maxwell (1868). "On Governors". Proceedings of the Royal Society of London 16, 270–283.
Publication record
- Version
- 1
- Status
- Technically checked (automated checks only)
- Technical review
- Automated checks only, last run 2026-11-29. No human, educator or mentor review is claimed.src/content/textbooks/textbooks.test.ts: schema, every lesson, diagram, practice item, video, Field Guide entry, lab and reference resolves; figure numbers recomputed; no practice answers in client payloads.
- Written by
- Compiled and written by the Tactiverge team with AI assistance, from Tactiverge School lessons that were themselves written with AI assistance.
- Licence
- All rights reserved by the founders unless a licence is approved.
- Corrections
- None recorded yet.Spotted a mistake? Use “Report a problem” on any chapter, or see the corrections page.