[Target Detection] Radar Target CFAR Detection Algorithm

I. Overview

1. Basic concepts

The detection process of radar can be described by threshold detection. Almost all judgments are based on the comparison between the output of the receiver and a certain threshold level. If the envelope output by the receiver exceeds a certain set threshold, it is considered that there is a target.
Radar will be affected by noise, clutter and interference during detection, so when a fixed threshold is used for target detection, certain false alarms will occur, especially when the clutter background fluctuates and changes, the false alarm rate will increase sharply, seriously affecting the radar performance. Detection performance. Therefore, the detection threshold is dynamically adjusted according to the radar clutter data, and the target detection probability is maximized while the false alarm probability remains unchanged. This method is called Constant False Alarm Rate (CFAR) detection technology.

2. Basic knowledge

During the judgment process of the radar, two types of errors may occur. The first type is to judge that there is a target when there is no target, and this type of error is called a false alarm. The other type is to judge that there is no target when there is a target, and this type of error is called a missed alarm. The above two types of errors occur with a certain probability, which are called false alarm probability and missed alarm probability respectively.

2. CFAR detection algorithm

At present, researchers have proposed many efficient CFAR detection algorithms for various clutter environments. The wave is evenly distributed; the other is the ordered statistical CFAR (OS-CFAR) algorithm, which is designed to deal with the multi-target situation in the neighborhood. Different CFAR detection algorithms have their own advantages and disadvantages, and they are all designed for specific situations. We only need to learn the basic principles of CFAR and be familiar with several typical CFAR detection algorithms.

1. Basic principles

The input of a CFAR detector generally includes a detection unit YYY sum2n 2n2 n reference units. The reference unit is located on both sides of the detection unit, and the front and rear arennn number. The protection unit is mainly used in the case of a single target to prevent the target energy from leaking to the reference unit and affecting the detection effect. Let the reference threshold level beVTH V_{TH}VTH V T H = T × Z V_{TH}=T×Z VTH=T×Z , of which:ZZZ is an estimate of the total clutter power level,TTT is the threshold factor, then whenY > VTH Y>V_{TH}Y>VTHWhen , it is considered that there is a target; otherwise, it is considered that there is no target.
The processing flow of the CFAR algorithm is shown in the figure below:

CFAR algorithm processing flow chart
In general, clutter and noise are independent of each other, and after square-law detection, they all satisfy exponential distribution. The probability density function of the reference unit is:
Formula 1
Let H 0 H_{0}H0Expressed as no target, P [ Y > TZ ∣ H 0 ] P[Y>TZ|H_{0}]P [ Y>TZH0] is expressed as the probability of judging that there is a target under the condition that there is no target, so that the expression of the false alarm probability is:
insert image description here
whereμ μμ is the noise power;ZZZ is a random variable whose distribution depends on the type of CFAR algorithm and the distribution of the reference unit;MZ ( u ) u = T / 2 μ M_{Z}(u)_{u=T/2μ}MZ(u)u = T /2 μis the moment generating function.

2. Several typical CFAR detection algorithms

The difference between different types of CFAR algorithms is mainly reflected in the different processing of reference units, also known as ZZThe choice of Z value is different. When the background noise is independent and identically distributed, by determining the constantTTT to achieve a constant false alarm probability. different detection algorithms which determine the constantTTThe method of T will be different accordingly. The following will deduce the false alarm probability expressions of several typical CFAR algorithms.

(1) CA (Cell Averaging)-CFAR detection algorithm

