Tactiverge Studios · Robotics
A robot arm on every screen.
No kit, no soldering, no motors to buy. Move joints, solve inverse kinematics, program sense-decide-act rules, tune PID control and run reproducible experiments, all in your browser.
Level 5 · Research Engineer mode · lesson setup: Encoder resolution and tip uncertainty
Make claims you can defend. Repeat seeded trials, put intervals on results, check predictions two ways, and state the limits.
- repeat measurements: mean, sd, 95 % CI
- Jacobian prediction vs Monte Carlo
- compare strategies, export, write limitations
Click here, then ←/→ turn joint 1, ↑/↓ pick a joint, Shift = big steps. Or drag the tip. Shaded = reachable within joint limits (sampled). Orange x / dashed blue y axes = coordinate frames.
State
2R arm: joint 1 at 30°, joint 2 at 50°. Tool tip at x 19.9 cm, y 24.8 cm, 31.8 cm from the base, pointing 80°. The star target is 11.5 cm from the tip.
2R arm: joint 1 at 30°, joint 2 at 50°. Tool tip at x 19.9 cm, y 24.8 cm, 31.8 cm from the base, pointing 80°. The star target is 11.5 cm from the tip.
Arm
Joints and setup
Links, limits, target and view
Real joints have end stops; the shaded workspace shrinks.
Coordinates
Homogeneous transform chain
Each joint is a 3×3 homogeneous transform: R joint Rot(θ)·Trans(L, 0), P joint Trans(L + d, 0). Multiply along the chain: the last column of T₀ₜ is the tip position.
| 0.87 | -0.50 | 17.32 |
| 0.50 | 0.87 | 10.00 |
| 0.00 | 0.00 | 1.00 |
| 0.64 | -0.77 | 9.64 |
| 0.77 | 0.64 | 11.49 |
| 0.00 | 0.00 | 1.00 |
| 0.17 | -0.98 | 19.93 |
| 0.98 | 0.17 | 24.77 |
| 0.00 | 0.00 | 1.00 |
| -24.77 | -14.77 |
| 19.93 | 2.60 |
Column i = how fast the tip moves per unit of joint i (cm/rad or cm/cm). det J = 229.81.
Repeated measurements
A noisy range finder, measured properly
The sensor on the tool measures the distance to the star. Every reading = truth + bias + Gaussian noise. The same seed always gives the same readings, so anyone can reproduce your run.
True distance
11.52 cm
Mean ± sd
11.49 ± 0.40 cm
n = 500
95 % CI
[11.45, 11.52]
contains the truth
Mean − truth
-0.029 cm
bias shows up here
Uncertainty
Encoder resolution → tip uncertainty (Jacobian vs Monte Carlo)
An n-bit encoder rounds each angle to a step q = 2π/2ⁿ, so it can be wrong by up to ±q/2. The orange ellipse on the arm is the 1σ spread of the tip (dashed: 2σ), drawn ×2 so you can see it. Blue dots are Monte Carlo trials.
Step q
5.625°
Worst case (linear)
2.23 cm
all joints off by q/2, worst signs
1σ ellipse (Jacobian)
9.782 × 1.887 mm
1σ ellipse (Monte Carlo)
9.661 × 1.873 mm
500 trials, seed 7
Agreement (major axis)
1.2 % apart
Tip distance from base
31.8 cm
a longer lever magnifies shoulder error
Prediction: Σₚ = J·diag(q²/12)·Jᵀ (first-order, uniform independent rounding). Monte Carlo re-runs the full nonlinear FK with random rounding errors. If they disagree, suspect too few trials or a nearby singularity.
Seeded repeated trials
Compare control strategies with mean ± sd and 95 % CI
Each trial adds seeded measurement noise (σ = 0.005 rad) to the joint from the Systems bench. Trial i uses seed 7 + i, so the whole table can be regenerated exactly. If two intervals overlap, the data do not clearly separate the strategies.
| strategy | IAE mean ± sd | IAE 95 % CI | overshoot % mean ± sd | settled |
|---|---|---|---|---|
| PD | 0.242 ± 0.001 | [0.241, 0.242] | 6.1 ± 0.1 | 100 % |
| PID | 0.386 ± 0.004 | [0.384, 0.387] | 14.4 ± 0.2 | 100 % |
Report
Hypothesis, interpretation, limitations
Saved with your design (this browser, or the JSON export). Nothing is sent anywhere.
Simulation OS
Reproducible investigations
Each model is pure and seeded, with independent reference cases. Record runs, change one variable, compare.
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.
- 1. Ask
- 2. Hypothesise
- 3. Set up
- 4. Run
- 5. Record
- 6. Change one variable
- 7. Compare
- 8. Interpret
- 9. Limitations & save
If I change …, then … will …, because …
3 · Set up the parameters
Each extra bit halves the angle step 2π/2ⁿ.
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
5 · Run log
No runs yet.
Equations
Ellipse semi-axes = √(eigenvalues of Σₚ). Monte Carlo: sample δθᵢ ~ U(−q/2, q/2), recompute the full nonlinear FK, take the sample covariance.
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.
Repeated distance measurements
Take repeated, seeded readings from a noisy, possibly biased range sensor and summarise them with mean, standard deviation and a 95 % confidence interval.
- 1. Ask
- 2. Hypothesise
- 3. Set up
- 4. Run
- 5. Record
- 6. Change one variable
- 7. Compare
- 8. Interpret
- 9. Limitations & save
If I change …, then … will …, because …
3 · Set up the parameters
A systematic offset: averaging more readings does not remove it.
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
5 · Run log
No runs yet.
Equations
95 % CI: x̄ ± t₀.₉₇₅,ₙ₋₁·s/√n. It shrinks like 1/√n around the BIASED mean.
Assumptions (always true in this model)
- White Gaussian noise, independent between readings.
- Constant bias; readings clamped to [0, 200] cm.
- The target does not move during the readings.
Text description of what the chart shows
A sequence of repeated distance readings scattered around the true distance, with the running mean settling down as more readings arrive. Metrics give the mean, the standard deviation and a 95 % confidence interval, and how far the mean is from the truth.
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.
Joint-space vs straight-line (Cartesian) motion
Move a 2-link arm between two points by interpolating its joints, or by solving IK along the straight line, and compare the paths.
- 1. Ask
- 2. Hypothesise
- 3. Set up
- 4. Run
- 5. Record
- 6. Change one variable
- 7. Compare
- 8. Interpret
- 9. Limitations & save
If I change …, then … will …, because …
3 · Set up the parameters
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
5 · Run log
No runs yet.
Equations
Timing law s(τ) = 3τ² − 2τ³ for both, so only the path shape differs. A pure shoulder sweep of Δ at radius R bulges R·(1 − cos(Δ/2)) off the chord.
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).
- Elbow-up IK branch throughout; no joint limits or collisions in this model.
Text description of what the chart shows
Two ways of moving an arm between the same start and end points. The first plot shows how far each path strays from the straight line over time: the joint-space path bows outwards, the IK path stays on the line where it can. The other plots show the shoulder and elbow angles for each method.
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.
Guided challenges
Try these, then press Check
“Set up” puts the bench into the starting position for that challenge. Checks re-run the simulation on your current setup, so they test what the model actually does.
1An interval that captures the truth
auto-checkedWith an unbiased range sensor (noise ≥ 0.2 cm), take at least 20 readings and check that the 95 % confidence interval contains the true distance.
Hint
About 1 seed in 20 will miss: that is what 95 % means. Record the seed either way.
2Catch a systematic error
auto-checkedSet a sensor bias of at least 0.5 cm. Take enough readings that the 95 % interval excludes the true distance. Averaging more cannot fix bias: explain why in your notes.
Hint
More trials shrink the interval around the BIASED mean.
3Check the Jacobian with Monte Carlo
auto-checkedRun at least 500 Monte Carlo trials and show that the simulated ellipse's major axis is within 10 % of the Jacobian prediction.
Hint
Too few trials and the sample spread is itself noisy. Near a singularity the linear prediction can break down.
4Write the limitations
self-checkIn the notes, write at least three sentences on what this model leaves out and how that could change your conclusion. Name at least two assumptions.
Hint
Think: rigid links? planar? ideal motors? independent, uniform encoder errors? linearisation? white Gaussian noise?
Save
Keep your design
Designs stay on your device: saved in this browser or downloaded as a JSON file. Imported files are checked against the workbench schema before they load.
What this model assumes
This is a simplified educational model, not an engineering-grade simulator. Knowing what it leaves out is part of the lesson.
- Planar: every arm moves in one flat plane, seen from above.
- Rigid links and ideal joints: no bending, backlash or play.
- Ideal motors within their torque limit; each joint is controlled on its own (no gravity or coupling between joints).
- Collisions are simple geometric checks (links as thick lines, rocks as circles), not contact physics.
- Encoder rounding is uniform and independent between joints; sensor noise is seeded white Gaussian noise.
- Units: centimetres and degrees on the controls, radians inside the maths, SI units for dynamics.
Safety: the workbench never connects to real machinery. It uses no USB, serial or Bluetooth access, and everything runs on your own device.
Lesson setups
School lessons open the bench in one of these setups. You can open any of them yourself.
- Two-link forward kinematicsA 2R arm at 30° / 45°: change the joints, watch the tip.
- Three-link arm with a wristA 3R arm: the extra joint lets the tool point where you choose.
- Polar arm with a sliding boomA rotating base and a prismatic (sliding) joint.
- Reachable workspaceLimit the elbow to ±120° and see which places the arm can and cannot reach.
- Reach around an obstacleReach the star without touching the rock.
- Inverse kinematics: elbow up or downOne target, two solutions. Compare elbow-up and elbow-down.
- Joint-space vs straight-line motionMove between two poses two ways and compare the paths.
- Encoder resolution and tip uncertaintyCoarse 6-bit encoders: propagate their resolution to an error ellipse.
- Repeated distance measurementsA noisy range finder: mean, spread and a 95 % confidence interval.
- PID control of one jointA joint with inertia, damping and a torque limit: tune P, D and I.
- Bang-bang vs P vs PD vs PIDThe same joint under four strategies, side by side.
- Sense, decide, actWrite IF-THEN rules so the arm finds and grips the parcel.
- Debug a broken rule programThis program never grips. Find out why and fix it.
Content status: technically checked (automated tests of the maths against closed-form reference cases). Not yet reviewed by an educator.