Lite / Intelligent Robotic Systems / Week 18
Error across the workspace: running and reporting the study
Your arm reaches every target. But how close, and where is it most likely to miss? One table can tell a designer where to put the delicate jobs.
Why should I care?
This is the term's assessment in miniature: everything from vectors to IK, used to answer a design question with numbers. The result is the kind of evidence a robot cell designer needs: where in the workspace this arm is precise enough, and where it isn't.
- Compute IK for a set of targets and the hand error a small joint error causes at each.
- Present results as a table and a workspace sketch with units, and identify where errors are largest.
- Write a short evidence-based recommendation that states the model's assumptions.
Predict
For a fixed 0.5° error on both joints, where in the workspace will the hand error be largest?
- Near the inner edge (folded)
- Near the outer edge (stretched out)
- Exactly in the middle of the ring
- It's the same everywhere
Guess first, then reveal
Near the outer edge. The shoulder error scales with the shoulder-to-hand distance d, which is largest when the arm is stretched out. (The elbow error always scales with L2, so it's the same everywhere.)
Discover
Use 'Joint error' mode with L1 = 0.5 m and L2 = 0.35 m and Δθ1 = 0.5°. Visit at least six poses spread across the ring (from nearly folded to nearly straight) and record the hand shift. Then use 'Inverse' mode to find the joint angles for three task targets of your choice and measure their error too.
What the interactive shows (text version)
In Joint error mode the two-link diagram draws the arm in blue and a second arm with the shoulder nudged by the chosen error in orange, and the readout gives the hand shift in millimetres with the small-angle check. For L1 = 0.5 m, L2 = 0.35 m and 0.5°, the shift runs from about 2.3 mm (folded to 150°) to 7.4 mm (straight).
Understand
From targets to errors
For each target: solve IK (pick and state a branch), then estimate the error from each joint. Shoulder: about d·Δθ1. Elbow: about L2·Δθ2 (it only swings link 2). If both errors act together, the worst case is roughly their sum and a typical value roughly √(e1² + e2²). Check one case by running FK with the nudged angles.
Show it so it can be checked
Make a table (target, θ1, θ2, d, error from each joint, total, with units) and a workspace sketch with targets marked and coloured by error. Mark unreachable targets and those within a few centimetres of the ring's edges (near singularities). A reader should be able to recompute any row from your numbers.
Recommend, with limits
End with a recommendation tied to the evidence ('place the 2 mm-tolerance insertion within 0.5 m of the shoulder, where the error is under 4.5 mm for 0.5° encoder error' and so on) and its limits: an ideal planar model with no gravity, backlash, link flex or calibration error. Real arms are worse; your numbers are a lower bound on error, not a guarantee.
Explain it another way
Intuitive
Small wobbles at the shoulder get magnified by everything beyond it. The further out the hand, the bigger the magnification.
Technical
First-order error propagation: Δp ≈ J(θ)·Δθ with J's columns (−y, x) for the shoulder and (−L2 sin(θ1+θ2), L2 cos(θ1+θ2)) for the elbow. Their norms are d and L2 respectively; the worst-case combined error depends on the angle between the columns.
Mathematical
L1 = 0.5, L2 = 0.35, Δθ = 0.5° on both. θ2 = 30°: d = 0.822 m, e1 = 7.17 mm, e2 = 3.05 mm, worst case ≈ 10.2 mm. θ2 = 120°: d = 0.444 m, e1 = 3.88 mm, e2 = 3.05 mm, worst ≈ 6.9 mm.
Applied
This is the core of the term project: 'Where can the arm reach, and how precisely?'. Industry does the same analysis with 3D models and measured encoder specifications before choosing an arm for a precision task.
Worked example 1
Target (0.55, 0.3) m, L1 = 0.5, L2 = 0.35, elbow up. Estimate the shoulder-error contribution for Δθ1 = 0.5°.
d = √(0.3025 + 0.09) = 0.6265 m. e1 ≈ 0.6265 × 0.008727 ≈ 5.47 mm. (IK: cos θ2 = (0.3925 − 0.25 − 0.1225)/0.35 = 0.0571, |θ2| ≈ 86.7°.)
Common mix-ups
An arm has one accuracy figure.
✓ Its error varies across the workspace; report where, not just how much.If the simulation says 3 mm, the real arm will achieve 3 mm.
✓ The simulation leaves out backlash, flex, gravity and calibration; treat its numbers as a best case.
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
Complete the term project's analysis: a table of at least eight targets with IK and error estimates, a workspace sketch coloured by error, and a one-page recommendation for where to place a precision task. Include a paragraph on model limits.
Reflect
Which part of this study would you most like to check on real hardware, and what would you expect to be different?
Write your answer on paper or in your own notes. Lite never stores what you write.
Go further
- Propagation of uncertainty (Wikipedia)
The general method behind estimating output error from input errors.