ToF vs LiDAR: Key Differences and How to Choose

Concept visualization of warehouse geometry as a dense depth surface and discrete scan points.

Time of flight (ToF) is a method for measuring distance from the travel time of light. LiDAR is a class of light-based ranging systems, and many LiDAR systems use ToF. When comparing products, start with the output your application needs: one distance, distances from several zones, a depth image, or an angular scan.

How ToF and LiDAR Are Related

Direct ToF (dToF) measures the time between emitting a light pulse and detecting its return. Phase-based indirect ToF (iToF) estimates that travel time from the phase shift of modulated light. A pulsed scanning LiDAR can use dToF for each point in a scan. Other LiDAR systems can use a method such as frequency-modulated continuous wave (FMCW) ranging.

The ranging method determines how the device obtains a distance. The sampling method determines where in the scene the device takes measurements. A flash LiDAR can capture an area with a receiver array. A scanning LiDAR takes samples across angles. These differences matter when you need to locate a feature, measure a surface or track a moving target. See the ams OSRAM overview of LiDAR and optical distance sensors.

ToF Sensors, Depth Cameras and Scanning LiDAR Compared

Four views show single-point ToF, multi-zone ToF, a ToF depth camera and 2D scanning LiDAR sampling the same scene.
The four sensors return one distance, a small grid of distances, a per-pixel depth image or a set of angular range samples.
DeviceTypical outputUseful whenWhat to check
Single-point ToF sensorOne distance from a measurement zoneThe task needs one distance to a known target or surfaceWhether the intended surface remains in the measurement zone across the required distances and angles
Multi-zone ToF sensorA small grid of distance readingsThe application needs to tell which part of the field of view contains a near or far objectThe footprint of each zone and whether adjacent targets can be distinguished
ToF depth cameraA depth image with distance samples on a pixel gridThe application needs surface geometry, object dimensions or position across an areaWhether enough useful pixels cover the smallest feature and whether edge pixels give valid readings
Scanning LiDARRange samples across angles, typically delivered as a scan or point cloudThe application needs geometry along a scan plane or across a wider angular region, depending on the deviceWhether the scan intersects the relevant surfaces, the spacing between samples and when those samples were acquired

A calibrated depth image can also be converted into a point cloud. If both devices offer point clouds, compare which parts of the scene the underlying measurements cover and when they were taken.

How to Choose for Your Application

Start with the decision your system needs to make. Presence detection at a fixed location may need one distance. A bin or parcel measurement system may need geometry across a calibrated depth image. A mapping system may need range observations across a wider area. Use that requirement to shortlist devices, then measure their performance in the intended scene.

Check Coverage and Target Sampling

At the working distance, compare the target’s width and height with the spacing between samples. A narrow feature can fall between scan samples or sit outside a planar scan. On a depth image it may cover only a few pixels, especially near an edge or background. Inspect the valid measured returns on the target before filling gaps for visualization. For camera-side calculations, see the ToF camera selection guide.

A narrow pallet leg sits between two LiDAR scan rays and covers only a few pixels in a ToF depth image.
In this example, the scan rays pass on either side of the pallet leg. In the depth image, pixels along the leg’s outline can include returns from the background.

Compare Range, Accuracy and Timing Under the Same Conditions

Use the same target material, reflectivity, angle, reference distance and light level for each candidate. The usable range is the interval where the device meets your minimum valid-return rate and maximum distance error. Record the error against a reference and how much the readings vary over repeated trials.

When the target or sensor moves, check when samples are acquired and when they arrive at the host. Check whether the specified frame or scan rate refers to acquisition or delivery. To measure end-to-end latency, use the same observable target change and time the first usable result at the same stage of the application software.

Evaluate the Installed Device

Test under the expected lighting, temperature and weather. Include angled surfaces, partly hidden objects and nearby backgrounds. If the enclosure has a cover window, test through it in the installed position. Record the mounting space, calibration, interface, host processing and power needed by each option.