Background clutter power level ZZZ is calculated as2 n 2nSum of 2 n reference single elements:
Z = ∑ i = 1 n X i + ∑ i = n + 1 2 n X i = ∑ i = 1 2 n X i Z=\sum_{i=1}^{n} X_{i}+\sum_{i=n+1}^{2n}X_{i}=\sum_{i=1}^{2n}X_{i}Z=i=1nXi+i=n+12 nXi=i=12 nXi
In deriving P fa P_{fa}Pfawith TTBefore the relationship of T , we first give the relevant knowledge of the gamma (Γ) distribution.
Γ ΓThe probability density function of the Γ distribution is:
insert image description here
where,α, β α, βα β是个parameters,当α = 1,β = 2μ α=1,β=2μa=1 b=2 μ , formula (3) degenerates into exponential distribution in formula (1);Γ ( α ) Γ(α)Γ ( α ) is the gamma function in mathematics, for positive integerα αα,有Γ ( α ) = ( α − 1 ) ! Γ(α)=(α-1)!C ( a )=( a1 )
G ( a , b ) G(a,b)G ( a ,b ) forCThe probability distribution function of the Γ distribution, ifXXX is subject toΓ ΓA random variable of Γ distribution, then:
insert image description here
XXThe moment generating function of X
insert image description here
is: assuming that each variable in the input signal satisfies the condition of independent and identical distribution, then for2 n 2n2 The moment generating function of the sum of n random variables is equal to the product of the moment generating functions of each random variable, so there is:
insert image description here
Formula (5) and formula (6) andu = T / 2 μ u=T/2μu=Substituting T /2 μ
insert image description here
into formula (2), we can get: the false alarm probabilityP fa P_{fa}Pfawith threshold factor TTT relationship:
insert image description here

(2) GO-CFAR, SO-CFAR detection algorithm

The largest choice GO (Greatest Of)-CFAR is to select the front nnThe sum of n reference units and the followingnnThe larger of the sum of n reference units is used as the background clutter power level ZZZ ; while the minimum selection SO(Smallest Of)-CFAR is to select the frontnnThe sum of n reference units and the followingnnThe smaller of the sum of n reference units is taken as the background clutter power level ZZZ. _
GO、SO
For the GO-CFAR algorithm, the probability density function of Z isf Z ( z ) f_{Z}(z)fZ( z ) , and then derive its false alarm probability asP fa , go P_{fa,go}Pf a , g o, as the following formula:
insert image description here
Similarly, the probability density function of the SO-CFAR algorithm can be obtained as f Z ( z ) f_{Z}(z)fZ( z ) , the false alarm probability isP fa , so P_{fa,so}Pfa , i know, as follows:
insert image description here

(3) OS-CFAR detection algorithm

The principle of order statistics OS (Order Statistics) CFAR is to sort the reference units from small to large, and then select the kkthk samples asZZZ. _
Let the false alarm probability of OS-CFAR algorithm beP fa , os P_{fa,os}Pf a , the, can be deduced according to the formula in the reference:
insert image description here
kkk is a parameter in OS-CFAR, and the selection of its value has a great influence on the detection performance of the algorithm.

(4) Supplementary Notes

Threshold factor TT of three types of CFAR detection algorithms: GO, SO, and OST is difficult to express in mathematical expressions, and can be solved by iterative operation.
When solving the threshold factorTTAfter T , it can be substituted into the expression of the detection probability to obtain the change of the detection probability under the condition of different signal-to-noise ratios. The detection probability P d P_{d}
is given in references [4] and [5]Pdcalculation method.

3. Performance comparison of different CFAR detection algorithms

1. MATLAB simulation results

In order to compare the detection performance of different CFAR algorithms, the relationship curves between the detection probability and the signal-to-noise ratio of the four types of CFAR algorithms, CA, GO, SO, and OS, are established. The signal-to-noise ratio is set to 0~30dB, and the number of reference units is 2 n 2n2 n takes 16, 24, 32, 48, 64, 128 respectively, and there are 3 protection units on the left and right respectively, the false alarm probabilityP fa = 1 0 − 6 P_{fa}=10^{-6}Pfa=10−6 . _
The MATLAB simulation results are shown in the figure below.
insert image description here

2. MATLAB code

% ------ 程序功能:四类CFAR检测算法的检测概率与SNR的关系 %
clc
clear all;
close all;

%% 参数设置
R = 24;                     % 参考单元长度
n = R/2;                    % 半滑窗长度
k = R*3/4;                  % os-cfar的参数
P_fa = 1e-6;                % 虚警概率
SNR_dB = (0:30);            % 信噪比
SNR = 10.^(SNR_dB./10);     % 信号功率与噪声功率的比值
syms T;                     % 门限因子的符号变量
%% CA-CFAR
T_CA = P_fa^(-1/R)-1;           % CA-CFAR的门限因子
Pd_CA = (1+T_CA./(1+SNR)).^(-R);    % CA-CFAR的检测概率

