Build Night 14: The Architecture of an Autonomous Machine
Facilitator kit · 60 minutes · week 28 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. Empty boxes, three tabs.
- 10–20 min(10)The real system. Layers and rates. State machines for modes. Independent safety. Real robots.
- 20–35 min(15)Guided experiment. Safe-to-move gate, wide uncertainty, fast and slow loops, connect them.
- 35–48 min(13)Design challenge. Robot vacuum architecture and the stuck bump sensor.
- 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
A robot that works alone has to see, decide and move many times a second. What are its parts, and how do they talk to each other?
Opening demonstration
Show a slide with six empty boxes in a row: Sensors → Perception → Estimation → Decision → Control → Motors, and a seventh box off to the side labelled Safety. Then open three tabs: /playground/fusion/ (“this is estimation”), /playground/logic/ (“this is a decision”), /playground/feedback/ (“this is control”). Say: “Each box is something you can explore in a lab on this site. Tonight we wire them together into one machine, and decide what happens when a box fails.”
The technical question
How do sense–think–act loops, state machines and feedback controllers fit into one architecture? Why do different loops run at different rates, and why should the safety stop not depend on the main software?
The real-world system
Robot vacuums, warehouse robots and Mars rovers all split the job into layers: fast control loops for motors, slower estimation and planning, and a mode logic (a state machine) that decides what the machine is doing. Safety-critical machines add an independent emergency stop or watchdog that can halt the motors even if the main computer crashes.
Guided experiment
Start at /playground/logic/ · labs: Sensor fusion lab, Digital logic lab, Feedback control lab
- Logic lab: build “safe to move = path clear AND battery OK AND NOT emergency stop” and check every row of its truth table.
- Fusion lab: switch the camera dropout up to 50%. How does the estimate’s uncertainty band change? What should the decision box do when the band is wide?
- Feedback lab: run a controller with a slow and a fast response. Which would you put on the wheel motors, and which on a slow temperature control?
- On the worksheet, connect the three into one block diagram with arrows labelled by what flows (a position, a yes/no, a motor command).
Design challenge
Design a robot vacuum’s architecture on paper: every sensor, the state machine (cleaning, avoiding, docking, stuck), the loops and a sensible rate for each, and an independent safety stop. Then the failure drill: the bump sensor fails and always reads “no bump”. Trace what your design does, and add one change that makes the failure safe.
Say this about the model
The three labs are separate models. On a real robot these loops run at the same time on shared hardware with strict timing; the rates discussed are illustrative.
Five levels, one night
| Level | Adaptation |
|---|---|
| 1 · Explorer | Sort the robot vacuum’s parts into sense, think and act. Draw arrows for one loop: bump → turn. |
| 2 · Builder | Build the safe-to-move gate and complete its truth table. Name the states of the vacuum. |
| 3 · Innovator | Draw the full architecture with loop rates and do the failure drill. |
| 4 · Systems Engineer | Justify each loop rate (why motors need fast loops and planning can be slow) and explain where the safety stop sits and why it is independent. |
| 5 · Research Engineer | Investigate one failure mode in the labs (for example, camera dropout rate against estimate uncertainty) across at least four settings and write the rule your decision box should follow. |
Slide outline
Slide 1: The Architecture of an Autonomous Machine
- Build Night title, week number, “Proposed programme” footer
- Hook on screen: see, decide, move, many times a second
- Room rules: cameras, microphones and chat off; questions in the box
Slide 2: Sense, think, act
- Sensors → perception → estimation
- Decision → control → motors
Slide 3: Modes are a state machine
- Cleaning, avoiding, docking, stuck
- Events move between them
Slide 4: Loops at different speeds
- Motors: fast
- Planning: slow
- Rates here are illustrative
Slide 5: Safety stands apart
- An emergency stop that doesn’t need the main computer
- Design for failure, not just success
Slide 6: Your turn next
- Draw a robot vacuum, then break its bump sensor.
- One-sentence reflection on the worksheet
- Where to find the follow-up and the next night
Verified videos
- Understanding Sensor Fusion and Tracking, Part 1: What Is Sensor Fusion? (MATLAB) · https://www.youtube.com/watch?v=6qV3YjFppuc
- How does a Mars Rover work? (Perseverance) (Jared Owen) · https://www.youtube.com/watch?v=0-oQRSViZQE
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.
- ☐ No real robots or vacuum cleaners are opened or modified.
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.
- Provide the block diagram as a numbered text list as well as a drawing; read each arrow aloud (“estimation sends a position to decision”).
Rubric
| Criterion | Developing | Secure | Excellent |
|---|---|---|---|
| Science and maths | Names some parts. | Connects sense, think and act with a correct state machine. | Justifies loop rates and an independent safety stop. |
| Evidence | Uses one lab. | Uses all three labs and records what each showed. | Links the fusion lab’s uncertainty to a decision rule. |
| Design decision | Draws a partial diagram. | Draws a complete architecture and handles the drill. | Makes the failure safe without adding a new single point of failure. |
| 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.
Follow-up activity
Watch “What Is Sensor Fusion?” and add a second sensor to your vacuum. Or redraw BUILD 006’s rover using tonight’s boxes.
Worksheet: The Architecture of an Autonomous Machine
Name or nickname: ______________________ Level: ____________
- Sort these into sense, think and act: bump sensor, wheel motor, map, battery check, brush.
- Complete the truth table for safe to move.
- Name the vacuum’s states and one event that moves it between each pair.
- Which loop must run fastest, and why?
- Your failure drill: what goes wrong, and your fix.