Research Careers Contact

GlossaryTime-of-flight sensor

Time-of-flight sensor

A time-of-flight sensor measures distance by emitting light, usually infrared, and timing how long the light takes to reflect off a target and return. Small ToF sensors give one or a few distance readings, while ToF cameras give a full depth image. They are common for short-range ranging on robots and drones.

How it works

Light travels at a known speed, so the round-trip time gives distance. There are two main approaches. Direct time of flight sends short light pulses and measures the return time with fast detectors, often single-photon avalanche diodes, building a histogram of arrival times to pick out the target. It works at longer ranges and suits sparse measurements. Indirect time of flight sends continuously modulated light and measures the phase shift of the returned signal at each pixel, which gives dense depth images at shorter ranges.

Both use eye-safe emitters, typically classified under the IEC 60825-1 laser safety standard. Performance depends on target reflectivity, ambient light, especially sunlight, and the sensor's field of view. Multipath, where light bounces off several surfaces before returning, distorts readings in corners.

Time-of-flight sensor vs lidar

Lidar is also based on time of flight, but it scans a laser beam or uses many beams to build a long-range 3D point cloud with fine angular resolution. Single-zone and multizone ToF sensors are much smaller, cheaper and lower power, with short range and wide, coarse fields of view. ToF cameras sit between them, giving dense depth over short ranges without moving parts.

Why it matters

Robots and drones need distance measurements for landing, docking, cliff detection, proximity stops and height above ground. ToF sensors give direct, reliable distances from a very small package with a simple interface. They complement cameras, which struggle with distance, and lidar, which is too large or costly for every direction.

How to get it right

  • Check range against target reflectivity and sunlight, not only the datasheet's best case.
  • Put cover windows at the right distance and material, since crosstalk from the window creates false readings.
  • Keep the optical path clean and consider dirt, water and condensation on outdoor vehicles.
  • Synchronize or stagger several sensors so they do not interfere with each other.
  • Calibrate offset per unit in production test.

Time-of-flight sensors in robotics and drone hardware

Drones use downward ToF sensors for altitude near the ground and precision landing. Mobile robots use them around the base for cliff and bump detection. Arms use them in grippers to sense objects before contact. On the board, ToF modules connect over I2C or SPI and need a clear optical window, which ties electronics layout to enclosure design.

Learn more