Algorithm Search⌘K

Problemcore

CFAR detection

Also called constant false alarm rate detection.

Decide target or no target in each radar cell with a threshold set from the data, so that the false alarm probability stays fixed when the noise power is unknown.

Time
Θ(n) worst
Where
N = the number of reference cells; n = the number of cells along range

CFAR detection is the problem of deciding, for each cell of a radar's output, whether a target is present, when the power of the noise and clutter is not known and changes from place to place. A fixed threshold cannot work in that case: if the noise rises by 3 dB, a threshold set for one false alarm per second gives many per second. A CFAR detector sets the threshold of each cell from the data around it, so that the false alarm probability PfaP_{fa} stays at its design value for every noise power. The price is the CFAR loss, a small increase in the signal to noise ratio needed for the same probability of detection.

In plain words

A radar measures the power that comes back from each range. Most cells hold only noise, and a few hold a target. You decide "target" when the power is high. "High" must be relative to the noise, and the noise level is unknown. So you look at the cells next to the one you test, estimate the noise from them, and call the cell a target when its power is some fixed multiple of that estimate. If all powers double, the decision does not change. This keeps the rate of false alarms constant. It costs a little sensitivity, because the noise estimate is itself noisy.

Definition

The input is a sequence x[0],…,x[n−1]x[0], \dots, x[n-1] of nonnegative powers, one per cell, from a square-law detector x=∣r∣2x = |r|^2 of complex baseband samples rr, together with a design value Pfa∈(0,1)P_{fa} \in (0, 1). The standard model is the homogeneous one: under the hypothesis H0H_0 (no target in cell ii), x[i]x[i] is exponential with an unknown mean μ>0\mu > 0, the noise power. Under H1H_1, the cell also holds a target, for example a Swerling 1 target, which makes x[i]x[i] exponential with mean μ(1+S)\mu(1 + S) for the signal to noise ratio SS. The cells near cell ii (the reference cells) hold noise of the same mean and are independent.

The output is a decision di∈{0,1}d_i \in \{0, 1\} for each cell. The requirement is the constant false alarm rate:

P(di=1∣H0,μ)=Pfafor every μ>0,P(d_i = 1 \mid H_0, \mu) = P_{fa} \quad \text{for every } \mu > 0,

and, among the rules that meet it, the probability of detection P(di=1∣H1)P(d_i = 1 \mid H_1) should be as large as possible. With a known μ\mu, the Neyman-Pearson lemma gives the fixed threshold x[i]>μln⁡(1/Pfa)x[i] > \mu \ln(1/P_{fa}). With an unknown μ\mu, that threshold cannot be computed, and a threshold of the form x[i]>T⋅g(reference cells)x[i] > T \cdot g(\text{reference cells}), with gg homogeneous of degree 1, is used instead. Such a rule does not change when all cells are multiplied by the same constant, so its false alarm probability does not depend on μ\mu.

Variants

  • Cell averaging (CA). gg is the sum of NN reference cells, split into a leading and a lagging half, with guard cells around the cell under test. See cell-averaging CFAR.
  • Greatest of (GO) and smallest of (SO). gg is the larger or the smaller of the two half sums. GO controls false alarms at a clutter edge, and SO resolves two close targets.
  • Ordered statistic (OS). gg is the kk-th smallest reference value. It resists interfering targets in the window. See ordered-statistic CFAR.
  • Two-dimensional CFAR. The reference cells surround the cell under test on the output of range-Doppler processing or an image.
  • Non-exponential clutter. For Weibull, log-normal or K-distributed clutter, the shape of the distribution is also unknown, and a scale-invariant rule alone does not fix PfaP_{fa}.
  • Several pulses. The cells are the sums of MM pulses (noncoherent integration). The noise is then gamma distributed, and the threshold factor changes.

Examples

CA-CFAR at N=16N = 16 and Pfa=10−6P_{fa} = 10^{-6}. In the homogeneous model, CA-CFAR gives Pfa=(1+τ)−NP_{fa} = (1 + \tau)^{-N} for the factor τ\tau on the sum. So τ=(10−6)−1/16−1=1.37137\tau = (10^{-6})^{-1/16} - 1 = 1.37137, which is α=Nτ=21.94\alpha = N\tau = 21.94 times the mean of the reference cells. A known noise power would need only ln⁡(106)=13.82\ln(10^6) = 13.82 times the noise power. For a Swerling 1 target and Pd=0.9P_d = 0.9, the fixed threshold needs S=21.14S = 21.14 dB, and CA-CFAR needs 23.15 dB: a CFAR loss of 2.01 dB (closed form under the model, computed from Pd=(1+τ/(1+S))−NP_d = (1 + \tau/(1+S))^{-N}).

