Visual explainer
How Robots Sense
Compare proprioceptive wheel encoders with exteroceptive range sensors, calculate slip drift, and discover why multi-sensor fusion is mandatory.
1. The Perceptual Gap
Robots have no direct awareness of true physical reality. Ground-truth coordinates are hidden state variables. Instead, physical transducers generate raw electrical voltages, photodiode currents, and digital register counts. The robot must continuously solve an inverse problem: inferring true physical states from noisy, indirect sensory evidence.
2. Proprioception and Encoders
Proprioceptive sensors measure internal bodily states. Optical wheel encoders feature a slotted disk rotating between an infrared emitter and detector. With radius and , each pulse corresponds to a discrete increment of wheel rotation:
A total count of indicates exactly of wheel rotation.
3. Dead Reckoning Integration
To estimate continuous trajectory, the robot performs dead reckoning: summing incremental displacements over successive sampling intervals:
If the wheel turns without slipping, integrating four successive displacements advances the internal position estimate smoothly from to .
4. The Wheel Slip Defect
Odometry assumes pure rolling contact without slipping. When the robot traverses slick wet tile with slip ratio ( slip), the wheels rotate through of circumference (), but the chassis translates only . Dead reckoning accumulates an unrecoverable drift of .
5. Exteroception and Rangefinding
Exteroceptive sensors observe features in the external environment. A Time-of-Flight (ToF) laser rangefinder emits a short light pulse toward a known landmark wall located at . By timing the photon return flight, the sensor measures a distance of . The robot calculates its absolute position directly:
Exteroception exposes and eliminates the odometry error.
6. Sensor Fusion
Neither sensor family alone is sufficient. Wheel encoders provide smooth, high-frequency updates () with negligible latency, but accumulate boundless drift. Range sensors anchor the robot to fixed physical landmarks, but update more slowly () and suffer occlusions. Sensor fusion algorithms (such as the Kalman filter) combine both streams to produce high-rate, drift-free state estimates.
7. Inertial Measurement Units
Inertial Measurement Units (IMUs) measure angular rates with gyroscopes and specific forces with accelerometers. However, MEMS accelerometers carry constant bias errors . Double-integrating acceleration to obtain position causes the error to grow quadratically over time:
Even a tiny bias of causes of phantom drift in just .
8. Stereo Vision and Triangulation
Stereo vision mimics human depth perception using two calibrated cameras separated by baseline distance . By identifying corresponding pixels between the left and right images, the horizontal disparity yields metric depth through similar triangles:
With focal length and disparity , the target mug is located at depth .
9. Gaussian Measurement Uncertainty
Physical sensors do not output single true scalars; repeated observations scatter according to a probability distribution. A typical distance sensor measurement is modelled as true value plus zero-mean Gaussian noise: , where . With standard deviation , of raw readings fall within and .
10. Where It Breaks
Sensors rely on physical interaction assumptions that the environment can violate. When a laser rangefinder beam strikes an angled glass pane or mirror, specular reflection bounces the light pulse away into the ceiling rather than returning an echo. The receiver detects zero return energy, prompting the robot to conclude the path is entirely clear and drive directly into the solid glass barrier.
The Quick Version
- Robots infer hidden physical reality from indirect digital sensor measurements.
- Optical encoders count discrete rotational pulses from slotted wheel disks.
- Dead reckoning integrates velocity increments over time to estimate trajectory.
- Wheel slip creates unrecoverable integration drift between encoder belief and reality.
- Exteroceptive LiDAR bounces energy off external landmarks to measure absolute clearance.
- Sensor fusion combines high-rate relative odometry with drift-free exteroceptive fixes.
- Accelerometer bias compounds quadratically into massive position errors under double integration.
- Stereo camera pairs compute metric 3D depth from horizontal pixel disparity.
- Raw sensor samples follow Gaussian probability distributions around true physical values.
- Specular glass barriers deflect laser pulses away, inducing blind physical collisions.