Sub topic 11
Doppler Shift of Echoes: Radar and Ultrasound
This chapter assumes you know the Doppler formula for a moving source and a moving observer, including its sign conventions. It also assumes basic algebra and the idea of beats from superposition. You will use the formula twice to find the frequency of an echo from a moving reflector. Then you will see how the same idea measures the speed of cars and of blood.
The problem: a reflector is both observer and source
A wave hits a moving object and bounces back. The echo's frequency differs from the transmitted frequency, even though the transmitter and receiver sit still. Measuring that difference tells you how fast the object moves.
The reflector plays two roles in sequence:
- It receives the wave. It is a moving observer, so it meets wavefronts at a shifted rate.
- It re-emits the wave. It is a moving source that radiates at the frequency it just received, so the receiver sees a second shift.
Both shifts have the same sign. A reflector that approaches raises the frequency twice. A reflector that recedes lowers it twice.
Deriving the echo formula
Let the transmitter emit frequency f. Let v be the wave speed in the medium. Let u be the reflector's speed, positive when it moves toward the transmitter. The transmitter and receiver are at the same place and at rest in the medium.
Step 1: reflector as observer. The observer is moving toward the source, so the observer formula gives
f₁ = f (v + u) / v
Step 2: reflector as source. The reflector now emits at f₁ while moving toward the receiver, so the source formula gives
f₂ = f₁ · v / (v − u)
Combine. The factors of v cancel in the middle:
f₂ = f · (v + u) / (v − u)
For a receding reflector, replace u with −u. The same formula then gives f · (v − |u|) / (v + |u|), which is below f.
The formula is not f (v + u)/v, which is only step 1. It is also not simply twice the one-way shift. The two steps multiply, they do not add.
The small-speed approximation
Radar guns and medical ultrasound work with u much smaller than v. Write the formula as
f₂ = f (1 + u/v) / (1 − u/v)
For small u/v, the geometric series gives (1 + u/v)(1 + u/v + …) ≈ 1 + 2u/v. So
Δf = f₂ − f ≈ 2 u f / v
The factor of 2 comes from the two Doppler steps. The approximation is good to the first order in u/v. For u/v = 3%, the error in the shift is about 3%, as the code below shows.
Computing echoes in Python
This script implements the exact formula and the approximation, and compares them.
def echo_frequency(f_source, reflector_speed, v_wave=343.0):
"""Frequency heard back at a stationary transmitter/receiver.
reflector_speed > 0: reflector moves toward the transmitter.
reflector_speed < 0: reflector moves away.
"""
f_at_reflector = f_source * (v_wave + reflector_speed) / v_wave
return f_at_reflector * v_wave / (v_wave - reflector_speed)
def echo_shift_approx(f_source, reflector_speed, v_wave=343.0):
"""First-order shift 2 u f / v, valid when |u| << v."""
return 2 * reflector_speed * f_source / v_wave
f = 40_000.0 # bat-like ultrasonic pulse in air, Hz
exact_in = echo_frequency(f, 10.0)
exact_out = echo_frequency(f, -10.0)
print(round(exact_in, 1)) # about 42402.4 Hz, approaching
print(round(exact_out, 1)) # about 37733.7 Hz, receding
print(round(exact_in - f, 1)) # about 2402.4 Hz exact shift
print(round(echo_shift_approx(f, 10.0), 1)) # about 2332.9 Hz approximationNotice that the approaching and receding shifts are not equal and opposite: +2402 Hz against −2266 Hz. The exact formula is slightly asymmetric. The approximation makes the shifts symmetric, which is part of why it is only an approximation.
Radar: electromagnetic waves, same idea
A police radar gun transmits a microwave at a fixed frequency, for example 24.125 GHz. The wave travels at c, about 3.00 × 10⁸ m/s, and reflects from a car. The gun mixes the echo with its own transmitted signal and reports the beat frequency, which is the difference f₂ − f. This is the beat idea from the superposition chapter, used as a measuring tool. A shift of a few kilohertz on a 24 GHz carrier is hard to measure directly. Measuring the beat is easy.
Because u/c is around 10⁻⁷ for a car, the approximation is extremely good:
Δf ≈ 2 u f / c
C = 299_792_458.0 # speed of light, m/s
def radar_beat_hz(f_carrier_hz, target_speed_ms):
"""Beat frequency for a target approaching at target_speed_ms."""
return 2 * target_speed_ms * f_carrier_hz / C
def radar_speed_ms(f_carrier_hz, beat_hz):
"""Invert the relation to get target speed from the measured beat."""
return beat_hz * C / (2 * f_carrier_hz)
beat = radar_beat_hz(24.125e9, 30.0) # 30 m/s is 108 km/h
print(round(beat, 1)) # about 4828.4 Hz
print(round(radar_speed_ms(24.125e9, beat), 1)) # 30.0 m/sLight has no medium, so the "observer moving through the medium" picture does not apply. The correct treatment uses special relativity and depends only on the relative speed. For everyday speeds the result matches the first-order formula above, and that formula is all you need here.
Ultrasound: measuring blood flow
Doppler ultrasound sends a pulse of sound at a few megahertz into tissue. Red blood cells scatter it. The scattered echo has a shift proportional to the cells' velocity. Two details change the formula.
The wave speed is that of tissue. Use v ≈ 1540 m/s, the typical speed of sound in soft tissue. Using 343 m/s, the speed in air, gives a result off by a factor of 4.5.
The beam is rarely parallel to the flow. Only the velocity component along the beam shifts the frequency. If the angle between the beam and the flow is θ, then
Δf ≈ 2 f u cos θ / v
At θ = 90°, the flow is perpendicular to the beam and the shift is zero.
import math
def doppler_ultrasound_shift(f0_hz, flow_speed_ms, angle_deg, v_tissue=1540.0):
"""Doppler shift for scatterers moving at flow_speed_ms, with the
beam making angle_deg with the flow direction."""
return 2 * f0_hz * flow_speed_ms * math.cos(math.radians(angle_deg)) / v_tissue
def flow_speed_from_shift(f0_hz, shift_hz, angle_deg, v_tissue=1540.0):
return shift_hz * v_tissue / (2 * f0_hz * math.cos(math.radians(angle_deg)))
shift = doppler_ultrasound_shift(5e6, 0.5, 60.0)
print(round(shift, 1)) # about 1623.4 Hz, within hearing range
print(round(flow_speed_from_shift(5e6, shift, 60.0), 2)) # 0.5 m/sThe shift lands in the audible range, which is why some ultrasound machines play it through a speaker. The clinical estimate of flow speed depends strongly on cos θ. Near θ = 90° a small error in the angle produces a large error in speed, so operators keep θ below about 60°.
Comparing the three cases
| Case | Wave | Wave speed | Typical u | Typical shift |
|---|---|---|---|---|
| Bat or sonar in air | Sound, 40 kHz | 343 m/s | 10 m/s | about 2.4 kHz |
| Police radar | Microwave, 24.125 GHz | 3.00 × 10⁸ m/s | 30 m/s | about 4.8 kHz |
| Blood-flow ultrasound | Sound, 5 MHz | 1540 m/s | 0.5 m/s at 60° | about 1.6 kHz |
The shifts are all of the order of kilohertz. That is a coincidence of the design, and it is convenient for electronics and for ears.
Common errors
- Applying the one-way formula to an echo. An echo needs both steps, which gives the factor of 2 in the small-speed shift.
- Reversing the sign of u. Positive u means the reflector moves toward the transmitter. A receding reflector lowers the frequency.
- Using the wrong wave speed. Use 343 m/s for air near 20 °C, about 1540 m/s for soft tissue, and c for radar. The speed must belong to the wave that actually travels.
- Ignoring the angle. The formula uses the velocity component along the line between reflector and transmitter. Use u cos θ when the motion is not head-on.
- Forgetting that the medium may move. The formulas assume still air. Wind changes the effective wave speed in each direction, and the simple formula no longer applies.
- Treating the approximation as exact. At 10 m/s in air the approximation is off by about 3%. At 100 m/s it is off by much more, so use the exact form.
Where this leads
When u approaches v, the denominator v − u in the exact formula goes to zero. The echo frequency grows without bound, and the wavefronts pile up in front of the reflector. That limit is the subject of the next chapter, on Mach cones and shock waves.
Exercise
A stationary speaker emits a 1000 Hz tone in air at v = 343 m/s. The sound reflects from a car moving toward it at 20 m/s. What frequency does a microphone next to the speaker record for the echo? Compare the exact result with the approximation 2uf/v for the shift.
Show answer
Exact: f₂ = 1000 × (343 + 20) / (343 − 20) = 1000 × 363 / 323 ≈ 1124 Hz, so the shift is about 124 Hz. Approximation: Δf = 2 × 20 × 1000 / 343 ≈ 117 Hz. The approximation is about 6% low because u/v is already 5.8%.
Exercise
A 10 GHz radar measures a beat of 2000 Hz between the transmitted and returned signals. How fast is the target approaching? Use c = 3.00 × 10⁸ m/s.
Show answer
Using Δf ≈ 2uf/c, the speed is u = Δf × c / (2f) = 2000 × 3.00 × 10⁸ / (2 × 10 × 10⁹) = 30 m/s, which is 108 km/h.
Exercise
A 5 MHz ultrasound beam meets blood flowing at 0.5 m/s. The angle between beam and flow is 90°. What is the Doppler shift, and why? What changes if the angle is reduced to 60°?
Show answer
The shift is zero. Only the velocity component along the beam matters, and cos 90° = 0. At 60°, cos 60° = 0.5, so Δf = 2 × 5×10⁶ × 0.5 × 0.5 / 1540 ≈ 1623 Hz.