ULTRASONIC SENSORS

Ultrasonic Sensors

Article by:
Date Published:
Last Modified:

Overview

Ultrasound is sound waves that are at a frequency above the audible range. This is usually frequencies above 18kHz. Also note that infrasound are sound waves with a frequency of 16Hz or below, which is below the audible range.

Terminology

TermDescription
Acoustic ImpedanceThe acoustic impedance of a material is a measure of it's opposition to displacement by ultrasonic waves. The symbol for acoustic impedance is \(Z\).
ApodizationWhen referring to ultrasound, apodization is usually referring to the technique of shaping the wave so that the intensity of the side lobes is reduced. Used in medical ultrasound machines.
BandwidthThe bandwidth of a ultrasonic transducer is the frequency range at which the transducer can operate within.
Bulk WavesBulk waves are ultrasonic waves that do not depend on the surface or boundary of the medium it is travelling through. Two types of bulks waves can exist in an isotropic medium, longitudinal and shear waves.
CapacitanceWhen talking about piezo-electric transducers, this refers to the capacitance of the transducer, which is typically around 180pF-2.2nF.
CMUTCMUT (or cMUT) is an initialism for Capacitive Micromachined Ultrasonic Transducers. They emit ultrasonic waves from a cavity in silicon as their capacitance changes. They work easily at high frequencies due to their small size.
Collapse VoltageApplies to CMUT transducers only. Also see Snapback Voltage.
CouplantA medium which is used to transfer ultrasonic energy from the transducer to the medium under investigation. Common couplants are water, oil or glycerine.
DirectivityA measure of the interaction angle of a ultrasonic sensor with the medium under investigation. Normally defined as the angle range at which the signal is no less the -3dB than the peak. Normally 5-15°.
Fixed CapacitanceApplies to CMUT transducers only.
Free CapacitanceApplies to CMUT transducers only.
Heterodyne Laser InterferometerA laser-based tool that can be used to detect ultrasonic waves.
Input VoltageWhen talking about piezo-electric ultrasonic sensors, this is normally the maximum peak-to-peak voltage that can be applied across it's two pins. Normally between 30-200Vp2p.
Kundt's TubeKundt's tube is a long glass tube held in the horizontal direction with lycopodium powder sprinkled inside it. When ultrasonic waves pass through the tube the power forms heaps at the nodal points and is blown off the antinodal points. This works as long as the wavelength of the ultrasound is not too small.
LNALNA is an initialism for low noise amplifier. LNAs are used on the front-end of ultra-sonic transducer circuits.
Longitudinal WavesLongitudinal waves (also called distortional, compression or primary waves) are waves whose particles motion is parallel to the direction of the wave propagation. This is opposed to shear waves.
Phased ArrayAn array of ultrasonic transducers that is designed to produce a linear wavefront, as opposed to a singular transducer which produces a circular wavefront.
PRFPRF is an initialism for pulse repetition frequency. It is the number of ultrasound pulses per second.
RingingThe is the self-oscillation of a piezo-electric sensor after it has just been driven. The ringing limits the minimum distance that can be measured.
SensitivityUsed to describe an ultrasonic transducers electrical response to received ultrasonic energy, usually measure in \(dB\). Common values are around \(-75dB\).
Shear WavesShear waves (also called distortional, transverse or secondary waves) are waves whose particle motion is perpendicular to the direction of the wave propagation. This is opposed to longitudinal waves.
Snapback VoltageApplies to CMUT transducers only. Also see Collapse Voltage.
SonotrodeA sonotrode is a tool used in ultrasonic welding to apply the vibration energy to the material to be welded.
SPLSPL is an initialism for Sound Pressure Level. A common value for an ultrasonic transducer is \(110dB\).
Temporal ResolutionA ability to accurately locate events at a particular instant in time. Related to Spatial Resolution.
TGATGA is an initialism for Time Gain Amplifier. They are used on the front-end of ultrasonic transducer circuits to compensate for the fact that returning ultrasonic signals are attenuated the further they travel.
TOFTOF is an initialism for Time Of Flight. It is when the time is measured between emitted and received waveforms, and distance information is determined from this, when knowing the speed and which the wave travels through the medium.
TOFDTOFD is an initialism for Time Of Flight Diffraction. It is used for the non-destructive testing of weld defects.

Basic Principle

