Instructor guide · Week 5 of 6
Feedback Control and Autonomous Systems
Week 5 brings together everything so far. A feedback controller senses (Week 3), computes (Week 4) and acts on a system, again and again, to close the gap between a setpoint and the output.
The first half of the session builds intuition: open loop versus closed loop, then proportional control and its permanent steady-state error, r ÷ (1 + Kp·K). Students are often surprised that turning up the gain never removes the error entirely; integral action does, at the cost of possible overshoot and windup.
The mission, Is It Really Better?, is an Open Lab investigation rather than a design problem. Students compare controller settings on noisy simulated runs and discover how many repeats they need before a difference is believable. Its emphasis on a decision rule written before data and on reporting every run prepares directly for the Week 6 showcase.
The mission is marked advanced. Students who find the statistics heavy can reach Proficient by applying a simple, stated rule consistently and reporting honestly. The feedback lab simulates linear plants with small time steps; real motors add friction, delay and nonlinearity, and students should say so.
Remind students that the showcase is next week and that they should choose which earlier mission to improve. The week's assessment id is week-5.
Learning objectives
- Students can distinguish open-loop from closed-loop control and identify the parts of a feedback loop in a real system.
- Students can calculate the steady-state error of a proportional controller from the setpoint, Kp and plant gain.
- Students can explain how integral action removes steady-state error and what windup is.
- Students can compare two controller settings using repeated noisy runs and a decision rule written in advance.
Preparation
- Complete the four preparatory lessons, both feedback experiments and Is It Really Better?
- Recompute the session example: 2 ÷ (1 + 3 × 1) = 0.5, final output 1.5; with Kp = 6, 2 ÷ 7 ≈ 0.29.
- Reset the feedback lab to its defaults before the session and practise adding sensor noise and regenerating it.
- Prepare a spoken description of a step-response graph (rise, overshoot, settling) for students using screen readers.
- Send families a short note that the showcase is next week and what students will present.
- Confirm the adult supervisor and the chat moderation settings.
Students prepare with: Open loop and closed loop; Proportional control and its limits; Integral action and steady-state error; Repeatability, trials and sample size. Mission: Is It Really Better?.
Run of show (60 minutes)
- 5 min
Welcome and recap
Ask: what did the interlock decide, and what information did it use? Contrast a fixed rule with a loop that keeps correcting itself.
- 10 min
Open loop and closed loop
Compare a toaster on a timer with a thermostat. Draw the feedback loop in words: setpoint, error, controller, plant, sensor.
- 15 min
Proportional control and its limits
Work the example: setpoint 2, plant gain 1, Kp = 3 gives error 2 ÷ (1 + 3) = 0.5. Doubling Kp to 6 gives about 0.29, never zero. Introduce integral action as the fix.
- 15 min
Feedback lab: P versus PI, and noise
Share the feedback lab. Raise Kp and watch overshoot grow; switch to PI and watch the error vanish. Add sensor noise and show that settling time changes from run to run.
- 10 min
Mission launch: Is It Really Better?
Read the brief together. Stress that the decision rule is written before collecting data, and that every run is reported.
- 5 min
Reflection and exit question
Ask: how many runs would convince you that one controller setting is better than another?
Common misconceptions
- “A bigger gain is always better.”
- A larger Kp reduces steady-state error and speeds the response, but in plants with more dynamics it also increases overshoot and can make the loop oscillate. Show the trade-off in the lab with a second-order plant.
- “Proportional control will reach the setpoint if you wait long enough.”
- With P control alone the controller needs a non-zero error to produce any output, so the error settles at r ÷ (1 + Kp·K). Waiting does not help; integral action does.
- “Integral action fixes every problem.”
- Integral action removes steady-state error, but if the actuator saturates the integral keeps growing (windup) and causes large overshoot. Real controllers limit it.
- “One run is enough to compare two settings.”
- With noise, a single run can easily favour the worse setting. Regenerate the noise in the lab several times and show how much the settling time varies.
Discussion questions
- Where would an open-loop system be good enough, and where would it be dangerous?
- Why should a decision rule be fixed before you collect data?
- What makes a machine autonomous rather than just automatic?
- If two settings differ by less than the noise, what should an engineer report?
Support and stretch
- No hardware: every task in the week can be completed on paper, with a calculator or in the browser lab, so no student needs equipment.
- Low bandwidth: students can join by audio only or follow the moderated chat, and the printable worksheet covers the session's core tasks so the lab can be done later on a better connection.
- Screen readers: describe every diagram, graph and lab state aloud and in the chat, and give tables as lists. If a lab's controls are hard to use with a screen reader, the worksheet's paper tasks cover the same objective and count equally.
- Support: provide a data-recording template and a ready-made decision rule (for example, compare means and call a difference real only if it is more than twice the larger standard error).
- Stretch: ask students to find how few seeds would have given the same conclusion for each pair, and to explain why the small-difference pair needs more.
Supervision and online safety
Every live session runs with an adult supervisor present for the whole hour, and no student is ever alone in a session or breakout room with an adult. Students join with a first name or nickname only and never share personal information such as surnames, schools, addresses, phone numbers, social media handles or photos of themselves. Cameras and microphones are optional; typing in the moderated chat is always an equal way to take part. Sessions are not recorded unless every family has agreed in advance. No hardware is needed this week: every activity works on paper, with a calculator, in the browser lab or in free Python. Students experimenting with real motors outside the cohort should do so only with adult supervision, using low-voltage supplies and keeping fingers clear of moving parts.
Assessment
Students take the before check before the live session and the after check at the end of the week (signed-in, about 20–30 minutes each). Choice and number questions are scored automatically; one written explanation per form is scored 0–3 by a founder in Admin → Assessments. Missions are reviewed against the weekly rubric on the week page.
CC BY 4.0. Adapt freely; keep the supervision and privacy rules.