Ultrasonic, laser or radar: choosing a distance sensor

, 4 min read

Choose ultrasonic for low cost, short range and targets of any colour or transparency; laser for long range, small targets and fast updates; and mmWave radar for tens of metres, speed measurement and rain, fog or dust.

At a glance

UltrasonicLaser ToFmmWave radar
Typical rangeCentimetres to about 10 mCentimetres to tens of metresTens to hundreds of metres
BeamWide coneNarrow spotShaped by antenna, wide or narrow
Glass and clear liquidsMeasures themLight passes through or scattersPartly transparent
Dark or black targetsNo effectShorter rangeNo effect
Rain, fog, dustMostly worksDegradedWorks
Measures speedNoNoYes, directly
Relative costLowestMediumHighest

When ultrasonic wins

Parking, robot obstacle avoidance, tank and bin levels, and presence detection. A wide beam sees obstacles a narrow beam would miss, and the sensor does not care about colour, transparency or light.

When laser wins

Long range with a small spot, high resolution and fast update rates: positioning, small targets, and places where the beam must not touch nearby walls.

When radar wins

Vehicles moving at speed, outdoor sensing in all weather, and anything where you need the speed of the target as well as its distance, such as blind-spot warning and door-opening protection.

Sensors in this guide