A sea state echo acquisition system and method based on ground wave radar
By designing data upload, analysis, processing and storage modules in the ground wave radar system, using FIFO mode and multi-thread processing, the real-time and efficiency problems in high-frequency sea state echo data collection are solved, and stable and efficient data collection and processing, reducing the frame loss rate.
Patent Information
- Application Number
- CN202111034108.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-03
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-09-03
AI Technical Summary
When facing the collection of high-frequency sea state echo data, the existing ground wave radar system cannot collect, process and store in time, resulting in errors such as frame loss, and cannot meet the needs of diversity and high sampling rate.
A sea state echo acquisition system based on ground wave radar is designed, including a data upload and download module, a data analysis and processing module, a data storage module and a data display module. It adopts FIFO mode and multi-thread processing, and returns data through Fourier transform. wave data, and caches spectrum data in the noise data buffer to ensure data timing and processing efficiency.
It realizes real-time and sequential collection and processing of multi-channel data, improves the stability and efficiency of the system, reduces the frame loss rate, and can intelligently schedule according to computer resources to ensure that the system operates stably when resources are tight and when resources are sufficient. Speed up data processing.
Smart Images

Figure CN113866738B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of ground wave radar, and relates to a sea state echo acquisition system and method based on ground wave radar. Background Art
[0002] As an emerging marine environment monitoring technology, high-frequency ground wave radar has the characteristics of beyond-horizon, large range, all-weather and low cost. It is an effective monitoring means for the 200-nautical-mile exclusive economic zone. All coastal developed countries have invested in research and development and implemented years of comparative verification and application demonstration. High-frequency ground wave radar uses the characteristics of short waves with low attenuation on the ocean surface and uses vertically polarized antennas to radiate radio waves. It can detect targets such as aircraft, ships, icebergs and missiles below the sea level beyond the horizon. At the same time, it uses the first-order and second-order scattering of electromagnetic waves by the ocean surface to extract wind field, wave field and flow field information from radar echo information to achieve real-time monitoring of the marine environment.
[0003] Currently, packet capture technology is used to collect radar data. However, when the sampling rate increases exponentially and the diversity of sampling requirements becomes higher, the system faces performance issues such as being unable to collect, process, and store data in a timely manner, resulting in errors such as frame loss.
[0004] Therefore, there is an urgent need for a system and method for collecting sea echo data from ground wave radar, which can handle massive, high-frequency streaming data and collect, classify, process and store the data in sequence according to the timeline. Summary of the invention
[0005] In view of this, the present invention provides a sea state echo acquisition system and method based on ground wave radar, which can simultaneously perform real-time and sequential acquisition and processing of multi-channel data for ground wave radar sea state echo data.
[0006] To achieve the above object, the technical solution of the present invention is:
[0007] A sea state echo acquisition system based on ground wave radar. The ground wave radar receiving antenna receives the radar echo signal, which is received by the radar receiver FPGA program after A / D conversion, and is processed and sent out as a data packet. The sea state echo acquisition system includes a data upload and download module, a data analysis and processing module, a data storage module and a data display module.
[0008] The data upload and download module includes a host that can be connected to the network, which is used to capture the link layer echo signal and send it to the data analysis and processing module.
[0009] The data analysis and processing module analyzes and classifies the link layer echo signal according to the radar receiver communication protocol to obtain echo data and spectrum data and sends them to the data storage module.
[0010] The data storage module is provided with a channel data buffer, a noise data buffer, a sampling data table, a sampling parameter table and a spectrum monitoring data table.
[0011] The channel data buffer is used to receive and cache echo data, thereby providing echo data for the data analysis and processing module.
[0012] The noise data buffer is used to receive spectrum data and cache it in the noise data buffer queue to provide spectrum data for the data analysis and processing module.
[0013] The sampling data table is used to store the complex signal value at each distance element of each channel, and is associated with the sampling parameter table through the parameter index.
[0014] The sampling parameter table is used to record the sampling parameters, including the sampling start and end time, sampling frame number, frequency sweep period, frequency sweep point number and frequency sweep bandwidth; it is associated with the sampling data table through the parameter index.
[0015] The spectrum monitoring data table is used to record spectrum monitoring data, which includes spectrum data sampling time and complex signal values at each distance element.
[0016] The data display module is used to display echo data in the channel data buffer, display Doppler data in the sampling data table, display radar status of data in the sampling parameter table, display noise statistics of data in the spectrum detection data table, and display noise spectrum of data in the noise data buffer.
[0017] Furthermore, the data upload and download module includes a host that can be connected to the network and is used to capture the link layer echo signal. The specific method is: the host captures the link layer echo data through the packet capture technology.
[0018] Furthermore, each module in the sea state echo acquisition system works under the same local area network.
[0019] Further, for any sea state echo acquisition system, the acquisition method includes the following steps:
[0020] The transmitting antenna of the ground wave radar radiates the modulated and amplified electromagnetic signal outward, and the receiving antenna receives the radar echo signal scattered back from the sea surface. After A / D conversion, it is received by the radar receiver FPGA program, processed, and the data packet is sent outward.
[0021] The sea echo acquisition system working in the same local area network captures the link layer echo data, and parses the link layer echo data according to the receiver communication protocol in the data upload and download modules, where the echo data and spectrum data types enter different processing flows.
[0022] Analyze the echo data, the transmission signal period is T p , the transmitted pulse count is q, and the sampling rate is The number of echo data packets in one frame is n. Continuously sampling n echo data packets is a complete frame of sea state echo data of the receiver:
[0023] After the sea state echo acquisition system collects a complete frame of echo data, it caches the echo data in FIFO mode.
[0024] The data analysis and processing module is designed in a multi-threaded mode. The number of threads is bound to the number of channels. Each thread is responsible for processing the echo data of a channel. After taking the echo data from the cache, it analyzes and processes the echo data in the channel thread respectively.
[0025] In the thread corresponding to each channel, the amplitude corresponding to each point of the echo data is first processed.
[0026] Then, the processed echo data is transformed from the time domain to the frequency domain using Fourier transform, the range spectrum is separated from the original echo signal, and the range spectrum graph is refreshed in real time by drawing a line graph.
[0027] After all echo data are calculated, a complete frame of echo data is stored in the order of channel 1, channel 2, ..., channel i to form a sampling data table; the echo data in the channel is stored in the sampling data table in the order of distance element 1, distance element 2, ..., distance element j.
[0028] After accumulating 1024 frames of echo data in each channel and each range element, a second Fourier transform is performed, and then the Doppler spectrum is generated by drawing a color scale diagram, and the Doppler display is performed by the data display module.
[0029] In one frequency sweep cycle, one frame of spectrum data is divided into 8 packets in the data analysis and processing module, each packet is 128 bytes, and is sent to the noise data buffer during the sampling and transmission interval.
[0030] For the spectrum data in the noise data buffer, the data display module refreshes the spectrum graph in real time by drawing a line graph. The spectrum graph displays the amplitude of the spectrum data at each sampling point.
[0031] For ground wave radar receivers, the sea echo acquisition system based on ground wave radar provides receiver control and waveform parameter sending functions.
[0032] Furthermore, the processed spectrum data is transformed from the time domain to the frequency domain using Fourier transform. The specific method is as follows:
[0033]
[0034] Where t is time, f(t) is the periodic function of t, e is the natural base, ω is the angular velocity, and F(ω) is the frequency domain function.
[0035] Beneficial effects: The present invention sends data through link layer broadcasting, collects data through packet capture technology, and performs data structure design and signal processing according to the principle of ground wave radar acquisition system. The present invention is based on the ground wave radar data link design, and the system is structured according to the characteristics of ground wave radar data such as high timing requirements, large volume, and fast transmission rate, which can ensure stable and efficient operation of the system. The system of the present invention adopts FIFO data structure to ensure data timing input, uses multi-threading mode for signal processing, increases data processing efficiency, and improves stack popping speed. Through such an architectural design, the system can realize system caching data when operating system resources are tight, and fully utilize system resources to accelerate data processing when resources are sufficient, so as to achieve the ability to dynamically utilize system resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is an architecture diagram of a sea echo acquisition system based on ground wave radar.
[0037] Figure 2 This is a schematic diagram of the FIFO storage structure.
[0038] Figure 3 This is a schematic diagram of link layer data I / O.
[0039] Figure 4 Schematic diagram of distance spectrum data structure.
[0040] Figure 5 Schematic diagram of Doppler spectrum data structure. DETAILED DESCRIPTION
[0041] The present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0042] like Figure 1 As shown, the present invention provides a sea state echo data acquisition system based on ground wave radar, which uses a ground wave radar receiving antenna to receive radar echo signals, which are received by a radar receiver FPGA program after A / D conversion, and are processed and sent out as data packets. The sea state echo acquisition system includes a data upload and download module, a data analysis and processing module, a data storage module, and a data display module. In the embodiment of the present invention, each module in the sea state echo acquisition system works under the same local area network.
[0043] Among them, the data upload and download module includes a host that can be connected to the network, which is used to capture the link layer echo data and send it to the data analysis and processing module.
[0044] The data analysis and processing module analyzes and classifies the link layer echo signal according to the radar receiver communication protocol to obtain echo data and spectrum data and sends them to the data storage module. In the embodiment of the present invention, the host captures the link layer echo data through the packet capture technology.
[0045] The data storage module is provided with a channel data buffer, a noise data buffer, a sampling data table, a sampling parameter table and a spectrum monitoring data table.
[0046] The channel data buffer is used to receive and cache echo data, thereby providing echo data for the data analysis and processing module.
[0047] The noise data buffer is used to receive spectrum data and cache it in the noise data buffer queue to provide spectrum data for the data analysis and processing module.
[0048] The sampling data table is used to store the complex signal value at each distance element of each channel, and is associated with the sampling parameter table through the parameter index.
[0049] The sampling parameter table is used to record the sampling parameters. The sampling parameters include the sampling start and end time, sampling frame number, frequency sweep period, frequency sweep point number and frequency sweep bandwidth. The parameter index is used to establish an association with the sampling data table.
[0050] The spectrum monitoring data table is used to record spectrum monitoring data, which includes spectrum data sampling time and complex signal values at each distance element.
[0051] The data display module is used to display echo data in the channel data buffer, display Doppler data in the sampling data table, display radar status of data in the sampling parameter table, display noise statistics of data in the spectrum detection data table, and display noise spectrum of data in the noise data buffer.
[0052] In view of the above system, the present invention proposes a sea echo acquisition method based on ground wave radar, which is characterized by stability, high efficiency, low frame loss rate, and the ability to intelligently and reasonably dispatch system resources according to computer performance. The specific steps are as follows:
[0053] The transmitting antenna of the ground wave radar radiates the modulated and amplified electromagnetic signal outward, and the receiving antenna receives the radar echo signal scattered back from the sea surface. After A / D conversion, it is received by the radar receiver FPGA program, processed, and the data packet is sent outward.
[0054] The sea echo acquisition system working in the same local area network captures the link layer echo data, and parses the link layer echo data according to the receiver communication protocol in the data upload and download modules, where the echo data and spectrum data types enter different processing flows. Figure 3 This is a schematic diagram of link layer data I / O.
[0055] Analyze the echo data, the transmission signal period is T p , the transmitted pulse count is q, and the sampling rate is The number of echo data packets in one frame is n, and continuous sampling of n frequency echo data packets is a complete frame of sea state echo data of the receiver.
[0056]
[0057] After the system collects a complete frame of sea echo data, it caches the echo data in FIFO mode to avoid data packet loss caused by system resource shortage or untimely data processing in downstream links. Figure 2 This is a schematic diagram of the FIFO storage structure.
[0058] The data analysis and processing module is designed in a multi-threaded mode. The number of threads is bound to the number of channels. Each thread is responsible for the data processing of one channel. After taking the data out of the cache, the data is analyzed and processed in the channel thread respectively, which speeds up the FIFO stack popping speed and improves the data processing performance.
[0059] In the thread corresponding to each channel, the amplitude corresponding to each point of the echo data is first processed by windowing, mainly to ensure that the time domain signal can better meet the periodicity requirements of Fourier transform and reduce leakage. The system uses Hamming window to obtain better main lobe resolution and reduce side lobe tailing.
[0060]
[0061] Among them, ω n is the corresponding amplitude of the nth point, and N is the number of spectrum data.
[0062] After the signal passes through the window, the Fourier transform is used to transform the signal from the time domain to the frequency domain, and the distance spectrum is separated from the original echo signal. Then, the distance spectrum graph is refreshed in real time by drawing a line graph, that is, the distance display of the echo data. Figure 4 Schematic diagram of distance spectrum data structure.
[0063]
[0064] Where t is time, f(t) is the periodic function of t, e is the natural base, and w is the angular velocity.
[0065] After all channel data are calculated, a complete frame of data is stored in the database in the order of channel 1, channel 2 ... channel i, and the data in the channel is stored in the order of distance element 1, distance element 2 ... distance element j.
[0066] The processed echo data is transformed from the time domain to the frequency domain using Fourier transform, and the distance spectrum is separated from the original echo signal. The distance spectrum graph is then refreshed in real time by drawing a line graph. According to the characteristics of Fourier transform, each channel and each distance element accumulates 1024 frames of data continuously before performing the second Fourier transform. Assuming the number of channels is i and the number of distance elements is j, 1024×i×j Fourier transforms are required, and then the Doppler spectrum is generated by drawing a color scale diagram. According to the receiver waveform parameter design, the period of 1 frame of data is T p ×q, it takes 1024×T to generate a set of Doppler images p ×q milliseconds. Figure 5 Schematic diagram of Doppler spectrum data structure.
[0067] After all echo data are calculated, a complete frame of echo data is stored in the order of channel 1, channel 2, ..., channel i to form a sampling data table; the echo data in the channel is stored in the sampling data table in the order of distance element 1, distance element 2, ..., distance element j.
[0068] After accumulating 1024 frames of echo data in each channel and each range element, a second Fourier transform is performed, and then the Doppler spectrum is generated by drawing a color scale diagram, and the Doppler display is performed by the data display module.
[0069] In one frequency sweep cycle, one frame of spectrum data is divided into 8 packets in the data analysis and processing module, each packet is 128 bytes, and is sent to the noise data buffer during the sampling and transmission interval.
[0070] For the spectrum data in the noise data buffer, the data display module refreshes the spectrum graph in real time by drawing a line graph, and the spectrum graph is the amplitude display of the spectrum data at each sampling point. In the embodiment of the present invention, according to the FPGA communication protocol, a frame of spectrum data is divided into 8 packets in a frequency sweep cycle, each packet is 128 bytes, and is sent during the sampling transmission interval. After receiving the data, the system assembles the packets and then refreshes the spectrum graph in real time by drawing a line graph.
[0071] For ground wave radar receivers, the sea echo acquisition system provides receiver control and waveform parameter sending functions.
[0072] An embodiment is given below to further illustrate the present invention.
[0073] First, the waveform parameters are configured according to the waveform design requirements and sent to the ground wave radar receiver. The system starts running with the command:
[0074] plosmar00012a1b2c3d4e5a05328f5c28f05c281132713431161a8004c4b400170a3d70a3d74e200048efe000010a300003a98000305730d4004dd1e
[0075] Among them, plosmar00012 is the source address, a1b2c3d4e5 is the frame header, and the rest is the data part.
[0076] Then, the receiver modulates the waveform and transmits electromagnetic waves to the ocean surface through the transmitter. After the receiving antenna receives the sea state echo, it receives and processes the signal through the FPGA program, and then sends the data to the link layer in the form of broadcast. The echo data is:
[0077] ffffffffffffplosmar00012a1b1c1d1e1f1c911b361e09be0dea31782fdd6beb9eea31 bd59e9bd7236cbc90c801491cf3436ec1e331a9257b4d2a54e121d82ceabd01025678
[0078] Among them, ffffffffffff is the destination address, all f means it is sent in broadcast form, and all computers in the LAN will receive the data, plosmar00012 is the source address, a1b1c1d1e1f1 is the frame header, 01025678 is the frame tail, and the rest is the data part.
[0079] Next, after the system collects the data, it parses and organizes it according to the data protocol. After accumulating one frame of data, it is added to the FIFO stack structure. The data is popped out using multiple threads and processed simultaneously according to the principle of ground wave radar. It first passes through the window and then performs Fourier transform, refreshes the range spectrum and frequency spectrum in real time, and stores the echo data in the database after all channels have completed the calculation.
[0080] Finally, after 1024 frames of data are collected, the echo data is subjected to a second Fourier transform to draw the Doppler spectrum; the spectrum data is statistically analyzed to draw a spectrum statistics graph.
[0081] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.
Claims
1. A sea state echo acquisition system based on ground wave radar, characterized in that: The ground wave radar receiving antenna receives the radar echo signal, which is received by the radar receiver FPGA program after A / D conversion, and then processed and sent out as a data packet. The sea echo acquisition system includes a data uploading and sending module, a data analysis and processing module, a data storage module, and a data display module; The data upload and download module includes a host that can be connected to the network, which is used to capture the link layer echo signal and send it to the data analysis and processing module; The data analysis and processing module analyzes and classifies the link layer echo signal according to the radar receiver communication protocol to obtain echo data and spectrum data and sends them to the data storage module; The data storage module is provided with a channel data buffer, a noise data buffer, a sampling data table, a sampling parameter table and a spectrum monitoring data table; The channel data buffer is used to receive and cache echo data, thereby providing the echo data to the data analysis and processing module; The noise data buffer is used to receive spectrum data and cache it in the noise data buffer queue to provide spectrum data for the data analysis and processing module; The sampling data table is used to store the complex signal value at each distance element of each channel, and is associated with the sampling parameter table through a parameter index; The sampling parameter table is used to record sampling parameters, including sampling start and end time, sampling frame number, frequency sweep period, frequency sweep point number and frequency sweep bandwidth; and is associated with the sampling data table through parameter index; The spectrum monitoring data table is used to record spectrum monitoring data, wherein the spectrum monitoring data includes the complex signal value at the spectrum data sampling time and each distance element; The data display module is used to display echo data of data in the channel data buffer, display Doppler of data in the sampling data table, display radar status of data in the sampling parameter table, display noise statistics of data in the spectrum detection data table, and display noise spectrum of data in the noise data buffer.
2. The system according to claim 1, characterized in that The data upload and download module includes a host that can be connected to the network and is used to capture the link layer echo signal. The specific method is: the host captures the link layer echo data through the packet capture technology.
3. The system according to claim 2, characterized in that Each module in the sea state echo acquisition system works in the same local area network.
4. A method for collecting sea state echoes based on ground wave radar, characterized in that: For the sea state echo acquisition system according to any one of claims 1 to 3, the acquisition method comprises the following steps: The transmitting antenna of the ground wave radar radiates the modulated and amplified electromagnetic signal outward, and the receiving antenna receives the radar echo signal scattered back from the sea surface. After A / D conversion, it is received by the radar receiver FPGA program, processed, and sent out as a data packet; The sea echo acquisition system working in the same local area network captures the link layer echo data, and parses the link layer echo data according to the receiver communication protocol in the data upload and download modules, where the echo data and spectrum data types enter different processing flows; Analyze the echo data, the transmission signal period is T p , the transmitted pulse count is q, and the sampling rate is The number of echo data packets in one frame is n. Continuously sampling n echo data packets is a complete frame of sea state echo data of the receiver: After the sea state echo acquisition system collects a complete frame of echo data, it caches the echo data in FIFO mode; The data analysis and processing module adopts a multi-threaded design. The number of threads is bound to the number of channels. Each thread is responsible for processing the echo data of a channel. After taking the echo data from the cache, it analyzes and processes the echo data in the channel thread respectively. In the thread corresponding to each channel, the amplitude corresponding to each point of the echo data is first processed; Then, the processed echo data is transformed from the time domain to the frequency domain using Fourier transform, the range spectrum is separated from the original echo signal, and the range spectrum graph is refreshed in real time by drawing a line graph; After all echo data are calculated, a complete frame of echo data is stored in the order of channel 1, channel 2, ..., channel i to form a sampling data table; The echo data in the channel are stored in the sampling data table in the order of distance element 1, distance element 2, ..., distance element j; After accumulating 1024 frames of echo data in each channel and each range element, a second Fourier transform is performed, and then a Doppler spectrum is generated by drawing a color scale diagram, and the Doppler display is performed by the data display module; In one frequency sweep cycle, a frame of spectrum data is divided into 8 packets in the data analysis and processing module, each packet is 128 bytes, and is sent to the noise data buffer during the sampling and transmission interval; For the spectrum data in the noise data buffer, the data display module refreshes the spectrum graph in real time by drawing a line graph, and the spectrum graph is the amplitude display of the spectrum data at each sampling point; For the ground wave radar receiver, the sea state echo acquisition system based on the ground wave radar provides receiver control and waveform parameter sending functions.
5. The method according to claim 4, characterized in that The Fourier transform is used to transform the processed spectrum data from the time domain to the frequency domain. The specific method is: Where t is time, f(t) is the periodic function of t, e is the natural base, ω is the angular velocity, and F(ω) is the frequency domain function.
