Narrowband interference detection method based on spectrum feature recognition
Through spectrum feature identification methods, including ADC sampling, FFT calculation and IIR filtering, narrowband interference signals in communication systems are detected, solving the problems of power information dependence and instability in the existing technology, and achieving high sensitivity and stable narrowband Interference detection.
Patent Information
- Application Number
- CN202410972209.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-19
AI Technical Summary
Existing narrowband interference detection methods have power information dependence and instability, making it difficult to effectively detect mixed narrowband interference signals in communication systems.
Adopting a narrowband interference detection method based on spectrum feature identification, through ADC sampling, downsampling, edge smoothing, FFT calculation, power normalization, IIR filtering and rule matching, the interference threshold and edge threshold are set, and the edge position of the interference is initially determined. Realize the detection of narrowband interference.
It achieves accurate detection of narrow-band interference signals, has high sensitivity and good stability, can effectively distinguish between useful signals and narrow-band interference signals, and solves the problem of narrow-band interference signal detection in communication systems.
Smart Images

Figure CN118523854B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of communication and digital signal processing, and in particular relates to a narrowband interference detection method based on spectrum feature recognition. Background Art
[0002] Narrowband interference generally refers to a signal with a bandwidth less than 0.1 times the center frequency. In a communication system, narrowband interference signals usually cause significant distortion of the original signal waveform, resulting in a serious decline in communication quality. Narrowband interference signals are usually difficult to avoid, so active monitoring and active elimination of narrowband interference signals have become the current mainstream method for dealing with narrowband interference.
[0003] Currently, common narrowband interference detection methods are mainly divided into two categories: time domain detection method and frequency domain detection method. In the frequency domain detection method, the existing common detection technologies are threshold detection method and peak-to-average comparison method. The threshold detection method generally distinguishes narrowband interference signals by comparing signal power, while the peak-to-average comparison method generally distinguishes narrowband interference signals by the ratio of the spectrum peak to the mean. Of the above two methods, the threshold method usually requires the power information of the signal to be known in advance, and the peak-to-average comparison method usually has certain instability due to the volatility of the signal. Summary of the invention
[0004] In view of this, the present invention proposes a narrowband interference detection method based on spectrum feature recognition, which can effectively detect narrowband interference signals mixed in signals, has high detection sensitivity and good stability, and can solve the problem of detecting narrowband interference signals in communication systems.
[0005] To achieve the above object, the present application discloses a narrowband interference detection method based on spectrum feature recognition, comprising the following steps:
[0006] ADC samples to obtain baseband signal;
[0007] Down-sample the baseband signal; perform edge smoothing on the baseband signal through a windowing module, and then obtain spectrum data through an FFT calculation module; then multiply the spectrum data with the power correction factor of the amplitude correction to obtain power-normalized spectrum data; then perform energy calculation on the power-normalized spectrum data, and then perform smoothing filtering on the obtained data, thus completing the acquisition of spectrum energy data;
[0008] Repeatedly obtain multiple spectrum energy data, and perform IIR filtering on the multiple spectrum energy data; set the interference threshold, edge threshold and flat threshold according to the maximum value of the spectrum energy data after IIR filtering; preliminarily determine the edge position of the interference by judging whether the current calculated frequency point position is a rising edge or a falling edge; perform rule matching on the spectrum energy data after IIR filtering;
[0009] Output the interference segment interval obtained after matching.
[0010] Preferably, the ADC samples and acquires a baseband signal of a fixed length.
[0011] Preferably, the power correction factor of the amplitude correction is calculated as follows:
[0012] ;
[0013] in, is the average power of the actual signal, is the amplitude correction factor for power normalization, is the expected value of the average power of the signal;
[0014] The 32-bit It is divided into 4 segments of 8 bits each: [31:24], [23:16], [15:8] and [7:0], and then The highest bit is located in the segment, Take the 8bit of the corresponding segment, then The value range is , and then look up the table to get , the lookup table is as follows: ;
[0015] Then we can get Approximate value of :
[0016] ;
[0017] Among them, if At [31:24] Take 24; similarly if At [23:16] Take 16, if In the [15:8] segment Take 8, if In the [7:0] segment Take 0.
[0018] Preferably, the calculation formula of the IIR filter is:
[0019] ;
[0020] In the above formula is the result after the current filtering, is the result after the last filtering, is the current spectrum energy data.
[0021] Preferably, the interference threshold, edge threshold and flat threshold are set according to the maximum value of the spectrum energy data after IIR filtering, wherein the interference threshold is the maximum value of the spectrum energy data. , the edge threshold is the maximum value of the spectrum energy data , the flat threshold is the maximum value of the spectrum energy data , , N and M are preset values.
[0022] Preferably, the preliminarily determining the edge position of the interference by judging whether the current calculated frequency point position is a rising edge or a falling edge includes:
[0023] The current calculated frequency point position is ,right The left and right sides of m The frequency points in the calculation area are obtained, and the frequency point sequence corresponding to the calculation area is recorded as , take the previous judgment area as the interval , the transition zone is the interval , and then the area is judged to be an interval At the same time, the energy mean of the previous judgment area is recorded as , the mean energy of the post-judgment region is recorded as ;remember The point energy is , The point energy is , The point energy is ;
[0024] The rising edge judgment rules are as follows: Point, when If there is Edge threshold, Edge gate time limit Flat threshold, Interference threshold, , represents a positive integer, then The point's location at this time will be marked as a rising edge;
[0025] The falling edge judgment rules are as follows: Point, when If there is Edge threshold, Edge gate time limit Flat threshold, Interference threshold, ,but The point's location at this point will be marked as a falling edge.
[0026] Preferably, the rule matching includes: from left to right, if the first edge is a falling edge, the rising edge position is set to 1; if the last edge is a rising edge, the falling edge position is set to the FFT maximum point label; in other cases, pairing is performed in pairs according to the principle of proximity from left to right, that is, the current falling edge is paired with the nearest rising edge position on the left; if multiple consecutive edges of the same direction are encountered, that is, there is no falling edge in the middle of more than two consecutive rising edges, or there is no rising edge in the middle of more than two consecutive falling edges, pairing is performed according to the principle of the largest frequency spectrum interval between the rising edge and the falling edge after pairing, and it is necessary to ensure that the rising edge label is always smaller than the falling edge label paired with it; in the paired interval, if the interval length is less than the sum of the transition band length and the post-judgment area length, the interval is removed.
[0027] The beneficial effects of the present invention are as follows:
[0028] The narrowband interference detection method based on spectrum feature recognition of the present invention can distinguish useful signals from narrowband interference signals, and detect narrowband interference by searching the starting and ending positions of narrowband interference on the spectrum. The narrowband interference signal mixed in the signal can be effectively detected, and has high detection sensitivity and good stability, and can effectively solve the problem of detecting narrowband interference signals in communication systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 The present invention is a flow chart of a narrowband interference detection method based on spectrum feature recognition.
[0030] Figure 2 It is a structural block diagram of an implementation example.
[0031] Figure 3 This is the spectrum diagram of QPSK modulated signal.
[0032] Figure 4 It is the spectrum diagram of narrowband interference signal.
[0033] Figure 5 This is the spectrum diagram of the QPSK modulated signal subject to narrowband interference.
[0034] Figure 6 This is the rising edge search diagram of the narrowband interference signal.
[0035] Figure 7 This is the falling edge search diagram of the narrowband interference signal.
[0036] Figure 8 The scatter plot shows the deviation between the detected position and the actual position at different SNRs when the FFT is 4096 points. DETAILED DESCRIPTION
[0037] The present invention is further described below in conjunction with the accompanying drawings, but the present invention is not limited in any way. Any changes or substitutions made based on the teachings of the present invention belong to the protection scope of the present invention.
[0038] This embodiment mainly includes three parts: spectrum information acquisition-202, spectrum information preprocessing-203 and interference detection-204. In addition, it also includes two parts: ADC signal acquisition-201 and interference position output-205. Figure 1 and Figure 2 shown.
[0039] ADC sampling obtains the baseband signal, which can be specifically to collect a baseband signal of a fixed length once, and then downsample the baseband signal to reduce the amount of calculation in the spectrum information acquisition; then the baseband signal is edge smoothed through the windowing module to reduce the spectrum leakage after FFT; finally, the spectrum data is obtained through the FFT calculation module.
[0040] In spectrum information preprocessing, spectrum data after power normalization is obtained by multiplying the spectrum data with the power correction factor of amplitude correction. The power correction factor of amplitude correction is calculated as follows:
[0041] ;
[0042] ;
[0043] ;
[0044] ;
[0045] in, is the average power of the actual signal, is the amplitude correction factor for power normalization, is the expected value of the average signal power.
[0046] In this embodiment, it is set Since the signal power average The maximum value is 32 bits. If you use a lookup table to find the root value, you need to build The depth of the lookup table will cause serious waste of resources. Since the accuracy of this correction factor is not high, the power correction factor is calculated as follows. Divide into 4 segments of 8 bits each: [31:24], [23:16], [15:8] and [7:0], and then judge Which segment the highest bit is in, and according to The highest bit is located in the segment, Take the 8bit of the corresponding segment, then The value range is , assuming the highest bit is at 25, then Pick [31:24] and then look up the table from formula (3) to get , then according to formula (4) we can get approximate value of In formula (4), The value of In which section, if At [31:24] Take 24; similarly if At [23:16] Take 16, if In the [15:8] segment Take 8, if In the [7:0] segment Take 0, where the division operation can be implemented by truncation.
[0047] After the spectrum data is power normalized, the energy of the spectrum data is calculated, and then the obtained data is smoothed and filtered, thus completing the acquisition of spectrum energy data.
[0048] Repeatedly obtain multiple spectrum energy data and perform IIR filtering on multiple spectrum energy data to reduce the impact of signal fluctuations on subsequent detection results. The IIR filtering calculation formula is:
[0049] ;
[0050] In the above formula is the result after the current filtering, is the result after the last filtering, is the current spectrum energy data. Finally, after the signal passes through the interference detection module, the accurate start and end positions of the narrowband interference spectrum can be obtained.
[0051] The interference detection module includes four parts: threshold setting, interference segment edge search, rising edge and falling edge matching, and final interference position output. Each part is introduced in detail below.
[0052] Threshold setting: Set the interference threshold, edge threshold and flat threshold according to the maximum value of the spectrum energy data after IIR filtering. Usually the maximum value is taken. is the interference threshold, taking the maximum value is the edge threshold, take the maximum value is the flat threshold, In this example, 1 / 8 of the maximum value of the filtered spectrum energy data is used as the interference threshold, 1 / 16 of the maximum value of the filtered spectrum energy data is used as the flat threshold, and the edge threshold is taken between the interference threshold and the flat threshold.
[0053] Interference segment edge search: by judging the current calculated frequency point position The edge position of the interference is preliminarily determined by whether the point is a rising edge or a falling edge. By matching the frequency spectrum data after IIR filtering, the frequency point position that meets the rising edge rule will be recorded as the rising edge, and the frequency point that meets the falling edge rule will be recorded as the falling edge. The matching rules of the rising edge and the falling edge are shown in the rising edge judgment rules and the falling edge judgment rules.
[0054] The current calculated frequency point position is , then the corresponding calculation area (for The left and right sides of m The frequency sequence of frequency points is recorded as , take the previous judgment area as the interval , the transition zone is the interval , and then the area is judged to be an interval At the same time, the energy mean of the previous judgment area is recorded as , the mean energy of the post-judgment region is recorded as ;remember The point energy is , The point energy is , The point energy is In this example, the rising edge judgment rule and the falling edge judgment rule The value is 16.
[0055] Rising edge judgment rules: For Point, when If there is Edge threshold, Edge gate time limit Flat threshold, Interference threshold, , represents a positive integer, then The point's location at this time will be marked as a rising edge;
[0056] Falling edge judgment rules: For Point, when If there is Edge threshold, Edge gate time limit Flat threshold, Interference threshold, ,but The point's location at this point will be marked as a falling edge.
[0057] Edge matching rules: from left to right, if the first edge is a falling edge, the rising edge position is set to 1; if the last edge is a rising edge, the falling edge position is set to the FFT maximum point number; in other cases, pairing is performed in pairs from left to right according to the principle of proximity, that is, the current falling edge is paired with the nearest rising edge position on the left; if multiple consecutive edges of the same direction are encountered (that is, there is no falling edge in the middle of more than two consecutive rising edges, or there is no rising edge in the middle of more than two consecutive falling edges), pairing is performed according to the principle of the largest frequency spectrum interval between the paired rising and falling edges, and it is necessary to ensure that the rising edge number is always smaller than the falling edge number paired with it; in the paired interval, if the interval length is less than the sum of the transition band length and the post-judgment area length, the interval is removed.
[0058] Interference position output: Output the reasonable interference segment interval obtained after matching.
[0059] Finally, the processing effect is described in detail with reference to the accompanying drawings. Figure 3 The spectrum of an undisturbed QPSK modulated signal is shown in Figure 1. Figure 4 is the spectrum diagram of narrowband interference, Figure 5 shows the spectrum of a QPSK modulated signal interfered by a narrowband signal. Figure 6 and Figure 7 They are the rising edge and falling edge search diagrams for narrowband interference signals. In the figure, the signal below the flat threshold is a QPSK modulated signal, and the signal above the interference threshold is a narrowband interference signal. Figure 8 When the number of FFT points for detection is 4096, the scatter plot of the deviation between the detection position and the actual position under SNR (narrowband interference signal to noise power ratio) from -3dB to 20dB is shown. The dotted line in the figure represents the actual position of the edge of the narrowband interference signal, and each point represents the detection position under different SNRs. It can be seen that when the SNR is 3dB and above, the narrowband interference signal can be accurately detected, which shows that the method of the invention has good sensitivity. Tables 1 and 2 respectively show the positions of the detection frequency points of the rising edge and the falling edge and the actual frequency points and their respective deviations for the first group of interference and the second group of interference under different FFT points when the SNR is fixed at 20dB. The table shows that the detection accuracy of the invention increases with the increase of the number of FFT points, and its recognition accuracy also improves accordingly.
[0060] Table 1
[0061]
[0062] Table 2
[0063]
[0064] As used herein, the word "preferred" is intended to be used as an example, instance, or illustration. Any aspect or design described herein as "preferred" is not necessarily to be construed as being more advantageous than other aspects or designs. On the contrary, the use of the word "preferred" is intended to present concepts in a specific way. The term "or" as used in this application is intended to mean an inclusive "or" rather than an exclusive "or". That is, unless otherwise specified or clear from the context, "X uses A or B" means any one of the naturally included permutations. That is, if X uses A; X uses B; or X uses both A and B, then "X uses A or B" is satisfied in any of the foregoing examples.
[0065] Moreover, although the present disclosure has been shown and described with respect to one or implementations, those skilled in the art will think of equivalent variations and modifications based on the reading and understanding of this specification and the accompanying drawings. The present disclosure includes all such modifications and variations, and is limited only by the scope of the appended claims. In particular, with respect to the various functions performed by the above-mentioned components (such as elements, etc.), the terms used to describe such components are intended to correspond to any component (unless otherwise indicated) that performs the specified function of the component (such as it is functionally equivalent), even if the structure is not equivalent to the disclosed structure of the function in the exemplary implementation of the present disclosure shown herein. In addition, although the specific features of the present disclosure have been disclosed with respect to only one of several implementations, such features can be combined with one or other features of other implementations that may be desired and advantageous for a given or specific application. Moreover, insofar as the terms "including", "having", "containing" or their variations are used in specific embodiments or claims, such terms are intended to be included in a manner similar to the term "comprising".
[0066] The functional units in the embodiments of the present invention may be integrated into a processing module, or each unit may exist physically separately, or multiple or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc. The above-mentioned devices or systems may execute the storage method in the corresponding method embodiment.
[0067] To sum up, the above embodiment is an implementation mode of the present invention, but the implementation mode of the present invention is not limited by the embodiment. Any other changes, modifications, substitutions, combinations, and simplifications that deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.
Claims
1. A narrowband interference detection method based on spectrum feature recognition, characterized in that: The following steps are involved: ADC samples to obtain baseband signal; Down-sample the baseband signal; perform edge smoothing on the baseband signal through a windowing module, and then obtain spectrum data through an FFT calculation module; then multiply the spectrum data with the power correction factor of the amplitude correction to obtain power-normalized spectrum data; then perform energy calculation on the power-normalized spectrum data, and then perform smoothing filtering on the obtained data, thus completing the acquisition of spectrum energy data; Repeatedly obtain multiple spectrum energy data, and perform IIR filtering on the multiple spectrum energy data; set the interference threshold, edge threshold and flat threshold according to the maximum value of the spectrum energy data after IIR filtering; The edge position of the interference is preliminarily determined by judging whether the current calculated frequency point position is a rising edge or a falling edge; Perform rule matching on the spectrum energy data after IIR filtering; Output the interference segment interval obtained after matching; The preliminarily determining the edge position of the interference by judging whether the current calculated frequency point position is a rising edge or a falling edge includes: The current calculated frequency point position is ,right The left and right sides of m The frequency points in the calculation area are obtained, and the frequency point sequence corresponding to the calculation area is recorded as , take the previous judgment area as the interval , the transition zone is the interval , and then the area is judged to be an interval At the same time, the energy mean of the previous judgment area is recorded as , the mean energy of the post-judgment region is recorded as ;remember The point energy is , The point energy is , The point energy is ; The rising edge judgment rules are as follows: Point, when If there is Edge threshold, Edge gate time limit Flat threshold, Interference threshold, , represents a positive integer, then The point's location at this time will be marked as a rising edge; The falling edge judgment rules are as follows: Point, when If there is Edge threshold, Edge gate time limit Flat threshold, Interference threshold, ,but The point's location at this point will be marked as a falling edge.
2. The narrowband interference detection method based on spectrum feature recognition according to claim 1 is characterized in that: The ADC samples a fixed-length baseband signal.
3. The narrowband interference detection method based on spectrum feature recognition according to claim 1, characterized in that: The power correction factor for the amplitude correction is calculated as follows: ; in, is the average power of the actual signal, is the amplitude correction factor for power normalization, is the expected value of the average power of the signal; The 32-bit It is divided into 4 segments of 8 bits each: [31:24], [23:16], [15:8] and [7:0], and then The highest bit is located in the segment, Take the 8bit of the corresponding segment, then The value range is , and then look up the table to get , the lookup table is as follows: ; Then we can get Approximate value of : ; Among them, if At [31:24] Take 24; similarly if At [23:16] Take 16, if In the [15:8] segment Take 8, if In the [7:0] segment Take 0.
4. The narrowband interference detection method based on spectrum feature recognition according to claim 1 is characterized in that: The calculation formula of the IIR filter is: ; In the above formula is the result after the current filtering, is the result after the last filtering, is the current spectrum energy data.
5. The narrowband interference detection method based on spectrum feature recognition according to claim 1, characterized in that: The interference threshold, edge threshold and flat threshold are set according to the maximum value of the spectrum energy data after IIR filtering, where the interference threshold is the maximum value of the spectrum energy data. , the edge threshold is the maximum value of the spectrum energy data , the flat threshold is the maximum value of the spectrum energy data , , N and M are preset values.
6. The narrowband interference detection method based on spectrum feature recognition according to claim 1, characterized in that: The rule matching includes: from left to right, if the first edge is a falling edge, the rising edge position is set to 1; if the last edge is a rising edge, the falling edge position is set to the FFT maximum point number; in other cases, pairing is performed in pairs according to the principle of proximity from left to right, that is, the current falling edge is paired with the nearest rising edge position on the left; if multiple consecutive edges of the same direction are encountered, that is, there is no falling edge in the middle of more than two consecutive rising edges, or there is no rising edge in the middle of more than two consecutive falling edges, pairing is performed according to the principle of the largest frequency spectrum interval between the paired rising and falling edges, and it is necessary to ensure that the rising edge number is always smaller than the falling edge number paired with it; in the paired interval, if the interval length is less than the sum of the transition band length and the post-judgment area length, the interval is removed.
Citation Information
Patent Citations
Signal adaptive interference detection method and device based on morphological filtering processing
CN113132035A
Single-channel hybrid communication signal interference detection method based on high-order cyclic cumulant
CN114553339A
Direct sequence spread spectrum anti-interference method based on narrowband interference suppression
CN116318246A
System and method for robust interference detection
US10812133B1
