Build Nights / Night 14
Night 14 of 18Week 28 · Term 4: Engineering like a professionalProposed · no date yet
The Architecture of an Autonomous Machine
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?
This night is part of a proposed programme. It has not been scheduled and has not taken place. When it is scheduled it will appear on /live/. You can do everything below on your own, today.
The big 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?
In the real world
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.
Try it: the guided experiment
Everything runs in your browser. No real hardware, ever.
- 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).
The 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.
At your level
- Level 1 · ExplorerSort the robot vacuum’s parts into sense, think and act. Draw arrows for one loop: bump → turn.
- Level 2 · BuilderBuild the safe-to-move gate and complete its truth table. Name the states of the vacuum.
- Level 3 · InnovatorDraw the full architecture with loop rates and do the failure drill.
- Level 4 · Systems EngineerJustify 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.
- Level 5 · Research EngineerInvestigate 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.
What the model leaves out
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.
Where you’ll work
Watch first (optional)
- Understanding Sensor Fusion and Tracking, Part 1: What Is Sensor Fusion? (opens YouTube in a new tab)MATLAB · 12 min 35 s · Level 4Explains why robots and cars combine several imperfect sensors to get a better picture of the world.
- How does a Mars Rover work? (Perseverance) (opens YouTube in a new tab)Jared Owen · 16 min 31 s · Level 1A detailed animated tour of Perseverance's wheels, cameras, arm and power system, all in one place.
Afterwards
Watch “What Is Sensor Fusion?” and add a second sensor to your vacuum. Or redraw BUILD 006’s rover using tonight’s boxes.
Everyone can take part
- 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.
- Provide the block diagram as a numbered text list as well as a drawing; read each arrow aloud (“estimation sends a position to decision”).
How the live session is kept safe
- A host and a separate adult supervisor are there for the whole hour.
- Your camera, microphone and chat stay off. Ask questions in the moderated box; they are read out without your name.
- Nobody will ask for your personal details, photos, school or location.
- Everything happens in a simulation or on paper. Never open or change a real device.
Running this with a group? Open the printable facilitator kit.