A small window. Take x=(3,1,2,2,1,30,9,2,1,3,2,1,2)x = (3, 1, 2, 2, 1, 30, 9, 2, 1, 3, 2, 1, 2), N=4N = 4 reference cells, one guard cell on each side and Pfa=10−2P_{fa} = 10^{-2}, so τ=2.16228\tau = 2.16228. At cell 5 (the value 30), the reference cells are 2, 2, 2 and 1, the sum is 7 and the threshold is 15.14, so cell 5 is a target. At cell 6 (the value 9), the reference cells are 2, 1, 1 and 3, the threshold is again 15.14, and cell 6 is not a target. The cell-averaging CFAR page gives the full trace.

Doubling the noise. Multiply every cell above by 2. Every sum and every threshold doubles, and the decisions are the same. This is the CFAR property in its simplest form.

Known algorithms

  • Cell-averaging CFAR: a running sum, O(1)O(1) per cell after the first window, so Θ(n)\Theta(n) for nn cells. Best in homogeneous noise.
  • Ordered-statistic CFAR: a selection of the kk-th smallest value in a sliding window. Θ(nN)\Theta(nN) with a sorted list, O(nlog⁡N)O(n \log N) with a balanced binary search tree or an order statistic tree.
  • GO and SO CFAR: two running sums, Θ(n)\Theta(n).
  • In spectrum sensing, the energy detector with a noise estimate is the same idea in frequency.
AlgorithmTimeSpacePropertiesCode
Cell-averaging CFARΘ(n) worst · average · bestΘ(1) extraconstant false alarm rate in homogeneous noisedeterministicexact for rational inputonlinescale invariant1 language
Ordered-statistic CFARΘ(n N) worst · averageΘ(N) extraconstant false alarm rate in homogeneous noisedeterministicexact for rational inputonlinerobust to interfering targetsscale invariant1 language

Bounds

  • The ideal detector. No rule beats the Neyman-Pearson test with a known μ\mu. For a Swerling 1 target it gives Pd=Pfa1/(1+S)P_d = P_{fa}^{1/(1+S)}, an upper bound for every CFAR rule.
  • CA-CFAR approaches the bound. With (1+τ)N=1/Pfa(1 + \tau)^N = 1/P_{fa}, τ→0\tau \to 0 and Nτ→ln⁡(1/Pfa)N\tau \to \ln(1/P_{fa}) as N→∞N \to \infty, so Pd=(1+τ/(1+S))−N→Pfa1/(1+S)P_d = (1 + \tau/(1+S))^{-N} \to P_{fa}^{1/(1+S)}. The CFAR loss falls as NN grows: at Pfa=10−6P_{fa} = 10^{-6} the average threshold is 4.28 dB above the ideal one for N=8N = 8, 0.97 dB for N=32N = 32 and 0.48 dB for N=64N = 64.
  • Optimality. For a Swerling 1 target in homogeneous exponential noise of unknown power, Gandhi and Kassam (1994) proved that CA-CFAR is a uniformly most powerful CFAR detector. No other CFAR rule, OS included, has a higher PdP_d in this model. The other rules give up some PdP_d here in exchange for robustness outside the model.
  • Time. Each cell must be read, so Ω(n)\Omega(n) time is needed, and CA-CFAR meets it.

Reductions

  • To a hypothesis test on invariants. Divide every cell by the sum of the reference cells. The ratios do not depend on μ\mu, and a likelihood ratio test on them has a constant false alarm rate. For the Swerling 1 target this test is CA-CFAR.
  • From spectrum sensing. Deciding whether a band is occupied when the noise floor is unknown is the same problem on frequency bins in place of range cells. See spectrum sensing.

Applications

Every search and surveillance radar uses some form of CFAR after the detector, often on the output of range-Doppler processing. Automotive radars use CA and OS CFAR on each frame. Sonar, lidar, and the detection of signals in a spectrum use the same rules. The detection probability that the Albersheim equation or the Swerling models give assumes a fixed threshold; with CFAR, add the CFAR loss.

References

  1. Adaptive detection mode with threshold control as a function of spatially sampled clutter-level estimates, the whole paper (the threshold set from the mean of nearby range cells, and its loss against a fixed threshold)
  2. Analysis of CFAR processors in nonhomogeneous background, the whole paper (CA, GO, SO and OS processors at clutter edges and with interfering targets)
  3. Optimality of the cell averaging CFAR detector, the whole paper (CA-CFAR is a uniformly most powerful CFAR detector for a Swerling 1 target in exponential noise of unknown power)
  4. Mark A. Richards, Fundamentals of Radar Signal Processing, McGraw-Hill, 2005, Chapter 7, Constant False Alarm Rate (CFAR) Detection, Sections 7.1 to 7.3 (the effect of an unknown interference power and cell averaging) and 7.6 (order statistics)
  5. Merrill I. Skolnik, Introduction to Radar Systems, third edition, McGraw-Hill, 2001, Chapter 5, Detection of Signals in Noise (the threshold, false alarms and constant false alarm rate receivers)

Where this leads

About this page

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

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