Skip to content
Tactiverge

Encoder resolution → tool-tip uncertainty: experiment bench

Simulation OS · roboticsEducational model, not a digital twin

Encoder resolution → tool-tip uncertainty

Propagate joint-encoder resolution to tool-tip error through the Jacobian, and check it with a seeded Monte Carlo experiment.

Your level (shows more controls and deeper equations)
  1. 1. Ask
  2. 2. Hypothesise
  3. 3. Set up
  4. 4. Run
  5. 5. Record
  6. 6. Change one variable
  7. 7. Compare
  8. 8. Interpret
  9. 9. Limitations & save

If I change …, then … will …, because …

3 · Set up the parameters

5–40 cm
5–40 cm
-180–180 °
-180–180 °
4–16 bits

Each extra bit halves the angle step 2π/2ⁿ.

1 more control appear at higher levels; until then it stays at the default value.

The seed fixes any random noise. Same parameters + same seed = exactly the same result, every time, on every computer.

6 · Change one variable

Your first run is the baseline. After it, change one thing at a time.

7 · Compare on a graph

Run the model to draw your first curve here.

5 · Run log

No runs yet.

Equations

Step q = 2π / 2ⁿ. A rounded reading is wrong by up to ±q/2.

Assumptions (always true in this model)

  • 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.
Text description of what the chart shows

A cloud of possible tool-tip positions caused by rounding each joint angle to the nearest encoder step. The plots show the x and y error of each Monte Carlo trial; the metrics compare the spread predicted by the Jacobian with the spread actually simulated, and the linearised worst case.

Did the result support your hypothesis? Use the numbers from the comparison table and link them to an equation.

Which assumptions could change your answer in the real world?

Export and save

Exports use the ticked runs (or every run if none are ticked). Your draft saves automatically in this browser only. The Journal is private to you.

Valid parameter ranges

ParameterRangeDefault
Link 1 length L₁5 to 40 cm20
Link 2 length L₂5 to 40 cm15
Shoulder angle θ₁-180 to 180 °30
Elbow angle θ₂-180 to 180 °50
Encoder resolution4 to 16 bits8
Monte Carlo trials100 to 50001000

Independent reference checks

  • L = 10 cm, (0°, 90°), 10-bit

    Hand: J = 10·[[−1, −1], [1, 0]], σ = (2π/1024)/√12, Σ = 100σ²·[[2, −1], [−1, 1]], eigenvalues (3 ± √5)/2; worst case |J|·q/2 summed per axis.

  • Monte Carlo agrees

    Same closed-form major axis; 5000 samples give a sample-sd uncertainty of roughly 1 %, so ±5 % is a fair band.

Checked automatically on every change to the code. Educational model, not engineering-grade.