Ultrasonic sensors work by emitting high-frequency sound waves (18-50MHz), and analysing the reflected waves (including time of flight). Ultrasonic waves are longitudinal sound waves and require an elastic medium to travel through. They are normally made with a piezo-electric material that vibrates when a AC voltage is applied to it. Because piezo-electric materials convert energy in both ways (they also convert mechanical vibration into electricity), the same sensor can be used as the receiver, while some setups use separate transmitters and receivers. Smooth surfaces are hard to detect on inclined levels (e.g. only up to 10°). Rough/jagged surfaces are much easier to detect on inclined angles. The higher the ultrasound frequency, the better it will reflect of smaller objects (such as defects in materials).

Comparison Against Other Sensors

Ultrasound sensors are not effected by the translucence of the target object. For this reason they are better then photo-sensitive sensors are detecting transparent objects, or objects where there is high glare. They are also relatively cheap compared to other forms of distance sensors. Piezo-electric ultrasonic transducers are larger than most other photo-sensitive sensors.

Variations

Open and closed types. The following image shows a open type piezo-electric ultrasonic transducer commonly used by electronic hobbyists, robiticists, and the maker community, called the HC-SR04. These modules integrate easily with the Arduino microcontroller platform.

An Arduino compatible ultrasound module.

An Arduino compatible ultrasound module.

High-power types have a power rating between 40-150W. These types of ultrasonic transmitters are used for ultrasonic cleaning.

Uses

  • Ultrasound modules for tank level measurement. They normally can measure a range of liquids including water, black water, oil, petrol, diesel without any adjustment (liquid type agnostic). Range is typically from 100mm to 4m. Some have focusers made of materials such as glass-reinforced polypropylene to produce narrow beams.

  • Ultrasound cleaners are used to clean objects by vibrating the dirt/greese from them. They are commonly used to clean the resin of circuit boards after soldering.

  • High-end wind sensors (anemometers) use ultrasound to measure the wind speed and direction (or more concisely, it’s velocity).

  • Similar to anemometers, ultrasonic flowmeters can be used to determine the speed and direction of liquid within pipes.

  • Ultrasonic devices are used in the medical world for getting images of body parts (e.g. an unborn baby). Human tissue attenuates ultrasound by approximately 1dB/cm/MHz.

    The C60X medical ultrasound sensor by Sonosite. Image from http://www.sonosite.com/accessories/c60x-0.

    The C60X medical ultrasound sensor by Sonosite. Image from http://www.sonosite.com/accessories/c60x-0.

  • Parking sensors in vehicles commonly use ultrasound sensors for distance detection.

  • Manufacturing processes such as flaw detection, thickness gauging, weld inspection.

  • Ultrasonic welding is the process of using high-energy ultrasonic sound waves (20-40kHz) to soften or melt thermoplastics to join them together. Welds are very fast (typically less than a second to completion).

  • Gas leak detection (leaks usually produce a high-frequency sound).

  • Ultrasonic fuel vaporizers. They use ultrasound to vaporize fuel, usually before entering the combustion chamber on a vehicle.

  • Bat detectors. Ultrasonic bat detectors listen for the ultrasonic noises made by bats, and either graph them or convert them to the audible spectrum (heterodyning). The circuit below converts ultrasonic waves into the audible spectrum.

Common Outputs For Modules

  • 4-20mA current output
  • Voltage output (max voltage varies, usually 3.3-12V)
  • Relay outputs (both NC and NO)

Beam Pattern And Range

With a simple single transducer acting as both the receiver and transmitter, the further away the object you wish to detect, the slower your maximum sample frequency can be, as you have to wait longer for the ultrasonic wave to return.

The detection beam pattern of some ultrasonic transducers by Sonarange. Image from http://www.sntag.ch/data/Datenblatt%20e%20UPS.pdf.

The detection beam pattern of some ultrasonic transducers by Sonarange. Image from http://www.sntag.ch/data/Datenblatt%20e%20UPS.pdf.

Minimum Range

The minimum range of a single ultrasonic transmitter/receiver is primarily determined by three things:

  • The rise-time to full-power of the drive circuitry
  • The ring-down time of the transducer
  • The medium the ultrasound is travelling through