Evaluation stepWhat to record
Define the target and coverageSmallest relevant feature, working distance, field of view or scan pattern, and region of interest
Set acceptance criteriaMinimum valid-return rate, maximum distance error and latest usable update
Run matched trialsTarget material, angle, reflectivity, light level, motion, acquisition settings and number of trials
Record integration costsMount, enclosure, calibration, data interface, host processing and measured power
Record outcomesMissed cases, error, repeatability, valid-return rate and latency at the agreed software checkpoint

ToF vs LiDAR for Robot Navigation

A robot may need local obstacle geometry, stable features for localization and one precise distance during docking. Define which observations each function uses before choosing the sensor or mounting position.

Robot taskWhich output to evaluateWhat to test
Locate nearby obstaclesScan samples can suffice when the scan intersects the relevant objects and gives the software the geometry it needs. Evaluate area depth when the robot needs a view of objects at different heights in a local region.Check low obstacles, narrow legs and overhangs at the required approach distances and through turns. Include areas hidden by the chassis or payload.
Map the route or localize against itStart with the observations your simultaneous localization and mapping (SLAM) or localization software accepts. Compare angular range samples and area-depth observations where the software can use either input and the mount gives a view of useful reference surfaces.Follow the intended route and record which stable features, such as walls and corners, remain visible through turns and across open areas.
Dock or measure clearanceOne range reading can be enough for distance along the approach or down toward the floor. Evaluate area depth or another spatial input when the software also needs lateral or angular alignment.Check that the intended surface stays in the measurement zone across approach offsets or changes in robot attitude. For a downward measurement, record distance along the sensing direction.

When to Combine Sensing Outputs

A robot can use a scan for localization and a depth image for local obstacle geometry. If the software combines those observations, bring them into a common coordinate frame and align their timestamps. Decide what the software should do when one input is missing or when the two report different geometry. For installation and validation steps, see the AMR depth-camera integration guide.

DOMI ToF Examples by Output Type

Model and outputConfigurationRanging specification
DMAS2M001 · Direct-ToF area depthSingle-photon avalanche diode (SPAD) sensing, 940 nm VCSEL illumination, 40 × 30 depth at 10 fps0.2–8 m at 30 klux for targets with 10–90% reflectivity
DMS604 · Longer-distance, single-point direct ToF905 nm, UART, 50 fpsTypical range of 35 m outdoors at 100 klux and 58 m indoors, both for targets with 18–88% reflectivity
DM0301 · Short-range, single-zone ToF940 nm, I2C distance output, up to 50 Hz update rateUp to 4 m indoors

Browse ToF camera modules for area depth or ToF sensors for single-point, array and long-range measurement. Share your required output, working distance, target material and host interface to discuss suitable ToF options with DOMI.

FAQs

How are ToF and LiDAR related?

ToF is one way a LiDAR system can measure distance. The ranging method tells you how distance is obtained. The sampling pattern tells you which parts of the scene contribute readings.

How does a ToF depth image differ from a LiDAR scan?

A depth image places readings on an image grid. A scan collects readings across angles. If the software takes a point cloud from either device, check whether the measured points cover the surfaces the software needs.

Which output fits obstacle detection or SLAM?

For obstacle detection, start with the smallest object and the part of the travel corridor it can enter. For SLAM, start with the supported input format and the stable features the software needs to observe along the route.

Can a robot use ToF area depth and scanning LiDAR together?

Yes. A scan can supply observations for localization while a forward-facing depth image supplies local geometry. Define when each input is used and how its coordinates and timestamps align with the robot.

What can a single-point ToF sensor contribute to a robot that uses a scan?

It can provide a distance within one measurement zone, for example during the final approach to a docking face. A pipeline that expects a multi-angle scan needs that input from a device or sensing arrangement that supplies angular samples.

What should I decide before shortlisting a sensor?

Write down the nearest and farthest targets, their smallest relevant feature, and how much of the scene the device needs to observe. Add the output your software expects and the time it has to act. Use those requirements to decide which sensing routes to test.

All Articles