Algorithm Search⌘K

Techniquecore

FMCW radar processing

Also called frequency-modulated continuous-wave radar, dechirp processing.

Mixes the echo of a continuous linear chirp with the transmitted chirp, so that range becomes the beat frequency 2 R B / (c T_c), found by an FFT. A second FFT over the chirps gives the speed.

An FMCW radar transmits a continuous linear chirp: its frequency rises by the bandwidth BB over the chirp time TcT_c, then starts again. The echo of a target at range RR is the same chirp delayed by τ=2R/c\tau = 2R/c. A mixer multiplies the echo by the conjugate of the chirp that is being sent at that moment, and the result is a tone at the beat frequency fb=(B/Tc)τ=2RB/(cTc)f_b = (B/T_c)\tau = 2RB/(cT_c). So the range becomes a frequency, and an FFT of the mixer output finds every target at once. A second FFT across many chirps gives the Doppler shift, as in range-Doppler processing. The receiver needs a sample rate set by the largest beat frequency, not by BB: a few MHz in place of hundreds. This is one reason why most automotive radars use FMCW.

In plain words

Send a tone whose pitch rises at a steady rate. When the echo comes back, the transmitter has already moved to a higher pitch. The difference between the pitch you send now and the pitch you hear now is the same during the whole chirp, and it is larger for a farther target. Mix the two and you get a tone at exactly that difference. Take an FFT of the mixed signal and each target is a peak, at a frequency proportional to its range. Repeat the chirp many times. A moving target shifts the phase of its tone a little from chirp to chirp, so a second FFT across the chirps gives the speed.

When it applies

  • The radar can transmit and receive at the same time, with enough isolation between the two antennas or channels, because the transmitter never stops.
  • The ranges of interest are short or medium, up to a few hundred meters for cars or a few kilometers for altimeters, so the largest beat frequency stays within a low sample rate.
  • The chirp is linear in frequency, or can be corrected to be. A nonlinear sweep turns each beat tone into a chirp of its own and smears the range peak.
  • The target moves little during one chirp. Then the Doppler shift adds a small constant offset to the beat frequency, and the phase change across chirps carries the speed.

The template

The input is the transmitted chirp of slope K=B/TcK = B/T_c, the number of chirps MM, the sample rate fsf_s of the mixer output, and Ns=fsTcN_s = f_s T_c samples per chirp. The holes are the mixer (analog or digital, real or complex), the window, the detector and the conversion of bin indices to range and speed.

  1. FMCW-PROCESS(echo, chirp, M, N_s, f_s, window, detector)
  2. 1for m <- 0 to M - 1
  3. 2b[m][n] <- echo of chirp m at sample n times conj(chirp at sample n) ▷ the mixer: beat signal
  4. 3b[m] <- window(b[m])
  5. 4X[m][.] <- FFT(b[m]) ▷ range FFT: bin k is f_b = k f_s / N_s
  6. 5for each range bin k: Y[.][k] <- FFT over m of X[m][k] ▷ Doppler FFT across chirps
  7. 6peaks <- detector(|Y|^2) ▷ for example a CFAR
  8. 7for each peak (d, k): R <- k (f_s / N_s) c T_c / (2B); v <- f_D lambda / 2 with f_D = d / (M T_c)

Why the mixer gives a tone. The chirp is s(t)=ejπKt2s(t) = e^{j\pi K t^2} for 0≤t<Tc0 \le t < T_c. The echo is a s(t−τ)a\, s(t - \tau). Then

a s(t−τ) s(t)‾=a ejπK(t−τ)2−jπKt2=a e−j2πKτt ejπKτ2,a\, s(t - \tau)\, \overline{s(t)} = a\, e^{j\pi K (t - \tau)^2 - j\pi K t^2} = a\, e^{-j 2\pi K\tau t}\, e^{j\pi K\tau^2},

a tone at the frequency −Kτ-K\tau, whose size is Kτ=2RB/(cTc)K\tau = 2RB/(cT_c), with a constant phase πKτ2\pi K \tau^2, the residual video phase. The tone holds for τ≤t<Tc\tau \le t < T_c, so the part of each chirp in which the echo of the farthest target has not arrived yet is discarded or ignored.

Resolution. The tone lasts about TcT_c, so the FFT resolves frequencies 1/Tc1/T_c apart, which is the range step (1/Tc) cTc/(2B)=c/(2B)(1/T_c)\, cT_c/(2B) = c/(2B). The range resolution depends only on the bandwidth, as for a pulse with pulse compression.

The largest range. With complex samples at rate fsf_s, the beat frequency must be below fsf_s, so Rmax⁡=fscTc/(2B)R_{\max} = f_s c T_c/(2B). With real samples it is half of that.