The combination of these three factors creates a dead-zone right in-front of the transducer at which the ultrasonic transceiver cannot detect anything. A larger rise-time, a larger ring-down time, or a denser medium (one which ultrasound travels faster through), will all increase the dead-zone distance. A separate transmitter/receiver circuit like the one shown below does not suffer from the first two issues.

A ultrasonic proximity detector circuit with separate transmitter and receiver. Image from http://www.datasheetarchive.com/dl/Scans-004/Scans-0082375.pdf.

A ultrasonic proximity detector circuit with separate transmitter and receiver. Image from http://www.datasheetarchive.com/dl/Scans-004/Scans-0082375.pdf.

Maximum Range

The maximum range of a ultrasonic transducer is primarily determined by:

  • The output power
  • The acoustic impedance matching between any different mediums
  • The amount of attenuation by the medium
  • The texture and angle of the surface the ultrasound bounces of
  • The sensitivity of the receiver
  • The quality of the analogue front-end receiver circuitry (especially in relation to noise)

Frequency

Higher frequency ultrasonic waveforms lose energy quicker when travelling through a medium. For this reason low-frequency (40kHZ) is normally used when air is the medium. Higher frequencies such as 1MHz are used when the medium is water or metal.

A graph showing the audible and ultrasound ranges of the sound spectrum, with subsections. Image from http://www.olympus-ims.com/data/File/panametrics/UT-technotes.en.pdf.

A graph showing the audible and ultrasound ranges of the sound spectrum, with subsections. Image from http://www.olympus-ims.com/data/File/panametrics/UT-technotes.en.pdf.

When using ultrasound for imaging, the frequency of the ultrasound determines the image resolution.

Amplitude

Strong pressure waves suffer from deformation. This generates harmonics and causes non-linear propagation.

Electrical Model

An piezo-based ultrasound transducer can be modeled as a capacitor and resistor in series. This can be represented as a parallel capacitor and resistor with a suitable electrical transformation.

Tuned Driving

See the External Resources section at the bottom of this page.

Transmission Speeds

Speed of sound through various mediums:

MediumSpeed (m/s @ 10°C)
Air331.32
Ammonia414.83
Argon301.90
Carbon Dioxide257.86 (low freq), 268.53 (high freq)
Carbon Disulfide184.71
Carbon Monoxide337.12
Chlorine205.44
Ethylene313.94
Helium969.87
Hydrogen1269.49
Methane431.90
Neon434.95
Nitric Oxide324.92
Nitrogen334.06
Nitrous Oxide261.82
Oxygen317.30
Steam (100°C)403.25

Sound Pressure Level (SPL)

The sound pressure level (SPL) is a measure of the magnitude of the sound waves from a ultrasonic transmitter. Note that SPL varies with the distance to the source, but the sound power does not. As sound travels through a medium, the magnitude of the sound pressure is reduced due to two things:

  • Attenuation due friction as the medium’s particles vibrate
  • The spreading loss due to the expanding surface area of the radiating beam as it travels outwards from the transmitter

The sound pressure decreases proportionally as the distance between the source and receiver increases, i.e. \(\rho \propto \frac{1}{r}\). The SPL at a distance R from the transmitter is given by:

$$ SPL(R) = SPL(R_0) - 20 log(\frac{R}{R_0}) - \alpha_f R $$

where:
\(SPL(R)\) = sound pressure at distance \(R\) in \(dB/1uPa\)
\(SPL(R)\) = sound pressure at distance \(R_0\) in \(dB/1uPa\)
\(\alpha(f)\) = attenuation coefficient in \(dB/unit distance\) at frequency \(f\)

It is interesting to note that the SPL threshold of pain for a human is somewhere between \(120-140dB\).

Acoustic Impedance

Acoustic impedance is the measure of opposition to deflection of a mediums particles due to sound. It has the SI units \(N \cdot s \cdot m^{-3}\) or \(Pa\cdot s \cdot m^{-1}\).

$$ Z = \rho c $$

where:
\(Z\) = acoustic impedance (\(Nsm^{-3}\))
\(\rho\) = material density
\(c\) = material sound velocity

Impedences Of Common Mediums

MediumCharacteristic Specific Acoustic Impedance (\(Pa \cdot s \cdot m^{-1}\))
Air (room temperature)415
Lead246
Steel (1020)454
Tin242

Note that acoustic impedance is also commonly expressed in the units:

