Build Nights / Night 5
Night 5 of 18Week 10 · Term 2: Robots and systemsProposed · no date yet
The Mathematics of Robot Movement
A robot arm only knows its joint angles. How does it work out where its hand is, and how does it choose the angles to reach a cup?
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
Given link lengths L1 and L2 and joint angles θ1 and θ2, where is the tip (forward kinematics)? Given a target (x, y), which angles reach it (inverse kinematics), and why are there usually two answers?
In the real world
Factory arms, surgical robots, camera cranes and excavators all compute forward kinematics constantly to know where their tool is, and inverse kinematics to plan where to go. Real controllers add joint limits, obstacle checks and smooth paths between poses.
Try it: the guided experiment
Everything runs in your browser. No real hardware, ever.
- Guided experiment “Where does the tip go?”: set the stated angles and enter the tip position. Check it with x = L1·cos θ1 + L2·cos(θ1+θ2).
- Pick a reachable target and compare the elbow-up and elbow-down solutions.
- Guided experiment “The hole in the workspace”: find the closest reachable distance and check it equals |L1 − L2|.
- Make L1 equal to L2 and see what happens to the hole.
The design challenge
Design an arm for a pick-and-place table. Each team draws a card with a “near” and “far” distance (in the lab’s units). Choose L1 and L2 so the arm reaches everything between them: |L1 − L2| ≤ near and L1 + L2 ≥ far. Find the shortest total length that works, then justify it: longer links need stronger motors, because torque = force × distance.
At your level
- Level 1 · ExplorerTurn one joint at a time and describe the tip’s path in words. Sort six targets into reachable and unreachable by eye.
- Level 2 · BuilderCalculate the tip position for two poses with cos and sin, then check in the lab.
- Level 3 · InnovatorFind both IK solutions for a target and choose one to avoid an obstacle drawn on the worksheet. Do the design challenge.
- Level 4 · Systems EngineerDerive cos θ2 = (x² + y² − L1² − L2²) / (2·L1·L2) from the cosine rule, and explain why |cos θ2| > 1 means unreachable.
- Level 5 · Research EngineerInvestigate how the ratio L2/L1 changes the reachable area, π[(L1+L2)² − (L1−L2)²] = 4π·L1·L2, across at least four designs of the same total length.
What the model leaves out
The lab’s arm is planar with perfect joints: no gravity, no joint friction, no backlash and no collision checking. Real arms have six or more joints and limits on each.
Where you’ll work
Watch first (optional)
- How Robots Use Maths to Move (opens YouTube in a new tab)James Bruton · 15 min 54 s · Level 3A robot builder shows how trigonometry turns a target position into joint angles on real hardware.
- Modern Robotics, Chapter 4: Forward Kinematics Example (opens YouTube in a new tab)Northwestern Robotics · 3 min 27 s · Level 5A short university worked example that finds where a robot's hand ends up from its joint angles.
- Modern Robotics, Chapter 6: Inverse Kinematics of Open Chains (opens YouTube in a new tab)Northwestern Robotics · 4 min 3 s · Level 5Shows the reverse problem of choosing joint angles to reach a target, and why it can have several answers.
Afterwards
Watch the Northwestern forward-kinematics example (Level 4–5), then try BUILD 004 Level 4 for a finger-sized version of the same maths.
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.
- Read angles and coordinates aloud as the arm moves; provide the worksheet grid as a printable large-print page.
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.