Sub-millimetre arm
How few encoder bits can put a robot's fingertip within a millimetre?
The brief
Choose link lengths and encoder resolution for a two-link arm that reaches at least 45 cm, so that its worst-case fingertip error at the working pose is at most 1 mm, using as few encoder bits as possible (they cost money and wiring).
You start from
A 25 cm + 20 cm arm working at θ₁ = 30°, θ₂ = 50°, with 8-bit encoders on both joints: its fingertip can be several millimetres off.
Constraints
Total arm length ≥ 45 cm
The arm must reach the far side of a 45 cm work tray.
Worst-case tip error ≤ 0.1000 cm
Parts must land within a millimetre of their fixture.
The lab
Runs in your browser · Encoder resolution → tool-tip uncertainty
1 · Change the design
A longer upper arm turns each angle step into a bigger fingertip step.
Forearm length changes the Jacobian, and therefore how errors add up.
Each extra bit halves the angle step, and costs a better encoder.
Fixed by the brief: Shoulder angle θ₁ = 30 °; Elbow angle θ₂ = 50 °; Monte Carlo trials = 1000.
Live check against the constraints
- Total arm length✓ pass · 45 ≥ 45 cm
- Worst-case tip error✗ miss · 0.7271 ≤ 0.1000 cm
3 · Your attempts
No designs recorded yet. Run the starting design first: it is your baseline.
What does your chosen design give up compared with your other valid designs, and why is that the right trade? Quote numbers.
Name two assumptions of the model that could change your decision in the real world, and how you would test one.
6 · Submit
Choose a design in the attempts table. Saving needs an account; every attempt is re-run on the server and your work stays private to you.
Experiments to try
1. One bit at a time
Raise the encoder resolution one bit at a time. What happens to the worst-case error each time, and why exactly that factor?
2. Same reach, different split
Keep L₁ + L₂ = 45 cm but move length between the links. Which split is most forgiving, and what does the Jacobian say?
The trade-offs
- Every extra bit halves the error but costs a better encoder; length split changes how errors add.
- The linearised worst case is a bound, not a measurement: the Monte Carlo spread is usually much smaller.
What to submit
- Your chosen design (one of your attempts; the server re-runs it).
- Every attempt you made, so the server can check your exploration.
- A trade-off justification: what your design gives up and why (100–300 words).
- A technical reflection: two model assumptions that could change your decision.
Rubric
Meets every constraintObjective · re-checked on the server
The submitted design meets every constraint when the server re-runs the model on every challenge seed.
Engineering design
Explored the design spaceObjective · re-checked on the server
At least five distinct designs were tried, so the choice is informed rather than lucky.
Experimental reasoning
Found more than one valid designObjective · re-checked on the server
At least two distinct designs meet every constraint, so there is a real choice to justify.
Engineering design
Justifies the trade-offNeeds a qualified reviewer
Explains, with numbers from the attempts, what the chosen design gives up compared with the other valid designs, and why that is the right trade for the stated user.
Engineering design
Knows the model's limitsNeeds a qualified reviewer
Names at least two assumptions of the model that could change the decision in the real world, and how one could be tested.
Conceptual understanding
Communicates clearlyNeeds a qualified reviewer
A stranger could repeat the reasoning from the write-up: units on every number, one idea per sentence, the decision stated first.
Independent inquiry
Lessons that help
The model
Encoder resolution → tool-tip uncertainty: a simplified educational model, not a digital twin.
- Planar arm: everything happens in one flat plane.
- Rigid links and ideal revolute joints: no bending, backlash or play.
- Kinematics only: no masses, gravity or motor dynamics in this model.
- Distances in centimetres, angles in degrees on the controls (radians inside the maths).
- Quantisation errors are independent between joints and uniform on ±q/2 (true angle not aligned with the code wheel).
- First-order (Jacobian) propagation; it fails near singularities, which the Monte Carlo check exposes.
Content status: technically checked (automated checks only). Not yet reviewed by an educator.