Multi-thread-based radar signal real-time analysis and processing system
Through a multi-threaded real-time radar signal analysis and processing system, combined with FPGA processor and neural network technology, the problem of low accuracy and real-time accuracy of vita packet reception and processing in the existing technology is solved, and efficient signal detection and recognition is achieved, improving the Real-time and accuracy of the system.
Patent Information
- Application Number
- CN202411133924.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-12-03
AI Technical Summary
During the signal analysis and processing of existing radar signal detection and identification systems, there are problems such as low accuracy and low real-time performance of vita packet reception and processing, resulting in loss of vita packets and backlog of buffer areas, which cannot meet the system's real-time requirements.
Using a multi-threaded real-time radar signal analysis and processing system, through the collaborative work of the signal processing board and computer, the channelized processing and data parallel processing are performed using the FPGA processor and DDR memory, combining the cycle-related processing algorithm and the double sliding window burst signal. Detection algorithm, using convolutional neural networks, recurrent neural networks and deep belief neural networks for intelligent target recognition.
Improve the utilization rate of computing resources, realize the timely processing of vita packets, reduce false alarms and missed detection rates, ensure the accuracy and real-timeness of signal detection, and accurately determine the start and end positions of burst signals, and The stable identification of target individuals, platform types and communication systems has been achieved.
Smart Images

