electronics engineering
Course handbook · Fifth year · Edition with space for notes
Radar Systems
Radar systems for civil, automotive, air traffic and defence applications: radar equation, propagation, radar cross section, waveforms and pulse compression, detection and CFAR, antennas and phased arrays, Doppler and MTI, clutter filtering, tracking, transmitters and receivers, FMCW automotive radar, from scan points to objects, secondary radar and ADS-B, SAR, digital radar.
- 16Topics
- 10Solved exercises
- 27Formula sheet
Free handbook generated from the lessons of the site and updated often, every time a lesson or an exercise changes: the latest version is always at www.electronics-engineering.com/handbook/radar-systems. Links work in the PDF too.
1The radar equation
A radar (radio detection and ranging) transmits electromagnetic waves and receives their echo: from the delay it obtains the range, from the antenna direction the angle, from the frequency shift the velocity. The same principle serves air traffic control and defence, weather forecasting, cars (adaptive cruise control, emergency braking), tank level measurement and Earth observation from satellites. This first lesson derives the radar equation, which tells how far a target can be seen, and the basic design quantities: resolution, ambiguity, horizon, frequency bands.
The idea in simple words
Radar works like an echo in the mountains. You shout towards a rock face and count how long it takes to hear your voice come back: the longer the time, the farther the wall. Radar does the same with radio waves instead of sound, and radio waves travel at 300 000 km per second, so the times are millionths of a second.
There is a problem, though: the echo is extremely weak. The radar’s “shout” spreads out on its way to the target, like the light of a torch lighting an ever larger circle; the target intercepts only a tiny piece of it, and sends it back spreading it out again. The power is weakened twice, on the way out and on the way back, and this is why the range of a radar grows very slowly with power. The whole lesson serves to make this idea precise.
A reminder about decibels. Radar engineers use decibels (dB) all the time, because the powers involved range from thousands of watts (the transmitter) to millionths of billionths of billionths of a watt (the echo). A power ratio
in decibels is
: +3 dB means double, +10 dB ten times, +20 dB a hundred times, −30 dB one thousandth. dBm are decibels relative to 1 milliwatt: 0 dBm = 1 mW, 30 dBm = 1 W. This way products and divisions become sums and differences.
The principle
A pulse leaves the antenna, travels at the speed of light
, hits a target and comes back. If the echo arrives after a time
, the target is at range
![]()
(the 2 because the wave makes a round trip). One microsecond of delay corresponds to 150 m. By rotating the antenna, or steering the beam electronically (lesson on phased arrays), the direction is measured too.
The radar equation
Theorem. A monostatic radar (same antenna for transmission and reception) with peak power
, antenna gain
and wavelength
receives from a target of radar cross section
at range
the power
![Rendered by QuickLaTeX.com \[ P_r = \frac{P_tG^2\lambda^2\sigma}{(4\pi)^3R^4} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-d0f1a266e3d32ff4ecd9bb2f651e4ad3_l3.png)
Proof. We follow the power in four steps.
1. An isotropic antenna would spread
over a sphere: density
. The gain
concentrates the power in the beam direction: the target receives
(W/m²).
2. The radar cross section (RCS)
is defined as the area that, intercepting
and radiating it uniformly in all directions, would give the radar the same echo as the real target: the target “sends back” the power
.
3. This power returns to the radar spreading over another sphere: density
.
4. The receiving antenna collects it with its effective area
(general relation between the gain and the area of an antenna):
.
Multiplying:
, which is the formula. ∎
The received power falls as
: doubling the range takes 16 times the power. This is the fundamental difference from a radio link, where the power falls as
.
Noise and maximum range
The receiver adds thermal noise of power
, with
Boltzmann’s constant,
K,
the bandwidth and
the noise figure. In a 1 MHz bandwidth
dBm, that is about
W. With
the losses (waveguides, radome, processing) and
the signal-to-noise ratio needed to detect the target with the desired reliability (lesson on detection), the maximum range is
![Rendered by QuickLaTeX.com \[ R_{max} = \left[\frac{P_tG^2\lambda^2\sigma}{(4\pi)^3kT_0BF\,L\,SNR_{min}}\right]^{1/4} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-5546d28ffd227f264e6cf4a67f23172d_l3.png)
Example. X-band radar:
GHz (
cm),
kW,
dB,
MHz,
dB,
dB,
dB. For a 1 m² target (a car seen from the front is of the order of 10 m², a person about 1 m²)
km. For a small drone of 0.01 m² the range drops to
km. Multiplying the power by 16 gives 18.4 km: twice as far.

The radar cross section
depends on shape, material, viewing angle and frequency, and can change by tens of decibels when the target moves by a few degrees: an airliner has 10 to 100 m², a modern fighter designed to be hard to see (shapes that reflect away from the radar, absorbing materials) less than 0.1 m². For a conducting sphere of radius
,
(its geometric cross section); for a flat plate of area
facing the radar,
, which is huge: this is why the corner reflectors on small boats and buoys are seen so well. The fluctuation of
from one look to the next is described by the Swerling statistical models.
Range resolution and ambiguity
Resolution. Two targets are told apart if their echoes do not overlap: with a pulse of duration
the resolution is
, and more generally
with
the signal bandwidth. A 1 μs pulse gives 150 m; 15 cm (as in car radars) needs 1 GHz of bandwidth. Short pulses, however, carry little energy: the solution is pulse compression (lesson on waveforms).
Ambiguity. The radar transmits pulses repeatedly at the pulse repetition frequency
. An echo arriving after the next pulse is attributed to that one and looks close: the unambiguous range is
. With a PRF of 1 kHz it is 150 km, with 10 kHz 15 km, with 100 kHz 1.5 km. The choice of the PRF is a trade-off with velocity measurement (lesson on Doppler).
The radar horizon
Waves travel almost in straight lines, the Earth is curved. The atmosphere bends the rays slightly downwards, and this is accounted for with an equivalent Earth radius of
of the real one. An antenna at height
sees the horizon at
: with a ship antenna at 10 m, a boat on the water disappears beyond 13 km; an aircraft at 10 000 m is seen up to 425 km. This is why surveillance radars are placed on mountain tops, on aircraft (AWACS) and on satellites, and why a low-flying aircraft escapes ground radars for a long time.
Frequency bands and uses
| band | frequency | typical uses |
|---|---|---|
| HF | 3-30 MHz | over-the-horizon radar (waves reflected by the ionosphere) |
| VHF, UHF | 30 MHz-1 GHz | very long range surveillance, early warning |
| L | 1-2 GHz | en-route air traffic control, secondary radar (1030/1090 MHz) |
| S | 2-4 GHz | airport approach radars, weather, naval |
| C | 4-8 GHz | weather, Earth observation satellites (SAR) |
| X | 8-12 GHz | naval, fire control, short range weather, SAR |
| Ku, K, Ka | 12-40 GHz | altimeters, airport surface movement radars, police |
| W | 75-110 GHz | cars (76-81 GHz), industrial sensors |
Low frequencies: large antennas, little attenuation, long ranges but poor angular resolution. High frequencies: small antennas and narrow beams, plenty of bandwidth (high resolution), but more attenuation from rain and the atmosphere.
Summary
- Range comes from the echo delay:
, 150 m per microsecond. - The echo power falls as
: doubling the range takes 16 times the power, or an antenna with 4 times the gain. - Range is limited by receiver noise; what matters is the signal-to-noise ratio.
- The radar cross section
tells “how visible” an object is, and can change enormously with the angle. - Range resolution depends on bandwidth (
); the PRF sets the unambiguous range (
). - The curvature of the Earth limits the view: to see far you must be high up.
The calculation in Python
import numpy as np
c, k = 299792458.0, 1.380649e-23
dB = lambda x: 10 ** (x / 10) # from decibels to ratio
f, Pt, G, sigma = 10e9, 1e3, dB(35), 1.0 # X band, 1 kW, 35 dB, 1 m^2
B, F, L, snr = 1e6, dB(3), dB(6), dB(13) # bandwidth, noise figure, losses, minimum SNR
lam = c / f
Rmax = (Pt * G**2 * lam**2 * sigma / ((4 * np.pi)**3 * k * 290 * B * F * L * snr)) ** 0.25
print(f"maximum range for 1 m^2: {Rmax / 1e3:.2f} km")
print(f"0.01 m^2 drone: {Rmax * 0.01**0.25 / 1e3:.2f} km; with 16 times the power: {Rmax * 16**0.25 / 1e3:.2f} km")
print(f"thermal noise in 1 MHz: {10 * np.log10(k * 290 * B / 1e-3):.1f} dBm")
print(f"resolution with 1 MHz of bandwidth: {c / (2 * B):.0f} m; with 1 GHz: {c / (2 * 1e9) * 100:.0f} cm")
for prf in (1e3, 10e3, 100e3):
print(f"PRF {prf / 1e3:5.0f} kHz: unambiguous range {c / (2 * prf) / 1e3:7.2f} km")
RE = 6371e3
horizon = lambda h: np.sqrt(2 * 4 / 3 * RE * h) # equivalent Earth radius 4/3
print(f"horizon from 10 m: {horizon(10) / 1e3:.0f} km; aircraft at 10 km altitude: {(horizon(10) + horizon(10e3)) / 1e3:.0f} km")Running it prints 9.19 km, 2.91 and 18.38 km, −114 dBm, 150 m and 15 cm, 150, 15 and 1.5 km, 13 and 425 km. At the bottom of the page there is a link to an introductory video lecture on radar systems.
Exercises
Exercises on radar systems of the kind found in exams, at three levels: basic, with the fundamental formulas (range, radar equation in decibels, Doppler, pulse compression); intermediate, with design choices (blind speeds, detection, arrays, clutter); exam, with the design of an automotive radar and the analysis of a real satellite SAR. Constants:
m/s,
dBm/Hz. The result is given at once; the full solution, step by step and with the graph, opens with a click. The proofs of the formulas are in the lessons of the course.
Basic level
Exercise 1. Range and ambiguity
A radar receives an echo 400 μs after transmitting a pulse. How far is the target? If the radar transmits with a PRF of 2 kHz, what is the unambiguous range, and where does a target located at 90 km appear?
Exercise 2. The radar equation in decibels
An S-band radar (3 GHz) transmits 100 kW peak with a 30 dB antenna. Compute the power received from a 2 m² aircraft at 50 km, and the signal-to-noise ratio with 1 MHz of bandwidth and a 3 dB noise figure.
Exercise 3. The Doppler of a car
A 24 GHz police radar measures a car approaching at 120 km/h. What is the Doppler shift? And if the radar is at the side of the road and sees the car at an angle of 30° to the direction of travel?
Exercise 4. Pulse compression
A radar transmits a 50 μs chirp with 5 MHz of bandwidth. Compute the compression ratio, the range resolution and the blind zone in front of the radar. How long would a simple pulse with the same resolution be, and how much more peak power would be needed for the same energy?
Intermediate level
Exercise 5. Blind speeds and staggered PRF
An S-band surveillance radar (3 GHz) uses a two-pulse MTI canceller. Compute the first blind speed with a PRF of 1000 Hz and of 1250 Hz. Alternating the two PRFs, what is the first common blind speed? In the range from 20 to 240 m/s, what is the worst response when the better of the two PRFs is chosen for each speed?
Exercise 6. Constant and fluctuating target
With
and an SNR of 15 dB on a single pulse, compute
for a constant target and for a Swerling 1 target. With how many dB per pulse is
obtained (constant target) integrating 10 pulses non-coherently?
Exercise 7. Designing an array
A linear array of 64 elements is spaced
. Up to what angle can it be steered without grating lobes? How wide is the beam at broadside and at 40°? What phase shift between adjacent elements is needed to steer to 40°?
Exercise 8. How much the MTI must cancel
A radar with a 1.2° beam and a 0.5 μs compressed pulse looks at a small 0.5 m² light aircraft at 30 km, over terrain with
dB. Compute the clutter radar cross section, the signal-to-clutter ratio, the improvement factor needed to reach 13 dB, and the maximum compatible transmitter phase noise.
2Propagation effects
The radar equation of the first lesson assumes that the wave travels in a vacuum, in a straight line, without losses. In the real atmosphere, above a curved Earth that is often covered by water, things are different: the sea reflects the wave and creates multipath that reinforces or cancels the echo; the air bends the rays; rain and gases absorb energy; mountains and the horizon hide targets; the ionosphere reflects short waves. This lesson explains each of these effects and shows how they enter the radar equation through a single factor, the pattern propagation factor
.
The idea in simple words
Think of someone talking on the shore of a calm lake: a listener on the other side receives two voices, the direct one and the one reflected by the water, which arrives with a small delay. Depending on the position, the two voices add up (louder sound) or cancel (almost no sound). Radio waves above the sea do exactly this, and the radar sees the target intermittently: strong at some ranges, invisible at others.
Then there is the air, which is not uniform: it is denser at low altitude, and waves travel slightly slower where the air is denser. As light does in a mirage, the ray bends downwards and the radar sees a little beyond the geometric horizon; sometimes, in particular conditions, much beyond. Finally rain: drops absorb and scatter the waves, more and more as the frequency increases.
The propagation factor
All effects enter the radar equation by multiplying the received power by
and dividing by the atmospheric losses
:
![Rendered by QuickLaTeX.com \[ P_r = \frac{P_tG^2\lambda^2\sigma}{(4\pi)^3R^4}\cdot\frac{F^4}{L_a} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-c6ce34137ec47c71f39f22a57ba324d3_l3.png)
is the ratio between the field that actually reaches the target and the field that would reach it in free space; it appears to the fourth power because the path is travelled twice (out and back) and power is the square of the field. In free space
.
Multipath over the sea
A radar at height
and a target at height
, at range
much larger than the heights, above a flat and smooth surface (the calm sea, at low grazing angles, reflects almost everything with a coefficient of about
).
Theorem. Under these assumptions
![]()
Proof. The direct ray travels
; the reflected one, by the method of images, behaves as if it started from a “mirrored” antenna at height
, and travels
. For
, with
, the path difference is
. The total field is
with
:
with
. ∎
The consequences:
oscillates between 0 and 2: where it is 2 the echo power is
times (+12 dB) the free-space value; where it is 0 the target disappears. The vertical pattern of the antenna breaks into lobes.- The last maximum is at
; beyond it the argument of the sine is small,
, and the received power goes as
: it falls much faster than in free space.
Example. X-band ship radar with the antenna at 20 m, anti-ship missile flying 5 m above the water. The last lobe is at 13 km (+12 dB); nulls at 6.7, 3.3, 2.2 km…; between 20 and 27 km the power falls by 8.9 dB, already close to the 10.4 dB of the
law; and at 27.6 km is the radar horizon. This is why sea-skimming missiles are so hard to see: they appear late and intermittently.

In reality a rough sea reflects less (the reflection coefficient falls with roughness, Rayleigh criterion), and the curvature of the Earth reduces the effective heights and spreads the reflected ray: the nulls are less deep, but the phenomenon remains. It is countered by changing frequency (the lobes move), or by using antennas at several heights or different polarisations.
Refraction and the horizon
The refractive index of air is just above 1 (about 1.0003 at ground level) and is expressed through the refractivity
, about 300 N units at sea level. In a “standard” atmosphere
decreases with height by about 39 units per km. A ray crossing a medium whose index decreases upwards bends downwards, with radius of curvature
.
The equivalent radius trick. Instead of drawing curved rays over a curved Earth, one draws straight rays over an Earth with a larger radius,
, chosen so that the relative curvature stays the same:
, hence
![Rendered by QuickLaTeX.com \[ k = \frac{1}{1 + R_E\,\frac{dn}{dh}} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-e410030fb07c101e7f9bea01c0f96caa_l3.png)
With
N/km we get
, the value used in the first lesson for the radar horizon
.
Super-refraction and ducts. Above a warm sea, or with temperature inversions, the gradient can become much stronger: with −100 N/km,
and the radar sees much farther than usual; at −157 N/km the curvature of the ray equals that of the Earth (
infinite): the wave is trapped in a duct and can travel hundreds of kilometres. The radar then sees very distant coasts as if they were close targets (with range ambiguities) and clutter increases. Conversely, in sub-refraction the horizon shrinks and shadow zones appear.
Diffraction. Beyond the horizon or behind a mountain the wave does not stop abruptly: a small part arrives by diffraction (like sound around a corner), but it decreases quickly, the more so the higher the frequency. Low frequencies (VHF, UHF) “bend” better around obstacles.
Atmospheric absorption and rain
Gases. Oxygen and water vapour absorb microwaves, with absorption lines at 22 GHz (vapour), 60 GHz and 119 GHz (oxygen). Below 10 GHz the clear-air absorption is small (in X band about 0.01 dB/km one way); at 60 GHz it is about 15 dB/km, so strong that this band is used for very short range communications that must not disturb farther away. The 77 GHz car radar sits in a “window” between the lines.
Rain. The specific attenuation of rain is expressed as
dB/km, with
the rain rate in mm/h and
,
tabulated as functions of frequency (ITU-R Recommendation P.838). In X band (
,
): 0.09 dB/km for light rain of 5 mm/h, 0.70 dB/km for 25 mm/h, 1.66 dB/km for a 50 mm/h thunderstorm. Crossing 10 km of thunderstorm, out and back, 33 dB are lost: the target behind the storm disappears. In S band the attenuation is tens of times smaller: this is why long-range surveillance radars and large weather radars work at low frequencies, while high-frequency radars are used where distances are short. Rain, besides attenuating, reflects: it is the volume clutter of the lesson on clutter, and it is the useful signal of weather radars.
The ionosphere and over-the-horizon radars
Above 80 km the ionosphere, a layer of ionised gas, reflects short waves (HF, 3-30 MHz). Over-the-horizon (OTH) radars exploit this natural mirror: the wave goes up, is reflected, comes down 1000-3000 km away and illuminates aircraft and ships far beyond the horizon. Performance depends on the time of day, the season and solar activity, which change the height and density of the ionosphere, and resolution is poor (low frequencies, little bandwidth); but coverage is huge. At higher frequencies the ionosphere is crossed, with smaller effects: delays and rotation of the polarisation (Faraday rotation, seen in the Electromagnetic Fields course), important for space radars and for L- and P-band SARs.
Summary
- Propagation effects enter the radar equation as
. - Above a reflecting surface (the sea) the direct and reflected rays interfere: lobes up to +12 dB and nulls, then a decay as
at low angles. Low targets are seen late. - Refraction bends rays downwards: the equivalent Earth radius
is used; with strong gradients ducts form and the radar sees very far. - Gases and rain attenuate, more and more as frequency increases: S and L bands for long ranges, X band and above for short ones.
- The ionosphere reflects short waves and makes over-the-horizon radars possible.
The code
import numpy as np
c = 299792458.0
f = 10e9; lam = c / f # X band
ha, hb = 20.0, 5.0 # ship antenna at 20 m, missile 5 m above the sea
# 1) multipath over a flat reflecting surface (coefficient -1): propagation factor F
print(f"last maximum (F = 2, +12 dB in power) at {4 * ha * hb / lam / 1e3:.0f} km")
print("nulls at", ", ".join(f"{2 * ha * hb / (lam * k) / 1e3:.1f}" for k in (1, 2, 3)), "km")
RE = 6371e3
horizon = np.sqrt(2 * 4 / 3 * RE * ha) + np.sqrt(2 * 4 / 3 * RE * hb)
print(f"radar horizon for this geometry: {horizon / 1e3:.1f} km")
for Rk in (13.3e3, 20e3, 27e3):
Fk = 2 * abs(np.sin(2 * np.pi * ha * hb / (lam * Rk)))
print(f"at {Rk / 1e3:.0f} km: F^4 = {40 * np.log10(Fk):.1f} dB (free space = 0 dB)")
Rl = np.array([20e3, 27e3])
F4 = 40 * np.log10(2 * np.abs(np.sin(2 * np.pi * ha * hb / (lam * Rl))))
print(f"from 20 to 27 km: F^4 falls by {F4[0] - F4[1]:.1f} dB, free space (R^-4) by {40 * np.log10(27 / 20):.1f} dB; in total {F4[0] - F4[1] + 40 * np.log10(27 / 20):.1f} dB, R^-8 would give {80 * np.log10(27 / 20):.1f} dB")
# 2) refraction: equivalent Earth radius from the refractivity gradient N = (n - 1) 1e6
for dN in (-39, -100, -157): # N units per km
den = 1 + RE * dN * 1e-9
k = 1 / den if den > 0 else np.inf
print(f"dN/dh = {dN:4d} N/km: k = {k:.2f}" + (" (duct: the ray follows the Earth)" if den <= 0 else ""))
# 3) rain attenuation in X band: gamma = k R^alpha (ITU-R P.838, 10 GHz, horizontal polarisation)
kp, alpha = 0.01217, 1.2571
for rain in (5, 25, 50):
g = kp * rain ** alpha
print(f"rain {rain:2d} mm/h: {g:.2f} dB/km, out and back through 10 km of rain {2 * 10 * g:.1f} dB")Running it prints 13 km for the last lobe, the nulls at 6.7, 3.3 and 2.2 km, the horizon at 27.6 km,
of 12.0, 9.5 and 5.9 dB at 13, 20 and 27 km, the 8.9 dB decrease against the 10.4 dB of the
law,
and 2.76 and the duct at −157 N/km, and 1.8, 13.9 and 33.3 dB of attenuation in the three rain cases.
3Target radar cross section
In the radar equation the target enters with a single number, the radar cross section
(RCS). But that number hides a lot of physics: it depends on how large the object is compared with the wavelength, on its shape, material and viewing angle, and it changes from one pulse to the next. This lesson explains what the radar cross section depends on, with the sphere as an exactly computed example, the formulas for simple shapes, why a complex target “scintillates”, the Swerling statistical models and how much fluctuation costs in range, and finally the ideas behind radar cross section reduction (stealth).
The idea in simple words
The radar cross section is “how large an object looks” to the radar, and it is often very different from its real size. A mirror facing you sends all the light back into your eyes and looks dazzling; the same mirror tilted by a few degrees sends the light elsewhere and looks dark. To a radar, a metal plate facing it is “huge”, a sphere of the same diameter small, a tilted surface almost invisible.
An aircraft is made of many surfaces and edges, each of which sends back an echo. The echoes add up with different phases, like waves on a pond: if the aircraft turns slightly, the phases change and the sum jumps from large to small. This is why the echo of a real target fluctuates, and the radar must take it into account.
The three regions: Rayleigh, resonance, optical
The behaviour depends on the ratio between the size of the object and the wavelength. For a sphere of radius
one uses
:
- Rayleigh region (
, small object):
, that is
. The radar cross section grows with the fourth power of frequency. This is the regime of raindrops (lesson on SAR and weather radars) and insects; - resonance region (
, size similar to
): the wave travelling around the sphere (“creeping” wave) interferes with the one reflected by the front;
oscillates, with a maximum of 3.65 times the geometric area at
; - optical region (
, large object):
, the geometric area, independent of frequency. The oscillations die out.
These values come from Mie’s exact solution (1908) for scattering by a conducting sphere, a series of spherical Bessel functions that the code computes: for
the series coincides with Rayleigh’s formula, for
it gives 0.97.

Simple shapes
In the optical region some shapes have simple formulas (with incidence in the most favourable direction):
| object | example in X band ( | |
|---|---|---|
| sphere of radius | ||
| flat plate of area | 1 m²: 14 000 m² (41.4 dBsm) | |
| trihedral corner reflector of edge | ||
| cylinder of radius |
(dBsm = decibels relative to 1 m²). Two important lessons. A flat surface facing the radar is a formidable reflector, but its radar cross section collapses as soon as it is tilted (the reflected beam is about
wide). The trihedral corner reflector (three perpendicular plates, the corner of a box) instead sends the wave back towards the source over a wide range of angles: it is the reflector of buoys and fibreglass boats, which would otherwise be almost invisible, and the calibration target of radars.
Why a target scintillates
A complex target can be thought of as many point scatterers, each with its amplitude
and its range
:
![Rendered by QuickLaTeX.com \[ \sigma = \Big|\sum_i\sqrt{\sigma_i}\,e^{-j4\pi R_i/\lambda}\Big|^2 \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-f79c4faab36e79e611350cf71c1fd867_l3.png)
The
(not
) comes from the round trip. Already with two equal scatterers a distance
apart, seen at an angle
from broadside, the path difference is
and
, which oscillates between 0 and
with an angular period of
radians: with
m in X band, one maximum every 0.86°. A 30 m aircraft changes its radar cross section completely for rotations of hundredths of a degree: turbulence is enough.
The Swerling models
Peter Swerling (1960) proposed four statistical models, now standard:
| model | distribution of | when it changes | typical target |
|---|---|---|---|
| Swerling 0 (or 5) | constant | never | sphere, calibration reflector |
| Swerling 1 | exponential (many similar scatterers) | from scan to scan | aircraft seen by a surveillance radar |
| Swerling 2 | exponential | from pulse to pulse | aircraft with frequency agility |
| Swerling 3 | chi-square with 4 degrees of freedom (one dominant scatterer plus many small ones) | from scan to scan | missile, ship |
| Swerling 4 | chi-square with 4 degrees of freedom | from pulse to pulse |
The cost of fluctuation. With a single pulse and a Swerling 1 target, the probability of detection has a closed form:
. Solving for the signal-to-noise ratio:
. For
and
it takes 21.1 dB, against the 13.1 dB of a constant target (Albersheim’s formula, lesson on detection): 8 dB of fluctuation loss. With range going as the fourth root of power, this means losing 37 % of the range. The reason: a fluctuating target spends part of the time in a deep “hole”, and to have 90 % probability a huge margin is needed. The remedy is diversity: integrating several pulses at different frequencies (which see the target with different phases, turning Swerling 1 into Swerling 2) reduces the loss to a few dB. The code checks the formula with a simulation: at the computed ratio, the detection rate is 0.899.
Radar cross section reduction
Stealth aircraft and ships are not invisible: they have a much reduced radar cross section, by 20-40 dB, in the directions and at the frequencies they are designed for. The techniques:
- shaping: flat tilted surfaces and edges aligned along few directions, so that specular reflections go away from the radar and concentrate in a few narrow “flashes”; no right angles (which act as corner reflectors); hidden air intakes and engines;
- absorbing materials (RAM, radar absorbing materials): paints with ferrites, resistive layers a quarter wavelength from the conducting surface (Salisbury screen) that cancel the reflection by interference;
- treatment of edges and cavities: sawtooth edges on panel joints, screens over cavities.
The limits follow from the physics of this lesson: shaping works in the optical region; at low frequencies (VHF and UHF), where parts of the aircraft are comparable to the wavelength, one enters the resonance region and shaping loses effectiveness, and absorbing materials would have to be too thick. Bistatic radars, which receive from directions different from that of transmission, also collect the reflections sent “elsewhere” (lesson on SAR, weather and electronic warfare).
Summary
- The radar cross section depends on the ratio between size and wavelength:
for small objects (Rayleigh), oscillating around
(resonance), constant and geometric for large objects (optical). - Plates facing the radar and corner reflectors have huge radar cross sections; tilted surfaces almost none.
- Several scatterers interfere: the radar cross section of a real target fluctuates with angle and frequency.
- The Swerling models describe the fluctuation; with one pulse, at
, fluctuation costs about 8 dB, partly recovered with frequency diversity. - Radar cross section reduction uses shape and materials, and is effective mainly at high frequencies.
The code
import numpy as np
from scipy.special import spherical_jn, spherical_yn
# 1) conducting sphere: exact radar cross section (Mie series), normalised to the geometric area pi a^2
def sphere(ka, nmax=60):
n = np.arange(1, nmax + 1)
j, y = spherical_jn(n, ka), spherical_yn(n, ka)
jd, yd = spherical_jn(n, ka, True), spherical_yn(n, ka, True)
h, hd = j + 1j * y, jd + 1j * yd
a = j / h # scattered field coefficients (perfectly conducting sphere)
b = (j + ka * jd) / (h + ka * hd)
return abs(np.sum((-1) ** n * (2 * n + 1) * (b - a))) ** 2 / ka ** 2
for ka in (0.1, 0.5, 1.0, 1.5, 2.0, 5.0, 20.0):
print(f"ka = {ka:5.1f}: sigma/(pi a^2) = {sphere(ka):.4f}" + (f" (Rayleigh 9 (ka)^4 = {9 * ka ** 4:.4f})" if ka <= 0.5 else ""))
kk = np.linspace(0.5, 2.0, 1501)
s = np.array([sphere(x) for x in kk])
print(f"resonance maximum: {s.max():.2f} at ka = {kk[s.argmax()]:.2f}")
# 2) simple shapes in X band
lam = 0.03
print(f"1 m x 1 m plate facing the radar: {10 * np.log10(4 * np.pi / lam ** 2):.1f} dBsm")
print(f"trihedral reflector with 0.3 m edge: {10 * np.log10(4 * np.pi * 0.3 ** 4 / (3 * lam ** 2)):.1f} dBsm")
print(f"sphere of radius 0.3 m: {10 * np.log10(np.pi * 0.3 ** 2):.1f} dBsm")
# 3) two equal scatterers 1 m apart: the radar cross section changes with the viewing angle
th = np.radians(np.linspace(0, 10, 100001))
sig = np.abs(1 + np.exp(1j * 4 * np.pi * 1.0 * np.sin(th) / lam)) ** 2
print(f"two scatterers 1 m apart: sigma from {sig.min():.3f} to {sig.max():.1f} times that of one; a maximum every {np.degrees(lam / 2):.2f} degrees")
# 4) fluctuation (Swerling 1) versus constant target: SNR required for Pd = 0.9 and Pfa = 1e-6 with one pulse
Pd, Pfa = 0.9, 1e-6
sw1 = np.log(Pfa) / np.log(Pd) - 1 # from Pd = Pfa^(1/(1+SNR))
A, B = np.log(0.62 / Pfa), np.log(Pd / (1 - Pd))
const = A + 0.12 * A * B + 1.7 * B # Albersheim, constant target
print(f"required SNR: constant {10 * np.log10(const):.1f} dB, Swerling 1 {10 * np.log10(sw1):.1f} dB, fluctuation loss {10 * np.log10(sw1 / const):.1f} dB")
rng = np.random.default_rng(0)
M = 400000
threshold = np.sqrt(-np.log(Pfa)) # amplitude threshold with unit noise power
sigma_t = rng.exponential(1.0, M) * sw1 # exponential radar cross section (Swerling 1), mean sw1
echo = np.sqrt(sigma_t) * np.exp(1j * rng.uniform(0, 2 * np.pi, M)) + (rng.normal(size=M) + 1j * rng.normal(size=M)) / np.sqrt(2)
print(f"Monte Carlo check with Swerling 1 at the computed SNR: Pd = {np.mean(np.abs(echo) > threshold):.3f}")Running it prints the values for the sphere (0.0009 for
, equal to Rayleigh; 3.64 at
; 0.97 at
), the maximum 3.65 at
, 41.4, 15.8 and −5.5 dBsm for plate, trihedral and sphere, the cross section of the two scatterers between 0 and 4 with a maximum every 0.86°, the ratios 13.1 and 21.1 dB with 8.0 dB of loss, and
in the simulation.
4Waveforms and pulse compression
The radar equation asks for energy to see far; range resolution asks for bandwidth, that is short pulses. With a simple pulse of duration
the two requirements conflict: a short pulse carries little energy, unless the peak power is huge. Pulse compression resolves the conflict: a long pulse is transmitted, but with an internal modulation that makes it “wide in bandwidth”, and in reception it is compressed by a matched filter. This lesson proves that the matched filter is the optimum receiver, analyses the linear chirp and the Barker codes, and introduces the ambiguity function, which describes at once the range and velocity resolution of any waveform.
The idea in simple words
Imagine having to recognise a friend’s whistle in a noisy room. If the whistle is a very short sharp blast, it gets lost in the noise. If instead it is a long tune you know well, you recognise it even when it is faint: your brain compares what it hears with the tune it expects, note by note, and adds up all the small similarities. This is exactly what the matched filter does: it compares the received signal with a copy of the transmitted one, instant by instant, and gives a peak when the two match.
The chirp is the most used “tune”: a whistle whose pitch rises steadily, like a bird’s song (hence the name). The radar transmits a long chirp, hence with plenty of energy; when the receiver compares it with the copy, all that energy is concentrated in a very narrow peak, as if the radar had transmitted a very short and very powerful pulse. Range (energy) and precision (narrow peak) are obtained together.
The matched filter
The receiver gets
, with
the expected echo and
white noise of spectral density
. We look for the linear filter
that maximises the output signal-to-noise ratio at an instant
.
Theorem (matched filter). The optimum filter is
, the time-reversed and conjugated replica of the signal, and the maximum signal-to-noise ratio is
, with
the signal energy.
Proof. At the output, in the frequency domain, the signal is
and the noise power is
. By the Cauchy-Schwarz inequality
, hence
![Rendered by QuickLaTeX.com \[ SNR = \frac{|y_s(t_0)|^2}{\frac{N_0}{2}\int|H|^2df} \le \frac{2}{N_0}\int|S(f)|^2df = \frac{2E}{N_0} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-724261310a2898f71e2336c2b5a6981a_l3.png)
Equality holds if
, which in time is
. ∎
The result is remarkable: the optimum signal-to-noise ratio depends only on the energy of the signal, not on its shape. The shape can therefore be chosen to obtain the desired resolution, without losing sensitivity. Filtering with
is the same as computing the correlation between the received and the transmitted signal: the output peaks at the echo delay.
The linear chirp
The chirp (linear frequency modulation, LFM) is a pulse of duration
whose frequency rises linearly by
:
for
. After the matched filter the compressed pulse has the shape of a sinc about
wide (at −3 dB,
): the resolution is that of a pulse of duration
, with the energy of a pulse of duration
. The compression ratio is
, the duration × bandwidth product.
Example.
μs and
MHz:
. The compressed signal has a −3 dB width of 85 ns (against
ns from theory: the small difference is due to sampling) and a resolution of 12.7 m, while the transmitted pulse is 3 km long. With the same peak power, a simple 85 ns pulse would carry 235 times less energy.
Sidelobes. The sinc has sidelobes at −13.2 dB: a strong echo can hide a weak target nearby. A window (Hamming, Taylor) is applied to the receive filter: with the Hamming window the sidelobes drop to −42 dB, at the cost of a wider peak (135 ns instead of 85, about 60 % more) and a small loss of gain. It is the same trade-off as windows in spectral analysis.

The chirp has two valuable practical properties: it is easy to generate (with voltage-controlled oscillators or direct digital synthesis) and it is Doppler tolerant: an echo from a moving target is still well compressed, only slightly shifted in range (the range-Doppler coupling). It is the waveform of the FMCW car radars (lesson on FMCW radars).
Phase codes
Alternatively the pulse is split into
sub-pulses (“chips”) with phase 0 or π according to a code. Barker codes have the ideal autocorrelation for binary sequences: peak
and sidelobes of magnitude at most 1. The longest known has length 13:
![]()
with autocorrelation
and therefore a peak-to-sidelobe ratio of
dB. For larger compression ratios, polyphase codes (Frank, P4) or long pseudo-random sequences are used, and in modern digital radars waveforms designed by computer.
The ambiguity function
The matched filter is matched to an echo with a given delay and a given Doppler. If the echo has a different Doppler
, the output changes. Woodward’s ambiguity function describes the output as a function of both:
![]()
is the range response (the compression),
the velocity response. A theorem by Woodward states that the volume
is the same for all waveforms with the same energy: the ambiguity cannot be squeezed into a single point, only moved elsewhere. The chirp has a “tilted ridge” function (the range-Doppler coupling); a pulse train has a “bed of nails” function, with the range and velocity ambiguities of the lessons on the radar equation and on Doppler. Choosing the waveform is therefore choosing which ambiguities are acceptable for the application.
Summary
- The matched filter is the best possible receiver for a known signal in noise: it compares what is received with the copy of what was transmitted (correlation).
- The signal-to-noise ratio it achieves depends only on the signal energy, not on its shape.
- A long modulated pulse (chirp or phase code) carries plenty of energy and, after compression, gives the resolution of a short pulse:
. - The sidelobes of the compressed peak are lowered with a window, at the cost of a slightly wider peak.
- The ambiguity function shows how each waveform responds to range and velocity errors together; total ambiguity cannot be removed, only moved.
The code
import numpy as np
fs, T, B = 200e6, 20e-6, 10e6 # sampling rate, chirp duration and bandwidth
t = np.arange(0, T, 1 / fs)
chirp = np.exp(1j * np.pi * B / T * (t - T / 2) ** 2)
received = np.r_[np.zeros(4000), chirp, np.zeros(4000)] # isolated echo, no noise
def compress(window):
y = np.abs(np.correlate(received, chirp * window, mode="same")) # matched filter = correlation
return y / y.max()
for name, w in (("rectangular", np.ones(len(chirp))), ("Hamming", np.hamming(len(chirp)))):
p = compress(w)
k = np.argmax(p)
above = np.where(p >= 1 / np.sqrt(2))[0] # samples above -3 dB
width = (above[-1] - above[0] + 1) / fs
guard = int((1.5 if name == "rectangular" else 2.5) * fs / B)
lobes = np.r_[p[:k - guard], p[k + guard:]]
print(f"{name:12s}: -3 dB width {width * 1e9:.0f} ns, first sidelobe {20 * np.log10(lobes.max()):.1f} dB")
print(f"compression ratio BT = {B * T:.0f}, resolution c/(2B) = {3e8 / (2 * B):.0f} m")
barker = np.array([1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1])
print("Barker 13:", np.correlate(barker, barker, "full"), f"peak/sidelobe = {20 * np.log10(13):.1f} dB")Running it prints 85 ns and −13.5 dB (rectangular), 135 ns and −42.2 dB (Hamming),
and 15 m, and the autocorrelation of the Barker code with peak 13 and sidelobes 0 and 1.
5Detection of signals in noise
A weak echo buried in noise must be detected: the radar has to decide, cell by cell, whether a target is there or not. Every decision can go wrong in two ways: missing a target that is there (missed detection) or reporting one that is not (false alarm). This lesson sets detection up as a statistics problem, derives the threshold for a desired false alarm probability, computes the probability of detection and the required signal-to-noise ratio, explains the integration of several pulses, and proves how CFAR works, the detector that adapts the threshold to the actual noise, found in every modern radar.
The idea in simple words
Imagine listening to a radio with a lot of hiss and having to say whether someone spoke at a certain instant. If you say “yes” every time the hiss rises a little, you will often be wrong, claiming a voice that was not there (false alarm). If you say “yes” only when the sound is very loud, you will miss the faint voices (missed detection). A threshold has to be chosen, and the choice is always a compromise.
The radar makes this choice millions of times per second, once per “cell” (each combination of range, direction and velocity). Since there are so many cells, false alarms must be extremely rare, one in a million or fewer, otherwise the screen would fill with ghost targets. The lesson answers three questions: where to put the threshold, how strong the echo must be to be seen almost always, and how to adjust the threshold automatically when the noise changes (CFAR).
Two words about “cell” and “power”, which we will use often: for each cell the radar computes a number, the amplitude of the echo after the matched filter; its square is the power. With noise only this number is random; with a target it is larger on average.
Hypothesis testing
In each cell two hypotheses are compared:
, noise only;
, target plus noise. A quantity is computed (typically the amplitude
of the matched filter output) and compared with a threshold
. Performance is described by two probabilities:
and
. The Neyman-Pearson lemma states that, for a fixed
, the test that maximises
compares the likelihood ratio
with a threshold; for signals in Gaussian noise this is equivalent to comparing the amplitude of the matched filter output with a threshold. In a radar
is set very small (from
to
): with millions of cells examined per second, even
gives a few false alarms per second.
The threshold in noise
Complex noise, with independent Gaussian I and Q components of variance
, has an amplitude with Rayleigh distribution.
Theorem. With noise only,
; hence the threshold for a desired
is
.
Proof. The joint density of I and Q is
. Moving to polar coordinates (
, area element
) and integrating over the angle gives the Rayleigh density
. Then
. ∎
For
the threshold is
; for
,
. The dependence on the threshold is exponential: a 1 dB error in the noise estimate changes
by an order of magnitude. This is the reason for CFAR.
The probability of detection
With a constant target of amplitude
the amplitude follows the Rice distribution, and
is expressed through Marcum’s Q function. For design, Albersheim’s empirical formula is used, giving the signal-to-noise ratio needed for the desired
and
when
pulses are integrated non-coherently:
![]()
For
and
with a single pulse it takes 13.1 dB: the value used in the example of the lesson on the radar equation. A simulation with two million noise samples and the exact threshold gives
of about
and, with a target at 13.2 dB,
, equal to Marcum’s function (0.902).
Integrating several pulses
The target stays in the beam for many pulses. Adding them improves the signal-to-noise ratio:
- coherent integration (sum of the complex values, that is the Doppler FFT of the lesson on Doppler): the signal adds in amplitude, the noise in power, the gain is exactly
; - non-coherent integration (sum of amplitudes or powers, after the detector): simpler and independent of phase, but less efficient. With Albersheim, for
and
the SNR per pulse needed drops from 13.1 dB with one pulse to 5.0 dB with 10 pulses (8.1 dB gain against 10 dB for coherent integration) and to −1.3 dB with 100 (14.4 dB against 20).
Real targets fluctuate (the radar cross section changes from one look to the next): the Swerling models describe their statistics, and the same
with a fluctuating target usually requires several more decibels (8 dB with one pulse for
: lesson on the radar cross section).
An example to fix ideas. A surveillance radar receives 25 pulses from an aircraft while the beam sweeps past. One pulse would need 13.1 dB; integrating the 25 pulses non-coherently, 2.3 dB per pulse are enough (from Albersheim’s formula), that is 10.8 dB less: in the radar equation, with range going as the fourth root of power, the range grows by
times. Integrating costs only time and computation, and it is the cheapest way to “see farther”.
CFAR
The threshold
requires knowing
, but the level of noise and clutter changes with range, direction, weather, interference. CFAR (constant false alarm rate) estimates the level from the cells around the one under test and sets the threshold in proportion.
CA-CFAR (cell averaging): the power is averaged over
reference cells around the cell under test (excluding a few guard cells, where the echo of the target itself might be), and a target is declared if the power of the cell exceeds
times the average.
Theorem. In Gaussian noise (power with exponential distribution) the CA-CFAR with
cells has
, independent of the noise level; hence
.
Proof. Let
be the sum of the reference powers and
the threshold. For fixed
, the probability that the cell under test (exponential with mean
) exceeds the threshold is
. The sum of
independent exponentials with mean
has a gamma distribution, and the mean of
is its generating function:
. With
we get
:
has cancelled. ∎
With
and
,
(10.95 dB); a simulation with 400 000 trials gives
. The price of the uncertainty in the estimate is the CFAR loss: if the noise were known a threshold of
times the mean would suffice, so the loss is
dB, which decreases as
grows. The CA-CFAR suffers when another target or a clutter edge lies in the reference cells: the robust variants (OS-CFAR, GO-CFAR) are covered in the lesson on clutter filtering.

Summary
- Detection is a statistical test: the false alarm probability is fixed and the probability of detection maximised (Neyman-Pearson).
- In noise the amplitude has a Rayleigh distribution: the threshold is
, 5.26 σ for
. - For
and
a single pulse needs a 13.1 dB signal-to-noise ratio (Albersheim). - Integrating
pulses reduces the ratio needed per pulse: by
times coherently, a little less non-coherently. - CFAR estimates the noise from the neighbouring cells and keeps
constant, with a small loss (1.3 dB with 16 cells).
The code
import numpy as np
from scipy import stats
rng = np.random.default_rng(0)
dB = lambda x: 10 ** (x / 10)
# threshold for Pfa = 1e-6 and Monte Carlo check
pfa = 1e-6
threshold = np.sqrt(-2 * np.log(pfa)) # in units of sigma
M = 2_000_000
noise = rng.normal(size=M) + 1j * rng.normal(size=M) # I and Q with sigma = 1
print(f"threshold {threshold:.3f} sigma, simulated Pfa {np.mean(np.abs(noise) > threshold):.1e}")
# probability of detection for a constant target at 13.2 dB
A = np.sqrt(2 * dB(13.2)) # SNR = A^2 / (2 sigma^2)
print(f"simulated Pd {np.mean(np.abs(A + noise[:200000]) > threshold):.3f}, "
f"Marcum {1 - stats.ncx2.cdf(threshold ** 2, 2, A ** 2):.3f}")
def albersheim(pd, pfa, n=1):
a, b = np.log(0.62 / pfa), np.log(pd / (1 - pd))
return -5 * np.log10(n) + (6.2 + 4.54 / np.sqrt(n + 0.44)) * np.log10(a + 0.12 * a * b + 1.7 * b)
for n in (1, 10, 100):
print(f"Albersheim, {n:3d} pulses: SNR per pulse {albersheim(0.9, 1e-6, n):.2f} dB")
# CA-CFAR: threshold factor and check
N, pfa = 16, 1e-4
alpha = N * (pfa ** (-1 / N) - 1)
p = rng.exponential(1.0, (400000, N + 1)) # powers: cell under test + N reference cells
pfa_sim = np.mean(p[:, 0] > alpha / N * p[:, 1:].sum(1))
print(f"CA-CFAR: alpha = {alpha:.2f}, simulated Pfa {pfa_sim:.1e}, loss {10 * np.log10(alpha / -np.log(pfa)):.2f} dB")Running it prints the threshold 5.257 σ with a simulated
close to
(with two million trials only a few exceedances are counted, so the estimate varies),
simulated and computed, Albersheim’s SNRs of 13.11, 4.99 and −1.26 dB, and for CFAR
,
about
and 1.31 dB of loss.
6Radar antennas
The antenna is the most visible part of a radar, and it decides almost everything: the gain (hence the range, since it appears squared in the radar equation), the beamwidth (hence the angular resolution and accuracy), the sidelobes (through which clutter and jamming enter), and the way the radar scans space. This lesson covers “classic” radar antennas, the reflectors: the link between size, gain and beamwidth, why the pattern is the Fourier transform of the illumination and how sidelobes are lowered, paraboloids and Cassegrain systems, the cosecant-squared pattern of surveillance radars, mechanical scanning and the number of pulses on target. Electronically scanned arrays are in the lesson on phased arrays.
The idea in simple words
A radar antenna is like the reflector of a lighthouse: the bulb alone would light everything around, the mirror concentrates the light into a narrow and powerful beam. The larger the mirror compared with the wavelength, the narrower and more intense the beam. The same mirror also works in reception: it collects the echo over its whole surface and concentrates it into the receiver, and it “listens” only in the direction it points to.
A perfect beam would illuminate only straight ahead. In reality, around the main beam there are smaller beams, the sidelobes, through which the antenna also sees (faintly) other directions. The designer can lower them by illuminating the edges of the mirror less, paying with a slightly wider beam: this is the main trade-off of this lesson.
Gain, area and beamwidth
An antenna of area
with efficiency
has gain
![]()
(the same area-gain relation as in the radar equation, with the effective area
). For a circular paraboloid of diameter
:
. With
m in X band and
(a typical value): 38.2 dB. The −3 dB beamwidth is about
degrees: 2.1°.
Gain and beamwidth are linked: an antenna that concentrates the power into a beam of
degrees (azimuth by elevation) has a gain of about
(the number comes from
steradians expressed in square degrees, about 41 000, for a typical efficiency). A 1° × 1° beam is worth about 44 dB.
The pattern is the Fourier transform of the illumination
Theorem. For a linear aperture of length
with illumination (amplitude and phase of the field on the aperture)
, the far field in direction
is
![Rendered by QuickLaTeX.com \[ E(\theta) = \int_{-D/2}^{D/2}w(x)\,e^{j2\pi x\sin\theta/\lambda}\,dx \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-941960aafe3d5fb603abd2c159b36a21_l3.png)
Proof. Each element
of the aperture radiates as a small source. Far away, in direction
, the element at
is closer to the observer by
than the centre, so its contribution arrives with a phase advance
. The total field is the sum (the integral) of the contributions with their phases; the amplitude differences due to distance are negligible in the far field. ∎
With
, the pattern is the Fourier transform of
: the same rules as windows in spectral analysis and in pulse compression (lesson on waveforms).
- Uniform illumination:
. The narrowest possible beam (
radians, that is 50.6
degrees), first sidelobe at −13.3 dB, efficiency 1. - Cosine illumination (stronger at the centre, zero at the edges): beam 68
degrees, sidelobes at −23 dB, illumination efficiency 0.81. - Cosine squared on a 10 % pedestal: beam 72.9
degrees, sidelobes at −40 dB, efficiency 0.75.
The illumination efficiency is
: by the Cauchy-Schwarz inequality it is at most 1, a value reached only by uniform illumination. Lowering the sidelobes therefore costs gain and beamwidth. In a paraboloid the illumination is set by the feed (the small horn antenna at the focus): a horn with a wide beam illuminates the edges well (high sidelobes) but wastes power beyond the rim of the mirror (spillover); a horn with a narrow beam wastes less but illuminates the edges poorly. The optimum, for paraboloids, is an illumination that falls by about 10 dB at the edges, with an overall efficiency between 0.55 and 0.7.

Paraboloids, Cassegrain and feeds
A paraboloid turns the spherical wave of the feed at the focus into a plane wave: all rays travel the same distance from the focus to the aperture plane (a geometric property of the parabola), so they arrive in phase. The drawback is that the feed and its supports sit in front of the mirror and block part of it (blockage), and the waveguide must reach the focus.
In the Cassegrain system a second, hyperbolic, mirror sends the wave back towards the vertex of the paraboloid, where the feed is: transmitter and receiver sit behind the mirror, the waveguides are short and the structure is compact. It is the solution of tracking radars and of large antennas for space communications. For radars that need very low sidelobes, offset paraboloids are used, with the feed outside the beam and therefore no blockage.
For monopulse (lesson on phased arrays) the feed has four horns side by side; a microwave circuit (the “comparator”, made of hybrid junctions) forms the sum
and the differences
,
.
The cosecant-squared pattern
An air surveillance radar must see an aircraft flying at constant altitude
both when it is far (at low elevation) and when it is close (at high elevation). A beam wide and uniform in elevation would waste power on close aircraft.
Theorem. If the elevation gain follows
, a target at constant altitude gives the same echo power at all elevations.
Proof. A target at altitude
seen at elevation
is at range
. The received power is proportional to
, independent of
. ∎
It is obtained by shaping the reflector (the upper part curved differently) or with several feeds. It is the typical pattern of airport surveillance radars, with a wide and short antenna (narrow in azimuth, wide in elevation) that rotates continuously.
Mechanical scanning
A rotating antenna with a beam
degrees wide, which makes a turn in
seconds, keeps the target in the beam for
seconds and hits it with
![]()
pulses. With a 1.5° beam, a PRF of 1 kHz and one turn every 6 s: 25 pulses, to be integrated (lesson on detection). The trade-off is between revisit time (a slow rotation updates targets rarely) and the energy collected for each target. Electronically scanned arrays break this constraint, because they can dwell on a target as long as needed and come back when needed.
Summary
- Gain grows with the area measured in wavelengths:
; the beamwidth is about
degrees. - The pattern is the Fourier transform of the illumination: uniform illumination, narrow beam and sidelobes at −13 dB; tapered illumination, low sidelobes, wider beam, less gain.
- Paraboloids and Cassegrain systems focus the wave; the feed sets the trade-off between spillover and taper.
- The cosecant-squared pattern gives a constant echo from an aircraft at constant altitude.
- In mechanical scanning the number of pulses on target depends on beamwidth, PRF and rotation speed.
The code
import numpy as np
# 1) linear aperture of length D: the pattern is the Fourier transform of the illumination
x = np.linspace(-0.5, 0.5, 2001) # position on the aperture, in units of D
u = np.linspace(-6, 6, 24001) # u = (D / lambda) sin(theta)
illuminations = {
"uniform": np.ones_like(x),
"cosine": np.cos(np.pi * x),
"cosine^2 on 0.1 pedestal": 0.1 + 0.9 * np.cos(np.pi * x) ** 2,
}
for name, w in illuminations.items():
E = np.abs(np.exp(2j * np.pi * np.outer(u, x)) @ w)
E /= E.max()
dB = 20 * np.log10(E + 1e-12)
width = np.ptp(u[dB >= -3]) # -3 dB width in units of lambda/D (radians)
i0 = np.argmax(u >= 0) # peak; then the first minimum to its right
k = i0 + np.argmax(np.diff(E[i0:]) > 0)
lobe = dB[k:].max()
eff = w.sum() ** 2 / (len(w) * (w ** 2).sum()) # illumination efficiency
print(f"{name:28s}: beam {np.degrees(width):5.1f} lambda/D degrees, first sidelobe {lobe:6.1f} dB, efficiency {eff:.2f}")
# 2) 1 m paraboloid in X band
lam, D, eta = 0.03, 1.0, 0.6
G = eta * (np.pi * D / lam) ** 2
print(f"{D} m paraboloid at 10 GHz: gain {10 * np.log10(G):.1f} dB, beam about {70 * lam / D:.1f} degrees")
# 3) how many pulses hit the target during one rotation
beam, PRF, turn = 1.5, 1000.0, 6.0 # degrees, Hz, seconds per turn
print(f"pulses on target: {beam / (360 / turn) * PRF:.0f}")
# 4) cosecant-squared pattern: power received from an aircraft at constant altitude
h = 10e3
el = np.radians(np.array([3.0, 10.0, 30.0]))
R = h / np.sin(el)
G = 1 / np.sin(el) ** 2
print("aircraft at 10 km altitude, relative power G^2/R^4 at elevations 3, 10, 30 degrees:", np.round(G ** 2 / R ** 4 / (G[0] ** 2 / R[0] ** 4), 3))Running it prints the three illumination cases (50.6, 68.0 and 72.9
degrees; −13.3, −23.0 and −40.1 dB; efficiency 1.00, 0.81 and 0.75), 38.2 dB and 2.1° for the paraboloid, 25 pulses on target and a relative power of 1 at all elevations with the cosecant-squared pattern.
7Phased arrays
A radar with a rotating parabolic antenna looks in one direction at a time and takes seconds for a full turn. A phased array radar is made of hundreds or thousands of small antennas side by side; by changing electronically the phase with which each one transmits and receives, the beam moves in microseconds, with no moving parts. A single radar can thus track tens of targets, search for new ones and guide missiles almost simultaneously. This lesson derives the array factor, the steering law and the beamwidth, proves the condition against grating lobes, explains the diode phase shifters that implement the phase delays and their quantisation, and introduces monopulse angle measurement and active and digital arrays.
The idea in simple words
Picture a row of people on a beach throwing stones into the water at the same instant: the waves of all the stones add up, and a straight, strong wave leaves in front of the row. If instead each person throws a moment after the one on their left, the resulting wave leaves at a slant, towards the right: without anyone turning, the direction of the wave has changed. A phased array does exactly this with radio waves: each small antenna transmits with a small delay (a phase shift) relative to its neighbour, and the beam points in the desired direction. Changing the phase shifts takes microseconds, so the beam jumps from one direction to another almost instantly.
In reception the same holds in reverse: an echo arriving at a slant reaches one end of the row first and then the other; by suitably delaying the signals of the antennas before adding them, the array “listens” only to the desired direction. The antennas must however be close enough (about half a wavelength), otherwise the array also listens to other, ghost directions: these are the grating lobes.
The steering geometry
Consider
antennas in a line a distance
apart, receiving a plane wave from direction
(measured from the normal to the array). The wavefront reaches element
after travelling a path longer by
than element 0: each element receives the signal with a phase delayed by
, with
. If a phase shift
is added to each element and the outputs are summed, for
all contributions arrive in phase and add up to the maximum: the beam “points” towards
.
The array factor
Theorem. The normalised response of the array steered towards
is
![]()
Proof. The sum of the contributions is
, a geometric series:
(factoring
out of the numerator and
out of the denominator, as for the Dirichlet kernel of the DFT). The magnitude, divided by its maximum
, is the formula. ∎
The consequences for design:
- beamwidth at −3 dB about
: for 32 elements at half a wavelength, 3.17° at broadside, 3.66° steering to 30°, 6.4° at 60°. The beam widens as it tilts, because the array seen obliquely looks shorter (factor
): this is why flat arrays cover about ±60° in practice and naval radars use four of them on different faces; - sidelobes at −13.2 dB, as for the sinc: they are lowered by weighting the amplitudes (Taylor or Chebyshev windows), widening the beam slightly;
- phase shift between elements
: for
and 30°, 90° from one element to the next.

Grating lobes
is periodic in
with period
: besides the main beam (
) there are equal maxima where
. These are the grating lobes: copies of the beam in other directions, which would see ghost targets.
Theorem. An array steered up to
has no grating lobes in visible space if
.
Proof. The first grating lobe is at
, that is
. It exists in visible space if
. The worst case is with the beam tilted by
and the lobe on the other side:
brings it inside; the condition to keep it out is
. ∎
With
there are no grating lobes for any steering angle; with
only up to 25.4°; with
not even at broadside (the lobe is at 90°). Half a wavelength is therefore the standard spacing: in X band, 1.5 cm between elements.
Diode phase shifters
The phase shift of each element is produced by a phase shifter. The most common use PIN diodes, which at microwave frequencies behave as switches: forward biased they have a resistance of a few ohms, reverse biased a small capacitance. Digital phase shifters are built in bits:
- switched line: two diodes select between two line sections of different length; the length difference
gives a phase shift
; - loaded line: the diodes insert small reactances along the line, suited to small bits (22.5°, 45°);
- reflection type, with a hybrid coupler and two identical diodes.
Cascading bits of 180°, 90°, 45° and 22.5° gives a 4-bit phase shifter with 16 values. The desired phase must be rounded to the nearest value: with step
° the error is uniform between
, with rms value
°. Quantisation errors raise the sidelobes and, if they repeat periodically along the array, create quantisation lobes; they are attenuated by adding a known random phase to each element. In recent radars the phase is set in the integrated circuits of the modules and, in digital arrays, directly in numerical form.
A fundamental limit of phase: the right phase shift depends on frequency. With wideband signals the beam “points” in slightly different directions at the various frequencies (beam squint). Wideband radars use true time delay lines, which delay the signal by a time and not by a phase.
Monopulse angle measurement
To track a target it is not enough to know that it is in the beam: the precise angle is needed. Monopulse splits the antenna into two halves and forms, with a single pulse, two beams: the sum
of the two halves and the difference
. With the two halves a distance
apart and a target at a small angle
from the axis, the two halves receive with a phase difference
, and
![Rendered by QuickLaTeX.com \[ \frac{\Delta}{\Sigma} = \frac{|1 - e^{j\varphi}|}{|1 + e^{j\varphi}|} = \tan\frac{\varphi}{2} \approx \frac{\pi D\theta}{\lambda} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-753b02e30df517995262e76acaae6aef_l3.png)
(with the same factoring of
as for the MTI canceller). The ratio is proportional to the angle error, and its sign (given by the relative phase of
with respect to
) tells which side. With
m in X band, for 0.5° the ratio is 0.49 (linear 0.46): the relation is linear for errors small compared with the beamwidth. Monopulse measures the angle with an accuracy of a fraction of the beamwidth, is insensitive to amplitude fluctuations of the echo (because it is a ratio) and is done in two planes (azimuth and elevation) with four quadrants.
Active and digital arrays
- PESA (passive array): a single transmitter, whose power is divided among the elements, each with its phase shifter.
- AESA (active array): each element has a T/R module (transmit/receive) with power amplifier, low-noise amplifier, phase shifter and attenuator. More reliable (a failed module reduces performance only slightly), more efficient, able to form several beams at once. With gallium nitride (GaN) transistors it is today the standard of military radars and of many civil ones.
- Digital array: the signal of each element (or subarray) is converted to digital, and the beams are formed in the computer by products with complex weights. Many receive beams can be formed simultaneously, a jammer can be cancelled by steering a null towards it (adaptive beamforming), and the array can be combined with MIMO processing (lessons on FMCW radars and on digital radar).
Summary
- Phasing the elements by
from one to the next steers the beam towards
without moving the antenna. - The array factor is a Dirichlet kernel: beamwidth about
, sidelobes at −13.2 dB without weighting. - The beam widens when steered away from broadside: a flat face covers about ±60°.
- To avoid grating lobes
is required: half a wavelength works for every steering angle. - PIN-diode digital phase shifters have a quantisation error (6.5° rms with 4 bits); wide bandwidths need true time delays.
- Monopulse measures the angle with a single pulse from the difference-to-sum ratio.
- Active arrays (AESA) have one T/R module per element; digital ones form the beams in the computer.
The code
import numpy as np
c = 299792458.0
lam = c / 10e9 # X band
N, d = 32, lam / 2
theta = np.radians(np.linspace(-90, 90, 36001))
def array_factor(steer, d=d):
psi = 2 * np.pi * d / lam * (np.sin(theta) - np.sin(np.radians(steer)))
with np.errstate(invalid="ignore", divide="ignore"):
a = np.abs(np.sin(N * psi / 2) / (N * np.sin(psi / 2)))
return np.where(np.isnan(a), 1.0, a) # in the limit psi -> 0 it equals 1
for steer in (0, 30, 60):
deg = np.degrees(theta[array_factor(steer) >= 1 / np.sqrt(2)])
main = deg[np.abs(deg - steer) < 10] # main beam only
print(f"steering {steer:2d} degrees: width {main.max() - main.min():.2f} degrees, "
f"formula {np.degrees(0.886 * lam / (N * d * np.cos(np.radians(steer)))):.2f}")
a = array_factor(0)
print(f"first sidelobe: {20 * np.log10(a[np.abs(np.degrees(theta)) > 4].max()):.1f} dB")
print(f"phase shift between elements for 30 degrees: {360 * d / lam * np.sin(np.radians(30)):.0f} degrees")
for dd in (0.7, 0.9):
print(f"d = {dd} lambda: no grating lobes up to {np.degrees(np.arcsin(1 / dd - 1)):.1f} degrees")
print(f"4-bit phase shifter: 22.5 degree step, rms error {22.5 / np.sqrt(12):.2f} degrees")
D = 0.5 # monopulse: two halves 0.5 m apart
for err in (0.25, 0.5, 1.0):
phi = 2 * np.pi * D / lam * np.sin(np.radians(err))
print(f"error {err} degrees: Delta/Sigma = {np.tan(phi / 2):.3f}, linear {np.pi * D * np.radians(err) / lam:.3f}")Running it prints the widths 3.17, 3.66 and 6.38° (formula 3.17, 3.66 and 6.35), the sidelobe at −13.2 dB, 90°, 25.4° and 6.4° for spacings 0.7λ and 0.9λ, 6.50° of rms error, and for monopulse 0.23, 0.49 and 1.30 against 0.23, 0.46 and 0.91 of the linear approximation.
8Doppler, MTI and pulse-Doppler
A moving target changes the frequency of the echo: this is the Doppler effect. Measuring it gives the velocity and, above all, separates moving targets (aircraft, cars, people) from the huge echoes of stationary objects (ground, buildings, sea waves), the so-called clutter. To do so the radar must know the phase of what it transmits: this is the difference between coherent and non-coherent radars. This lesson derives the Doppler shift, explains the two architectures, and presents the two classic techniques, the MTI filter (moving target indication) and pulse-Doppler processing, with a simulation that compares them.
The idea in simple words
Everybody knows the Doppler effect from an ambulance siren: when it approaches the pitch is higher, when it moves away it is lower. Radio waves do the same, but the frequency shift is tiny, a few thousand hertz out of billions. To notice it the radar uses a trick: instead of measuring the frequency of a single pulse, it looks at how the phase of the echo changes from one pulse to the next.
The phase can be pictured as the position of a clock hand. If the target is still, each echo comes back with the hand in the same position. If the target approaches, the range gets a little shorter at every pulse and the hand moves on by a certain angle: the speed at which the hand turns is the speed of the target. To read the hand, however, the radar must know where it was when the pulse left: this is a coherent radar. A radar that starts each pulse with the hand in a random position (non-coherent) cannot do it.
The great practical advantage: stationary objects (ground, houses, mountains), which give enormous echoes, have a still hand, and can be removed by keeping only the echoes whose hand turns. This is how a car or an aircraft can be seen in front of a mountain.
The Doppler shift
Theorem. A target approaching with radial velocity
shifts the echo frequency by
.
Proof. The echo returns after travelling
, so its phase relative to the transmitted signal is
. The instantaneous frequency is the derivative of the phase divided by
:
, with
positive if the target approaches. ∎
The 2 again comes from the round trip. The shifts are tiny compared with the carrier: a car at 30 m/s in front of a 10 GHz radar gives 2 kHz out of 10 GHz; at 77 GHz (automotive radar) 15.4 kHz; an aircraft at 250 m/s in front of a 3 GHz radar, 5 kHz. Only the radial component of the velocity counts: an aircraft crossing sideways gives no Doppler.
Coherent and non-coherent radars
A shift of a few kilohertz on a carrier of gigahertz cannot be measured within a single one-microsecond pulse: it is measured by comparing the phase of the echo from one pulse to the next. Over
pulses with period
, a target produces the sequence
: a sinusoid “sampled” at the PRF, whose frequency is estimated with an FFT. This is possible only if the radar knows the phase each pulse started with.
Coherent radar. The whole radar is locked to a very stable oscillator (the STALO, stable local oscillator, and the COHO, coherent oscillator, in classic radars; a single clock reference in digital radars). Every pulse leaves with a known phase, and the receiver measures the signal as a complex number, with in-phase and quadrature components (I/Q). The transmitter must be an amplifier (klystron, travelling wave tube, solid-state transistors) that amplifies a signal generated with known phase. Practically all modern radars are coherent: airborne pulse-Doppler radars, Doppler weather radars, automotive radars, SAR.
Non-coherent radar. The transmitter is a power oscillator, typically a magnetron, which starts with a random phase at every pulse. The receiver detects only the amplitude (the envelope) of the echo. It is simple and cheap, and measures range and direction well: it is the navigation radar of boats, and the surveillance radars of the first decades were like this. But it cannot measure Doppler, and cannot separate a moving target from a fixed echo in the same cell. A middle way is the coherent-on-receive radar: the phase of each transmitted pulse is sampled and subtracted from the echo, recovering coherence afterwards (with lower performance than a true coherent radar).

The MTI filter
The simplest way to remove fixed echoes is to subtract two consecutive pulses:
. A stationary echo is the same from one pulse to the next and cancels; a moving echo changes phase and survives.
Theorem. The two-pulse canceller has response
.
Proof. It is an FIR filter with
; on the unit circle, with
,
with
. ∎
The response is zero at zero frequency (stationary clutter) but also at all multiples of the PRF: targets with
disappear. These are the blind speeds
: at 10 GHz with a PRF of 1 kHz, 15 m/s, 30 m/s, … The remedy is to alternate different PRFs (staggered PRF), so that a speed blind for one is not blind for the other. Three-pulse cancellers (
) widen the “notch” around zero, useful when the clutter is not perfectly still (trees moved by the wind, waves).
Pulse-Doppler processing
Instead of subtracting, an FFT over
pulses is computed for each range cell: each FFT output is a filter centred on a velocity. Velocity resolution
; unambiguous velocity
(the FFT of samples at the PRF sees frequencies from
to
). With 64 pulses at 1 kHz in X band: 0.23 m/s resolution, ±7.5 m/s without ambiguity.
Choosing the PRF. Unambiguous range
and unambiguous velocity
go in opposite directions: their product is fixed,
.
- Low PRF (a few kHz): range without ambiguity, velocity very ambiguous. Surveillance radars.
- High PRF (hundreds of kHz): velocity without ambiguity, range very ambiguous. Airborne radars against fast targets.
- Medium PRF: both ambiguous, and the ambiguities are resolved using several PRFs (with a reasoning similar to the Chinese remainder theorem). It is the choice of modern fighter radars.
The result of the processing is a range-Doppler map, the basic image of almost all coherent radars (it will appear again in the FMCW car radar).
Summary
- A target approaching with radial velocity
shifts the echo frequency by
; only the velocity component along the line of sight counts. - Doppler is measured by comparing the phase of the echo from pulse to pulse: a coherent radar is needed.
- The MTI filter subtracts consecutive pulses and cancels stationary echoes, but has blind speeds, which are avoided by changing the PRF.
- Pulse-Doppler processing (FFT over the pulses) separates targets by velocity and produces the range-Doppler map.
- Unambiguous range and velocity conflict through the PRF: low, medium or high depending on the mission.
The simulation
A range cell contains a building (fixed echo, 1000 times stronger in amplitude, that is 60 dB) and a target approaching at 5 m/s. Radar at 10 GHz, PRF 1 kHz, 64 pulses, some noise.
- Coherent with FFT: the target appears at 4.92 m/s (the true velocity, quantised to the 0.23 m/s resolution), 60 dB below the peak of the building but at a different position in the spectrum: separated.
- MTI: the fixed echo cancels completely (in this simulation it is perfectly still), the target passes with a gain of 1.73.
- Non-coherent: with a random phase at every pulse, the spectrum becomes flat: the echo of the building “smears” over all velocities and covers the target. The amplitude, the only thing the radar measures, fluctuates by only 0.07 %: the target cannot be seen.

import numpy as np
c, f0, PRF, N = 299792458.0, 10e9, 1e3, 64 # X band, PRF 1 kHz, 64 pulses
lam, T = c / f0, 1 / PRF
rng = np.random.default_rng(0)
n = np.arange(N)
v = 5.0 # target approaching at 5 m/s
fD = 2 * v / lam # Doppler shift
target_echo = 1.0 * np.exp(1j * 2 * np.pi * fD * n * T)
fixed_echo = 1000.0 * np.exp(1j * 0.3) # clutter: a building, 60 dB stronger and still
noise = (rng.normal(size=N) + 1j * rng.normal(size=N)) * 0.05
x = target_echo + fixed_echo + noise # samples in the same range cell, pulse by pulse
def spectrum(s):
S = np.abs(np.fft.fftshift(np.fft.fft(s * np.hanning(N))))
return 20 * np.log10(S / S.max() + 1e-12)
vel = np.fft.fftshift(np.fft.fftfreq(N, T)) * lam / 2 # velocity axis
print(f"f_D = {fD:.0f} Hz; velocity resolution {lam / (2 * N * T):.3f} m/s; unambiguous velocity +-{lam * PRF / 4:.1f} m/s")
# 1) coherent radar: FFT over the pulses, the target separates from the fixed echo
S = spectrum(x)
k = np.argmax(np.where(np.abs(vel) > 1, S, -999))
print(f"coherent: target at {vel[k]:.2f} m/s, {S[k]:.1f} dB relative to the fixed echo peak")
# 2) two-pulse MTI: y_n = x_n - x_(n-1) cancels what does not move
y = x[1:] - x[:-1]
print(f"MTI: fixed echo power reduced from {np.mean(np.abs(fixed_echo) ** 2):.0f} to {np.mean(np.abs(np.diff(np.full(N, fixed_echo))) ** 2):.0f}; "
f"gain on the target |H| = {2 * abs(np.sin(np.pi * fD / PRF)):.2f}")
print(f"MTI blind speed: {lam * PRF / 2:.1f} m/s")
# 3) non-coherent radar: every pulse starts with a random phase (magnetron), only the amplitude is measured
phase = np.exp(1j * rng.uniform(0, 2 * np.pi, N))
xn = x * phase
amp = np.abs(xn)
Sn = spectrum(xn)
print(f"non-coherent: amplitude fluctuation {amp.std() / amp.mean() * 100:.2f} %, no Doppler peak (maximum away from zero {Sn[np.abs(vel) > 1].max():.1f} dB, flat)")Running it prints
Hz, 0.234 m/s resolution and ±7.5 m/s unambiguous span; for the coherent radar the target at 4.92 m/s, 60.3 dB below the fixed echo; for the MTI the fixed echo cancelled and a gain of 1.73 on the target, with a blind speed of 15 m/s; for the non-coherent radar a fluctuation of 0.07 % and a flat spectrum, whose maximum (0 dB) falls far from zero velocity.
9Clutter, chaff and filtering
In a real radar the echo of a target is almost always the smallest part of what is received. The ground, buildings, the sea, rain, flocks of birds, the guardrails of a motorway return much stronger echoes, the clutter; multipath creates ghost targets; other radars and jammers add interference. Much of the design of a radar consists in filtering all this without losing the targets. This lesson collects the techniques: the classification of clutter and how strong it is, Doppler filters (MTI, MTD, adaptive filters, STAP), amplitude filters (clutter maps and robust CFARs, with the problem of sea clutter), and the defence against interference and ghosts. Four simulations show the problems and the solutions with numbers.
Types of clutter
- Surface clutter (ground, buildings, sea): extended, tied to the illuminated cell, whose area grows with range; it is described by the coefficient
(radar cross section per square metre), which depends on the grazing angle, the frequency and the polarisation. The ground is almost still; the sea moves with the waves. - Volume clutter (rain, snow, chaff, that is clouds of metal strips dropped to confuse radars): it fills the whole cell and moves with the wind.
- Unwanted point echoes: birds, insects, wind turbines (which have their own Doppler and are a growing problem for air traffic radars), cars for a radar looking for aircraft.
- Multipath ghosts: the echo bounces off a surface (the sea, the road, the side of a truck) and arrives from a wrong direction or with a wrong range.
Two quantities summarise performance: the improvement factor (how much the signal-to-clutter ratio increases after the filter) and the subclutter visibility (how much weaker than the clutter a target can be and still be detected).
The idea in simple words
Looking for an aircraft with a radar is like looking for a firefly in front of a wall lit by a floodlight: the wall (ground, sea, rain) sends back much more light than the firefly. There are three ways to see it anyway: look only at what moves (Doppler filters: the wall is still, the firefly is not), know what the wall looks like and subtract it (clutter maps), or set the “something is there” threshold according to how bright the background around it is (CFAR). This lesson shows how radars combine the three.
How strong clutter is
Surface clutter. The illuminated cell at range
, with a beam
wide in azimuth and a pulse of duration
, at low grazing angles is a rectangle of area
. The clutter has a radar cross section
. Example: surveillance radar with a 1.5° beam, a 1 μs pulse, ground with
dB, at 20 km:
m²,
m² (29 dBsm). An aircraft of 1-10 m² is therefore 19 to 29 dB below the clutter of its cell: without filters it cannot be seen. Since
grows as
and the clutter echo falls as
, surface clutter falls as
, more slowly than a target echo: the signal-to-clutter ratio worsens with range as
, and does not improve by increasing power (which raises target and clutter alike).
ranges from −40 dB (calm sea, desert, at low angles) to 0 dB and more (cities, mountains); a simple model is
, with
the grazing angle.
Volume clutter. Rain and chaff fill the volume of the cell,
, with a reflectivity
(radar cross section per cubic metre). For rain
, with
for water and
the reflectivity of the lesson on weather radars. In X band, with moderate rain of 30 dBZ,
m²/m³: at 20 km, with a 1.5° × 1.5° beam and 1 μs,
m³ and
m², as much as an aircraft. Since
goes as
, in S band the same rain returns 21 dB less: another reason for using low frequencies for surveillance.
Chaff. Chaff is made of millions of wires or metallised strips cut to half a wavelength (1.5 cm in X band), resonant dipoles that return a lot of energy for their weight. A half-wave dipole with random orientation has on average
: in X band
m², so about 740 000 dipoles, a few grams of fibres, are needed to simulate a 100 m² target. The cloud opens in a few seconds, falls slowly and moves with the wind: the defence is the Doppler filter (chaff slows down at once and is distinguished from a fast aircraft), together with tracking, which does not let itself be “captured” by an echo that appears from nowhere and stays still. To cover several bands, wires of different lengths are cut.
The clutter spectrum. Clutter is not perfectly still: trees moved by the wind, sea waves, rain carried by the wind, and also the rotation of the antenna widen its Doppler spectrum. The spectrum is described by a velocity spread
: from a few centimetres per second (rocks, buildings) to 0.5 m/s (woods in strong wind) to 1-2 m/s (sea, rain, chaff, plus the mean shift due to the wind). The wider the spectrum, the wider the notch of the MTI filter must be and the more slow targets are lost.
Doppler filters
Surface clutter is almost still, almost all interesting targets move: separating them in velocity is the main defence.
- MTI (lesson on Doppler): the
canceller, or the three-pulse
, removes what has zero Doppler. The improvement factor is limited by the width of the clutter spectrum (trees moved by the wind, antenna rotation, oscillator instability): clutter with a wide spectrum is not cancelled completely. - MTD (moving target detector, the processor of airport approach radars): after the MTI, a bank of Doppler filters (an FFT over 8-16 pulses) splits the echoes by velocity, and each filter has its own CFAR threshold. For the zero-velocity filter, where clutter is strongest, a clutter map is used.
- Clutter map: the mean echo level of each cell over the previous antenna turns is stored (with an exponential moving average), and the threshold of each cell is a multiple of its level. An aircraft flying over an area of strong clutter is then seen if its echo exceeds the usual level of that cell, and targets flying tangentially (zero Doppler) do not disappear completely.
- Adaptive filters: rain, sea and chaff clutter moves with the wind, so its Doppler is not zero. An adaptive MTI estimates the mean Doppler of the clutter and moves the notch of the filter onto it.
STAP: clutter seen from an aircraft
A radar on an aircraft or a satellite looking down sees the ground move: each patch of ground has a Doppler that depends on the direction it is seen from,
(with
the platform velocity). In the angle-Doppler plane the clutter occupies a diagonal ridge, and a filter in Doppler only or in angle only is not enough. STAP (space-time adaptive processing) filters jointly over the array elements (space) and the pulses (time), with the optimum weights
![]()
where
is the covariance matrix of clutter, jamming and noise and
is the “steering” vector of the target sought (angle and Doppler). These are the weights that maximise the signal-to-(interference + noise) ratio, SINR: the same Cauchy-Schwarz inequality as the matched filter, applied after “whitening” the interference with
. In practice
is unknown and is estimated from the data of neighbouring cells (SMI, sample matrix inversion): to lose less than 3 dB with respect to the optimum, about twice as many samples as degrees of freedom are needed (Reed, Mallett and Brennan rule). The same principle, in space only, serves to cancel a jammer: the adaptive array places a null of its pattern in the direction of the jammer.

CFAR in clutter: robustness
The CA-CFAR of the lesson on detection has two weak points:
- masking: if another target lies in the reference cells, the mean grows, the threshold rises and the target under test may disappear. It happens with close objects, such as two cars near each other or a formation of aircraft;
- clutter edges: at the transition between a quiet area and one of strong clutter (the shoreline, the edge of a rain cloud) the mean mixes the two levels: too many false alarms on one side, targets lost on the other.
The variants:
- OS-CFAR (order statistic): instead of the mean, the
-th ordered value of the reference cells is used (for example the 12th out of 16). A few anomalous cells (another target) fall at the bottom of the ranking and do not count. For exponential noise
, from which the threshold
is obtained; - GO-CFAR and SO-CFAR: the level is estimated separately to the left and right of the cell and the greater (against false alarms at edges) or the smaller (against masking) is taken.
Simulation 1. Two 18 dB targets 4 cells apart in noise, CFAR with 16 reference cells and 2 guard cells per side,
, 300 trials. The CA-CFAR detects both targets only in 65 % of cases (the second raises the threshold of the first and vice versa); the OS-CFAR in 100 %. In noise only the two have the same false alarm rate:
and
.
Sea clutter and the tails of the distribution
The CFAR of the lesson on detection assumes a Gaussian background (Rayleigh amplitude, exponential power). Sea clutter, seen at grazing angles and with high resolution, is not: waves create short and intense spikes. It is described by the K distribution: a Gaussian “speckle” whose mean power fluctuates slowly from cell to cell according to a gamma distribution with shape parameter
. The smaller
, the “spikier” the sea; for
the Gaussian case returns.
Simulation 2. A threshold computed for
with the Gaussian model, applied to K clutter: with
false alarms are
(almost Gaussian), with
35 times more (
), with
140 times more (
). A naval radar that ignores the statistics of the sea fills up with false targets. The defences: thresholds computed on the K distribution estimated from the data, integration over several antenna turns (sea spikes are short-lived, a boat stays), and horizontal polarisation, which usually sees less sea clutter.
Interference and ghosts
- Interference between radars: in FMCW car radars, a chirp of another vehicle crossing one’s own produces, after the mixer, a short wideband pulse that raises the noise floor at all ranges and can hide weak targets. The countermeasures: detect the anomalous samples in time and zero them (or rebuild them by interpolation) before the FFT, randomise the chirp parameters, coordinate the radars.
Simulation 3. A weak target stands 35.9 dB above the noise floor. An interference of 30 samples out of 512 brings it down to 2.0 dB: invisible. Zeroing the samples with anomalous amplitude, the target comes back to 34.6 dB: only 1.3 dB is lost.
- Jammers (in military applications): a transmitter that floods the receiver with noise. The main defence is adaptive nulling with the array.
Simulation 4. An 8-element array at half a wavelength, target at broadside, jammer at 20° and 30 dB above the noise. With the fixed beam the jammer enters through a sidelobe at −13 dB and the SINR is −17 dB: the target is lost. With adaptive weights estimated from 64 samples (
), the gain towards the jammer drops to −65 dB and the SINR rises to 8.2 dB, close to the theoretical maximum of 9.0 dB (
, the gain of 8 elements in noise only).
- Multipath ghosts: a true target and its reflected image usually have the same radial velocity but positions geometrically incompatible with the terrain (for example below the road surface, or behind a guardrail). They are recognised with the known geometry, with tracking (the ghost “jumps” when the geometry of the reflection changes) and, in car radars, by comparison with the other sensors.
Summary
- Surface clutter has a radar cross section
and often exceeds an aircraft echo by 20-30 dB; volume clutter (rain, chaff) grows with the cell volume and, for rain, as
. - Doppler filters (MTI, MTD, adaptive) remove what does not move; from an aircraft STAP is needed, working jointly in angle and Doppler.
- Clutter maps and robust CFARs (OS, GO) handle clutter edges and close targets; sea clutter has long tails (K distribution) and requires higher thresholds.
- Interference and jammers are fought by removing anomalous samples and by nulling the direction of the jammer with the array.
The code of the four simulations
import numpy as np
rng = np.random.default_rng(0)
dB = lambda x: 10 ** (x / 10)
# 1) CFAR: two close targets, the CA-CFAR "masks" the second, the OS-CFAR does not
def cfar(p, N=16, guard=2, pfa=1e-4, kind="CA", k=12):
alpha = N * (pfa ** (-1 / N) - 1) # CA-CFAR (lesson on detection)
if kind == "OS": # threshold for the k-th order statistic
a_lo, a_hi = 1.0, 100.0 # Pfa(alpha) = prod_{i=0}^{k-1} (N-i)/(N-i+alpha)
for _ in range(100):
a = (a_lo + a_hi) / 2
pf = np.prod([(N - i) / (N - i + a) for i in range(k)])
a_lo, a_hi = (a, a_hi) if pf > pfa else (a_lo, a)
alpha = a
det = []
h = N // 2
for i in range(h + guard, len(p) - h - guard):
ref = np.r_[p[i - guard - h:i - guard], p[i + guard + 1:i + guard + 1 + h]]
level = ref.mean() if kind == "CA" else np.sort(ref)[k - 1]
threshold = alpha * level if kind == "OS" else alpha / N * ref.sum()
det.append(p[i] > threshold)
return np.r_[np.zeros(h + guard, bool), det, np.zeros(h + guard, bool)]
cells = 200
found = {"CA": 0, "OS": 0}
trials = 300
for _ in range(trials):
p = rng.exponential(1.0, cells)
p[100] += dB(18); p[104] += dB(18) # two 18 dB targets 4 cells apart
for t in ("CA", "OS"):
d = cfar(p, kind=t)
found[t] += d[100] and d[104]
print(f"two close targets both detected: CA-CFAR {found['CA'] / trials:.0%}, OS-CFAR {found['OS'] / trials:.0%}")
fa = {"CA": 0, "OS": 0}
for _ in range(50):
p = rng.exponential(1.0, 4000)
for t in ("CA", "OS"):
fa[t] += cfar(p, kind=t).sum()
print(f"false alarms per cell in noise only: CA {fa['CA'] / (50 * 3960):.1e}, OS {fa['OS'] / (50 * 3960):.1e}")
# 2) sea clutter with K distribution: the "Gaussian" threshold gives too many false alarms
M = 2_000_000
for nu in (0.5, 2.0, 100.0):
texture = rng.gamma(nu, 1 / nu, M) # fluctuating local power (mean 1)
power = texture * rng.exponential(1.0, M) # modulated exponential speckle: K clutter
threshold = -np.log(1e-4) # right threshold for Gaussian clutter
print(f"K clutter with nu = {nu:5}: Pfa with the Gaussian threshold {np.mean(power > threshold):.1e} (wanted 1e-4)")
# 3) interference between FMCW radars: zeroing the corrupted samples lowers the noise
Ns = 512
t = np.arange(Ns)
signal = 0.2 * np.exp(1j * 2 * np.pi * 60 / Ns * t) # a weak target in bin 60
noise = (rng.normal(size=Ns) + 1j * rng.normal(size=Ns)) * 0.05
interf = np.zeros(Ns, complex)
interf[200:230] = 5 * np.exp(1j * np.pi * 0.02 * (t[200:230] - 215) ** 2) # another radar's chirp crossing ours
def peak_over_floor(x):
X = np.abs(np.fft.fft(x * np.hanning(Ns)))
return 20 * np.log10(X[60] / np.median(X))
x = signal + noise + interf
xz = x.copy(); xz[np.abs(x) > 1.0] = 0 # detect and zero the anomalous samples
print(f"target above the floor: without interference {peak_over_floor(signal + noise):.1f} dB, with interference {peak_over_floor(x):.1f} dB, "
f"after zeroing {peak_over_floor(xz):.1f} dB")
# 4) adaptive nulling: 8-element array, jammer at 20 degrees, target at broadside
Ne, d = 8, 0.5 # spacing in wavelengths
steering = lambda th: np.exp(1j * 2 * np.pi * d * np.arange(Ne) * np.sin(np.radians(th)))
J = 1000.0 # jammer 30 dB above the noise
samples = np.sqrt(J) * steering(20)[:, None] * (rng.normal(size=(1, 64)) + 1j * rng.normal(size=(1, 64))) / np.sqrt(2) \
+ (rng.normal(size=(Ne, 64)) + 1j * rng.normal(size=(Ne, 64))) / np.sqrt(2)
Rcov = samples @ samples.conj().T / 64 # estimated covariance (SMI)
w_ad = np.linalg.solve(Rcov, steering(0)); w_ad /= np.abs(w_ad.conj() @ steering(0))
w_fx = steering(0) / Ne # fixed beam towards the target
for name, w in (("fixed", w_fx), ("adaptive", w_ad)):
g_t = np.abs(w.conj() @ steering(0)) ** 2
g_j = np.abs(w.conj() @ steering(20)) ** 2
noise_out = np.real(w.conj() @ w)
print(f"{name:8s} beam: gain towards the jammer {10 * np.log10(g_j / g_t):6.1f} dB, "
f"SINR {10 * np.log10(g_t / (J * g_j + noise_out)):6.1f} dB")Running it prints all the numbers of the four simulations: 65 % and 100 % for the two CFARs, false alarms
and
,
,
and
for K clutter, 35.9, 2.0 and 34.6 dB for the interference, and for the array −13 dB and −17 dB with the fixed beam, −65.5 dB and 8.2 dB with the adaptive one. The points left after filtering are used, in the dedicated lesson, to build objects.
10Tracking and parameter estimation
Finding a target is not enough: an air traffic control radar, a naval radar or a car radar must follow it over time, estimate its position and velocity better than any single measurement says, predict where it will be and recognise when it is manoeuvring. This is tracking. This lesson starts from the accuracy with which the radar measures range, angle and velocity (parameter estimation, with the Cramér-Rao bound), goes through the classic tracking radar, which follows a single target with the antenna, and arrives at the filters used today in every system: the α-β filter, the Kalman filter, the association between measurements and tracks when there are many targets, and multiple model filters for manoeuvres. A simulation shows the fundamental trade-off between noise and responsiveness.
The idea in simple words
Following a target with a radar is like following a ball with your eyes during a match watched through a dirty window: sometimes you see it clearly, sometimes it appears displaced, but your brain does not jump after every image; it imagines where the ball should be (because it knows the ball moves with a certain speed) and corrects this idea a little with what it sees. If the ball suddenly changes direction, for a moment the brain “lags behind”, then catches up.
A tracking filter does the same with formulas: it predicts where the target will be, measures, and corrects the prediction with part of the difference. How much to correct is the key choice: correcting little gives a smooth track that is slow to follow manoeuvres, correcting a lot gives a responsive but jittery track. The Kalman filter computes the best correction knowing how accurate the measurements are (the first part of the lesson) and how unpredictable the target is.
A bit of history
Radar is associated with microwaves, but the first echo-ranging systems were the short-wave (HF) soundings used in the 1920s by Breit and Tuve to measure the height of the ionosphere. The first operational radars, the Chain Home network built by the British at the end of the 1930s to detect enemy aircraft and later V-2 missiles, also worked in the upper part of the short-wave band (wavelengths of about ten metres), because the technology of the time did not allow higher frequencies: in a sense they were the ancestors of over-the-horizon (OTH) radars. The cavity magnetron (1940) brought radar to microwaves, with small antennas and narrow beams, and made fire-control and tracking radars possible.
The classic tracking radar
A tracking radar keeps the target at the centre of the beam with servomechanisms:
- in range, with a range gate split into two halves, early and late: if the echo falls more in the late half, the gate moves forward (early-late gate);
- in angle, with conical scan (the beam rotates around the axis and the echo is amplitude-modulated if the target is off centre) or, much better, with the monopulse of the lesson on phased arrays, which measures the error with a single pulse and is insensitive to amplitude fluctuations (a jammer that modulates its power at the scan frequency easily deceives conical scan).
Modern array radars instead track many targets “time-shared”: the beam jumps from one target to another, and continuity is provided by the tracking filter, which is the subject of the rest of the lesson. The same holds for surveillance radars (one measurement per antenna turn) and car radars (one measurement about every 50 ms).
Measurement accuracy: parameter estimation
Before filtering the measurements one must know how accurate they are. Do not confuse resolution and accuracy: resolution (
in range, the beamwidth in angle,
in velocity) says how far apart two targets must be to be seen as separate; accuracy says with what error the position of one isolated target is measured. With a good signal-to-noise ratio accuracy is much better than resolution, because the centre of a wide peak can be located with a small error, as one reads a thermometer between two marks.
The Cramér-Rao bound. Statistics gives a lower bound on the error of any unbiased estimator: for the delay
of an echo in white noise,
![Rendered by QuickLaTeX.com \[ \sigma_\tau \ge \frac{1}{\beta\sqrt{2\,SNR}},\qquad \beta^2 = \frac{\int(2\pi f)^2|S(f)|^2df}{\int|S(f)|^2df} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-7167e32d58142ff20eb3077c11ef0d95_l3.png)
where
is the peak signal-to-noise ratio after the matched filter and
the effective (rms) bandwidth of the signal. For a flat spectrum
wide,
, and in range
. The textbook rule of thumb,
, has the same form with a constant that depends on the spectrum. The message is clear: accuracy improves as the square root of the signal-to-noise ratio and in proportion to bandwidth.
Similarly, for angle (with monopulse)
, with
the monopulse slope; for velocity
.
Simulation. An echo with 1 MHz of bandwidth (150 m resolution), estimated with the matched filter and a fine peak search, 1000 trials for each level:
| SNR | simulated error | Cramér-Rao bound | rule of thumb |
|---|---|---|---|
| 30 dB | 1.8 m | 1.8 m | 3.4 m |
| 20 dB | 5.6 m | 5.8 m | 10.6 m |
| 10 dB | 19.8 m (plus 7.8 % of gross errors) | 18.2 m | 33.5 m |
At high SNR the estimator reaches the theoretical bound (the small difference below the bound at 20 dB is due to the finite number of trials, which gives an uncertainty of a few per cent on the estimated standard deviation): at 20 dB the error is 5.6 m, almost thirty times smaller than the resolution. At low SNR the threshold effect appears: sometimes the noise makes a sidelobe win and the error becomes gross (hundreds of metres). For angle, with a 2° beam and 20 dB,
: at 50 km that is 77 m of cross-range error, much more than the 6 m in range. For velocity, with 64 ms of observation in X band, the resolution is 0.23 m/s and the accuracy 1.7 cm/s. These are the values of
to put into the measurement model of the Kalman filter, and they explain why the uncertainty of a track is an ellipse elongated in the cross-range direction.
import numpy as np
# range measurement accuracy: simulation against the Cramér-Rao bound
c, B = 299792458.0, 1e6 # 1 MHz bandwidth: resolution c/2B = 150 m
N, fs = 256, 4e6 # samples in the frequency domain, sampling rate
f = np.fft.fftfreq(N, 1 / fs)
S = (np.abs(f) <= B / 2).astype(float) # flat spectrum B wide
E = np.sum(S ** 2)
rng = np.random.default_rng(0)
true_delay = 10.3 / fs # echo at 10.3 samples: not on a sample
for snr_dB in (10, 20, 30):
snr = 10 ** (snr_dB / 10) # peak signal-to-noise ratio after the matched filter
sig_n = np.sqrt(E / snr) # noise per complex component in frequency
errors = []
grid = np.linspace(-0.6, 0.6, 601) / fs # fine search around the coarse peak
for _ in range(1000):
R = S * np.exp(-2j * np.pi * f * true_delay) + sig_n * (rng.normal(size=N) + 1j * rng.normal(size=N)) / np.sqrt(2)
Y = R * S # matched filter in the frequency domain
t0 = np.argmax(np.abs(np.fft.ifft(Y))) / fs
tt = t0 + grid
out = np.abs(np.exp(2j * np.pi * np.outer(tt, f)) @ Y)
errors.append(tt[np.argmax(out)] - true_delay)
err = np.array(errors) * c / 2
gross = np.abs(err) > c / (2 * B) # the peak landed on a wrong lobe
beta = np.sqrt(np.sum((2 * np.pi * f) ** 2 * S ** 2) / E) # effective (rms) bandwidth
crb = c / 2 / (beta * np.sqrt(2 * snr))
print(f"SNR {snr_dB} dB: simulated error {np.std(err[~gross]):5.1f} m ({gross.mean() * 100:.1f} % gross errors), "
f"Cramér-Rao {crb:5.1f} m, rule of thumb c/2B/sqrt(2 SNR) {c / (2 * B) / np.sqrt(2 * snr):5.1f} m")
# angle and velocity accuracy with the approximate formulas
snr = 100.0
print(f"angle: 2 degree beam, km = 1.6, SNR 20 dB: {2 / (1.6 * np.sqrt(2 * snr)):.3f} degrees, that is {50e3 * np.radians(2 / (1.6 * np.sqrt(2 * snr))):.0f} m at 50 km")
lam, Tobs = 0.03, 64e-3
print(f"velocity: resolution {lam / (2 * Tobs):.3f} m/s, accuracy with SNR 20 dB {lam / (2 * Tobs) / np.sqrt(2 * snr):.4f} m/s")The α-β filter
The target moves at roughly constant velocity; at every measurement
(with period
) the filter predicts where it should be and then corrects the prediction with a fraction of the error (the innovation
):
![]()
With small
and
the filter “trusts” the prediction and averages many measurements (little noise, but slow response to a manoeuvre); with large values it follows the measurements (responsive, but noisy). A classic choice linking the two parameters is that of Benedict and Bordner,
.
The Kalman filter
The Kalman filter (1960) generalises the α-β: it describes the target with a state model
(for example position and velocity, with a random acceleration
of covariance
) and the measurement with
(noise of variance
), and computes at every step the optimum gain from the uncertainty
of the estimate:
![]()
![]()
For a linear system with Gaussian noises it is the minimum-variance estimator (its derivation is in the article on the Kalman filter linked to this lesson). After a few steps
and
settle: the steady-state Kalman filter is an α-β filter, with
and
set by the ratio between the process noise
and the measurement noise
. The advantage of the Kalman filter is that it works well also in the initial transient, with variable measurement periods, with measurements of different kinds (range, angles, Doppler) and in several dimensions.

The simulation: noise versus responsiveness
A target at 100 m/s, measured once per second with a 50 m error, which after 100 seconds starts accelerating at 5 m/s². Rms error of the estimates (the measurements alone have 48 m):
| filter | uniform motion | manoeuvring |
|---|---|---|
| α-β with α = 0.2 | 25 m | 181 m |
| α-β with α = 0.5 | 33 m | 37 m |
| Kalman with q = 0.1 | 16 m | 696 m |
| Kalman with q = 10 | 26 m | 73 m |
No fixed filter works well in both situations: the one that filters uniform motion well loses the target in a manoeuvre, the one ready for manoeuvres is noisy. The Kalman filter with
reaches steady state with
and
, practically the Benedict-Bordner pair (
).
The solution: several models together. The IMM filter (interacting multiple model) runs several Kalman filters in parallel, for example one for uniform motion and one for manoeuvres, and combines them weighted by the probability that each model is the right one, computed from the innovations. When the target manoeuvres, the innovation of the “uniform” filter grows, its weight drops and the “manoeuvre” filter prevails. It is the standard in air surveillance systems and automotive radars.
Many targets: initiation and association
With many targets and false alarms one must decide which measurement belongs to which track:
- gating: only measurements close enough to the prediction are considered for a track, measuring the distance with the uncertainty (Mahalanobis distance
, compared with a threshold of the chi-square distribution); - association: with the global nearest neighbour rule (GNN, optimal assignment with the Hungarian algorithm), or with probabilistic methods that weight all compatible measurements (JPDA), or keeping several alternative hypotheses until the data resolve them (MHT);
- initiation and deletion: a new track is born from unassociated measurements and is confirmed if it appears again, for example, in 3 scans out of 5 (M-of-N logic); a track without measurements for too many scans is deleted.
The same tools serve to assemble objects from the points of a car radar, in the dedicated lesson.
Summary
- Resolution and accuracy are different things: accuracy improves as the square root of the signal-to-noise ratio and reaches the Cramér-Rao bound.
- In angle the cross-range error grows with range: the uncertainty of a track is an elongated ellipse.
- The α-β filter predicts and corrects with fixed gains; the Kalman filter computes the optimum gains, and in steady state coincides with an α-β.
- No fixed filter works both in uniform motion and in manoeuvres: the IMM combines several models.
- With many targets, gating, association (GNN, JPDA, MHT) and track confirmation logic are needed.
The code
import numpy as np
rng = np.random.default_rng(0)
T, steps, sigma = 1.0, 200, 50.0 # one measurement per second, 50 m measurement error
k = np.arange(steps)
true = 1000 + 100 * k * T + 0.5 * 5.0 * (np.maximum(k - 100, 0) * T) ** 2 # 100 m/s, then accelerates at 5 m/s^2
z = true + rng.normal(0, sigma, steps) # range measurements
def alpha_beta(alpha):
beta = alpha ** 2 / (2 - alpha) # Benedict-Bordner choice
x, v, estimates = z[0], 0.0, []
for zk in z:
xp = x + v * T # prediction
r = zk - xp # innovation: measurement minus prediction
x, v = xp + alpha * r, v + beta / T * r # correction
estimates.append(x)
return np.array(estimates), beta
def kalman(q):
F = np.array([[1, T], [0, 1]]); H = np.array([[1.0, 0.0]])
Q = q * np.array([[T ** 4 / 4, T ** 3 / 2], [T ** 3 / 2, T ** 2]]) # random acceleration of variance q
R = np.array([[sigma ** 2]])
x, P, estimates, gains = np.array([z[0], 0.0]), np.diag([sigma ** 2, 1e4]), [], []
for zk in z:
x, P = F @ x, F @ P @ F.T + Q # prediction
S = H @ P @ H.T + R
K = P @ H.T / S # Kalman gain
x = x + (K * (zk - H @ x)).ravel()
P = (np.eye(2) - K @ H) @ P
estimates.append(x[0]); gains.append(K.ravel())
return np.array(estimates), gains[-1]
def rms(s, a, b):
return np.sqrt(np.mean((s - true)[a:b] ** 2))
for alpha in (0.2, 0.5):
s, beta = alpha_beta(alpha)
print(f"alpha-beta alpha = {alpha}, beta = {beta:.3f}: error {rms(s, 20, 100):5.1f} m in uniform motion, {rms(s, 110, 200):6.1f} m manoeuvring")
for q in (0.1, 10.0):
s, K = kalman(q)
print(f"Kalman q = {q:4}: error {rms(s, 20, 100):5.1f} m and {rms(s, 110, 200):6.1f} m; steady-state gains alpha = {K[0]:.3f}, beta = {K[1] * T:.3f}")
print(f"error of the measurements alone: {np.sqrt(np.mean((z - true) ** 2)):.1f} m")Running the first program prints the rows of the accuracy table and the angle and velocity accuracies (0.088°, 77 m, 0.234 m/s and 0.0166 m/s). The second prints the rows of the filter table: 25.2 and 180.8 m, 33.0 and 36.7 m, 16.3 and 695.6 m with gains 0.106 and 0.006, 25.5 and 73.1 m with gains 0.299 and 0.053, and 48.1 m for the measurements alone.
11Transmitters and receivers
Behind the antenna are the “power” half and the “sensitivity” half of the radar: the transmitter, which must generate pulses of kilowatts or megawatts with an extremely stable phase, and the receiver, which must notice echoes of
W while adding as little noise as possible, a few microseconds after a megawatt has passed a few centimetres away. This lesson describes the types of transmitter (magnetron, klystron, travelling wave tube, solid state), the link between peak power, average power and duty cycle, the duplexer that protects the receiver, the receive chain with Friis’ formula for the noise figure, the phase stability needed by the MTI, and the dynamic range of the receiver.
The idea in simple words
The radar is like a person who shouts as loud as possible and immediately afterwards must hear a distant whisper. Two problems: the shout must not “deafen” the ear (the receiver must be protected while transmitting), and the ear must be extremely sensitive, that is add very little hiss of its own. Moreover, for coherent radars, the shout must always have exactly the same “pitch” (the phase), otherwise fixed echoes no longer cancel and clutter returns.
What counts for range is the energy of each pulse, not the power: one can shout very loudly for an instant (magnetron: one megawatt for one microsecond) or speak more softly but for much longer (solid state: ten kilowatts for one hundred microseconds), and then compress the long pulse with the technique of the lesson on waveforms. The energy is the same.
Peak power, duty cycle and average power
The transmitter emits pulses of duration
with peak power
and repetition frequency
. The duty cycle is
, the average power
and the energy per pulse
.
- Magnetron: 1 MW peak, 1 μs pulses, PRF 1 kHz: duty cycle 0.1 %, 1 kW average, 1 J per pulse.
- Solid state: 10 kW peak, 100 μs pulses (compressed in reception), PRF 1 kHz: duty cycle 10 %, 1 kW average, 1 J per pulse.
Same energy, hence the same range (with the same processing), with a peak power one hundred times lower. This is why pulse compression made the move to solid state possible: transistors cannot withstand huge peaks, but work well with high duty cycles. A long pulse has a drawback, though: while transmitting the radar does not receive, and targets closer than
(15 km for 100 μs) are “blinded”; the remedy is a second short pulse for short ranges.
Types of transmitter
- Magnetron: a vacuum-tube oscillator, in which electrons spin in a magnetic field in front of resonant cavities. Cheap, compact, efficient; but it is an oscillator, and at every pulse it starts with a random phase (non-coherent radar, lesson on Doppler). It is found in naval navigation radars and, as a curiosity, in microwave ovens.
- Klystron: a tube amplifier; the electron beam is velocity-modulated by a first cavity, bunches into packets and gives energy to an output cavity. Very high powers (tens of MW peak) and great phase stability, narrow bandwidth. Large surveillance radars and particle accelerators.
- Travelling wave tube (TWT): the wave travels along a helix together with the electron beam and is amplified over a wide band (an octave). Airborne radars, electronic warfare.
- Solid state: gallium nitride (GaN) transistors, now dominant. Each transistor gives from tens to hundreds of watts; many are combined, or one is placed in each transmit/receive module of an active array (lesson on phased arrays), where the power adds up in space. Advantages: low voltages, no heater, graceful degradation (if 5 % of the modules of an array fail, radiated power and receive gain fall together by about 0.7 dB and the range by only 4 %, instead of stopping).
The duplexer: protecting the receiver
A single antenna transmits and receives: the duplexer connects the antenna to the transmitter during the pulse and to the receiver right after. With 1 MW in transmission (90 dBm) and a preamplifier that withstands at most 20 dBm, at least 70 dB of isolation are needed. Ferrite circulators are used (non-reciprocal devices that send power from one port to the next in one direction only, thanks to the permeability tensor of the magnetised ferrite seen in the Electromagnetic Fields course), with 20-30 dB of isolation, together with gas or PIN-diode limiters or switches, which close during the pulse and reflect the power. The recovery time of the switch, after the pulse, is an additional blind zone.
The receive chain and Friis’ formula
The classic receiver (superheterodyne) amplifies the signal with a low-noise amplifier (LNA), converts it to an intermediate frequency with a mixer and a local oscillator, filters and amplifies it again, then samples it (lesson on digital radar). Every stage adds noise; the total noise figure is computed with Friis’ formula:
![]()
Proof. Use the equivalent noise temperature
, the noise each stage adds referred to its input. The noise added by the second stage,
, referred to the input of the first must be divided by the gain
; that of the third by
. Hence
, and substituting
gives the formula. ∎
The practical consequence: the first stage decides almost everything, provided it has high gain. Example with a 1.2 dB LNA with 25 dB of gain, a mixer with 7 dB of loss and 7 dB of noise figure, and a 3 dB intermediate-frequency amplifier:
| chain | noise figure | noise temperature |
|---|---|---|
| LNA first | 1.3 dB | 101 K |
| 2 dB of loss (waveguide, limiter) before the LNA | 3.3 dB | 329 K |
| no LNA, mixer first | 10.0 dB | 2610 K |
Every decibel of loss before the preamplifier adds directly to the noise figure: this is why, in active arrays, the LNA is mounted right behind each antenna element. Without a preamplifier the noise figure gets worse by almost 9 dB, which in the radar equation costs 40 % of the range.

Stability: why the MTI needs a clean transmitter
A fixed echo cancels in the MTI only if two consecutive pulses are identical. If the phase of the transmitter (or of the local oscillator) varies randomly from pulse to pulse with a standard deviation
, the clutter residue after the two-pulse canceller has power
(for independent Gaussian phases). The clutter attenuation is therefore limited to about
: with 10 mrad (0.6°) of phase noise, 37 dB; with 1 mrad, 57 dB. If the clutter is 60 dB above the noise, a stability better than a milliradian from pulse to pulse is needed: this is the reason for klystrons, for top-quality quartz crystal oscillators, and for phase noise as the main specification of radar oscillators. The same holds for the jitter of the converter clock.
Dynamic range
The receiver must handle, at the same instant, the echo of a nearby mountain and that of a small distant target: differences of 80-100 dB. An ideal
-bit converter has a dynamic range of
dB: 74 dB at 12 bits, 86 at 14, 98 at 16 (a few decibels less in practice). If the signal saturates the converter, harmonics and intermodulation products appear that look like false targets, and the MTI no longer cancels the clutter. The remedies are gain control over time (STC, sensitivity time control, which reduces the gain at short ranges, where echoes are strong), gain that depends on the clutter map, and Doppler processing before the thresholds, which adds the integration gain.
Summary
- Range depends on the energy per pulse: peak power times duration. Solid state uses low peaks and long compressed pulses.
- Magnetron (oscillator, non-coherent), klystron and TWT (tube amplifiers, coherent), GaN solid state (coherent, modular, graceful degradation).
- The duplexer (circulator and limiter) protects the receiver: tens of dB of isolation.
- Friis’ formula: the first stage dominates the noise figure; every loss in front of the LNA is paid in full.
- Transmitter phase noise limits clutter cancellation to about
. - The receiver must have a large dynamic range; STC and gain maps avoid saturation.
The code
import numpy as np
dB = lambda x: 10 ** (x / 10)
lin2dB = lambda x: 10 * np.log10(x)
# 1) peak power, duty cycle and average power
for name, Ppk, tau, prf in (("magnetron", 1e6, 1e-6, 1e3), ("solid state", 10e3, 100e-6, 1e3)):
d = tau * prf
print(f"{name:12s}: peak {Ppk / 1e3:7.0f} kW, pulse {tau * 1e6:5.0f} us, duty cycle {d * 100:4.1f} %, "
f"average power {Ppk * d:6.0f} W, energy per pulse {Ppk * tau:5.2f} J")
# 2) noise figure of a receive chain (Friis' formula)
def friis(stages): # stages: (gain dB, noise figure dB)
F, Gtot = 0.0, 1.0
for i, (g, f) in enumerate(stages):
F += dB(f) if i == 0 else (dB(f) - 1) / Gtot
Gtot *= dB(g)
return lin2dB(F)
lna, mixer, if_amp = (25, 1.2), (-7, 7), (30, 3)
loss = (-2, 2) # 2 dB of loss (limiter, waveguide) before the preamplifier
for name, chain in (("preamplifier first", [lna, mixer, if_amp]),
("2 dB of loss before the preamplifier", [loss, lna, mixer, if_amp]),
("no preamplifier", [mixer, if_amp])):
F = friis(chain)
print(f"{name:44s}: noise figure {F:4.1f} dB, noise temperature {290 * (dB(F) - 1):5.0f} K")
# 3) receiver protection: isolation needed between transmitter and preamplifier
Ptx_dBm, max_lna_dBm = 10 * np.log10(1e6 / 1e-3), 20.0
print(f"transmitter {Ptx_dBm:.0f} dBm, preamplifier at most {max_lna_dBm:.0f} dBm: {Ptx_dBm - max_lna_dBm:.0f} dB of isolation needed")
# 4) stability: transmitter phase noise limits clutter cancellation in the MTI
rng = np.random.default_rng(0)
M = 200000
for sig in (0.01, 0.001): # rms pulse-to-pulse phase error, rad
clutter = np.exp(1j * rng.normal(0, sig, (M, 2))) # fixed echo of power 1, two pulses
residue = np.mean(np.abs(clutter[:, 1] - clutter[:, 0]) ** 2)
print(f"phase with {sig * 1e3:4.0f} mrad of noise: clutter attenuated by {-lin2dB(residue):.1f} dB (theory 1/(2 sigma^2) = {-lin2dB(2 * sig ** 2):.1f} dB)")
# 5) converter dynamic range
for bits in (12, 14, 16):
print(f"{bits}-bit converter: {6.02 * bits + 1.76:.0f} dB of dynamic range")Running it prints 1 J per pulse for the two transmitters (0.1 % and 10 % duty cycle), the noise figures 1.3, 3.3 and 10.0 dB with temperatures 101, 329 and 2610 K, the 70 dB of isolation, the clutter attenuation of 37.0 and 57.0 dB (equal to theory) and the dynamic range of 74, 86 and 98 dB.
Deep dive: designing an airport surveillance radar step by step, from requirements to power
The lessons of the course treat one topic at a time: the radar equation, propagation, radar cross section, waveforms, detection, antennas, clutter, transmitters. In a real design all these choices interlock, and changing one moves the others. This deep dive follows the preliminary design of an airport surveillance radar from the requirements to the transmitter power, one decision at a time, with a single Python script doing all the calculations. It is the best way to review the course and understand what each formula is for.
The requirements
The radar must:
- detect an aircraft of 1 m² (a small light aircraft, or an airliner seen in unfavourable conditions) at 100 km;
- with probability of detection 0.9 and probability of false alarm
; - update the position of each aircraft at least every 5 seconds;
- cover up to 10 km of altitude, in rain, over hilly terrain.
The target is modelled as Swerling 1: its radar cross section changes from one antenna turn to the next but stays constant while the beam sweeps past (lesson on the radar cross section).
Step 1. The frequency
The lessons on propagation and clutter point to low frequencies: rain attenuates and reflects as
and, for the same gain, the radar equation favours large
. On the other hand an antenna with a narrow beam at low frequency is huge. The classic compromise of airport radars is S band: here 2.8 GHz,
cm.
Step 2. The PRF
The unambiguous range must exceed the required range, with a margin for large targets beyond 100 km:
Hz gives
km. The unambiguous velocity is then small (
m/s, against aircraft flying at 250 m/s): the radar measures velocities poorly, but for a surveillance radar the MTI is enough to separate aircraft from clutter, with staggered PRFs against blind speeds (exercise 5).
Step 3. The antenna
To separate two aircraft close in azimuth and locate them well, a beam of 1.4° in azimuth is chosen. From the rule
the antenna is 5.4 m wide. In elevation a wide cosecant-squared beam is needed instead, to see an aircraft at constant altitude with the same strength near and far (lesson on antennas): the peak gain is typically around 33.5 dB, less than a pencil beam of the same azimuth width would give, because the energy is spread in elevation.
Step 4. How many pulses on target
One turn every 4.8 seconds (12.5 revolutions per minute) meets the required update. The target stays in the beam for
ms and receives
![]()
pulses: 20 are integrated.
Step 5. The required signal-to-noise ratio
With 20 pulses integrated non-coherently (sum of the powers and threshold on the sum), the exact calculation gives, for
and
:
- constant target: 3.2 dB per pulse (Albersheim’s formula gives 3.0);
- Swerling 1: 11.5 dB per pulse.
The fluctuation loss is 8.3 dB: integrating pulses all taken during the same sweep does not help against a radar cross section that, during that sweep, happened to be small. It is the heaviest item of the whole budget. With frequency agility (different frequencies in groups of pulses) the target would become roughly Swerling 2 and the loss would drop to a few decibels: an option to consider if the transmitter turned out too powerful.
Step 6. The losses
| loss | dB | origin |
|---|---|---|
| waveguides and duplexer | 2.0 | transmission and reception (lesson on transmitters and receivers) |
| radome | 0.5 | antenna cover, out and back |
| atmosphere | 1.2 | 100 km in S band, out and back (lesson on propagation) |
| beam shape | 1.6 | the pulses at the edges of the beam are weaker than the one at the centre |
| processing and CFAR | 2.5 | windows, off-centre sampling, threshold estimation (lesson on detection) |
| MTI | 1.0 | the filter also attenuates some targets |
| total | 8.8 |
Each item looks small, but together they are worth almost 9 dB, a factor of 7.6 in power. Forgetting them is the most common mistake in preliminary designs.
Step 7. Waveform and power
With the matched filter what counts is the energy of the pulse (lesson on waveforms). From the radar equation with the losses
and the noise figure
dB:
![]()
which gives 2.95 J per pulse. With a simple 1 μs pulse (150 m resolution) 2.95 MW of peak power would be needed: possible with a klystron, but expensive. Choosing a 50 μs chirp with 1 MHz of bandwidth (same resolution after compression), 59 kW of peak power suffice, with a 5.5 % duty cycle and 3.2 kW average: within reach of a solid-state transmitter made of GaN modules in parallel. The price is a 7.5 km blind zone, covered by a second short and less powerful pulse (close targets give much stronger echoes: a few hundred watts are enough).

Step 8. The checks: horizon and clutter
Horizon. With the antenna at 15 m, an aircraft at 1000 m altitude is visible up to 146 km, but one at 300 m only up to 87 km: low targets cannot be seen at 100 km for geometric reasons, whatever the power (lesson on propagation). If the requirement included them, a higher antenna or a second radar would be needed.
Clutter. At 20 km the illuminated cell is
m²; with terrain of
dB the clutter is 730 m² and the 1 m² aircraft is 28.6 dB below. To detect it about 40 dB of improvement are needed: a three-pulse MTI or a bank of Doppler filters (MTD), with clutter maps, and a transmitter with phase noise below a few milliradians (exercise 8). This is why even a “low-PRF” radar must be coherent.
What the design teaches
- Range requirements translate into energy, not peak power: pulse compression is what makes solid state possible.
- Target fluctuation and losses together weigh about 17 dB: more than the gain from integrating 20 pulses.
- Frequency, PRF, beam and antenna rotation are tied together by the mission (coverage, update, clutter), not chosen independently.
- Some limits (the horizon) are not solved with power: they are solved with geometry.
- The numbers obtained (5.4 m antenna, S band, a few tens of kW with pulse compression, 12-15 revolutions per minute) are those of real approach radars: a preliminary design, done well, is already close to reality.
The code
import numpy as np
from scipy import optimize, stats
c, k, T0 = 299792458.0, 1.380649e-23, 290.0
dB = lambda x: 10 ** (x / 10)
L10 = lambda x: 10 * np.log10(x)
# Requirements: airport surveillance radar, 1 m^2 aircraft (Swerling 1) at 100 km, Pd 0.9, Pfa 1e-6
R, sigma, Pd, Pfa = 100e3, 1.0, 0.9, 1e-6
f = 2.8e9; lam = c / f # S band: little rain attenuation
turn = 4.8 # seconds per turn: required update
altitude = 10e3 # maximum altitude to cover
# 1) PRF: unambiguous range beyond 100 km (with margin)
PRF = 1100.0
print(f"PRF {PRF:.0f} Hz: unambiguous range {c / (2 * PRF) / 1e3:.0f} km")
# 2) antenna: 1.4 degree beam in azimuth, wide in elevation (cosecant squared)
thaz = 1.4
D = 70 * lam / thaz # antenna width
G = dB(33.5) # typical peak gain of a cosecant-squared antenna
print(f"antenna {D:.1f} m wide for {thaz} degrees; gain {L10(G):.1f} dB")
# 3) pulses on target and integration
n = thaz * PRF * turn / 360
print(f"pulses on target: {n:.1f}")
# 4) required SNR per pulse with non-coherent integration: exact calculation (sum of powers, threshold on the sum)
nint = int(np.floor(n))
threshold = stats.gamma.isf(Pfa, nint) # sum of nint noise powers (exponentials with mean 1)
def pd_constant(snr):
return stats.ncx2.sf(2 * threshold, 2 * nint, 2 * nint * snr)
def pd_swerling1(snr): # exponential radar cross section, constant while the beam sweeps past
s = np.linspace(0, 30, 3001) * snr
return np.trapezoid(stats.ncx2.sf(2 * threshold, 2 * nint, 2 * nint * s) * np.exp(-s / snr) / snr, s)
req = {name: optimize.brentq(lambda d: fn(10 ** (d / 10)) - Pd, -10, 30) for name, fn in (("constant", pd_constant), ("Swerling 1", pd_swerling1))}
snr_req = req["Swerling 1"]
print(f"SNR per pulse with {nint} pulses: constant target {req['constant']:.1f} dB, Swerling 1 {snr_req:.1f} dB "
f"(fluctuation loss {snr_req - req['constant']:.1f} dB)")
# 5) losses
losses = {"waveguides and duplexer": 2.0, "radome": 0.5, "atmosphere (out and back)": 1.2, "beam shape (scalloping)": 1.6,
"processing and CFAR": 2.5, "MTI": 1.0}
Ltot = sum(losses.values())
for kk, v in losses.items():
print(f" {kk:30s} {v:4.1f} dB")
print(f"total losses {Ltot:.1f} dB")
# 6) peak power needed with a compressed pulse: tau = 50 us, B = 1 MHz (150 m resolution)
F, Bw, tau = dB(3.0), 1e6, 50e-6
# with the matched filter energy counts: SNR = Pt tau G^2 lam^2 sigma / ((4pi)^3 k T0 F L R^4)
E = dB(snr_req) * (4 * np.pi) ** 3 * k * T0 * F * dB(Ltot) * R ** 4 / (G ** 2 * lam ** 2 * sigma)
Pt = E / tau
print(f"energy per pulse {E:.3f} J, peak power {Pt / 1e3:.1f} kW with a {tau * 1e6:.0f} us pulse, "
f"duty cycle {tau * PRF * 100:.1f} %, average power {Pt * tau * PRF:.0f} W")
print(f"blind zone of the long pulse: {c * tau / 2 / 1e3:.1f} km (covered with a short pulse)")
# 7) check: radar horizon for a low-flying aircraft and an antenna at 15 m
horizon = lambda h: np.sqrt(2 * 4 / 3 * 6371e3 * h)
for hb in (300.0, 1000.0):
print(f"aircraft at {hb:.0f} m: horizon {(horizon(15) + horizon(hb)) / 1e3:.0f} km")
# 8) clutter: cell at 20 km, terrain sigma0 = -20 dB
Ac = 20e3 * np.radians(thaz) * c / (2 * Bw)
scr = L10(sigma / (dB(-20) * Ac))
print(f"clutter cell at 20 km: {Ac:.0f} m^2, SCR {scr:.1f} dB; MTI improvement needed about {snr_req - scr:.0f} dB")Running it prints the PRF with 136 km of unambiguous range, the 5.4 m antenna with 33.5 dB, 20.5 pulses on target, 3.2 and 11.5 dB of required SNR with 8.3 dB of fluctuation loss, the losses (8.8 dB in all), 2.95 J per pulse, 59 kW peak with a 5.5 % duty cycle and 3.2 kW average, the 7.5 km blind zone, horizons of 87 and 146 km, and for clutter 28.6 dB below and about 40 dB of improvement needed.
12FMCW automotive radar
Radar is one of the main sensors of modern cars: adaptive cruise control, automatic emergency braking, blind-spot monitoring and rear cross-traffic alert use it, and a car with driver assistance often has five or more. Unlike cameras it works in the dark, in fog and in rain, and it measures velocity directly. Almost all automotive radars are FMCW (frequency modulated continuous wave) at 77 GHz, built on a single chip with printed antennas. This lesson derives how an FMCW radar measures range, velocity and angle, proves the resolution and range formulas, explains the virtual MIMO array, and simulates a complete frame with double-FFT processing.
The idea in simple words
An FMCW radar does not transmit pulses: it transmits all the time, but with a frequency that rises continuously, like a siren rising in pitch. When the echo comes back it is the “siren” of a few instants earlier, so it has a slightly lower pitch than what the radar is emitting at that moment. The farther the target, the “older” the echo and the larger the pitch difference. The radar mixes the two signals and listens to the difference, the beat: a low tone, of a few megahertz, whose frequency gives the range directly.
For velocity the same trick as in the lesson on Doppler is used: the chirp is repeated many times and one looks at how the phase of the beat turns from one chirp to the next. For angle, the phases received by adjacent antennas are compared. Three FFTs (one for range, one for velocity, one for angle) turn the raw samples into a map of everything in front of the car.
The chirp and the beat
The radar continuously transmits a series of chirps: the frequency rises linearly from
to
in a time
, with slope
. The echo of a target at range
returns with a delay
, so at every instant it has a slightly lower frequency than the one being transmitted. The receiver multiplies the echo by the transmitted signal (a mixer) and obtains the difference of the two frequencies, the beat signal.
Theorem. The beat frequency is
: proportional to range.
Proof. The phase of the transmitted signal is
. The echo is the same signal delayed by
:
. The mixer gives the phase difference:
. The time-varying part is
: a sinusoid of frequency
. The constant terms give an initial phase
(which will be used for velocity) and a negligible term. ∎
Range is therefore measured with an FFT of the beat: each target becomes a peak at a different frequency. With an ADC sampling at
(in quadrature), the maximum measurable frequency gives the maximum range
, and the resolution of the FFT over one chirp (
in frequency) gives the range resolution
![]()
independent of the chirp duration: only the bandwidth counts. With
MHz, 25 cm; high-resolution parking radars use up to 4 GHz (3.75 cm) in the 77-81 GHz band. The beat is at a few megahertz: a target at 30 m with
MHz/μs gives 2.4 MHz. This is a great practical advantage: a 77 GHz signal is processed with a cheap ADC at a few megahertz.

Velocity: from one chirp to the next
The Doppler shift of a car (a few kilohertz) is small compared with the beat frequency, and within a single chirp it is confused with range. It is measured instead across chirps, as in the pulse-Doppler of the lesson on Doppler.
Theorem. Between two consecutive chirps, separated by
, the beat phase of a target with radial velocity
changes by
; hence with
chirps velocity is measured with an FFT, with resolution
and unambiguous span
.
Proof. The constant phase of the beat is
. In a later chirp the target has moved by
, so the phase has changed by
. The sequence of phases is a sinusoid along the chirps with frequency
(the Doppler), sampled at
: the FFT over
samples has resolution
in frequency, that is
in velocity, and is unambiguous as long as
, that is
. ∎
At 77 GHz (
mm) with
μs and 128 chirps: 0.30 m/s resolution, ±19.5 m/s without ambiguity (higher velocities are resolved with chirps of different durations, or with tracking). Arranging the samples in a matrix (rows: chirps; columns: samples of the chirp) and computing one FFT along the columns and one along the rows gives the range-velocity map of the whole scene in a frame of a few milliseconds.
Angle and the virtual MIMO array
With several receive antennas, the echo reaches each with a different phase,
between antennas a distance
apart (the phased-array geometry, lesson on phased arrays): a third FFT along the antennas gives the angle. Angular resolution grows with the number of antennas, but a chip has few channels. The trick is MIMO: with
transmit antennas transmitting in turn (or with different codes), and
receive antennas, each transmitter-receiver pair behaves as a “virtual” antenna at the position given by the sum of the two.
Property. If the transmit antennas are spaced
apart and the receive antennas
apart, the virtual positions
form a uniform array of
elements with spacing
.
Indeed the phase of the echo depends on the sum of the outbound path (from the transmit antenna) and the return path (to the receive antenna), that is on
. With 3 transmit and 4 receive antennas, 12 virtual channels are obtained, with an angular resolution of about
radians, 9.5°; the latest “4D” radars, with tens of real channels, reach hundreds of virtual channels and also measure elevation (separating a bridge from a car stopped under it).

Simulating a frame
Radar at 77 GHz,
MHz,
μs, 512 samples per chirp, 128 chirps. Three targets: a car at 30 m moving away at 10 m/s, and at 55 m two objects at the same range, one approaching at 5 m/s and one moving away at 12 m/s (for example a car and a motorcycle side by side). The theoretical performance: 25 cm resolution, 128 m range, 0.30 m/s velocity resolution, ±19.5 m/s span.
The double FFT finds the three targets at (29.98 m; 10.04 m/s), (54.96 m; −5.17 m/s) and (54.96 m; 12.17 m/s): the true ranges and velocities, rounded to the grid cell. The two objects at 55 m, inseparable in range, are well separated in velocity: this is one of the reasons why radar recognises vehicles even in traffic.

Target configuration and real problems. Large objects (trucks, guardrails) give many points, small objects few; guardrails and stationary roadside objects are the main source of clutter; multipath (reflections off the road surface and vehicles) creates ghost targets; and with millions of equipped cars, interference between radars becomes a problem (another radar’s chirp crossing one’s own creates a disturbance pulse that raises the noise). The filtering of these effects is in the lesson on clutter, the construction of objects from points in the lesson that follows.
Summary
- The FMCW radar transmits frequency chirps; the beat between echo and transmitted signal has frequency
, proportional to range. - Range resolution is
, only bandwidth counts; the maximum range depends on how the beat is sampled. - Velocity is measured from the phase rotation across chirps: resolution
, span
. - The virtual MIMO array multiplies the channels:
elements with
antennas. - Double (or triple) FFT: the range-velocity(-angle) map of a frame in a few milliseconds.
The code
import numpy as np
c = 299792458.0
fc, B, Tc, Nc, Ns = 77e9, 600e6, 50e-6, 128, 512 # carrier, bandwidth, chirp duration, chirps, samples per chirp
S, lam = B / Tc, c / fc # chirp slope, wavelength
fs = Ns / Tc # sampling rate (in quadrature)
t = np.arange(Ns) / fs
targets = [(30.0, 10.0, 1.0), (55.0, -5.0, 0.5), (55.0, 12.0, 0.3)] # range, velocity, amplitude
rng = np.random.default_rng(0)
data = np.zeros((Nc, Ns), complex) # one row per chirp
for m in range(Nc):
for R, v, a in targets:
Rm = R + v * m * Tc # range changes from one chirp to the next
data[m] += a * np.exp(1j * (2 * np.pi * 2 * S * Rm / c * t + 4 * np.pi * Rm / lam))
data += (rng.normal(size=data.shape) + 1j * rng.normal(size=data.shape)) * 0.05
rd_map = np.fft.fft(data * np.hanning(Ns), axis=1) # range FFT (along the chirp)
rd_map = np.fft.fftshift(np.fft.fft(rd_map * np.hanning(Nc)[:, None], axis=0), axes=0) # velocity FFT
P = 20 * np.log10(np.abs(rd_map) + 1e-12); P -= P.max()
dR, dv = c / (2 * B), lam / (2 * Nc * Tc)
print(f"resolution {dR * 100:.0f} cm, range {Ns * dR:.0f} m, velocity resolution {dv:.2f} m/s, span +-{lam / (4 * Tc):.1f} m/s")
for _ in range(3): # the three highest peaks
i, j = np.unravel_index(np.argmax(P), P.shape)
print(f"target: {j * dR:6.2f} m, {(i - Nc / 2) * dv:6.2f} m/s, {P[i, j]:5.1f} dB")
P[max(0, i - 4):i + 5, max(0, j - 4):j + 5] = -200 # remove the peak found
print(f"beat at 30 m: {2 * S * 30 / c / 1e6:.2f} MHz; MIMO 3x4: {3 * 4} virtual channels, about {np.degrees(2 / 12):.1f} degrees")Running it prints 25 cm, 128 m, 0.30 m/s and ±19.5 m/s, the three targets with 0, −7.2 and −11.6 dB, 2.40 MHz and 12 channels with 9.5°.
13From scan points to objects
After detection, a modern radar does not return “a target”, but a point cloud: tens or hundreds of detections per scan, each with range, angle, radial velocity and intensity. A car produces more than one (bumper, wheels, mirrors, number plate), a guardrail tens, noise a few scattered ones. A driver assistance system instead needs objects: “a car 40 m ahead in my lane, 4.5 m long, travelling at 15 m/s”. This lesson describes the chain that turns points into objects, as in car radars and, in a similar form, in surveillance radars: separating stationary from moving points with the ego velocity, clustering with DBSCAN, estimating shape and full velocity, tracking and classification. A simulation of a road scene goes through all the steps.
The idea in simple words
A car radar does not “see” cars: it sees many bright dots, like the stars in a night sky. Each dot is a piece of metal that reflected the wave: a bumper, a wheel, a pole, a stretch of guardrail. The task of this lesson is the same as that of someone looking at the sky and recognising the constellations: grouping the dots that belong together and understanding what they form.
The radar, however, has a help that stars do not give: for each point it knows the velocity with which it approaches or moves away. This allows three tricks. First, stationary objects (road, guardrail, trees) are recognised at once, because they all move consistently with our own velocity. Second, two nearby objects with different velocities are not confused. Third, by combining the radial velocities of several points of the same object, seen from slightly different angles, the full velocity of the object is obtained, including the crosswise component, which a single Doppler measurement does not see.
The scan points
For each detection the radar provides:
- range
and azimuth
(and in “4D” radars also elevation), from which the position
,
in the vehicle frame; - radial velocity
, from the Doppler: the component of the relative velocity along the line of sight. It is the most valuable quantity, measured directly and with an accuracy of a few centimetres per second; - intensity (or estimated radar cross section), which helps to tell a truck from a pedestrian.
Angular accuracy is the weak point (a few tenths of a degree at best, that is tens of centimetres at 50 m), while range and radial velocity accuracy are excellent.
1. Stationary or moving? The ego velocity
A stationary object, seen from a vehicle travelling at
, has relative velocity
, hence radial velocity
![]()
All the stationary points of the scene (guardrail, signs, parked cars, the ground) lie on this curve in the
plane; moving points lie off it. One can also do the opposite: estimate the velocity of one’s own vehicle from the radar, looking for the curve that passes through the largest number of points. Since moving points are “intruders” that would spoil a simple regression, a robust method such as RANSAC is used: take a random point, compute the
that would make it stationary, count the points consistent with that hypothesis, repeat many times and keep the hypothesis with the most support; finally redo the least-squares estimate on the consistent points only. It is an estimate independent of the wheel sensors, useful when the wheels slip, and it also allows checking the mounting calibration of the radar.

2. Clustering: DBSCAN
The moving points must be grouped by object. The number of objects is unknown, and there are isolated noise points that belong to none: the most used algorithm is DBSCAN (density-based spatial clustering, Ester et al., 1996). Two parameters: a radius
and a minimum number of points
.
- A point is a core point if it has at least
points (itself included) within
. - A cluster is formed by core points reachable from one another in steps of length at most
, plus the border points close to a core point. - Points that are neither core nor border points are noise.
DBSCAN finds clusters of any shape, does not need the number of clusters and discards isolated points by itself. In radar it is convenient to cluster in a space that also contains the radial velocity (with a scale, for example 2 m/s “count as” 1 m): two cars side by side at the same range but with different velocities stay separate, as in the range-velocity map of the lesson on FMCW radar. The choice of
depends on range (at larger ranges the points of the same object are more spread in angle), and real systems adapt it.
3. From a set of points to an object
For each cluster one estimates:
- position: the centroid of the points, or better the closest point (the rear of the vehicle), which is what counts for the safety distance;
- orientation and size: the main direction of the point cloud with principal component analysis (the eigenvector of the covariance matrix with the largest eigenvalue), and length and width as the extent of the points along the two axes. In practice “L”-shaped models (two visible sides of a rectangle) are also used, because the radar sees only the sides facing it;
- full velocity. A point measures only the radial component, but the points of the same rigid object all have the same velocity
and see it at slightly different angles:
. With at least two points it is solved by least squares.
The limit of lateral velocity. That system is well conditioned only if the angles
are sufficiently different. A car at 40 m, less than two metres wide, is seen within a few degrees: the component along the line of sight (
) is determined very well, the crosswise one (
) poorly. With an error of 0.1 m/s on each radial velocity, the uncertainty of the lateral velocity is
, which grows quickly as the angular extent shrinks. Lateral velocity is better obtained over time, by tracking the position of the object with the Kalman filter (lesson on tracking), or by combining several radars that see it from different directions.
Simulating a road scene
Our vehicle travels at 20 m/s. The scene: a stationary guardrail on the right (38 points), two parked cars on the left (12 points), a car ahead in our lane at 40 m travelling at 15 m/s (12 points), a car merging diagonally from the left at 30 m with velocity (4; −4) m/s (10 points), and 8 scattered false alarms. Measurement noise: 10 cm in range, 0.5° in angle, 0.1 m/s in radial velocity.
- Ego velocity estimated by the radar with RANSAC: 20.03 m/s; points classified as stationary 50 (exactly the guardrail and the parked cars), moving 30.
- DBSCAN on the 30 moving points: 2 clusters, and the 8 false alarms discarded as noise.
- Objects:
| object | points | centre | size | orientation | estimated velocity | uncertainty | angular extent |
|---|---|---|---|---|---|---|---|
| car ahead | 12 | (40.2; 0.1) m | 4.1 × 1.8 m | 176° | (15.0; −1.8) m/s | (0.03; 1.75) | 2.7° |
| merging car | 10 | (30.0; 8.1) m | 4.1 × 1.6 m | 134° | (3.6; −2.4) m/s | (0.19; 0.70) | 7.4° |
The true values were 4.5 × 1.8 m, orientations 180° and 135°, velocities (15; 0) and (4; −4) m/s. Position, shape, orientation and longitudinal velocity are excellent; the lateral velocity has errors of the order of its uncertainty (1.75 m/s for the distant car seen within 2.7°), exactly as predicted: in a single instant the radar does not measure it well, tracking does. The sizes are slightly underestimated because the points do not cover the whole vehicle.

4. Tracking and classification
- Tracking: the objects of each scan are associated with the existing tracks and filtered (Kalman, IMM, lesson on tracking). The motion model for a vehicle is often the constant velocity and steering model (the kinematic bicycle model of the lesson on vehicle dynamics), which ties the direction of motion to the orientation of the vehicle. Tracking improves the lateral velocity, the size (accumulating points over several scans) and robustness to missing points.
- Classification: car, truck, motorcycle, bicycle, pedestrian. Clues: size, echo intensity, and above all micro-Doppler: the parts moving with respect to the body (legs and arms of a pedestrian, pedals and wheels of a bicycle, wheels of a car) add around the body velocity a characteristic “spectrum” of velocities. A walking pedestrian shows over time a periodic oscillation of about 1-2 Hz of the leg velocities, which a neural network recognises well.
- Neural networks on the point cloud: architectures such as PointNet, or convolutional networks on the range-velocity-angle map (before detection, without losing information), increasingly replace the chain of rules. It remains essential, however, to know how to build and check it step by step: it is the one used as a reference, to generate training data and for systems that must be certified.
- Sensor fusion: the radar objects are fused with those of the camera (better in angle and in classification) and of the LiDAR (precise geometry): each sensor compensates for the weak points of the others.
Summary
- The radar produces a point cloud with range, angle, radial velocity and intensity; objects are needed.
- Stationary points satisfy
: with RANSAC the ego velocity is estimated and the moving points separated. - DBSCAN clusters nearby points (also in velocity) without knowing how many objects there are and discards isolated points.
- From each cluster come centre, size and orientation (PCA) and the full velocity (least squares on the radial velocities); the crosswise component is the more uncertain the smaller the object is in angle.
- Tracking (Kalman, IMM) and classification (micro-Doppler, neural networks) complete the chain; fusion with cameras and lidar gives the final picture.
The code
import numpy as np
rng = np.random.default_rng(1)
v_ego = 20.0 # our car travels forward at 20 m/s along x
# ---------------- the scene (vehicle frame: x forward, y to the left) ----------------
points = [] # (x, y, vx, vy) of each reflecting point, absolute velocities
for x in np.arange(5, 80, 2.0): # stationary guardrail on the right
points.append((x, -4.0, 0, 0))
for cx in (25.0, 48.0): # cars parked on the left
for _ in range(6):
points.append((cx + rng.uniform(-2, 2), 5.0 + rng.uniform(-0.8, 0.8), 0, 0))
def vehicle(cx, cy, vx, vy, length, width, n):
th = np.arctan2(vy, vx)
for _ in range(n):
a, b = rng.uniform(-length / 2, length / 2), rng.uniform(-width / 2, width / 2)
points.append((cx + a * np.cos(th) - b * np.sin(th), cy + a * np.sin(th) + b * np.cos(th), vx, vy))
vehicle(40.0, 0.0, 15.0, 0.0, 4.5, 1.8, 12) # car ahead, in our lane, slower: 15 m/s
vehicle(30.0, 8.0, 4.0, -4.0, 4.5, 1.8, 10) # car merging diagonally from the left
P = np.array(points)
# ---------------- what the radar measures: range, angle, radial velocity ----------------
R = np.hypot(P[:, 0], P[:, 1]); az = np.arctan2(P[:, 1], P[:, 0])
vrel = P[:, 2:4] - [v_ego, 0] # velocity relative to our vehicle
vr = (vrel[:, 0] * P[:, 0] + vrel[:, 1] * P[:, 1]) / R # radial component (positive if moving away)
R += rng.normal(0, 0.1, len(R)); az += rng.normal(0, np.radians(0.5), len(az)); vr += rng.normal(0, 0.1, len(vr))
fx = np.c_[rng.uniform(5, 80, 8), rng.uniform(-10, 10, 8)] # scattered false alarms
R = np.r_[R, np.hypot(fx[:, 0], fx[:, 1])]; az = np.r_[az, np.arctan2(fx[:, 1], fx[:, 0])]; vr = np.r_[vr, rng.uniform(-25, 5, 8)]
x, y = R * np.cos(az), R * np.sin(az)
print(f"{len(R)} scan points")
# ---------------- 1) ego velocity from the stationary points: for a stationary point vr = -v_ego cos(az) ----------------
best = 0
for _ in range(200): # RANSAC: hypothesis from one point, count of consistent points
i = rng.integers(len(vr))
v_hyp = -vr[i] / np.cos(az[i])
consistent = np.abs(vr + v_hyp * np.cos(az)) < 0.3
if consistent.sum() > best:
best, still = consistent.sum(), consistent
v_est = -np.sum(vr[still] * np.cos(az[still])) / np.sum(np.cos(az[still]) ** 2) # least squares on the consistent points
print(f"ego velocity estimated by the radar: {v_est:.2f} m/s (true {v_ego}); stationary points {still.sum()}, moving {(~still).sum()}")
# ---------------- 2) DBSCAN clustering of the moving points ----------------
def dbscan(Xf, eps, min_pts):
n = len(Xf); label = np.full(n, -1); c = 0
neighbours = [np.where(np.linalg.norm(Xf - Xf[i], axis=1) <= eps)[0] for i in range(n)]
for i in range(n):
if label[i] != -1 or len(neighbours[i]) < min_pts:
continue
label[i] = c; queue = list(neighbours[i])
while queue: # the cluster grows from the "core" points
j = queue.pop()
if label[j] == -1:
label[j] = c
if len(neighbours[j]) >= min_pts:
queue.extend(neighbours[j])
c += 1
return label
mov = ~still
Xf = np.c_[x[mov], y[mov], vr[mov] / 2.0] # radial velocity counts as a coordinate (2 m/s = 1 m)
lab = dbscan(Xf, eps=2.5, min_pts=3)
print(f"clusters found: {lab.max() + 1}; points discarded as noise: {(lab == -1).sum()}")
# ---------------- 3) each cluster becomes an object: position, size, orientation, velocity ----------------
for g in range(lab.max() + 1):
sel = np.where(mov)[0][lab == g]
pts = np.c_[x[sel], y[sel]]
centre = pts.mean(0)
evals, evecs = np.linalg.eigh(np.cov(pts.T)) # main direction of the points (PCA)
axis = evecs[:, -1]
proj = (pts - centre) @ np.c_[axis, [-axis[1], axis[0]]]
length, width = np.ptp(proj[:, 0]), np.ptp(proj[:, 1])
# full velocity: each point sees vr = vx cos(az) + vy sin(az) (relative); least squares
A = np.c_[np.cos(az[sel]), np.sin(az[sel])]
v_rel = np.linalg.lstsq(A, vr[sel], rcond=None)[0]
v_abs = v_rel + [v_est, 0]
unc = 0.1 * np.sqrt(np.diag(np.linalg.inv(A.T @ A))) # standard deviation of the two components (0.1 m/s per point)
print(f"object {g}: {len(sel)} points, centre ({centre[0]:5.1f}, {centre[1]:5.1f}) m, {length:.1f} x {width:.1f} m, "
f"orientation {np.degrees(np.arctan2(axis[1], axis[0])) % 180:5.1f} degrees, velocity ({v_abs[0]:5.1f}, {v_abs[1]:5.1f}) m/s "
f"+- ({unc[0]:.2f}, {unc[1]:.2f}), angular extent {np.degrees(np.ptp(az[sel])):.1f} degrees")Running it prints 80 points, the ego velocity 20.03 m/s with 50 stationary and 30 moving points, 2 clusters and 8 noise points, and the two rows of the table.
14Air traffic control radar
European skies see tens of thousands of flights every day, and each one is followed at every instant by the control centres. The main tool is not a “classic” radar listening to echoes, but a cooperative system: the radar interrogates the aircraft, and an on-board device, the transponder, replies with its identity and altitude. This lesson describes air traffic surveillance systems: primary and secondary radar, modes A, C and S, the problems of overlapping (synchronous) and unwanted (asynchronous) replies, automatic surveillance with ADS-B, multilateration and military IFF identification. The code decodes a real ADS-B message and computes a position by multilateration.
The idea in simple words
An ordinary radar is like someone searching for a person in the dark with a torch: they see whoever is lit, but do not know who it is. Air traffic control instead uses a system closer to a phone call: the radar “calls” (interrogates) and each aircraft “answers” with a message containing who it is and at what altitude it is flying. The on-board device that answers is called a transponder. Since the reply is a signal transmitted by the aircraft, and not a faint echo, it arrives strong even from far away.
Difficulties arise when there are many aircraft: two replies may overlap, an aircraft also answers the calls of other radars, and the system must sort everything out. Mode S (each aircraft has a personal address, like a phone number) and ADS-B (the aircraft broadcasts its own GPS position) have solved many of these problems.
Primary and secondary radar
The primary radar (PSR) is an ordinary radar: it receives the echo reflected by the airframe. It sees any object, even non-cooperative ones (an aircraft with a failed transponder, a drone, a flock of birds), but does not know who it is nor at what altitude it flies (unless it also has an elevation beam). Airports have primary approach radars in S band, with a range of 50-60 nautical miles and an antenna turn every 4-5 seconds; en-route radars, in L band, reach 200-250 miles with a turn every 10-12 seconds.
The secondary surveillance radar (SSR) transmits an interrogation at 1030 MHz; the aircraft transponder replies at 1090 MHz. Decisive advantages:
- the reply is generated by the aircraft, so the received power falls as
and not as
: much lower powers suffice for longer ranges; - different frequencies on the way out and back: no clutter, no ground echoes;
- the reply contains information: identity and altitude.
The secondary antenna is usually mounted on top of the primary one and rotates with it, and the data of the two are combined.

Modes A and C
The interrogation consists of two pulses, P1 and P3, whose spacing says what is being asked: 8 μs for mode A (identity), 21 μs for mode C (altitude). The reply is delimited by two framing pulses, F1 and F2, 20.3 μs apart, with up to 12 code pulses in between at 1.45 μs intervals:
combinations.
- Mode A: the four-digit octal identity code (from 0000 to 7777), assigned by the controller to the pilot (the “squawk”). Some codes are reserved: 7500 hijacking, 7600 radio failure, 7700 emergency.
- Mode C: the barometric altitude, in 100-foot steps (Gillham code), read directly from the altimeter.
Sidelobe suppression. The radar antenna has sidelobes: a nearby aircraft could receive the interrogation through a sidelobe and reply, appearing in a wrong direction. To avoid this the radar transmits a pulse P2, 2 μs after P1, with an omnidirectional antenna: if the aircraft receives P2 stronger than P1, it knows it is not in the main beam and does not reply.
Synchronous and asynchronous replies: garble and FRUIT
The A/C system has two defects, linked precisely to the distinction between synchronous and asynchronous.
- Synchronous garble: two aircraft in the same beam, at ranges from the radar that differ by less than the length of a reply, answer the same interrogation and their replies overlap in time. The reply lasts 20.3 μs, which corresponds to a range difference of
km (about 1.6 nautical miles): two aircraft closer than this, seen in the same direction, produce a garbled reply, with codes that mix. It is frequent in holding areas near airports. - FRUIT (false replies unsynchronized in time): a transponder answers all the radars that interrogate it. The radar therefore also receives the replies to other radars, which are not synchronised with its interrogations: they arrive at random instants and look like targets at random ranges. The remedy is the defruiter: a true reply appears at the same range in successive interrogations, an asynchronous reply does not; comparing several interrogations, uncorrelated replies are discarded.
Mode S
Mode S (selective, from the 1990s) solves both problems at the root. Each aircraft has a unique 24-bit address (the ICAO address, over 16 million values, assigned by the State of registration). The radar can interrogate one aircraft at a time, by address: no overlapping replies and far fewer unnecessary replies. The replies are digital messages of 56 or 112 bits at 1 Mbit/s, pulse-position modulated, protected by a 24-bit CRC check code (added to the address, so that a message for another aircraft gives a wrong check). Mode S also carries data: flight identification, altitude in 25-foot steps, heading, speed, pilot intentions. It is the basis of the on-board collision avoidance system (TCAS/ACAS), which interrogates the transponders of nearby aircraft and advises coordinated climb or descent manoeuvres.
ADS-B: the aircraft that says where it is
With ADS-B (automatic dependent surveillance, broadcast) the aircraft does not wait to be interrogated: it spontaneously transmits, about twice a second, its own GNSS position, altitude, velocity and identification, with extended mode S messages (1090ES, DF17 format of 112 bits). Anyone with a 1090 MHz receiver can receive them: this is how the websites showing flights in real time work, fed by thousands of amateur receivers. The surveillance is “dependent” because the position comes from the on-board navigation, not from a radar measurement: this is why ADS-B complements radars but does not replace them completely, and the declared position is verified with independent measurements.
The DF17 message: 5 bits of format (17), 3 bits of capability, 24 bits of ICAO address, 56 bits of data (whose first field, the “type code”, says the type: 1-4 identification, 9-18 airborne position, 19 velocity) and 24 bits of parity. The position uses a compact encoding (CPR) with two alternating types of messages, even and odd, which must be combined.
The code below decodes the example message 8D4840D6202CC371C32CE0576098, widely used in ADS-B documentation: the CRC check gives a zero remainder (intact message), format 17, ICAO address 4840D6, type code 4 (identification), and the 6-bit characters of the identification give KLM1023. Changing a single bit, the CRC remainder is no longer zero: the message would be discarded.
Multilateration
Multilateration (MLAT, or WAM, wide area multilateration, over large areas) locates an aircraft without a rotating radar: several ground stations, precisely synchronised (with GNSS), receive the same transponder reply and measure its time of arrival. The time difference of arrival between two stations defines a hyperbola (in three dimensions, a hyperboloid) on which the aircraft lies; with four or more stations the hyperbolas intersect at a point. It works with any transponder (even without ADS-B), and also serves to verify the position declared by ADS-B. With a synchronisation and measurement error of 20 ns (6 m of path), four stations at the corners of a 40 km square locate an aircraft with an error of a few metres (2.4 m in the simulation of the code below; over 500 repetitions with different noise the mean error is 5.4 m, and in 95 % of cases it stays below 11 m).
IFF: friend or foe
Military IFF (identification friend or foe) uses the same principle and the same frequencies as the secondary radar, with its own modes:
- modes 1 and 2: mission and identity codes of the military aircraft;
- mode 3/A: coincides with civil mode A, for integration into air traffic;
- mode 4 (now replaced) and mode 5: encrypted replies. A friendly aircraft answers correctly only if it knows the keys of the day; an aircraft that does not answer or answers wrongly is not a “friend”. Mode 5 is based on the mode S format and can include the GNSS position.
Encryption is essential: an IFF without authentication could be imitated by an adversary. The details of the encrypted modes are not public; the principles described here are those of the open literature.
Summary
- The primary radar sees everything by echo but does not identify; the secondary interrogates at 1030 MHz and receives identity and altitude at 1090 MHz.
- Modes A (4-digit code) and C (altitude); the P2 pulse suppresses replies to sidelobes.
- Garble (overlapping replies to the same interrogation) and FRUIT (replies to other radars) limit the A/C system; mode S solves them with the 24-bit address and the CRC.
- ADS-B: the aircraft broadcasts its GNSS position and identification by itself; MLAT locates from times of arrival; IFF identifies military aircraft with encrypted replies.
The code
import numpy as np
# 1) ADS-B: CRC-24 check and decoding of the identification
msg = "8D4840D6202CC371C32CE0576098"
bits = bin(int(msg, 16))[2:].zfill(112)
GEN = "1111111111111010000001001" # generator polynomial of the mode S CRC (25 bits)
def crc_remainder(b):
b = list(map(int, b)); g = list(map(int, GEN))
for i in range(len(b) - 24): # polynomial division modulo 2
if b[i]:
for j in range(25):
b[i + j] ^= g[j]
return b[-24:]
print("CRC remainder:", sum(crc_remainder(bits)), "(0 = intact message)")
fmt, address, tc = int(bits[0:5], 2), msg[2:8], int(bits[32:37], 2)
CHARS = "#ABCDEFGHIJKLMNOPQRSTUVWXYZ##### ###############0123456789######"
name = "".join(CHARS[int(bits[40 + 6 * i:46 + 6 * i], 2)] for i in range(8))
print(f"format {fmt}, ICAO address {address}, type code {tc}, identification '{name.strip()}'")
wrong = bits[:50] + ("1" if bits[50] == "0" else "0") + bits[51:]
print("with one wrong bit the remainder is non-zero:", sum(crc_remainder(wrong)) > 0)
print(f"synchronous garble below {299792458 * 20.3e-6 / 2 / 1e3:.2f} km of range difference")
# 2) multilateration: 4 stations, times of arrival with 20 ns of error, least squares (Gauss-Newton)
c = 299792458.0
rng = np.random.default_rng(0)
stations = np.array([[0, 0], [40e3, 0], [0, 40e3], [40e3, 40e3]], float)
aircraft = np.array([15e3, 27e3])
arrivals = np.linalg.norm(stations - aircraft, axis=1) / c + rng.normal(0, 20e-9, 4)
p = np.array([20e3, 20e3]) # starting point: the centre
for _ in range(20):
r = np.linalg.norm(stations - p, axis=1)
residuals = (r - r[0]) - c * (arrivals - arrivals[0]) # measured minus predicted range differences
J = (p - stations) / r[:, None] - (p - stations[0]) / r[0]
p = p - np.linalg.lstsq(J[1:], residuals[1:], rcond=None)[0]
print(f"estimated position {np.round(p)} m, error {np.linalg.norm(p - aircraft):.1f} m")Running it prints remainder 0, format 17, address 4840D6, type code 4, identification KLM1023, the wrong-bit check, 3.04 km for garble, and a position with 2.4 m of error.
15SAR, weather and military radar
Three families of radar show how the same principle adapts to different purposes. Synthetic aperture radar (SAR) photographs the Earth from satellites with one-metre resolution, by day and night, through clouds. Weather radars measure rain and wind inside thunderstorms. Military radars must work against an adversary trying to blind or deceive them, and this has given rise to electronic warfare. This lesson derives the SAR resolution and the sampling condition, presents meteorological reflectivity and polarimetry, and the jamming equation with the “burn-through” range, with the main countermeasures. Military aspects are treated at the level of the open, educational literature.
The idea in simple words
To see small details from far away a very large antenna is needed: to distinguish one-metre objects from 800 km in C band an antenna kilometres long would be required. SAR “builds” it with motion: the satellite records the echo while moving forward, and the computer combines the recordings as if they came from a single antenna as long as the path travelled. It is like photographing a panorama with many pictures taken while moving and then joining them, but also taking the phase of the waves into account.
Weather radars use the echo of raindrops, which for a radar is “noise” (clutter) but for a meteorologist is the useful signal. Military radars, finally, work against an adversary who can transmit in turn to blind or deceive them: the comparison between jamming and echo follows a simple law, which the lesson derives.
Synthetic aperture radar
A side-looking radar on a satellite illuminates a strip of ground. In range (perpendicular to the motion) the resolution is that of pulse compression,
. In azimuth (along the motion), with a real antenna of length
, the resolution would be the beamwidth on the ground,
: for a satellite at 800 km, in C band (
cm), with a 2 m antenna, 22 km. Useless for imaging.
The SAR idea: as the satellite moves forward, each point on the ground stays in the beam for a stretch of orbit exactly
long (22 km). Recording the echoes with their phase (the radar is coherent) and combining them in the computer gives the equivalent of an antenna
long: a synthetic aperture.
Theorem. The azimuth resolution of SAR is
, independent of range and wavelength.
Proof. An antenna of length
has one-way angular resolution
; but in a radar the path is a round trip and the phase changes twice as fast along the synthetic aperture, so the angular resolution is
. At range
this becomes
. ∎
The result is paradoxical but true: a shorter antenna gives a better resolution, because its wider beam illuminates each point over a longer stretch. There is however a constraint: the radar must sample the aperture densely enough. The phase history of a point, during the pass, is a chirp (the range varies as
), with a Doppler bandwidth of
; sampling at the PRF must satisfy the Nyquist theorem:
, that is the satellite must not move more than
between one pulse and the next. With
km/s and
m at least 7.5 kHz are needed; but the PRF cannot be too high, so as not to create range ambiguities over the illuminated swath: this is the central trade-off in the design of a spaceborne SAR.

Simulation. A point on the ground, the satellite with a PRF of 15 kHz (one pulse every 0.5 m, 44 414 pulses along the aperture): combining the echoes with the expected phase (“focusing”, a matched filter along the orbit), the point has a −3 dB width of 0.88 m, against 0.89 m from theory (
) and 22 km with the real antenna. With 5 kHz (1.5 m between pulses, more than
) the Nyquist condition is violated: a ghost copy of the point appears at
km, still inside the illuminated area and only 6 dB below the true point (azimuth aliasing; in a real system the antenna pattern attenuates it, but not enough).
Applications. Sentinel-1 (Copernicus, C band) and COSMO-SkyMed (Italian Space Agency, X band) observe ice, seas, floods, deforestation and ships. SAR interferometry (InSAR) compares the phase of two passes: range changes of a fraction of a wavelength become measurable, and ground deformations of millimetres are measured (landslides, subsidence, volcanoes, settlement of buildings and infrastructure).
Weather radars
Raindrops, small compared with the wavelength (in S or C band), scatter according to Rayleigh’s law, with a cross section proportional to
, with
the drop diameter. The measured quantity is the reflectivity
![]()
It depends mostly on the large drops (the sixth power). The link with the rain rate
in mm/h is empirical; the most used is that of Marshall and Palmer,
: 1 mm/h gives 23 dBZ, 10 mm/h 39 dBZ, 50 mm/h 50 dBZ. Conversely 45 dBZ correspond to about 24 mm/h.
Modern weather radars are:
- Doppler: they measure the radial velocity of the drops, hence the wind inside the storm, and recognise the rotations that precede tornadoes;
- dual-polarisation: they transmit with horizontal and vertical polarisation. Large drops flatten as they fall and reflect more horizontally (positive differential reflectivity
); hail, irregular and tumbling, does not; snow has its own values. With
, the differential phase
and the correlation coefficient between the two polarisations, precipitation is classified and clutter is recognised (ground, birds, insects have low correlation) and removed from the maps.
Military radars and electronic warfare
Military radars perform surveillance (detection at long range), tracking and fire control, missile guidance, and ground observation from aircraft. The essential difference from civil radars is the adversary, who tries not to be seen (low radar cross section, low-altitude flight below the radar horizon, lessons on the radar cross section and on propagation) or to jam the radar.
Noise jamming. A jammer on board the target transmits noise with power
, gain
, over a bandwidth
. The radar receives the jamming over a one-way path (falling as
) and the echo over a round trip (
).
Theorem. For a self-screening jammer on board the target, the jamming-to-signal ratio in the radar receiver is
![Rendered by QuickLaTeX.com \[ \frac{J}{S} = \frac{P_jG_j}{P_tG_t}\cdot\frac{4\pi R^2}{\sigma}\cdot\frac{B_r}{B_j} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-65f88e7f7410e987b33c83fd367044b3_l3.png)
Proof. The received jamming is
(only the fraction
of the noise falls within the receiver band); the signal is that of the radar equation,
. Taking the ratio,
, one
and two factors
cancel and the formula remains. ∎
grows as
: from far away the jamming wins, getting closer the echo grows faster. The burn-through range is the one below which the radar “burns through” the jamming and detects the target. With a 100 kW, 35 dB radar, a 5 m² target and a 100 W, 10 dB jammer spreading its noise over 100 MHz (against the 1 MHz of the receiver):
dB at 100 km, 15 dB at 20 km, 3 dB at 5 km; to have a signal 13 dB above the jamming one has to get to 0.8 km.

Countermeasures and counter-countermeasures (in general terms):
- deception: instead of noise, the jammer records the radar pulse with a digital memory (DRFM) and retransmits it modified, creating false targets or gradually moving the tracking gate (range gate pull-off). The radar defends itself with waveforms that change from pulse to pulse, with checks of the consistency between range and Doppler, with monopulse;
- frequency agility: the radar changes frequency at every pulse or group of pulses, forcing the jammer to spread its power over a wide band (increasing
); - sidelobe cancellation and adaptive nulling with the array (lesson on clutter): a null of the pattern in the direction of the jammer;
- low probability of intercept (LPI) radars: low peak power, long coded pulses and wide bandwidth, so that the radar sees targets without being easily detected by enemy receivers;
- against low observability (stealth): low-frequency radars (VHF and UHF, where shaping and absorbing materials work less well), bistatic and multistatic radars (transmitter and receiver at different places, which see the scattering in directions not designed to reduce it), and passive radars, which use existing radio and TV transmitters as illuminators and emit nothing.
Summary
- SAR synthesises an aperture
long and reaches an azimuth resolution
, independent of range; a PRF of at least
is needed. - SAR interferometry measures ground deformations of millimetres.
- Weather radars measure the reflectivity
(dBZ), from which the rain rate follows; Doppler gives the wind, dual polarisation the type of precipitation. - A self-screening jammer has
: getting closer the echo wins (burn-through). - Countermeasures and counter-countermeasures: DRFM deception, frequency agility, adaptive nulling, LPI, bistatic and passive radars against stealth.
The code
import numpy as np
c = 299792458.0
# 1) SAR: azimuth resolution with real and synthetic aperture
f, D, R = 5.4e9, 2.0, 800e3 # C band, 2 m antenna, satellite at 800 km
lam = c / f
real = lam * R / D # footprint of the real beam on the ground
print(f"real aperture: azimuth resolution {real / 1e3:.1f} km")
print(f"synthetic aperture {real / 1e3:.1f} km long: resolution D/2 = {D / 2:.1f} m (independent of range)")
# simulation: a point on the ground, illuminated by the satellite over the whole synthetic aperture
v, PRF = 7500.0, 15000.0 # step v/PRF = 0.5 m: satisfies v/PRF <= D/2
print(f"step between pulses {v / PRF:.2f} m (must be at most D/2 = {D / 2:.1f} m)")
xs = np.arange(-real / 2, real / 2, v / PRF) # satellite positions during illumination
reference = np.exp(-1j * 4 * np.pi / lam * np.sqrt(R ** 2 + xs ** 2)) # expected phase for a point at x = 0
shift = np.linspace(-3, 3, 601) # true position of the point along azimuth
response = np.array([abs(np.vdot(reference, np.exp(-1j * 4 * np.pi / lam * np.sqrt(R ** 2 + (xs - s) ** 2)))) for s in shift])
response /= response.max()
width = np.ptp(shift[response >= 1 / np.sqrt(2)])
print(f"simulation: {len(xs)} pulses, -3 dB width of the focused point {width:.2f} m (theory 0.886 D/2 = {0.886 * D / 2:.2f} m)")
# 2) weather radar: reflectivity and rain rate (Marshall-Palmer, Z = 200 R^1.6)
for rain in (1, 10, 50):
Z = 200 * rain ** 1.6
print(f"rain {rain:2d} mm/h: Z = {10 * np.log10(Z):.1f} dBZ")
dbz = 45.0
print(f"{dbz} dBZ correspond to {(10 ** (dbz / 10) / 200) ** (1 / 1.6):.1f} mm/h")
# 3) electronic warfare: jamming-to-signal ratio and burn-through range for a self-screening jammer
Pt, Gt, sigma = 100e3, 10 ** 3.5, 5.0 # radar: 100 kW, 35 dB; 5 m^2 target
Pj, Gj, Br, Bj = 100.0, 10.0, 1e6, 100e6 # jammer: 100 W, 10 dB, noise over 100 MHz
for Rk in (100e3, 20e3, 5e3):
js = Pj * Gj * 4 * np.pi * Rk ** 2 / (Pt * Gt * sigma) * Br / Bj
print(f"target at {Rk / 1e3:5.0f} km: J/S = {10 * np.log10(js):5.1f} dB")
Rbt = np.sqrt(Pt * Gt * sigma * Bj / (Pj * Gj * 4 * np.pi * Br) / 10 ** 1.3)
print(f"burn-through range (S/J = 13 dB): {Rbt / 1e3:.2f} km")Running it prints 22.2 km for the real aperture and 1.0 m for the synthetic one, the 0.5 m step, 0.88 m of simulated width, 23.0, 39.0 and 50.2 dBZ, 23.7 mm/h for 45 dBZ, J/S of 29.0, 15.0 and 3.0 dB and 0.79 km of burn-through.
16Digital radar
For decades a radar was largely analogue hardware: oscillators, mixers, intermediate-frequency filters, detectors, phase shifters. Today the analogue-to-digital converter has moved closer to the antenna until it almost touches it, and almost everything the previous lessons described (pulse compression, Doppler, CFAR, beamforming, tracking) is software. This lesson describes the modern digital radar: direct RF sampling, digital down-conversion, digital beamforming and high-resolution estimation, MIMO radars, cognitive radar and the use of machine learning. The code samples a 3.21 GHz signal with a 2.4 GS/s converter, brings it to baseband, and separates two sources closer than the beamwidth.
The idea in simple words
A radar used to be a cabinet of circuits, each with a fixed task: filtering, converting, detecting. Today the signal is turned into numbers as soon as it leaves the antenna, and a computer does all the rest. It is the same evolution as radios turning into smartphones: the same hardware, with different programs, does different things. For radar this means forming many beams at once, changing the waveform at every pulse, adapting to the environment and using artificial intelligence to recognise targets.
From the superheterodyne receiver to direct sampling
The classic receiver is a superheterodyne: the radio-frequency signal is amplified, converted to a fixed intermediate frequency with a local oscillator, filtered, and finally detected; in coherent radars the in-phase and quadrature components (I and Q) are extracted in analogue form. Every stage introduces errors: I/Q imbalance, thermal drifts, spurious mixer products.
The converter samples at a point ever closer to the antenna:
- intermediate-frequency sampling: a single mixer, then the converter; I and Q are obtained numerically, with no imbalance;
- direct RF sampling: with converters of a few GS/s (billions of samples per second) and an analogue input bandwidth of several GHz, the signal in L, S and even C band is sampled directly, with no mixer.
Direct sampling exploits undersampling (bandpass sampling): a signal at a frequency
higher than
appears, after sampling, at
with
an integer. It is not an error if the signal occupies a single Nyquist zone (the intervals
wide) and an analogue filter removes the others. With
GS/s, a 3.21 GHz signal is in the third zone (from 2.4 to 3.6 GHz) and appears at 0.81 GHz.
Quantisation. An ideal
-bit converter, with a full-scale sinusoid, has a quantisation signal-to-noise ratio
![]()
(the quantisation step
gives a uniform error of power
, and the sinusoid of amplitude
has power
; the ratio is
). At 12 bits it is 74 dB. Real converters have a lower effective number of bits (ENOB), because of noise and non-linearity and above all because of clock jitter: a timing error
on a signal of frequency
limits the ratio to
, so at 3 GHz clocks with jitter of tens of femtoseconds are needed. This is why direct sampling in the higher bands is recent.
Digital down-conversion (DDC): the sampled signal is multiplied by a numerical oscillator
(NCO) that brings it to zero frequency, then filtered and decimated (one sample out of every
is kept), because the useful bandwidth is much narrower than
. The result is low-rate complex I and Q samples, on which the algorithms of the previous lessons work. In the code, decimating by 16, the rate goes from 2.4 GS/s to 150 MS/s and the phase of the signal (0.300 rad) is measured exactly.

Digital beamforming
In an analogue electronically scanned array (lesson on phased arrays) the phase shifters form one beam at a time. If instead each element (or each subarray) has its own receiver and converter, the signals of all elements reach the computer, and the beams are formed afterwards, numerically:
, with
the vector of samples of the
elements and
the steering vector,
.
The consequences are profound:
- many simultaneous beams from the same data: the radar listens in all directions at once, transmitting a wide beam and receiving with many narrow beams;
- adaptive nulling of jammers (lesson on clutter) and space-time clutter cancellation (STAP), which require access to the signals of the individual elements;
- high-resolution direction estimates, beyond the beamwidth limit.
The classic beam has an angular resolution limited by the aperture: for 16 elements at
, about
radians, that is 6.3°. Two sources at 10° and 14° fall within the same beam and are seen as a single peak. Capon’s method (MVDR, minimum variance distortionless response) computes for each direction the weights that pass direction
without distortion and minimise the total output power:
![Rendered by QuickLaTeX.com \[ \min_{\mathbf{w}}\ \mathbf{w}^H\mathbf{R}\mathbf{w}\quad\text{subject to}\quad \mathbf{w}^H\mathbf{a}(\theta) = 1\ \Longrightarrow\ \mathbf{w} = \frac{\mathbf{R}^{-1}\mathbf{a}}{\mathbf{a}^H\mathbf{R}^{-1}\mathbf{a}},\qquad P(\theta) = \frac{1}{\mathbf{a}^H(\theta)\mathbf{R}^{-1}\mathbf{a}(\theta)} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-d0415b1e3829ac29db404cd75068ccad_l3.png)
where
is the covariance matrix of the element signals, estimated from the data. (The solution follows from Lagrange multipliers: the gradient of
vanishes for
, and the constraint fixes
.) When pointing at
, Capon automatically places nulls on the nearby sources, and the two peaks separate. In the simulation (200 snapshots, 10 dB signal-to-noise ratio per element), the classic beam shows a single peak at 11.9°, while Capon finds 10.1° and 14.0° with a 5.4 dB dip between the two. Other methods of the same family, such as MUSIC and ESPRIT, exploit the eigenvector structure of
(signal and noise subspaces). The price is the need for many snapshots and the sensitivity to array calibration errors.

MIMO radar
In MIMO radars (lesson on FMCW radars) each transmitter emits a distinguishable waveform (orthogonal in time, in frequency or by codes), and each receiver separates the contributions of the different transmitters. With
transmitters and
receivers a virtual array of
elements is obtained, whose positions are the sums of the transmitter and receiver positions: with 3 transmitters and 4 receivers suitably spaced, 12 virtual elements in a row. The angular resolution is that of the virtual aperture, with only 7 physical channels. The latest automotive radars (“4D radars”, also measuring elevation) reach hundreds of virtual channels with several cascaded chips.
Cognitive and software-defined radar
If everything is software, the waveform too can change from one pulse to the next. A software-defined radar uses general-purpose hardware (fast converters, FPGAs, graphics processors) and loads different functions: surveillance, tracking, mapping, even communication. The next step is cognitive radar, which closes the loop between reception and transmission:
- it chooses the waveform according to the environment: frequencies free of interference, more bandwidth where resolution is needed, longer pulses for distant targets;
- it manages resources (the radar’s time): more frequent visits to manoeuvring targets, fewer to predictable ones, search in the most likely areas;
- it shares the spectrum with communications (5G and radar use neighbouring or shared bands), also with waveforms that perform both functions together (ISAC, integrated sensing and communication, planned for 6G).
Machine learning in radar
Neural networks (Machine Learning course) enter every level of the chain:
- target classification from micro-Doppler (lesson from scan points to objects): pedestrians, cyclists, drones, birds have different Doppler-time signatures, which a convolutional network recognises as images;
- detection: networks working directly on the range-Doppler map or on point clouds, replacing or complementing CFAR and clustering;
- waveform recognition in electronic warfare receivers;
- resource management with reinforcement learning (Reinforcement Learning course): the agent decides where and how to point the radar and is rewarded by the tracking quality;
- fusion with cameras and lidar in autonomous vehicles.
The limits are the known ones: a lot of labelled data is needed (often generated with simulators), networks can fail unpredictably outside their training conditions, and in safety applications (automotive, aviation) reliability must be demonstrated. This is why classic algorithms, with their guarantees (constant false alarm rate, Kalman filters), remain the backbone, and machine learning is added where models are too complicated to write by hand.
Summary
- The converter has moved closer to the antenna: direct RF sampling with undersampling in the Nyquist zones, then digital down-conversion (NCO, filter, decimation).
- The converter dynamic range (6.02N + 1.76 dB) and clock jitter limit performance.
- Digital beamforming gives many beams at once, adaptive nulling and high-resolution estimates (Capon, MUSIC) beyond the beamwidth.
- MIMO, software-defined and cognitive radars adapt waveform and resources to the environment.
- Machine learning helps in classification, detection and resource management, alongside the classic algorithms.
The code
import numpy as np
rng = np.random.default_rng(0)
# 1) direct RF sampling: a 3.21 GHz signal sampled at 2.4 GS/s (third Nyquist zone)
fs, f0 = 2.4e9, 3.21e9
zone = int(f0 // (fs / 2)) + 1
alias = abs(f0 - round(f0 / fs) * fs)
print(f"signal at {f0 / 1e9:.2f} GHz, fs = {fs / 1e9:.1f} GS/s: Nyquist zone {zone}, appears at {alias / 1e9:.2f} GHz")
n = np.arange(8192)
bits = 12
x = 0.9 * np.cos(2 * np.pi * f0 * n / fs + 0.3) + rng.normal(0, 1e-4, len(n))
xq = np.round(x * 2 ** (bits - 1)) / 2 ** (bits - 1) # 12-bit converter
spectrum = np.abs(np.fft.rfft(xq * np.hanning(len(n))))
peak = np.argmax(spectrum) * fs / len(n)
err = xq - x
snr = 10 * np.log10(np.mean((0.9 * np.cos(2 * np.pi * f0 * n / fs + 0.3)) ** 2) / np.mean(err ** 2))
print(f"FFT peak at {peak / 1e9:.3f} GHz; quantisation SNR {snr:.1f} dB (theory 6.02 N + 1.76 + 20 log 0.9 = {6.02 * bits + 1.76 + 20 * np.log10(0.9):.1f} dB)")
# digital down-conversion: numerical oscillator (NCO), filter and decimation by 16
nco = np.exp(-2j * np.pi * alias * n / fs)
bb = xq * nco
h = np.hamming(129); h /= h.sum() # FIR low-pass filter
bb = np.convolve(bb, h, "same")[::16]
print(f"after decimation by 16: {len(bb)} complex samples at {fs / 16 / 1e6:.0f} MS/s, measured phase {np.angle(np.mean(bb[10:-10])):.3f} rad (true 0.300)")
# 2) digital beamforming: 16 elements at half a wavelength, two sources at 10 and 14 degrees
N, d = 16, 0.5
ang = np.radians([10.0, 14.0])
steer = lambda th: np.exp(2j * np.pi * d * np.arange(N)[:, None] * np.sin(np.atleast_1d(th)))
K = 200 # snapshots
S = (rng.normal(size=(2, K)) + 1j * rng.normal(size=(2, K))) / np.sqrt(2)
noise = (rng.normal(size=(N, K)) + 1j * rng.normal(size=(N, K))) / np.sqrt(2) * 10 ** (-10 / 20)
X = steer(ang) @ S + noise # SNR 10 dB per element
Rxx = X @ X.conj().T / K
grid = np.radians(np.linspace(-30, 30, 1201))
A = steer(grid)
beam = np.real(np.sum(A.conj() * (Rxx @ A), axis=0)) / N ** 2 # all the beams at once, from the same data
Ri = np.linalg.inv(Rxx)
capon = 1 / np.real(np.sum(A.conj() * (Ri @ A), axis=0)) # Capon (MVDR)
def peaks(p): # local maxima within 3 dB of the highest
i = np.where((p[1:-1] > p[:-2]) & (p[1:-1] > p[2:]))[0] + 1
return np.degrees(grid[i[p[i] > p.max() / 2]])
print(f"-3 dB beamwidth: {np.degrees(0.886 * 2 / N):.1f} degrees, sources 4 degrees apart")
for name, p in (("classic beam", beam), ("Capon", capon)):
between = p[(grid > np.radians(10.5)) & (grid < np.radians(13.5))].min()
print(f"{name:15s}: peaks at {np.round(peaks(p), 1)} degrees, minimum between the sources {10 * np.log10(between / p.max()):.1f} dB")Running it prints the third Nyquist zone and the signal at 0.81 GHz, a 73.0 dB quantisation signal-to-noise ratio (theory 73.1 dB for an amplitude of 0.9 of full scale), 512 complex samples at 150 MS/s with the phase of 0.300 rad, a 6.3° beam, a single peak at 11.9° for the classic beam and the two peaks at 10.1° and 14.0° for Capon.
✎Exam exercises
1. The radar equation
Exam level
Exercise 9. Designing an FMCW car radar
A 77 GHz radar is required with a range resolution of 15 cm, an unambiguous velocity of ±40 m/s, a velocity resolution of at least 0.1 m/s and a range of 100 m. Compute bandwidth, maximum chirp duration, number of chirps (a power of 2), frame time, chirp slope and beat frequency at 100 m.
Exercise 10. A real satellite SAR
A C-band satellite (5.405 GHz) with a 12.3 m antenna flies at 7.6 km/s and observes at a range of 850 km, with 56.5 MHz of bandwidth and an incidence angle of 35° (values similar to those of Sentinel-1). Compute the azimuth resolution with the real antenna, the length of the synthetic aperture, the SAR azimuth resolution, the minimum PRF, the illumination time of a point and the slant and ground range resolutions.
✓Solutions
1. The radar equation · Exercise 1. Range and ambiguity
Result: 60 km; 75 km; the target at 90 km appears at 15 km.
1. The wave makes a round trip:
km. A handy rule to remember: 150 m per microsecond, so 400 μs give
m.
2. Between two pulses
μs elapse. An echo arriving before the next pulse is attributed correctly; the maximum unambiguous range is
km.
3. The target at 90 km answers after
μs, that is 100 μs after the next pulse. The radar attributes it to that pulse and places it at
km:
km. It is a “second-trace” target. To unmask it, the PRF is changed from one group of pulses to the next: a true target stays at the same range, the second-trace one jumps.

1. The radar equation · Exercise 2. The radar equation in decibels
Result:
dBm; noise −111.0 dBm; SNR = 13.0 dB.
1. In decibels the radar equation
becomes a sum. With
m:
| term | value | dB |
|---|---|---|
| 100 kW | +80.0 dBm | |
| 30 dB twice | +60.0 | |
| 0.01 m² | −20.0 | |
| 2 m² | +3.0 | |
| −33.0 | ||
| −188.0 |
Sum:
dBm, that is
W.
2. The noise:
dBm.
3.
dB: exactly the value needed for
and
with one pulse (lesson on detection). 50 km is therefore the range of this radar for this aircraft, without integration and without losses. With 6 dB of losses the range would drop by
times, to 35 km; integrating 10 pulses (about 8 dB) would bring it back up.
1. The radar equation · Exercise 3. The Doppler of a car
Result: 5.34 kHz; 4.62 kHz (the measured speed would be 104 km/h).
1.
cm,
m/s:
kHz.
2. Doppler sees only the radial component:
m/s,
kHz. The radar, if it does not know the angle, measures
km/h: the cosine error always favours the driver (the measured speed is less than or equal to the true one). This is why Doppler speed cameras are installed at small, known angles, and the correction is applied by design.
1. The radar equation · Exercise 4. Pulse compression
Result:
; 30 m; 7.5 km; a 0.2 μs pulse with 250 times the peak power (+24 dB).
1.
.
2. After the matched filter the resolution depends only on bandwidth:
m.
3. While transmitting, the radar does not receive: the blind zone is
km. For close targets a short pulse is added.
4. A simple pulse with the same resolution lasts
μs; for the same energy
a peak power
times higher would be needed, that is 24 dB. This is exactly the advantage of compression.
1. The radar equation · Exercise 5. Blind speeds and staggered PRF
Result: 50 m/s and 62.5 m/s; 250 m/s; 0.68, that is −3.3 dB relative to unit gain.
1. The
canceller has response
, zero for
. With
and
m:
, that is 50 m/s (and multiples) with 1000 Hz, 62.5 m/s with 1250 Hz.
2. A speed is blind for both if it is a multiple of both 50 and 62.5: the least common multiple is 250 m/s. The 4:5 ratio between the PRFs multiplies the first blind speed by 5 compared with 1000 Hz. With three well-chosen PRFs one gets beyond the speeds of the targets of interest.
3. Computing the maximum of the two responses on a fine grid, the minimum value between 20 and 240 m/s is 0.68, that is −3.3 dB, at the points where the two responses cross (at 55.6 and 194.4 m/s): no speed of interest is lost, at the cost of a few decibels in some zones. Below 20 m/s the response falls towards zero anyway: it is the notch that removes stationary clutter.

1. The radar equation · Exercise 6. Constant and fluctuating target
Result: 0.997 (constant); 0.655 (Swerling 1); 5.0 dB per pulse.
1. Constant target: the threshold is
; with SNR = 31.6 the echo amplitude is
, well above the threshold. Marcum’s function gives
.
2. Swerling 1:
. With the same mean SNR, the fluctuating target is lost one time in three: in the looks where its radar cross section is small, the echo stays below the threshold.
3. Albersheim with
:
dB, with
,
. Against the 13.1 dB of a single pulse, integration gains 8.1 dB.

1. The radar equation · Exercise 7. Designing an array
Result: 41.8°; 1.32° and 1.73°; 138.8°.
1. Condition:
, hence
,
. Spacing the elements more than half a wavelength saves (expensive) modules but limits the scan range.
2.
: at broadside
rad, that is 1.32°; at 40° divide by
: 1.73°.
3.
. With a 4-bit phase shifter (22.5° steps) 135° would be used, with a residual error that, repeating along the array, is spread with a known random phase.

1. The radar equation · Exercise 8. How much the MTI must cancel
Result:
m² (21.7 dBsm); SCR = −24.7 dB; 37.7 dB needed; phase noise below 9.2 mrad (0.53°).
1. Cell area:
m².
m².
2.
dB: the aircraft is 300 times weaker than the clutter of its cell.
3. To reach +13 dB an improvement of
dB is needed.
4. The two-pulse canceller with phase noise
leaves a residue
(lesson on transmitters and receivers):
gives
mrad. A magnetron, with random phase, would not make it even with coherent-on-receive; a coherent transmitter with a good oscillator is needed. Note that shortening the pulse (more bandwidth) shrinks the cell and directly improves the signal-to-clutter ratio.
1. The radar equation · Exercise 9. Designing an FMCW car radar
Result:
GHz;
μs; 800 chirps, hence 1024; 24.9 ms; 41 MHz/μs; 27.4 MHz.
1.
, hence
GHz (within the 77-81 GHz band).
2. The unambiguous velocity is
with
mm:
μs.
3.
, hence
; with the FFT 1024 are used, giving
m/s.
4. Frame:
μs = 24.9 ms, compatible with an update every 50 ms.
5. Slope
MHz/μs; at 100 m the beat is
MHz: the quadrature ADC must sample at least at 27.4 MS/s (more in practice, for the anti-aliasing filter). The design shows the trade-offs: short chirps for velocity, many chirps for velocity resolution, bandwidth for range, and a fast ADC for maximum range.

1. The radar equation · Exercise 10. A real satellite SAR
Result: 3.8 km; 3.8 km; 6.15 m; 1236 Hz; 0.50 s; 2.65 m slant, 4.6 m on the ground.
1.
cm. Real antenna:
km.
2. Each point stays in the beam for a stretch of orbit as long as the footprint:
km, travelled in
s.
3. SAR resolution:
m, independent of range and wavelength.
4.
Hz (Sentinel-1 uses PRFs between about 1 and 3 kHz depending on the mode).
5. In slant range
m; projected on the ground, divide by
: 4.6 m. With small incidence angles the ground resolution gets much worse (with 20° it would be 7.8 m). In wide-swath modes, to cover 250 km, the satellite divides its time among sub-swaths and the real azimuth resolution worsens to about 20 m: a trade-off between coverage and detail.

∑Formula sheet
The radar equation
The principle
![]()
The radar equation
![Rendered by QuickLaTeX.com \[ P_r = \frac{P_tG^2\lambda^2\sigma}{(4\pi)^3R^4} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-d0f1a266e3d32ff4ecd9bb2f651e4ad3_l3.png)
Noise and maximum range
![Rendered by QuickLaTeX.com \[ R_{max} = \left[\frac{P_tG^2\lambda^2\sigma}{(4\pi)^3kT_0BF\,L\,SNR_{min}}\right]^{1/4} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-5546d28ffd227f264e6cf4a67f23172d_l3.png)
Propagation effects
The propagation factor
![Rendered by QuickLaTeX.com \[ P_r = \frac{P_tG^2\lambda^2\sigma}{(4\pi)^3R^4}\cdot\frac{F^4}{L_a} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-c6ce34137ec47c71f39f22a57ba324d3_l3.png)
Multipath over the sea
![]()
Refraction and the horizon
![Rendered by QuickLaTeX.com \[ k = \frac{1}{1 + R_E\,\frac{dn}{dh}} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-e410030fb07c101e7f9bea01c0f96caa_l3.png)
Target radar cross section
Why a target scintillates
![Rendered by QuickLaTeX.com \[ \sigma = \Big|\sum_i\sqrt{\sigma_i}\,e^{-j4\pi R_i/\lambda}\Big|^2 \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-f79c4faab36e79e611350cf71c1fd867_l3.png)
Waveforms and pulse compression
The matched filter
![Rendered by QuickLaTeX.com \[ SNR = \frac{|y_s(t_0)|^2}{\frac{N_0}{2}\int|H|^2df} \le \frac{2}{N_0}\int|S(f)|^2df = \frac{2E}{N_0} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-724261310a2898f71e2336c2b5a6981a_l3.png)
Phase codes
![]()
The ambiguity function
![]()
Detection of signals in noise
The probability of detection
![]()
Radar antennas
Gain, area and beamwidth
![]()
The pattern is the Fourier transform of the illumination
![Rendered by QuickLaTeX.com \[ E(\theta) = \int_{-D/2}^{D/2}w(x)\,e^{j2\pi x\sin\theta/\lambda}\,dx \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-941960aafe3d5fb603abd2c159b36a21_l3.png)
Mechanical scanning
![]()
Phased arrays
The array factor
![]()
Monopulse angle measurement
![Rendered by QuickLaTeX.com \[ \frac{\Delta}{\Sigma} = \frac{|1 - e^{j\varphi}|}{|1 + e^{j\varphi}|} = \tan\frac{\varphi}{2} \approx \frac{\pi D\theta}{\lambda} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-753b02e30df517995262e76acaae6aef_l3.png)
Clutter, chaff and filtering
STAP: clutter seen from an aircraft
![]()
Tracking and parameter estimation
Measurement accuracy: parameter estimation
![Rendered by QuickLaTeX.com \[ \sigma_\tau \ge \frac{1}{\beta\sqrt{2\,SNR}},\qquad \beta^2 = \frac{\int(2\pi f)^2|S(f)|^2df}{\int|S(f)|^2df} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-7167e32d58142ff20eb3077c11ef0d95_l3.png)
The α-β filter
![]()
The Kalman filter
![]()
![]()
Transmitters and receivers
The receive chain and Friis' formula
![]()
FMCW automotive radar
The chirp and the beat
![]()
From scan points to objects
1. Stationary or moving? The ego velocity
![]()
SAR, weather and military radar
Weather radars
![]()
Military radars and electronic warfare
![Rendered by QuickLaTeX.com \[ \frac{J}{S} = \frac{P_jG_j}{P_tG_t}\cdot\frac{4\pi R^2}{\sigma}\cdot\frac{B_r}{B_j} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-65f88e7f7410e987b33c83fd367044b3_l3.png)
Digital radar
From the superheterodyne receiver to direct sampling
![]()