Lite / Intelligent Robotic Systems / Week 18
Planning a motion investigation
Is a longer arm less precise? 'Obviously' is not an answer. How would you find out, fairly, in a simulator?
Why should I care?
The term ends by using the maths as an engineer would: to answer a question with evidence. Simulations make it easy to run many controlled trials, and just as easy to fool yourself. A good plan, written before you press any buttons, keeps the comparison fair.
- Turn a question about an arm's motion into a testable hypothesis with one independent variable.
- Design a controlled comparison in the kinematics lab, choosing what to hold fixed and what to measure.
- Report accuracy with units and an honest statement of uncertainty and model limits.
Predict
You want to test whether link length affects how much a 0.5° shoulder error moves the hand. Which plan is fair?
- Compare a long arm at full stretch with a short arm folded up
- Change only the link lengths, keep the pose shape (θ2) and the error the same, and measure hand shift
- Change the lengths and the error together to save time
- Run one trial per arm and pick the bigger number
Guess first, then reveal
Change one thing (link lengths), hold the rest fixed (same θ2, same 0.5° error), measure the same output (hand shift in mm). The first option mixes two causes: length and stretch.
Discover
Pick ONE question (for example: how does the elbow angle change the hand shift caused by a 0.5° shoulder error?). Write your hypothesis and what you'll hold fixed BEFORE running anything. Then record at least five settings in the kinematics lab, nudging the shoulder by the error and noting the hand position each time.
What the interactive shows (text version)
The kinematics lab shows a two-link arm with sliders for each joint and a readout of the hand position. The investigation can be run from the readout alone: record the hand position, nudge the shoulder by the chosen error, record again, and compute the distance between the two positions.
Understand
Question, hypothesis, variables
Start with a question you can answer in the lab. Name the independent variable (what you change, e.g. θ2), the dependent variable (what you measure, e.g. hand shift in mm) and the controlled variables (everything else: link lengths, error size, θ1). Write a hypothesis with a reason: 'hand shift grows as the arm straightens, because the shoulder-to-hand distance grows'.
Method: fair and repeatable
Choose at least five values of the independent variable spread across the range. Record each setting and result in a table with units. A simulation is deterministic, so repeats won't vary; uncertainty here comes from reading precision (how many decimal places the readout shows) and from the model itself. Say both. Predict each result with the formula d·Δθ before you measure it.
Evidence and limits
Plot result against setting. Does the pattern match your prediction? Where doesn't it, and why? Finish with the model's limits: the lab assumes perfect rigid links, no gravity sag, no backlash and no joint friction (see its notes). Real arms add errors your simulation can't show, so state your conclusion as 'in this model'.
Explain it another way
Intuitive
A fair test changes one thing at a time. If you change two, you can't tell which one did it.
Technical
This is a one-factor-at-a-time sensitivity study of the FK map. For small errors, Δp ≈ J·Δθ; for a shoulder error the hand shift magnitude is d·|Δθ1|, so the study effectively measures how d varies with the independent variable.
Mathematical
L1 = 0.5 m, L2 = 0.35 m, Δθ1 = 0.5° = 0.00873 rad. d = √(L1² + L2² + 2L1L2 cos θ2): θ2 = 0° → d = 0.85 m, shift 7.42 mm; θ2 = 90° → d = 0.610 m, 5.33 mm; θ2 = 150° → d = 0.263 m, 2.30 mm.
Applied
Robot integrators run exactly this kind of study before installing a cell, to decide where in the workspace to put the most precise operations.
Worked example 1
Write a one-line method for 'does θ1 affect the hand shift from a shoulder error?'
Hold L1 = 0.5 m, L2 = 0.35 m, θ2 = 60° and Δθ1 = 0.5° fixed; set θ1 = −90°, −45°, 0°, 45°, 90°; record the hand position before and after the nudge; compute the shift in mm. (Prediction: no effect, since d doesn't depend on θ1.)
Common mix-ups
A simulation gives exact answers, so uncertainty doesn't apply.
✓ Readout precision and model simplifications are real uncertainties; state them.Changing several settings at once gives more information per trial.
✓ It confounds causes. Change one variable at a time unless you plan a proper multi-factor design.
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
Write a one-page plan for your investigation: question, hypothesis with a reason, variables (independent, dependent, controlled), at least five settings, a prediction table using d·Δθ, and the model's limits. This is the first deliverable of the term project.
Reflect
What result would make you change your hypothesis? Write it down before you run the trials.
Write your answer on paper or in your own notes. Lite never stores what you write.
Go further
- Sensitivity analysis (Wikipedia)
How engineers study which inputs matter most to an output.