How robots work

These are short explainers built on 3D models of real robots. Each one answers a single question. Guess first, then drag, push or tilt to see why.

Loading…

This small robot arm has six motors (highlighted), one at each joint, where the arm bends or turns.

How this was made

All twelve as text

Body

What is a robot arm made of?

  1. This small robot arm has six motors (highlighted), one at each joint, where the arm bends or turns.
  2. Pull it apart. Plastic parts and motors take turns, from the base to the gripper. Tap any part to see what it does.
  3. Each motor holds up every part further out, toward the gripper. With the arm stretched out, which motor works hardest to stop it sagging?
  4. So the motors near the base must be strongest, and the gripper can carry only light things. Linked parts like this form a kinematic chain.
Parts
  • Base
  • Base motor
  • Shoulder bracket
  • Shoulder lift motor
  • Upper arm
  • Elbow motor
  • Forearm
  • Wrist bend motor
  • Wrist
  • Wrist turn motor
  • Fixed finger
  • Gripper motor
  • Moving finger

A robot arm is a chain: each motor moves everything after it, so the motors nearest the base work hardest.

Where do a humanoid robot's motors go?

  1. A humanoid is shaped like us so it can use our doors, stairs and tools.
  2. It has 23 motors, one in each joint, where the body bends or turns. Guess where most of them are.
  3. The legs carry the whole body, about 35 kilograms, and keep it from falling, so they get the strongest motors.
  4. The chest cover swings open: the battery and computer sit inside. One charge lasts only about two hours, which limits its working time.
  5. Each motor adds one way to move, called a degree of freedom. Hands with fingers need about as many motors as the legs.
Parts
  • Legs
  • Arms
  • Waist
  • Hands
  • Torso and head

Over half of a humanoid's motors move its legs and keep it balanced, hands with fingers need about as many again, and the battery limits how long it can work.

Why are robot hands so hard?

  1. Most robots hold things with a simple clamp: two fingers and one motor. It can only open and close.
  2. Your hand packs about 20 ways to move into a small space: each finger bends at three joints and swings sideways at the knuckle.
  3. A robot hand that copies yours can have a motor at every joint. This one has 16, where the clamp has one.
  4. Your fingertips are packed with touch sensors that feel a slip begin. Robot fingers need sensors too; a plain clamp feels nothing.
  5. A test: turn a held key a quarter turn, using only the fingers. Moving things within the hand is called dexterous manipulation.

A human hand packs about 20 ways to move and dense touch into a small space; most robots use a simple two-finger clamp instead and lose most of that.

Move

How does a robot arm reach a cup?

  1. An arm only controls its joints. Turn the shoulder and the hand swings in an arc.
  2. To pick up a cup, the robot must find an angle for every joint at once. Drag the cup and watch it work them out.
  3. Now the cup slides much further away.
  4. Some places can be reached two ways: elbow up or elbow down. The faint arm shows the other way.
  5. Turning joints to see where the hand goes is forward kinematics. Working backwards from the hand to the joints is inverse kinematics.

The robot works backwards from where the hand must go to an angle for every joint, and some places it simply cannot reach.

Why are two legs harder than four?

  1. Every body has a balance point, where its weight is centred. The dot marks it on a robot dog and a humanoid.
  2. The shaded patch spans the feet on the ground. While the spot straight below the dot stays inside it, the robot stays up.
  3. Both robots get the same push, and both balance points move the same distance forward.
  4. When walking, only some feet touch the ground. The patch shrinks, the spot often falls outside it, and each new step catches the fall.
  5. This patch is called the support polygon. Balance changes fast: one robot dog adjusts its legs 200 times a second to stay up.

A robot stays up while its balance point is over the patch between its feet; four feet make a big patch, two make a tiny one.

How does a drone steer with no wings or rudder?

  1. Four motors, a battery and a flight computer. Seen from above, two propellers spin clockwise and two counter-clockwise.
  2. Spin all four at the same speed and it hovers: their upward push matches its weight. Faster together, it climbs.
  3. Now fly forward. No propeller points forward, so something else has to push it that way.
  4. Each propeller twists the drone against its spin. Speed up the clockwise pair and their twist wins: the drone turns counter-clockwise.
  5. A gust tips it. The flight computer feels the tilt and resets the four speeds, often 400 times a second. This is attitude control.
