norr@manorshi.com        +86-519-89185720
1
News Center

How do ultrasonic sensors work?

Views: 110     Author: Grace     Publish Time: 2021-06-25      Origin: Site

facebook sharing button
twitter sharing button
line sharing button
wechat sharing button
linkedin sharing button
pinterest sharing button
whatsapp sharing button
kakao sharing button
snapchat sharing button
telegram sharing button
sharethis sharing button

How Do Ultrasonic Sensors Work?

Ultrasonic sensors are devices that use high-frequency sound waves to detect objects, measure distance, or monitor movement. They convert electrical signals into ultrasonic waves and then convert reflected echoes back into electrical signals for measurement and control.

An ultrasonic wave is a mechanical sound wave with a frequency higher than 20kHz. Because ultrasonic waves have short wavelength, good directionality, and relatively stable propagation in air, they are widely used in distance measurement, object detection, liquid level sensing, parking sensors, robotics, and industrial automation.

A typical ultrasonic distance sensor uses a transmitter to emit sound waves and a receiver to capture the reflected wave. By measuring the time between transmission and echo reception, the sensor can calculate the distance from the sensor to the target object.

Ultrasonic sensor reflected wave and original wave for time-of-flight distance measurement

What Is an Ultrasonic Sensor?

An ultrasonic sensor is a non-contact sensor that uses ultrasound to detect the presence, distance, position, or movement of an object. It can work as an ultrasonic distance sensor, object detection sensor, liquid level sensor, or proximity sensor depending on the circuit design and application.

In many 40kHz ultrasonic sensors, a ceramic transducer is used to generate and receive ultrasonic waves. The transmitter sends an ultrasonic pulse, and the receiver detects the echo reflected by the target. The sensor circuit then processes the echo signal and outputs distance or detection data.

A pair of ultrasonic sensors can be made of a separate transmitter and receiver, or both functions can be embedded in a single transceiver unit. The image below shows Manorshi 40kHz ultrasonic transmitter and receiver components. More ultrasonic sensor products are available at Manorshi Ultrasonic Sensor.

Manorshi 40kHz ultrasonic transmitter and receiver sensor pair

Working Principle of Ultrasonic Sensors

The working principle of an ultrasonic sensor is based on sound wave transmission, reflection, and echo detection. The sensor emits an ultrasonic pulse toward a target. When the sound wave reaches the object surface, part of the wave reflects back to the receiver.

The sensor measures the echo travel time, also called time-of-flight. Since the speed of sound in air is known, the distance can be calculated from the round-trip time of the ultrasonic wave.

Distance = Speed of Sound × Echo Time / 2

The result is divided by 2 because the sound wave travels from the sensor to the object and then returns from the object to the sensor. The measured echo time is a round-trip time, not a one-way time.

Step What Happens
1. Electrical signal input The circuit applies an electrical signal to the ultrasonic transmitter.
2. Ultrasonic wave emission The piezoelectric transducer vibrates and emits ultrasonic waves.
3. Echo reflection The wave reflects when it meets an object, liquid surface, or interface.
4. Echo reception The receiver detects the reflected ultrasonic wave.
5. Signal calculation The control circuit calculates distance from the time-of-flight.

How the Ultrasonic Transmitter Works

An ultrasonic transmitter usually uses a piezoelectric ceramic crystal attached to a metal vibration plate or resonator. When an alternating electrical voltage is applied to the piezoceramic element, it expands and contracts rapidly.

This mechanical vibration generates ultrasonic waves. The resonator and housing help direct the acoustic energy forward, so the emitted sound wave travels as a directional beam rather than spreading equally in all directions.

How the Ultrasonic Receiver Works

An ultrasonic receiver works in the opposite way. When a reflected ultrasonic wave reaches the receiver, the vibration plate moves. This vibration is transferred to the piezoelectric ceramic disc.

Because of the piezoelectric effect, the ceramic element generates an electrical signal when it is mechanically stressed. The sensor circuit amplifies and processes this weak signal to determine whether an echo has returned and how long the echo took to arrive.

Ultrasonic waves emitted by the sensor and reflected by target object

In short, ultrasonic sensors can both transmit and receive ultrasonic waves. When transmitting, they convert electrical energy into ultrasonic vibration. When receiving echoes, they convert ultrasonic vibration into electrical signals. This is why they are also called ultrasonic transducers.

Performance Characteristics of Ultrasonic Sensors

Because the piezoelectric element is usually circular, the emitted ultrasonic wave has a directional beam pattern. The beam cross-section is often similar to an ellipse, so the detection range is limited by angle, frequency, transducer size, acoustic power, and target reflection.

For some ultrasonic sensor designs, the horizontal detection angle can be wider than the vertical detection angle. For example, a sensor may have a horizontal beam angle of about 120 degrees and a vertical beam angle of about 60 degrees, depending on structure and application.

