What it means
Time-of-flight, often shortened to ToF, is a technique used to measure the distance between a sensor and an object. The system emits an artificial light signal, usually invisible infrared light, toward a target. The light reflects off the target and travels back to a detector located next to the light source. By tracking the time elapsed between emission and detection, the system calculates exact distance. Because the speed of light is a known constant, this time measurement translates directly into depth.
In modern hardware, time-of-flight technology usually appears in specialized camera chips or optical sensors. Unlike standard cameras that capture only two-dimensional color images, a ToF sensor captures depth information for every pixel in its field of view. The result is a real-time three-dimensional map of the surrounding environment.
How it works
A time-of-flight system consists of three main hardware parts. First, an illumination unit sends out light. This unit typically uses vertical-cavity surface-emitting lasers (VCSELs) or infrared light-emitting diodes (LEDs). Second, an optical sensor with an array of pixels collects the returning photons. Third, an integrated processing chip converts the raw sensor data into distance values.
Engineers generally implement ToF in one of two ways:
- Direct time-of-flight (dToF): The system emits very short pulses of light and uses sensitive detectors, such as Single-Photon Avalanche Diodes (SPADs), to record the exact nanosecond the light returns. This approach handles long distances well and resists interference from outdoor sunlight.
- Indirect time-of-flight (iToF): The system emits a continuous wave of modulated light. Instead of measuring pure time, it measures the phase shift between the outgoing wave and the returning wave. The phase difference indicates how far the wave traveled. This method is simpler to manufacture at scale but requires more computational power to avoid motion blur.
The core mathematical formula is simple. Distance equals the speed of light multiplied by half the measured round-trip time. Because light travels roughly 300,000 kilometers per second, the sensor must measure time intervals measured in picoseconds or nanoseconds to achieve millimeter-level accuracy.
A real example
Consider an autonomous mobile robot working inside a fulfillment warehouse. To move pallets without hitting workers or other machinery, the robot needs to detect obstacles in real time. Standard cameras can struggle in low-light corners of a warehouse, and simple ultrasonic sensors lack the resolution to detect thin objects like pallet edges.
The robot uses a front-facing time-of-flight camera. The camera floods the scene with pulsed infrared light dozens of times per second. When a worker steps into the aisle, the light bounces off the worker and hits the sensor. The robot instantly computes a depth map, recognizes the obstacle within milliseconds, and commands its motor controllers to stop. Because the system provides its own light, it functions identically in pitch darkness and in bright indoor lighting.
Why it matters for builders and investors
For builders, time-of-flight sensors offer a practical balance between cost, size, and computational load. Competing 3D vision methods, like stereo vision, require two cameras and heavy algorithmic processing to match features across multiple images. Time-of-flight delivers depth data natively at the hardware level, which reduces the workload on the central processor and lowers total power consumption. This makes ToF attractive for battery-powered devices, such as smartphones, virtual reality headsets, and lightweight drones.
For investors, ToF represents a critical hardware layer in the growth of spatial computing and robotics. As industrial automation expands and consumer devices adopt augmented reality features, demand for low-cost, high-reliability depth sensing grows. Component suppliers that control specialized semiconductor manufacturing for SPAD arrays, VCSEL emitters, and optical packaging are positioned to benefit as these sensors become standard equipment across automotive, logistics, and consumer electronics markets.
Common mix-ups
People often confuse time-of-flight with other 3D sensing methods. The most common mix-ups involve:
- Structured light: Structured light projects a fixed grid or pattern of infrared dots onto a scene and reads how the pattern deforms over surfaces. Time-of-flight does not analyze pattern deformation; it measures elapsed time or phase shifts of light pulses.
- Stereo vision: Stereo vision mimics human eyes by placing two standard cameras slightly apart. It calculates depth by comparing the slight visual differences between the two images. It relies heavily on ambient lighting and high processing power, whereas ToF provides its own light source and measures time directly.
- LiDAR: This is a conceptual overlap rather than a total difference. LiDAR is a broad category of optical detection systems, and most LiDAR systems use the time-of-flight principle. However, the tech industry often uses the term LiDAR for mechanical or scanning laser units with long ranges, while reserving the term ToF for compact, solid-state camera chips used for short to medium ranges.
Questions people ask
What is the difference between direct and indirect ToF?
Direct ToF measures the exact time a light pulse takes to travel to an object and back. Indirect ToF emits a continuous light wave and calculates distance by measuring the phase shift of the reflected wave.
Can time-of-flight sensors work in bright sunlight?
Yes, but strong sunlight can introduce noise because it contains ambient infrared light. Modern direct ToF sensors using narrow optical filters and sensitive photon detectors operate reliably outdoors.
Does time-of-flight work in total darkness?
Yes. Time-of-flight sensors emit their own infrared illumination, so they do not depend on ambient light to calculate accurate depth.