A Time-of-Flight (ToF) sensor estimates distance from light that travels to a target and returns to a receiver. It can provide a single distance, a small grid of ranges, or a depth image, depending on the optical design and receiver. Those outputs answer different engineering questions: a single-point sensor may detect proximity, while a depth camera can describe the shape and position of objects across its field of view.
How ToF distance measurement works
For direct ToF (dToF), the sensor emits a short light pulse and measures its round-trip travel time. The ideal distance relationship is d = c × Δt / 2, where c is the speed of light and Δt is the measured delay. The division by two accounts for the outbound and return paths. Actual devices also compensate for fixed delays in the optics and electronics and estimate a valid return from noisy photon measurements.
Indirect ToF (iToF) illuminates a scene with modulated light and estimates distance from the phase difference between emitted and returned signals. Its measurement range and ambiguity depend on modulation frequency and the method used to resolve phase wrapping. Neither architecture is universally more accurate: resolution, range, ambient light, power, target reflectivity, and processing all matter.
What is inside a ToF system?
- Emitter and optics: a controlled light source and optical elements direct light toward the measurement area. The wavelength, field of illumination, and applicable eye-safety assessment belong to the exact product design.
- Receiver: a detector captures returning light. A single-point receiver, a multi-zone array, and an imaging array provide different spatial detail.
- Timing and processing: electronics estimate flight time or phase, reject invalid returns, and report distance plus available quality indicators.
- Calibration: offset, cover-window crosstalk, temperature behavior, and alignment may need verification in the final enclosure.
Which output should an application use?
For a touchless control or wall-following sensor, one range or a few zones may be enough. For parcel dimensioning, robotic grasp planning, or occupancy zones, a depth image can be more useful. Depth alone does not identify an object, count people, guarantee a safe stop, or reconstruct a complete 3D model. Those functions require application software, mounting design, and task-specific validation.
What limits a ToF measurement?
Range figures depend on the target and test conditions. Dark or angled surfaces may return little light; shiny, transparent, or multi-path scenes may produce misleading returns. Bright ambient light can reduce signal-to-noise ratio, while another active emitter can cause interference. A cover window can add reflections. Assess the exact module with the expected target reflectance, distance, angle, ambient illumination, temperature, and sampling rate. Record both valid-return rate and error distribution, not just a maximum range.
How to choose a sensor
Start with the required working range and whether the application needs one distance, several zones, or per-pixel depth. Then check field of view, update rate, latency, interface, power, mechanical envelope, optical cover, and test evidence for the operating environment. Compare product-specific datasheets under matched conditions. A technology label such as “dToF” or “iToF” cannot substitute for a measured system-level result.
Frequently asked questions
Does ToF work in darkness?
An active ToF device supplies its own illumination, so it can measure without visible room light within its specified range. The result still depends on target return and the device’s optical and power limits.
Can a ToF sensor see through glass?
A transparent or reflective surface may return light from the glass, an object beyond it, or both. The result is device- and geometry-dependent; do not assume reliable glass detection without testing.
Is depth data anonymous by default?
Depth-only output can reduce the amount of visual detail collected, but privacy depends on resolution, storage, retention, linkage to other data, and the full processing pipeline.