Interference cancellation method, device, equipment and medium
The interference cancellation method employs CORDIC-FPGA technology to dynamically determine harmonic frequencies and generate adaptive cancellation signals, addressing the limitations of fixed harmonic methods and improving cancellation accuracy and effectiveness.
Patent Information
- Application Number
- CN202411221015.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-12-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing interference cancellation methods using fixed harmonics fail to effectively eliminate interference signals due to their inability to adapt to varying interference conditions, resulting in poor cancellation effects.
An interference cancellation method utilizing a coordinate rotation digital computer (CORDIC) method with Field Programmable Gate Arrays (FPGAs) to dynamically determine harmonic frequency points, extract initial phases, and generate adaptive cancellation signals based on automatic gain control and harmonic frequency changes.
The method achieves improved interference cancellation accuracy and effectiveness by generating dynamic cancellation signals that adapt to changing interference conditions, enhancing signal quality and reliability.
Smart Images

Figure CN119093953A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to an interference cancellation method, device, equipment and medium. Background Art
[0002] In communication systems, receiver performance is often affected by harmonic interference. The impact of harmonic interference on signals is mainly reflected in the serious impact on signal quality and accuracy.
[0003] The impact of harmonic interference on signals is mainly reflected in the following aspects:
[0004] 1. Interference with signal quality: Harmonic interference may seriously affect the quality of the signal, causing signal distortion or deformation, thereby affecting the transmission and reception of the signal.
[0005] 2. Reduce signal accuracy: Harmonic interference may cause changes in signal parameters, such as frequency, amplitude, etc., which in turn affects the accuracy and reliability of the signal.
[0006] In actual signals, interference can be divided into two categories: internal interference and external interference. Internal interference mainly comes from the signal itself or imperfect factors in the signal transmission process, such as cross-modulation, crosstalk, etc.; external interference refers to the interference of other signals, noise, etc. in the external environment to the target signal.
[0007] These interferences will affect the clarity, stability and reliability of the signal, reduce the transmission efficiency of the signal, and even lead to misinterpretation of information and data loss. Therefore, it is very important to identify and deal with the interference in the signal in a timely and effective manner and to perform harmonic cancellation.
[0008] The existing interference cancellation method usually adopts fixed harmonics for cancellation. However, due to the difference of interference signals, the use of fixed harmonics for cancellation will result in that the interference signals cannot be completely cancelled, and the interference signal cancellation effect is poor. Summary of the invention
[0009] The purpose of the present application is to provide an interference cancellation method, device, equipment and medium to solve the problem of poor interference signal cancellation effect.
[0010] To achieve the above objectives, this application provides the following solutions:
[0011] In a first aspect, the present application provides an interference cancellation method, comprising:
[0012] When the CRC check of the received signal of the receiver is correct, determining the interference signal of the current channel estimation value according to the current channel estimation value;
[0013] According to the interference signal, performing harmonic estimation on the received signal to determine the harmonic frequency point;
[0014] Extracting the harmonic initial phase corresponding to each harmonic frequency point by using a coordinate rotation digital calculation method of a field programmable gate array; the number of the field programmable gate arrays is equal to the number of the harmonic frequency points;
[0015] Generate a cancellation signal corresponding to each harmonic initial phase according to the harmonic initial phase and the coordinate rotation digital calculation method;
[0016] All the cancellation signals are combined to determine a final cancellation signal; the final cancellation signal changes with the automatic gain control value or harmonic frequency of the receiver and is used to cancel the interference signal in the received signal.
[0017] In a second aspect, the present application provides an interference cancellation device, comprising:
[0018] An interference signal determination module, used to determine the interference signal of the current channel estimation value according to the current channel estimation value when the CRC check of the received signal of the receiver is correct;
[0019] A harmonic frequency determination module, used to perform harmonic estimation on the received signal according to the interference signal to determine the harmonic frequency;
[0020] A harmonic initial phase extraction module, used to extract the harmonic initial phase corresponding to each harmonic frequency point by using a coordinate rotation digital calculation method of a field programmable gate array; the number of the field programmable gate arrays is equal to the number of the harmonic frequency points;
[0021] A cancellation signal generating module, used for generating a cancellation signal corresponding to each harmonic initial phase according to the harmonic initial phase and the coordinate rotation digital calculation method;
[0022] The final cancellation signal generating module is used to combine all cancellation signals to determine the final cancellation signal; the final cancellation signal changes with the automatic gain control value or harmonic frequency of the receiver and is used to cancel the interference signal in the received signal.
[0023] In a third aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the above-described interference cancellation methods.
[0024] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements any of the above-described interference cancellation methods when executed by a processor.
[0025] According to the specific embodiments provided by the present application, the present application discloses the following technical effects: the present application determines the interference signal of the current channel estimation value through the current channel estimation value, and based on the interference signal, performs harmonic estimation on the received signal to determine multiple harmonic frequency points, so as to utilize the coordinate rotation digital computer (CORDIC) method (Field Programmable Gate Array, FPGA) of the field programmable gate array (Field Programmable Gate Array, FPGA) to extract the harmonic initial phase corresponding to each harmonic frequency point, generate a cancellation signal corresponding to each harmonic initial phase, and obtain a final cancellation signal. Since the final cancellation signal changes with the change of the automatic gain control value or the harmonic frequency point of the receiver, and the interference signal corresponds to the harmonic frequency point, therefore, a cancellation signal with different harmonics is generated based on the harmonic frequency point, thereby canceling the corresponding interference signal and improving the cancellation accuracy and cancellation effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 This is a flow chart of an interference cancellation method in an embodiment of the present application;
[0028] Figure 2 A schematic diagram of a process flow of calculating the initial phase of harmonics provided in one embodiment of the present application;
[0029] Figure 3 A schematic diagram of a cancellation signal generation process flow provided in an embodiment of the present application;
[0030] Figure 4 A flow chart of an interference cancellation method provided in an embodiment of the present application applied to a wireless ad hoc network system. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0032] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0033] like Figure 1 As shown, an interference cancellation method provided in an embodiment of the present application is executed by a computer device, and specifically can be executed by a computer device such as a terminal or a server alone, or can be executed by a terminal and a server together. In an embodiment of the present application, the method includes the following steps 101 to 105. Among them:
[0034] Step 101: When the CRC check of the received signal of the receiver is correct, an interference signal of the current channel estimation value is determined according to the current channel estimation value.
[0035] Step 102: perform harmonic estimation on the received signal according to the interference signal to determine the harmonic frequency point.
[0036] Step 103: extracting the harmonic initial phase corresponding to each harmonic frequency point by using a coordinate rotation digital calculation method of a field programmable gate array; the number of the field programmable gate arrays is equal to the number of the harmonic frequency points.
[0037] Step 104: Generate a cancellation signal corresponding to each harmonic initial phase according to the harmonic initial phase and the coordinate rotation digital calculation method.
[0038] Step 105: Combine all the cancellation signals to determine a final cancellation signal; the final cancellation signal changes with the automatic gain control value of the receiver or the harmonic frequency point, and is used to cancel the interference signal in the received signal.
[0039] In an exemplary embodiment, step 101 also includes: determining whether the cyclic redundancy check code in the received signal is correct; if so, extracting the information field from the cyclic redundancy check code, and reconstructing the transmitted signal of the received signal based on the information field; if not, discarding the received signal.
[0040] In an exemplary embodiment, step 102 specifically includes: when the modulus value of an element in the current channel estimation value is greater than a threshold, setting the element to 0 to obtain an updated current channel estimation value; and using the updated current channel estimation value as an interference signal of the current channel estimation value.
[0041] Furthermore, the calculation process is as follows:
[0042] H = {h_0, h_1, ... h_N};
[0043] absH=abs(H)={abs(h_0),abs(h_1),...abs(h_N)};
[0044] Ifabs(h_k)>signalThr;
[0045] h_k = 0;
[0046] end
[0047] Finally, the updated H is obtained, n=H; where H is the current channel estimation value; h_N is the element in the current channel estimation value, N is the total number of elements, abs represents modulus; signal Thr is the threshold, k∈N; n is the interference signal.
[0048] The initial phase of the harmonic is: initial phase of the harmonic p==(dataIn(1)×e (j×2×pi×-fp / fs×0) +dataIn(2)×e (j ×2×pi×-fp / fs×1) +...+dataIn(dataLen1)×e (j×2×pi×-fp / fs×(dataLen1-1)) ) / dataLen1; where p is the harmonic initial phase number corresponding to the harmonic frequency point, p=1,2,3...; j is the square root of -1; pi is pi; fp is the pth harmonic frequency point; fs is the signal sampling rate; dataIn(dataLen1) is the dataLen1th input data; dataLen1 is the total number of input data.
[0049] In the initial phase of harmonic generation, dataIn(k+1)×e (j×2×pi×-fp / fs×k) is a control instruction, controlling the field programmable gate array to realize the frequency shifting function; wherein k is the sampling time, k=1,2,3..., dataLen1.
[0050] The cancellation signal is: cancellation signal = harmonic initial phase p×e (j×2×pi×fp / fs×k) ; Among them, e (j×2×pi×fp / fs×k) To offset the signal generation stage, a sine wave signal is generated by a digitally controlled oscillator.
[0051] In the cancellation signal generation stage, the initial phase of the harmonic p×e (j×2×pi×fp / fs×k) The control instruction controls the field programmable gate array to realize the function of generating a corresponding sinusoidal wave signal.
[0052] In an exemplary embodiment, after step 105, the method further includes: when the automatic gain control value of the receiver changes, synchronously adjusting the gain of the final cancellation signal, and using the adjusted cancellation signal to cancel the interference signal in the received signal.
[0053] Taking the generation of 4 harmonic frequency points as an example, the calculation process of the harmonic initial phase is as follows: Figure 2 As shown, the cancellation signal generation process is as follows Figure 3As shown, "-f1" is -1 times f1; "-f2" is -1 times f2; "-f3" is -1 times f3; "-f4" is -1 times f4; is multiplication; "-1" means -1 times; For addition.
[0054] When the receiver AGCGAIN value changes, the offset signal needs to be adjusted synchronously due to the change in input harmonic signal strength.
[0055] When AGGCGAIN increases, the signal cancellation signal increases by a corresponding multiple. When AGGCGAIN decreases, the signal cancellation signal decreases by a corresponding multiple.
[0056] For example, when the receiver AGCGAIN value increases by 6dB, it is equivalent to doubling the signal strength. Therefore, the cancellation signal needs to be synchronously amplified by 2 times.
[0057] When the receiver switches the frequency, since the relative frequency of the harmonic signal changes, it is necessary to recalculate the harmonic frequency to obtain the corresponding cancellation signal to cancel the corresponding interference signal.
[0058] In an illustrative example, Figure 4 As shown, Figure 4 In the figure, DFE is a digital front end, and DFE is used to implement up-sampling, down-sampling, calibration and other functions. For a certain wireless ad hoc network system, spurno=4 is set, and spurno represents the total number of interference signals to be eliminated.
[0059] S1. When the cyclic redundancy check (CRC) in the received signal is correct, the current channel estimation value H is used. When the modulus of an element in H is greater than a threshold of 64, it is forced to be set to 0 to obtain a noise estimation of H, i.e., an interference signal n.
[0060] S2. Input the noise estimation n of H into the harmonic estimation module, perform harmonic estimation, and output the harmonic frequency points.
[0061] Furthermore, an FFT analysis is performed on n to find out the four harmonic frequencies f1, f2, f3, and f4 with the strongest normalized relative energy.
[0062] S3. Receiver signal processing adds 4 groups of FPGAs, and extracts the initial phases of the harmonics of f1, f2, f3, and f4 based on the Cordic in each group of FPAG.
[0063] The initial phase calculation formula is as follows, taking the calculation of harmonic initial phase 1 (i.e. initial phase 1) as an example:
[0064] Initial phase 1=(dataIn(1)×e (j×2×pi×-f1 / fs×0)+dataIn(2)×e (j×2×pi×-f1 / fs×1) +...+dataIn(1024)×e (j×2×pi×-f1 / fs×(1023)) ) / 1024.
[0065] Among them, dataLen1=1024, dataLen1 is the average length; fs is the signal sampling rate.
[0066] Cordic implements the frequency shift function: dataIn(k+1)×e (j×2×pi×-fp / fs×k) , k represents the sampling time.
[0067] The initial phases of the harmonics of S4, f1, f2, f3, and f4 are combined with four groups of FPGA to generate corresponding cancellation signals, which are subtracted from the received signals.
[0068] The calculation formula of the offset signal at sampling time k is as follows, taking the calculation of initial phase 1 as an example:
[0069] Cancellation signal = initial phase 1×e (j×2×pi×f1 / fs×k) .
[0070] Cordic realizes the function of generating corresponding sine wave signal: initial phase 1×e (j×2×pi×fp / fs×k) .
[0071] S5. When the receiver AGCGAIN value increases by 6dB, the cancellation signal needs to be synchronously amplified by 2 times.
[0072] S6. When the receiver switches the frequency, the relative frequency of the harmonic signal changes, so the harmonic frequency needs to be recalculated and S1 to S5 need to be repeated.
[0073] The interference cancellation method provided by the present application can adjust the cancellation signal in real time. Compared with the cancellation method using a fixed cancellation signal, the present application can more accurately cancel the interference signal and improve the cancellation effect.
[0074] Based on the same inventive concept, the embodiment of the present application further provides an interference cancellation device for implementing the interference cancellation method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more interference cancellation device embodiments provided below can refer to the limitations of the interference cancellation method above, and will not be repeated here.
[0075] In an exemplary embodiment, an interference cancellation device is provided, characterized in that the interference cancellation device comprises:
[0076] The interference signal determination module is used to determine the interference signal of the current channel estimation value according to the current channel estimation value when the CRC check of the received signal of the receiver is correct.
[0077] The harmonic frequency determination module is used to perform harmonic estimation on the received signal according to the interference signal to determine the harmonic frequency.
[0078] The harmonic initial phase extraction module is used to extract the harmonic initial phase corresponding to each harmonic frequency point by using the coordinate rotation digital calculation method of the field programmable gate array; the number of the field programmable gate arrays is equal to the number of the harmonic frequency points.
[0079] The cancellation signal generating module is used to generate a cancellation signal corresponding to each harmonic initial phase according to the harmonic initial phase and the coordinate rotation digital calculation method.
[0080] The final cancellation signal generating module is used to combine all cancellation signals to determine the final cancellation signal; the final cancellation signal changes with the automatic gain control value or harmonic frequency of the receiver and is used to cancel the interference signal in the received signal.
[0081] In an exemplary embodiment, a computer device is provided, which may be a server or a terminal. The computer device includes a processor, a memory, an input / output interface (I / O for short) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store interference cancellation data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, an interference cancellation method is implemented.
[0082] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0083] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0084] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0085] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ReadOnlyMemory, ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (Magnetoresistive RandomAccess Memory, MRAM), ferroelectric random access memory (Ferroelectric RandomAccess Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (RandomAccess Memory, RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0086] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0087] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0088] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. An interference cancellation method, characterized in that: The interference cancellation method comprises: When the CRC check of the received signal of the receiver is correct, determining the interference signal of the current channel estimation value according to the current channel estimation value; According to the interference signal, performing harmonic estimation on the received signal to determine the harmonic frequency point; Extracting the harmonic initial phase corresponding to each harmonic frequency point by using a coordinate rotation digital calculation method of a field programmable gate array; the number of the field programmable gate arrays is equal to the number of the harmonic frequency points; Generate a cancellation signal corresponding to each harmonic initial phase according to the harmonic initial phase and the coordinate rotation digital calculation method; All the cancellation signals are combined to determine a final cancellation signal; the final cancellation signal changes with the automatic gain control value or harmonic frequency of the receiver and is used to cancel the interference signal in the received signal.
2. The interference cancellation method according to claim 1, characterized in that: Determining, according to the current channel estimation value, an interference signal of the current channel estimation value specifically includes: When the modulus value of an element in the current channel estimation value is greater than a threshold, the element is set to 0 to obtain an updated current channel estimation value; The updated current channel estimation value is used as an interference signal of the current channel estimation value.
3. The interference cancellation method according to claim 1, characterized in that: When the CRC check of the received signal of the receiver is correct, determining the interference signal of the current channel estimation value according to the current channel estimation value, the method further includes: Determining whether a cyclic redundancy check code in the received signal is correct; If yes, extracting an information field from the cyclic redundancy check code, and reconstructing a transmission signal of the received signal based on the information field; If not, the received signal is discarded.
4. The interference cancellation method according to claim 1, characterized in that: According to the interference signal, harmonic estimation is performed on the received signal to determine the harmonic frequency point, which specifically includes: Performing fast Fourier transform on the interference signal, and normalizing the transformed interference signal; The normalized interference signals are sorted according to signal energy, and harmonic frequency points of the normalized interference signals whose signal energy is higher than a set energy are determined.
5. The interference cancellation method according to claim 1, characterized in that: The initial phase of the harmonic is: Harmonic initial phase p==(dataIn(1)×e (j×2×pi×-fp / fs×0) +dataIn(2)×e (j×2×pi×-fp / fs×1) +...+dataIn(dataLen1)×e (j×2×pi×-fp / fs×(dataLen1-1)) ) / dataLen1; where p is the harmonic initial phase number corresponding to the harmonic frequency point, p = 1, 2, 3...; j is the square root of -1; pi is the pi; fp is the pth harmonic frequency point; fs is the signal sampling rate; dataIn(dataLen1) is the dataLen1th input data; dataLen1 is the total number of input data; In the initial phase of harmonic generation, dataIn(k+1)×e (j×2×pi×-fp / fs×k) is a control instruction, controlling the field programmable gate array to realize the frequency shifting function; wherein k is the sampling time, k=1,2,3..., dataLen1.
6. The interference cancellation method according to claim 5, characterized in that: The cancellation signal is: Cancellation signal = harmonic initial phase p×e (j×2×pi×fp / fs×k) ; In the cancellation signal generation stage, the initial phase of the harmonic p×e (j×2×pi×fp / fs×k) The control instruction controls the field programmable gate array to realize the function of generating a corresponding sinusoidal wave signal.
7. The interference cancellation method according to claim 1, characterized in that: All the cancellation signals are combined to determine the final cancellation signal, which then includes: When the automatic gain control value of the receiver changes, the gain of the final cancellation signal is synchronously adjusted, and the adjusted cancellation signal is used to cancel the interference signal in the received signal.
8. An interference cancellation device, characterized in that: The interference cancellation device comprises: An interference signal determination module, used to determine the interference signal of the current channel estimation value according to the current channel estimation value when the CRC check of the received signal of the receiver is correct; A harmonic frequency determination module, used to perform harmonic estimation on the received signal according to the interference signal to determine the harmonic frequency; A harmonic initial phase extraction module, used to extract the harmonic initial phase corresponding to each harmonic frequency point by using a coordinate rotation digital calculation method of a field programmable gate array; the number of the field programmable gate arrays is equal to the number of the harmonic frequency points; A cancellation signal generating module, used for generating a cancellation signal corresponding to each harmonic initial phase according to the harmonic initial phase and the coordinate rotation digital calculation method; The final cancellation signal generating module is used to combine all cancellation signals to determine the final cancellation signal; the final cancellation signal changes with the automatic gain control value or harmonic frequency of the receiver and is used to cancel the interference signal in the received signal.
9. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the interference cancellation method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the interference cancellation method according to any one of claims 1 to 7 is implemented.
