Log inStart free
LESSON 21.06 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Sensor fusion

Watch three sensors guess where a robot hand is, then combine their guesses.


Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 21.06 · SENSOR BAYENCODERS OFF BY 2.2 CM · OFFSET 1.0°
01
Stage 1 of 5 · Proprioception
Joint encoders read the arm's own angles 100 times a second: proprioception. A 1.0° shoulder offset puts the hand 2.2 cm off.
Explain it simply

The two rings are the joints. Each holds an encoder, a sensor that counts how far its joint has turned. The arm works out its hand position from those two angles. The shoulder reading is 1.0 degrees off, and that small error grows along the arm. So the teal ring in the zoom misses the true hand by 2.2 cm.

The grey arm holds above the table. In the zoom, the encoder estimate of the hand sits 2.2 cm from the true hand.

true armsensor readingsfused estimateerrornoise, threshold
tablearound the hand, ±6 cm2 cmhand errorwrist force0 cm6 cm12 cm0 N10 N0.0 s0.5 s1.0 s1.5 s2.0 s2.5 s3.0 sswingholdlowerpressq1 27.4°true 26.4°q2 −93.8°true −93.8°encoderstrue handencoders off by 2.2 cmencoders1.70 sproprioceptionerror ≈ r · Δq1 = 1.24 m · 1.0° ≈ 2.2 cmmeasured 2.2 cmtablearound the hand, ±6 cm2 cmhand errorwrist force0 cm6 cm12 cm0 N10 N0.0 s0.5 s1.0 s1.5 s2.0 s2.5 s3.0 sswingholdlowerpressq1 27.4°true 26.4°q2 −93.8°true −93.8°encoderstrue handencoders off by 2.2 cmencoders1.70 sproprioceptionerror ≈ r · Δq1 = 1.24 m · 1.0° ≈ 2.2 cmmeasured 2.2 cm
Toy: the 21.C1 arm; encoders 100 Hz, a depth camera 10 Hz, a wrist force sensor
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
p^enc=fk(qenc),e≈r Δq1\sy{a}{data}{\hat p_{enc}} = \mathrm{fk}(\sy{q}{data}{q_{enc}}), \quad \sy{e}{grad}{e} \approx r\,\Delta q_1
p^enc=fk(27.4∘,−93.8∘), e≈1.24⋅0.0175≈2.2 cm (measured 2.2 cm)\hat p_{enc} = \mathrm{fk}(27.4^\circ, -93.8^\circ),\ e \approx 1.24 \cdot 0.0175 \approx 2.2\,\mathrm{cm}\ (\text{measured}\ 2.2\,\mathrm{cm})

The hand estimate is forward kinematics of the encoder angles.

Common mix-ups

MYTHJoint encoders tell exactly where the hand is.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01If the camera moves from 1.2 m to 2.0 m away, how much does its depth error grow?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.