Parts
  • Frame
  • Motors
  • Propellers
  • Battery
  • Flight computer

Only by changing its four propeller speeds: speed up the back pair to tilt and fly forward, and speed up one spinning pair to turn.

How does a robot get around obstacles?

  1. A robot's gripper must reach the can on the far shelf. Going straight there, it hits the shelf in between.
  2. Pick a random point. Step a short way toward it from the closest spot already reached. Keep the step only if it hits nothing.
  3. Repeat thousands of times. The kept steps branch out into a tree that creeps into every open gap.
  4. When a branch reaches the goal, follow it back to the start. Then cut every corner where a straight shortcut is safe.
  5. Drag the shelf: the tree regrows. A fast version of this rapidly-exploring random tree plans a typical arm path in 40 millionths of a second.

It tries random moves, keeps the safe ones, and grows a tree until a branch reaches the goal.

Touch

Why do robots drop things?

  1. Two fingers pinch a block straight across and lift it. It holds.
  2. A fingertip can push straight in or at a slant. Any push inside this cone holds; slant further and the finger slides.
  3. Now it grabs the block with a tilted grip and lifts. The fingers squeeze along the line between them.
  4. A slippery block narrows the cones. At this tilt, rubber holds, while plastic and ice slip.
  5. Robots place their fingers so the squeeze line sits well inside both cones. Each cone is called a friction cone.

A pinch holds only if each finger pushes within a narrow cone set by friction; tilt the grip outside the cones and the object slides out.

Sense

What does a robot actually see?

  1. A depth camera also measures how far away each point is. Each point becomes a dot, but only on the side it sees.
  2. Cubes split space into a grid. Each box is either part of the mug or empty. Blocky, but simple.
  3. A skin joins points on the surface into small flat triangles, giving the smooth, exact shape a robot needs to plan its grip.
  4. Soft blobs overlap into one surface. Each blob can also carry colour, so together they can look like a photo.
  5. Same mug, four ways to store it. Each trades detail against speed and memory. These are scene representations.

It stores the world as dots, cubes, a skin or soft blobs, and each one trades detail against speed and memory.

Does a robot know where it is?

  1. It drives by counting wheel turns. Each turn adds a little error, so its guess slips further off and its cloud of doubt grows.
  2. Now its camera spots a landmark: a sign it already knows, at a known place on its map.
  3. A poorer camera shrinks the cloud less. The robot blends its own guess with the landmark's, trusting whichever has less doubt.
  4. This blending is a Kalman filter. Spacecraft, drones and many robots use one to keep track of where they are.

A robot never knows exactly where it is: it keeps a best guess and a cloud of doubt, and moving grows the doubt while every measurement shrinks it.

Learn

How do robots learn new tasks?

  1. A person moves a copy of the arm, and the robot copies every move. Drag the copy's hand: put the block on the circle.
  2. While it records, the robot saves what its camera sees and where every joint is, 30 times a second. Each save is one example.
  3. Each recorded run is a demonstration. After many, the robot learns to copy them and moves alone, beside a faint replay of one.
  4. Steering a robot through a copy of itself is teleoperation. Learning to repeat the recordings on its own is imitation learning.

A person moves a copy of the arm, the robot mirrors it, and every moment becomes an example for the robot to imitate.

How do robots learn to walk without breaking?

  1. This robot exists only inside a computer. It tries to walk, falls, starts over and does a little better each time.
  2. Now run 4,096 copies at once on one computer. All their tries train one shared brain, so every fall teaches it.
  3. Make every world a little different: slippery or grippy ground, heavier bodies, random shoves. Shuffle to deal new worlds.
  4. One tile is the real world. Two robots step onto it: one practised in just one world, the other in all 4,096.
  5. After thousands of different worlds, the real world is just one more. This is massively parallel simulation with domain randomization.

They practise in thousands of slightly different simulated worlds at once, so the real world is just one more variation.