Signal recording frequency spectrum panoramic preview generation and frame selection positioning method
By generating a spectrum panoramic preview map and performing detection processing, the problem of low electromagnetic signal analysis efficiency in the prior art is solved, intuitive observation and rapid positioning in the time and frequency domains are realized, and offline analysis efficiency is improved.
Patent Information
- Application Number
- CN202411301222.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2024-12-06
AI Technical Summary
During the electromagnetic signal recording and analysis process, it is difficult for the prior art to efficiently extract the signal information of interest from massive data, resulting in low offline analysis efficiency, and the time domain curve diagram display is not intuitive, making it difficult to observe the signal distribution.
By converting the radio frequency signal into IQ data, and using FFT to generate spectrum data, creating a spectrum panoramic preview map, performing logarithmic conversion and detection processing, and displaying the spectrum waterfall map. Users can box and select positioning in the time domain and frequency domain dimensions. The region of interest was analyzed.
This greatly reduces the amount of data and increases the information density, so that users can quickly grasp signal distribution, improve production efficiency and positioning accuracy, and simplify the offline analysis process.
Smart Images

Figure CN119087038A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of electromagnetic signal recording and analysis, and in particular relates to a method for generating a panoramic preview image of a signal recording spectrum and for frame selection and positioning. Background Art
[0002] In application fields such as spectrum monitoring, electronic countermeasures, and range testing, due to real-time limitations, on-site monitoring and analysis often cannot achieve the desired results. Therefore, it is necessary to record external electromagnetic signals for subsequent reanalysis. In order to record more information and avoid missing signals, electromagnetic signal recording is developing towards high speed and large bandwidth. At present, the recording rate has reached more than 10GB / S, the bandwidth has reached 2GHz, and the amount of recorded data has also increased greatly, reaching the 10TB level. With the development of storage technology and storage chips, real-time recording capabilities can already meet most signal recording needs. However, in the subsequent offline analysis process, how to accurately and efficiently extract signals of interest from the massive amount of stored data, quickly mine valuable information, and maximize the use of recorded data is still a difficult problem.
[0003] In the prior art, before conducting post-offline analysis, it is necessary to first retrieve valid data from the electromagnetic signal recording data in the storage medium, and locate the data that meets the conditions from the massive data. At present, most of the technical solutions used are time domain data browsing, that is, firstly, the IQ data file is roughly read with a large granularity to generate an overview time domain curve image. When further information is needed, the user needs to select a time period on the curve image, and the program reads the IQ data corresponding to the time period from the file with a smaller granularity, redraws the curve, and the user observes the shape and position of the time domain curve to determine the data that needs to be analyzed. If you need to view frequency-related information, you need to further convert, analyze, and process the IQ data during preview.
[0004] The IQ data information screening adopted by the existing technology has a large amount of data and a slow speed. Since the generated time domain overview diagram is too dense, the amount of observable information is small, and the signal distribution cannot be observed from a global perspective. Frequent local zooming is often required. This process is time-consuming and labor-intensive, greatly reducing productivity. At the same time, due to the use of time domain curve display, there is no intuitive electromagnetic signal amplitude and other related information, so the observation is not intuitive and the screening is difficult. Summary of the invention
[0005] In view of various deficiencies in the prior art, the inventors have designed a method for generating and framing a panoramic preview image of a signal recording spectrum through long-term practice.
[0006] An embodiment of the present invention provides a method for generating a panoramic preview image of a signal recording spectrum and for frame selection positioning, the method comprising the following steps:
[0007] Step S100: The RF signal is converted into an intermediate frequency signal by the RF front end, the intermediate frequency signal is collected by the ADC, and after AD conversion, digital data is generated, and the digital data is down-converted by the DDC to generate IQ data;
[0008] Step S200: The IQ data is used to implement two functions at the same time, one of which is to enter the storage unit for recording through the high-speed serial interface, and the other is to perform FFT conversion on the IQ data to generate spectrum data to obtain spectrum amplitude values for generating spectrum panoramic preview image data;
[0009] Step S300: symmetrically converting the spectrum amplitude value from a linear value to a logarithmic value to obtain spectrum panoramic preview image data;
[0010] Step 400: Detecting and holding the spectrum panoramic preview image data to obtain the spectrum panoramic preview image data;
[0011] Step 500: Obtain panoramic preview image data, which is displayed in the form of a spectrum waterfall diagram. The user observes the signal distribution in the time domain and frequency domain, selects the area of interest with the mouse, and analyzes the selected content offline.
[0012] Preferably, in step S200, the IQ data is subjected to FFT conversion to generate spectrum data. The specific process is to perform DFT on a computer. The calculation formula of DFT is:
[0013]
[0014] in the formula It is called the butterfly factor. The input value used is the sample value collected by the digital oscilloscope after passing through the ADC. The transformed spectrum output contains the same number of sampling points.
[0015] Preferably, in step S300, the spectrum amplitude value is converted from a linear value to a logarithmic value by symmetrical conversion, and the linear value is converted into a logarithmic value according to the following formula:
[0016] AL=CVlog10(A)+CAL.
[0017] in:
[0018] A is the linear value;
[0019] CV is a constant value determined by the device hardware system;
[0020] CAL is the calibration value, obtained by calibrating the device hardware;
[0021] AL is the logarithmic value.
[0022] Preferably, in step S400, the spectrum panoramic preview map data is subjected to detection and holding processing, specifically including merging adjacent multiple frames of spectrum data into one frame of data through maximum holding processing in the time dimension, and merging adjacent several points of data into one point through detection and maximum holding in the frequency dimension.
[0023] Merging adjacent multiple frames of spectrum data into one frame of data through maximum holding processing in the time dimension. The specific method is as follows: assuming that each frame of spectrum data has n frequency points, and adjacent m frames of spectrum data are subjected to maximum holding processing in the time dimension, then the amplitude value of the i-th frequency point in the merged data frame in the time dimension is obtained according to the following formula:
[0024] A i =max(A j ), i = 0, 1,... n - 1, j = 0, 1,... m - 1.
[0025] Merging adjacent several points of data into one point through detection and maximum holding in the frequency dimension. The specific method is as follows: assuming that in the frequency dimension, the number of frequency points is n, and the number of frequency points after detection and maximum holding merging in the frequency dimension is k, then every n / k points are merged into 1 point. Among them, when n < k, n / k < 1, no merging is required, and the original data can be retained. Then the amplitude value of the i-th frequency point in the merged data frame in the frequency dimension is obtained according to the following formula:
[0026] A i =max(A j ), i = 0, 1,... k - 1;
[0027]
[0028] Preferably, the generated spectrum panoramic preview map data has accurate timestamps, and the timestamps use the same system clock as the IQ data records that enter the storage unit through the high-speed serial interface for recording. The generated spectrum panoramic preview map data contains the signal power information of each frequency point.
[0029] Preferably, in step S500, before performing the offline analysis, the user uses the time range and frequency range for preliminary filtering, preliminarily retrieves the IQ data record information that meets the conditions, selects one of the records, and uses the spectrum panoramic preview function to perform a panoramic preview of the record.
[0030] Preferably, the spectrum panoramic preview data is displayed in the form of a spectrum waterfall diagram, with the x-axis being frequency, the y-axis being time, and the amplitude being represented by different colors; the user observes the signal distribution in both the time domain and the frequency domain, locates the time and frequency position of the signal of interest, and then performs a box selection operation with the mouse, the box selection operation is performed in both the time domain and the frequency domain, and finally performs an offline analysis operation of the specified time period and the specified frequency band.
[0031] The beneficial effects of the present invention are:
[0032] 1. The spectrum panoramic preview data is detected and held, and the amount of data is greatly reduced, but it contains a large amount of information. A large amount of information can be displayed in a limited area. Users can quickly grasp the signal distribution from a global perspective and conduct rapid retrieval, greatly improving production efficiency.
[0033] 2. The distribution of electromagnetic signals and signal power can be displayed in both frequency domain and time domain, which is more intuitive and convenient for users to quickly observe and locate.
[0034] 3. Since the selection operation is performed in the time domain and frequency domain, the offline analysis operation can be specific to the specified time period and frequency band, which not only improves the efficiency of positioning, but also greatly improves the efficiency of offline analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a flowchart of the steps of the spectrum panoramic preview image generation and frame selection positioning method of the present invention;
[0036] Figure 2 It is an effect diagram of the process of transforming IQ data from time domain to frequency domain in the present invention;
[0037] Figure 3 This is an effect diagram of the present invention performing detection and holding processing on the spectrum panoramic preview data;
[0038] Figure 4 It is a flowchart of the steps of selecting and positioning the spectrum panoramic preview image in the time domain and the frequency domain of the present invention;
[0039] Figure 5 This is an effect diagram of the present invention using a spectrum waterfall diagram to perform a frame selection operation. DETAILED DESCRIPTION
[0040] The present invention will be further described in detail below in conjunction with the accompanying drawings and implementation examples. These implementation examples are described in sufficient detail so that those skilled in the art can understand and practice the present invention. Without departing from the spirit and scope of the present invention, logical, achievable and other changes may be made to the implementation. Therefore, the following detailed description should not be construed as limiting, and the scope of the present invention is limited only by the claims.
[0041] See also Figure 1 , shows a flow chart of the steps of a method for generating a panoramic preview image of a signal recording spectrum and selecting and locating a frame according to the present invention, the method comprising the following steps:
[0042] Step S100: The RF signal is converted into an intermediate frequency signal by the RF front end, the intermediate frequency signal is collected by the ADC, and after AD conversion, digital data is generated, and the digital data is down-converted by the DDC to generate IQ data.
[0043] Step S200: Record the aforementioned IQ data.
[0044] In this embodiment, the IQ data is used to implement two functions at the same time. One path enters the storage unit through the high-speed serial interface for recording, that is, the conventional recording process. The other path performs FFT conversion on the IQ data to generate spectrum data, which is used to generate spectrum panoramic preview image data.
[0045] FFT is an efficient algorithm of discrete Fourier transform (DFT), also known as fast Fourier transform.
[0046] In this embodiment, the specific process of performing FFT conversion on the IQ data is as follows:
[0047] The time domain IQ data is converted into frequency domain spectrum data through FFT to obtain the spectrum amplitude value. This process is implemented by FPGA.
[0048] FPGA, or Field Programmable Gate Array (FPGA), is a type of programmable logic device and has become one of the mainstream platforms for implementing digital systems. FPGA consists of several independent programmable logic modules, and users can connect these modules into the required digital system through programming. Xilin xcku115 chip is selected as the core device to design signal processing. Using Xilinx System Generator, the abstract algorithm of the digital signal processing system can be established in the MATLAB / Simulink environment, and the algorithm can be converted into a reliable hardware implementation.
[0049] The FFT conversion algorithm is one of the mature core algorithms currently available in FPGA. Using FPGA to implement the FFT conversion process has more advantages in real-time performance and speed than using CPU.
[0050] Fast Fourier transform (FFT) is one of the most basic methods in time domain-frequency domain transformation analysis. The principle of its transformation process is as follows: Figure 3As shown. Among them,
[0051] The calculation formula of DFT is as follows:
[0052]
[0053] In formula 1, It is called the butterfly factor.
[0054] The DFT performed on a computer uses the sampled values collected by the digital oscilloscope after passing through the ADC, that is, the signal value in the time domain. The number of input sampling points determines the scale of the conversion calculation. The transformed spectrum output contains the same number of sampling points, but half of the values are redundant and are usually not displayed in the spectrum, so the truly useful information is N / 2+1 points.
[0055] The FFT process greatly simplifies the process of performing DFT in a computer. In simple terms, if the original complexity of calculating DFT is N*N operations (N represents the number of input sampling points), the computational complexity of FFT is N*log10(N). Therefore, to calculate a DFT of 1000 sampling points, the FFT algorithm only needs to calculate 3000 times, while the conventional DFT algorithm needs to calculate 1000000 times.
[0056] Step S300: symmetrically transform the spectrum amplitude value from a linear value to a logarithmic value to obtain spectrum panoramic preview image data.
[0057] The spectrum data generated by FFT conversion is a linear value. The value A is relatively large, but the difference ΔA between the values is not large, that is, the ratio of ΔA to A is very small. The difference between the signal value and the noise floor value on the spectrum graph is not large, and the signal cannot be well reflected. Therefore, the spectrum data needs to be further processed to convert the linear value into a logarithmic value. The formula is:
[0058] AL=CVlog10(A)+CAL;
[0059] in:
[0060] A is the linear value;
[0061] CV is a constant value determined by the device hardware system;
[0062] CAL is the calibration value, obtained by calibrating the device hardware;
[0063] AL is the logarithmic value.
[0064] Step S400: Detect and hold the spectrum panoramic preview image data.
[0065] Considering that the large amount of data in the spectrum panoramic preview map will cause the problem of slow panoramic preview drawing, in this embodiment, the spectrum data is detected and held on the premise of retaining the preview details.
[0066] See Figure 3 , which shows the effect diagram of detecting and holding the spectrum panoramic preview map data in this embodiment. The detection and holding process of the spectrum panoramic preview map data includes two dimensions: time and frequency.
[0067] First, in the time dimension, multiple adjacent frames of spectrum data are merged into one frame of data through maximum hold processing. The specific method is as follows:
[0068] Assume that each frame of spectrum data has n frequency points. When performing maximum hold processing on m adjacent frames of spectrum data in the time dimension, the amplitude value of the i-th frequency point in the merged data frame in the time dimension is:
[0069] A i = max(A j ), i = 0, 1,... n - 1, j = 0, 1,... m - 1;
[0070] Then, in the frequency dimension, adjacent several points of data are detected, and the maximum hold is merged into one point. The specific method is as follows:
[0071] Assume that in the frequency dimension, the number of frequency points is n, and after detection and maximum hold merging in the frequency dimension, the number of frequency points is k. Then, every n / k points are merged into 1 point (when n < k, n / k < 1, no merging is required, and the original data can be retained). Then, the amplitude value of the i-th frequency point in the merged data frame in the frequency dimension is:
[0072] A i = max(A j ), i = 0, 1,... k - 1;
[0073]
[0074]
[0075] After detecting and holding the spectrum panoramic preview map data, the spectrum panoramic preview map data is further streamlined (it can be reduced from the original TB level to the KB level), improving the efficiency of subsequent panoramic preview map drawing.
[0076] The generated spectrum panoramic preview map data has accurate timestamps, and this timestamp uses the same system clock as the IQ data record, ensuring synchronization with the recorded IQ data. At the same time, the spectrum panoramic preview map data contains the signal power information of each frequency point, which provides data support for accurate and efficient positioning before subsequent offline analysis.
[0077] Step S500: Obtain panoramic preview image data, which is displayed in the form of a spectrum waterfall diagram. The user observes the signal distribution in the time domain and frequency domain, selects the area of interest with the mouse, and analyzes the selected content offline.
[0078] See also Figure 4 , showing a flowchart of the steps of selecting and locating the spectrum panoramic preview image in the frequency domain and time domain. Before performing offline analysis, the user uses the time range and frequency range for preliminary filtering, preliminarily retrieves the IQ data record information that meets the conditions, selects one of the records, and uses the spectrum panoramic preview function to perform a panoramic preview of the record. The spectrum panoramic preview image displays the distribution of the signal in both the frequency domain and the time domain, and can intuitively display the signal power size. The user can also further observe the local situation by zooming in through the frame selection.
[0079] The spectrum panoramic preview data used in the panoramic preview image has been processed by detection, and the data volume has been greatly reduced, from the TB level of original IQ data to the KB level of panoramic preview data. This greatly shortens the data acquisition process and the display speed is fast.
[0080] See also Figure 5 , shows the effect of using the spectrum waterfall chart to perform the box selection operation in this embodiment. In this embodiment, the panoramic preview data is displayed in the form of a spectrum waterfall chart, with the x-axis being frequency, the y-axis being time, and the amplitude being represented by different colors. It contains a large amount of information and is intuitive. Users can observe the signal distribution in both the time domain and the frequency domain, quickly locate the time and frequency position of the signal of interest, and then perform the box selection operation with the mouse. The box selection operation is in both the time domain and the frequency domain. Offline analysis operations can be specific to specified time periods and specified frequency bands, greatly improving the efficiency of offline analysis.
[0081] The above description includes examples of one or more embodiments. Of course, it is impossible to describe all possible combinations of components or methods for the purpose of describing the above embodiments, but it should be recognized by those skilled in the art that the various embodiments may be further combined and arranged. Therefore, the embodiments described herein are intended to cover all such changes, modifications and variations that fall within the scope of protection of the appended claims. In addition, with respect to the term "comprising" used in the specification or claims, the word is covered in a manner similar to the term "including", just as "including," is explained as a transitional word in the claims. In addition, any term "or" used in the specification of the claims is intended to mean "non-exclusive or".
Claims
1. A method for generating a panoramic preview image of a signal recording spectrum and selecting and positioning a frame, characterized in that: It includes the following steps: Step S100: The radio frequency signal is converted into an intermediate frequency signal through the radio frequency front end, and the intermediate frequency signal is collected by the ADC. After AD conversion, digital data is generated. The digital data is then down-converted by the DDC to generate IQ data; Step S200: The IQ data is simultaneously used to implement two functions. One is to enter the storage unit through the high-speed serial interface for recording, and the other is to perform FFT conversion on the IQ data to generate spectrum data, obtain the spectrum amplitude value, and use it to generate spectrum panoramic preview map data; Step S300: The spectrum amplitude value is converted from a linear value to a logarithmic value through a symmetric conversion to obtain spectrum panoramic preview map data; Step 400: The spectrum panoramic preview map data is subjected to detection and hold processing to obtain spectrum panoramic preview map data; Step 500: Obtain the panoramic preview map data. The panoramic preview map data is displayed in the form of a spectrum waterfall diagram. The user observes the signal distribution in two dimensions of time domain and frequency domain, performs a box selection operation through the mouse, selects the concerned area, and analyzes the box selection content offline.
2. The method according to claim 1, characterized in that In step S200, when performing FFT conversion on the IQ data to generate spectrum data, the specific process is to perform DFT on the computer. The operation formula of DFT is in the formula It is called the butterfly factor. The input value used is the sample value collected by the digital oscilloscope after passing through the ADC. The transformed spectrum output contains the same number of sampling points.
3. The method according to claim 1, characterized in that In step S300, when converting the spectrum amplitude value from a linear value to a logarithmic value through a symmetric conversion, the linear value is converted to a logarithmic value according to the following formula: AL = CVlog10(A) + CAL; Where: A is the linear value; CV is a constant value determined by the device hardware system; CAL is a calibration value obtained by calibrating the device hardware; AL is the logarithmic value.
4. The method according to claim 1, characterized in that: In step S400, when performing detection and hold processing on the spectrum panoramic preview map data, it includes merging adjacent multiple frames of spectrum data into one frame of data through maximum hold processing in the time dimension, and merging adjacent several points of data into one point through detection and maximum hold in the frequency dimension.
5. The method according to claim 4, characterized in that The method of merging adjacent multiple frames of spectrum data into one frame of data through maximum hold processing in the time dimension is as follows: Assume that each frame of spectrum data has n frequency points. Perform maximum hold processing on adjacent m frames of spectrum data in the time dimension. Then, the amplitude value of the i-th frequency point of the merged data frame in the time dimension is obtained according to the following formula: A i =max(A j ),i=0,1,...n-1,j=0,1,...m-1。 6. The method according to claim 5, characterized in that The method of merging adjacent several points of data into one point through detection and maximum hold in the frequency dimension is as follows: Assume that in the frequency dimension, there are n frequency points, and after detection and maximum hold merging in the frequency dimension, there are k frequency points. Then, every n / k points are merged into 1 point. Among them, when n < k, n / k < 1, no merging is required, and the original data can be retained. Then, the amplitude value of the i-th frequency point of the merged data frame in the frequency dimension is obtained according to the following formula: A i =max(A j ),i=0,1,...k-1; 7. The method according to claim 1, characterized in that The generated spectrum panoramic preview map data carries an accurate timestamp, and the timestamp uses the same system clock as the IQ data record that enters the storage unit through the high-speed serial interface for recording.
8. The method according to claim 7, characterized in that The generated spectrum panoramic preview map data contains the signal power information of each frequency point.
9. The method according to claim 1, characterized in that: In step S500, before performing the offline analysis, the user uses the time range and frequency range to perform preliminary filtering, preliminarily retrieves the IQ data record information that meets the conditions, selects one of the records, and uses the spectrum panoramic preview function to perform a panoramic preview of the record.
10. The method according to claim 9, characterized in that The spectrum panoramic preview data is displayed in the form of a spectrum waterfall diagram, with the x-axis being frequency, the y-axis being time, and the amplitude being represented by different colors; the user observes the signal distribution in both the time domain and the frequency domain, locates the time and frequency position of the signal of interest, and then performs a box selection operation with the mouse. The box selection operation is performed in both the time domain and the frequency domain, and finally performs an offline analysis operation for the specified time period and the specified frequency band.
Citation Information
Cited By
Electromagnetic signal dynamic control method and system based on interactive frame selection
CN121476708A
