An ultrasonic sensor emits an ultrasonic pulse — a high-frequency sound wave above the range of human hearing — and computes distance to a target from the time it takes for the pulse's reflection to return. In principle, it's the acoustic counterpart to LiDAR: where LiDAR measures the round-trip time of light, an ultrasonic sensor measures the round-trip time of sound. Its most common application is embedding several units around a vehicle's front, rear, and corners for obstacle detection while parking (parking sensors, clearance sonar) — but the principle traces back to research into bat biology, and its practical origin traces back to submarine detection in the First World War.

Ultrasonic parking sensor mounted in a Ford Flex's rear bumperFord Flex rear parking sensor
VW Golf VII side parking sensorVW Golf VII side parking sensor

Images: Ford Flex rear parking sensor (Michael Sheehan, CC BY 2.0) / VW Golf VII side parking sensor (Basotxerri, CC BY-SA 4.0), Wikimedia Commons.

Principle: time-of-flight ranging, corrected for the temperature dependence of the speed of sound

An ultrasonic sensor vibrates a piezoelectric element to emit an ultrasonic pulse, then picks up the reflection off a target using the same piezoelectric element (or a separate receiving element). Distance d to the target is computed from the time-of-flight t — the interval between emitting the pulse and receiving its reflection — and the speed of sound v.

d = \frac{v \cdot t}{2}

Dividing by two to account for the round trip is the same as LiDAR's time-of-flight ranging, but ultrasonic sensors carry a distinctive caveat: the speed of sound v itself changes with air temperature. The speed of sound in dry air can be approximated by:

v \approx 331.3 + 0.606\,T \quad [\text{m/s}]

where T is the air temperature in Celsius. Because the speed of sound shifts by roughly 0.6 m/s for every 1°C change in temperature, a product that operates across a wide temperature range — say -40 to 85°C, as is typical in automotive applications — will accumulate non-negligible ranging error if it computes distance without temperature correction. High-precision ultrasonic sensors measure ambient temperature in real time using a built-in temperature sensor and correct the speed of sound with this formula before computing distance.

Principle diagram of bat echolocation. A is the bat, E is the emitted wave, B is the prey that returns R (the reflected wave), and d is the distance

