[go: up one dir, main page]

CN106597122A - Radar and communication signal pulse width detection algorithm - Google Patents

Radar and communication signal pulse width detection algorithm Download PDF

Info

Publication number
CN106597122A
CN106597122A CN201710013992.5A CN201710013992A CN106597122A CN 106597122 A CN106597122 A CN 106597122A CN 201710013992 A CN201710013992 A CN 201710013992A CN 106597122 A CN106597122 A CN 106597122A
Authority
CN
China
Prior art keywords
time window
flag
rising edge
threshold
falling edge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710013992.5A
Other languages
Chinese (zh)
Other versions
CN106597122B (en
Inventor
刘云学
于会
范文强
贺鹏飞
刘鹏飞
王娟娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yantai University
Original Assignee
Yantai University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yantai University filed Critical Yantai University
Priority to CN201710013992.5A priority Critical patent/CN106597122B/en
Publication of CN106597122A publication Critical patent/CN106597122A/en
Application granted granted Critical
Publication of CN106597122B publication Critical patent/CN106597122B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R29/00Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
    • G01R29/02Measuring characteristics of individual pulses, e.g. deviation from pulse flatness, rise time or duration
    • G01R29/027Indicating that a pulse characteristic is either above or below a predetermined value or within or beyond a predetermined range of values
    • G01R29/0273Indicating that a pulse characteristic is either above or below a predetermined value or within or beyond a predetermined range of values the pulse characteristic being duration, i.e. width (indicating that frequency of pulses is above or below a certain limit)

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power-Operated Mechanisms For Wings (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

本发明提供了一种雷达及通信信号的脉冲宽度检测算法,首先检测出上升沿位置,再检测出下降沿位置,然后通过上升沿位置和下降沿位置求得脉冲宽度后再次进入上升沿的检测,从而循环进行上升沿的检测和下降沿的检测,连续捕捉并计算脉冲的宽度。进行上升沿和下降沿检测时,采用宽窗口与窄窗口相结合的方案,平衡了检测概率和定位上升沿及下降沿之间的关系,保证了极低脉冲丢失概率及极低虚警概率,同时又利用了窄窗口的高分辨能力,提高检测上升沿及下降沿的检测精度;另一方面,本发明采用两级决策融合机制,多个窄窗口决策融合后的融合结果再与宽窗口的判断结果相融合,进一步提高了检测概率和检测精度。

The invention provides a pulse width detection algorithm for radar and communication signals, which first detects the position of the rising edge, then detects the position of the falling edge, and then obtains the pulse width through the position of the rising edge and the position of the falling edge, and then enters the detection of the rising edge again , so that the detection of the rising edge and the detection of the falling edge are performed cyclically, and the width of the pulse is continuously captured and calculated. When detecting the rising edge and falling edge, the combination of wide window and narrow window is adopted to balance the relationship between the detection probability and the positioning of rising and falling edges, ensuring extremely low pulse loss probability and extremely low false alarm probability. At the same time, the high-resolution capability of the narrow window is used to improve the detection accuracy of the rising edge and the falling edge; on the other hand, the present invention adopts a two-level decision fusion mechanism, and the fusion result after multiple narrow window decision fusion is combined with the wide window The fusion of judgment results further improves the detection probability and detection accuracy.

Description

一种雷达及通信信号的脉冲宽度检测算法A Pulse Width Detection Algorithm for Radar and Communication Signals

技术领域technical field

本发明涉及一种雷达及通信信号的脉冲宽度检测算法,属于雷达脉冲信号检测技术领域和通信脉冲信号检测技术领域。The invention relates to a pulse width detection algorithm for radar and communication signals, and belongs to the technical fields of radar pulse signal detection and communication pulse signal detection.

背景技术Background technique

现代战争条件下,电子对抗与反对抗的斗争日趋激烈,因而有效地对雷达及通信信号进行截获、分选和识别是被动接收武器系统的主要任务。在现有电磁环境中,每秒钟会出现大量各种各样的脉冲信号,脉冲宽度作为电子侦察的五大核心参数之一,在雷达及通信信号分析中起着至关重要的作用。因此对雷达信号的脉冲宽度的准确测量是现代信号处理亟待解决的任务之一。Under the conditions of modern warfare, electronic countermeasures and the struggle against countermeasures are becoming increasingly fierce, so effectively intercepting, sorting and identifying radar and communication signals are the main tasks of passive receiving weapon systems. In the existing electromagnetic environment, a large number of various pulse signals appear every second. As one of the five core parameters of electronic reconnaissance, pulse width plays a vital role in radar and communication signal analysis. Therefore, the accurate measurement of the pulse width of the radar signal is one of the tasks to be solved urgently in modern signal processing.

由于脉冲宽度检测需要在极短的时间内完成,因而很多先进的信号处理技术难以采用。现有技术中采用较多的脉冲宽度检测方式是能量检测法,该方法计算一段时间内采样点的平均功率或能量,再根据平均功率或能量与门限值之间的关系判断上升沿和下降沿是否出现,运算复杂度低,并且无需知道信号的先验信息,故而被广泛采用。但是,在实际运用过程中,如果采用宽窗口即窗口内采样点数较多,则在同样的虚警概率下能量检测法检测概率很高,但是难以准确定位上升沿及下降沿;如果采用窄窗口即窗口内采样点数较少,则在同样的虚警概率下便于准确定位上升沿及下降沿,但检测概率很低,极易出现错误。因此能量检测法检测结果的均方根误差较大,脉冲宽度测量精度低。Because pulse width detection needs to be completed in a very short time, many advanced signal processing techniques are difficult to adopt. The energy detection method is the most widely used pulse width detection method in the prior art. This method calculates the average power or energy of the sampling point within a period of time, and then judges the rising edge and falling edge according to the relationship between the average power or energy and the threshold value. Whether the edge appears, the computational complexity is low, and there is no need to know the prior information of the signal, so it is widely used. However, in the actual application process, if a wide window is used, that is, there are more sampling points in the window, the detection probability of the energy detection method is high under the same false alarm probability, but it is difficult to accurately locate the rising and falling edges; if a narrow window is used That is, if the number of sampling points in the window is small, it is convenient to accurately locate the rising edge and falling edge under the same false alarm probability, but the detection probability is very low, and errors are prone to occur. Therefore, the root mean square error of the detection result of the energy detection method is relatively large, and the measurement accuracy of the pulse width is low.

发明内容Contents of the invention

本发明提出了一种雷达及通信信号的脉冲宽度检测算法,其目的在于:(1)在低计算复杂度的基础上提高脉冲宽度检测的精度。The present invention proposes a pulse width detection algorithm for radar and communication signals, the purpose of which is to: (1) Improve the precision of pulse width detection on the basis of low computational complexity.

本发明技术方案如下:Technical scheme of the present invention is as follows:

一种雷达及通信信号的脉冲宽度检测算法,步骤为:A pulse width detection algorithm for radar and communication signals, the steps are:

首先检测出上升沿位置,再检测出下降沿位置,然后通过上升沿位置和下降沿位置求得脉冲宽度后再次进入上升沿的检测,从而循环进行上升沿的检测和下降沿的检测,连续捕捉脉冲信号并计算脉冲宽度,其特征在于:First detect the position of the rising edge, then detect the position of the falling edge, then obtain the pulse width through the position of the rising edge and the position of the falling edge, and then enter the detection of the rising edge again, so as to cycle the detection of the rising edge and the detection of the falling edge, and continuously capture Pulse signal and calculate pulse width, characterized by:

检测之前,先建立一个宽时间窗口,再将宽时间窗口分为若干窄时间窗口,并为宽时间窗口设定一个宽时间窗口的门限,为窄时间窗口设立一个高门限和一个低门限;Before detection, first establish a wide time window, then divide the wide time window into several narrow time windows, and set a wide time window threshold for the wide time window, and set a high threshold and a low threshold for the narrow time window;

上升沿检测时,首先进行窄时间窗口的过高门限判断和过低门限判断,然后进行高门限决策融合和低门限决策融合,然后进行宽时间窗口的过门限判断并得到“宽时间窗口上升沿位置”,然后将宽时间窗口检测结果与上升沿低门限融合决策进行第二级决策融合并获得“低门限上升沿位置”、将宽时间窗口检测结果与上升沿高门限融合决策进行第二级决策融合并获得“高门限上升沿位置”,对宽时间窗口过门限的采样点进行信噪比估计 ,最后依据信噪比估计的结果从“低门限上升沿位置”、“高门限上升沿位置”和“宽时间窗口上升沿位置”中选择其一为“上升沿位置”;When detecting the rising edge, firstly judge the over-high threshold and the low-threshold judgment of the narrow time window, then carry out the high-threshold decision fusion and the low-threshold decision fusion, and then carry out the wide time window cross-threshold judgment and get the "wide time window rising edge position", and then perform second-level decision fusion on the wide time window detection result and the rising edge low threshold fusion decision to obtain the "low threshold rising edge position", and perform the second level decision on the wide time window detection result and the rising edge high threshold fusion decision Decision fusion and obtain the "high threshold rising edge position", and estimate the signal-to-noise ratio of the sampling points that pass the threshold in a wide time window. Finally, according to the result of the signal-to-noise ratio estimation, the " and "Wide Time Window Rising Edge Position" select one as "Rising Edge Position";

下降沿检测时,首先进行窄时间窗口的过高门限判断和过低门限判断,然后进行高门限决策融合和低门限决策融合,然后进行宽时间窗口的过门限判断,完成宽时间窗口功率大于等于门限的采样点的信噪比估计,得到“宽时间窗口下降沿位置”,然后将宽时间窗口检测结果与下降沿低门限融合决策进行第二级决策融合并获得“低门限下降沿位置”、将宽时间窗口检测结果与下降沿高门限融合决策进行第二级决策融合并获得“高门限下降沿位置”,最后依据信噪比估计的结果从“低门限下降沿位置”、“高门限下降沿位置”和“宽时间窗口下降沿位置”中选择其一为“下降沿位置”。When detecting the falling edge, first judge the over-high threshold and the low-threshold judgment of the narrow time window, then perform the high-threshold decision fusion and low-threshold decision fusion, and then carry out the wide time window cross-threshold judgment to complete the wide time window power greater than or equal to The signal-to-noise ratio of the sampling point of the threshold is estimated to obtain the "wide time window falling edge position", and then the wide time window detection result is combined with the falling edge low threshold fusion decision for the second-level decision fusion to obtain the "low threshold falling edge position", The second-level decision fusion is performed on the wide time window detection result and the falling edge high threshold fusion decision to obtain the "high threshold falling edge position". Finally, according to the signal-to-noise ratio estimation result, the Select one of "Falling Edge Position" and "Wide Time Window Falling Edge Position".

进一步地,所述的雷达及通信信号的脉冲宽度检测算法的具体步骤为:Further, the specific steps of the pulse width detection algorithm of radar and communication signals are:

(1)参数初始化设置:(1) Parameter initialization settings:

(1-1)设定一个宽时间窗口并将该宽时间窗口划分为K个窄时间窗口,所述宽时间窗口长度为N个采样点、采样间隔为Ts,N大于等于K,所述窄时间窗口长度为M个采样点,M小于N;(1-1) Set a wide time window and divide the wide time window into K narrow time windows, the length of the wide time window is N sampling points, the sampling interval is Ts, N is greater than or equal to K, and the narrow time window The length of the time window is M sampling points, and M is less than N;

(1-2)设定一信噪比值SNR0;(1-2) Set a signal-to-noise ratio value SNR0;

(1-3)设定虚警概率:为宽时间窗口设定虚警概率Pf0;为窄时间窗口设定虚警概率Pf1和Pf2,Pf0<Pf1<Pf2;(1-3) Set false alarm probability: set false alarm probability Pf0 for wide time window; set false alarm probability Pf1 and Pf2 for narrow time window, Pf0<Pf1<Pf2;

(1-4)根据各虚警概率计算各检测门限:根据Pf0计算宽时间窗口的检测门限T0,根据Pf1和Pf2分别计算出窄时间窗口的检测门限T1和T2,且有T0>T1>T2,即T1为窄时间窗口的高门限,T2为窄时间窗口的低门限;(1-4) Calculate each detection threshold according to each false alarm probability: calculate the detection threshold T0 of the wide time window according to Pf0, calculate the detection threshold T1 and T2 of the narrow time window according to Pf1 and Pf2, and have T0>T1>T2 , that is, T1 is the high threshold of the narrow time window, and T2 is the low threshold of the narrow time window;

(1-5)设定“用于估计信噪比的采样点数限值”N0;(1-5) Set the "limit of sampling points for estimating the signal-to-noise ratio" N0;

(2)将所有宽时间窗口和窄时间窗口的内部输入信号采样值及采样值的缓存队列、输入信号功率及功率的缓存队列均清0;(2) Clear the internal input signal sampling values and sampling value buffer queues, input signal power and power buffer queues of all wide time windows and narrow time windows;

建立“下降沿检测中检测到下一脉冲上升沿”标志X1、“上升沿检测中检测到脉冲下降沿”标志X2、“宽时间窗口已检测到脉冲信号”标志X3以及“宽时间窗口未检测到脉冲信号”标志X4并全部置为0;建立“宽时间窗口功率低于门限采样点数”N1和“宽时间窗口过门限采样点数”N2并均置为0;Establish the flag X1 of "the rising edge of the next pulse is detected in the falling edge detection", the flag X2 of the "falling edge of the pulse detected in the rising edge detection", the flag X3 of "the pulse signal has been detected in a wide time window" and the flag "not detected To the pulse signal" flag X4 and set all to 0; establish "the number of sampling points with wide time window power below the threshold" N1 and "number of sampling points with wide time window over the threshold" N2 and set them to 0;

(3)运行上升沿检测模块:(3) Run the rising edge detection module:

(3-1)建立窄时间窗口的“已检测到低门限上升沿”标志Y1和窄时间窗口的“已检测到高门限上升沿”标志Y2并全部置为0;(3-1) Set up the "low threshold rising edge detected" flag Y1 of the narrow time window and the "high threshold rising edge detected" flag Y2 of the narrow time window and set them all to 0;

(3-2)检验标志X1是否为1:若为1,表明在上一脉冲下降沿检测模块中检测到当前脉冲的上升沿,则将标志X1置0、然后进入步骤(3-4),根据缓存区中的数据检测上升沿位置,所述缓存区中的数据包括宽时间窗口及各窄时间窗口的平均功率、还包括缓存队列中的数据;若不为1,则进入步骤(3-3);(3-2) Check whether the flag X1 is 1: if it is 1, it means that the rising edge of the current pulse is detected in the falling edge detection module of the previous pulse, then set the flag X1 to 0, and then enter step (3-4), Detect the rising edge position according to the data in the buffer area, the data in the buffer area includes the average power of the wide time window and each narrow time window, and also includes the data in the buffer queue; if it is not 1, then enter the step (3- 3);

(3-3)计算宽时间窗口的平均功率和K个窄时间窗口各自的平均功率,并对宽时间窗口及各窄时间窗口对应的缓存队列进行处理:当前采样点进入缓存队列、缓存队列中最末的采样点退出缓存队列;(3-3) Calculate the average power of the wide time window and the average power of K narrow time windows, and process the cache queue corresponding to the wide time window and each narrow time window: the current sampling point enters the cache queue and the cache queue The last sampling point exits the cache queue;

(3-4)分别判断各窄时间窗口的平均功率是否大于等于T1,得到K个高门限判决结果;并且,分别判断各窄时间窗口的平均功率是否大于等于T2,得到K个低门限判决结果;(3-4) Determine whether the average power of each narrow time window is greater than or equal to T1, and obtain K high-threshold judgment results; and separately judge whether the average power of each narrow time window is greater than or equal to T2, and obtain K low-threshold judgment results ;

(3-5)建立“上升沿低门限融合决策”标志Z1,然后对K个窄时间窗口的低门限判断结果进行决策融合;若融合结果为检测到脉冲信号,则将Z1置为1,否则将Z1置为0;(3-5) Establish the "rising edge low-threshold fusion decision" flag Z1, and then perform decision fusion on the low-threshold judgment results of K narrow time windows; if the fusion result is that a pulse signal is detected, set Z1 to 1, otherwise Set Z1 to 0;

(3-6)建立“上升沿高门限融合决策”标志Z2,然后对K个窄时间窗口的高门限判断结果进行决策融合;若融合结果为检测到脉冲信号,则将Z2置为1,否则将Z2置为0;(3-6) Establish the "rising edge high threshold fusion decision" flag Z2, and then perform decision fusion on the high threshold judgment results of K narrow time windows; if the fusion result is that a pulse signal is detected, set Z2 to 1, otherwise Set Z2 to 0;

(3-7)检验标志X3是否为1:若标志X3为1,则将N2加1,然后进入步骤(3-8);若标志X3不为1,则判断宽时间窗口的平均功率是否大于等于T0:若宽时间窗口的平均功率大于等于T0,则将标志X3置1,置N2为1,并记录“宽时间窗口上升沿位置”,然后进入步骤(3-8),若宽时间窗口的平均功率小于T0,则进入步骤(3-3)对下一采样点进行处理;(3-7) Check whether the flag X3 is 1: if the flag X3 is 1, add 1 to N2, and then enter step (3-8); if the flag X3 is not 1, then judge whether the average power of the wide time window is greater than Equal to T0: If the average power of the wide time window is greater than or equal to T0, set the flag X3 to 1, set N2 to 1, and record the "rising edge position of the wide time window", and then enter step (3-8), if the wide time window If the average power is less than T0, enter step (3-3) to process the next sampling point;

(3-8)将宽时间窗口检测结果与上升沿低门限融合决策进行第二级决策融合,检验宽时间窗口检测到脉冲信号后、上升沿低门限融合决策过程中第一次检测到脉冲信号的时刻:如果标志Y1为0,则检验标志Z1是否为1:如果标志Z1为1,则置标志Y1为1并记录“低门限上升沿位置”再进入步骤(3-9),如果标志Z1不为1,则进入步骤(3-9);如果标志Y1不为0,则进入步骤(3-9);(3-8) Perform second-level decision fusion on the wide time window detection result and the rising edge low threshold fusion decision, and check that the pulse signal is detected for the first time during the rising edge low threshold fusion decision process after the pulse signal is detected in the wide time window moment: if the flag Y1 is 0, check whether the flag Z1 is 1: if the flag Z1 is 1, set the flag Y1 to 1 and record the "low threshold rising edge position" and then enter step (3-9), if the flag Z1 If it is not 1, go to step (3-9); if the flag Y1 is not 0, go to step (3-9);

(3-9)将宽时间窗口检测结果与上升沿高门限融合决策进行第二级决策融合,检验宽时间窗口检测到脉冲信号后、上升沿高门限融合决策过程中第一次检测到脉冲信号的时刻:如果标志Y2为0,则检验标志Z2是否为1:如果标志Z2为1,则置标志Y2为1并记录“高门限上升沿位置”再进入步骤(3-10),如果标志Z2不为1,则进入步骤(3-10);如果标志Y2不为0,则进入步骤(3-10);(3-9) Perform second-level decision fusion on the wide time window detection result and the rising edge high threshold fusion decision, and check that the pulse signal is detected for the first time during the rising edge high threshold fusion decision process after the pulse signal is detected in the wide time window moment: if the flag Y2 is 0, check whether the flag Z2 is 1: if the flag Z2 is 1, set the flag Y2 to 1 and record the "high threshold rising edge position" and then enter step (3-10), if the flag Z2 If it is not 1, go to step (3-10); if the flag Y2 is not 0, go to step (3-10);

(3-10)宽时间窗口检测到脉冲信号后,检验当前脉冲的下降沿是否出现:如果当前宽时间窗口的平均功率小于T0,表明上升沿检测过程中宽时间窗口检测到脉冲信号后脉冲信号又消失了,即当前脉冲的下降沿到达,则记录“宽时间窗口下降沿位置”并将标志X2及X4均置为1,并置标志X3及N1为0,然后执行“自适应上升沿位置确定”模块并给出当前脉冲上升沿位置,然后上升沿检测完成并返回;如果当前宽时间窗口的平均功率不小于T0,则估计信噪比SNR,然后进入步骤(3-11);(3-10) After the pulse signal is detected in the wide time window, check whether the falling edge of the current pulse appears: if the average power of the current wide time window is less than T0, it indicates that the pulse signal is detected after the pulse signal is detected in the wide time window during the rising edge detection process It disappears again, that is, the falling edge of the current pulse arrives, then record the "wide time window falling edge position" and set the flags X2 and X4 to 1, and set the flags X3 and N1 to 0, and then execute the "adaptive rising edge position Confirm" module and give the position of the rising edge of the current pulse, then complete the rising edge detection and return; if the average power of the current wide time window is not less than T0, estimate the signal-to-noise ratio SNR, and then enter step (3-11);

(3-11)检验上升沿检测是否完成:宽时间窗口检测到脉冲信号后,如果N2大于N0,则表明上升沿检测及信噪比估计已完成,则将标志X1、X2、X3和X4均置0,然后执行“自适应上升沿位置确定”模块并给出上升沿位置,最后上升沿检测完成并返回;如果N2不大于N0,则跳转至步骤(3-3)对下一采样点进行处理;(3-11) Check whether the rising edge detection is completed: after the pulse signal is detected in a wide time window, if N2 is greater than N0, it indicates that the rising edge detection and signal-to-noise ratio estimation have been completed, and the flags X1, X2, X3 and X4 are all Set to 0, then execute the "adaptive rising edge position determination" module and give the rising edge position, and finally the rising edge detection is completed and returned; if N2 is not greater than N0, then jump to step (3-3) for the next sampling point process;

所述“自适应上升沿位置确定”模块的步骤为:The steps of the "adaptive rising edge position determination" module are:

(A-1)如果SNR>=SNR0且标志Y2为1,则置上升沿位置为“高门限上升沿位置”、然后返回,否则进入步骤(A-2);(A-1) If SNR>=SNR0 and the flag Y2 is 1, set the rising edge position as "high threshold rising edge position" and return, otherwise enter step (A-2);

(A-2)如果SNR<SNR0且标志Y1为1,则置上升沿位置为“低门限上升沿位置”、然后返回,否则进入步骤(A-3);(A-2) If SNR<SNR0 and the flag Y1 is 1, set the rising edge position to "low threshold rising edge position" and return, otherwise enter step (A-3);

(A-3)置上升沿位置为“宽时间窗口上升沿位置”,然后返回;(A-3) Set the rising edge position as "Wide Time Window Rising Edge Position", and then return;

(4)运行下降沿检测模块:(4) Run the falling edge detection module:

(4-1)建立窄时间窗口的“已检测到低门限下降沿”标志Y3和窄时间窗口的“已检测到高门限下降沿”标志Y4并全部置为0;(4-1) Set up the "low threshold falling edge detected" flag Y3 of the narrow time window and the "high threshold falling edge detected" flag Y4 of the narrow time window and set them all to 0;

(4-2)检验标志X2是否为1:若为1,表明在上升沿检测模块中脉冲信号出现后又消失,则将标志X2置0,然后进入步骤(4-4),根据缓存区中的数据检测下降沿位置,所述缓存区中的数据包括宽时间窗口及各窄时间窗口的平均功率、还包括缓存队列中的数据;若不为1,则进入步骤(4-3);(4-2) Check whether the flag X2 is 1: if it is 1, it means that the pulse signal disappears after appearing in the rising edge detection module, then set the flag X2 to 0, and then enter step (4-4), according to the The position of the falling edge of the data detection, the data in the buffer area includes the average power of the wide time window and each narrow time window, and also includes the data in the buffer queue; if it is not 1, enter step (4-3);

(4-3)计算宽时间窗口的平均功率和K个窄时间窗口各自的平均功率,并对宽时间窗口及各窄时间窗口对应的缓存队列进行处理:当前采样点进入缓存队列、缓存队列中最末的采样点退出缓存队列;(4-3) Calculate the average power of the wide time window and the respective average power of K narrow time windows, and process the buffer queue corresponding to the wide time window and each narrow time window: the current sampling point enters the buffer queue and buffer queue The last sampling point exits the cache queue;

(4-4)分别判断各个窄时间窗口的平均功率是否低于T1,得到K个高门限判决结果;并且,分别判断各窄时间窗口的平均功率是否低于T2,得到K个低门限判决结果;(4-4) Determine whether the average power of each narrow time window is lower than T1, and obtain K high-threshold judgment results; and respectively judge whether the average power of each narrow time window is lower than T2, and obtain K low-threshold judgment results ;

(4-5)建立“下降沿低门限融合决策”标志Z3,然后对K个窄时间窗口的低门限判断结果进行决策融合;若融合结果为没有检测到脉冲信号,则将Z3置为1,否则将Z3置为0;(4-5) Establish the "falling edge low threshold fusion decision" flag Z3, and then perform decision fusion on the low threshold judgment results of K narrow time windows; if the fusion result is that no pulse signal is detected, set Z3 to 1, Otherwise set Z3 to 0;

(4-6)建立“下降沿高门限融合决策”标志Z4,然后对K个窄时间窗口的高门限判断结果进行决策融合;若融合结果为没有检测到脉冲信号,则将Z4置为1,否则将Z4置为0;(4-6) Establish the "falling edge high threshold fusion decision" flag Z4, and then perform decision fusion on the high threshold judgment results of K narrow time windows; if the fusion result is that no pulse signal is detected, set Z4 to 1, Otherwise set Z4 to 0;

(4-7)检验标志X4是否为0:若标志X4为0,则进入步骤(4-8),若标志X4不为0,则将N1加1后进入步骤(4-9);(4-7) Check whether the flag X4 is 0: if the flag X4 is 0, go to step (4-8); if the flag X4 is not 0, add 1 to N1 and go to step (4-9);

(4-8)判断宽时间窗口的平均功率是否低于T0:若宽时间窗口的平均功率低于T0,将标志X4和N1均置为1,并记录“宽时间窗口下降沿位置”,再进入(4-9);若宽时间窗口的平均功率大于或等于T0,则估计信噪比SNR,然后进入步骤(4-3)对下一采样点进行处理;(4-8) Determine whether the average power of the wide time window is lower than T0: If the average power of the wide time window is lower than T0, set both flags X4 and N1 to 1, and record the "falling edge position of the wide time window", and then Enter (4-9); if the average power of the wide time window is greater than or equal to T0, estimate the signal-to-noise ratio SNR, and then enter step (4-3) to process the next sampling point;

(4-9)宽时间窗口检测结果与下降沿低门限融合决策进行第二级决策融合,检验宽时间窗口检测到脉冲信号消失后、下降沿低门限融合决策过程中第一次检测到脉冲信号消失的时刻:如果标志Y3为0,则检验标志Z3是否为1:如果标志Z3为1,则置标志Y3为1并记录“低门限下降沿位置”再进入步骤(4-10),如果标志Z3不为1,则进入步骤(4-10);如果标志Y3不为0,则进入步骤(4-10);(4-9) The detection result of the wide time window and the low-threshold fusion decision of the falling edge are used for the second-level decision fusion, and the pulse signal is detected for the first time in the process of fusion decision-making process of the low-threshold fusion of the falling edge after the wide time window detects the disappearance of the pulse signal The moment of disappearance: if the flag Y3 is 0, check whether the flag Z3 is 1: if the flag Z3 is 1, set the flag Y3 to 1 and record the "low threshold falling edge position" and then enter step (4-10), if the flag If Z3 is not 1, enter step (4-10); if the flag Y3 is not 0, enter step (4-10);

(4-10)将宽时间窗口检测结果与下降沿高门限融合决策进行第二级决策融合,检验宽时间窗口检测到脉冲信号消失后、下降沿高门限融合决策过程中第一次检测到脉冲信号消失的时刻:如果标志Y4为0,则检验标志Z4是否为1:如果标志Z4为1,则置标志Y4为1并记录“高门限下降沿位置”再进入步骤(4-11),如果标志Z4不为1,则进入步骤(4-11);如果标志Y4不为0,则进入步骤(4-11);(4-10) Perform second-level decision fusion between the detection results of the wide time window and the high-threshold fusion decision on the falling edge, and check that the pulse is detected for the first time during the high-threshold fusion decision-making process of the falling edge after the pulse signal disappears in the wide time window The moment when the signal disappears: if the flag Y4 is 0, check whether the flag Z4 is 1: if the flag Z4 is 1, set the flag Y4 to 1 and record the "high threshold falling edge position" and then enter step (4-11), if If the flag Z4 is not 1, go to step (4-11); if the flag Y4 is not 0, go to step (4-11);

(4-11)检验下一脉冲的上升沿是否出现:如果当前宽时间窗口的平均功率大于等于T0,表明下降沿检测过程中检测到新的脉冲信号出现,即下一个脉冲的上升沿到达,则记录“宽时间窗口上升沿位置”并将标志X1和X3置为1,并置标志X4和N2为0,然后执行“自适应下降沿位置确定”模块并给出当前脉冲下降沿位置,然后下降沿检测完成并返回;如果当前宽时间窗口的平均功率小于T0,则进入步骤(4-12);(4-11) Check whether the rising edge of the next pulse appears: if the average power of the current wide time window is greater than or equal to T0, it indicates that a new pulse signal is detected during the falling edge detection process, that is, the rising edge of the next pulse arrives, Then record the "rising edge position of wide time window" and set the flags X1 and X3 to 1, and set the flags X4 and N2 to 0, then execute the "adaptive falling edge position determination" module and give the current pulse falling edge position, and then The falling edge detection is completed and returns; if the average power of the current wide time window is less than T0, enter step (4-12);

(4-12)检测下降沿检测是否完成:如果N1大于N,则将标志X1、X2、X3和标志X4置0,然后执行“自适应下降沿位置确定”模块并给出下降沿位置,然后下降沿检测完成并返回;如果N1小于等于N,则跳转至步骤(4-3)对下一采样点处理;(4-12) Check whether the falling edge detection is completed: if N1 is greater than N, set the flags X1, X2, X3 and flag X4 to 0, then execute the "adaptive falling edge position determination" module and give the falling edge position, and then The falling edge detection is completed and returns; if N1 is less than or equal to N, then jump to step (4-3) to process the next sampling point;

(5)根据上升沿位置和下降沿位置计算出脉冲宽度,然后进入步骤(3)再次开始检测上升沿;(5) Calculate the pulse width according to the position of the rising edge and the position of the falling edge, and then enter step (3) to start detecting the rising edge again;

所述“自适应下降沿位置确定”模块的步骤为:The steps of the "adaptive falling edge position determination" module are:

(B-1)如果SNR>=SNR0且标志Y4为1,则下降沿位置为“高门限下降沿位置”、然后返回,否则进入步骤(B-2);(B-1) If SNR>=SNR0 and the flag Y4 is 1, then the falling edge position is "high threshold falling edge position", and then return, otherwise enter step (B-2);

(B-2)如果SNR<SNR0且标志Y3为1,则下降沿位置为“低门限下降沿位置”、然后返回,否则进入步骤(B-3);(B-2) If SNR<SNR0 and flag Y3 is 1, then the falling edge position is "low threshold falling edge position", and then return, otherwise enter step (B-3);

(B-3)置下降沿时刻为“宽时间窗口下降沿位置”,然后返回。(B-3) Set the falling edge time as the "wide time window falling edge position", and then return.

相对于现有技术,本发明具有以下优点:(1)采用宽窗口与窄窗口相结合的方案,二者包含的采样点的数量不同,并设置有不同的虚警概率即门限值,宽窗口设置极低的虚警概率,而窄窗口设置较高的虚警概率,从而可以使两者同时过门限,平衡了检测概率和定位上升沿及下降沿之间的关系,利用宽窗口的优越检测能力,保证了极低脉冲丢失概率及极低虚警概率,同时又利用了窄窗口的高分辨能力,提高检测上升沿及下降沿的检测精度;(2)采用两级决策融合机制,多个窄窗口决策融合后的融合结果再与宽窗口的判断结果相融合,进一步提高了检测概率和检测精度;(3)窄窗口的门限值可根据信噪比估计结果自适应调整切换,检测精度高,灵活性强,适用性广;(4)主要运算是能量(或功率)计算及决策融合,算法运算复杂度低且与具体波形形状无关;(5)充分考虑了上升沿检测过程中又检测到下降沿以及下降沿检测过程中又检测到上升沿的情况,提高了检测的准确性,拓宽了适用范围。Compared with the prior art, the present invention has the following advantages: (1) The combination of wide window and narrow window is adopted, the number of sampling points contained in the two is different, and different false alarm probabilities, namely threshold values, are set. The window sets a very low false alarm probability, while the narrow window sets a high false alarm probability, so that both can pass the threshold at the same time, balancing the relationship between detection probability and positioning rising and falling edges, taking advantage of the advantages of wide windows The detection ability ensures extremely low pulse loss probability and extremely low false alarm probability. At the same time, it uses the high resolution capability of narrow window to improve the detection accuracy of rising and falling edges; (2) adopts two-level decision fusion mechanism, multiple The fusion result after a narrow window decision fusion is fused with the judgment result of the wide window, which further improves the detection probability and detection accuracy; (3) The threshold value of the narrow window can be adjusted and switched adaptively according to the signal-to-noise ratio estimation result, and the detection High precision, strong flexibility, and wide applicability; (4) The main operation is energy (or power) calculation and decision fusion, and the algorithm operation complexity is low and has nothing to do with the specific waveform shape; (5) Fully consider the rising edge detection process The falling edge is detected again and the rising edge is detected during the falling edge detection process, which improves the detection accuracy and broadens the scope of application.

附图说明Description of drawings

图1为本发明的总体流程示意图。Fig. 1 is the overall schematic flow chart of the present invention.

图2为上升沿检测的流程示意图第一部分。Fig. 2 is the first part of the schematic flow chart of rising edge detection.

图3为上升沿检测的流程示意图第二部分,其中节点1.1和节点1.2分别与图2的节点1.1和节点1.2相对应。Fig. 3 is the second part of the schematic flow chart of rising edge detection, wherein node 1.1 and node 1.2 correspond to node 1.1 and node 1.2 in Fig. 2 respectively.

图4为“自适应上升沿位置确定”模块的流程图。Fig. 4 is a flow chart of the "adaptive rising edge position determination" module.

图5为下降沿检测的流程示意图第一部分。FIG. 5 is the first part of the flow diagram of falling edge detection.

图6为下降沿检测的流程示意图第二部分,其中节点2.1和节点2.2分别与图5的节点2.1和节点2.2相对应。FIG. 6 is the second part of the flow diagram of falling edge detection, wherein the node 2.1 and the node 2.2 correspond to the node 2.1 and the node 2.2 in FIG. 5 respectively.

图7为“自适应下降沿位置确定”模块的流程图。Fig. 7 is a flow chart of the "adaptive falling edge position determination" module.

具体实施方式detailed description

下面结合附图详细说明本发明的技术方案:The technical scheme of the present invention is described in detail below in conjunction with accompanying drawing:

一种雷达及通信信号的脉冲宽度检测算法,主要步骤为:首先检测出上升沿位置,再检测出下降沿位置,然后通过上升沿位置和下降沿位置求得脉冲宽度后再次进入上升沿的检测,从而循环进行上升沿的检测和下降沿的检测,连续捕捉脉冲信号并计算脉冲宽度,其特征在于:A pulse width detection algorithm for radar and communication signals, the main steps are: first detect the position of the rising edge, then detect the position of the falling edge, then obtain the pulse width through the position of the rising edge and the position of the falling edge, and then enter the detection of the rising edge again , so that the detection of the rising edge and the detection of the falling edge are cyclically carried out, and the pulse signal is continuously captured and the pulse width is calculated, which is characterized in that:

检测之前,先建立一个宽时间窗口,再将宽时间窗口分为若干窄时间窗口,并为宽时间窗口设定一个宽时间窗口的门限,为窄时间窗口设立一个高门限和一个低门限;Before detection, first establish a wide time window, then divide the wide time window into several narrow time windows, and set a wide time window threshold for the wide time window, and set a high threshold and a low threshold for the narrow time window;

上升沿检测时,首先进行窄时间窗口的过高门限判断和过低门限判断(注:本发明中所述过门限均指“时间窗口内平均功率大于等于门限”),然后进行高门限决策融合和低门限决策融合,然后进行宽时间窗口的过门限判断并得到“宽时间窗口上升沿位置”,然后将宽时间窗口检测结果与上升沿低门限融合决策进行第二级决策融合并获得“低门限上升沿位置”、将宽时间窗口检测结果与上升沿高门限融合决策进行第二级决策融合并获得“高门限上升沿位置”,对宽时间窗口过门限的采样点进行信噪比估计,最后依据信噪比估计的结果从“低门限上升沿位置”、“高门限上升沿位置”和“宽时间窗口上升沿位置”中选择其一为“上升沿位置”;When the rising edge is detected, the judgment of the over-high threshold and the under-threshold of the narrow time window are first carried out (note: the over-threshold mentioned in the present invention refers to "the average power in the time window is greater than or equal to the threshold"), and then the high-threshold decision fusion is carried out It is fused with the low-threshold decision, and then the threshold crossing judgment of the wide time window is carried out to obtain the "rising edge position of the wide time window". Threshold rising edge position", the second-level decision-making fusion of the wide time window detection result and the rising edge high threshold fusion decision is obtained to obtain the "high threshold rising edge position", and the signal-to-noise ratio is estimated for the sampling points that pass the threshold in the wide time window, Finally, select one of the "rising edge position" from "low threshold rising edge position", "high threshold rising edge position" and "wide time window rising edge position" according to the result of signal-to-noise ratio estimation;

下降沿检测时,首先进行窄时间窗口的过高门限判断和过低门限判断,然后进行高门限决策融合和低门限决策融合,然后进行宽时间窗口的过门限判断,完成宽时间窗口功率大于等于门限的采样点的信噪比估计,得到“宽时间窗口下降沿位置” ,然后将宽时间窗口检测结果与下降沿低门限融合决策进行第二级决策融合并获得“低门限下降沿位置”、将宽时间窗口检测结果与下降沿高门限融合决策进行第二级决策融合并获得“高门限下降沿位置”,最后依据信噪比估计的结果从“低门限下降沿位置”、“高门限下降沿位置”和“宽时间窗口下降沿位置”中选择其一为“下降沿位置”。When detecting the falling edge, first judge the over-high threshold and the low-threshold judgment of the narrow time window, then perform the high-threshold decision fusion and low-threshold decision fusion, and then carry out the wide time window cross-threshold judgment to complete the wide time window power greater than or equal to The signal-to-noise ratio of the sampling point of the threshold is estimated to obtain the "wide time window falling edge position", and then the wide time window detection result is combined with the falling edge low threshold fusion decision for the second-level decision fusion to obtain the "low threshold falling edge position", The second-level decision fusion is performed on the wide time window detection result and the falling edge high threshold fusion decision to obtain the "high threshold falling edge position". Finally, according to the signal-to-noise ratio estimation result, the Select one of "Falling Edge Position" and "Wide Time Window Falling Edge Position".

本脉冲宽度检测算法的具体步骤为:The specific steps of this pulse width detection algorithm are:

如图1,(1)参数初始化设置:As shown in Figure 1, (1) Parameter initialization settings:

(1-1)设定一个宽时间窗口并将该宽时间窗口划分为K个窄时间窗口,所述宽时间窗口长度为N个采样点、采样间隔为Ts,N大于等于K,所述窄时间窗口长度为M个采样点,M小于N;(1-1) Set a wide time window and divide the wide time window into K narrow time windows, the length of the wide time window is N sampling points, the sampling interval is Ts, N is greater than or equal to K, and the narrow time window The length of the time window is M sampling points, and M is less than N;

(1-2)设定一信噪比值SNR0;(1-2) Set a signal-to-noise ratio value SNR0;

(1-3)设定虚警概率:为宽时间窗口设定虚警概率Pf0;为窄时间窗口设定虚警概率Pf1和Pf2,Pf0<Pf1<Pf2;Pf0比另外两者低一个或数个数量级,如:Pf=0.000001,Pf1=0.0001,Pf2=0.01;(1-3) Set false alarm probability: set false alarm probability Pf0 for wide time window; set false alarm probability Pf1 and Pf2 for narrow time window, Pf0<Pf1<Pf2; Pf0 is one or several times lower than the other two order of magnitude, such as: Pf=0.000001, Pf1=0.0001, Pf2=0.01;

(1-4)根据各虚警概率计算各检测门限:根据Pf0计算宽时间窗口的检测门限T0,根据Pf1和Pf2分别计算出窄时间窗口的检测门限T1和T2,且有T0>T1>T2,即T1为窄时间窗口的高门限,T2为窄时间窗口的低门限;(1-4) Calculate each detection threshold according to each false alarm probability: calculate the detection threshold T0 of the wide time window according to Pf0, calculate the detection threshold T1 and T2 of the narrow time window according to Pf1 and Pf2, and have T0>T1>T2 , that is, T1 is the high threshold of the narrow time window, and T2 is the low threshold of the narrow time window;

(1-5)设定“用于估计信噪比的采样点数限值”N0;(1-5) Set the "limit of sampling points for estimating the signal-to-noise ratio" N0;

(2)将所有宽时间窗口和窄时间窗口的内部输入信号采样值及采样值的缓存队列、输入信号功率及功率的缓存队列均清0;(2) Clear the internal input signal sampling values and sampling value buffer queues, input signal power and power buffer queues of all wide time windows and narrow time windows;

建立“下降沿检测中检测到下一脉冲上升沿”标志X1、“上升沿检测中检测到脉冲下降沿”标志X2、“宽时间窗口已检测到脉冲信号”标志X3以及“宽时间窗口未检测到脉冲信号”标志X4并全部置为0;建立“宽时间窗口功率低于门限采样点数”N1和“宽时间窗口过门限采样点数”N2并均置为0;Establish the flag X1 of "the rising edge of the next pulse is detected in the falling edge detection", the flag X2 of the "falling edge of the pulse detected in the rising edge detection", the flag X3 of "the pulse signal has been detected in a wide time window" and the flag "not detected To the pulse signal" flag X4 and set all to 0; establish "the number of sampling points with wide time window power below the threshold" N1 and "number of sampling points with wide time window over the threshold" N2 and set them to 0;

(3)运行上升沿检测模块:(3) Run the rising edge detection module:

(3-1)如图2,建立窄时间窗口的“已检测到低门限上升沿”标志Y1和窄时间窗口的“已检测到高门限上升沿”标志Y2并全部置为0;(3-1) As shown in Figure 2, set up the "low threshold rising edge detected" flag Y1 of the narrow time window and the "high threshold rising edge detected" flag Y2 of the narrow time window and set them all to 0;

(3-2)检验标志X1是否为1:若为1,表明在上一脉冲下降沿检测模块中检测到当前脉冲的上升沿,则将标志X1置0、然后进入步骤(3-4),根据缓存区中的数据检测上升沿位置,所述缓存区中的数据包括宽时间窗口及各窄时间窗口的平均功率、还包括缓存队列中的数据;若不为1,则进入步骤(3-3);(3-2) Check whether the flag X1 is 1: if it is 1, it means that the rising edge of the current pulse is detected in the falling edge detection module of the previous pulse, then set the flag X1 to 0, and then enter step (3-4), Detect the rising edge position according to the data in the buffer area, the data in the buffer area includes the average power of the wide time window and each narrow time window, and also includes the data in the buffer queue; if it is not 1, then enter the step (3- 3);

(3-3)计算宽时间窗口的平均功率和K个窄时间窗口各自的平均功率,并对宽时间窗口及各窄时间窗口对应的缓存队列进行处理:当前采样点进入缓存队列、缓存队列中最末的采样点退出缓存队列;(3-3) Calculate the average power of the wide time window and the average power of K narrow time windows, and process the cache queue corresponding to the wide time window and each narrow time window: the current sampling point enters the cache queue and the cache queue The last sampling point exits the cache queue;

(3-4)分别判断各窄时间窗口的平均功率是否大于等于T1,得到K个高门限判决结果;并且,分别判断各窄时间窗口的平均功率是否大于等于T2,得到K个低门限判决结果;(3-4) Determine whether the average power of each narrow time window is greater than or equal to T1, and obtain K high-threshold judgment results; and separately judge whether the average power of each narrow time window is greater than or equal to T2, and obtain K low-threshold judgment results ;

(3-5)建立“上升沿低门限融合决策”标志Z1,然后对K个窄时间窗口的低门限判断结果进行决策融合;若融合结果为检测到脉冲信号,则将Z1置为1,否则将Z1置为0;(3-5) Establish the "rising edge low-threshold fusion decision" flag Z1, and then perform decision fusion on the low-threshold judgment results of K narrow time windows; if the fusion result is that a pulse signal is detected, set Z1 to 1, otherwise Set Z1 to 0;

(3-6)建立“上升沿高门限融合决策”标志Z2,然后对K个窄时间窗口的高门限判断结果进行决策融合;若融合结果为检测到脉冲信号,则将Z2置为1,否则将Z2置为0;(3-6) Establish the "rising edge high threshold fusion decision" flag Z2, and then perform decision fusion on the high threshold judgment results of K narrow time windows; if the fusion result is that a pulse signal is detected, set Z2 to 1, otherwise Set Z2 to 0;

(3-7)检验标志X3是否为1:若标志X3为1,则将N2加1,然后进入步骤(3-8);若标志X3不为1,则判断宽时间窗口的平均功率是否大于等于T0:若宽时间窗口的平均功率大于等于T0,则将标志X3置1,置N2为1,并记录“宽时间窗口上升沿位置”,然后进入步骤(3-8),若宽时间窗口的平均功率小于T0,则进入步骤(3-3)对下一采样点进行处理;(3-7) Check whether the flag X3 is 1: if the flag X3 is 1, add 1 to N2, and then enter step (3-8); if the flag X3 is not 1, then judge whether the average power of the wide time window is greater than Equal to T0: If the average power of the wide time window is greater than or equal to T0, set the flag X3 to 1, set N2 to 1, and record the "rising edge position of the wide time window", and then enter step (3-8), if the wide time window If the average power is less than T0, enter step (3-3) to process the next sampling point;

(3-8)将宽时间窗口检测结果与上升沿低门限融合决策进行第二级决策融合,检验宽时间窗口检测到脉冲信号后、上升沿低门限融合决策过程中第一次检测到脉冲信号的时刻:如果标志Y1为0,则检验标志Z1是否为1:如果标志Z1为1,则置标志Y1为1并记录“低门限上升沿位置”再进入步骤(3-9),如果标志Z1不为1,则进入步骤(3-9);如果标志Y1不为0,则进入步骤(3-9);(3-8) Perform second-level decision fusion on the wide time window detection result and the rising edge low threshold fusion decision, and check that the pulse signal is detected for the first time during the rising edge low threshold fusion decision process after the pulse signal is detected in the wide time window moment: if the flag Y1 is 0, check whether the flag Z1 is 1: if the flag Z1 is 1, set the flag Y1 to 1 and record the "low threshold rising edge position" and then enter step (3-9), if the flag Z1 If it is not 1, go to step (3-9); if the flag Y1 is not 0, go to step (3-9);

(3-9)将宽时间窗口检测结果与上升沿高门限融合决策进行第二级决策融合,检验宽时间窗口检测到脉冲信号后、上升沿高门限融合决策过程中第一次检测到脉冲信号的时刻:如果标志Y2为0,则检验标志Z2是否为1:如果标志Z2为1,则置标志Y2为1并记录“高门限上升沿位置”再进入步骤(3-10),如果标志Z2不为1,则进入步骤(3-10);如果标志Y2不为0,则进入步骤(3-10);(3-9) Perform second-level decision fusion on the wide time window detection result and the rising edge high threshold fusion decision, and check that the pulse signal is detected for the first time during the rising edge high threshold fusion decision process after the pulse signal is detected in the wide time window moment: if the flag Y2 is 0, check whether the flag Z2 is 1: if the flag Z2 is 1, set the flag Y2 to 1 and record the "high threshold rising edge position" and then enter step (3-10), if the flag Z2 If it is not 1, go to step (3-10); if the flag Y2 is not 0, go to step (3-10);

(3-10)宽时间窗口检测到脉冲信号后,检验当前脉冲的下降沿是否出现:如果当前宽时间窗口的平均功率小于T0,表明上升沿检测过程中宽时间窗口检测到脉冲信号后脉冲信号又消失了,即当前脉冲的下降沿到达,则记录“宽时间窗口下降沿位置”并将标志X2及X4均置为1,并置标志X3及N1为0,然后执行“自适应上升沿位置确定”模块并给出当前脉冲上升沿位置,然后上升沿检测完成并返回;如果当前宽时间窗口的平均功率不小于T0,则估计信噪比SNR,然后进入步骤(3-11);(3-10) After the pulse signal is detected in the wide time window, check whether the falling edge of the current pulse appears: if the average power of the current wide time window is less than T0, it indicates that the pulse signal is detected after the pulse signal is detected in the wide time window during the rising edge detection process It disappears again, that is, the falling edge of the current pulse arrives, then record the "wide time window falling edge position" and set the flags X2 and X4 to 1, and set the flags X3 and N1 to 0, and then execute the "adaptive rising edge position Confirm" module and give the position of the rising edge of the current pulse, then complete the rising edge detection and return; if the average power of the current wide time window is not less than T0, estimate the signal-to-noise ratio SNR, and then enter step (3-11);

(3-11)检验上升沿检测是否完成:宽时间窗口检测到脉冲信号后,如果N2大于N0,则表明上升沿检测及信噪比估计已完成,则将标志X1、X2、X3和X4均置0,然后执行“自适应上升沿位置确定”模块并给出上升沿位置,最后上升沿检测完成并返回;如果N2不大于N0,则跳转至步骤(3-3)对下一采样点进行处理;(3-11) Check whether the rising edge detection is completed: after the pulse signal is detected in a wide time window, if N2 is greater than N0, it indicates that the rising edge detection and signal-to-noise ratio estimation have been completed, and the flags X1, X2, X3 and X4 are all Set to 0, then execute the "adaptive rising edge position determination" module and give the rising edge position, and finally the rising edge detection is completed and returned; if N2 is not greater than N0, then jump to step (3-3) for the next sampling point process;

如图4,所述“自适应上升沿位置确定”模块的步骤为:As shown in Figure 4, the steps of the "adaptive rising edge position determination" module are:

(A-1)如果SNR>=SNR0且标志Y2为1,则置上升沿位置为“高门限上升沿位置”、然后返回,否则进入步骤(A-2);(A-1) If SNR>=SNR0 and the flag Y2 is 1, set the rising edge position as "high threshold rising edge position" and return, otherwise enter step (A-2);

(A-2)如果SNR<SNR0且标志Y1为1,则置上升沿位置为“低门限上升沿位置”、然后返回,否则进入步骤(A-3);(A-2) If SNR<SNR0 and the flag Y1 is 1, set the rising edge position to "low threshold rising edge position" and return, otherwise enter step (A-3);

(A-3)置上升沿位置为“宽时间窗口上升沿位置”,然后返回;(A-3) Set the rising edge position as "Wide Time Window Rising Edge Position", and then return;

(4)如图1,运行下降沿检测模块:(4) As shown in Figure 1, run the falling edge detection module:

(4-1)如图5,建立窄时间窗口的“已检测到低门限下降沿”标志Y3和窄时间窗口的“已检测到高门限下降沿”标志Y4并全部置为0;(4-1) As shown in Figure 5, set up the "low threshold falling edge detected" flag Y3 of the narrow time window and the "high threshold falling edge detected" flag Y4 of the narrow time window and set them all to 0;

(4-2)检验标志X2是否为1:若为1,表明在上升沿检测模块中脉冲信号出现后又消失,则将标志X2置0,然后进入步骤(4-4),根据缓存区中的数据检测下降沿位置,所述缓存区中的数据包括宽时间窗口及各窄时间窗口的平均功率、还包括缓存队列中的数据;若不为1,则进入步骤(4-3);(4-2) Check whether the flag X2 is 1: if it is 1, it means that the pulse signal disappears after appearing in the rising edge detection module, then set the flag X2 to 0, and then enter step (4-4), according to the The position of the falling edge of the data detection, the data in the buffer area includes the average power of the wide time window and each narrow time window, and also includes the data in the buffer queue; if it is not 1, enter step (4-3);

(4-3)计算宽时间窗口的平均功率和K个窄时间窗口各自的平均功率,并对宽时间窗口及各窄时间窗口对应的缓存队列进行处理:当前采样点进入缓存队列、缓存队列中最末的采样点退出缓存队列;(4-3) Calculate the average power of the wide time window and the respective average power of K narrow time windows, and process the buffer queue corresponding to the wide time window and each narrow time window: the current sampling point enters the buffer queue and buffer queue The last sampling point exits the cache queue;

(4-4)分别判断各个窄时间窗口的平均功率是否低于T1,得到K个高门限判决结果;并且,分别判断各窄时间窗口的平均功率是否低于T2,得到K个低门限判决结果;(4-4) Determine whether the average power of each narrow time window is lower than T1, and obtain K high-threshold judgment results; and respectively judge whether the average power of each narrow time window is lower than T2, and obtain K low-threshold judgment results ;

(4-5)建立“下降沿低门限融合决策”标志Z3,然后对K个窄时间窗口的低门限判断结果进行决策融合;若融合结果为没有检测到脉冲信号,则将Z3置为1,否则将Z3置为0;(4-5) Establish the "falling edge low threshold fusion decision" flag Z3, and then perform decision fusion on the low threshold judgment results of K narrow time windows; if the fusion result is that no pulse signal is detected, set Z3 to 1, Otherwise set Z3 to 0;

(4-6)建立“下降沿高门限融合决策”标志Z4,然后对K个窄时间窗口的高门限判断结果进行决策融合;若融合结果为没有检测到脉冲信号,则将Z4置为1,否则将Z4置为0;(4-6) Establish the "falling edge high threshold fusion decision" flag Z4, and then perform decision fusion on the high threshold judgment results of K narrow time windows; if the fusion result is that no pulse signal is detected, set Z4 to 1, Otherwise set Z4 to 0;

(4-7)检验标志X4是否为0:若标志X4为0,则进入步骤(4-8),若标志X4不为0,则将N1加1后进入步骤(4-9);(4-7) Check whether the flag X4 is 0: if the flag X4 is 0, go to step (4-8); if the flag X4 is not 0, add 1 to N1 and go to step (4-9);

(4-8)判断宽时间窗口的平均功率是否低于T0:若宽时间窗口的平均功率低于T0,将标志X4和N1均置为1,并记录“宽时间窗口下降沿位置”,再进入(4-9);若宽时间窗口的平均功率大于或等于T0,则估计信噪比SNR,然后进入步骤(4-3)对下一采样点进行处理;(4-8) Determine whether the average power of the wide time window is lower than T0: If the average power of the wide time window is lower than T0, set both flags X4 and N1 to 1, and record the "falling edge position of the wide time window", and then Enter (4-9); if the average power of the wide time window is greater than or equal to T0, estimate the signal-to-noise ratio SNR, and then enter step (4-3) to process the next sampling point;

(4-9)如图6,宽时间窗口检测结果与下降沿低门限融合决策进行第二级决策融合,检验宽时间窗口检测到脉冲信号消失后、下降沿低门限融合决策过程中第一次检测到脉冲信号消失的时刻:如果标志Y3为0,则检验标志Z3是否为1:如果标志Z3为1,则置标志Y3为1并记录“低门限下降沿位置”再进入步骤(4-10),如果标志Z3不为1,则进入步骤(4-10);如果标志Y3不为0,则进入步骤(4-10);(4-9) As shown in Figure 6, the detection results of the wide time window and the low-threshold fusion decision of the falling edge are used for the second-level decision fusion, and the first time in the process of the low-threshold fusion decision-making process of the falling edge is checked after the pulse signal disappears in the wide time window. When the pulse signal disappears is detected: if the flag Y3 is 0, check whether the flag Z3 is 1: if the flag Z3 is 1, set the flag Y3 to 1 and record the "low threshold falling edge position" and then enter the step (4-10 ), if the flag Z3 is not 1, then enter step (4-10); if the flag Y3 is not 0, then enter step (4-10);

(4-10)将宽时间窗口检测结果与下降沿高门限融合决策进行第二级决策融合,检验宽时间窗口检测到脉冲信号消失后、下降沿高门限融合决策过程中第一次检测到脉冲信号消失的时刻:如果标志Y4为0,则检验标志Z4是否为1:如果标志Z4为1,则置标志Y4为1并记录“高门限下降沿位置”再进入步骤(4-11),如果标志Z4不为1,则进入步骤(4-11);如果标志Y4不为0,则进入步骤(4-11);(4-10) Perform second-level decision fusion between the detection results of the wide time window and the high-threshold fusion decision on the falling edge, and check that the pulse is detected for the first time during the high-threshold fusion decision-making process of the falling edge after the pulse signal disappears in the wide time window The moment when the signal disappears: if the flag Y4 is 0, check whether the flag Z4 is 1: if the flag Z4 is 1, set the flag Y4 to 1 and record the "high threshold falling edge position" and then enter step (4-11), if If the flag Z4 is not 1, go to step (4-11); if the flag Y4 is not 0, go to step (4-11);

(4-11)检验下一脉冲的上升沿是否出现:如果当前宽时间窗口的平均功率大于等于T0,表明下降沿检测过程中检测到新的脉冲信号出现,即下一个脉冲的上升沿到达,则记录“宽时间窗口上升沿位置”并将标志X1和X3置为1,并置标志X4和N2为0,然后执行“自适应下降沿位置确定”模块并给出当前脉冲下降沿位置,然后下降沿检测完成并返回;如果当前宽时间窗口的平均功率小于T0,则进入步骤(4-12);(4-11) Check whether the rising edge of the next pulse appears: if the average power of the current wide time window is greater than or equal to T0, it indicates that a new pulse signal is detected during the falling edge detection process, that is, the rising edge of the next pulse arrives, Then record the "rising edge position of wide time window" and set the flags X1 and X3 to 1, and set the flags X4 and N2 to 0, then execute the "adaptive falling edge position determination" module and give the current pulse falling edge position, and then The falling edge detection is completed and returns; if the average power of the current wide time window is less than T0, enter step (4-12);

(4-12)检测下降沿检测是否完成:如果N1大于N,则将标志X1、X2、X3和标志X4置0,然后执行“自适应下降沿位置确定”模块并给出下降沿位置,然后下降沿检测完成并返回;如果N1小于等于N,则跳转至步骤(4-3)对下一采样点处理;(4-12) Check whether the falling edge detection is completed: if N1 is greater than N, set the flags X1, X2, X3 and flag X4 to 0, then execute the "adaptive falling edge position determination" module and give the falling edge position, and then The falling edge detection is completed and returns; if N1 is less than or equal to N, then jump to step (4-3) to process the next sampling point;

(5)如图1,根据上升沿位置和下降沿位置计算出脉冲宽度,然后进入步骤(3)再次开始检测上升沿。(5) As shown in Figure 1, calculate the pulse width according to the position of the rising edge and the position of the falling edge, and then enter step (3) to start detecting the rising edge again.

如图7,所述“自适应下降沿位置确定”模块的步骤为:As shown in Figure 7, the steps of the "adaptive falling edge position determination" module are:

(B-1)如果SNR>=SNR0且标志Y4为1,则下降沿位置为“高门限下降沿位置”、然后返回,否则进入步骤(B-2);(B-1) If SNR>=SNR0 and the flag Y4 is 1, then the falling edge position is "high threshold falling edge position", and then return, otherwise enter step (B-2);

(B-2)如果SNR<SNR0且标志Y3为1,则下降沿位置为“低门限下降沿位置”、然后返回,否则进入步骤(B-3);(B-2) If SNR<SNR0 and flag Y3 is 1, then the falling edge position is "low threshold falling edge position", and then return, otherwise enter step (B-3);

(B-3)置下降沿时刻为“宽时间窗口下降沿位置”,然后返回。(B-3) Set the falling edge time as the "wide time window falling edge position", and then return.

Claims (2)

1.一种雷达及通信信号的脉冲宽度检测算法,步骤为:首先检测出上升位置,再检测出下降沿位置,然后通过上升沿位置和下降沿位置求得脉冲宽度后再次进入上升沿的检测,从而循环进行上升沿的检测和下降沿的检测,连续捕捉脉冲信号并计算脉冲宽度,其特征在于:1. A pulse width detection algorithm for radar and communication signals, the steps are: first detect the rising position, then detect the falling edge position, then obtain the pulse width through the rising edge position and the falling edge position, and then enter the rising edge detection again , so that the detection of the rising edge and the detection of the falling edge are cyclically carried out, and the pulse signal is continuously captured and the pulse width is calculated, which is characterized in that: 检测之前,先建立一个宽时间窗口,再将宽时间窗口分为若干窄时间窗口,并为宽时间窗口设定一个宽时间窗口的门限,为窄时间窗口设立一个高门限和一个低门限;Before detection, first establish a wide time window, then divide the wide time window into several narrow time windows, and set a wide time window threshold for the wide time window, and set a high threshold and a low threshold for the narrow time window; 上升沿检测时,首先进行窄时间窗口的过高门限判断和过低门限判断,然后进行高门限决策融合和低门限决策融合,然后进行宽时间窗口的过门限判断并得到“宽时间窗口上升沿位置”,然后将宽时间窗口检测结果与上升沿低门限融合决策进行第二级决策融合并获得“低门限上升沿位置”、将宽时间窗口检测结果与上升沿高门限融合决策进行第二级决策融合并获得“高门限上升沿位置”,对宽时间窗口过门限的采样点进行信噪比估计,最后依据信噪比估计的结果从“低门限上升沿位置”、“高门限上升沿位置”和“宽时间窗口上升沿位置”中选择其一为“上升沿位置”;When detecting the rising edge, firstly judge the over-high threshold and the low-threshold judgment of the narrow time window, then carry out the high-threshold decision fusion and the low-threshold decision fusion, and then carry out the wide time window cross-threshold judgment and get the "wide time window rising edge position", and then perform second-level decision fusion on the wide time window detection result and the rising edge low threshold fusion decision to obtain the "low threshold rising edge position", and perform the second level decision on the wide time window detection result and the rising edge high threshold fusion decision Decision fusion and obtain the "high threshold rising edge position", and estimate the signal-to-noise ratio of the sampling points that pass the threshold in a wide time window. Finally, according to the result of the signal-to-noise ratio estimation, the " and "Wide Time Window Rising Edge Position" select one as "Rising Edge Position"; 下降沿检测时,首先进行窄时间窗口的过高门限判断和过低门限判断,然后进行高门限决策融合和低门限决策融合,然后进行宽时间窗口的过门限判断,完成宽时间窗口功率大于等于门限的采样点的信噪比估计,得到“宽时间窗口下降沿位置”,然后将宽时间窗口检测结果与下降沿低门限融合决策进行第二级决策融合并获得“低门限下降沿位置”、将宽时间窗口检测结果与下降沿高门限融合决策进行第二级决策融合并获得“高门限下降沿位置”,最后依据信噪比估计的结果从“低门限下降沿位置”、“高门限下降沿位置”和“宽时间窗口下降沿位置”中选择其一为“下降沿位置”。When detecting the falling edge, first judge the over-high threshold and the low-threshold judgment of the narrow time window, then perform the high-threshold decision fusion and low-threshold decision fusion, and then carry out the wide time window cross-threshold judgment to complete the wide time window power greater than or equal to The signal-to-noise ratio of the sampling point of the threshold is estimated to obtain the "wide time window falling edge position", and then the wide time window detection result is combined with the falling edge low threshold fusion decision for the second-level decision fusion to obtain the "low threshold falling edge position", The second-level decision fusion is performed on the wide time window detection result and the falling edge high threshold fusion decision to obtain the "high threshold falling edge position". Finally, according to the signal-to-noise ratio estimation result, the Select one of "Falling Edge Position" and "Wide Time Window Falling Edge Position". 2.如权利要求1所述的雷达及通信信号的脉冲宽度检测算法,其特征在于具体步骤为:2. The pulse width detection algorithm of radar and communication signal as claimed in claim 1, is characterized in that concrete steps are: (1)参数初始化设置:(1) Parameter initialization settings: (1-1)设定一个宽时间窗口并将该宽时间窗口划分为K个窄时间窗口,所述宽时间窗口长度为N个采样点、采样间隔为Ts,N大于等于K,所述窄时间窗口长度为M个采样点,M小于N;(1-1) Set a wide time window and divide the wide time window into K narrow time windows, the length of the wide time window is N sampling points, the sampling interval is Ts, N is greater than or equal to K, and the narrow time window The length of the time window is M sampling points, and M is less than N; (1-2)设定一信噪比值SNR0;(1-2) Set a signal-to-noise ratio value SNR0; (1-3)设定虚警概率:为宽时间窗口设定虚警概率Pf0;为窄时间窗口设定虚警概率Pf1和Pf2,Pf0<Pf1<Pf2;(1-3) Set false alarm probability: set false alarm probability Pf0 for wide time window; set false alarm probability Pf1 and Pf2 for narrow time window, Pf0<Pf1<Pf2; (1-4)根据各虚警概率计算各检测门限:根据Pf0计算宽时间窗口的检测门限T0,根据Pf1和Pf2分别计算出窄时间窗口的检测门限T1和T2,且有T0>T1>T2,即T1为窄时间窗口的高门限,T2为窄时间窗口的低门限;(1-4) Calculate each detection threshold according to each false alarm probability: calculate the detection threshold T0 of the wide time window according to Pf0, calculate the detection threshold T1 and T2 of the narrow time window according to Pf1 and Pf2, and have T0>T1>T2 , that is, T1 is the high threshold of the narrow time window, and T2 is the low threshold of the narrow time window; (1-5)设定“用于估计信噪比的采样点数限值”N0;(1-5) Set the "limit of sampling points for estimating the signal-to-noise ratio" N0; (2)将所有宽时间窗口和窄时间窗口的内部输入信号采样值及采样值的缓存队列、输入信号功率及功率的缓存队列均清0;(2) Clear the internal input signal sampling values and sampling value buffer queues, input signal power and power buffer queues of all wide time windows and narrow time windows; 建立“下降沿检测中检测到下一脉冲上升沿”标志X1、“上升沿检测中检测到脉冲下降沿”标志X2、“宽时间窗口已检测到脉冲信号”标志X3以及“宽时间窗口未检测到脉冲信号”标志X4并全部置为0;建立“宽时间窗口功率低于门限采样点数”N1和“宽时间窗口过门限采样点数”N2并均置为0;Establish the flag X1 of "the rising edge of the next pulse is detected in the falling edge detection", the flag X2 of the "falling edge of the pulse detected in the rising edge detection", the flag X3 of "the pulse signal has been detected in a wide time window" and the flag "not detected To the pulse signal" flag X4 and set all to 0; establish "the number of sampling points with wide time window power below the threshold" N1 and "number of sampling points with wide time window over the threshold" N2 and set them to 0; (3)运行上升沿检测模块:(3) Run the rising edge detection module: (3-1)建立窄时间窗口的“已检测到低门限上升沿”标志Y1和窄时间窗口的“已检测到高门限上升沿”标志Y2并全部置为0;(3-1) Set up the "low threshold rising edge detected" flag Y1 of the narrow time window and the "high threshold rising edge detected" flag Y2 of the narrow time window and set them all to 0; (3-2)检验标志X1是否为1:若为1,表明在上一脉冲下降沿检测模块中检测到当前脉冲的上升沿,则将标志X1置0、然后进入步骤(3-4),根据缓存区中的数据检测上升沿位置,所述缓存区中的数据包括宽时间窗口及各窄时间窗口的平均功率、还包括缓存队列中的数据;若不为1,则进入步骤(3-3);(3-2) Check whether the flag X1 is 1: if it is 1, it means that the rising edge of the current pulse is detected in the falling edge detection module of the previous pulse, then set the flag X1 to 0, and then enter step (3-4), Detect the rising edge position according to the data in the buffer area, the data in the buffer area includes the average power of the wide time window and each narrow time window, and also includes the data in the buffer queue; if it is not 1, then enter the step (3- 3); (3-3)计算宽时间窗口的平均功率和K个窄时间窗口各自的平均功率,并对宽时间窗口及各窄时间窗口对应的缓存队列进行处理:当前采样点进入缓存队列、缓存队列中最末的采样点退出缓存队列;(3-3) Calculate the average power of the wide time window and the average power of K narrow time windows, and process the cache queue corresponding to the wide time window and each narrow time window: the current sampling point enters the cache queue and the cache queue The last sampling point exits the cache queue; (3-4)分别判断各窄时间窗口的平均功率是否大于等于T1,得到K个高门限判决结果;并且,分别判断各窄时间窗口的平均功率是否大于等于T2,得到K个低门限判决结果;(3-4) Determine whether the average power of each narrow time window is greater than or equal to T1, and obtain K high-threshold judgment results; and separately judge whether the average power of each narrow time window is greater than or equal to T2, and obtain K low-threshold judgment results ; (3-5)建立“上升沿低门限融合决策”标志Z1,然后对K个窄时间窗口的低门限判断结果进行决策融合;若融合结果为检测到脉冲信号,则将Z1置为1,否则将Z1置为0;(3-5) Establish the "rising edge low-threshold fusion decision" flag Z1, and then perform decision fusion on the low-threshold judgment results of K narrow time windows; if the fusion result is that a pulse signal is detected, set Z1 to 1, otherwise Set Z1 to 0; (3-6)建立“上升沿高门限融合决策”标志Z2,然后对K个窄时间窗口的高门限判断结果进行决策融合;若融合结果为检测到脉冲信号,则将Z2置为1,否则将Z2置为0;(3-6) Establish the "rising edge high threshold fusion decision" flag Z2, and then perform decision fusion on the high threshold judgment results of K narrow time windows; if the fusion result is that a pulse signal is detected, set Z2 to 1, otherwise Set Z2 to 0; (3-7)检验标志X3是否为1:若标志X3为1,则将N2加1,然后进入步骤(3-8);若标志X3不为1,则判断宽时间窗口的平均功率是否大于等于T0:若宽时间窗口的平均功率大于等于T0,则将标志X3置1,置N2为1,并记录“宽时间窗口上升沿位置”,然后进入步骤(3-8),若宽时间窗口的平均功率小于T0,则进入步骤(3-3)对下一采样点进行处理;(3-7) Check whether the flag X3 is 1: if the flag X3 is 1, add 1 to N2, and then enter step (3-8); if the flag X3 is not 1, then judge whether the average power of the wide time window is greater than Equal to T0: If the average power of the wide time window is greater than or equal to T0, set the flag X3 to 1, set N2 to 1, and record the "rising edge position of the wide time window", and then enter step (3-8), if the wide time window If the average power is less than T0, enter step (3-3) to process the next sampling point; (3-8)将宽时间窗口检测结果与上升沿低门限融合决策进行第二级决策融合,检验宽时间窗口检测到脉冲信号后、上升沿低门限融合决策过程中第一次检测到脉冲信号的时刻:如果标志Y1为0,则检验标志Z1是否为1:如果标志Z1为1,则置标志Y1为1并记录“低门限上升沿位置”再进入步骤(3-9),如果标志Z1不为1,则进入步骤(3-9);如果标志Y1不为0,则进入步骤(3-9);(3-8) Perform second-level decision fusion on the wide time window detection result and the rising edge low threshold fusion decision, and check that the pulse signal is detected for the first time during the rising edge low threshold fusion decision process after the pulse signal is detected in the wide time window moment: if the flag Y1 is 0, check whether the flag Z1 is 1: if the flag Z1 is 1, set the flag Y1 to 1 and record the "low threshold rising edge position" and then enter step (3-9), if the flag Z1 If it is not 1, go to step (3-9); if the flag Y1 is not 0, go to step (3-9); (3-9)将宽时间窗口检测结果与上升沿高门限融合决策进行第二级决策融合,检验宽时间窗口检测到脉冲信号后、上升沿高门限融合决策过程中第一次检测到脉冲信号的时刻:如果标志Y2为0,则检验标志Z2是否为1:如果标志Z2为1,则置标志Y2为1并记录“高门限上升沿位置”再进入步骤(3-10),如果标志Z2不为1,则进入步骤(3-10);如果标志Y2不为0,则进入步骤(3-10);(3-9) Perform second-level decision fusion on the wide time window detection result and the rising edge high threshold fusion decision, and check that the pulse signal is detected for the first time during the rising edge high threshold fusion decision process after the pulse signal is detected in the wide time window moment: if the flag Y2 is 0, check whether the flag Z2 is 1: if the flag Z2 is 1, set the flag Y2 to 1 and record the "high threshold rising edge position" and then enter step (3-10), if the flag Z2 If it is not 1, go to step (3-10); if the flag Y2 is not 0, go to step (3-10); (3-10)宽时间窗口检测到脉冲信号后,检验当前脉冲的下降沿是否出现:如果当前宽时间窗口的平均功率小于T0,表明上升沿检测过程中宽时间窗口检测到脉冲信号后脉冲信号又消失了,即当前脉冲的下降沿到达,则记录“宽时间窗口下降沿位置”并将标志X2及X4均置为1,并置标志X3及N1为0,然后执行“自适应上升沿位置确定”模块并给出当前脉冲上升沿位置,然后上升沿检测完成并返回;如果当前宽时间窗口的平均功率不小于T0,则估计信噪比SNR,然后进入步骤(3-11);(3-10) After the pulse signal is detected in the wide time window, check whether the falling edge of the current pulse appears: if the average power of the current wide time window is less than T0, it indicates that the pulse signal is detected after the pulse signal is detected in the wide time window during the rising edge detection process It disappears again, that is, the falling edge of the current pulse arrives, then record the "wide time window falling edge position" and set the flags X2 and X4 to 1, and set the flags X3 and N1 to 0, and then execute the "adaptive rising edge position Confirm" module and give the position of the rising edge of the current pulse, then complete the rising edge detection and return; if the average power of the current wide time window is not less than T0, estimate the signal-to-noise ratio SNR, and then enter step (3-11); (3-11)检验上升沿检测是否完成:宽时间窗口检测到脉冲信号后,如果N2大于N0,则表明上升沿检测及信噪比估计已完成,则将标志X1、X2、X3和X4均置0,然后执行“自适应上升沿位置确定”模块并给出上升沿位置,最后上升沿检测完成并返回;如果N2不大于N0,则跳转至步骤(3-3)对下一采样点进行处理;(3-11) Check whether the rising edge detection is completed: after the pulse signal is detected in a wide time window, if N2 is greater than N0, it indicates that the rising edge detection and signal-to-noise ratio estimation have been completed, and the flags X1, X2, X3 and X4 are all Set to 0, then execute the "adaptive rising edge position determination" module and give the rising edge position, and finally the rising edge detection is completed and returned; if N2 is not greater than N0, then jump to step (3-3) for the next sampling point process; 所述“自适应上升沿位置确定”模块的步骤为:The steps of the "adaptive rising edge position determination" module are: (A-1)如果SNR>=SNR0且标志Y2为1,则置上升沿位置为“高门限上升沿位置”、然后返回,否则进入步骤(A-2);(A-1) If SNR>=SNR0 and the flag Y2 is 1, set the rising edge position as "high threshold rising edge position" and return, otherwise enter step (A-2); (A-2)如果SNR<SNR0且标志Y1为1,则置上升沿位置为“低门限上升沿位置”、然后返回,否则进入步骤(A-3);(A-2) If SNR<SNR0 and the flag Y1 is 1, set the rising edge position to "low threshold rising edge position" and return, otherwise enter step (A-3); (A-3)置上升沿位置为“宽时间窗口上升沿位置”,然后返回;(A-3) Set the rising edge position as "Wide Time Window Rising Edge Position", and then return; (4)运行下降沿检测模块:(4) Run the falling edge detection module: (4-1)建立窄时间窗口的“已检测到低门限下降沿”标志Y3和窄时间窗口的“已检测到高门限下降沿”标志Y4并全部置为0;(4-1) Set up the "low threshold falling edge detected" flag Y3 of the narrow time window and the "high threshold falling edge detected" flag Y4 of the narrow time window and set them all to 0; (4-2)检验标志X2是否为1:若为1,表明在上升沿检测模块中脉冲信号出现后又消失,则将标志X2置0,然后进入步骤(4-4),根据缓存区中的数据检测下降沿位置,所述缓存区中的数据包括宽时间窗口及各窄时间窗口的平均功率、还包括缓存队列中的数据;若不为1,则进入步骤(4-3);(4-2) Check whether the flag X2 is 1: if it is 1, it means that the pulse signal disappears after appearing in the rising edge detection module, then set the flag X2 to 0, and then enter step (4-4), according to the The position of the falling edge of the data detection, the data in the buffer area includes the average power of the wide time window and each narrow time window, and also includes the data in the buffer queue; if it is not 1, enter step (4-3); (4-3)计算宽时间窗口的平均功率和K个窄时间窗口各自的平均功率,并对宽时间窗口及各窄时间窗口对应的缓存队列进行处理:当前采样点进入缓存队列、缓存队列中最末的采样点退出缓存队列;(4-3) Calculate the average power of the wide time window and the respective average power of K narrow time windows, and process the buffer queue corresponding to the wide time window and each narrow time window: the current sampling point enters the buffer queue and buffer queue The last sampling point exits the cache queue; (4-4)分别判断各个窄时间窗口的平均功率是否低于T1,得到K个高门限判决结果;并且,分别判断各窄时间窗口的平均功率是否低于T2,得到K个低门限判决结果;(4-4) Determine whether the average power of each narrow time window is lower than T1, and obtain K high-threshold judgment results; and respectively judge whether the average power of each narrow time window is lower than T2, and obtain K low-threshold judgment results ; (4-5)建立“下降沿低门限融合决策”标志Z3,然后对K个窄时间窗口的低门限判断结果进行决策融合;若融合结果为没有检测到脉冲信号,则将Z3置为1,否则将Z3置为0;(4-5) Establish the "falling edge low threshold fusion decision" flag Z3, and then perform decision fusion on the low threshold judgment results of K narrow time windows; if the fusion result is that no pulse signal is detected, set Z3 to 1, Otherwise set Z3 to 0; (4-6)建立“下降沿高门限融合决策”标志Z4,然后对K个窄时间窗口的高门限判断结果进行决策融合;若融合结果为没有检测到脉冲信号,则将Z4置为1,否则将Z4置为0;(4-6) Establish the "falling edge high threshold fusion decision" flag Z4, and then perform decision fusion on the high threshold judgment results of K narrow time windows; if the fusion result is that no pulse signal is detected, set Z4 to 1, Otherwise set Z4 to 0; (4-7)检验标志X4是否为0:若标志X4为0,则进入步骤(4-8),若标志X4不为0,则将N1加1后进入步骤(4-9);(4-7) Check whether the flag X4 is 0: if the flag X4 is 0, go to step (4-8); if the flag X4 is not 0, add 1 to N1 and go to step (4-9); (4-8)判断宽时间窗口的平均功率是否低于T0:若宽时间窗口的平均功率低于T0,将标志X4和N1均置为1,并记录“宽时间窗口下降沿位置”,再进入(4-9);若宽时间窗口的平均功率大于或等于T0,则估计信噪比SNR,然后进入步骤(4-3)对下一采样点进行处理;(4-8) Determine whether the average power of the wide time window is lower than T0: If the average power of the wide time window is lower than T0, set both flags X4 and N1 to 1, and record the "falling edge position of the wide time window", and then Enter (4-9); if the average power of the wide time window is greater than or equal to T0, estimate the signal-to-noise ratio SNR, and then enter step (4-3) to process the next sampling point; (4-9)宽时间窗口检测结果与下降沿低门限融合决策进行第二级决策融合,检验宽时间窗口检测到脉冲信号消失后、下降沿低门限融合决策过程中第一次检测到脉冲信号消失的时刻:如果标志Y3为0,则检验标志Z3是否为1:如果标志Z3为1,则置标志Y3为1并记录“低门限下降沿位置”再进入步骤(4-10),如果标志Z3不为1,则进入步骤(4-10);如果标志Y3不为0,则进入步骤(4-10);(4-9) The detection result of the wide time window and the low-threshold fusion decision of the falling edge are used for the second-level decision fusion, and the pulse signal is detected for the first time in the process of fusion decision-making process of the low-threshold fusion of the falling edge after the wide time window detects the disappearance of the pulse signal The moment of disappearance: if the flag Y3 is 0, check whether the flag Z3 is 1: if the flag Z3 is 1, set the flag Y3 to 1 and record the "low threshold falling edge position" and then enter step (4-10), if the flag If Z3 is not 1, enter step (4-10); if the flag Y3 is not 0, enter step (4-10); (4-10)将宽时间窗口检测结果与下降沿高门限融合决策进行第二级决策融合,检验宽时间窗口检测到脉冲信号消失后、下降沿高门限融合决策过程中第一次检测到脉冲信号消失的时刻:如果标志Y4为0,则检验标志Z4是否为1:如果标志Z4为1,则置标志Y4为1并记录“高门限下降沿位置”再进入步骤(4-11),如果标志Z4不为1,则进入步骤(4-11);如果标志Y4不为0,则进入步骤(4-11);(4-10) Perform second-level decision fusion between the detection results of the wide time window and the high-threshold fusion decision on the falling edge, and check that the pulse is detected for the first time during the high-threshold fusion decision-making process of the falling edge after the pulse signal disappears in the wide time window The moment when the signal disappears: if the flag Y4 is 0, check whether the flag Z4 is 1: if the flag Z4 is 1, set the flag Y4 to 1 and record the "high threshold falling edge position" and then enter step (4-11), if If the flag Z4 is not 1, go to step (4-11); if the flag Y4 is not 0, go to step (4-11); (4-11)检验下一脉冲的上升沿是否出现:如果当前宽时间窗口的平均功率大于等于T0,表明下降沿检测过程中检测到新的脉冲信号出现,即下一个脉冲的上升沿到达,则记录“宽时间窗口上升沿位置”并将标志X1和X3置为1,并置标志X4和N2为0,然后执行“自适应下降沿位置确定”模块并给出当前脉冲下降沿位置,然后下降沿检测完成并返回;如果当前宽时间窗口的平均功率小于T0,则进入步骤(4-12);(4-11) Check whether the rising edge of the next pulse appears: if the average power of the current wide time window is greater than or equal to T0, it indicates that a new pulse signal is detected during the falling edge detection process, that is, the rising edge of the next pulse arrives, Then record the "rising edge position of wide time window" and set the flags X1 and X3 to 1, and set the flags X4 and N2 to 0, then execute the "adaptive falling edge position determination" module and give the current pulse falling edge position, and then The falling edge detection is completed and returns; if the average power of the current wide time window is less than T0, enter step (4-12); (4-12)检测下降沿检测是否完成:如果N1大于N,则将标志X1、X2、X3和标志X4置0,然后执行“自适应下降沿位置确定”模块并给出下降沿位置,然后下降沿检测完成并返回;如果N1小于等于N,则跳转至步骤(4-3)对下一采样点处理;(4-12) Check whether the falling edge detection is completed: if N1 is greater than N, set the flags X1, X2, X3 and flag X4 to 0, then execute the "adaptive falling edge position determination" module and give the falling edge position, and then The falling edge detection is completed and returns; if N1 is less than or equal to N, then jump to step (4-3) to process the next sampling point; (5)根据上升沿位置和下降沿位置计算出脉冲宽度,然后进入步骤(3)再次开始检测上升沿;(5) Calculate the pulse width according to the position of the rising edge and the position of the falling edge, and then enter step (3) to start detecting the rising edge again; 所述“自适应下降沿位置确定”模块的步骤为:The steps of the "adaptive falling edge position determination" module are: (B-1)如果SNR>=SNR0且标志Y4为1,则下降沿位置为“高门限下降沿位置”、然后返回,否则进入步骤(B-2);(B-1) If SNR>=SNR0 and the flag Y4 is 1, then the falling edge position is "high threshold falling edge position", and then return, otherwise enter step (B-2); (B-2)如果SNR<SNR0且标志Y3为1,则下降沿位置为“低门限下降沿位置”、然后返回,否则进入步骤(B-3);(B-2) If SNR<SNR0 and flag Y3 is 1, then the falling edge position is "low threshold falling edge position", and then return, otherwise enter step (B-3); (B-3)置下降沿时刻为“宽时间窗口下降沿位置”,然后返回。(B-3) Set the falling edge time as the "wide time window falling edge position", and then return.
CN201710013992.5A 2017-01-10 2017-01-10 A kind of pulse width detection algorithm of radar and signal of communication Expired - Fee Related CN106597122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710013992.5A CN106597122B (en) 2017-01-10 2017-01-10 A kind of pulse width detection algorithm of radar and signal of communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710013992.5A CN106597122B (en) 2017-01-10 2017-01-10 A kind of pulse width detection algorithm of radar and signal of communication

Publications (2)

Publication Number Publication Date
CN106597122A true CN106597122A (en) 2017-04-26
CN106597122B CN106597122B (en) 2019-03-19

Family

ID=58582696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710013992.5A Expired - Fee Related CN106597122B (en) 2017-01-10 2017-01-10 A kind of pulse width detection algorithm of radar and signal of communication

Country Status (1)

Country Link
CN (1) CN106597122B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109765434A (en) * 2019-02-22 2019-05-17 北京遥感设备研究所 A Pulse Width Measuring Device Using Proportional Threshold Judgment
CN110501679A (en) * 2019-08-16 2019-11-26 厦门大学 A Real-time Detection Method of Radar Signal
CN114113802A (en) * 2020-08-31 2022-03-01 长鑫存储技术(上海)有限公司 Test circuit, test device and test method thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006184048A (en) * 2004-12-27 2006-07-13 Fujitsu Ltd Pulse characteristic detection circuit based on threshold and its measurement evaluation test method
CN102435982A (en) * 2011-09-09 2012-05-02 陕西长岭电子科技有限责任公司 Three-mode blank pipe responder and method for detecting and distinguishing three-mode interrogation signal
CN102645589A (en) * 2012-04-11 2012-08-22 清华大学 Pulse detection method and system
KR20130140265A (en) * 2012-06-14 2013-12-24 엘아이지넥스원 주식회사 Apparatus for measuring pulse width considering overshoot/undershoot and method thereof
CN103888154A (en) * 2014-03-31 2014-06-25 四川九洲空管科技有限责任公司 Multi-channel, anti-interference and anti-aliasing pulse sequence decoding method
CN104316775A (en) * 2014-10-29 2015-01-28 上海大学 Pulse signal cycle and duty ratio continuous measurement method
CN105277801A (en) * 2015-08-10 2016-01-27 工业和信息化部电信研究院 Method for measuring modulation pulse parameters
CN105681121A (en) * 2014-12-31 2016-06-15 中国电子信息产业集团有限公司第六研究所 Method for detecting 1090ES ADS-B message header

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006184048A (en) * 2004-12-27 2006-07-13 Fujitsu Ltd Pulse characteristic detection circuit based on threshold and its measurement evaluation test method
CN102435982A (en) * 2011-09-09 2012-05-02 陕西长岭电子科技有限责任公司 Three-mode blank pipe responder and method for detecting and distinguishing three-mode interrogation signal
CN102645589A (en) * 2012-04-11 2012-08-22 清华大学 Pulse detection method and system
KR20130140265A (en) * 2012-06-14 2013-12-24 엘아이지넥스원 주식회사 Apparatus for measuring pulse width considering overshoot/undershoot and method thereof
CN103888154A (en) * 2014-03-31 2014-06-25 四川九洲空管科技有限责任公司 Multi-channel, anti-interference and anti-aliasing pulse sequence decoding method
CN104316775A (en) * 2014-10-29 2015-01-28 上海大学 Pulse signal cycle and duty ratio continuous measurement method
CN105681121A (en) * 2014-12-31 2016-06-15 中国电子信息产业集团有限公司第六研究所 Method for detecting 1090ES ADS-B message header
CN105277801A (en) * 2015-08-10 2016-01-27 工业和信息化部电信研究院 Method for measuring modulation pulse parameters

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张涛 等: ""一种ADS-B报头互相关检测方法"", 《电讯技术》 *
王军: ""一种宽带脉冲信号检测算法"", 《实验科学与技术》 *
王建 等: ""基于FPGA的实时脉冲参数检测系统的设计"", 《中国测试技术》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109765434A (en) * 2019-02-22 2019-05-17 北京遥感设备研究所 A Pulse Width Measuring Device Using Proportional Threshold Judgment
CN110501679A (en) * 2019-08-16 2019-11-26 厦门大学 A Real-time Detection Method of Radar Signal
CN114113802A (en) * 2020-08-31 2022-03-01 长鑫存储技术(上海)有限公司 Test circuit, test device and test method thereof
WO2022041965A1 (en) * 2020-08-31 2022-03-03 长鑫存储技术有限公司 Test circuit, test device and test method therefor
CN114113802B (en) * 2020-08-31 2023-01-24 长鑫存储技术(上海)有限公司 Test circuit, test device and test method thereof
US11948650B2 (en) 2020-08-31 2024-04-02 Changxin Memory Technologies, Inc. Testing circuit, testing device and testing method thereof

Also Published As

Publication number Publication date
CN106597122B (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN103076602B (en) For the radar self-adaption constant false alarm rate fusion detection method of multiple goal background
WO2017202292A1 (en) Method and device for tracking echo delay
CN108802722B (en) A tracking-before-detection method for weak targets based on virtual spectrum
CN105842687B (en) Detecting and tracking integral method based on RCS predictive information
CN102298097B (en) Method for estimating thunder impulse signal Time Difference of Arrival (TDOA)
CN105182345B (en) Continuous spectra signal target automatic testing method based on single vector subsurface buoy
CN102419437A (en) Track-before-detect tracking method based on track inspection
CN103047982B (en) Adaptive target tracking method based on angle information
CN106597122A (en) Radar and communication signal pulse width detection algorithm
JP2014106133A (en) Target detection device, and target detection method
CN108535354A (en) A kind of damaging judge and localization method of steel wire rope Magnetic Flux Leakage Inspecting and magnetic transmitting detection
CN106291498A (en) A kind of detecting and tracking combined optimization method based on particle filter
CN107071788B (en) A method and device for spectrum sensing in a cognitive wireless network
CN103888389B (en) Method for estimating amplitude of time-frequency overlapped signals
CN108489529A (en) A kind of method for detecting weak signals based on high-order statistic
CN102546052B (en) Self-adaptive threshold controlling and parameter calculating and measuring technology and method
CN106526545A (en) Method for detecting robust CFAR detector
CA2741202A1 (en) Dynamic clustering of transient signals
CN112332807A (en) Weak envelope signal detection method and system
CN105866748B (en) A kind of long CFAR detection method of fixation window based on detection priori
CN107024680A (en) A kind of object detection method based on double deletion thresholdings
CN103686991A (en) A method and device for realizing wireless sensor network node positioning
CN102636773A (en) Single-element range ambiguity resistant method based on channel multipath characteristic
JP2015514379A5 (en)
CN106033120A (en) A multi-station radar asynchronous multi-frame joint detection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Liu Yunxue

Inventor after: Yu Hui

Inventor after: Liu Pengfei

Inventor after: Fan Wenqiang

Inventor after: He Pengfei

Inventor after: Wang Juanjuan

Inventor before: Liu Yunxue

Inventor before: Yu Hui

Inventor before: Fan Wenqiang

Inventor before: He Pengfei

Inventor before: Liu Pengfei

Inventor before: Wang Juanjuan

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190319

Termination date: 20220110

CF01 Termination of patent right due to non-payment of annual fee