Lite / Building Machines That Respond / Week 26
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?
Why should I care?
Feedback is the idea that turns a machine from following orders blindly into correcting itself. It keeps planes level, rooms warm and lifts stopping exactly at floors. Everything you have built this term (sensors, decisions, actuators, timing) comes together in a feedback loop.
- Distinguish open-loop from closed-loop control in real machines.
- Name the setpoint, measurement, error and actuator in a feedback loop.
- Explain what a closed loop can correct that an open loop cannot.
Predict
A motor is told to run at 60% power for 10 s to move a cart 2 m. Someone loads the cart with bricks. What happens?
- It still moves exactly 2 m
- It moves less than 2 m and nothing notices
- It speeds up to compensate
Guess first, then reveal
That is **open-loop** control: the command does not depend on the result, so a disturbance (the bricks) causes an error nobody corrects. Add a distance sensor and compare it with the target, and the loop closes.
Discover
Start with all gains at zero except a small proportional gain. Watch the output move towards the setpoint. Then add a disturbance or change the setpoint and see the controller respond. Finally set the gain to zero: what does 'no feedback' look like?
What the interactive shows (text version)
The feedback lab shows a setpoint line and the system's output over time. With a proportional gain, the output moves towards the setpoint and responds when the setpoint or a disturbance changes. With all gains at zero the controller does nothing, so the output never corrects: no feedback.
Watch (optional)
Watch for: Listen for what the controller compares, and what happens to the error when a disturbance arrives.
A clear whiteboard explanation of why feeding the measured result back into the controller beats acting from a plan alone.
“Control Systems Lectures - Closed Loop Control” by Brian Douglas (opens YouTube; streaming video uses a lot of data)
The video is optional. Everything you need is in this lesson's text.
Understand
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.
Explain it another way
Intuitive
Walking to a door with your eyes shut is open loop. Walking with your eyes open, constantly correcting your direction, is closed loop.
Technical
Block diagram: setpoint r → (compare) → error e = r − y → controller → actuator → plant → output y → sensor → back to compare. Disturbances enter at the plant; sensor noise enters on the feedback path.
Applied
An automatic oven measures its air temperature and switches its element on and off to hold the setpoint; a toaster with only a timer does not measure the toast at all.
Worked 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.
(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.
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.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
Find two open-loop and two closed-loop machines at home or school. For each closed-loop one, name the setpoint, sensor, error and actuator. For each open-loop one, name a disturbance it cannot correct.
Reflect
Which machine in your life would you most like to close the loop on, and what sensor would it need?
Write your answer on paper or in your own notes. Lite never stores what you write.