%% SO-CFAR、GO-CFAR
Pfa_SO = 0;
syms T
for i = 0:n-1
    Pfa_SO = Pfa_SO+2*nchoosek(n+i-1,i)*(2+T)^(-(n+i));     % SO-CFAR的虚警概率表达式
end
T1_SO = solve(Pfa_SO == P_fa, T);       % 求解出虚警概率为P_fa时对应的门限因子T
T2_SO = double(T1_SO);
T_SO = T2_SO(T2_SO == abs(T2_SO));      % SO-CFAR的门限因子

Pfa_GO = 2*(1+T)^(-n)-Pfa_SO;           % GO-CFAR的虚警概率表达式
T1_GO = solve(Pfa_GO == P_fa, T);       % 求解出虚警概率为P_fa时对应的门限因子T
T2_GO = double(T1_GO);
T_GO = T2_GO(T2_GO == abs(T2_GO));      % GO-CFAR的门限因子

Pd_SO = 0;
Pd_GO = 0;
for j = 0:n-1
    Pd_SO = Pd_SO+2*nchoosek(n+j-1,j).*(2+T_SO./(1+SNR)).^(-(n+j));     % SO-CFAR的检测概率
    Pd_GO = Pd_GO+2*nchoosek(n+j-1,j).*(2+T_GO./(1+SNR)).^(-(n+j));
end
Pd_GO = 2.*(1+T_GO./(1+SNR)).^(-n)-Pd_GO;         % GO-CFAR的检测概率

%% OS-CFAR
Pfa_OS = k*nchoosek(R,k)*gamma(R-k+1-T)*gamma(k)/gamma(R+T+1);           % OS-CFAR的虚警概率表达式
T1_OS = solve(Pfa_OS == P_fa, T);       % 求解出虚警概率为P_fa时对应的门限因子T
T2_OS = double(T1_OS);
T_OS = T2_OS(T2_OS == abs(T2_OS));      % OS-CFAR的门限因子
Pd_OS = k*nchoosek(R,k)*gamma(R-k+1-T_OS./(1+SNR))*gamma(k)./gamma(R+T_OS./(1+SNR)+1);      % OS-CFAR的检测概率

%% 画图
figure;
plot(SNR_dB,Pd_CA,'r-*');
hold on;
plot(SNR_dB,Pd_SO,'k-^');
plot(SNR_dB,Pd_GO,'b-o');
plot(SNR_dB,Pd_OS,'m-.');
grid on;
xlabel('SNR','FontName','Time New Romans','FontAngle','italic');
ylabel('P_{d}','FontName','Time New Romans','FontAngle','italic');
title(['恒虚警率 P_{fa}= ',num2str(P_fa),',参考单元 2n= ',num2str(R)]);
legend('CA','SO','GO','OS');

3. Summary of advantages and disadvantages

Advantages and disadvantages of CFAR comparison
In practical applications, due to the limited computing resources of radar hardware, the commonly used algorithm is still the CA-CFAR detection algorithm with low complexity.

4. References

[1] Zou Chengxiao, Zhang Haixia, Cheng Yukun. A Review of Radar Constant False Alarm Rate Detection Algorithms [J]. Radar and Countermeasures, 2021, 41(02): 29-35. [2] Liu Chaojun, Zhang Xin, Wang Shouquan. Radar Target Constant False Alarm
Rate Research on Alarm Detection Algorithm[J]. Ship Electronic Engineering, 2008(07): 107-109.
[3] Cui Ning, Luo Yunhua, Yu Zhongjun, et al. A Fast Two-Dimensional CFAR Algorithm Based on Improved Convolution Kernel[J] . Modern Radar, 2020, 42(08): 30-35.
[4] Wang Bei. Research on constant false alarm processing technology based on clutter map [D]. Xidian University, 2018. [
5] Detection loss due to interfering targets in ordered statistics CFAR.

Guess you like

Origin blog.csdn.net/weixin_45317919/article/details/125899133