Interference signal processing method and device, storage medium and electronic device
By calculating the target frequency offset of the interference signal and performing corresponding cancellation operations, the problem of inaccurate determination of the frequency position of the interference signal was solved, achieving effective interference signal cancellation, improving communication quality and reducing the bit error rate.
Patent Information
- Application Number
- CN202311610791.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2043-11-28
AI Technical Summary
In existing technologies, the methods for determining the frequency and location of interference signals have low accuracy, resulting in the inability to effectively eliminate interference signals.
By determining the initial frequency of the interference signal, calculating the target frequency offset, and performing a cancellation operation on the input signal based on the target frequency offset, including moving the interference signal to zero frequency and calculating the frequency offset using the sampling rate and the estimated value, the interference signal is thus eliminated.
It achieves accurate elimination of interference signals, avoids errors caused by frequency offset in experimental measurements, improves communication quality, and reduces bit error rate.
Smart Images

Figure CN117729079B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communication technology, and more specifically, to a method, apparatus, storage medium, and electronic device for processing interference signals. Background Technology
[0002] In the field of communications, due to the influence of harmonics, spurious signals, and external environmental factors, the signals received by a system often contain single-tone interference (STO) signals. Appropriate methods are needed to eliminate STO interference signals to improve communication quality and reduce bit error rate. In related technologies, the frequency location of STO interference can be determined by measurement. Applying this frequency location to a STO cancellation module can effectively eliminate the impact of STO on performance. However, due to the local oscillator, the STO interference location measured in the laboratory will have a frequency offset (approximately ±470Hz) from the actual location, and the accuracy of the frequency location is directly proportional to the STO interference cancellation effect of the module. Therefore, the methods for determining the frequency location of interference signals in related technologies have a low accuracy problem, resulting in the inability to effectively eliminate interference signals.
[0003] There is currently no effective solution to the technical problem of the inability to effectively eliminate interference signals in related technologies. Summary of the Invention
[0004] The present invention provides a method, apparatus, storage medium and electronic device for processing interference signals, so as to at least solve the technical problem of the inability to effectively eliminate interference signals in the related art.
[0005] According to an embodiment of the present invention, a method for processing interference signals is provided, comprising: determining a target frequency offset of the interference signal based on an initial frequency of the interference signal contained in an input signal, wherein the target frequency offset is used to represent the frequency difference between the actual frequency of the interference signal and the initial frequency; performing a cancellation operation on the interference signal contained in the input signal based on the target frequency offset to obtain a target signal; wherein determining the target frequency offset of the interference signal based on the interference signal contained in the input signal includes: shifting the interference signal to zero frequency; and processing the interference signal based on the initial frequency, a target sampling rate, and a first set of sampled values. A first estimate is determined, wherein the target sampling rate is the sampling rate used when sampling the input signal, and the first set of sampled values includes sampled values obtained by sampling a first signal in the input signal using the target sampling rate; a second estimate is determined based on the initial frequency, the target sampling rate, and the second set of sampled values, wherein the second set of sampled values includes sampled values obtained by sampling a second signal in the input signal using the target sampling rate, and the first signal and the second signal are two signals that are continuous or discontinuous; and a target frequency offset is determined based on the first estimate and the second estimate.
[0006] In an exemplary embodiment, the process of eliminating the interference signal contained in the input signal according to the target frequency offset to obtain the target signal includes: determining the interference signal according to the target frequency offset, the initial frequency, and the target sampling rate using the following formula: Where R(n) represents the aforementioned interference signal, A represents the amplitude of the aforementioned interference signal, f1 represents the aforementioned initial frequency, and f c f represents the frequency offset of the aforementioned target. s This represents the target sampling rate, where n>0.
[0007] The target sampling rate is the sampling rate used when sampling the input signal; the target signal is determined by subtracting the interference signal from the input signal.
[0008] In an exemplary embodiment, determining the target frequency offset of the interference signal based on the initial frequency includes: determining a first estimate based on the initial frequency, a target sampling rate, and a first set of sampled values, wherein the target sampling rate is the sampling rate used when sampling the input signal, and the first set of sampled values includes sampled values obtained by sampling a first signal in the input signal using the target sampling rate; determining a second estimate based on the initial frequency, the target sampling rate, and a second set of sampled values, wherein the second set of sampled values includes sampled values obtained by sampling a second signal in the input signal using the target sampling rate, and the first sub-signal and the second signal are two signals that are continuous or discontinuous; and determining the target frequency offset based on the first estimate and the second estimate.
[0009] In an exemplary embodiment, determining the first estimate and the second estimate based on the initial frequency, the target sampling rate, the first set of sampled values, and the second set of sampled values includes: determining the first estimate according to the following formula: Where S1 represents the first estimated value, d1(n) represents the nth sampled value in the first set of sampled values, f1 represents the initial frequency, and f S The target sampling rate is represented by N, which represents the number of sampling points for the first signal.
[0010] The second estimate above is obtained using the following formula:
[0011] Where S2 represents the second estimated value, d2(n) represents the nth sampled value in the second set of sampled values, f1 represents the initial frequency, and f S The target sampling rate is represented by N, and the number of sampling points for the second signal is represented by N.
[0012] In an exemplary embodiment, determining the target frequency offset based on the first estimate and the second estimate includes: determining the target frequency offset according to the following formula: Among them, f C f represents the frequency offset of the aforementioned target. S S1 represents the target sampling rate, S2 represents the first estimated value, N represents the number of sampling points for a subframe of the input signal, and angle() represents the tangent function.
[0013] According to another embodiment of the present invention, an interference signal processing apparatus is also provided, comprising: a first determining module, configured to determine a target frequency offset of the interference signal based on an initial frequency of the interference signal contained in an input signal, wherein the target frequency offset represents the frequency difference between the actual frequency of the interference signal and the initial frequency; and a first cancellation module, configured to perform a cancellation operation on the interference signal contained in the input signal based on the target frequency offset to obtain a target signal; wherein the first determining module includes: a first moving submodule, configured to move the interference signal to zero frequency; and the first determining submodule configured to determine the interference signal based on the initial frequency, a target sampling rate, and a first set of sampled values. A first estimation value is determined, wherein the target sampling rate is the sampling rate used when sampling the input signal, and the first set of sampled values includes sampled values obtained by sampling a first signal in the input signal using the target sampling rate; a second determining submodule is used to determine a second estimation value based on the initial frequency, the target sampling rate, and the second set of sampled values, wherein the second set of sampled values includes sampled values obtained by sampling a second signal in the input signal using the target sampling rate, and the first signal and the second signal are two signals that are continuous or discontinuous; a third determining submodule is used to determine the target frequency offset based on the first estimation value and the second estimation value.
[0014] In an exemplary embodiment, the first elimination module includes a fourth determining submodule, configured to determine the interference signal according to the target frequency offset, the initial frequency, and the target sampling rate, using the following formula:
[0015] Where R(n) represents the aforementioned interference signal, A represents the amplitude of the aforementioned interference signal, f1 represents the aforementioned initial frequency, and f c f represents the frequency offset of the aforementioned target. s The target sampling rate is defined as n>0, where the target sampling rate is the sampling rate used when sampling the input signal; the fifth determining submodule is used to subtract the interference signal from the input signal to determine the target signal.
[0016] In an exemplary embodiment, the first determining submodule includes: a first determining unit, configured to determine the first estimated value according to the following formula:
[0017] Where S1 represents the first estimated value, d1(n) represents the nth sampled value in the first set of sampled values, f1 represents the initial frequency, and f S The target sampling rate is represented by N, which represents the number of sampling points for the first signal; the second determination is...
[0018] A unit is used to obtain the second estimate mentioned above according to the following formula:
[0019] Where S2 represents the second estimated value, d2(n) represents the nth sampled value in the second set of sampled values, f1 represents the initial frequency, and f S The target sampling rate is represented by N, and the number of sampling points for the second signal is represented by N.
[0020] In an exemplary embodiment, the third determining submodule includes: a third determining unit, configured to determine the target frequency offset according to the following formula:
[0021] Among them, f C f represents the frequency offset of the aforementioned target. S S1 represents the target sampling rate, S2 represents the first estimated value, N represents the number of sampling points for one frame of the input signal, and angle() represents the tangent function.
[0022] According to yet another embodiment of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
[0023] According to yet another embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0024] This invention obtains the initial frequency of the interference signal, then determines the target frequency offset of the interference signal based on the initial frequency, i.e., the frequency difference between the actual frequency position of the interference signal and the initial frequency position. Finally, it performs interference signal cancellation on the input signal based on the target frequency offset to obtain the target signal. This achieves the goal of determining the target frequency offset of the interference signal from the initial frequency, and then performing interference signal cancellation on the input signal based on the target frequency offset. This avoids the problem in related technologies that rely solely on experimentally measured interference signal frequencies for interference cancellation, where the experimentally measured interference signal frequencies deviate significantly from the actual frequencies, leading to inaccurate determination of the interference signal frequency position. Therefore, it solves the technical problem of ineffective interference signal cancellation in related technologies, achieving effective interference signal cancellation. Attached Figure Description
[0025] Figure 1 This is a block diagram of the hardware structure of a mobile terminal for processing interference signals according to an embodiment of the present invention.
[0026] Figure 2 This is a flowchart of a method for processing interference signals according to an embodiment of the present invention;
[0027] Figure 3 This is an example of simulation results for interference signal processing according to an embodiment of the present invention. Figure 1 ;
[0028] Figure 4 This is an example of simulation results for interference signal processing according to an embodiment of the present invention. Figure 2 ;
[0029] Figure 5 This is an example of simulation results for interference signal processing according to an embodiment of the present invention. Figure 3 ;
[0030] Figure 6 This is an example of simulation results for interference signal processing according to an embodiment of the present invention. Figure 4 ;
[0031] Figure 7 This is an example diagram comparing the added frequency offset with the calculated frequency offset according to an embodiment of the present invention;
[0032] Figure 8 This is an example of simulation results for interference signal processing according to an embodiment of the present invention. Figure 5 ;
[0033] Figure 9 This is an example diagram showing the results of single-tone interference cancellation according to an embodiment of the present invention;
[0034] Figure 10 This is a structural block diagram of an interference signal processing apparatus according to an embodiment of the present invention. Detailed Implementation
[0035] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples.
[0036] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0037] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a block diagram of the mobile terminal hardware structure of the interference signal processing method according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0038] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the interference signal processing method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0039] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0040] This embodiment provides a method for processing interference signals. Figure 2 This is a flowchart of a method for processing interference signals according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps:
[0041] Step S202: Determine the target frequency offset of the interference signal based on the initial frequency of the interference signal contained in the input signal, wherein the target frequency offset is used to represent the frequency difference between the actual frequency of the interference signal and the initial frequency.
[0042] Step S204: Perform the interference signal elimination operation on the input signal according to the target frequency offset to obtain the target signal;
[0043] The determination of the target frequency offset of the interference signal contained in the input signal includes: shifting the interference signal to zero frequency; determining a first estimate based on the initial frequency, the target sampling rate, and a first set of sampled values, wherein the target sampling rate is the sampling rate used when sampling the input signal, and the first set of sampled values includes sampled values obtained by sampling a first signal in the input signal using the target sampling rate; determining a second estimate based on the initial frequency, the target sampling rate, and a second set of sampled values, wherein the second set of sampled values includes sampled values obtained by sampling a second signal in the input signal using the target sampling rate, wherein the first signal and the second signal are two signals that are continuous or discontinuous; and determining the target frequency offset based on the first estimate and the second estimate.
[0044] Through the above steps, the target frequency offset of the interference signal is determined based on the initial frequency of the interference signal contained in the input signal. This means determining the frequency difference between the actual frequency position of the interference signal and its initial frequency position. Then, the interference signal in the input signal is eliminated based on the target frequency offset to obtain the target signal. This achieves the goal of determining the target frequency offset of the interference signal from the initial frequency and then eliminating the interference signal from the input signal based on the target frequency offset. It avoids the problem in related technologies that rely solely on experimentally measured interference signal frequencies for interference elimination, where the experimentally measured interference signal frequencies deviate significantly from the actual frequencies, leading to inaccurate determination of the interference signal frequency position. Therefore, it solves the technical problem of ineffective interference signal elimination in related technologies, achieving effective interference signal elimination.
[0045] The entity performing the above steps can be a terminal, such as a computer terminal, a device, an application program in the device, a processor with human-computer interaction capabilities configured on a storage device, or a processing device or processing unit with similar processing capabilities, but is not limited to these.
[0046] In the above embodiments, the target frequency offset of the interference signal is determined based on the initial frequency of the interference signal contained in the input signal. In practical applications, the initial frequency of the interference signal can be obtained through laboratory measurement; however, due to the local oscillator, the frequency position of the interference signal measured in the laboratory (such as the initial frequency mentioned above) may have a large frequency offset (referred to as frequency offset) compared with the actual position. The target frequency offset of the interference signal can be determined based on the initial frequency. For example, the input signal without frequency offset is: In the formula, f1 is the initial frequency, f s Let a be the sampling rate of the input signal, a1 be the amplitude of the interference signal (including the initial phase), and assume the target frequency offset is f. c The input signal with added frequency offset can be denoted as: It can perform the same processing on two consecutive or discontinuous signals in the input signal. For example, it can process both the first signal and the second signal with... After multiplying each value point by point and then averaging them, two estimates can be obtained, such as a first estimate and a second estimate. The target frequency offset f can then be calculated based on the ratio of the second estimate to the first estimate. c Both the first and second estimates are consistent with the target frequency offset f. c and the sampling rate f of the input signal s The ratio of the second estimate to the first estimate is also related to f. c f s The first and second estimates are related, and can be obtained through calculation. Thus, based on the first and second estimates and f... s The target frequency offset f was obtained through reverse calculation. c This allows for the estimation of the target frequency offset; based on the target frequency offset, interference signals contained in the input signal can be eliminated. For example, after obtaining the target frequency offset f... c Then, the actual frequency position of the interference signal can be obtained as f. 1+ f c That is, the interference signal is Subtracting the interference signal from the input signal yields the target signal, as shown in d(n) above, thus achieving the goal of eliminating the interference signal in the input signal. This method achieves the goal of estimating the target frequency offset of the interference signal from the initial frequency, and then performing interference signal elimination on the input signal based on the target frequency offset. This avoids the problem in related technologies that rely solely on experimentally measured interference signal frequencies for interference elimination, where the measured interference signal frequency deviates significantly from the actual frequency, leading to an inaccurate determination of the interference signal frequency location. Therefore, it solves the technical problem of ineffective interference signal elimination in related technologies, achieving an effective interference signal elimination effect.
[0047] In the above embodiments, a first estimated value can be obtained based on the initial frequency, the target sampling rate, and the first set of sampled values. The first set of sampled values includes those obtained by sampling a first signal in the input signal using the target sampling rate. The input signal includes multiple signals. Alternatively, a set of sampled values can be understood as those obtained by sampling signals in a first time period of the input signal using the target sampling rate. The input signal includes signals in multiple time periods, each time period corresponding to one signal. For example, the first estimated value... In the formula, N represents the number of samples, and n ranges from 1 to N. Similarly, the second estimated value can be obtained based on the initial frequency, the target sampling rate, and the second set of sampled values. The second set of sampled values includes those obtained by sampling the second signal in the input signal using the target sampling rate. The input signal includes the first signal and the second signal, and the first signal and the second signal are either continuous or discontinuous. For example, the second estimated value... In this formula, the value of n ranges from (N+1) to 2N; then, based on the first and second estimates, the target frequency offset can be obtained. For example, the ratio of the second estimate to the first estimate can be calculated, and the ratio of the second estimate to the first estimate is related to f. c f s This information is relevant, and the target frequency offset f can be determined. c The relationship between the first estimated value, the second estimated value, and the target sampling rate is considered. The first and second estimated values can be calculated, and thus the target frequency offset fc can be derived by back-calculation based on the first estimated value, the second estimated value, and fs. In this embodiment, predetermined processing is performed based on the first signal (as described above). After performing point-by-point multiplication and then averaging, the relationship between the first estimated value and fc and fs is determined. Based on the second signal, the relationship between the second estimated value and fc and fs is determined through predetermined processing. Then, the relationship between fc and the ratio of the second estimated value and the first estimated value, as well as fs, is determined, thereby achieving the purpose of determining the target frequency offset fc.
[0048] In an optional embodiment, the interference signal contained in the input signal is eliminated based on the target frequency offset to obtain the target signal, including: determining the interference signal according to the target frequency offset, the initial frequency, and the target sampling rate using the following formula:
[0049] Where R(n) represents the aforementioned interference signal, A represents the amplitude of the aforementioned interference signal, f1 represents the aforementioned initial frequency, fc represents the aforementioned target frequency offset, fs represents the aforementioned target sampling rate, and n>0. The aforementioned target sampling rate is the sampling rate used when sampling the aforementioned input signal. The aforementioned target signal is determined by subtracting the aforementioned interference signal from the aforementioned input signal.
[0050] In the above embodiments, the interference signal can be determined based on the target frequency offset, the initial frequency, and the target sampling rate. For example, the interference signal can be obtained based on the target frequency offset, the initial frequency, and the target sampling rate. This allows us to subtract the interference signal from the input signal dspur(n) to obtain the target signal, such as... By determining the target frequency offset, the actual frequency position of the interference signal can be accurately determined, thereby achieving the goal of eliminating the interference signal contained in the input signal.
[0051] In the above embodiments, it can be done according to the formula The interference signal is determined by the following method: A represents the amplitude of the interference signal (including the initial phase), f1 represents the initial frequency of the interference signal (which can be measured in a laboratory), and fs represents the target sampling rate of the input signal (the sampling rate used when sampling the input signal). In practical applications, n can be greater than 0, less than or equal to 0, or can be understood as the value of the interference signal in the time dimension. This embodiment achieves the goal of determining the interference signal based on the target frequency offset, initial frequency, and target sampling rate.
[0052] In an optional embodiment, determining the first estimate and the second estimate based on the initial frequency, the target sampling rate, the first set of sampled values, and the second set of sampled values includes: determining the first estimate according to the following formula:
[0053] Where S1 represents the first estimated value, d1(n) represents the nth sampled value in the first set of sampled values, f1 represents the initial frequency, and f S The target sampling rate is represented by N, which represents the number of sampling points for the first signal.
[0054] The second estimate above is obtained using the following formula:
[0055] Where S2 represents the second estimated value, d2(n) represents the nth sampled value in the second set of sampled values, f1 represents the initial frequency, and f S Let N represent the target sampling rate, and N represent the number of sampling points for the second signal. In this embodiment, the first estimated value can be obtained according to the above formula, that is, the first estimated value and f are determined. c f s The relationship is that d1(n) in this formula corresponds to the aforementioned input signal d. spur The sampled value obtained by sampling the first signal in (n) is then compared with... After multiplying point by point and then averaging the results (i.e., averaging the N points in a subframe), the final size estimate S1 is obtained. Alternatively, a second estimate can be obtained using the same formula, thus determining the relationship between the second estimate and f. c f s The relationship is that d2(n) in this formula corresponds to the aforementioned input signal d. spur The sampled value obtained by sampling the second signal in (n) is then compared with... After multiplying each point, the points are accumulated and averaged, i.e., the N points in a subframe are accumulated and averaged to obtain the final size estimate S2.
[0056] In an optional embodiment, determining the target frequency offset based on the first estimate and the second estimate includes: determining the target frequency offset according to the following formula: Among them, f C f represents the frequency offset of the aforementioned target. S Let S1 represent the target sampling rate, S2 represent the first estimated value, S2 represent the second estimated value, N represent the number of sampling points for one subframe of the input signal, and angle() represent the tangent function. In this embodiment, according to the calculation formulas for the second and first estimated values, the phases of the N points in S2 and the phases of the N points in S1 form a geometric sequence. Thus, if the first term of S2 is divided by the phase difference of the first term of S1, which equals one estimated interval, and the two terms are then divided, we obtain... This can be deduced by working backwards. Therefore, the target frequency offset f was determined. C The purpose, in practical applications, is to allow the calculated frequency offset magnitude f to be used... c The frequency of the interference signal is configured to avoid errors caused by deviations in the configured frequency.
[0057] Obviously, the embodiments described above are only some embodiments of the present invention, and not all embodiments. The present invention will be specifically described below with reference to the embodiments.
[0058] All existing single-tone interference cancellation methods rely heavily on the accuracy of the frequency point where the interference occurs. In practical systems, the frequency deviation can reach ±470Hz. This invention provides a method to help a single-tone interference cancellation module maintain performance under frequency deviation. This invention can estimate the magnitude of the frequency deviation even when it is unknown, thereby ensuring the interference cancellation effect. The following is a detailed description of this invention.
[0059] Without frequency offset, the obtained signal is:
[0060] Where d(n) represents the original signal (equivalent to the aforementioned target signal), This indicates single-tone interference (similar to the aforementioned interference signal), d spur (n) represents the signal containing the interference signal (corresponding to the aforementioned input signal); a1 represents the amplitude of the single-tone interference (including the initial phase), f1 is the location of the single-tone interference obtained in the laboratory (corresponding to the aforementioned initial frequency), f s This is the sampling rate (corresponding to the aforementioned target sampling rate).
[0061] Assume the frequency offset is f c (Corresponding to the aforementioned target frequency offset), the signal at this time is:
[0062]
[0063] It should be noted that d in formula (1) spur (n) Without considering the frequency offset of the single-tone interference signal, the d in formula (2) spur (n) The frequency offset f of the single-tone interference signal has been taken into account. c .
[0064] To obtain the accurate magnitude of the spur, it is necessary to first shift the spur to zero frequency and then perform magnitude estimation (cumulative averaging); therefore, the signal is compared with a single tone. After performing point-by-point multiplication and then averaging, we get:
[0065]
[0066] Where N is the number of accumulated points for size estimation, and N is less than or equal to the number of samples in a su (subframe).
[0067] The first term of S1 can be approximately equal to 0. Therefore, the above system of equations can be simplified to:
[0068]
[0069] Following this logic, the second estimate can be obtained as follows:
[0070]
[0071] In formula (3), S1 is the estimated value obtained after calculating the first signal (corresponding to the aforementioned first estimated value). Taking N as the number of samples in a subframe as an example, the first signal corresponds to d. spur In (n), n ranges from 1 to N. In formulas (3) and (4) above, ∑ omits the range of n from 1 to N. In formula (5), S2 is the estimated value obtained after calculating the second signal (corresponding to the aforementioned second estimated value). For example, the second signal corresponds to d spur In (n), n takes values in the range (N+1, 2N). The first signal is not limited to the first signal, and similarly, the second signal is not limited to the second signal. The first signal and the second signal are the original input signal d. spur Two consecutive or continuous signals in (n).
[0072] A single-tone signal can be considered as a geometric sequence with equal amplitude, where the quotient of two points equals the phase difference introduced by a single point. Therefore, their cumulative value can be calculated using the geometric sequence formula, and the first term of the geometric sequence involved in S2 divided by the first term of the geometric sequence involved in S1 equals the phase difference of an estimated interval. At this point, division reveals that:
[0073]
[0074] Then we can obtain the frequency offset f. c for:
[0075]
[0076] The calculated frequency offset magnitude f c The configuration is based on the single-tone frequency issued, thus avoiding error elimination problems caused by deviations in the configured frequency.
[0077] The embodiments of the present invention will be described below with reference to experimental simulation results:
[0078] Regarding the elimination of single-tone interference, this module (i.e., the interference signal processing module in this application embodiment, or simply the spur module) can eliminate single-tone interference while maintaining signal integrity to the maximum extent (i.e., without affecting other REs at the edge of the single-tone interference) compared to other elimination methods.
[0079] Figure 3 This is an example of simulation results for interference signal processing according to an embodiment of the present invention. Figure 1 The simulation results are as follows Figure 3 As shown, Figure 3 Taking (mcs=27, snr=28) as an example, mcs represents the modulation and coding scheme, and snr represents the signal-to-noise ratio. Figure 3 Figure (a) shows the performance simulation results of the original signal. Figure 3 Figure (b) shows the performance simulation results after using the spur module to eliminate single-tone interference. Figure 3 Figure (c) shows the performance simulation results after eliminating single-tone interference using the Notch module (adaptive notch filter).
[0080] Performance comparisons show that for higher modulation orders, compared to other single-tone cancellation modules (filters), such as... Figure 3 Figure (c) in the diagram uses the notch module to eliminate monotone interference, and the spur module (such as...) Figure 3 Figure (b) in the diagram can maintain accurate (i.e., without affecting surrounding REs) and clean elimination.
[0081] The Spur module performs direct elimination without adding frequency offset estimation calculations, and can accept a maximum frequency offset of about 15Hz. Figure 4 This is an example of simulation results for interference signal processing according to an embodiment of the present invention. Figure 2 The simulation results are as follows Figure 4 As shown, Figure 4 Taking a bandwidth of 100M and snr=20 as an example. Figure 4The original single volume is at point 0 in the middle. Figure 4 As can be seen, the tendency of single-tone retention becomes more and more obvious as the frequency deviation increases. That is, the more single-tone retention there is, the more acceptable the frequency deviation is 15Hz. Beyond this range, it will be unacceptable.
[0082] From Figure 4 It can be seen that the Spur module has very limited tolerance for frequency offset; as the frequency offset increases, the elimination effect deteriorates rapidly. Figure 5 and Figure 6 The comparison also fully illustrates this point. Figure 5 , Figure 6 These are examples of simulation results for interference signal processing according to embodiments of the present invention. Figure 3 , Four ,in, Figure 5 This is a comparison of the results before and after single-tone cancellation when the frequency offset is 1Hz. Figure 6 This is a comparison of the results before and after single-tone cancellation when the frequency offset is 15Hz. When the frequency offset reaches 15Hz, the residual single-tone interference energy reaches 50% of the original value. At this time, if the single-tone interference has DMRs in the RE, it will greatly affect the performance and correctness during demodulation.
[0083] In this embodiment of the invention, the error calculated by the frequency offset estimation is within 3Hz; within this range, the spur module can eliminate interference relatively accurately. The simulation results for frequency offset estimation are as follows: Figure 7 As shown, Figure 7 This is an example diagram comparing the added frequency offset and the calculated frequency offset according to an embodiment of the present invention, at different SNRs (e.g., Figure 7 A comparison of the added and calculated frequency offsets at SNR=-10 and SNR=20. Figure 7 The middle column FreqshiftAdd represents the added frequency offset, and the rightmost column FreqshiftCalc represents the calculated frequency offset.
[0084] By trying multiple frequency offset values within the frequency offset range, it can be seen that the frequency offset calculated using the estimated values (such as the aforementioned estimated values S1 and S2) (such as the aforementioned f) is... c The frequency offset is close to the added frequency offset, and the difference is within the allowable range.
[0085] Figure 8 This is an example of simulation results for interference signal processing according to an embodiment of the present invention. Figure 5 ,in, Figure 8 Figure (a) shows the performance simulation results of single-tone interference cancellation before using the embodiments of the present invention. Figure 8 Figure (b) shows the performance simulation results of single-tone interference cancellation after using the embodiments of the present invention. Figure 8As can be seen, after using the frequency offset estimation in the embodiments of the present invention, the effect of single-tone interference cancellation is significantly improved, such as... Figure 8 Raw BER (bit error rate) before mid-channel decoding.
[0086] Figure 9 This is an example diagram showing the results of single-tone interference cancellation according to an embodiment of the present invention. (Comparison) Figure 9 The two spectrograms in Figures (a) and (b) show that the ability to estimate frequency offset is directly related to whether single-tone interference can be cleanly eliminated. Figure 9 In Figures (a) and (b), position 0 represents DC. Figure (a) shows the spectrum after single-tone interference elimination before using the embodiment of the present invention, indicating that significant single-tone interference still exists. Figure (b) shows the spectrum after single-tone interference elimination after using the embodiment of the present invention, showing a significant improvement in single-tone interference compared to Figure (a), with single-tone interference essentially eliminated. Further... Figure 8 The long-term simulation results also show the direct impact of the frequency offset estimation invention on performance.
[0087] Based on the calculation of the frequency offset formula and the characteristics of the inverse trigonometric function, it can be obtained that: when the subcarrier spacing = 15kHz, the supported frequency offset range is ±1000Hz; when the subcarrier spacing = 30kHz, the supported frequency offset range is ±500Hz. Currently, the maximum frequency offset estimated in the laboratory can reach approximately ±470Hz; therefore, the embodiments of this invention can effectively improve the robustness of the single-tone interference cancellation module, and also make this module more applicable in practical scenarios.
[0088] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described above in the various embodiments of the present invention.
[0089] This embodiment also provides an interference signal processing device. Figure 10 This is a structural block diagram of an interference signal processing apparatus according to an embodiment of the present invention, such as... Figure 10 As shown, the device includes:
[0090] The first determining module 1002 is used to determine the target frequency offset of the interference signal based on the initial frequency of the interference signal contained in the input signal, wherein the target frequency offset is used to represent the frequency difference between the actual frequency of the interference signal and the initial frequency.
[0091] The first elimination module 1004 is used to perform elimination operations on the interference signals contained in the input signal according to the target frequency offset to obtain the target signal.
[0092] In an optional embodiment, the first determining module includes: a first moving submodule, configured to move the interference signal to zero frequency; a first determining submodule, configured to determine a first estimated value based on the initial frequency, the target sampling rate, and a first set of sampled values, wherein the target sampling rate is the sampling rate used when sampling the input signal, and the first set of sampled values includes sampled values obtained by sampling a first signal in the input signal using the target sampling rate; a second determining submodule, configured to determine a second estimated value based on the initial frequency, the target sampling rate, and a second set of sampled values, wherein the second set of sampled values includes sampled values obtained by sampling a second signal in the input signal using the target sampling rate, and the first signal and the second signal are two signals that are continuous or discontinuous; and a third determining submodule, configured to determine the target frequency offset based on the first estimated value and the second estimated value.
[0093] In an exemplary embodiment, the first elimination module includes a fourth determining submodule, configured to determine the interference signal according to the target frequency offset, the initial frequency, and the target sampling rate, using the following formula:
[0094] Where R(n) represents the aforementioned interference signal, A represents the amplitude of the aforementioned interference signal, f1 represents the aforementioned initial frequency, and f c f represents the frequency offset of the aforementioned target. s The target sampling rate is defined as n>0, where the target sampling rate is the sampling rate used when sampling the input signal; the fifth determining submodule is used to subtract the interference signal from the input signal to determine the target signal.
[0095] In an exemplary embodiment, the first determining submodule includes: a first determining unit, configured to determine the first estimated value according to the following formula:
[0096] Where S1 represents the first estimated value, d1(n) represents the nth sampled value in the first set of sampled values, f1 represents the initial frequency, and f SThe target sampling rate is represented by N, which represents the number of sampling points for the first signal; the second determination is...
[0097] A unit is used to obtain the second estimate mentioned above according to the following formula:
[0098] Where S2 represents the second estimated value, d2(n) represents the nth sampled value in the second set of sampled values, f1 represents the initial frequency, and f S The target sampling rate is represented by N, and the number of sampling points for the second signal is represented by N.
[0099] In an exemplary embodiment, the third determining submodule includes: a third determining unit, configured to determine the target frequency offset according to the following formula:
[0100] Among them, f C f represents the frequency offset of the aforementioned target. S S1 represents the target sampling rate, S2 represents the first estimated value, N represents the number of sampling points for one frame of the input signal, and angle() represents the tangent function.
[0101] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0102] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
[0103] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0104] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.
[0105] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0106] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0107] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0108] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for processing interference signals, characterized in that, include: The target frequency offset of the interference signal is determined based on the initial frequency of the interference signal contained in the input signal, wherein the target frequency offset is used to represent the frequency difference between the actual frequency of the interference signal and the initial frequency; The interference signal contained in the input signal is eliminated according to the target frequency offset to obtain the target signal; The step of determining the target frequency offset of the interference signal based on the interference signal contained in the input signal includes: moving the interference signal to zero frequency; determining a first estimate based on the initial frequency, the target sampling rate, and a first set of sampled values, wherein the target sampling rate is the sampling rate used when sampling the input signal, and the first set of sampled values includes sampled values obtained by sampling a first signal in the input signal using the target sampling rate; determining a second estimate based on the initial frequency, the target sampling rate, and a second set of sampled values, wherein the second set of sampled values includes sampled values obtained by sampling a second signal in the input signal using the target sampling rate, wherein the first signal and the second signal are two signals that are continuous or discontinuous; and determining the target frequency offset based on the first estimate and the second estimate.
2. The method according to claim 1, characterized in that, The interference signal contained in the input signal is eliminated based on the target frequency offset to obtain the target signal, including: The interference signal is determined according to the following formula based on the target frequency offset, the initial frequency, and the target sampling rate: Where R(n) represents the interference signal, A represents the amplitude of the interference signal, f1 represents the initial frequency, and f c f represents the target frequency offset. s The target sampling rate is defined as n>0, where the target sampling rate is the sampling rate used when sampling the input signal. The target signal is determined by subtracting the interference signal from the input signal.
3. The method according to claim 1, characterized in that, Based on the initial frequency, target sampling rate, first set of sampled values, and second set of sampled values, determine the first estimated value and the second estimated value, including: The first estimated value is determined according to the following formula: Where S1 represents the first estimated value, d1(n) represents the nth sample value in the first set of sample values, f1 represents the initial frequency, and f S The target sampling rate is represented by N, which represents the number of sampling points for the first signal. The second estimate is obtained using the following formula: Where S2 represents the second estimated value, d2(n) represents the nth sample value in the second set of sampled values, f1 represents the initial frequency, and f S The target sampling rate is represented by N, and the number of sampling points for the second signal is represented by N.
4. The method according to any one of claims 3, characterized in that, Determining the target frequency offset based on the first estimate and the second estimate includes: The target frequency offset is determined according to the following formula: Among them, f C f represents the target frequency offset. S S1 represents the target sampling rate, S2 represents the first estimated value, S2 represents the second estimated value, N represents the number of sampling points for one frame of the input signal, and angle() represents the tangent function.
5. A processing device for interference signals, characterized in that, include: The first determining module is used to determine the target frequency offset of the interference signal based on the initial frequency of the interference signal contained in the input signal, wherein the target frequency offset is used to represent the frequency difference between the actual frequency of the interference signal and the initial frequency. The first elimination module is used to perform an elimination operation on the interference signal contained in the input signal according to the target frequency offset to obtain the target signal; The first determining module includes: a first moving submodule, configured to move the interference signal to zero frequency; a first determining submodule, configured to determine a first estimated value based on the initial frequency, the target sampling rate, and a first set of sampled values, wherein the target sampling rate is the sampling rate used when sampling the input signal, and the first set of sampled values includes sampled values obtained by sampling a first signal in the input signal using the target sampling rate; a second determining submodule, configured to determine a second estimated value based on the initial frequency, the target sampling rate, and a second set of sampled values, wherein the second set of sampled values includes sampled values obtained by sampling a second signal in the input signal using the target sampling rate, and the first signal and the second signal are two signals that are continuous or discontinuous; and a third determining submodule, configured to determine the target frequency offset based on the first estimated value and the second estimated value.
6. The apparatus according to claim 5, characterized in that, The first elimination module further includes: The fourth determining submodule is used to determine the interference signal according to the target frequency offset, the initial frequency, and the target sampling rate, using the following formula: Where R(n) represents the interference signal, A represents the amplitude of the interference signal, f1 represents the initial frequency, and f c f represents the target frequency offset. s The target sampling rate is defined as n>0, where the target sampling rate is the sampling rate used when sampling the input signal. The fifth determining submodule is used to subtract the interference signal from the input signal to determine the target signal.
7. The apparatus according to claim 5, characterized in that, The first determining submodule further includes: The first determining unit is configured to determine the first estimated value according to the following formula: Where S1 represents the first estimated value, d1(n) represents the nth sample value in the first set of sample values, f1 represents the initial frequency, and f S The target sampling rate is represented by N, which represents the number of sampling points for the first signal. The second determining unit is used to obtain the second estimated value according to the following formula: Where S2 represents the second estimated value, d2(n) represents the nth sample value in the second set of sampled values, f1 represents the initial frequency, and f S The target sampling rate is represented by N, and the number of sampling points for the second signal is represented by N.
8. The apparatus according to claim 6, characterized in that, The third determining submodule also includes: The third determining unit is configured to determine the target frequency offset based on the first estimated value and the second estimated value, including: The target frequency offset is determined according to the following formula: Among them, f C f represents the target frequency offset. S S1 represents the target sampling rate, S2 represents the first estimated value, S2 represents the second estimated value, N represents the number of sampling points for one frame of the input signal, and angle() represents the tangent function.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 1 to 4.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 4.
Citation Information
Patent Citations
Frequency deviation and phase deviation combination measurement method and apparatus thereof
CN102387098A
Communication signal processing method and device, electronic equipment and storage medium
CN116979979A