Lite / Intelligent Robotic Systems / Week 28
Blocks, arrows and promises
A warehouse robot has eight boxes on its diagram and twenty arrows between them. Which do engineers argue about more: the boxes or the arrows?
Why should I care?
Nobody can hold a whole robot in their head. A block diagram lets a team split the work, agree what each part promises the others, and spot the single wire or message everything depends on, before any metal is cut.
- Break a mobile robot into sensing, estimation, planning, control, actuation and power subsystems.
- Draw a block diagram that separates data paths from power paths.
- Describe each arrow as an interface: what signal, in what unit, how often.
Predict
Two teams each finish a subsystem that passes all its own tests. They plug them together for the first time. What usually breaks first?
- The hardware inside one of the boxes
- The connection between them: units, timing or assumptions
- Nothing: tested parts always work together
Guess first, then reveal
The arrows. Each team tested against its own assumptions. Integration is where those assumptions meet, so a good block diagram labels every arrow with what it carries.
Discover
Place each block of the warehouse robot in its layer and give it an update rate. Before you check, predict: which blocks run fastest, and why are they the ones closest to the motors?
What the interactive shows (text version)
The architecture builder can be done as a table: wheel encoders, sensing, 1 kHz; camera, sensing, 10 Hz; state estimator, estimation, 100 Hz; object detector, estimation, 10 Hz; mission planner, planning, 1 Hz; wheel speed PID, control, 1 kHz; motor driver, actuation, not a loop; battery, power, not a loop.
Watch (optional)
Watch for: List every subsystem the video names, then sort them into sense, think, act and power. Which arrow between them would you test first?
A tour of the subsystems a robot needs (sensing, computing, actuation, power) and how engineers make them work together.
“How Engineering Robots Works: Crash Course Engineering #33” by CrashCourse (opens YouTube; streaming video uses a lot of data)
The video is optional. Everything you need is in this lesson's text.
Understand
Subsystems and layers
A mobile robot's software and hardware fall into layers: sensing (encoders, cameras, IMU), perception and estimation (turning raw readings into 'I am here, a box is there'), planning (choosing what to do next), control (making motors follow the plan) and actuation (drivers and motors). Power runs underneath everything.
Data paths and power paths
In a block diagram, data arrows carry information (a pose, a speed command) and power arrows carry energy (battery to motor driver). Draw them differently, for example solid and dashed. A fault on a power path can take out several data paths at once, which is why engineers look for single points of failure there.
Every arrow is a promise
Label each arrow with its interface: the signal's name, unit, coordinate frame and rate. 'Pose' is vague; 'pose of the robot in the map frame, metres and radians, 50 Hz' is a promise the receiving team can build on and test against.
Explain it another way
Intuitive
Think of a restaurant kitchen. Waiters (sensors) bring orders, the head chef (planner) decides, cooks (controllers) do the work with their tools (actuators), and the gas supply (power) feeds the lot. Most chaos happens at the pass, where one station hands food to the next.
Technical
A system block diagram is a directed graph: nodes are subsystems, edges are signals. Each edge has a type (data or power) and an interface specification. The diagram is the basis for splitting work, writing interface tests and analysing failure propagation.
Applied
Robot teams often keep the block diagram in the repository next to the code and update it whenever an interface changes, so that new members learn the system from one picture.
Worked example 1
Write a full interface label for the arrow from the wheel encoders to the wheel speed controller.
'Wheel speed, left and right, in rad/s, measured at the wheel, published at 1 kHz with a timestamp.' It names the signal, the unit, where it is measured (its frame), the rate and the timing information.
Common mix-ups
If every subsystem passes its own tests, the robot will work.
✓ Subsystem tests check each box against its own assumptions; the interfaces between boxes need their own tests.A block diagram is a picture of the hardware layout.
✓ It shows function and signal flow, not physical position. Two blocks can run on the same chip.
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
Draw the block diagram of a robot vacuum cleaner with at least seven blocks. Mark data and power paths differently, label four arrows with full interface descriptions, and circle one single point of failure.
Reflect
Which arrow in your vacuum-cleaner diagram would you test first, and why that one?
Write your answer on paper or in your own notes. Lite never stores what you write.