Signal correction method and device of receiver, electronic equipment and storage medium
Signal correction for low-IF receivers is achieved through digital logic. Filtering compensation and image interference signal correction are performed using frequency parameters and preset correction parameters, solving the image interference problem caused by IQ imbalance, simplifying the correction process, and reducing the area of analog circuitry.
Patent Information
- Application Number
- CN202311825825.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2043-12-27
AI Technical Summary
In existing low-IF receivers, image interference signals are difficult to filter out by subsequent filters under IQ imbalance, which affects demodulation performance. Furthermore, existing IQ correction algorithms are complex and increase the area of analog circuitry.
Signal correction is achieved through digital logic, utilizing receiver frequency parameters and preset correction parameters for filtering compensation and image interference signal correction, including gain adjustment and phase rotation, thus avoiding increasing the area of analog circuitry.
It achieves a fast and simple signal correction process, is applicable to low-IF receivers with different operating modes, and reduces the area requirements of analog circuits.
Smart Images

Figure CN117560026B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic communication technology, and more specifically, to a signal correction method, apparatus, electronic device, and computer-readable storage medium for a receiver. Background Technology
[0002] Low-IF receivers are a common architecture in communication systems. Their design reduces the impact of IQ imbalance and DC bias. Low-IF receivers typically perform a second down-conversion after analog-to-digital conversion. This second down-conversion circuit includes an adjustable-frequency digital mixer.
[0003] If there is an interference signal at the mirror position of the intermediate frequency signal in the receiver, the interference signal will generate two types of interference signals on the analog signal output by the digital mixer: one is the adjacent channel interference signal, and the other is the mirror interference signal.
[0004] For adjacent channel interference signals, a portion of the interference can be filtered out using a complex Butterworth filter. Further filtering with a subsequent digital filter can further enhance the suppression of this interference. For image interference signals, suppression relies on the orthogonality of the analog mixer. If the I and Q signals of the analog mixer are perfectly orthogonal, there is no image interference. Otherwise, the generated image interference will fall within the signal bandwidth and cannot be filtered out by subsequent filters, thus affecting demodulation performance. However, in actual operation, the physical limitations of the receiver's circuit hardware and unavoidable errors in circuit design will cause deviations in the amplitude and phase of the I and Q signals, resulting in IQ imbalance.
[0005] To address this challenge, the IQ correction algorithm can be used for compensation in intermediate frequency receivers.
[0006] For low-IF receivers, existing IQ correction algorithms perform corrections via additional analog circuitry before the complex filter. This correction process is relatively complex and increases the area of the analog circuitry. Summary of the Invention
[0007] The purpose of this application is to provide a signal correction method, apparatus, electronic device, and storage medium for a receiver, which can correct the receiver signal with only a small amount of digital logic, and the correction process is simple and does not require increasing the area of analog circuitry.
[0008] In a first aspect, embodiments of this application provide a signal correction method for a receiver, including:
[0009] Acquire the digital signal from the receiver;
[0010] The digital signal is filtered and compensated according to the frequency parameters of the receiver to obtain a filtered signal.
[0011] The filtered signal is reconstructed according to preset correction parameters to obtain the mirror interference signal;
[0012] The digital signal is corrected based on the mirror interference signal to obtain a corrected signal.
[0013] In the above implementation process, the digital signal is filtered and compensated according to the receiver's frequency parameters, and the filtered signal is compensated according to preset correction parameters to obtain an image interference signal; the digital signal is then corrected according to the image interference signal to obtain a corrected signal. These steps are mainly completed through digital logic, without significantly increasing the area of the receiver's analog circuitry. Furthermore, both the frequency parameters and the preset correction parameters are parameters that can be quickly determined. Therefore, the signal correction method for the receiver provided in this application embodiment has a simple correction process and can quickly complete the receiver's signal correction.
[0014] Furthermore, the digital signal is obtained by the receiver after preprocessing the received analog signal;
[0015] The step of performing filtering and compensation processing on the digital signal according to the frequency parameters of the receiver to obtain a filtered signal includes:
[0016] If an analog bandpass filter is used to filter the analog signal during the preprocessing process, and the digital signal is filtered and compensated according to the frequency parameters of the receiver, a filtered signal is obtained.
[0017] The filtered signal is reconstructed according to preset correction parameters to obtain an image interference signal, including:
[0018] If an analog bandpass filter is used to filter the analog signal during the preprocessing process, and the filtered signal is conjugate processed to obtain a conjugate signal, and the conjugate signal is compensated according to a preset correction parameter to obtain a mirror interference signal;
[0019] If no analog bandpass filter is used for filtering during preprocessing, the digital signal is conjugated to obtain a conjugate signal. The conjugate signal is then compensated according to preset correction parameters to obtain a mirror interference signal.
[0020] In the above implementation process, whether or not to use an analog bandpass filter to filter the analog signal corresponds to different operating modes of the low-IF receiver. In different operating modes, the types of interference signals in the analog signal output by the digital mixer are different. Based on the above implementation method, the signal correction method of the receiver in this application embodiment can be applied to different operating modes of the receiver.
[0021] Further, the step of performing filtering and compensation processing on the digital signal according to the receiver's frequency parameters to obtain a filtered signal includes:
[0022] The parameters of the first filter, the parameters of the second filter, and the filter compensation parameters are generated based on the parameters of the receiver's RF mixer.
[0023] The digital signal is filtered and compensated according to the first filter, the second filter, and the filter compensation parameters to obtain the filtered signal.
[0024] In the above implementation process, the parameters of the first filter, the parameters of the second filter, and the filter compensation parameters are generated by the parameters of the receiver's RF mixer and the parameters of the analog bandpass filter. The analog signal is then filtered and compensated according to the first filter, the second filter, and the filter compensation parameters to obtain the filtered signal. Since the parameters of the RF mixer can be determined during the receiver design stage, and the filtering process is easy to implement, the signal correction method for the receiver provided in this application embodiment has simple steps and can quickly correct the receiver signal.
[0025] Further, the step of generating the parameters of the first filter, the parameters of the second filter, and the filter compensation parameters based on the parameters of the receiver's RF mixer includes:
[0026] The center frequency of the first filter is determined to be the negative of the frequency of the intermediate frequency signal of the RF mixer of the receiver;
[0027] The center frequency of the second filter is determined to be a preset multiple of the center frequency of the first filter;
[0028] The attenuation value of the cascaded frequency response of the analog bandpass filter, the first filter, and the second filter used in the preprocessing process at the center frequency of the first filter is determined as the filter compensation parameter.
[0029] The step of performing filtering compensation processing on the digital signal according to the first filter, the second filter, and the filtering compensation parameters to obtain the filtered signal includes:
[0030] The digital signal is filtered using the first filter and the second filter to obtain the filtered signal;
[0031] The filtered signal is obtained by compensating the filtered signal using the aforementioned filter compensation parameters.
[0032] In the above implementation process, the digital signal is filtered using the first filter and the second filter to obtain the filtered signal, and the filtered signal is compensated using the filter compensation parameter to obtain the filtered signal. The above steps are easy to implement with digital logic and can effectively reduce the area of analog circuits in the chip.
[0033] Furthermore, the preset correction parameters include: gain adjustment and phase rotation parameters;
[0034] The step of compensating the conjugate signal according to preset correction parameters to obtain the mirror interference signal includes:
[0035] The conjugate signal is corrected according to the following formula:
[0036] i = 1, 2, 3, ..., N, where N is a positive integer;
[0037] Where A3(i) is the value of the i-th point of the mirror interference signal, A2(i) is the value of the i-th point of the conjugate signal, and g d2 ω is the gain adjustment parameter. d2 For phase rotation parameters.
[0038] Furthermore, the preset correction parameters are obtained through the following method:
[0039] Receive test signals;
[0040] Obtain the amplitude ratio of the Q-channel signal and the I-channel signal in the test signal;
[0041] A first preset correction parameter is generated based on the amplitude ratio of the Q-channel signal and the I-channel signal in the test signal, and the preset first phase difference between the I-channel signal and the Q-channel signal in the test signal.
[0042] A first signal sequence is generated according to the first preset correction parameters;
[0043] Obtain the spectrum of the first signal sequence;
[0044] Obtain the first power difference corresponding to the first frequency point and the second frequency point in the spectrum of the first signal sequence;
[0045] The second phase difference between the I-channel and Q-channel signals in the test signal is generated based on the first power difference.
[0046] A second preset correction parameter is generated based on the amplitude ratio of the Q-channel signal and the I-channel signal in the test signal, and the second phase difference between the I-channel signal and the Q-channel signal in the test signal;
[0047] A second signal sequence is generated based on the second preset correction parameters;
[0048] Obtain the second power difference corresponding to the first frequency point and the second frequency point in the spectrum of the second signal sequence;
[0049] The preset correction parameters are generated based on the first power difference, the second power difference, and the second preset correction parameters.
[0050] In the above implementation process, a method for generating preset correction parameters is provided. The preset correction parameters can be determined during the receiver production process, so that the digital signal of the receiver can be quickly corrected based on the preset correction parameters during the subsequent operation of the receiver.
[0051] Furthermore, the first preset correction parameter and the second preset correction parameter are generated using the following formulas:
[0052]
[0053] Among them, g d1 ω d1 The first preset correction parameter, The first phase difference, or g, is preset between the I-channel and Q-channel signals in the test signal. d1 ω d1 The second preset correction parameter, g1 is the second phase difference between the I-channel signal and the Q-channel signal in the test signal, and g1 is the amplitude ratio between the Q-channel signal and the I-channel signal in the test signal.
[0054] Furthermore, the second phase difference between the I-channel and Q-channel signals in the test signal is generated using the following formula:
[0055]
[0056] r = 10 ΔP / 10 ;
[0057] in, ΔP is the second phase difference, ΔP is the first power difference, and g1 is the amplitude ratio of the Q-channel signal and the I-channel signal in the test signal.
[0058] Further, generating the preset correction parameter based on the first power difference, the second power difference, and the second preset correction parameter includes:
[0059] If the second power difference is greater than the first power difference, the second preset correction parameter is used as the preset correction parameter; if the second power difference is less than or equal to the first power difference, the second phase difference is inversely inverted to obtain the third phase difference.
[0060] The preset correction parameters are obtained based on the third phase difference and the preset formula.
[0061] In a second aspect, an electronic device provided in this application includes: 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 steps of the method described in any of the first aspects.
[0062] Thirdly, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method described in any of the first aspects.
[0063] Other features and advantages disclosed in this application will be set forth in the following description, or some features and advantages may be inferred from the description or determined without doubt, or may be learned by practicing the above-described technology disclosed in this application.
[0064] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0065] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0066] Figure 1 A schematic flowchart illustrating the signal correction method for a receiver provided in an embodiment of this application;
[0067] Figure 2 This is a schematic diagram of the receiver provided in an embodiment of this application;
[0068] Figure 3 This is a schematic diagram of the filter compensation process provided in the embodiments of this application;
[0069] Figure 4 The spectrum diagram provided for the embodiments of this application;
[0070] Figure 5 Another spectrum diagram provided for embodiments of this application;
[0071] Figure 6 Another spectrum diagram provided for embodiments of this application;
[0072] Figure 7 Another spectrum diagram provided for embodiments of this application;
[0073] Figure 8 Another spectrum diagram provided for embodiments of this application;
[0074] Figure 9 Another spectrum diagram provided for embodiments of this application;
[0075] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0076] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0077] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0078] See Figure 1 This application provides a signal correction method for a receiver, which can be applied to a server, electronic device, computer-readable storage medium, digital logic circuit, or processor for correcting the digital signal of a low-intermediate frequency receiver. The server can be a standalone server or a server cluster composed of multiple servers. It can also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence sampling point devices. See also... Figure 1 The methods include:
[0079] S1: Acquire the digital signal from the receiver;
[0080] S2: Perform filtering and compensation processing on the digital signal according to the frequency parameters of the receiver to obtain a filtered signal;
[0081] S3: Reconstruct the filtered signal according to the preset correction parameters to obtain the mirror interference signal;
[0082] S4: Correct the digital signal according to the image interference signal to obtain the corrected signal.
[0083] In the above embodiments, the receiver refers to a low-IF receiver. In a low-IF receiver, the IQ signal imbalance has the same effect on the phase and amplitude of the relevant signals within the receiver. This IQ imbalance is frequency-independent and is caused by the local oscillator of the low-IF receiver. The IQ signals are also called in-phase or quadrature signals, where I stands for in-phase and Q stands for quadrature, with a 90° phase difference between I and Q.
[0084] For example, see Figure 2 This is a schematic diagram of the low-intermediate frequency receiver according to an embodiment of this application. Figure 2 The IQ mismatch correction module is the main implementation of the method provided in this application embodiment. The IQ mismatch correction module can be one or more of an electronic device, a server, a computer-readable storage medium, a processor, and a digital logic circuit. In some embodiments, the IQ mismatch correction module can be a processor. Figure 2 Except for the IQ mismatch correction module, the rest of the components are the existing structure of low-IF receivers.
[0085] In one application scenario, a low-noise amplifier receives a radio frequency (RF) signal. An RF mixer orthogonally downconverts the RF signal to an intermediate frequency (IF) signal, resulting in two orthogonal IF signals (not ideally orthogonal, containing errors). An analog IF filter (an analog bandpass or low-pass filter for channel filtering) removes external noise and interference signals from the two orthogonal IF signals. An analog-to-digital converter converts the analog signal to a digital signal (which can be represented as A(i) = I(i) + j*Q(i)). The processor receives the digital signal and performs filtering compensation processing based on the receiver's frequency parameters to obtain a filtered signal. This filtered signal is then reconstructed according to preset correction parameters to obtain an image interference signal. The digital signal is then corrected based on the image interference signal to obtain a corrected signal. Random access memory (RAM) stores the processor's intermediate processing results. The processor then inputs the corrected signal to a digital IF synthesizer, which outputs the real part (I signal) and the imaginary part (Q signal) to obtain the useful baseband signal.
[0086] In the above implementation process, the digital signal is filtered and compensated according to the receiver's frequency parameters, and the filtered signal is compensated according to preset correction parameters to obtain the image interference signal; the digital signal is then corrected according to the preset correction parameters and the image interference signal to obtain the corrected signal. These steps are mainly completed through digital logic, without significantly increasing the area of the receiver's analog circuitry. Furthermore, both the frequency parameters and the preset correction parameters are parameters that can be quickly determined. Therefore, the signal correction method for the receiver provided in this application embodiment has a simple correction process and can quickly complete the receiver's signal correction.
[0087] In some embodiments, S4 includes: subtracting the image interference signal from the digital signal to obtain a correction signal.
[0088] In some embodiments, S1 includes: generating parameters of a first filter, parameters of a second filter, and filter compensation parameters based on parameters of the receiver's radio frequency mixer; performing filter compensation processing on the digital signal based on the first filter, the second filter, and the filter compensation parameters to obtain the filtered signal.
[0089] In the above implementation process, the parameters of the first filter, the parameters of the second filter, and the filter compensation parameters are generated by the parameters of the receiver's RF mixer and the parameters of the analog bandpass filter. The analog signal is then filtered and compensated according to the first filter, the second filter, and the filter compensation parameters to obtain the filtered signal. Since the parameters of the RF mixer can be determined during the receiver design stage, and the filtering process is easy to implement, the signal correction method for the receiver provided in this application embodiment has simple steps and can quickly correct the receiver signal.
[0090] In some embodiments, generating parameters for the first filter, the second filter, and filter compensation parameters based on parameters of the receiver's RF mixer includes: determining the center frequency of the first filter as a negative of the frequency of the intermediate frequency signal of the receiver's RF mixer; determining the center frequency of the second filter as a preset multiple of the center frequency of the first filter; determining the attenuation value of the cascaded frequency response of the analog bandpass filter, the first filter, and the second filter used in the preprocessing at the center frequency of the first filter as the filter compensation parameter; and performing filter compensation processing on the digital signal based on the first filter, the second filter, and the filter compensation parameter to obtain the filtered signal includes: filtering the digital signal using the first filter and the second filter to obtain a filtered signal; and compensating the filtered signal using the filter compensation parameter to obtain the filtered signal.
[0091] Radio frequency (RF) mixers are power devices that convert the frequency of an RF signal from one frequency to another, making information processing easier and cheaper. Besides generating a new frequency signal, they also maintain other characteristics of the original signal to enable reception or transmission.
[0092] Generally, a mixer has three ports: a radio frequency (RF) port, a local oscillator (LO) port, and an intermediate frequency (IF) port. The RF port receives the radio frequency signal output from the low-noise amplifier (i.e., the amplified antenna signal). The LO port is used to input the local carrier signal generated by the local oscillator. The mixer multiplies the RF signal and the local carrier signal to obtain the down-converted signal, i.e., the IF signal.
[0093] For example, see Figure 2 Assuming that the low-noise amplifier (LNA) receives the RF signal, it inputs the RF signal to the RF mixer, and the RF mixer orthogonally downconverts the RF signal to cosω. IF t and sinω IF t (ideally), where ω IF =2πf IF f IF It is the frequency of the intermediate frequency signal of the RF mixer. The frequency of this intermediate frequency signal can be set, so it is also called the frequency of the variable intermediate frequency signal.
[0094] If the system front-end analog filter uses an analog bandpass filter (i.e., an analog bandpass filter is used to filter the digital signal during preprocessing), then the center frequency of the bandpass filter is generally set at f. IF The center frequency of the first filter is -f. IF The center frequency of the second filter is -3*f IF Based on the frequency response curves of the cascaded analog bandpass filter, the first filter, and the second filter, the signal's frequency response after passing through the filtering system is determined to be at frequency -f. IF The intensity of the loss is determined, and filter gain compensation is performed based on this intensity.
[0095] See Figure 3 If the intermediate frequency signal of the RF mixer is 6MHz, the center frequency of the analog bandpass filter should be 6MHz. Then the center frequency of the first filter is -6MHz and the center frequency of the second filter is -18MHz.
[0096] In the above implementation process, the digital signal is filtered using the first filter and the second filter to obtain the filtered signal, and the filtered signal is compensated using the filter compensation parameter to obtain the filtered signal. The above steps are easy to implement with digital logic and can effectively reduce the area of analog circuits in the chip.
[0097] In some embodiments, the preset multiple is N, where N is a natural number.
[0098] In some embodiments, the preset multiple is 3.
[0099] In some embodiments, the filter compensation parameters are obtained through the following steps: obtaining the cascaded frequency response curve of the filter system formed by the analog filter, the first filter, and the second filter; and determining the intensity of signal loss after passing through the filter system based on the cascaded frequency response curve.
[0100] For example, see Figure 3 The digital signal is processed using a first filter, a second filter, and a gain compensation module. The center frequency of the RF mixer is 6MHz, therefore the center frequency of the first filter is -6MHz, and the center frequency of the second filter is -18MHz. The cascaded frequency response curve of the filtering system consisting of the analog bandpass filter, the first filter, and the second filter is plotted. Based on the frequency response curve, the signal loss at -6MHz after passing through the filtering system is determined to be 36.5dB. Based on this loss, the gain compensation coefficient is determined to be 36.5dB.
[0101] In some embodiments, the digital signal is obtained by the receiver after preprocessing the received analog signal.
[0102] For example, see Figure 2 The preprocessing process includes: a low-noise amplifier (LNA) receives the radio frequency (RF) signal; an RF mixer orthogonally downconverts the RF signal to an intermediate frequency (IF) signal, resulting in two orthogonal IF signals (not ideal orthogonal signals, with errors); channel filtering is achieved through an IF analog bandpass filter (BPF) or a low-pass filter (LPF) to remove external noise and interference signals from the two orthogonal IF signals; and an analog-to-digital converter converts the analog signal into a digital signal.
[0103] Based on this, S1 includes: if an analog bandpass filter is used to filter the analog signal during preprocessing, the digital signal is subjected to filter compensation processing according to the receiver's frequency parameters to obtain a filtered signal; if an analog low-pass filter is used to filter the analog signal during preprocessing, then it is not necessary to perform filter compensation processing on the digital signal according to the receiver's frequency parameters; S2 includes: if an analog bandpass filter is used to filter the analog signal during preprocessing, the filtered signal is subjected to conjugate processing to obtain a conjugate signal, and the conjugate signal is subjected to compensation processing according to preset correction parameters to obtain an image interference signal; if an analog bandpass filter is not used to filter the analog signal during preprocessing, the digital signal is subjected to conjugate processing to obtain a conjugate signal, and the conjugate signal is subjected to compensation processing according to preset correction parameters to obtain an image interference signal.
[0104] For example, see Figure 4 ,based on Figure 2In a low-to-medium frequency receiver structure, if a bandpass filter is not used during preprocessing, and interference exists at the image frequency position of the RF mixer, the spectrum of the RF mixer output signal will be the same as the spectrum of the RF mixer itself. The spectrum after taking the conjugate is as follows: Figure 5 As shown, the spectrum of the signal after phase adjustment and subtraction is as follows: Figure 6 As shown, the spectrum of the interference-free signal obtained after processing by a digital mixer and a low-pass filter (LPF) is as follows: Figure 7 As shown. If a bandpass filter is used in the preprocessing, the signal spectrum of the mixer output is as follows. Figure 8 As shown, the spectrum after bandpass filtering is as follows: Figure 9 As shown. Therefore, image frequency suppression cannot be achieved simply by conjugating the signal and then rotating the gain and phase. The image frequency signal must be recovered before suppression can be completed.
[0105] In the above implementation process, whether or not to use an analog bandpass filter to filter the analog signal corresponds to different operating modes of the low-IF receiver. In different operating modes, the types of interference signals in the analog signal output by the digital mixer are different. Based on the above implementation method, the signal correction method of the receiver in this application embodiment can be applied to different operating modes of the receiver.
[0106] In some embodiments, the step of compensating the conjugate signal according to preset correction parameters to obtain the mirror interference signal includes:
[0107] The conjugate signal is corrected according to the following formula:
[0108] i = 1, 2, 3, ..., N, where N is a positive integer;
[0109] Where A3(i) is the value of the i-th point of the mirror interference signal, A2(i) is the value of the i-th point of the conjugate signal, and g d2 ω is the gain adjustment parameter. d2 For phase rotation parameters.
[0110] This application embodiment also provides a method for determining gain adjustment parameters and phase rotation parameters, including: receiving a test signal; obtaining the amplitude ratio of the Q-channel signal and the I-channel signal in the test signal; generating a first preset correction parameter based on the amplitude ratio of the I-channel signal and the Q-channel signal in the test signal and a preset first phase difference between the I-channel signal and the Q-channel signal in the test signal; generating a first signal sequence based on the first preset correction parameter; obtaining the spectrum of the first signal sequence; obtaining a first power difference corresponding to a first frequency point and a second frequency point in the spectrum of the first signal sequence; generating a second phase difference between the I-channel signal and the Q-channel signal in the test signal based on the first power difference; generating a second preset correction parameter based on the amplitude ratio of the I-channel signal and the Q-channel signal in the test signal and the second phase difference between the I-channel signal and the Q-channel signal in the test signal; generating a second signal sequence based on the second preset correction parameter; obtaining a second power difference corresponding to the first frequency point and the second frequency point in the spectrum of the second signal sequence; and generating a preset correction parameter based on the first power difference, the second power difference, and the second preset correction parameter.
[0111] In some embodiments, to Figure 2 Taking the RF chip corresponding to the receiver structure as an example, before receiving the test signal, the following steps are taken: Configure the chip to receive mode so that it can receive external test signals; add an interference signal as a test signal at the mirror position of the RF signal at the antenna input of the chip using a measuring instrument; if the analog intermediate frequency filter of the RF chip only supports analog bandpass filtering, then turn off the chip's filter and configure the chip's signal receiving mode to signal pass-through, that is, the RF chip transmits the received signal directly to the analog-to-digital converter without passing through the intermediate frequency filter; if the analog intermediate frequency filter supports analog low-pass filtering, then switch the RF chip's mode to analog low-pass filtering, that is, the RF chip will perform low-pass filtering on the received test signal through the analog low-pass filter; configure the test mode connection between the analog-to-digital converter and the random access memory so that the random access memory can sample the signal output by the analog-to-digital converter to obtain the sampled signal.
[0112] It is understandable that after acquiring the test signal, the test signal is further sampled to obtain the sampled signal. The Q-channel signal and I-channel signal mentioned in the method for determining the gain adjustment parameter and phase rotation parameter are actually the sampled signals of the Q-channel signal and I-channel signal.
[0113] In the above implementation process, a method for generating preset correction parameters is provided. The preset correction parameters can be determined during the receiver production process, so that the digital signal of the receiver can be quickly corrected based on the preset correction parameters during the subsequent operation of the receiver.
[0114] Furthermore, the first signal sequence and the second signal sequence are generated using the following formula:
[0115] i = 1, 2, 3, ..., N, where N is a positive integer;
[0116] Where A1(i) is the sampled value of the i-th point in the first signal sequence, I1(i) is the sampled value of the i-th point of the I-channel signal in the first signal sequence; Q1(i) is the sampled value of the i-th point of the Q-channel signal in the first signal sequence; g d1 ω is the gain adjustment parameter in the first preset correction parameters. d1 The phase rotation parameter is one of the first preset correction parameters, or A1(i) is the sampled value of the i-th point in the second signal sequence, I1(i) is the sampled value of the i-th point of the I-channel signal in the second signal sequence; Q1(i) is the sampled value of the i-th point of the Q-channel signal in the second signal sequence; g d1 ω is the gain adjustment parameter in the second preset correction parameters. d2 The phase rotation parameter is one of the second preset correction parameters.
[0117] Furthermore, the first preset correction parameter and the second preset correction parameter are generated using the following formulas:
[0118]
[0119] Among them, g d1 ω d1 The first preset calibration parameter, The first phase difference, or g, is preset between the I-channel and Q-channel signals in the test signal. d1 ω d1 The second preset calibration parameter, G1 represents the second phase difference between the I-channel and Q-channel signals in the test signal, and g1 represents the amplitude ratio between the Q-channel and I-channel signals in the test signal. In some embodiments, both the I-channel and Q-channel signals of the test signal are sine waves, and the amplitude refers to the peak value of the sine wave.
[0120] In some embodiments, the first phase difference is 0°.
[0121] Furthermore, before obtaining the amplitude ratio of the Q-channel signal and the I-channel signal in the test signal, the process includes: sampling the I-channel signal and the Q-channel signal of the test signal to obtain the expression of the I-channel signal and the sampled value of the Q-channel signal, wherein the number of samples can be 2. N Points, N = 11, 12, 13, 14..., where N can be a positive integer greater than 11.
[0122] Furthermore, the first frequency point and the second frequency point are -f IF and f IF , where f IFThe frequency of the intermediate frequency signal of the RF mixer.
[0123] Further, generating a second phase difference between the I-channel signal and the Q-channel signal based on the first power difference includes:
[0124] The second phase difference between the I-channel and Q-channel signals in the test signal is generated using the following formula:
[0125]
[0126] r = 10 ΔP / 10 ;
[0127] in, ΔP is the second phase difference, ΔP is the first power difference, and g1 is the amplitude ratio of the I-channel signal and the Q-channel signal in the test signal.
[0128] Further, generating preset correction parameters based on the first power difference, the second power difference, and the second preset correction parameter includes: if the second power difference is greater than the first power difference, using the second preset correction parameter as the preset correction parameter; if the second power difference is less than or equal to the first power difference, taking the inverse of the second phase difference to obtain a third phase difference, and obtaining the preset correction parameter based on the third phase difference and a preset formula. In other words, the preset correction parameter is obtained according to the following formula: Among them, g d ω d For preset calibration parameters, The third phase difference between the I-channel and Q-channel signals, or g d ω d The third preset correction parameter is g1, which is the amplitude ratio of the Q-channel signal and the I-channel signal in the test signal.
[0129] This application also provides an electronic device, please refer to [link to application]. Figure 10 , Figure 10 This is a structural block diagram of an electronic device provided in an embodiment of this application. The electronic device may include a processor 101, a communication interface 102, a memory 103, and at least one communication bus 104. The communication bus 104 is used to enable direct communication between these components. In this embodiment, the communication interface 102 of the electronic device is used for signaling or data communication with other node devices. The processor 101 may be an integrated circuit chip with signal processing capabilities.
[0130] The processor 101 described above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor, or the processor 101 can be any conventional processor.
[0131] The memory 103 may be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc. The memory 103 stores computer-readable instructions. When these computer-readable instructions are executed by the processor 101, the electronic device can perform the various steps involved in the above method embodiments.
[0132] Alternatively, the electronic device may also include a storage controller and an input / output unit.
[0133] The memory 103, memory controller, processor 101, peripheral interface, and input / output unit are electrically connected directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses 104. The processor 101 is used to execute executable modules stored in the memory 103, such as software function modules or computer programs included in electronic devices.
[0134] Input / output units are used to enable users to create tasks and set optional start periods or preset execution times for those tasks, facilitating user-server interaction. Input / output units can be, but are not limited to, a mouse and keyboard.
[0135] Understandable. Figure 10 The structure shown is for illustrative purposes only; the electronic device may also include components that are more advanced than those shown. Figure 10 The more or fewer components shown, or having the same Figure 10 The different configurations shown. Figure 10The components shown can be implemented using hardware, software, or a combination thereof.
[0136] This application also provides a storage medium storing instructions. When the instructions are run on a computer, the computer program is executed by the processor to implement the method of the method embodiment. To avoid repetition, the method will not be described again here.
[0137] This application also provides a computer program product that, when run on a computer, causes the computer to perform the method of the method embodiment.
[0138] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0139] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0140] If a function is implemented as a software module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0141] The above are merely embodiments of this application and are not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0142] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0143] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
Claims
1. A signal correction method for a receiver, characterized in that, include: Acquire the digital signal from the receiver; The digital signal is filtered and compensated according to the frequency parameters of the receiver to obtain a filtered signal. The filtered signal is reconstructed according to preset correction parameters to obtain an image interference signal. The preset correction parameters are obtained through the following method: receiving a test signal; obtaining the amplitude ratio of the Q-channel signal and the I-channel signal in the test signal; generating a first preset correction parameter based on the amplitude ratio of the Q-channel signal and the I-channel signal in the test signal and a preset first phase difference between the I-channel signal and the Q-channel signal in the test signal; generating a first signal sequence based on the first preset correction parameter; obtaining the spectrum of the first signal sequence; obtaining a first power difference corresponding to a first frequency point and a second frequency point in the spectrum of the first signal sequence; generating a second phase difference between the I-channel signal and the Q-channel signal in the test signal based on the first power difference; generating a second preset correction parameter based on the amplitude ratio of the Q-channel signal and the I-channel signal in the test signal and the second phase difference between the I-channel signal and the Q-channel signal in the test signal; generating a second signal sequence based on the second preset correction parameter; obtaining a second power difference corresponding to a first frequency point and a second frequency point in the spectrum of the second signal sequence; and generating the preset correction parameter based on the first power difference, the second power difference, and the second preset correction parameter. The digital signal is corrected based on the mirror interference signal to obtain a corrected signal.
2. The signal correction method for a receiver according to claim 1, characterized in that, The digital signal is obtained by the receiver after preprocessing the received analog signal; The step of performing filtering and compensation processing on the digital signal according to the frequency parameters of the receiver to obtain a filtered signal includes: If an analog bandpass filter is used to filter the analog signal during the preprocessing process, and the digital signal is filtered and compensated according to the frequency parameters of the receiver, a filtered signal is obtained. The filtered signal is reconstructed according to preset correction parameters to obtain an image interference signal, including: If an analog bandpass filter is used to filter the analog signal during the preprocessing process, and the filtered signal is conjugate processed to obtain a conjugate signal, and the conjugate signal is compensated according to a preset correction parameter to obtain a mirror interference signal; If no analog bandpass filter is used for filtering during preprocessing, the digital signal is conjugated to obtain a conjugate signal. The conjugate signal is then compensated according to preset correction parameters to obtain a mirror interference signal.
3. The signal correction method for a receiver according to claim 1, characterized in that, The step of performing filtering and compensation processing on the digital signal according to the frequency parameters of the receiver to obtain a filtered signal includes: The parameters of the first filter, the parameters of the second filter, and the filter compensation parameters are generated based on the parameters of the receiver's RF mixer. The digital signal is filtered and compensated according to the first filter, the second filter, and the filter compensation parameters to obtain the filtered signal.
4. The signal correction method for a receiver according to claim 3, characterized in that, The step of generating parameters for the first filter, parameters for the second filter, and filter compensation parameters based on the parameters of the receiver's RF mixer includes: The center frequency of the first filter is determined to be the negative of the frequency of the intermediate frequency signal of the RF mixer of the receiver; The center frequency of the second filter is determined to be a preset multiple of the center frequency of the first filter; The attenuation value of the cascaded frequency response of the analog bandpass filter, the first filter, and the second filter used in the preprocessing process at the center frequency of the first filter is determined as the filter compensation parameter. The step of performing filtering compensation processing on the digital signal according to the first filter, the second filter, and the filtering compensation parameters to obtain the filtered signal includes: The digital signal is filtered using the first filter and the second filter to obtain the filtered signal; The filtered signal is obtained by compensating the filtered signal using the filter compensation parameters.
5. The signal correction method for a receiver according to claim 2, characterized in that, The preset correction parameters include: gain adjustment and phase rotation parameters; The step of compensating the conjugate signal according to preset correction parameters to obtain the mirror interference signal includes: The conjugate signal is corrected according to the following formula: , =1, 2, 3, ..., N, where N is a positive integer; in, The first of the mirror interference signals The value of each point, For the conjugate signal, the first The value of each point, This is the gain adjustment parameter. For phase rotation parameters.
6. The signal correction method for a receiver according to claim 1, characterized in that, The first and second preset correction parameters are generated using the following formulas: ; in, , The first preset correction parameter, A preset first phase difference between the I-channel and Q-channel signals in the test signal, or , The second preset correction parameter, This is the second phase difference between the I-channel and Q-channel signals in the test signal. The amplitude ratio of the Q-channel signal to the I-channel signal in the test signal is given.
7. The signal correction method for a receiver according to claim 1, characterized in that, The second phase difference between the I-channel and Q-channel signals in the test signal is generated using the following formula: ; ; in, This is the second phase difference. The first power difference, The amplitude ratio of the Q-channel signal to the I-channel signal in the test signal is given.
8. The signal correction method for a receiver according to claim 7, characterized in that, The step of generating the preset correction parameters based on the first power difference, the second power difference, and the second preset correction parameters includes: If the second power difference is greater than the first power difference, the second preset correction parameter is used as the preset correction parameter; if the second power difference is less than or equal to the first power difference, the second phase difference is inversely inverted to obtain the third phase difference. The preset correction parameters are obtained based on the third phase difference and the preset formula.
9. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the method as described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-8.
Citation Information
Patent Citations
Providing Image Rejection Calibration For A Receiver
US20100330947A1