Skip to content
Tactiverge

School/○ Innovator/Week 16

Unreachable targets, joint limits and singularities

Near full stretch, a tiny hand movement can need a huge, fast joint movement. Why do robots go 'weak' at the edge of their reach?

About 35 min · 3 goals · Checked by automated tests

1.Why should I care?

A robust controller must say 'no' gracefully: to targets outside the ring, to angles past a joint limit, and to moves through a singularity, where the arm can't move its hand in some direction at all. Knowing where these trouble spots are is the difference between a robot that stops safely and one that thrashes.

  • ◇ Detect unreachable targets and report how far outside the workspace they are.
  • ◇ Explain a singularity (arm straight or folded) and why the arm loses a direction of motion there.
  • ◇ Estimate how a small joint error becomes a hand-position error.

2.Discover

In the Robotic Gripper Build, Level 4 'Do the maths', solve both IK solutions for the fingertip at (6, 2) cm, then work through the grip and torque questions. As you go, note where the finger's reachable ring has its edges and which of your poses are close to them.

Can't use the interactive? Read a description instead

Level 4 of the Gripper Build asks for both IK solutions of a 5 cm + 3 cm finger at (6, 2) cm (about (46.1°, −78.5°) and (−9.3°, 78.5°)), grip forces and a torque. The finger's reachable ring runs from 2 cm to 8 cm; poses near 8 cm are nearly straight and close to a singularity.

3.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

For a two-link arm, at which elbow angles is it singular?

4.Apply it

For the Gripper Build's 5 cm + 3 cm finger, make a table of hand error for a 0.5° knuckle error at d = 2.5, 4, 6 and 7.9 cm. Where would you place a delicate grasp, and why?

Open BUILD 004: Design a Robotic Gripper →

5.Understand

Outside the ring

If d > L1 + L2 (beyond reach) or d < |L1 − L2| (inside the hole), IK has no solution. A good solver says so and reports the gap: d − (L1 + L2) or |L1 − L2| − d. A common safe fallback is to reach the nearest reachable point along the same direction, and flag the shortfall rather than hide it.

Singularities

When θ2 = 0° (straight) or ±180° (folded), the two links are in line. Then both joints can only swing the hand sideways around the shoulder; moving along the arm's line needs no joint motion at first order. The arm's Jacobian determinant, L1·L2·sin θ2, is zero there. Near a singularity, small hand moves along that line demand very large, fast joint moves.

From joint error to hand error

Encoders are never perfect. A shoulder error Δθ1 swings the whole arm, moving the hand by about d·Δθ1 (radians), where d is the shoulder-to-hand distance. A stretched-out arm amplifies errors most. A 0.5° error at d = 0.8 m is 0.8 × 0.00873 ≈ 7 mm: enough to miss a small hole.

Explain it another way

Stretch your arm out straight and try to push your hand further away without moving your shoulder: you can't. Bend your elbow a little and suddenly you can push and pull easily. Robots feel the same.

Worked example 1

L1 = 40 cm, L2 = 25 cm. A target is at (50, 45) cm. Reachable? If not, by how much is it out?

d = √(2500 + 2025) = √4525 ≈ 67.3 cm. Outer radius 65 cm. Unreachable, 2.3 cm beyond full stretch.

Common mix-ups

  • A robot is strongest and most precise at full stretch.
    ✓ Full stretch is a singularity: it loses a direction of motion and amplifies joint errors the most.
  • Unreachable targets only happen beyond full stretch.
    ✓ Unless L1 = L2, there's also a hole near the base that the arm can't fold into.

6.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2 · a fresh version every time

A planar arm has links of 30 cm and 45 cm and joints that can turn all the way round. A target is at (−76.1, −27.7) cm from the shoulder. How far outside the reachable ring is it, in cm? (Enter 0 if the hand can reach it.)

cm

Practice 3 · a fresh version every time

An arm (L1 = 0.5 m, L2 = 0.4 m) holds its elbow at θ2 = 90°. The shoulder encoder is off by 0.5°. Roughly how far does the hand end up from where the controller thinks it is, in millimetres? (2 decimal places)

mm

Practice 4

A straight arm (L1 + L2 = 1 m) has a 1° shoulder error. Roughly how far is the hand off, in millimetres? (1 decimal place)

mm

Practice 5

A target is 3 cm beyond reach. What should a well-designed IK function do?

7.Predict

An arm is perfectly straight, pointing along +x. Which direction can its hand NOT move in, for a tiny joint movement?

Guess first. Being wrong here is how the surprise works.

8.Reflect

9.Go further

Concepts: Inverse kinematics and the workspace · Joints, degrees of freedom and workspace