Speed. A target at speed vv adds the phase 2πfDTc2\pi f_D T_c per chirp, with fD=2v/λf_D = 2v/\lambda. The FFT of line L5 resolves Δv=λ/(2MTc)\Delta v = \lambda/(2 M T_c), and the speed is unambiguous within ±λ/(4Tc)\pm\lambda/(4T_c).

Check values. B=300B = 300 MHz and Tc=50T_c = 50 μs give the slope K=6K = 6 MHz/μs. A target at 50 m gives fb=2.0014f_b = 2.0014 MHz, and one at 100 m gives 4.0028 MHz. The range resolution is c/(2B)=0.4997c/(2B) = 0.4997 m. With complex sampling at fs=10f_s = 10 MHz, Rmax⁡=249.8R_{\max} = 249.8 m; with real sampling, 124.9 m. At 77 GHz (λ=3.893\lambda = 3.893 mm), a target at 20 m/s has fD=10.27f_D = 10.27 kHz. With M=128M = 128 chirps, the speed resolution is 0.304 m/s, and the unambiguous speed is ±19.47\pm 19.47 m/s. The residual video phase at 100 m is πKτ2=8.39\pi K \tau^2 = 8.39 rad, the same for every chirp.

Classic examples

  • Automotive radar. Radars at 77 GHz send fast chirps of tens of microseconds, take the range FFT and the Doppler FFT of the range-Doppler processing template, and detect with ordered-statistic CFAR or cell-averaging CFAR. Several receive antennas add a third FFT, over angle.
  • Stretch processing of a pulsed chirp. A wideband linear FM pulse can be mixed with a delayed copy of itself in the same way, which turns a short window of ranges into low frequencies. This is the same step in a pulsed radar, with a reference chirp at a chosen range.
  • Radar altimeters and level gauges. An altimeter measures the height of an aircraft, and a level gauge measures the height of a liquid in a tank, both as the beat frequency of a single strong target.
  • Compared with stepped frequency. A stepped-frequency waveform covers the same bandwidth in discrete steps and gets the range profile by an inverse DFT over the steps. FMCW sweeps continuously and gets it by an FFT over time.

Variations

  • Triangular sweep. An up-chirp followed by a down-chirp. The Doppler shift adds to the beat frequency of one and subtracts from the other, so the sum and the difference of the two beat frequencies give range and speed for one target. With many targets, the pairing of the peaks is ambiguous.
  • Fast chirps (chirp sequence). Many short chirps, with the speed from the second FFT, as in the template. The Doppler shift within a chirp is then a small range offset.
  • Real and complex mixers. A real mixer is cheaper but folds negative frequencies onto positive ones, which halves the usable range and adds images of the leakage.
  • MIMO FMCW. Several transmitters in time, Doppler or code division give a virtual array for angle estimation.
  • Joint use with communications. A chirp can carry data in its phase or its start frequency, one of the forms of integrated sensing and communication.

Pitfalls

  • The range-Doppler coupling of line L7. The Doppler shift moves the beat frequency by fDf_D, which looks like a range offset of fDcTc/(2B)f_D c T_c/(2B). At 77 GHz and 20 m/s, with Tc=50T_c = 50 μs and B=300B = 300 MHz, the offset is 0.257 m, half a range bin. With slower chirps it grows in proportion to TcT_c. See range-Doppler coupling.
  • A nonlinear sweep in line L2. If the frequency of the oscillator does not rise linearly, the beat signal of a target is not a pure tone, and the range peak spreads, more at long range. Correct the sweep, or resample the beat signal on a corrected time axis.
  • Leakage from the transmitter. The transmitter couples into the receiver at zero delay and gives a strong low frequency beat. Without a high-pass filter before line L4, its sidelobes mask close targets.
  • A sample rate too low for line L4. A target beyond Rmax⁡R_{\max} folds into a wrong range bin, and with a real mixer it also folds from negative frequencies. Use an anti-alias filter that cuts off at the largest wanted beat frequency.
  • Too many chirps for a moving target. If a target moves more than one range bin, c/(2B)c/(2B), during the MM chirps, its energy spreads over several range bins in line L5. At 0.5 m bins and 20 m/s, that happens after 25 ms.

References

  1. Linear FMCW radar techniques, A. G. Stove, IEE Proceedings F (Radar and Signal Processing) 139(5), 1992, pp. 343 to 350 (the beat frequency, the range resolution, the linearity of the sweep and the leakage from the transmitter)
  2. Mark A. Richards, Fundamentals of Radar Signal Processing, McGraw-Hill, 2005, Chapter 4, Section 4.6.5 (stretch processing of a linear FM pulse, which uses the same mixing step on a pulsed waveform)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW3 standard
  • five exercises