$$ \frac{g}{cm^2 \cdot s} $$

where:
\( g \) = mass (in grams)
\( cm \) = centimeters
\( s \) = seconds

You can convert between the two different units with:

$$ \frac{Pa \cdot s}{m^1} = 10 \cdot \frac{g}{cm^2 \cdot s} $$

Intensity Reflection Coefficient

This determines how much intensity will be reflected at the boundary between two mediums with different acoustic impedances.

$$ IRC = (\frac{Z_2 - Z_1}{Z_2 + Z_1}) $$

Intensity Transmission Coefficient

This determines how much intensity will be transmitted at the boundary between two mediums with different acoustic impedances.

$$ ITC = 1- IRC$$

Acoustic Interface

The boundary between two mediums with different acoustic impedances is called an acoustic interface. The loss (in dB) of a sound wave travelling from medium 1 to medium 2 is given by:

$$ dB_{loss} = 10Log_{10}\frac{4 Z_1 Z_2}{(Z_1 + Z_2)^2}$$

where:
\(Z_1\) = acoustic impedance of the first medium
\(Z_2\) = acoustic impedance of the second medium

Classification Of Detected Object Shapes

Detected objects can be classified as follows:

  • (A) Flat-surface objects such as fluids, boxes, paper, and windows
  • (B) Cylindrical objects such as cans, bottles and human bodies
  • (C) Powders and chunky objects such as minerals, rocks, coal, plastic, rubbish

CMUTs

CMUTs use a change in capacitance to perform energy transduction. They are micromachined (i.e. small), and therefore easier to assemble into 2D and 3D arrays than traditional piezo transducers. They have a large frequency bandwidth.

Ultrasonic Humidifiers

Ultrasonic humidifiers vibrates a diaphragm immersed in water at higher-than-hearing frequencies (much higher that hearing — 1.7MHz can be used1). The vibrations “push” tiny droplets of water into the air to create water vapour and a humid environment. They are used as a more energy efficient and quieter alternative to evaporative humidifiers2.

A toy kettle which uses an ultrasonic humidifier to create water vapour and give the impression of steam.

A toy kettle which uses an ultrasonic humidifier to create water vapour and give the impression of steam.

The exact mechanism of creating water vapour from ultrasound seems to be a mixture of cavitation and capillary wave action which creates the water vapour. Cavitation due the amplitude of the ultrasonic sound waves creates small vacuum bubbles. This creates crossed capillary waves, where small droplets are released from the waves crest on the surface of the water1.

Further Reading

The Olympus Ultrasonic Transducers Technical Notes is a great document explaining some of the basics of ultrasonic transducers and related equations. If the link is dead, you can use the local download.

A technical resource on ultrasonic flowmeter basics can be found at http://www.sensorsmag.com/sensors/acoustic-ultrasound/ultrasonic-flowmeter-basics-842.

For information on how to tune circuits with piezo transducers in them, see http://traktoria.org/files/sonar/system_design/notes_on_the_design_of_matching_systems_for_piezo_elements.pdf . If the link is dead (which it has been since Dec 2017), you can use the local download.

A good journal article on ultrasound losses in air is at http://www.ktu.lt/ultra/journal/pdf_50_1/50-2004-Vol.1_09-A.Vladisauskas.pdf Cypress - Automotive Ultrasonic Distance Measurement For Park Assist Systems is a good document describing an ultrasonic system built from a transducer and a PSoC 1 microcontroller. You can also use the [local download](/docs/Cypress - Automotive Ultrasonic Distance Measurement For Park Assist Systems.pdf).

Maxim - Proximity Detector Features In Ultrasonic Transducers shows a good circuit when using a separate transmitter and receiver. You can also use the [local download link](/docs/Maxim - Proximity Detector Features Ultrasonic Transducers.pdf).

References


  1. Rotasystem. Ultrasonic Humidification. Retrieved 2023-07-04, from https://www.rotasystem-english.com/air-humidification/ultrasonic-humidification/↩︎ ↩︎

  2. Sylvane (2021, Nov 18). How Do Ultrasonic Humidifiers Work? [Web Page]. Retrieved 2023-07-04, from https://www.sylvane.com/blog/how-do-ultrasonic-humidifiers-work-html↩︎


Authors

Geoffrey Hunter

Dude making stuff.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License .

Tags

    comments powered by Disqus