Performance Factor Effect on Sensor Work
Frequency Lower frequencies travel farther, while higher frequencies can provide better resolution at shorter ranges.
Beam angle A narrow beam improves directional detection; a wide beam covers more area.
Target surface Flat, hard surfaces reflect ultrasound better than soft, angled, or porous surfaces.
Temperature Temperature changes the speed of sound and can affect distance accuracy.
Environment Dust, moisture, wind, foam, vibration, and other ultrasonic sources may affect signal quality.

Features of Ultrasonic Sensors

  • Simple structure and convenient manufacturing.

  • Non-contact distance measurement without touching the target object.

  • Less affected by target color, transparency, or ambient light than optical sensors.

  • Suitable for detecting transparent objects, glossy surfaces, liquid levels, and many solid materials.

  • Not easily interfered with by ordinary environmental electromagnetic fields.

  • Can be designed as open type, waterproof type, high-frequency type, transmitter, receiver, or integrated transceiver.

Ultrasonic sensor for non-contact distance measurement and object detection

Types of Ultrasonic Sensors

Type Description Typical Use
Ultrasonic transmitter Converts electrical signals into ultrasonic waves. Distance modules, repeller devices, sensing systems.
Ultrasonic receiver Converts ultrasonic echoes into electrical signals. Echo detection and signal receiving circuits.
Ultrasonic transceiver Combines transmitting and receiving functions in one unit. Compact distance sensors and object detection modules.
Waterproof ultrasonic sensor Uses sealed housing for humid, outdoor, or liquid-related environments. Parking sensors, outdoor ranging, tank level sensing.
High-frequency ultrasonic sensor Uses higher frequency for better resolution at shorter ranges. Precision detection, medical, industrial inspection.

Applications of Ultrasonic Sensors

Ultrasonic sensors are used wherever non-contact measurement is needed. They are especially useful when optical sensors may be affected by color, light, transparency, dust, or glare.

  • Car parking sensors and reversing radar.

  • Robot obstacle avoidance and navigation.

  • Liquid level measurement in tanks and containers.

  • Industrial automation and object detection.

  • Smart trash bins, automatic doors, and presence detection.

  • Flow measurement, leak detection, and non-destructive testing in specialized systems.

Limitations of Ultrasonic Sensors

Although ultrasonic sensors are reliable in many applications, they are not suitable for every target or environment. Soft, porous, angled, very small, or sound-absorbing objects may return weak echoes. Foam, turbulence, strong air movement, and temperature changes can also affect measurement accuracy.

For accurate ultrasonic distance measurement, engineers should choose the correct frequency, beam angle, sensor type, installation position, and compensation method. In harsh environments, waterproof or sealed ultrasonic sensors are usually preferred.

Summary

Ultrasonic sensors work by transmitting high-frequency sound waves and receiving the reflected echoes. The distance is calculated from the echo time and the speed of sound using the time-of-flight principle.

Because ultrasonic sensors are non-contact, insensitive to color and light, and suitable for many solid and liquid targets, they are widely used in distance measurement, object detection, liquid level sensing, automotive systems, and industrial automation.

Frequently Asked Questions About Ultrasonic Sensors

How do ultrasonic sensors measure distance?

Ultrasonic sensors measure distance by emitting a sound pulse, receiving the reflected echo, and calculating distance from the echo time. The basic formula is distance = speed of sound × time / 2.

What is the difference between an ultrasonic transmitter and receiver?

An ultrasonic transmitter converts electrical energy into ultrasonic sound waves. An ultrasonic receiver converts reflected ultrasonic waves into electrical signals. Some ultrasonic transducers can perform both functions in one component.

Why are 40kHz ultrasonic sensors commonly used?

40kHz ultrasonic sensors are common because they offer a practical balance between range, sensitivity, component size, power consumption, and cost. They are widely used in ranging modules, object detection, and parking sensor systems.

Can ultrasonic sensors detect transparent objects?

Yes. Because ultrasonic sensors use sound waves instead of light, they can detect many transparent objects that are difficult for optical sensors. The actual result depends on the object shape, angle, size, and acoustic reflection.

What affects ultrasonic sensor accuracy?

Accuracy can be affected by temperature, humidity, wind, target angle, target material, surface roughness, sensor alignment, beam angle, environmental noise, and echo interference from nearby objects.

Are ultrasonic sensors affected by light or color?

Ultrasonic sensors are generally not affected by visible light or object color because they use sound waves. This makes them useful for dark environments, transparent targets, shiny surfaces, and applications where optical sensors may be unreliable.

Where are ultrasonic distance sensors used?

Ultrasonic distance sensors are used in car reversing radar, robot obstacle avoidance, liquid level measurement, industrial automation, smart trash bins, automatic doors, parking systems, and non-contact detection equipment.

Table of Content