Skip to content
AI360Xpert
Beta
Physical AI & Robotics

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

True physical state is hidden; robots only observe noisy sensor signals.
True physical state is hidden; robots only observe noisy sensor signals.

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

Optical wheel encoders count pulses to measure rotational displacement.
Optical wheel encoders count pulses to measure rotational displacement.

Proprioceptive sensors measure internal bodily states. Optical wheel encoders feature a slotted disk rotating between an infrared emitter and detector. With radius r=0.10 mr = 0.10\text{ m} and N=1000 ticks/revN = 1000\text{ ticks/rev}, each pulse corresponds to a discrete increment of wheel rotation:

Δx=2πr(ΔticksN)=2π(0.10)(11000)≈0.628 mm\Delta x = 2\pi r \left(\frac{\Delta \text{ticks}}{N}\right) = 2\pi (0.10) \left(\frac{1}{1000}\right) \approx 0.628\text{ mm}

A total count of 1592 ticks1592\text{ ticks} indicates exactly 1.00 m1.00\text{ m} of wheel rotation.

3. Dead Reckoning Integration

Dead reckoning integrates incremental wheel displacements over time.
Dead reckoning integrates incremental wheel displacements over time.

To estimate continuous trajectory, the robot performs dead reckoning: summing incremental displacements over successive sampling intervals:

xk=xk−1+vkΔtx_k = x_{k-1} + v_k \Delta t

If the wheel turns without slipping, integrating four successive 0.25 m0.25\text{ m} displacements advances the internal position estimate smoothly from x0=0.00 mx_0 = 0.00\text{ m} to xest=1.00 mx_{\text{est}} = 1.00\text{ m}.

4. The Wheel Slip Defect

Wheel slip causes dead reckoning to diverge permanently from true position.
Wheel slip causes dead reckoning to diverge permanently from true position.

Odometry assumes pure rolling contact without slipping. When the robot traverses slick wet tile with slip ratio s=0.15s = 0.15 (15%15\% slip), the wheels rotate through 1.00 m1.00\text{ m} of circumference (1592 ticks1592\text{ ticks}), but the chassis translates only dactual=(1−s)×1.00=0.85 md_{\text{actual}} = (1 - s) \times 1.00 = 0.85\text{ m}. Dead reckoning accumulates an unrecoverable drift of +0.15 m+0.15\text{ m}.

5. Exteroception and Rangefinding

Exteroceptive sensors measure external landmarks to correct accumulated drift.
Exteroceptive sensors measure external landmarks to correct accumulated drift.

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 xwall=2.00 mx_{\text{wall}} = 2.00\text{ m}. By timing the photon return flight, the sensor measures a distance of z=1.15 mz = 1.15\text{ m}. The robot calculates its absolute position directly:

xtrue=xwall−z=2.00−1.15=0.85 mx_{\text{true}} = x_{\text{wall}} - z = 2.00 - 1.15 = 0.85\text{ m}

Exteroception exposes and eliminates the 0.15 m0.15\text{ m} odometry error.

6. Sensor Fusion

Sensor fusion combines fast relative odometry with drift-free global observations.
Sensor fusion combines fast relative odometry with drift-free global observations.

Neither sensor family alone is sufficient. Wheel encoders provide smooth, high-frequency updates (50–100 Hz50\text{--}100\text{ Hz}) with negligible latency, but accumulate boundless drift. Range sensors anchor the robot to fixed physical landmarks, but update more slowly (10 Hz10\text{ Hz}) 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

Uncompensated IMU accelerometer bias causes position drift to explode quadratically.
Uncompensated IMU accelerometer bias causes position drift to explode quadratically.

Inertial Measurement Units (IMUs) measure angular rates with gyroscopes and specific forces with accelerometers. However, MEMS accelerometers carry constant bias errors bab_a. Double-integrating acceleration to obtain position causes the error to grow quadratically over time:

Δxdrift=12bat2\Delta x_{\text{drift}} = \frac{1}{2} b_a t^2

Even a tiny bias of ba=0.05 m/s2b_a = 0.05\text{ m/s}^2 causes 2.50 m2.50\text{ m} of phantom drift in just 10 seconds10\text{ seconds}.

8. Stereo Vision and Triangulation

Stereo cameras triangulate 3D depth from horizontal pixel disparity.
Stereo cameras triangulate 3D depth from horizontal pixel disparity.

Stereo vision mimics human depth perception using two calibrated cameras separated by baseline distance B=0.12 mB = 0.12\text{ m}. By identifying corresponding pixels between the left and right images, the horizontal disparity d=xL−xRd = x_L - x_R yields metric depth through similar triangles:

Z=f⋅BdZ = \frac{f \cdot B}{d}

With focal length f=600 pxf = 600\text{ px} and disparity d=60 pxd = 60\text{ px}, the target mug is located at depth Z=(600×0.12)/60=1.20 mZ = (600 \times 0.12) / 60 = 1.20\text{ m}.

9. Gaussian Measurement Uncertainty

Sensor readings scatter as random Gaussian distributions around true values.
Sensor readings scatter as random Gaussian distributions around true values.

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: z=xtrue+vz = x_{\text{true}} + v, where v∼N(0,σ2)v \sim \mathcal{N}(0, \sigma^2). With standard deviation σ=0.05 m\sigma = 0.05\text{ m}, 68%68\% of raw readings fall within 1.15 m1.15\text{ m} and 1.25 m1.25\text{ m}.

10. Where It Breaks

Specular surfaces deflect sensor rays, creating dangerous blindness to physical barriers.
Specular surfaces deflect sensor rays, creating dangerous blindness to physical barriers.

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.