Lite / Intelligent Robotic Systems / 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?
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.
Predict
An arm is perfectly straight, pointing along +x. Which direction can its hand NOT move in, for a tiny joint movement?
- Up (+y)
- Down (−y)
- Further out (+x)
- Back towards the base (−x)
Guess first, then reveal
Further out (+x): it's already at full stretch. Small joint motions move the hand only sideways (±y) or back inwards. In the straight pose the arm has lost one direction of motion: that's a singularity.
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.
What the interactive shows (text version)
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.
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
Intuitive
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.
Technical
J = ∂(x, y)/∂(θ1, θ2) has det J = L1L2 sin θ2. At sin θ2 = 0, J is rank 1: the hand velocity is confined to one direction. Inverting J near there amplifies small Cartesian commands into large joint velocities, which is why controllers use damped least squares or avoid such poses.
Mathematical
Hand shift for a shoulder error: exact 2d·sin(Δθ/2) ≈ d·Δθ. L1 = 0.6, L2 = 0.3, θ2 = 60°: d = √(0.36 + 0.09 + 0.18) = 0.794 m; Δθ1 = 0.1° = 0.001745 rad → 1.39 mm.
Applied
Robot vendors publish 'repeatability' figures measured across the workspace; the worst figures appear at full reach. Cell designers place precision tasks well inside the ring, away from straight-arm poses.
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.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
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?
Reflect
Singularities are 'where the maths gets nervous'. Describe one in your own body or in a machine you've used.
Write your answer on paper or in your own notes. Lite never stores what you write.
Go further
- Singularity (robotics) — Robot kinematics (Wikipedia)
Overview of kinematics including singular configurations.