Figure CN119064865A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a multi-thread-based real-time radar signal analysis and processing system. Background Art
[0002] In the field of radar, signal detection and recognition technology is widely used in target detection and recognition. How to accurately and quickly detect and recognize signals has become an urgent technical problem that needs to be solved.
[0003] At present, in practical applications, the signal receiving thread of the signal detection and recognition system reads the vita packet in real time into a first-in-first-out circular buffer. The reception and analysis of the vita packet mostly adopt a single-threaded mode. In this mode, the vita packet cannot be received simultaneously during the signal analysis and processing, resulting in the loss of the vita packet, increased missed detection rate, and low accuracy. Similarly, signal analysis and processing cannot be performed while receiving the vita packet, resulting in a backlog of vita packets in the cache and delays in signal analysis and processing, which cannot meet the real-time requirements of the system.
[0004] In order to meet the system's real-time requirements for signal analysis and processing, it is necessary to find a solution with fast computing speed and good real-time performance to receive, process and analyze the vita package. Summary of the invention
[0005] In view of the above analysis, an embodiment of the present invention aims to provide a radar signal real-time analysis and processing system based on multi-threading, so as to solve the problems of low accuracy and low real-time performance of vita packet receiving and processing in the process of signal analysis and processing in the existing radar signal receiving and processing.
[0006] The embodiment of the present invention provides a radar signal real-time analysis and processing system based on multi-threading, the system comprising: a signal processing board, a computer;
[0007] The signal processing board includes a receiving antenna, a low-noise operational amplifier, an AD sampling chip, an FPGA processor, and a DDR memory; the FPGA processor includes a channelization processing module and a signal detection module; the channelization processing module divides the broadband sampling signal obtained by the receiving antenna, the low-noise operational amplifier, and the AD sampling chip into multiple DDC channel signals; the signal detection module is used to detect each DDC channel signal, generate multiple vita packet data and store them in the DDR memory;
[0008] A computer is used to create a data receiving thread, a data parsing thread, a plurality of signal processing threads and a buffer area, each signal processing thread corresponds to a DDC channel; the data receiving thread, the data parsing thread and the plurality of signal processing threads perform parallel processing on the data stored in the buffer area; wherein the data receiving thread transfers the vita package data in the DDR memory to the buffer area; the data parsing thread parses the vita package data and stores the vita package data in a storage unit corresponding to a channel number; and the signal processing thread identifies the data in the storage unit corresponding to the channel number.
[0009] Furthermore, the channelized processing module includes a digitally controlled oscillator, a mixer, a multi-channel digital low-pass filter, and a multi-channel extractor; the digitally controlled oscillator is used to generate a digital local oscillator signal; the mixer mixes the digital local oscillator signal with the digital signal output by the AD sampling chip to achieve frequency conversion of the signal; the frequency-converted signal is input into the multi-channel digital low-pass filter for filtering, and is down-sampled by the corresponding channel extractor to obtain multiple DDC channel signals.
[0010] Furthermore, the signal detection module performs signal detection on each DDC channel signal, including: performing continuous signal detection by using power spectrum density, and performing burst signal detection by combining a cyclic correlation processing algorithm with a double sliding window burst signal detection algorithm.
[0011] Furthermore, the DDC channel signal is a time domain signal; the signal detection module uses a combination of a cyclic correlation processing algorithm and a double sliding window burst signal detection algorithm to perform burst signal detection, including: using the original time domain signal of the DDC channel as the input original sequence of the cyclic correlation processing algorithm, comparing the sequence generated after cyclic shift of the input original sequence with the input original sequence, calculating the correlation between the sequence generated after the shift and the original sequence to obtain a cyclic autocorrelation result, using the DDC channel cyclic autocorrelation result sequence as the input signal power spectrum density sequence of the double sliding window burst signal detection algorithm, setting a sliding window A and a sliding window B for the signal power spectrum density sequence, and performing a double threshold comparison on the data in the sliding window A and the sliding window B to determine the starting position and the ending position of the burst signal.
[0012] Further, the determination of the start position and end position of the burst signal by performing double-threshold comparison on the data in the sliding window A and the sliding window B includes: setting the sliding window A and the sliding window B with a length of L for the signal power spectral density sequence. The sliding window A and the sliding window B slide synchronously, and there is an overlap of L / 2 between the sliding window A and the sliding window B. Each time they slide, the root mean square values are calculated for the data in the sliding window A and the sliding window B respectively to obtain PA and PB. When PB / PA > Th1, the position where the window B is located is taken as the start position of the burst signal in the input sequence. When PB / PA < Th2, the position where the window B is located is taken as the termination position of the burst signal. Among them, Th1 and Th2 are adaptive double thresholds, Th2 = 1.5 / Th1, Th1 > Th2, and the range of L is [300, 400].
[0013] Further, the continuous signal detection using the power spectral density includes: dividing the finite-length DDC channel signal into multiple overlapping segments of length L1, with an overlap of L1 / 4 between adjacent segments. The power spectral density function of each segment of data is estimated using the average modified periodogram method. If the power spectral density of each segment of data with a length of L1 is greater than the set threshold within the preset bandwidth range, it is considered that the entire finite-length channel signal is a continuous signal. The range of L1 is [300, 500], and the set threshold is μ + kδ, where μ is the mean of each segment of data, δ is the variance of this segment of data, and the range of k is [10, 15].
[0014] Further, when the data in the vita packet is a continuous signal, the signal processing thread performs conventional signal recognition. When the data in the vita packet is a burst signal, the signal processing thread uses a deep neural network to perform target intelligent recognition of the target individual, platform type, and communication system.
[0015] Further, the deep neural network includes: a convolutional neural network, a recurrent neural network, and a deep belief neural network cascaded in sequence. The channel data obtained by parsing the vita packet data by the data parsing thread is input to the convolutional neural network. The signal features of each channel extracted by the convolutional neural network model are concatenated to form a tensor, which is used as the input of the recurrent neural network model. The recurrent neural network model outputs a sequence containing temporal features to the deep belief neural network, and the deep belief neural network identifies the target individual, platform type, and communication system based on the sequence of the temporal features.
[0016] Furthermore, VS and MATLAB development tools are installed on the computer. The data receiving thread created by the VS development tool receives the vita package transmitted by the FPGA; the signal processing thread created by the VS development tool returns the data in the vita package to the upper application through the callback function, and stores it in the corresponding storage file according to the channel number. MATLAB reads the data in the storage file, and MATLAB uses a drawing function to display the data in the vita package received by each channel through a picture with the sampling point sequence number and the sampling point amplitude as the horizontal and vertical coordinates; then it is determined whether the data received and analyzed by the data receiving thread and the data analysis thread is lost.
[0017] Furthermore, the signal processing board also includes a USB interface circuit, which includes a USB conversion chip and a USB connector; the USB conversion chip is used to convert the vita package data output by the FPGA into a USB data format and communicate with the computer through the USB connector.
[0018] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:
[0019] 1. The present invention adopts a multi-threaded real-time analysis and processing system for radar signals. On the Windows operating system, tasks are assigned to a data receiving thread, a data parsing thread and a plurality of signal processing threads for parallel execution. Data can be received while the data parsing thread is parsing and the signal processing thread is processing. This breaks the limitation that the vita packet cannot be received simultaneously during the single-thread signal analysis and processing process, resulting in the loss of the vita packet. The utilization rate of computing resources is improved, and the vita packet data collected by FPGA and transmitted through a USB chip is processed in a timely and effective manner, greatly improving the real-time performance of data processing. At the same time, a large number of experiments have verified that the false alarm and missed detection rates of the signal processing method are extremely low.
[0020] 2. The signal detection module of the present invention uses a combination of a cyclic correlation processing algorithm and a double sliding window burst signal detection algorithm to detect burst signals, which can accurately determine the start and end positions of burst signals. The present application uses cyclic autocorrelation results as power spectrum density sequences on the FPGA side, uses time domain signals, omits Fourier transform, and has good real-time performance.
[0021] 3. The present invention adopts a combination of convolutional neural network, recurrent neural network and deep belief neural network, and inputs the data of each channel obtained by parsing the data of the vita package by the data parsing thread into the convolutional neural network; the convolution layer in the convolutional neural network can combine the features extracted by the previous layers to extract more complex features. The signal features of each channel extracted by the convolutional neural network model are spliced to form a tensor as the input of the recurrent neural network model; the recurrent neural network model outputs a sequence containing time series features to the deep belief neural network, and the deep belief neural network recognizes the target individual, platform type and communication system in real time based on the sequence of the time series features, and the recognition result is stable and reliable.
[0022] 4. The multi-threaded analysis and processing system of the present invention uses MATLAB development tools to simulate the continuous number and single tone signal sent by the FPGA end, and it is easy to see whether the data is continuous, and then judge whether the data received and analyzed by the data receiving thread and the data parsing thread in the multi-threaded analysis and processing system is lost. It has been verified that the multi-threaded processing method adopted by the present invention is stable and reliable.
[0023] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.
[0025] Figure 1 A principle flow chart of multi-threaded real-time analysis and processing of a radar signal real-time analysis and processing system based on multi-threading of the present invention;
[0026] Figure 2 A signal processing board burst signal recognition flow chart of a radar signal real-time analysis and processing system based on multi-threading according to the present invention;
[0027] Figure 3 A schematic diagram of the signal processing and analysis system of a multi-threaded radar signal real-time analysis and processing system of the present invention;
[0028] Figure 4 A schematic diagram of the buffer writing principle of a multi-threaded radar signal real-time analysis and processing system of the present invention;
[0029] Figure 5A schematic diagram of the buffer reading principle of a multi-threaded radar signal real-time analysis and processing system of the present invention;
[0030] Figure 6 This is a performance verification diagram of a multi-threaded radar signal real-time analysis and processing system of the present invention. DETAILED DESCRIPTION
[0031] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0032] A specific embodiment of the present invention discloses a multi-threaded radar signal real-time analysis and processing system, the system comprising: a signal processing board, a computer;
[0033] The signal processing board includes a receiving antenna, a low-noise operational amplifier, an AD sampling chip, an FPGA processor, and a DDR memory; the FPGA processor includes a channelization processing module and a signal detection module; the channelization processing module divides the broadband sampling signal obtained by the receiving antenna, the low-noise operational amplifier, and the AD sampling chip into multiple DDC channel signals; the signal detection module is used to detect each DDC channel signal, generate multiple vita packet data and store them in the DDR memory;
[0034] A computer is used to create a data receiving thread, a data parsing thread, a plurality of signal processing threads and a buffer area, each signal processing thread corresponds to a DDC channel; the data receiving thread, the data parsing thread and the plurality of signal processing threads perform parallel processing on the data stored in the buffer area; wherein the data receiving thread transfers the vita package data in the DDR memory to the buffer area; the data parsing thread parses the vita package data and stores the vita package data in a storage unit corresponding to a channel number; and the signal processing thread identifies the data in the storage unit corresponding to the channel number.
[0035] Specifically, a signal processing board is used to perform channelization processing on the radar signal to obtain multiple DDC channel signals, and signal detection is performed on each DDC channel signal. If a continuous signal is detected, a vita packet of the continuous signal is generated; if a burst signal is detected, a vita packet of the burst signal is generated; the generated multi-channel vita packet data is stored in the DDR on the signal processing board.
[0036] Specifically, the data parsing thread parses the vita packet data according to the information in the vita packet header. The signal processing thread performs conventional signal recognition or target intelligent recognition on the data in the storage unit of the corresponding channel number according to the signal type in the vita packet header.
[0037] The channelized processing module includes a digitally controlled oscillator, a mixer, a multi-channel digital low-pass filter, and a multi-channel extractor; the digitally controlled oscillator is used to generate a digital local oscillator signal; the mixer mixes the digital local oscillator signal with the digital signal output by the AD sampling chip to achieve frequency conversion of the signal; the frequency-converted signal is input into the multi-channel digital low-pass filter for filtering, and is down-sampled by the corresponding channel extractor to obtain multiple DDC channel signals.
[0038] Specifically, after receiving the broadband sampling signal, the signal processing board performs channelization processing on the broadband sampling signal, divides the broadband sampling signal in the frequency domain, and converts it into multiple narrowband signals after the channelization processing. Each narrowband signal is the result of digital down-conversion of the input broadband sampling signal, which is called a DDC channel signal. The signal processing board includes FPGA and DDR memory; FPGA creates two threads for simultaneously performing continuous signal and burst signal detection on the multiple DDC channel signals, generating vita packets of continuous signals and vita packets of burst signals, and storing them in the DDR memory.
[0039] The signal detection module performs signal detection on each DDC channel signal, including: performing continuous signal detection by using power spectrum density, and performing burst signal detection by combining a cyclic correlation processing algorithm with a double sliding window burst signal detection algorithm.
[0040] The signal detection module uses a double sliding window burst signal detection method based on cyclic autocorrelation processing to detect burst signals. Figure 2 shown.
[0041] The DDC channel signal is a time domain signal; the signal detection module uses a combination of a cyclic correlation processing algorithm and a double sliding window burst signal detection algorithm to perform burst signal detection, including: using the original time domain signal of the DDC channel as the input original sequence of the cyclic correlation processing algorithm, comparing the sequence generated after cyclic shift of the input original sequence with the input original sequence, calculating the correlation between the sequence generated after the shift and the original sequence to obtain a cyclic autocorrelation result, using the DDC channel cyclic autocorrelation result sequence as the input signal power spectrum density sequence of the double sliding window burst signal detection algorithm, setting a sliding window A and a sliding window B for the signal power spectrum density sequence, and performing a double threshold comparison on the data in the sliding window A and the sliding window B to determine the starting position and the ending position of the burst signal.
[0042] The double-threshold comparison of the data in sliding window A and sliding window B to determine the start position and end position of the burst signal includes: setting sliding window A and sliding window B with a length of L for the signal power spectral density sequence. Sliding window A and sliding window B slide synchronously, and there is an overlap of L / 2 between sliding window A and sliding window B. Each time it slides, the root mean square values are calculated for the data in sliding window A and sliding window B respectively to obtain PA and PB. When PB / PA > Th1, the position where window B is located is taken as the start position of the burst signal in the input sequence. When PB / PA < Th2, the position where window B is located is taken as the termination position of the burst signal. Among them, Th1 and Th2 are adaptive double thresholds, Th2 = 1.5 / Th1, Th1 > Th2, and the range of L is [300, 400].
[0043] Specifically, the cyclic correlation processing algorithm is adopted to effectively suppress the in-band noise of the channelization and reduce the detection discrimination threshold of the burst signal. The double-sliding window burst signal detection algorithm sets an adaptive double threshold to maintain a constant false alarm rate by establishing a statistical distribution model of clutter and noise. The detection threshold changes from the absolute value of the envelope of the original cyclic autocorrelation to the relative jump value of the energy between the burst signal and the noise floor. Assuming that the two windows are window A and window B, the sliding step of sliding window A and sliding window B is L / 2 synchronously. PA and PB represent the energy values of the two windows respectively. The double threshold values are Th1 and Th2. When PB / PA > Th1, there may be a burst signal in window B. When PB / PA < Th2, the termination position of the burst signal is found. The setting of the Th1 threshold value is determined by an empirical value coefficient and an optimization factor that changes with the window size. The optimization factor reaches the maximum when the window size reaches the minimum. The value of the Th2 threshold is related to the Th1 threshold value, Th2 = 1.5 / Th1. Combining cyclic autocorrelation and double-sliding window technology can achieve high-sensitivity and high-probability detection of burst signals in a complex electromagnetic environment.
[0044] The continuous signal detection using the power spectral density includes: dividing the finite-length DDC channel signal into multiple overlapping segments of length L1. There is an overlap of L1 / 4 between adjacent segments. The average modified periodogram method is used to estimate the power spectral density function of each segment of data. If the power spectral density of each segment of data with a length of L1 is greater than the set threshold within the preset bandwidth range, it is considered that the entire finite-length channel signal is a continuous signal. The range of L1 is [300, 500], and the set threshold is μ + kδ, where μ is the mean value of each segment of data, δ is the variance of this segment of data, and the range of k is [10, 15].
[0045] Specifically, FPGA extracts the time-domain continuous signal in the channel through the power spectrum density feature. Specifically, it uses the average modified periodogram method to estimate the input power spectrum density function, divides the finite length observation data into overlapping segmented data, increases the number of segments in the average periodogram method, and reduces the variance of the power spectrum estimation. The power spectrum distribution histogram is statistically calculated, and then the threshold method is used to detect the presence of the signal.
[0046] The detected continuous signals and burst signals are packaged into corresponding vita packages, stored in DDR addresses through DMA technology, and the data is stored at the specified address in the DDR memory space.
[0047] The vita packet consists of a header and a valid data payload; the first 7 words of each vita data packet are the header, and the valid data payload starts from the 8th word; the header includes the packet length, data packet sequence number, timestamp, data packet type, channel number, signalID, and reserved words. The data packet type includes two types: continuous signal and burst signal. The channel number corresponds to the DDC channel number, and the signal ID is the number of burst data packets detected by the current channel.
[0048] Specifically, each word of vita is 32 bits, and reserved words are used to facilitate the subsequent addition of new variables.
[0049] When the data in the vita package is a continuous signal, the signal processing thread performs conventional signal recognition; when the data in the vita package is a burst signal, the signal processing thread uses a deep neural network to perform intelligent target recognition of the target individual, platform type, and communication system.
[0050] The principle flow chart of multi-threaded real-time analysis and processing is as follows: Figure 1 shown.
[0051] A specific embodiment of the present invention uses VS2013 development tools under Windows operating system to develop a user operation interface and create multiple threads in the application program, including a data receiving thread, a data parsing thread, and 32 signal processing threads corresponding to 32 DDC channels. A DDC channel parameter class object is created for each DDC channel, and DDC channel parameter information is recorded and passed to the thread as a function input parameter when the signal processing thread is created. At the same time, a first-in-first-out loop buffer and an FPGA parameter update synchronization class object are created. After the application is initialized, the working frequency band is selected in the user operation interface, the DDC data update time, the DDC channel center frequency, the DDC channel bandwidth, the DDC analysis bandwidth are set, the normalized window coefficient, etc., and the parameter information is transmitted to the FPGA (the signal processing board includes a USB interface circuit for communicating the signal processing board data with the computer) by calling the USB communication interface function, and the FPGA performs data acquisition and processing according to the parameter information.
[0052] In a specific embodiment of the present invention, in the VS2013 development tool, different functions of implementing the real-time analysis and processing task of the vita package are respectively implemented by multiple functions. For the multiple threads created, each thread executes a function, and multiple threads are executed concurrently. Data sharing and communication are realized through mutual exclusion fusion. The real-time analysis and processing task of the vita package is thus executed by different threads at the same time. The data analysis thread stores the vita package data in the storage unit corresponding to the channel number according to the channel number in the vita package header, and passes it to the corresponding signal processing thread as an input parameter. In the callback function, the data in the vita package passed by the data analysis thread is stored in another circular buffer area. The signal processing thread, as a thread function of the upper application class, reads data from the circular buffer area in real time, and uses the Windows API function to save the data for subsequent signal analysis and processing. The signal processing thread is responsible for signal processing of the data in the vita package, including conventional signal recognition and target intelligent recognition. Multi-threaded data sharing adopts a single producer and multiple consumers design mode, and the circular buffer area used for vita package transmission adopts a "first in first out" data management method to improve the stability of the real-time analysis and processing of the vita package.
[0053] The data receiving thread obtains the value of the high-precision performance counter and the frequency of the performance counter to determine the current receiving data time t Current The last time data was received is t Previous Whether the comparison exceeds the specified time Δt Special , when t Current -t Previous >Δt Special When the communication interface reads the data in batches from the DDR of the signal processing board, a function is called internally, reading data of a specific size each time until all the data in the DDR memory is read and stored in the first-in, first-out circular buffer.
[0054] In a specific embodiment of the present invention, first, the data receiving thread reads the FPGA register flag bit through the USB3.0 interface function to obtain the value stored at the specified address in the DDR storage space of the signal processing board. When the specified address has been written with data, the current receiving data time t is determined by obtaining the value of the high-precision performance counter and the frequency of the performance counter. Current The last time data was received is t Previous Whether the comparison exceeds the specified time Δt Special , condition t Current -t Previous >Δt Special When the conditions are met, the vita packets in the DDR storage queue are read and stored in the first-in-first-out circular buffer.
[0055] like Figure 4As shown, when the relationship between the current write pointer position index writeindex (starting from 0) in the circular buffer, the length of the vita packet read from the DDR storage queue this time, and the first-in-first-out circular buffer size RING_BUFFER_SIZE satisfies the following two situations: Case I: writeindex+readlength≤RING_BUFFER_SIZE, the vita packets are written sequentially into the circular buffer, and the write pointer position index is updated to writeindex+readlength; Case II: writeindex+readlength>RING_BUFFER_SIZE, after the vita packet is written from the write pointer position index writeindex position to the end of the queue, the excess data is written from the head of the queue into the circular buffer, and the write pointer position index is updated to writeindex+readlength-RING_BUFFER_SIZE.
[0056] Determine the current receiving data time t Current The last time data was received is t Previous In comparison, when t Current -t Previous <Δt Special When the CPU is in use, the sleep function is used to put the current thread computing program to sleep, making it inactive for a period of time and giving the CPU usage rights to other threads.
[0057] The data parsing thread reads the vita packet from the circular buffer, the packet header length headsize, the read pointer subscript writeindex, the write pointer subscript readindex, and the read-write circle difference cntdiff (the read-write circle difference cntdiff is the difference in circles between the read and write pointers, and the value is 0 or 1. 0 means that the difference between the read and write pointers is within the buffer length, and 1 means that the write pointer exceeds the read pointer value and has exceeded the buffer length.) When the following conditions are met:
[0058] When the readindex+headsize+packetlength≤writeindex+cntdiff×RING_BUFFER_SIZE condition is met, the signal processing thread reads the vita packet from the circular buffer, where packetlength is the length of the valid data payload in the packet.
[0059] like Figure 5As shown, there are three situations: Ⅰ. The read pointer subscript plus the length of the vita header and the effective data load length in the packet does not reach or just reaches the end of the buffer area. The vita header is read first, and the data in the packet is read in sequence according to the length of the data in the packet and the channel number recorded in the vita header, and stored in the member variable of the DDC channel parameter class of the corresponding channel number. Ⅱ. The read pointer subscript plus the length of the vita header does not reach the end of the buffer area, and the length of the data in the packet exceeds the length of the buffer area. When the data in the packet reaches the end of the buffer area, the read pointer returns to the beginning of the buffer area to continue reading. According to the length of the data in the packet and the channel number recorded in the vita header, the data in the packet is stored in the member variable of the DDC channel parameter class of the corresponding channel number. Ⅲ. The read pointer subscript plus the length of the vita header exceeds the length of the buffer area. When the data in the packet reaches the end of the buffer area, the read pointer returns to the beginning of the buffer area to continue reading until the vita header is read. Then, according to the data length and channel number in the vita packet header, the data in the packet is read sequentially and stored in the member variable of the DDC channel parameter class corresponding to the channel number.
[0060] Specifically, conventional signal recognition can be based on observing harmonics, analyzing instantaneous amplitude, frequency, phase, frequency-time domain waveform, signal spectrum, etc. using constellation diagrams, or it can be identified using neural networks.
[0061] When the vita data packet type is burst data, if the data length point is greater than L2, the signal processing thread discards the burst data, where the L2 range is [1M, 1.8M].
[0062] The deep neural network includes: a convolutional neural network, a recurrent neural network, and a deep belief neural network cascaded in sequence; the data of each channel obtained by parsing the vita package data by the data parsing thread is input into the convolutional neural network; the signal features of each channel extracted by the convolutional neural network model are spliced to form a tensor as the input of the recurrent neural network model; the recurrent neural network model outputs a sequence containing time series features to the deep belief neural network, and the deep belief neural network identifies the target individual, platform type, and communication system based on the sequence of the time series features.
[0063] The signal processing and analysis system composition diagram is as follows Figure 3 shown.
[0064] VS and MATLAB development tools are installed on the computer. The data receiving thread created by the VS development tool receives the vita package transmitted by the FPGA; the signal processing thread created by the VS development tool returns the data in the vita package to the upper application through the callback function, and stores it in the corresponding storage file according to the channel number. MATLAB reads the data in the storage file, and MATLAB uses the drawing function to display the data in the vita package received by each channel through a picture with the sampling point sequence number and the sampling point amplitude as the horizontal and vertical coordinates; then it is determined whether the data received and analyzed by the data receiving thread and the data analysis thread is lost.
[0065] The present invention is a specific embodiment, simulates and generates continuous numerical value or single tone signal in FPGA, VS2013 develops VC++ multithreaded program, receives vita bag, and parses and processes vita bag data, returns the data in the package of vita bag to upper application by callback function, and stores corresponding file according to channel number, uses MATLAB to read data in storage file, then judges whether there is loss in continuous numerical value or single tone signal by MATLAB tool programming, and can also use its own drawing function to visualize data. From the simulation result, it can be seen that whether continuous numerical value or single tone signal is continuously without loss, thus reflecting that the present invention has very high real-time performance, which is greatly improved compared with previous single-thread system.
[0066] The system performance verification diagram generated by MATLAB tool is as follows Figure 6 shown.
[0067] In a specific embodiment of the present invention, 32 signal processing threads make real-time judgments. When the serial number corresponding to the current working parameter is the same as the serial number corresponding to the data stored in this thread, the corresponding callback function is called according to the data packet type to return the relevant information in the header of the vita packet and the data in the packet to the upper-layer application. When the data packet type of the vita packet is a continuous signal, the callback function corresponding to the continuous signal processing is called and sent to the upper-layer application for conventional signal recognition; when the data packet type is burst data, if the data is too long, it is discarded, otherwise the callback function corresponding to the burst signal processing is called and sent to the upper-layer application for target intelligent recognition, including recognition of target individuals, platform types, communication systems, etc. This target intelligent recognition method breaks through tradition and does not use the demodulation and translation method, so it can achieve a high recognition accuracy rate. The identification of target individuals and platform types adopts the target intelligent identification technology based on raw data, relying on deep neural networks to automatically learn and extract the signal depth features of target signals. In order to enable the network to learn the internal features of the signal, multiple paths are adopted, and multiple neural network models such as deep convolutional neural networks, recurrent neural networks and deep belief neural networks are cascaded at the same time. The convolutional neural network model processes the input raw collected data. As the network level deepens, the convolution layer can combine the features extracted by the previous level to extract more complex features. The signal features of each channel extracted by the convolutional neural network model are spliced to form a tensor as the input of the recurrent neural network model. The recurrent neural network model uses the cyclic kernel to realize time series feature extraction, and the extracted information is sent to the fully connected layer of the recurrent neural network model, and is converted into an abstract feature representation with the help of the fully connected layer to support the recognition task. The deep belief neural network is combined with other neural network structures for model training and classification, which can not only extract the local and global features of the signal at the same time, but also extract the time-invariant features and time-series related features at the same time, so as to represent the target from multiple angles and in depth. The recognition of the communication system adopts intelligent recognition technology based on multi-task learning. For the identification of communication systems, it is necessary to identify signal specifications such as modulation mode, channel bandwidth, coding method, network protocol, etc., and adopt multi-task learning based on deep neural network. Deep neural network regards multiple tasks as a whole, and realizes joint learning and optimization of multiple tasks by sharing the bottom network layer and training the top network layer separately.
[0068] The signal processing board also includes a USB interface circuit, which includes a USB conversion chip and a USB connector; the USB conversion chip is used to convert the vita package data output by the FPGA into a USB data format and communicate with the computer through the USB connector.
[0069] Compared with the prior art, the radar signal real-time analysis and processing system based on multi-threading provided in this embodiment distributes tasks to data receiving thread, data parsing thread and multiple signal processing threads for parallel execution on Windows operating system, and can receive data while the data parsing thread is parsing and the signal processing thread is processing, breaking the limitation that the vita package cannot be received simultaneously in the single-thread signal analysis and processing process, resulting in the loss of the vita package, improving the utilization rate of computing resources, and timely and effectively processing the vita package data collected by FPGA and transmitted through USB chip, greatly improving the real-time performance of data processing, and at the same time, a large number of experiments have verified that the false alarm and missed detection rate of the signal processing method are extremely low. The signal detection module of this embodiment adopts a combination of cyclic correlation processing algorithm and double sliding window burst signal detection algorithm to detect burst signals, which can accurately determine the starting and ending positions of burst signals. This application uses cyclic autocorrelation results as power spectrum density sequences on the FPGA end, uses time domain signals, omits Fourier transform, and has good real-time performance. The convolutional neural network, recurrent neural network, and deep belief neural network combination used in this embodiment input the data of each channel obtained by parsing the vita package data by the data parsing thread to the convolutional neural network; the convolution layer in the convolutional neural network can combine the features extracted by the previous level to extract more complex features. The signal features of each channel extracted by the convolutional neural network model are spliced to form a tensor as the input of the recurrent neural network model; the recurrent neural network model outputs a sequence containing timing features to the deep belief neural network, and the deep belief neural network identifies the target individual, platform type, and communication system in real time based on the sequence of the timing features, and the recognition result is stable and reliable. The multi-threaded analysis and processing system provided in this embodiment uses the MATLAB development tool to simulate the continuous number and single tone signal sent by the FPGA end. It is easy to see whether the data is continuous, and then judge whether the data received and parsed by the data receiving thread and the data parsing thread in the multi-threaded analysis and processing system is lost. It has been verified that the multi-threaded processing method adopted by the present invention is stable and reliable.
[0070] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0071] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A multi-threaded radar signal real-time analysis and processing system, characterized in that: The system includes: a signal processing board, a computer; The signal processing board includes a receiving antenna, a low-noise operational amplifier, an AD sampling chip, an FPGA processor, and a DDR memory; the FPGA processor includes a channelization processing module and a signal detection module; the channelization processing module divides the broadband sampling signal obtained by the receiving antenna, the low-noise operational amplifier, and the AD sampling chip into multiple DDC channel signals; the signal detection module is used to detect each DDC channel signal, generate multiple vita packet data and store them in the DDR memory; A computer is used to create a data receiving thread, a data parsing thread, a plurality of signal processing threads and a buffer area, each signal processing thread corresponds to a DDC channel; the data receiving thread, the data parsing thread and the plurality of signal processing threads perform parallel processing on the data stored in the buffer area; wherein the data receiving thread transfers the vita package data in the DDR memory to the buffer area; the data parsing thread parses the vita package data and stores the vita package data in a storage unit corresponding to a channel number; and the signal processing thread identifies the data in the storage unit corresponding to the channel number.
2. The real-time analysis and processing system according to claim 1, characterized in that: The channelized processing module includes a digitally controlled oscillator, a mixer, a multi-channel digital low-pass filter, and a multi-channel extractor; the digitally controlled oscillator is used to generate a digital local oscillator signal; the mixer mixes the digital local oscillator signal with the digital signal output by the AD sampling chip to achieve frequency conversion of the signal; the frequency-converted signal is input into the multi-channel digital low-pass filter for filtering, and is down-sampled by the corresponding channel extractor to obtain multiple DDC channel signals.
3. The real-time analysis and processing system according to claim 1, characterized in that: The signal detection module performs signal detection on each DDC channel signal, including: performing continuous signal detection by using power spectrum density, and performing burst signal detection by combining a cyclic correlation processing algorithm with a double sliding window burst signal detection algorithm.
4. The real-time analysis and processing system according to claim 3, characterized in that: The DDC channel signal is a time domain signal; The signal detection module adopts a combination of a cyclic correlation processing algorithm and a double sliding window burst signal detection algorithm to perform burst signal detection, including: using the original time domain signal of the DDC channel as the input original sequence of the cyclic correlation processing algorithm, comparing the sequence generated after cyclic shift of the input original sequence with the input original sequence, calculating the correlation between the sequence generated after the shift and the original sequence to obtain a cyclic autocorrelation result, using the DDC channel cyclic autocorrelation result sequence as the input signal power spectrum density sequence of the double sliding window burst signal detection algorithm, setting a sliding window A and a sliding window B for the signal power spectrum density sequence, and performing a double threshold comparison on the data in the sliding window A and the sliding window B to determine the starting position and the ending position of the burst signal.
5. The real-time analysis and processing system according to claim 4, characterized in that: The double-threshold comparison of the data in sliding window A and sliding window B to determine the start position and end position of the burst signal includes: setting sliding window A and sliding window B with a length of L for the signal power spectral density sequence. Sliding window A and sliding window B slide synchronously, and there is an overlap of L / 2 between sliding window A and sliding window B. Each time it slides, the root mean square values are calculated for the data in sliding window A and sliding window B respectively to obtain PA and PB. When PB / PA > Th1, the position where window B is located is taken as the start position of the burst signal in the input sequence. When PB / PA < Th2, the position where window B is located is taken as the termination position of the burst signal. Among them, Th1 and Th2 are adaptive double thresholds, Th2 = 1.5 / Th1, Th1 > Th2, and the range of L is in [300, 400].
6. The real-time analysis and processing system according to claim 3, characterized in that: The continuous signal detection using the power spectral density includes: dividing the finite-length DDC channel signal into multiple overlapping segments of length L1, with an overlap of L1 / 4 between adjacent segments. The average modified periodogram method is used to estimate the power spectral density function of each segment of data. If the power spectral density of each segment of data with a length of L1 is greater than the set threshold within the preset bandwidth range, it is considered that the entire finite-length channel signal is a continuous signal. The range of L1 is in [300, 500], and the set threshold is μ + kδ, where μ is the mean of each segment of data, δ is the variance of this segment of data, and the range of k is in [10, 15].
7. The real-time analysis and processing system according to claim 1, characterized in that: When the data in the vita packet is a continuous signal, the signal processing thread performs conventional signal recognition. When the data in the vita packet is a burst signal, the signal processing thread uses a deep neural network to perform target intelligent recognition of the target individual, platform type, and communication system.
8. The real-time analysis and processing system according to claim 7, characterized in that: The deep neural network includes: a convolutional neural network, a recurrent neural network, and a deep belief neural network cascaded in sequence. The channel data obtained by parsing the vita packet data by the data parsing thread is input to the convolutional neural network. The signal features of each channel extracted by the convolutional neural network model are concatenated to form a tensor, which is used as the input of the recurrent neural network model. The recurrent neural network model outputs a sequence containing temporal features to the deep belief neural network, and the deep belief neural network identifies the target individual, platform type, and communication system based on the sequence of the temporal features.
9. The real-time analysis and processing system according to claim 1, characterized in that: VS and MATLAB development tools are installed on the computer. The data receiving thread created by the VS development tool receives the vita packets transmitted by the FPGA. The signal processing thread created by the VS development tool returns the in-packet data of the vita packet to the upper-layer application through a callback function and stores it in the corresponding storage file according to the channel number. MATLAB reads the data in the storage file, and MATLAB uses a plotting function to display the in-packet data of the vita packet received by each channel with the sampling point number and sampling point amplitude as the horizontal and vertical coordinates through pictures, so as to judge whether there is any loss of the data received and parsed by the data receiving thread and the data parsing thread.
10. The real-time analysis and processing system according to claim 1, characterized in that: The signal processing board also includes a USB interface circuit, which includes a USB conversion chip and a USB connector; the USB conversion chip is used to convert the vita package data output by the FPGA into a USB data format and communicate with the computer through the USB connector.
Citation Information
Patent Citations
VPX-platform-based radar signal processing system and application software design method
CN107167773A
FPGA (field programmable gate array) Circuit board and telescope digital operational board
CN108196358A
Storage parsing device and storage parsing method based on 10-gigabit Ethernet interface receiver
CN109547355A
X-band multi-pulse radar echo high-speed parallel processing system
CN114280567A
Techniques for implementing a portable spectrum analyzer
US20180091336A1
Cited By
Time domain burst signal extraction method and device, electronic equipment and storage medium
CN120145028A
Time domain burst signal extraction method, device, electronic device and storage medium
CN120145028B
