Signal anti-interference method and device and electronic equipment
By performing multi-stage notch processing and spectrum reconstruction of wireless broadband communication signals, determining the coefficients of the anti-interference filter and configuring an anti-interference filter, the problem that the fixed-shaped filter cannot cope with the complex channel environment is solved, and suppressing adjacent channel interference and improving signal quality is achieved.
Patent Information
- Application Number
- CN202410465935.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2025-07-25
AI Technical Summary
In wireless broadband communication, fixed-shaped filters cannot effectively deal with complex wireless channel environments, resulting in serious interference from adjacent channels and affecting signal quality.
By performing multi-stage notch processing on the signal before downsampling, the frequency point power is obtained, the spectrum is reconstructed, the coefficients of the anti-interference filter are determined, and the anti-interference filter is configured to process the downsampling signal.
It reduces the attenuation of useful signals, effectively suppresses adjacent channel interference, and improves the anti-interference processing effect and quality of the signal.
Smart Images

Figure CN120378019A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of wireless broadband communication technologies, and particularly to an anti-interference method, device, and electronic device for signals. Background Art
[0002] In wireless broadband communication scenarios, interference from various wireless systems is inevitable. For example, interference from adjacent channels causes severe damage to demodulated wireless broadband signals. Digital filters can be used to filter out interference signals to improve signal quality. When filtering out interference signals through a digital filter, filter coefficients need to be generated. In related technologies, fixed-shaped filters are often used to filter out such interference. However, due to the increasingly complex wireless channel environment, fixed-shaped filters can no longer meet the requirements. Therefore, how to more accurately determine the coefficients of the anti-interference filter and perform interference processing on signals according to the anti-interference filter to improve signal quality has become an urgent problem to be solved. Summary of the Invention
[0003] The present disclosure provides an anti-interference method, device, and electronic device for signals. Thus, the present disclosure determines the coefficients of the anti-interference filter and configures the anti-interference filter based on the coefficients of the anti-interference filter to perform anti-interference processing on the downsampled second broadband signal, reducing the attenuation of the anti-interference filter to the useful signal, achieving the suppression of adjacent-channel interference signals, improving the processing effect of signal anti-interference processing, and thus improving signal quality.
[0004] The technical solution of the present disclosure is as follows:
[0005] According to the first aspect of the embodiments of the present disclosure, an anti-interference method for signals is provided. The method includes: performing multi-stage notch processing on a first bandwidth signal before downsampling to obtain the power of multiple frequency points; determining the reconstructed spectrum of the bandwidth signal according to the power of the multiple frequencies; determining the coefficients of the anti-interference filter according to the reconstructed spectrum; and configuring the anti-interference filter based on the coefficients of the anti-interference filter to perform anti-interference processing on the downsampled second bandwidth signal.
[0006] According to the second aspect of the embodiments of the present disclosure, an anti-interference device for signals is provided. The device includes: an acquisition module for performing multi-stage notch processing on a first bandwidth signal before downsampling to obtain the power of multiple frequency points; a first determination module for determining the reconstructed spectrum of the bandwidth signal according to the power of the multiple frequencies; a second determination module for determining the coefficients of the anti-interference filter according to the reconstructed spectrum; and an anti-interference module for configuring the anti-interference filter based on the coefficients of the anti-interference filter to perform anti-interference processing on the downsampled second bandwidth signal.
[0007] According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including: a processor; a memory for storing executable instructions of the processor; wherein, the processor is configured to execute the instructions to implement the anti-interference method for signals provided in the embodiments of the first aspect of the present disclosure.
[0008] According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enabling the electronic device to execute the anti-interference method for signals provided in the embodiments of the first aspect of the present disclosure.
[0009] According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, it implements the anti-interference method for signals provided in the first aspect of the present disclosure.
[0010] The technical solutions provided by the embodiments of the present disclosure at least bring the following beneficial effects:
[0011] An anti-interference method for signals according to an embodiment of the present disclosure performs multi-stage notch processing on a first bandwidth signal before downsampling to obtain the power of multiple frequency points. According to the power of multiple frequencies, the reconstructed spectrum of the bandwidth signal is determined. According to the reconstructed spectrum, the coefficients of the anti-interference filter are determined. Based on the coefficients of the anti-interference filter, the anti-interference filter is configured to perform anti-interference processing on a second bandwidth signal after downsampling. Thus, the present disclosure determines the coefficients of the anti-interference filter and configures the anti-interference filter based on the coefficients of the anti-interference filter to perform anti-interference processing on the second broadband signal after downsampling, reducing the attenuation of the anti-interference filter to the useful signal, realizing the suppression of adjacent-channel interference signals, improving the processing effect of signal anti-interference processing, and thus improving the quality of the signal.
[0012] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure, and do not constitute an improper limitation of the present disclosure.
[0014] Figure 1 is a flowchart showing an anti-interference method for signals according to an exemplary embodiment.
[0015] Figure 2 is a schematic diagram showing multi-stage notch processing on a bandwidth signal before downsampling according to an exemplary embodiment.
[0016] Figure 3 It is a schematic diagram of an anti-interference method for a signal shown according to an exemplary embodiment.
[0017] Figure 4 It is a schematic flowchart of an anti-interference method for a signal shown according to an exemplary embodiment.
[0018] Figure 5 It is a schematic diagram of a multi-stage notch filter shown according to an exemplary embodiment.
[0019] Figure 6 It is a schematic flowchart of an anti-interference method for a signal shown according to an exemplary embodiment.
[0020] Figure 7 It is a schematic diagram of a reconstructed spectrum shown according to an exemplary embodiment.
[0021] Figure 8 It is a schematic flowchart of an anti-interference method for a signal shown according to an exemplary embodiment.
[0022] Figure 9 It is a schematic diagram of a complete reconstructed spectrum shown according to an exemplary embodiment.
[0023] Figure 10 It is a schematic diagram of a phase data shown according to an exemplary embodiment.
[0024] Figure 11 It is a block diagram of an anti-interference device for a signal shown according to an exemplary embodiment.
[0025] Figure 12 It is a block diagram of an electronic device shown according to an exemplary embodiment. Detailed implementation manners
[0026] In order to enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order different from those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0028] Figure 1 Flow chart of an anti-interference method for signals provided by an embodiment of the present disclosure.
[0029] As Figure 1 shown, the anti-interference method for the signal includes the following steps:
[0030] S101, perform multi-stage notch processing on the first bandwidth signal before downsampling to obtain the powers of multiple frequency points.
[0031] It should be noted that the present disclosure does not limit the number of frequency points, which can be selected according to actual situations.
[0032] Optionally, a certain number of frequency points can be preset according to the specific application scenario of wireless broadband communication. For example, the number N of frequency points can be set to 3, that is, one frequency point is selected from the passband, stopband, and transition band respectively.
[0033] In the embodiment of the present disclosure, before performing multi-stage notch processing on the first bandwidth signal before downsampling to obtain the powers of multiple frequency points, the frequency point corresponding to each notch filter can be determined, and the notch digital frequency of the notch filter can be determined according to the frequency point corresponding to the notch filter and the sampling frequency.
[0034] In the embodiment of the present disclosure, for the frequency point i among multiple frequency points, determine the notch filter i corresponding to the frequency point i and the input signal and output signal of the notch filter i, where i is a natural number and 1 ≤ i ≤ N, and N is the preset number of frequency points; determine the power of the frequency point i according to the input signal and output signal of the notch filter i.
[0035] Optionally, a subtraction operation can be performed on the input signal of the notch filter i and the output signal of the notch filter i, and the power of the frequency point i can be determined according to the result of the subtraction operation.
[0036] For example, as Figure 2 shown, the bandwidth signal x at the current moment can be obtained, the bandwidth signal y input at the previous moment can be obtained, the bandwidth signal y and the notch digital frequency c1 of the notch filter are multiplied by a multiplier to obtain the output y*c1 of the multiplier, the delay element D and the notch digital frequency c0 of the notch filter are multiplied by a multiplier to obtain the output D*c0 of the multiplier, the outputs y*c1 and D*c0 of the multiplier are added by an adder to obtain U = y*c1 + D*c0, and U and the bandwidth signal x are subtracted by a subtractor to output the bandwidth signal y, realizing multi-stage notch processing of the bandwidth signal.
[0037] Optionally, the notch digital frequency c0 of the notch filter is 2*pi*freq / samplerate, where freq is the frequency of the frequency point and sample rate is the sampling rate; optionally, c1 = 1 / 2k, where k is a preset value (which can be set according to actual conditions). When k is smaller, the tracking is faster, the loss of the effective signal is more serious, but the ability to eliminate the corresponding frequency points is also stronger.
[0038] S102. Determine the reconstructed spectrum of the bandwidth signal according to the powers of multiple frequency points.
[0039] In the embodiments of the present disclosure, after obtaining the powers of multiple frequency points, the reconstructed spectrum of the bandwidth signal can be determined according to the multiple frequency points and the powers of the multiple frequency points, as well as the interpolation frequency points and the powers of the interpolation frequency points.
[0040] Optionally, linear interpolation processing can be performed on the powers of multiple frequency points to obtain at least one interpolation frequency point and the power of the interpolation frequency point. According to the multiple frequency points and the powers of the multiple frequency points, as well as the interpolation frequency points and the powers of the interpolation frequency points, the reconstructed spectrum of the bandwidth signal is determined.
[0041] S103. Determine the coefficients of the anti-interference filter according to the reconstructed spectrum.
[0042] Optionally, the time-domain impulse response of the bandwidth signal can be determined according to the reconstructed spectrum, the real coefficients of the time-domain impulse response are determined, and the coefficients of the anti-interference filter are determined according to the real coefficients.
[0043] In the embodiments of the present disclosure, the reconstructed spectrum can be evenly divided to obtain N spectrum segments, M zero-padding operations are performed on the reconstructed spectrum, the N spectrum segments are symmetrically flipped to obtain the target reconstructed spectrum, and the time-domain impulse response is determined according to the target reconstructed spectrum.
[0044] S104. Configure the anti-interference filter based on the coefficients of the anti-interference filter to perform anti-interference processing on the downsampled second bandwidth signal.
[0045] It should be noted that before performing anti-interference processing on the first bandwidth signal, the first bandwidth signal needs to be downsampled to obtain the second bandwidth signal to improve the efficiency of anti-interference processing. Configuring the anti-interference filter based on the coefficients of the anti-interference filter can input the downsampled second bandwidth signal into the configured anti-interference filter. Correspondingly, the anti-interference filter performs anti-interference processing on the anti-interference filter according to the configured anti-interference coefficients to suppress or eliminate unwanted interference signals.
[0046] For example, such as Figure 3As shown, by processing and analyzing the first bandwidth signal before downsampling, the signal scene can be reconstructed, the reconstructed spectrum of the bandwidth signal can be determined, the coefficients of the anti-interference filter can be determined in combination with the requirements of the product demodulation front-end index, and by timing control, downsampling of the first bandwidth signal and determination of the coefficients of the anti-interference filter can be executed in parallel. The second bandwidth signal and the coefficients of the anti-interference filter are simultaneously transmitted to the anti-interference filter to perform anti-interference processing on the downsampled second bandwidth signal, so as to achieve power control of the signal.
[0047] According to an anti-interference method for a signal according to an embodiment of the present disclosure, by performing multi-stage notch processing on the first bandwidth signal before downsampling to obtain the power of multiple frequency points, determining the reconstructed spectrum of the bandwidth signal according to the power of multiple frequencies, determining the coefficients of the anti-interference filter according to the reconstructed spectrum, and configuring the anti-interference filter based on the coefficients of the anti-interference filter to perform anti-interference processing on the downsampled second bandwidth signal. Thus, the present disclosure determines the coefficients of the anti-interference filter and configures the anti-interference filter based on the coefficients of the anti-interference filter to perform anti-interference processing on the downsampled second broadband signal, reducing the attenuation of the anti-interference filter to the useful signal, achieving suppression of adjacent-channel interference signals, improving the processing effect of signal anti-interference processing, and thus improving the quality of the signal.
[0048] Figure 4 is a schematic flowchart of an anti-interference method for a signal according to an embodiment of the present disclosure. On the basis of the above embodiment, further combined with Figure 4 , the specific process of performing multi-stage notch processing on the first bandwidth signal before downsampling to obtain the power of multiple frequency points is explained, including the following steps:
[0049] S401, for the frequency point i among multiple frequency points, determine the notch filter i corresponding to the frequency point i, as well as the input signal and output signal of the notch filter i, where i is a natural number and 1≤i≤N, and N is the preset number of frequency points.
[0050] Among them, the notch filter is usually composed of a filter and a resonant circuit, and can be used to suppress signals within a specific frequency range, eliminate useless signals to reduce interference to useful signals.
[0051] For example, such as Figure 5As shown, if the number N of preset frequency points is 3 and the number of stages of the notch filter is 3, for frequency point 1 among the frequency points, it is determined that the notch filter corresponding to frequency point 1 is notch filter 1. The input signal of notch filter 1 is the first bandwidth signal. After notch filter 1 performs notch filtering on the first bandwidth signal, the output signal of notch filter 1 is obtained. For frequency point 2 among the frequency points, it is determined that the notch filter corresponding to frequency point 2 is notch filter 2. The input signal of notch filter 2 is the output signal of notch filter 1. After notch filter 2 performs notch filtering on the output signal of notch filter 1 again, the output signal of notch filter 2 is obtained. For frequency point 3 among the frequency points, it is determined that the notch filter corresponding to frequency point 3 is notch filter 3. The input signal of notch filter 3 is the output signal of notch filter 2. After notch filter 3 performs notch filtering on the output signal of notch filter 2 again, the output signal of notch filter 3 is obtained.
[0052] S402. Determine the power of frequency point i according to the input signal and output signal of notch filter i.
[0053] In the embodiment of the present disclosure, after obtaining the input signal and output signal of notch filter i, the power of frequency point i can be determined according to the input signal and output signal of notch filter i.
[0054] Optionally, a subtraction operation can be performed on the input signal of notch filter i and the output signal of notch filter i, and the power of frequency point i can be determined according to the result of the subtraction operation.
[0055] For example, for frequency point 1 among the frequency points, the input signal of notch filter 1 is the first bandwidth signal. After notch filter 1 performs notch filtering on the first bandwidth signal, the output signal of notch filter 1 is obtained. A subtraction operation (subtracting the output signal of notch filter 1 from the first bandwidth signal) is performed on the first bandwidth signal and the output signal of notch filter 1, and the power of frequency point 1 is obtained. For frequency point 2 among the frequency points, the input signal of notch filter 2 is the output signal of notch filter 1. After notch filter 2 performs notch filtering on the output signal of notch filter 1 again, the output signal of notch filter 2 is obtained. A subtraction operation (subtracting the output signal of notch filter 2 from the output signal of notch filter 1) is performed on the output signal of notch filter 1 and the output signal of notch filter 2, and the power of frequency point 2 is obtained. For frequency point 3 among the frequency points, the input signal of notch filter 3 is the output signal of notch filter 2. After notch filter 3 performs notch filtering on the output signal of notch filter 2 again, the output signal of notch filter 3 is obtained. A subtraction operation (subtracting the output signal of notch filter 3 from the output signal of notch filter 2) is performed on the output signal of notch filter 2 and the output signal of notch filter 3, and the power of frequency point 3 is obtained.
[0056] Figure 6 It is a schematic flowchart of a method for anti-interference of a signal according to an embodiment of the present disclosure. On the basis of the above embodiment, further combined with Figure 6, the specific process of determining the reconstructed spectrum of the bandwidth signal based on the powers of multiple frequency points is explained, including the following steps:
[0057] S601, perform linear interpolation processing on the powers of multiple frequency points to obtain at least one interpolated frequency point and the power of the interpolated frequency point.
[0058] In the embodiments of the present disclosure, after obtaining the powers of multiple frequency points, linear interpolation processing can be performed on the powers of multiple frequency points to obtain at least one interpolated frequency point and the power of the interpolated frequency point.
[0059] Optionally, the linear interpolation method can be used to perform linear interpolation processing on the powers of multiple frequency points to obtain at least one interpolated frequency point and the power of the interpolated frequency point.
[0060] S602, determine the reconstructed spectrum of the bandwidth signal according to multiple frequency points, the powers of multiple frequency points, the interpolated frequency point, and the power of the interpolated frequency point.
[0061] In the embodiments of the present disclosure, after obtaining multiple frequency points, the powers of multiple frequency points, the interpolated frequency point, and the power of the interpolated frequency point, the reconstructed spectrum of the bandwidth signal can be determined according to multiple frequency points, the powers of multiple frequency points, the interpolated frequency point, and the power of the interpolated frequency point.
[0062] For example, as Figure 7 shown, multiple frequency points and the powers of multiple frequency points, for example: (freq1, freq_power1), (freq2, freq_power2), (freq3, freq_power3) and the interpolated frequency point and the power of the interpolated frequency point can be combined into a data set. The linear interpolation method can be used to interpolate the data set to obtain approximate power values of all frequency points on the spectrum. According to the interpolation result, a reconstructed spectrum is generated.
[0063] Figure 8 is a schematic flowchart of an anti-interference method for a signal according to an embodiment of the present disclosure. On the basis of the above embodiments, further combined with Figure 8 , the specific process of determining the coefficients of the anti-interference filter according to the reconstructed spectrum is explained, including the following steps:
[0064] S801, determine the time-domain impulse response of the bandwidth signal according to the reconstructed spectrum.
[0065] In the embodiments of the present disclosure, after obtaining the reconstructed spectrum, the reconstructed spectrum can be evenly divided into N spectrum segments, M zero-padding operations are performed on the reconstructed spectrum, and the N spectrum segments are symmetrically flipped to obtain a target reconstructed spectrum. According to the target reconstructed spectrum, the time-domain impulse response is determined, where the condition that M needs to satisfy is that the sum of 2*N + M is an integer multiple of 2.
[0066] For example, in order to improve the operation efficiency of the inverse Fourier transform, after equally dividing the reconstructed spectrum into N spectrum segments, M zero-padding operations are performed on the reconstructed spectrum, and the N spectrum segments are symmetrically flipped to obtain the target reconstructed spectrum, that is, the complete reconstructed spectrum |H(n)|, as Figure 9 shown, where the reconstructed spectrum |H(n)| is axisymmetric.
[0067] Optionally, the phase data can be determined according to the discrete frequency values of the target reconstructed spectrum.
[0068] For example, as Figure 10 shown, when the highest and lowest points of the phase are +0.5 and -0.5 respectively, the slope can be determined in combination with the discrete frequency values, and then the phase data can be determined. The phase data agrH(n) is centrosymmetric.
[0069] Furthermore, the frequency function can be determined according to the target reconstructed spectrum and the phase data agrH(n), and the inverse Fourier transform is performed on the frequency function to obtain the time-domain impulse response h(n), where the phase data agrH(n) is centrosymmetric.
[0070] Optionally, after obtaining the target reconstructed spectrum |H(n)| and the phase data agrH(n), the frequency function can be determined as: H(n) = |H(n)| * agrH(n).
[0071] It should be noted that after obtaining the frequency function, the inverse Fourier transform (Inverse Fourier Transform, abbreviated as IFT) can be performed on the frequency function to convert the target reconstructed spectrum back to the time domain to obtain the time-domain impulse response h(n).
[0072] S802, determine the real coefficients of the time-domain impulse response, and determine the coefficients of the anti-interference filter according to the real coefficients.
[0073] It should be noted that since the time-domain impulse response h(n) is obtained by the inverse Fourier transform, there may be complex results. The real coefficients of the time-domain impulse response can be determined, and the real coefficients of the time-domain impulse response are determined as the coefficients of the anti-interference filter.
[0074] A signal anti-interference method according to an embodiment of the present disclosure determines a notch filter i corresponding to a frequency point i among multiple frequency points, as well as the input signal and output signal of the notch filter i for the frequency point i. A subtraction operation is performed on the input signal and the output signal of the notch filter i, and the power of the frequency point i is determined based on the result of the subtraction operation. Linear interpolation processing is performed on the powers of multiple frequency points to obtain at least one interpolation frequency point and the power of the interpolation frequency point. Based on the multiple frequency points and the powers of the multiple frequency points, as well as the interpolation frequency point and the power of the interpolation frequency point, the reconstructed spectrum of the bandwidth signal is determined. The reconstructed spectrum is evenly divided to obtain N spectrum segments, and M zero-padding operations are performed on the reconstructed spectrum. The N spectrum segments are symmetrically flipped to obtain the target reconstructed spectrum. Based on the target reconstructed spectrum, the time-domain impulse response is determined, the real coefficients of the time-domain impulse response are determined, and the coefficients of the anti-interference filter are determined based on the real coefficients. The anti-interference filter is configured based on the coefficients of the anti-interference filter to perform anti-interference processing on the downsampled second bandwidth signal. The present disclosure can determine the coefficients of the anti-interference filter in real time according to the environment of the wireless channel, and configure the anti-interference filter based on the coefficients of the anti-interference filter to perform anti-interference processing on the downsampled second broadband signal, reducing the attenuation of the anti-interference filter to the useful signal, achieving the suppression of adjacent-channel interference signals, improving the processing effect of signal anti-interference processing, improving the quality of the signal, and the method is used to achieve high efficiency.
[0075] Figure 11 It is a block diagram of a signal anti-interference device shown according to an exemplary embodiment.
[0076] As Figure 11 shown, the signal anti-interference device 1000 includes: an acquisition module 110, a first determination module 120, a second determination module 130, and an anti-interference module 140.
[0077] The acquisition module 110 is configured to perform multi-stage notch processing on the first bandwidth signal before downsampling to obtain the powers of multiple frequency points;
[0078] The first determination module 120 is configured to determine the reconstructed spectrum of the bandwidth signal according to the powers of the multiple frequencies;
[0079] The second determination module 130 is configured to determine the coefficients of the anti-interference filter according to the reconstructed spectrum;
[0080] The anti-interference module 140 is configured to configure the anti-interference filter based on the coefficients of the anti-interference filter to perform anti-interference processing on the downsampled second bandwidth signal.
[0081] Further, the obtaining module 110 is further configured to: for the frequency point i among the multiple frequency points, determine the notch filter i corresponding to the frequency point i, as well as the input signal and output signal of the notch filter i, where i is a natural number and 1 ≤ i ≤ N, and N is the preset number of frequency points; determine the power of the frequency point i according to the input signal and output signal of the notch filter i.
[0082] Further, the obtaining module 110 is further configured to: perform a subtraction operation on the input signal of the notch filter i and the output signal of the notch filter i, and determine the power of the frequency point i according to the result of the subtraction operation.
[0083] Further, the first determination module 120 is further configured to: perform linear interpolation processing on the powers of the multiple frequency points to obtain at least one interpolation frequency point and the power of the interpolation frequency point; determine the reconstructed spectrum of the bandwidth signal according to the multiple frequency points and the powers of the multiple frequency points, as well as the interpolation frequency point and the power of the interpolation frequency point.
[0084] Further, the second determination module 120 is further configured to: determine the time-domain impulse response of the bandwidth signal according to the reconstructed spectrum; determine the real coefficients of the time-domain impulse response, and determine the coefficients of the anti-interference filter according to the real coefficients.
[0085] Further, the second determination module 120 is further configured to: evenly divide the reconstructed spectrum to obtain N spectrum segments, and perform M zero-padding operations on the reconstructed spectrum; perform symmetric flipping on the N spectrum segments to obtain the target reconstructed spectrum; determine the time-domain impulse response according to the target reconstructed spectrum.
[0086] Further, the condition that M needs to satisfy is that the sum of 2*N + M is an integer multiple of 2.
[0087] Further, the second determination module 120 is further configured to: determine phase data according to the discrete frequency values of the target reconstructed spectrum; determine a frequency function according to the target reconstructed spectrum and the phase data; perform an inverse Fourier transform on the frequency function to obtain the time-domain impulse response.
[0088] Further, the apparatus 1000 is further configured to: determine the frequency point corresponding to each notch filter; determine the notch digital frequency of the notch filter according to the frequency point corresponding to the notch filter and the sampling frequency.
[0089] An anti-interference device for a signal according to an embodiment of the present disclosure performs multi-stage notch processing on a first bandwidth signal before downsampling to obtain the power of multiple frequency points. According to the power of multiple frequencies, a reconstructed spectrum of the bandwidth signal is determined. According to the reconstructed spectrum, the coefficients of an anti-interference filter are determined. Based on the coefficients of the anti-interference filter, the anti-interference filter is configured to perform anti-interference processing on a second bandwidth signal after downsampling. Thus, the present disclosure determines the coefficients of the anti-interference filter and configures the anti-interference filter based on the coefficients of the anti-interference filter to perform anti-interference processing on the second broadband signal after downsampling, reducing the attenuation of the anti-interference filter to useful signals, achieving the suppression of adjacent-channel interference signals, improving the processing effect of signal anti-interference processing, and thus improving the quality of the signal.
[0090] To implement the above embodiment, the present disclosure also provides an electronic device, as Figure 12 shown. The electronic device 2000 includes: a processor 201; and one or more memories 202 for storing executable instructions of the processor 201. Among them, the processor 201 is configured to execute the signal anti-interference method described in the above embodiment. The processor 201 and the memory 202 are connected through a communication bus.
[0091] To implement the above embodiment, the present disclosure also provides a computer-readable storage medium including instructions, such as the memory 202 including instructions. The above instructions can be executed by the processor 201 of the device 1000 to complete the above method. Optionally, the computer-readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0092] To implement the above embodiment, the present disclosure also provides a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, it implements the signal anti-interference method described in the above embodiment.
[0093] Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0094] It should be understood that the present disclosure is not limited to the exact structures already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. An anti-interference method for a signal, characterized in that, The method includes: Performing multi-stage notch processing on a first bandwidth signal before downsampling to obtain the power of multiple frequency points; Determining the reconstructed spectrum of the bandwidth signal according to the power of the multiple frequency points; Determining the coefficients of an anti-interference filter according to the reconstructed spectrum; Configuring the anti-interference filter based on the coefficients of the anti-interference filter to perform anti-interference processing on a second bandwidth signal after downsampling.
2. The method according to claim 1, characterized in that, The performing multi-stage notch processing on a first bandwidth signal before downsampling to obtain the power of multiple frequency points includes: For frequency point i among the multiple frequency points, determining notch filter i corresponding to frequency point i and the input signal and output signal of notch filter i, where i is a natural number and 1 ≤ i ≤ N, and N is the preset number of frequency points; Determining the power of frequency point i according to the input signal and output signal of notch filter i.
3. The method according to claim 2, characterized in that, The determining the power of frequency point i according to the input signal and output signal of notch filter i includes: Performing a subtraction operation on the input signal of notch filter i and the output signal of notch filter i, and determining the power of frequency point i according to the result of the subtraction operation.
4. The method according to claim 1, wherein The determining the reconstructed spectrum of the bandwidth signal according to the power of the multiple frequency points includes: Performing linear interpolation processing on the power of the multiple frequency points to obtain at least one interpolation frequency point and the power of the interpolation frequency point; Determining the reconstructed spectrum of the bandwidth signal according to the multiple frequency points and the power of the multiple frequency points, and the interpolation frequency point and the power of the interpolation frequency point.
5. The method according to claim 1, wherein The determining the coefficients of the anti-interference filter according to the reconstructed spectrum includes: Determining the time-domain impulse response of the bandwidth signal according to the reconstructed spectrum; Determining the real coefficients of the time-domain impulse response, and determining the coefficients of the anti-interference filter according to the real coefficients.
6. The method according to claim 5, wherein The determining the time-domain impulse response of the bandwidth signal according to the reconstructed spectrum includes: Dividing the reconstructed spectrum equally to obtain N spectrum segments, and performing M zero-padding operations on the reconstructed spectrum; Performing symmetric flipping on the N spectrum segments to obtain a target reconstructed spectrum; Determining the time-domain impulse response according to the target reconstructed spectrum.
7. The method according to claim 6, wherein The condition that M needs to satisfy: the sum of 2*N + M is an integer multiple of 2.
8. The method according to claim 6, wherein The determining the time-domain impulse response of the bandwidth signal according to the target reconstructed spectrum includes: Determining phase data according to the discrete frequency values of the target reconstructed spectrum; Determining a frequency function according to the target reconstructed spectrum and the phase data; Performing an inverse Fourier transform on the frequency function to obtain the time-domain impulse response.
9. The method according to any one of claims 1-8, characterized in that, Before performing multi-stage notch processing on a first bandwidth signal before downsampling to obtain the power of multiple frequency points, it further includes: Determining the frequency point corresponding to each notch filter; Determining the notch digital frequency of the notch filter according to the frequency point corresponding to the notch filter and the sampling frequency.
10. An anti-interference device for a signal, characterized in that, The device includes: An acquisition module for performing multi-stage notch processing on a first bandwidth signal before downsampling to obtain the power of multiple frequency points; A first determination module for determining the reconstructed spectrum of the bandwidth signal according to the power of the multiple frequencies; A second determination module, configured to determine coefficients of an anti-interference filter according to the reconstructed spectrum; An anti-interference module, configured to configure the anti-interference filter based on the coefficients of the anti-interference filter, so as to perform anti-interference processing on the second bandwidth signal after downsampling.
11. An electronic device, characterized in that, Comprising: A memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the program, the anti-interference method for a signal according to any one of claims 1-9 is implemented.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, the anti-interference method for a signal according to any one of claims 1-9 is implemented.