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 · Checked by automated tests; not yet reviewed by an educator
1.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.
- ◇ Describe how two joint angles set where a two-link arm's hand ends up.
- ◇ Find the furthest and closest an arm can reach.
- ◇ Explain why some points can be reached with more than one pose.
2.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?
Guess first. Being wrong here is how the surprise works.
3.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.
Two-joint arm
A robot arm with a shoulder joint and an elbow joint. The upper arm is 5 units long and the forearm 3. Turn the joints to touch the target star.
Dashed arc: the furthest the hand can ever reach (5 + 3 = 8 units). The closest it can get to the shoulder is 5 − 3 = 2 units.
Hand at (5.7, 5.7); target at (4.3, 5.5). Still 1.3 units away.
Can't use the interactive? Read a description instead
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.
4.Watch
→ 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.
15 min 54 s · captions on YouTube · source
Nothing loads from YouTube until you press play.
5.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
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.
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.
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).
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
- A longer arm can reach everywhere closer too.
✓ There's also a closest reach (upper − forearm). Points too near the shoulder can be unreachable. - Each target has exactly one set of joint angles.
✓ Often there are two (elbow up and elbow down), and sometimes none.
6.Practice
Practice, not a test. Wrong answers get a hint and another try.
Practice 1 · a fresh version every time
A robot arm has an upper arm 9 cm long and a forearm 2 cm long. What is the closest distance from the shoulder that the hand can reach, in cm?
Practice 2
Our arm has links of 5 and 3 units. Which point can its hand NOT reach?
Practice 3
A robot arm has a waist that rotates, a shoulder, an elbow and a wrist that bends, each with its own motor. How many degrees of freedom is that?
Practice 4
Why can a two-joint arm often reach the same point in two ways?
7.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.
8.Reflect
Concepts: Joints, degrees of freedom and workspace · Forward kinematics