Skip to content
DroidBazaar

Sensing

How robot sensors work: LiDAR, depth cameras, IMUs and force sensors

Robots see and feel the world through sensors. Understand LiDAR, stereo and structured-light depth cameras, inertial measurement units and force-torque sensors, and what each is used for.

Sensors give a robot its picture of the world and of its own body. Specifications often just say "LiDAR: yes" or "depth camera: yes"; this guide explains what that means in practice.

LiDAR

A LiDAR measures distance with light: it sends laser pulses and times how long they take to come back (time of flight). Spinning or scanning the beam produces a point cloud, thousands of 3D points around the robot. LiDAR works in the dark and gives accurate distances, which makes it the main sensor for mapping and obstacle avoidance on mobile robots and quadrupeds. Rain, fog, glass and very dark surfaces can confuse it.

Diagram of a light pulse travelling from a sensor to a target and back, with the formula distance equals speed of light times time divided by two.
Diagram of the time-of-flight principle: a light pulse travels to a target and back, so distance equals the speed of light times the round-trip time divided by two. (RCraig09 (opens in a new tab), CC BY-SA 4.0 (opens in a new tab))

Depth cameras

Depth cameras give an image where each pixel has a distance.

  • Stereo cameras compare two images, like human eyes; they work outdoors but need texture in the scene.
  • Structured light projects a known pattern and reads how it deforms; very precise at short range, often used for picking objects.
  • Time-of-flight cameras time light pulses for every pixel.
Two camera image planes looking at the same point in space, with the lines of sight and the epipolar line drawn between the views.
Diagram of stereo epipolar geometry showing how a 3D point projects into left and right camera views and how depth ambiguity along one view ray maps to an epipolar line in the other. (Arne Nordmann (norro) (opens in a new tab), CC BY-SA 3.0 (opens in a new tab))

IMU: balance and orientation

An inertial measurement unit combines accelerometers and gyroscopes (often MEMS chips) to measure acceleration and rotation. Walking robots depend on it to know which way is down and how fast they are tipping; mobile robots combine it with wheel odometry to estimate their motion between LiDAR scans.

Force-torque sensors

A force-torque sensor, usually mounted between an arm's wrist and its tool, measures pushing forces and twisting torques in all directions. Inside, strain gauges or capacitive elements detect tiny deformations of a metal body. It lets robots polish, assemble and insert parts gently, and helps detect collisions.

Drawing of a foil strain gauge with a zigzag metal track, shown stretched and compressed, with its resistance going up or down.
Illustration of a foil strain gauge whose resistance rises when the substrate is stretched and falls when it is compressed. (Izantux (opens in a new tab), CC0 1.0 (opens in a new tab))

Touch and more

Grippers and robot hands add tactile sensors, and many robots carry microphones, thermal cameras or gas sensors for inspection jobs.

See the LiDARs, cameras and force-torque sensors in the parts catalog and the makers in the directory.

Further reading

Related parts in the catalog

Robots to explore

← All guides