TactivergeLite

Lite / Discovering How the World Works / Week 26

Joints and arms: placing a robot hand

A robot arm with two joints can touch a point 6 units away in two completely different ways. How?

About 25 min · 3 goals · Reviewed by the founders' mentors · Full interactive version

Why should I care?

Robot arms build cars, sort parcels and perform surgery. Each one has to answer the same question thousands of times a day: what angles put the hand exactly here? Starting with two joints shows you the whole idea.

Predict

An arm has an upper arm 5 units long and a forearm 3 units long. What's the furthest the hand can be from the shoulder?

  1. 5 units
  2. 8 units
  3. 15 units
Guess first, then reveal

8 units, with the elbow straight so the two parts line up: 5 + 3. With the elbow folded right back, the closest is 5 − 3 = 2 units. Everything the hand can touch lies in the ring between 2 and 8 units.

Discover

Use the shoulder and elbow sliders to touch the star. Then press New target and try again. For one target, find a second, different pair of angles that also reaches it, if you can.

What the interactive shows (text version)

The arm diagram can be replaced by this description: an upper arm of 5 units and a forearm of 3 units, with the shoulder on a table. Shoulder 0°, elbow 0°: hand at (8, 0). Shoulder 90°, elbow −90°: hand at (3, 5). Shoulder 30°, elbow 60°: hand at about (4.3, 5.5). The hand can reach anywhere between 2 and 8 units from the shoulder.

You can also open the interactive on the full site when you have a faster connection.

Watch (optional)

Watch for: Watch for the moment the builder turns a target position into two joint angles.

A robot builder shows how trigonometry turns a target position into joint angles on real hardware.

“How Robots Use Maths to Move” by James Bruton (opens YouTube; streaming video uses a lot of data)

The video is optional. Everything you need is in this lesson's text.

Understand

Two joints, two numbers

The shoulder angle points the upper arm; the elbow angle bends the forearm relative to it. Give both numbers and the hand's position is fixed exactly. Each joint is one degree of freedom.

The reach ring

Straight arm: furthest reach, upper + forearm. Folded arm: closest reach, upper − forearm. Any point between these distances (and above the table, for our arm) can be reached; anything outside can't, no matter what the controller tries.

Elbow up or elbow down

Many points can be reached two ways: elbow bent one way or the other, like reaching a cup with your elbow up or tucked down. Robots must choose, often the pose that avoids hitting things or needs the least movement.

Explain it another way

Intuitive

Touch your nose, then a table, keeping your wrist stiff. Your shoulder and elbow do all the work, and you can usually reach the same spot with your elbow higher or lower.

Technical

Forward kinematics: given the joint angles, find the hand position. For our arm, x = 5·cos θ1 + 3·cos(θ1 + θ2) and y = 5·sin θ1 + 3·sin(θ1 + θ2). Finding angles from a target (the reverse) is called inverse kinematics.

Mathematical

With the shoulder at 90° (straight up) and the elbow at −90° (bent right): the elbow is at (0, 5), and the forearm points along +x, so the hand is at (3, 5). Straight out sideways (0°, 0°): hand at (5 + 3, 0) = (8, 0).

Applied

Factory arms have six joints, enough to put the hand anywhere nearby at any angle. Their controllers solve these equations hundreds of times a second as the arm moves.

Worked example 1

Our arm (5 and 3 units) has the shoulder at 0° and the elbow at 90°. Where is the hand?

The upper arm points straight along the table: elbow at (5, 0). The elbow bends 90° up, so the forearm points straight up: hand at (5, 3).

Common mix-ups

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

cm

Practice 2. Our arm has links of 5 and 3 units. Which point can its hand NOT reach?

Practice 4. Why can a two-joint arm often reach the same point in two ways?

Apply it

Design a two-joint arm to move books from a desk to a shelf 60 cm away and 40 cm higher. Choose the two link lengths so the shelf is in reach and the desk right next to the robot is too. Explain your choice using the reach ring.

Reflect

How many degrees of freedom do you think your own arm and hand have? Which joints are they?

Write your answer on paper or in your own notes. Lite never stores what you write.

← Steering without a steering wheelPlanning a route before you move →