Image: Principle diagram of bat echolocation (Marek M, based on originals by Shung, José Augusto, Rugby471, and JASC's WebDraw, CC BY-SA 3.0), Wikimedia Commons. An emitted sound wave (E) reflects off prey (B) as R, and the round-trip time of that reflection yields the distance (d) — a principle fundamentally identical to an engineered ultrasonic sensor's time-of-flight ranging.

Characteristics: strong against exactly what trips up optical sensors

An ultrasonic sensor's single greatest strength is that it can reliably detect the very targets that give optical sensors (cameras, LiDAR) the most trouble. A pane of transparent glass is hard for an optical sensor to detect, but sound reflects off glass just fine, so an ultrasonic sensor picks it up without issue. Likewise, a black object that absorbs light and is hard for a camera to recognize has no effect at all on an ultrasonic reflection. Stable operation at night or in fog is another strength it shares with radar. On the other hand, its effective range is short — tens of centimeters to a few meters — making it unsuitable for detecting fast-moving objects or distant obstacles. Given this "short-range specialist, all-weather, strong against glass and black objects" profile, an ultrasonic sensor is rarely a replacement for other sensors; it more often plays a complementary role specialized for close-range detection.

History: from bat biology research to First World War sonar

The principle of ultrasonic echolocation was discovered, surprisingly, not by engineers but by biologists studying bats. In 1794, Italian biologist Lazzaro Spallanzani demonstrated that blindfolded bats could still avoid obstacles in flight without relying on vision — considered the first scientific discovery of bats' echolocation ability. In 1876, British scientist Francis Galton invented the adjustable ultrasonic-generating "Galton whistle," which he used to study the range of frequencies audible to humans and other animals.

The trigger for its engineering application came, ironically, from the 1912 sinking of the Titanic. A few months after the Titanic sank following its collision with an iceberg, British scientist Lewis Richardson filed a patent for a device that would detect underwater icebergs using sound waves. Then, once the First World War broke out, French physicist Paul Langevin worked with Russian engineer Constantin Chilowski to develop, between 1915 and 1918, a device that used piezoelectric quartz crystals to transmit and receive ultrasonic pulses and detect submerged submarines out to ranges of up to 1,300 meters. This was the world's first practical active sonar — meaning a technology for artificially reproducing bat echolocation came to fruition, ironically enough, as a military technology for detecting enemy submarines. The technology later found further application in depth sounding and in medical ultrasound diagnostics.

Comparing key products by spec

Product Application Object presence detection Measurement range (min-max) Frequency
Bosch Ultrasonic Sensor Gen 6.0 Automotive (parking assist) 6cm 15cm-2.5m 43-60kHz (variable)
Bosch Ultrasonic Sensor Gen 6.1 Automotive (parking assist) 6cm 15cm-4.5m 43-60kHz (variable)
Bosch Ultrasonic Sensor Gen 6.5 Automotive (parking assist, automatic parking) 3cm 15cm-5.5m 43-60kHz (variable)
Murata MA40S4S/MA40S4R Robotics, industrial 20cm-4m 40kHz fixed, 80° directivity
MaxBotix LV-MaxSonar-EZ1 (MB1010) Robotics, human detection Effectively no dead zone (detects objects up to and touching the sensor face) 15cm-6.45m 42kHz, 20Hz read rate

Bosch's Generation 6 ultrasonic sensor line is sold not just for obstacle detection while parking or maneuvering, but as the sensing basis for automatic braking and automatic parking features. Across generations, maximum measurement range has grown from 2.5m (Gen 6.0) to 4.5m (Gen 6.1) to 5.5m (Gen 6.5), while object-presence detection — the ability to sense an object's presence at very close range — has, conversely, tightened from 6cm to 3cm, reflecting a design intent to differentiate characteristics by application rather than simply chase higher performance across the board. Minimum measurement range stays fixed at 15cm across every generation — anything closer than that remains an inherent detection limit, a "dead zone." Bosch supplies this line to multiple automakers, including BMW, GM, Daimler, Volkswagen, Honda, Mazda, and Subaru.

Outside the automotive space, Japan's Murata sells the fixed-40kHz MA40S4S (transmitter) / MA40S4R (receiver) pair, which has become a staple in robotics and industrial sensing. Its 80-degree directivity and 20cm-4m detection range are a rough baseline for the standard spec of a general-purpose ultrasonic sensor used everywhere from Arduino/Raspberry Pi hobbyist robots to industrial equipment. The US-based MaxBotix's LV-MaxSonar-EZ1 (MB1010) markets itself as having "effectively no dead zone," able to detect a target even right up against the sensor face. That trait makes it valuable as a proximity sensor for robots that need to work right up against a wall or obstacle.

A real-world example: Toyota's Intelligent Clearance Sonar (ICS) — eight sensors to curb pedal misapplication

A real-world example of combining multiple ultrasonic sensors is Toyota's "Intelligent Clearance Sonar" (ICS). It uses four ultrasonic sensors each at the front and rear — eight in total — to detect surrounding obstacles, and triggers collision-mitigating braking when the driver mistakenly presses the accelerator instead of the brake at low speed. An enhancement was announced in November 2014, and starting with the 2015 Alphard, Vellfire, and subsequently the Prius, both the number of sensors and the detection range were increased, alongside improvements to the control software. According to a Toyota survey of accidents occurring between January 2015 and June 2016, vehicles equipped with ICS saw pedal-misapplication accidents fall by roughly 70% and reversing-related accidents fall by roughly 40%. Because it uses sound waves, ICS's ability to reliably detect a glass surface — like the front wall of a convenience store — is exactly what makes this use case work.

What Bats Can Teach the Next Generation of Micro-Robot Navigation

Research inspired by bat echolocation is still active well over a century later. An arXiv paper published around 2026, "Saranga: MilliWatt Ultrasound for Navigation in Visually Degraded Environments on Palm-Sized Aerial Robots," proposes an ultrasonic navigation system drawing only a few milliwatts of power for palm-sized micro aerial robots. It's motivated by the observation that mainstream sensors — cameras, event cameras, radar, LiDAR — all degrade in "visually degraded environments": direct sunlight, darkness, snow, glass, fog, dust. Sound-based navigation, by contrast, keeps functioning in exactly these conditions. In a related vein, a study called "BatDeck," published around 2024, reports an ultra-low-power obstacle-avoidance approach for nano-drones that uses only a single forward-facing ultrasonic sensor and, lacking any information about an obstacle's direction, achieves avoidance through random turning. It's a striking picture: in an era of robotics dominated by cameras and LiDAR, the classical principle of echolocation that bats have used for tens of millions of years is being reevaluated as a solution to thoroughly modern constraints — power budget and robustness to adverse environments.

A more everyday example: household robot vacuums sometimes use ultrasound for their "cliff detection" (fall-prevention) sensors too. Many products use infrared or PSD (position-sensitive detector) sensors instead, but ultrasonic-based variants also serve the role of detecting a drop-off like a stair edge to prevent the robot from falling. It's a good illustration of how the "short-range, low-cost, all-weather" profile of ultrasonic sensing has spread across a wide range of consumer devices — from automotive parking assistance to the safety mechanisms of household robots.

Parameters that determine performance

References

#ultrasonic sensor #parking sensor #Bosch #Murata #Toyota #sensors #autonomous driving