Lite / Intelligent Robotic Systems / Week 28
One brain or many?
Should a robot run everything on one powerful computer, or spread the work across several small ones? Both answers ship in real products.
Why should I care?
Architecture choices are expensive to undo. Picking where computation lives decides wiring, software structure and how the robot fails, so engineers make the choice deliberately and write down why.
- Compare centralised and distributed architectures on cost, latency, reliability and complexity.
- Use weighted criteria to choose an architecture and state what was traded away.
Predict
A robot spreads its control across five small processors linked by a bus. Compared with one big computer, what gets harder?
- Nothing: more processors are always better
- Keeping their data consistent and in sync over the bus
- Running fast control loops
Guess first, then reveal
Communication and synchronisation. Fast local loops often get easier, but now several processors must agree on time, units and state over a bus that has its own delays.
Discover
Treat the designs in the trade-offs lab as architecture options. Weight cost, reliability and latency first for a toy robot, then for a hospital delivery robot. Does the winner change? Which design is dominated (worse on everything)?
What the interactive shows (text version)
In the trade-offs lab, changing the weights changes which design scores highest; one design is worse on every criterion than another and can never win.
Watch (optional)
Watch for: Listen for the difference between low-level control and higher-level planning, and where each might run.
From factory arms to rovers: how robots sense, decide and move, including a first look at feedback control.
“Robots: Crash Course Computer Science #37” 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
Centralised
One computer runs perception, planning and control. Pros: one place for all data, simpler software, easy to debug. Cons: one busy processor must also meet fast loop deadlines, and if it crashes, everything stops.
Distributed
Small processors near each motor or sensor run fast local loops, and a main computer coordinates them over a bus. Pros: fast, predictable local loops and less wiring. Cons: more interfaces, bus delays and clock synchronisation to manage. A failure can be contained to one node, if the design plans for it.
Decide with criteria, not taste
List criteria (cost, latency, reliability, power, development time), weight them for this robot's users, score each option and check whether any option is dominated. Then record the decision and what you gave up, so the next engineer knows it was a choice, not an accident.
Explain it another way
Intuitive
One brain is like a single manager doing everything: simple, until they get overloaded. Many brains is like a team with walkie-talkies: faster locally, but they must keep talking.
Technical
Distributed designs move latency-critical loops next to the hardware and turn many analogue wires into one digital bus, at the cost of interface specifications, message scheduling and fault handling across nodes.
Applied
Many industrial arms put a servo drive at every joint that closes the current and speed loops locally, while a central controller plans trajectories and sends setpoints.
Worked example 1
A school robot must cost under 60 pounds and be easy for beginners to debug. Centralised or distributed?
Centralised: one cheap board, one program to read, no bus to configure. Loop timing is manageable because the robot is slow. The trade: if that board resets, the robot stops, which is acceptable for a classroom.
Common mix-ups
There is one correct robot architecture.
✓ The best architecture depends on the robot's users, budget and risks; record the criteria behind your choice.
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
Pick a robot (lawn mower, delivery drone or classroom rover). Score centralised and distributed designs on four weighted criteria, state the winner and write two sentences on what you traded away.
Reflect
Which criterion did you find hardest to weight, and who should really decide it?
Write your answer on paper or in your own notes. Lite never stores what you write.