Build Night 13: Design a Simulated Control System
Facilitator kit · 60 minutes · week 26 of 36 · free to reuse with attribution
Status: proposed. No date is confirmed and this night has not taken place. Run it live only as a session scheduled and listed on /live/, with a host and an adult supervisor confirmed.
Timing
- 0–3 min(3)Welcome and room rules. Introduce the host and the adult supervisor by role. Cameras, microphones and chat stay off; questions go in the moderated box. Point to the worksheet.
- 3–10 min(7)Hook and opening demo. One knob: better, then worse.
- 10–20 min(10)The real system. Open and closed loops. P, I and D in plain words. The four step-response measures. Where PID runs in the world.
- 20–35 min(15)Guided experiment. The two guided experiments, derivative action, the second-order plant.
- 35–48 min(13)Design challenge. Specification first, then tune and prove.
- 48–55 min(7)Share and moderated questions. Put each team’s result on screen without names. Ask what they traded away. Answer moderated questions.
- 55–60 min(5)Reflect and follow-up. Everyone writes one sentence: what would you design differently now? Introduce the follow-up activity and the next Build Night’s question.
Script
Hook
Cruise control holds 50 km/h up a hill; a drone holds still in the wind. Can you design a controller that meets a written specification, and prove it does?
Opening demonstration
Share /playground/feedback/ with P-only control. Set a small Kp: the output rises slowly and stops short. Raise Kp: faster, closer, then it overshoots and rings. Say: “I turned one knob up, and it got better, then worse. Tonight you’ll find out why, and you’ll design a controller to a specification, like a real control engineer.”
The technical question
What does each of the P, I and D terms do? How do we measure a step response (rise time, overshoot, settling time, steady-state error), and why can too much gain make a system worse?
The real-world system
PID controllers run in factories, ovens, 3D-printer nozzles, cruise control and drones. Engineers usually write the specification first (how fast, how much overshoot, how accurate) and then tune and test against it, because “it looks fine” is not something you can check.
Guided experiment
Start at /playground/feedback/ · labs: Feedback control lab
- Guided experiment “Proportional control never quite arrives”: record the steady-state error for three values of Kp.
- Guided experiment “How long until it settles?”: add integral action and record the settling time.
- Add derivative action and record what happens to the overshoot.
- Switch to the second-order plant and repeat one setting. What changes?
Design challenge
Write a specification before tuning: overshoot under 10%, zero steady-state error, settling time as short as you can. Tune a controller, record all four metrics, and state which line of the specification was hardest to meet and what you traded for it.
Say this about the model
The lab simulates linear first- and second-order plants with small fixed time steps. Real motors and heaters add friction, delay, limits and nonlinearity.
Five levels, one night
| Level | Adaptation |
|---|---|
| 1 · Explorer | Spot closed loops in everyday life (a person steering a bike, a thermostat). Describe overshoot in words from the chart. |
| 2 · Builder | Record rise time and overshoot for three Kp values and describe the pattern. |
| 3 · Innovator | Meet the specification with a PI or PID controller and record all four metrics. |
| 4 · Systems Engineer | Use P-only steady-state error = r/(1 + Kp·K) to predict the error for two Kp values, check in the lab, and explain why integral action removes it. |
| 5 · Research Engineer | Investigate how Kd changes overshoot and settling time across at least four values with Kp and Ki fixed, on both plants. |
Slide outline
Slide 1: Design a Simulated Control System
- Build Night title, week number, “Proposed programme” footer
- Hook on screen: a controller you can prove
- Room rules: cameras, microphones and chat off; questions in the box
Slide 2: The loop
- Measure, compare, act, repeat
- e = r − y
Slide 3: P, I and D
- P: push in proportion to the error
- I: remove what’s left over
- D: calm the overshoot
Slide 4: Measuring a response
- Rise time, overshoot
- Settling time, steady-state error
Slide 5: Too much gain
- Faster, then ringing
- Stability is a design limit
Slide 6: Your turn next
- Write the specification, then meet it.
- One-sentence reflection on the worksheet
- Where to find the follow-up and the next night
Verified videos
- What Is PID Control? | Understanding PID Control, Part 1 (MATLAB) · https://www.youtube.com/watch?v=wkfEZmsQqiA
- PID Control - A brief introduction (Brian Douglas) · https://www.youtube.com/watch?v=UR0hOmjaHp0
- Cheese, Catastrophes, & Process Control: Crash Course Engineering #25 (CrashCourse) · https://www.youtube.com/watch?v=BT_JUbpZ1lQ
Embed only through youtube-nocookie.com, never autoplay, captions on.
Supervision checklist
- ☐ Two adults minimum: the host (who teaches) and a named adult supervisor who stays for the whole session. The session does not start without the supervisor.
- ☐ Learner cameras and microphones off; chat off. Questions come only through the moderated question box and are read aloud without names.
- ☐ Links are posted on the session page, never in chat. Nobody is asked for personal details, photos, their school or their location.
- ☐ No real hardware: every activity is a browser simulation or a paper design. Nobody opens, powers or modifies a real device during or after the session.
- ☐ If anything worrying is said or seen, the supervisor follows the safeguarding procedure at /safeguarding/ straight away; the host pauses the activity if needed.
- ☐ Session listed on /live/ with its host and supervisor confirmed before any learner is invited.
Roles
- Host: runs the demo, the slides and the experiment; calls time.
- Adult supervisor (or co-host, with the supervisor present): moderates the question box and reads questions without names, watches the room and the safeguarding channel, posts links on the session page.
Accessibility accommodations
- Slides use large, high-contrast text and never rely on colour alone. The host describes every chart and animation aloud.
- Live captions switched on and tested before the session; the host reads each on-screen instruction aloud.
- Every lab and Build works by keyboard, gives text readouts of its results and respects reduced-motion settings.
- Worksheet available to print, in large print and as plain text; answers can be typed, drawn, or spoken to a helper.
- A second screen is optional: following the host’s shared screen plus the worksheet is enough to take part.
- Nobody has to finish in the hour: the follow-up activity is the same task, so extra time is built in.
- The feedback lab reports each metric as text; read them aloud after every run.
Rubric
| Criterion | Developing | Secure | Excellent |
|---|---|---|---|
| Science and maths | Says the controller “fixes the error”. | Explains P, I and D and the four metrics. | Predicts the P-only error from the formula and checks it. |
| Evidence | Reads one chart. | Records all four metrics for their design. | Compares controllers on two plants with a fair method. |
| Design decision | Tunes by guessing. | Meets the specification and names the trade-off. | Explains why the specification was hard in terms of stability. |
| Communication | Shares a result when prompted. | Explains the result and one reason for it in their own words. | Explains the result, the evidence and the trade-off clearly enough for a classmate to repeat it. |
Feedback for learners, not a public score. No leaderboards.
Answer key (facilitator only)
- P-only steady-state error = r/(1 + Kp·K): for example with r = 1 and K = 1, Kp = 1 gives 0.5 and Kp = 4 gives 0.2.
Follow-up activity
Watch “What Is PID Control?”, then use your controller in BUILD 002 Level 4 or BUILD 007 Level 4.
Worksheet: Design a Simulated Control System
Name or nickname: ______________________ Level: ____________
- Draw the loop: setpoint, error, controller, plant, sensor.
- Record steady-state error for three values of Kp.
- What did integral action change?
- What did derivative action change?
- Your specification and your four measured metrics. Which line was hardest?