CN113439391A - Method and device for correcting intermodulation distortion signal of receiver - Google Patents

Method and device for correcting intermodulation distortion signal of receiver Download PDF

Info

Publication number
CN113439391A
CN113439391A CN201980092362.9A CN201980092362A CN113439391A CN 113439391 A CN113439391 A CN 113439391A CN 201980092362 A CN201980092362 A CN 201980092362A CN 113439391 A CN113439391 A CN 113439391A
Authority
CN
China
Prior art keywords
intermodulation distortion
compensation voltage
distortion signal
energy
branch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201980092362.9A
Other languages
Chinese (zh)
Other versions
CN113439391B (en
Inventor
赵兴山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN113439391A publication Critical patent/CN113439391A/en
Application granted granted Critical
Publication of CN113439391B publication Critical patent/CN113439391B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/10Means associated with receiver for limiting or suppressing noise or interference

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Superheterodyne Receivers (AREA)
  • Noise Elimination (AREA)
  • Amplifiers (AREA)

Abstract

The embodiment of the application provides a method and a device for correcting intermodulation distortion signals of a receiver, relates to the technical field of communication, and can effectively reduce signal distortion. The method comprises the following steps: detecting a current energy of a first intermodulation distortion signal in an output signal of a first branch, and determining a first compensation voltage according to the current energy of the first intermodulation distortion signal and a pre-stored historical energy of the first intermodulation distortion signal, and adjusting a threshold voltage of a first mixer in the first branch using the first compensation voltage, and detecting a current energy of a second intermodulation distortion signal in an output signal of a second branch, and determining a second compensation voltage according to the current energy of the second intermodulation distortion signal and a pre-stored historical energy of the second intermodulation distortion signal, and adjusting a threshold voltage of a second mixer in the second branch using the second compensation voltage.

Description

Method and device for correcting intermodulation distortion signal of receiver Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a method and a device for correcting intermodulation distortion signals of a receiver.
Background
In the process of processing an input signal by a receiver, if the receiver has modulation interference input, an output signal of the receiver may be distorted, and in order to ensure that a signal output by the receiver is true and effective, the distorted signal needs to be corrected.
For the second-order signal distortion phenomenon, the signal distortion mainly comes from a mixer of the receiver, and the mixer has a second-order input intercept point (IIP 2), thereby generating a second-order intermodulation distortion signal. At present, when a second-order intermodulation distortion signal is corrected, two paths of signals (referred to as an in-phase signal and a quadrature-phase signal, which are referred to as an I-path signal and a Q-path signal) output by a mixer can be respectively corrected to obtain a compensation voltage corresponding to an I-path and a compensation voltage corresponding to a Q-path, and then the compensation voltages are input into the mixer of a receiver, so that the energy of the intermodulation distortion signal of the I-path and the energy of the intermodulation distortion signal of the Q-path can be reduced to a certain extent, and the correction of the distortion signal is realized.
However, the determined compensation voltage in the existing correction method may not be accurate enough, thus resulting in poor correction effect on the distorted signal.
Disclosure of Invention
The embodiment of the application provides a method and a device for correcting intermodulation distortion signals of a receiver, which can more effectively reduce signal distortion.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, an embodiment of the present application provides a method for correcting an intermodulation distortion signal of a receiver, where the receiver includes a first branch and a second branch, and the first branch and the second branch are in-phase and quadrature branches, and the method includes: detecting the current energy of a first intermodulation distortion signal in an output signal of the first branch, determining a first compensation voltage according to the current energy of the first intermodulation distortion signal and the prestored historical energy of the first intermodulation distortion signal, and adjusting the threshold voltage of a first mixer in the first branch by using the first compensation voltage; and detecting a current energy of a second intermodulation distortion signal in the output signal of the second branch; and determining a second compensation voltage according to the current energy of the second intermodulation distortion signal and the pre-stored historical energy of the second intermodulation distortion signal, and adjusting the threshold voltage of the second mixer in the second branch by using the second compensation voltage.
The current energy of the first intermodulation distortion signal refers to the energy of the intermodulation distortion signal currently detected by the correction apparatus from the output signal of the first branch of the receiver, and the current energy of the second intermodulation distortion signal refers to the energy of the intermodulation distortion signal currently detected by the correction apparatus from the output signal of the second branch of the receiver.
The adjusting the threshold voltage of the first mixer in the first branch by using the first compensation voltage specifically means inputting the first compensation voltage to the first mixer, so that the threshold voltage of the first mixer can be adjusted; the adjusting the threshold voltage of the second mixer in the second branch by using the second compensation voltage specifically means inputting the second compensation voltage to the second mixer, so that the threshold voltage of the second mixer can be adjusted.
In this embodiment, an input signal of the receiver is a useful signal, and an output signal is obtained by processing the input signal by the receiver, where the output signal includes the useful signal and an intermodulation distortion signal, where the intermodulation distortion signal is mainly generated by interference of a mixer of the receiver on the useful signal, and energy of the intermodulation distortion signal is power of the intermodulation distortion signal, and specifically, the output signal of the receiver includes an output signal of a first branch and an output signal of a second branch, and thus, the intermodulation distortion signal includes an intermodulation distortion signal (referred to as a first intermodulation distortion signal) in the output signal of the first branch and an intermodulation distortion signal (referred to as a second intermodulation distortion signal) in the output signal of the second branch.
It should be noted that, the first branch and the second branch are coupled to each other, that is, the first branch and the second branch affect each other, and a compensation voltage is input to the first mixer in the first branch, so that energy of a first intermodulation distortion signal in an output signal of the first branch changes, and energy of a second intermodulation distortion signal in an output signal of the second branch also changes; similarly, when a compensation voltage is input to the second mixer in the second branch, the energy of the second intermodulation distortion signal in the output signal of the second branch may change, and at the same time, the energy of the first intermodulation distortion signal in the output signal of the first branch may also change.
According to the method for correcting the intermodulation distortion signals of the receiver provided by the embodiment of the application, the correcting device detects the current energy of the first intermodulation distortion signal, then determines the first compensation voltage according to the current energy of the first intermodulation distortion signal and the pre-stored historical energy of the first intermodulation distortion signal, and adjusts the threshold voltage of the first mixer in the first branch circuit by using the first compensation voltage, and detects the current energy of the second intermodulation distortion signal, and then determines the second compensation voltage according to the current energy of the second intermodulation distortion signal and the pre-stored historical energy of the second intermodulation distortion signal, and adjusts the threshold voltage of the second mixer in the second branch circuit by using the second compensation voltage, so that the energy of the intermodulation distortion signals of the receiver can be reduced to a certain extent, and the signal distortion can be reduced more effectively.
In a possible implementation, the correction device performs the method of the first aspect in a loop until the loop number reaches a pre-configured loop number.
In an embodiment of the present application, the correction apparatus performs the method according to the first aspect by looping until the number of loops reaches a pre-configured number of loops (for example, N times, where N is a positive integer greater than or equal to 2), and the first compensation voltage and the second compensation voltage obtained in the nth loop may minimize the distortion of the output signal of the receiver compared to the previous N-1 loops, that is, minimize the energy of the intermodulation distortion signal in the signal output by the receiver.
In a possible implementation manner, after adjusting the threshold voltage of the first mixer in the first branch by using the first compensation voltage, the method for correcting the intermodulation distortion signal of the receiver provided by the embodiment of the application may further include: detecting a current energy of the first intermodulation distortion signal; and taking the current energy of the first intermodulation distortion signal as the historical energy of the first intermodulation distortion signal.
In this embodiment of the application, after the correcting device determines the first compensation voltage, the threshold voltage of the first mixer of the first branch is adjusted by using the first compensation voltage, where the first compensation voltage may affect the energy of the first intermodulation distortion signal in the output signal of the first branch, at this time, the correcting device detects the current energy of the first intermodulation distortion signal, and updates the pre-stored historical energy of the first intermodulation distortion signal, and specifically, the correcting device uses the current energy of the first intermodulation distortion signal detected at the first compensation voltage as the historical energy of the first intermodulation distortion signal. It is understood that the historical energy of the first intermodulation distortion signal updated this time will be used to determine the first compensation voltage at the next cycle.
In a possible implementation manner, after adjusting the threshold voltage of the second mixer in the second branch by using the second compensation voltage, the method for correcting the intermodulation distortion signal of the receiver provided by the embodiment of the application may further include: detecting a current energy of the second intermodulation distortion signal; and the current energy of the second intermodulation distortion signal is taken as the historical energy of the second intermodulation distortion signal.
In this embodiment of the application, after the correcting device determines the second compensation voltage, the threshold voltage of the second mixer of the second branch is adjusted by using the second compensation voltage, where the second compensation voltage may affect the energy of the second intermodulation distortion signal in the output signal of the second branch, at this time, the correcting device detects the current energy of the second intermodulation distortion signal, and the correcting device updates the pre-stored historical energy of the second intermodulation distortion signal, specifically, the correcting device uses the current energy of the second intermodulation distortion signal detected at the second compensation voltage as the historical energy of the second intermodulation distortion signal. It is understood that the historical energy of the second intermodulation distortion signal updated this time will be used to determine the second compensation voltage at the next cycle.
In a possible implementation manner, the method for determining the first compensation voltage according to the current energy of the first intermodulation distortion signal and the pre-stored historical energy of the first intermodulation distortion signal may include: in case the current energy of the first intermodulation distortion signal is smaller than the historical energy of the first intermodulation distortion signal, determining one half of the sum of the first compensation voltage obtained in the previous cycle and the first high compensation voltage obtained in the previous cycle as the first compensation voltage, wherein the first high compensation voltage obtained in the previous cycle is determined according to the current energy of the first intermodulation distortion signal in the previous cycle and the historical energy of the first intermodulation distortion signal. Specifically, the first compensation voltage may be determined by using a formula mid _ i ═ pl _ i + ph _ i)/2, where pl _ i is mid _ pre _ i, ph _ i is ph _ pre1_ i, mid _ i is the first compensation voltage, pl _ i is the first low compensation voltage obtained in the current cycle, ph _ i is the first high compensation voltage obtained in the current cycle, mid _ pre1_ i is the first compensation voltage obtained in the previous cycle, and ph _ pre1_ i is the first high compensation voltage obtained in the previous cycle.
In the case that the current energy of the first intermodulation distortion signal is greater than or equal to the historical energy of the first intermodulation distortion signal, determining one-half of the sum of the first compensation voltage obtained in the previous cycle and the first low compensation voltage obtained in the previous cycle as the first compensation voltage, wherein the first low compensation voltage obtained in the previous cycle is determined according to the current energy of the first intermodulation distortion signal and the historical energy of the first intermodulation distortion signal in the previous cycle. Specifically, the first compensation voltage may be determined by using a formula mid _ i ═ pl _ i + ph _ i)/2, where pl _ i is mid _ pre _ i, ph _ i is pl _ pre2_ i, mid _ i is the first compensation voltage, pl _ i is the first low compensation voltage obtained in the current cycle, ph _ i is the first high compensation voltage obtained in the current cycle, mid _ pre _ i is the first compensation voltage obtained in the previous cycle, and pl _ pre2_ i is the first low compensation voltage obtained in the previous two cycles. Wherein the historical energy of the first intermodulation distortion signal refers to the energy of the intermodulation distortion signal last detected by the correction apparatus from the output signal of the first branch of the receiver.
In the embodiment of the present application, a bisection method (or referred to as a binary tree method) may be used to determine the first compensation voltage, specifically, three compensation voltages may be designed, which are respectively a low compensation voltage, a medium compensation voltage and a high compensation voltage, and in the current cycle (i.e., in the currently executed cycle), three compensation voltages corresponding to the current cycle need to be determined according to the three compensation voltages obtained in the previous cycle, so as to determine the first compensation voltage input to the first mixer; or determining three compensation voltages corresponding to the current cycle according to the three compensation voltages obtained in the previous two cycles, thereby determining the first compensation voltage input into the first mixer.
After the compensation voltage is input to the mixer of the receiver, the compensation voltage may affect the threshold voltage of the mixer, and thus may affect the output signal of the receiver, and specifically, the compensation voltage may affect the energy of the intermodulation distortion signal in the output signal, so that the compensation voltage may be provided to the mixer to reduce the energy of the intermodulation distortion signal, thereby improving the signal distortion.
In a possible implementation manner, the method for determining the second compensation voltage according to the current energy of the second intermodulation distortion signal and the pre-stored historical energy of the second intermodulation distortion signal may include: and determining one half of the sum of a second compensation voltage obtained in a previous cycle and a second high compensation voltage obtained in the previous cycle to be a second compensation voltage when the current energy of the second intermodulation distortion signal is less than the historical energy of the second intermodulation distortion signal, wherein the second high compensation voltage obtained in the previous cycle is determined according to the current energy of the second intermodulation distortion signal in the previous cycle and the historical energy of the second intermodulation distortion signal. Specifically, the second compensation voltage may be determined by using a formula mid _ q ═ pl _ q + ph _ q)/2, where pl _ q is mid _ pre _ q, ph _ q is ph _ pre1_ q, mid _ q is the second compensation voltage, pl _ q is the second low compensation voltage obtained in the present cycle, ph _ q is the second high compensation voltage obtained in the present cycle, mid _ pre1_ q is the second compensation voltage obtained in the previous cycle, and ph _ pre1_ q is the second high compensation voltage obtained in the previous cycle.
And determining one half of the sum of the second compensation voltage obtained in the previous cycle and the second low compensation voltage obtained in the previous cycle to be the second compensation voltage in the case that the current energy of the second intermodulation distortion signal is greater than or equal to the historical energy of the second intermodulation distortion signal, wherein the second low compensation voltage obtained in the previous cycle is determined according to the current energy of the second intermodulation distortion signal and the historical energy of the second intermodulation distortion signal in the previous cycle. Specifically, the second compensation voltage may be determined by using a formula mid _ q ═ pi _ q)/2, where pl _ q is mid _ pre _ q, ph _ q is pl _ pre2_ q, mid _ q is the second compensation voltage, pl _ q is the second low compensation voltage obtained in the current cycle, ph _ q is the second high compensation voltage obtained in the current cycle, mid _ pre _ q is the second compensation voltage obtained in the previous cycle, and pl _ pre2_ q is the second low compensation voltage obtained in the previous two cycles. Wherein the historical energy of the second intermodulation distortion signal refers to the energy of the intermodulation distortion signal last detected by the correction apparatus from the output signal of the second branch of the receiver.
In the embodiment of the present application, similar to the first branch, after the compensation voltage is input to the mixer of the receiver, the compensation voltage may affect the threshold voltage of the mixer, and further affect the output signal of the receiver, specifically, the compensation voltage may affect the energy of the intermodulation distortion signal in the output signal, so that the compensation voltage may be provided to the mixer to reduce the energy of the intermodulation distortion signal, thereby improving the signal distortion.
It can be understood that, since the first branch and the second branch are coupled to each other, the energy of the first intermodulation distortion signal and the energy of the second intermodulation distortion signal are reduced to some extent by the first compensation voltage; and the energy of the first intermodulation distortion signal and the energy of the second intermodulation distortion signal are reduced to a certain extent under the action of the second compensation voltage.
In a possible implementation manner, the method for detecting the current energy of the first intermodulation distortion signal in the output signal of the first branch may include: and performing frequency shift, filtering and energy calculation on the output signal of the first branch to obtain the current energy of the first intermodulation distortion signal.
The output signal of the first branch includes a useful signal and a first intermodulation distortion signal, the frequency of the first intermodulation distortion signal in the output signal of the first branch is shifted to a low frequency (for example, 0 hz) while the frequency of the useful signal in the output signal is unchanged, then the useful signal and the frequency-shifted first intermodulation distortion signal are subjected to low-pass filtering, the useful signal is filtered out, the frequency-shifted first intermodulation distortion signal is obtained, and then the power of the first intermodulation distortion signal is calculated and is used as the current energy of the first intermodulation distortion signal. It is to be understood that the current energy of the first intermodulation distortion signal is an average of the current energies of the plurality of intermodulation distortion signals.
In a possible implementation manner, the method for detecting the current energy of the second intermodulation distortion signal in the output signal of the second branch may include: and performing frequency shift, filtering and energy calculation on the output signal of the second branch to obtain the current energy of the second intermodulation distortion signal.
Similarly, the method for detecting the current energy of the second intermodulation distortion signal is similar to the method for detecting the current energy of the first intermodulation distortion signal, and is not described herein again.
In a possible implementation manner, the first compensation voltage is a digital voltage, and the method for correcting an intermodulation distortion signal of a receiver according to an embodiment of the present application may further include: the first compensation voltage is converted into an analog voltage, and the analog voltage is input to the first mixer.
In a possible implementation manner, the second compensation voltage is a digital voltage, and the method for correcting an intermodulation distortion signal of a receiver according to an embodiment of the present application may further include: the second compensation voltage is converted into an analog voltage, and the analog voltage is input to the second mixer.
In a possible implementation manner, to facilitate programming of the method for correcting the intermodulation distortion signal of the receiver provided by the embodiment of the present application, in the process of executing the method for correcting the intermodulation distortion signal of the receiver in a loop, enable indication information may be set, wherein the enable indication information is used for indicating that the first compensation voltage is determined or used for indicating that the second compensation voltage is determined. The enable indication information may include enable indication information of the first branch and enable indication information of the second branch, for example, the enable indication information of the first branch is denoted as I _ EN, and when I _ EN is equal to 1, it indicates that the first branch is enabled, and when I _ EN is equal to 0, it indicates that the first branch is not enabled; the enable indication information of the second branch is denoted as Q _ EN, and when Q _ EN is equal to 1, it indicates that the second branch is enabled, and when Q _ EN is equal to 0, it indicates that the second branch is not enabled.
In a second aspect, an embodiment of the present application provides a communication device, which includes a receiver, a first energy detection circuit, a second energy detection circuit, and a compensation voltage calculation circuit, where the receiver includes a first branch and a second branch, and the first branch and the second branch are in-phase and quadrature branches. The first energy detection circuit is used for detecting the current energy of a first intermodulation distortion signal in the output signal of the first branch circuit; the compensation voltage calculation circuit is used for determining a first compensation voltage according to the current energy of the first intermodulation distortion signal and the pre-stored historical energy of the first intermodulation distortion signal, and the first compensation voltage is used for adjusting the threshold voltage of a first mixer in the first branch circuit; the second energy detection circuit is used for detecting the current energy of a second intermodulation distortion signal in the output signal of the second branch circuit; the compensation voltage calculation circuit is further configured to determine a second compensation voltage according to the current energy of the second intermodulation distortion signal and a pre-stored historical energy of the second intermodulation distortion signal, wherein the second compensation voltage is used for adjusting a threshold voltage of a second mixer in the second branch.
In a possible implementation manner, the first energy detection circuit is further configured to detect a current energy of the first intermodulation distortion signal after the first compensation voltage adjusts a threshold voltage of a first mixer in the first branch; the compensation voltage calculation circuit is further configured to use the current energy of the first intermodulation distortion signal as the historical energy of the first intermodulation distortion signal.
In a possible implementation manner, the second energy detection circuit is further configured to detect a current energy of the second intermodulation distortion signal after the second compensation voltage adjusts a threshold voltage of a second mixer in the second branch; the compensation voltage calculation circuit is further configured to use the current energy of the second intermodulation distortion signal as the historical energy of the second intermodulation distortion signal.
In a possible implementation manner, the compensation voltage calculation circuit is specifically configured to determine, as the first compensation voltage, one half of a sum of a first compensation voltage obtained in a previous cycle and a first high compensation voltage obtained in the previous cycle when a current energy of the first intermodulation distortion signal is less than a historical energy of the first intermodulation distortion signal, where the first high compensation voltage obtained in the previous cycle is determined according to the current energy of the first intermodulation distortion signal and the historical energy of the first intermodulation distortion signal in the previous cycle. Specifically, the first compensation voltage may be determined by using a formula mid _ i ═ pl _ i + ph _ i)/2, where pl _ i is mid _ pre _ i, ph _ i is ph _ pre1_ i, mid _ i is the first compensation voltage, pl _ i is the first low compensation voltage obtained in the current cycle, ph _ i is the first high compensation voltage obtained in the current cycle, mid _ pre1_ i is the first compensation voltage obtained in the previous cycle, and ph _ pre1_ i is the first high compensation voltage obtained in the previous cycle.
In a possible implementation manner, the compensation voltage calculation circuit is specifically configured to determine, as the first compensation voltage, one half of a sum of a first compensation voltage obtained in a previous cycle and a first low compensation voltage obtained in the previous two cycles when a current energy of the first intermodulation distortion signal is greater than or equal to a historical energy of the first intermodulation distortion signal, where the first low compensation voltage obtained in the previous two cycles is determined according to the current energy of the first intermodulation distortion signal and the historical energy of the first intermodulation distortion signal in the previous two cycles. Specifically, the first compensation voltage may be determined by using a formula mid _ i ═ pl _ i + ph _ i)/2, where pl _ i is mid _ pre _ i, ph _ i is pl _ pre2_ i, mid _ i is the first compensation voltage, pl _ i is the first low compensation voltage obtained in the current cycle, ph _ i is the first high compensation voltage obtained in the current cycle, mid _ pre _ i is the first compensation voltage obtained in the previous cycle, and pl _ pre2_ i is the first low compensation voltage obtained in the previous two cycles.
In a possible implementation manner, the compensation voltage calculation circuit is specifically configured to determine, as the second compensation voltage, one half of a sum of a second compensation voltage obtained in a previous cycle and a second high compensation voltage obtained in the previous cycle when a current energy of the second intermodulation distortion signal is less than a historical energy of the second intermodulation distortion signal, where the second high compensation voltage obtained in the previous cycle is determined according to the current energy of the second intermodulation distortion signal and the historical energy of the second intermodulation distortion signal in the previous cycle. Specifically, the second compensation voltage may be determined by using a formula mid _ q ═ pl _ q + ph _ q)/2, where pl _ q is mid _ pre _ q, ph _ q is ph _ pre1_ q, mid _ q is the second compensation voltage, pl _ q is the second low compensation voltage obtained in the present cycle, ph _ q is the second high compensation voltage obtained in the present cycle, mid _ pre1_ q is the second compensation voltage obtained in the previous cycle, and ph _ pre1_ q is the second high compensation voltage obtained in the previous cycle.
In one possible implementation, in a case that the current energy of the second intermodulation distortion signal is greater than or equal to the historical energy of the second intermodulation distortion signal, one half of the sum of the second compensation voltage obtained in the previous cycle and the second low compensation voltage obtained in the previous cycle is determined as the second compensation voltage, wherein the second low compensation voltage obtained in the previous cycle is determined according to the current energy of the second intermodulation distortion signal and the historical energy of the second intermodulation distortion signal in the previous cycle. Specifically, the second compensation voltage may be determined by using a formula mid _ q ═ pi _ q)/2, where pl _ q is mid _ pre _ q, ph _ q is pl _ pre2_ q, mid _ q is the second compensation voltage, pl _ q is the second low compensation voltage obtained in the current cycle, ph _ q is the second high compensation voltage obtained in the current cycle, mid _ pre _ q is the second compensation voltage obtained in the previous cycle, and pl _ pre2_ q is the second low compensation voltage obtained in the previous two cycles.
In a possible implementation manner, the first energy detection circuit is specifically configured to perform frequency shift, filtering, and energy calculation on an output signal of the first branch, so as to obtain current energy of the first intermodulation distortion signal.
In a possible implementation manner, the second energy detection circuit is specifically configured to perform frequency shift, filtering, and energy calculation on the output signal of the second branch, so as to obtain the current energy of the second intermodulation distortion signal.
In a possible implementation manner, the communication device provided in this embodiment of the present application may further include a first digital-to-analog converter and a second digital-to-analog converter. The first digital-to-analog converter is used for converting the first compensation voltage into an analog voltage under the condition that the first compensation voltage is a digital voltage; the second digital-to-analog converter is used for converting the second compensation voltage into an analog voltage under the condition that the second compensation voltage is a digital voltage.
In a third aspect, an embodiment of the present application provides a correction apparatus, which includes a first energy detection module, a second energy detection module, and a compensation voltage determination module. The first energy detection module is used for detecting the current energy of a first intermodulation distortion signal in the output signal of the first branch circuit; the compensation voltage determining module is used for determining a first compensation voltage according to the current energy of the first intermodulation distortion signal and the pre-stored historical energy of the first intermodulation distortion signal, wherein the first intermodulation distortion signal is a intermodulation distortion signal detected on a first branch of a mixer in a receiver, and the first compensation voltage is used for adjusting the threshold voltage of the first mixer in the first branch; the second energy detection module is used for detecting the current energy of a second intermodulation distortion signal in the output signal of the second branch circuit; the compensation voltage determining module is further configured to determine a second compensation voltage according to the current energy of the second intermodulation distortion signal and a pre-stored historical energy of the second intermodulation distortion signal, wherein the second compensation voltage is used for adjusting a threshold voltage of a second mixer in the second branch.
In a possible implementation manner, the first energy detection module is further configured to detect a current energy of the first intermodulation distortion signal after the first compensation voltage adjusts a threshold voltage of a first mixer in the first branch; the compensation voltage determining module is further configured to use the current energy of the first intermodulation distortion signal as the historical energy of the first intermodulation distortion signal.
In a possible implementation manner, the second energy detection module is further configured to detect a current energy of the second intermodulation distortion signal after the second compensation voltage adjusts a threshold voltage of a second mixer in the second branch; the compensation voltage determining module is further configured to use the current energy of the second intermodulation distortion signal as the historical energy of the second intermodulation distortion signal.
In a possible implementation manner, the compensation voltage determining module is specifically configured to determine, as the first compensation voltage, one half of a sum of a first compensation voltage obtained in a previous cycle and a first high compensation voltage obtained in the previous cycle when a current energy of the first intermodulation distortion signal is less than a historical energy of the first intermodulation distortion signal, where the first high compensation voltage obtained in the previous cycle is determined according to the current energy of the first intermodulation distortion signal in the previous cycle and the historical energy of the first intermodulation distortion signal. Specifically, the first compensation voltage may be determined by using a formula mid _ i ═ pl _ i + ph _ i)/2, where pl _ i is mid _ pre _ i, ph _ i is ph _ pre1_ i, mid _ i is the first compensation voltage, pl _ i is the first low compensation voltage obtained in the current cycle, ph _ i is the first high compensation voltage obtained in the current cycle, mid _ pre1_ i is the first compensation voltage obtained in the previous cycle, and ph _ pre1_ i is the first high compensation voltage obtained in the previous cycle.
In a possible implementation manner, the compensation voltage determining module is specifically configured to determine, as the first compensation voltage, one half of a sum of a first compensation voltage obtained in a previous cycle and a first low compensation voltage obtained in the previous two cycles when a current energy of the first intermodulation distortion signal is greater than or equal to a historical energy of the first intermodulation distortion signal, where the first low compensation voltage obtained in the previous two cycles is determined according to the current energy of the first intermodulation distortion signal and the historical energy of the first intermodulation distortion signal in the previous two cycles. Specifically, the first compensation voltage may be determined by using a formula mid _ i ═ pl _ i + ph _ i)/2, where pl _ i is mid _ pre _ i, ph _ i is pl _ pre2_ i, mid _ i is the first compensation voltage, pl _ i is the first low compensation voltage obtained in the current cycle, ph _ i is the first high compensation voltage obtained in the current cycle, mid _ pre _ i is the first compensation voltage obtained in the previous cycle, and pl _ pre2_ i is the first low compensation voltage obtained in the previous two cycles.
In a possible implementation manner, the compensation voltage determining module is specifically configured to determine, as the second compensation voltage, one half of a sum of a second compensation voltage obtained in a previous cycle and a second high compensation voltage obtained in the previous cycle when a current energy of the second intermodulation distortion signal is less than a historical energy of the second intermodulation distortion signal, where the second high compensation voltage obtained in the previous cycle is determined according to the current energy of the second intermodulation distortion signal in the previous cycle and the historical energy of the second intermodulation distortion signal. Specifically, the second compensation voltage may be determined by using a formula mid _ q ═ pl _ q + ph _ q)/2, where pl _ q is mid _ pre _ q, ph _ q is ph _ pre1_ q, mid _ q is the second compensation voltage, pl _ q is the second low compensation voltage obtained in the present cycle, ph _ q is the second high compensation voltage obtained in the present cycle, mid _ pre1_ q is the second compensation voltage obtained in the previous cycle, and ph _ pre1_ q is the second high compensation voltage obtained in the previous cycle.
In a possible implementation manner, the compensation voltage determining module is specifically configured to determine, as the second compensation voltage, one half of a sum of a second compensation voltage obtained in a previous cycle and a second low compensation voltage obtained in two previous cycles when a current energy of the second intermodulation distortion signal is greater than or equal to a historical energy of the second intermodulation distortion signal, where the second low compensation voltage obtained in the two previous cycles is determined according to the current energy of the second intermodulation distortion signal and the historical energy of the second intermodulation distortion signal in the two previous cycles. Specifically, the second compensation voltage may be determined by using a formula mid _ q ═ pi _ q)/2, where pl _ q is mid _ pre _ q, ph _ q is pl _ pre2_ q, mid _ q is the second compensation voltage, pl _ q is the second low compensation voltage obtained in the current cycle, ph _ q is the second high compensation voltage obtained in the current cycle, mid _ pre _ q is the second compensation voltage obtained in the previous cycle, and pl _ pre2_ q is the second low compensation voltage obtained in the previous two cycles.
In a possible implementation manner, the first energy detection module is specifically configured to perform frequency shift, filtering, and energy calculation on an output signal of the first branch, so as to obtain current energy of the first intermodulation distortion signal.
In a possible implementation manner, the second energy detection module is specifically configured to perform frequency shift, filtering, and energy calculation on the output signal of the second branch, so as to obtain the current energy of the second intermodulation distortion signal.
In a possible implementation manner, the correction device provided in the embodiment of the present application further includes a first digital-to-analog conversion module and a second digital-to-analog conversion module. The first digital-to-analog conversion module is used for converting the first compensation voltage into an analog voltage under the condition that the first compensation voltage is a digital voltage; the second digital-to-analog conversion module is used for converting the second compensation voltage into an analog voltage under the condition that the second compensation voltage is a digital voltage.
In a fourth aspect, an embodiment of the present application provides a communication device, including a processor and a memory coupled to the processor; the memory is configured to store computer instructions that, when executed by the processor, cause the communication device to perform the method for correcting intermodulation distortion signals of a receiver according to any one of the first aspect and its possible implementations.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium, which may include computer instructions that, when executed on a computer, cause a communication device to perform the method for correcting an intermodulation distortion signal of a receiver described in any one of the above first aspect and possible implementation manners.
In a sixth aspect, the present application provides a computer program product including computer instructions, which when run on a computer, causes the communication device to execute the method for correcting an intermodulation distortion signal of a receiver according to the first aspect and any one of its possible implementations.
It should be understood that, for the technical effects achieved by the technical solutions of the second aspect to the sixth aspect and the corresponding possible implementations of the embodiments of the present application, reference may be made to the technical effects of the first aspect and the corresponding alternative implementations, and details are not described here.
Drawings
Fig. 1 is a schematic structural diagram of a receiver according to an embodiment of the present disclosure;
fig. 2 is a first schematic structural diagram of a detection apparatus according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a detection apparatus according to an embodiment of the present application;
fig. 4 is a first schematic diagram illustrating a method for correcting an intermodulation distortion signal of a receiver according to an embodiment of the present application;
fig. 5 is a schematic diagram of a method for correcting an intermodulation distortion signal of a receiver according to an embodiment of the present application;
FIG. 6 is a first schematic structural diagram of a calibration device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a calibration apparatus according to an embodiment of the present application.
Detailed Description
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The terms "first" and "second," and the like, in the description and in the claims of the embodiments of the present application are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first intermodulation distortion signal and the second intermodulation distortion signal, etc. are for distinguishing different intermodulation distortion signals, rather than for describing a particular order of intermodulation distortion signals.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present application, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of processing units refers to two or more processing units; the plurality of systems refers to two or more systems.
In one implementation, in the process of correcting the intermodulation distortion signal in the output signal of the receiver, the intermodulation distortion signal may be corrected by a method of determining a compensation voltage through alternating iteration of the I branch and the Q branch. Specifically, taking the I branch as an example, in the current iteration process, determining a compensation voltage corresponding to the I branch according to a low compensation voltage, a medium compensation voltage and a high compensation voltage corresponding to the I branch, when the energy of the intermodulation distortion signal under the low compensation voltage is less than the energy of the intermodulation distortion signal under the high compensation voltage, taking the medium compensation voltage in the current iteration as the high compensation voltage in the next iteration, taking the low compensation voltage in the current iteration as the low compensation voltage in the next iteration, and taking (medium compensation voltage + low compensation voltage)/2 as the medium compensation voltage in the next iteration; when the energy of the intermodulation distortion signal under the low compensation voltage is greater than or equal to the energy of the intermodulation distortion signal under the high compensation voltage, taking the medium compensation voltage in the current iteration as the low compensation voltage in the next iteration, taking the high compensation voltage in the current iteration as the high compensation voltage in the next iteration, taking (medium compensation voltage + low compensation voltage)/2 as the medium compensation voltage of the next iteration, and after N iterations are sequentially completed, (medium compensation voltage + low compensation voltage)/2 determined by the Nth iteration is taken as the final compensation voltage corresponding to the I branch. Similarly, the compensation voltage corresponding to the Q branch is similar to the method for determining the compensation voltage corresponding to the I branch, however, the compensation voltage obtained in the method may be a local optimal value rather than a global optimal value, and thus, the effect of correcting the intermodulation distortion signal may be poor.
The embodiments of the present application provide a method and apparatus for correcting intermodulation distortion signals of a receiver, the correcting apparatus detects a current energy of a first intermodulation distortion signal, a first compensation voltage is then determined based on the current energy of the first intermodulation distortion signal and a pre-stored historical energy of the first intermodulation distortion signal, and adjusting a threshold voltage of a first mixer in the first branch using the first compensation voltage, and detecting a present energy of the second intermodulation distortion signal, a second compensation voltage is then determined based on the current energy of the second intermodulation distortion signal and a pre-stored historical energy of the second intermodulation distortion signal, and the threshold voltage of the second mixer in the second branch is adjusted by the second compensation voltage, thus, the energy of the intermodulation distortion signal of the receiver can be reduced to a certain extent, and the signal distortion can be effectively reduced.
The method for correcting the intermodulation distortion signals of the receiver provided by the embodiment of the application can be used for correcting the intermodulation distortion signals of the receiver, and particularly means that the energy of the intermodulation distortion signals in the output signals of the receiver is reduced as much as possible. Fig. 1 is a schematic structural diagram of a receiver according to an embodiment of the present disclosure, and as shown in fig. 1, the receiver 10 includes a radio frequency amplifier 11, an analog filter 12, a frequency mixing device 13, a Trans Impedance Amplifier (TIA) 14a, a TIA14b, an analog-to-digital converter 15a, an analog-to-digital converter 15b, a decimation filter 16a, and a decimation filter 16 b. The radio frequency amplifier 11 is configured to perform gain adjustment on an input signal, the analog filter 12 may be a low noise amplifier, the low noise amplifier is configured to perform further gain adjustment on the input signal, the frequency mixing device 13 may include a phase-locked loop, a frequency Divider (DIV), and 2 frequency mixers, after passing through the 2 frequency mixers, the signal may be divided into two paths of orthogonal frequency mixing signals with a phase difference of 90 degrees, which are respectively marked as an I-path signal and a Q-path signal, the I-path signal corresponds to an I-path, the Q-path signal corresponds to a Q-path, the I-path and the Q-path are in-phase orthogonal paths, and the I-path includes a first frequency mixer, a TIA14 a, an analog-to-digital converter 15a, and an extraction filter 16 a; the Q-branch comprises a second mixer, TIA14b, analog-to-digital converter 15b and decimation filter 16 b. Illustratively, after a signal source is input to the receiver 10, after passing through the above-mentioned radio frequency amplifier 11 and analog filter, 2 mixers connected to the mixing device 13 are divided into an I-branch signal and a Q-branch signal, then the I-branch signal is sequentially processed by the TIA14 a, the analog-to-digital converter 15a and the decimation filter 16a to obtain an output signal of an I-branch, and the Q-branch signal is sequentially processed by the TIA14b, the analog-to-digital converter 15b and the decimation filter 16b to obtain an output signal of a Q-branch.
It can be understood that the distortion of the output signal of the receiver mainly comes from the above-mentioned mixers (including two mixers, which may be referred to as a first mixer and a second mixer respectively), and therefore the method for correcting the intermodulation distortion signal of the receiver provided by the embodiment of the present application mainly corrects the second-order intermodulation distortion signal output by the mixers.
Fig. 2 is a schematic structural diagram of a calibration apparatus according to an embodiment of the present disclosure, and as shown in fig. 2, the calibration apparatus 100 includes the receiver 10, the first energy detection circuit 20, the second energy detection circuit 30, the compensation voltage calculation circuit 40, the first digital-to-analog converter 50, and the second digital-to-analog converter 60. Wherein, the output end of the I branch (referred to as the first branch) of the receiver 10 is connected to the input end of the first energy detection circuit 20, the output end of the Q branch (referred to as the second branch) of the receiver 10 is connected to the input end of the second energy detection circuit 30, the output end of the first energy detection circuit 20 is connected to the input end of the compensation voltage calculation circuit 40, the output end of the second energy detection circuit 30 is connected to the input end of the compensation voltage calculation circuit 40, the output ends of the compensation voltage calculation circuit 40 are respectively connected to the input ends of the first digital-to-analog converter 50 and the second digital-to-analog converter 60, the output end of the first digital-to-analog converter 50 is connected to the input end of the first mixer in the receiver 10, the output end of the second digital-to-analog converter 60 is connected to the input end of the second mixer in the receiver 10, and the connection relationship diagram of the above-mentioned components is specifically referred to fig. 2.
In fig. 2, the first energy detection circuit 20 is configured to detect the energy of the intermodulation distortion signal in the output signal of the first branch, and the second energy detection circuit 30 is configured to detect the energy of the intermodulation distortion signal in the output signal of the second branch.
Alternatively, one configuration of the first energy detection circuit 20 and the second energy detection circuit 30 is the configuration shown in fig. 2, the first energy detection circuit 20 is similar to the second energy detection circuit 30, the first energy detection circuit 20 includes a Digital Down Converter (DDC) frequency shifter, a filter, and a power calculation module (including a single-signal power calculation module and an average power calculation module), the second energy detection circuit 30 also includes a DDC frequency shifter, a filter, and a power calculation module (including a single-signal power calculation module and an average power calculation module), the DDC frequency shifter is used for shifting the frequency of the intermodulation distortion signal to a low frequency (e.g., 0 hz); the filter is a low-pass filter and is used for filtering other signals except the low-frequency intermodulation distortion signals after frequency shift in the input signals to obtain the low-frequency intermodulation distortion signals; the power calculation module is used for calculating the energy of the intermodulation distortion signal.
The process of detecting the energy of the intermodulation distortion signal by the first energy detection circuit 20 and the second energy detection circuit 30 will be described in detail with reference to the following method embodiments.
Optionally, in this embodiment of the present application, the first energy detection circuit 20 and the second energy detection circuit 30 may also have a structure shown in fig. 3, and the structure of the first energy detection circuit 20 in fig. 3 is similar to that of the second energy detection circuit 30, where the first energy detection circuit 20 includes an NCO (numerically controlled oscillator) and a related calculation module, and the second energy detection module 30 also includes an NCO and a related calculation module. The NCO is used for generating a reference signal, and the frequency point of the energy of the reference signal is the same as the frequency point of the energy of the single-tone signal output by the receiver; the reference signal and the output signal of the receiver are both accessed into a correlation calculation module, and the correlation calculation module is used for performing correlation calculation on the reference signal and the output signal of the receiver to obtain the energy of the intermodulation distortion signal.
The compensation voltage calculating circuit 40 is configured to determine the first compensation voltage and the second compensation voltage by using a correlation algorithm (which will be described in detail in the following embodiments) according to the energy of the intermodulation distortion signal in the output signal of the first branch and the energy of the intermodulation distortion signal in the output signal of the second branch. The first compensation voltage and the second compensation voltage output by the compensation voltage calculation circuit 40 are both digital voltages (code values of which N bits represent voltages).
Optionally, in this embodiment of the present application, the compensation voltage calculating circuit 40 may include a search algorithm module, and a LUT table for storing the first compensation voltage and the second compensation voltage (the LUT table for storing the first compensation voltage and the second compensation voltage may be the same LUT table, or may be separate LUT tables), and the correcting device performs the method for correcting the intermodulation distortion signal of the receiver according to this embodiment of the present application in a loop manner, and may obtain one first compensation voltage and one second compensation voltage in each loop.
The first digital-to-analog converter 50 is used for converting the first compensation voltage from a digital voltage to an analog voltage, and the second digital-to-analog converter 60 is used for converting the second compensation voltage from a digital voltage to an analog voltage.
Optionally, in this embodiment of the present application, the signal source (the signal source is a two-tone signal) input to the receiver 10 may be an external signal source, that is, an input signal is generated by other instruments or devices, and the signal source may also be generated by a wireless transceiver inside the receiver 10, that is, a signal generated by an internal device inside the receiver 10 is multiplexed. In particular, the radio transceiver of the receiver 10 includes a transmission chain (e.g. a two-tone transmission module) inside, which can transmit a two-tone signal, and the two-tone signal passes through a digital channel and an analog channel, and then is input to the input terminal of the radio frequency amplifier through a radio frequency loop, as shown in fig. 3.
In this embodiment of the present application, the first branch may be a branch of an in-phase signal, which is denoted as an I branch, and the second branch is a branch of a quadrature-phase signal, which is denoted as a Q branch; of course, the first branch may also be a Q branch, and the second branch is an I branch. In the following embodiments, the method for correcting the intermodulation distortion signal of the receiver according to the embodiments of the present application is described in detail by taking the first branch as the I branch and the second branch as the Q branch as an example.
With reference to the schematic structural diagram of the correcting apparatus shown in fig. 2 or fig. 3, as shown in fig. 4, an embodiment of the present invention provides a method for correcting an intermodulation distortion signal of a receiver, which reduces energy of the intermodulation distortion signal by providing a compensation voltage to a mixer of the receiver, where the receiver includes a first branch and a second branch, and the first branch and the second branch are in-phase and quadrature branches, and the method includes S101-S104:
s101, the correction device detects the current energy of a first intermodulation distortion signal in the output signal of the first branch circuit.
Wherein the current energy of the first intermodulation distortion signal refers to the energy of the intermodulation distortion signal currently detected by the correction means from the output signal of the first branch of the receiver.
In this embodiment, an input signal of a receiver is referred to as a useful signal, and an output signal is obtained by processing the input signal through the receiver, where the output signal includes the useful signal and an intermodulation distortion signal, where the intermodulation distortion signal is mainly generated by interference of a mixer of the receiver on the useful signal, and energy of the intermodulation distortion signal is power of the intermodulation distortion signal. The intermodulation distortion signal in the output signal of the first branch is the first intermodulation distortion signal, and the intermodulation distortion signal in the output signal of the second branch is the second intermodulation distortion signal.
Optionally, the input signal received by the receiver is a two-tone signal, the two-tone signal includes single-tone signals of two different frequency points, and assuming that the frequency of one single-tone signal is f1 and the frequency of the other single-tone signal is f2 (assuming that f1< f2), the frequency of the intermodulation distortion signal may be f2-f1 or f1+ f 2.
In conjunction with fig. 2 or fig. 3, it is understood that the current energy of the first intermodulation distortion signal can be detected by the first energy detection circuit 20.
Optionally, when the correcting device performs S101 for the first time, the compensation voltage currently input to the mixer (including the first mixer and/or the second mixer) may be set to 0, and at this 0 compensation voltage, the correcting device detects the current energy of the first intermodulation distortion signal.
Optionally, with reference to fig. 4, as shown in fig. 5, the foregoing S101 may specifically be implemented by S1011:
s1011, the correction device performs frequency shift, filtering and energy calculation on the output signal of the first branch to obtain the current energy of the first intermodulation distortion signal.
In the embodiment of the present application, the current energy of the first intermodulation distortion signal may be detected by the first energy detecting circuit 20 in the correction apparatus shown in fig. 2, or may be detected by the first energy detecting circuit 20 in the correction apparatus shown in fig. 3. Illustratively, taking the first energy detection circuit 20 in fig. 2 as an example, the first energy detection circuit 20 obtains a first branch output signal of the receiver, where the output signal includes a useful signal and a first intermodulation distortion signal, first, a DDC frequency shifter in the first energy detection circuit 20 is used to shift the frequency of the first intermodulation distortion signal in the output signal to a low frequency (for example, 0 hz), while the frequency of the useful signal in the output signal is not changed, then, the useful signal and the shifted first intermodulation distortion signal pass through a low-pass filter in the first energy detection circuit 20 to filter the useful signal, so as to obtain the shifted first intermodulation distortion signal, and then, a power calculation module is used to calculate the power of the first intermodulation distortion signal as the current energy of the first intermodulation distortion signal. It is to be understood that the current energy of the first intermodulation distortion signal is an average of the current energies of the plurality of intermodulation distortion signals.
And S102, the correcting device determines a first compensation voltage according to the current energy of the first intermodulation distortion signal and the pre-stored historical energy of the first intermodulation distortion signal, and adjusts the threshold voltage of the first mixer in the first branch by using the first compensation voltage.
In conjunction with fig. 2 or 3, it will be appreciated that the first compensation voltage may be calculated by the compensation voltage determination circuit 40 as described above.
The historical energy of the first intermodulation distortion signal refers to the energy of the intermodulation distortion signal last detected by the correction apparatus from the output signal of the first branch of the receiver, relative to the definition of the current energy of the first intermodulation distortion signal. Optionally, when the first time S102 is executed by the correction apparatus, the historical energy of the first intermodulation distortion signal may be a pre-stored value, that is, an initially configured value (set to any value that meets the actual usage requirement), for example, the historical energy of the first intermodulation distortion signal may be set to a maximum value (e.g., 2^ 28).
The adjusting the threshold voltage of the second mixer in the second branch by using the second compensation voltage includes: the first compensation voltage is input into the first mixer of the first branch circuit, so that when the first compensation voltage acts on the first mixer, the threshold voltage of the first mixer can be changed, and the output signal of the first branch circuit is influenced.
In the embodiment of the present application, the first branch and the second branch are coupled to each other, i.e., the first branch and the second branch, may interact with each other, after determining the first compensation voltage by the current energy of the first intermodulation distortion signal and the pre-stored historical energy of the first intermodulation distortion signal, inputting the first compensation voltage to the first mixer of the receiver, this first compensation voltage may affect not only the output signal of the first branch of the receiver, but also the output signal of the second branch), in particular, the first compensation voltage may affect the energy of a first intermodulation distortion signal in the output signal of the first branch and may also affect the energy of a second intermodulation distortion signal in the output signal of the second branch, and, therefore, the signal distortion may be improved by providing a compensation voltage to the mixer to reduce the energy of the intermodulation distortion signal.
Optionally, in this embodiment of the application, the correcting device may determine the first compensation voltage by comparing the current energy of the first intermodulation distortion signal with the historical energy of the first intermodulation distortion signal, and specifically, the step S102 may include step S1021 or step S1022:
and S1021, under the condition that the current energy of the first intermodulation distortion signal is less than the historical energy of the first intermodulation distortion signal, determining one half of the sum of the first compensation voltage obtained in the previous cycle and the first high compensation voltage obtained in the previous cycle as the first compensation voltage.
Wherein the first high compensation voltage obtained in the previous cycle is determined according to the current energy of the first intermodulation distortion signal in the previous cycle and the historical energy of the first intermodulation distortion signal.
In the embodiment of the present application, a binary method (or referred to as a binary tree method) may be used to determine the first compensation voltage, specifically, three compensation voltages may be designed, which are respectively a low compensation voltage, a medium compensation voltage and a high compensation voltage, for example, denoted as pl, mid, and ph, and the final compensation voltage input into the mixer may be determined according to the low compensation voltage and the high compensation voltage, where the compensation voltage is (mid + ph)/2, and the three compensation voltages may be code values of voltages, that is, digital voltages represented by a limited number of bits (for example, M bits). These three compensation voltages, corresponding to the first branch, are obtained in each cycle, and are respectively denoted as pl _ i, mid _ i, and ph _ i, and mid _ i is (pl _ i + ph _ i)/2.
Specifically, in the case that the current energy of the first intermodulation distortion signal is less than the historical energy of the first intermodulation distortion signal, the first compensation voltage may be determined by using the formula mid _ i ═ pl _ i + ph _ i)/2, where mid _ i is the first compensation voltage, pl _ i is the first low compensation voltage obtained in the current cycle, ph _ i is the first high compensation voltage obtained in the current cycle, pl _ i is mid _ pre _ i, ph _ i is ph _ pre1_ i, mid _ pre1_ i is the first compensation voltage obtained in the previous cycle, and ph _ pre1_ i is the first high compensation voltage obtained in the previous cycle.
S1022, in a case that the current energy of the first intermodulation distortion signal is greater than or equal to the historical energy of the first intermodulation distortion signal, determining one half of the sum of the first compensation voltage obtained in the previous cycle and the first low compensation voltage obtained in the previous two cycles as the first compensation voltage.
Wherein the first low compensation voltage obtained in the previous two cycles is determined according to the current energy of the first intermodulation distortion signal and the historical energy of the first intermodulation distortion signal in the previous two cycles.
Specifically, in the case that the current energy of the first intermodulation distortion signal is greater than or equal to the historical energy of the first intermodulation distortion signal, the first compensation voltage may be determined by using the formula mid _ i ═ pl _ i + ph _ i)/2, where mid _ i is the first compensation voltage, pl _ i is the first low compensation voltage obtained in the current cycle, ph _ i is the first high compensation voltage obtained in the current cycle, and pl _ i ═ mid _ pre _ i, ph _ i ═ pl _ pre2_ i, mid _ pre _ i is the first compensation voltage obtained in the previous cycle, and pl _ pre2_ i is the first low compensation voltage obtained in the previous cycle.
It should be noted that, in the present cycle (i.e., in the currently executed cycle), three compensation voltages corresponding to the present cycle need to be determined according to the three compensation voltages obtained in the previous cycle, so as to determine the first compensation voltage; or determining three compensation voltages corresponding to the current cycle according to the three compensation voltages obtained in the previous two cycles, thereby determining the first compensation voltage.
Optionally, in a specific implementation process, a search direction may be defined, where the search direction is denoted as dir, specifically, for the first branch, the search direction is denoted as dir _ i, and when the current energy of the first intermodulation distortion signal is smaller than the historical energy of the first intermodulation distortion signal, the search direction is positive, that is, dir _ i is equal to 1; when the current energy of the first intermodulation distortion signal is greater than or equal to the historical energy of the first intermodulation distortion signal, the search direction is defined as negative, i.e., dir _ i ═ 1. Optionally, in order to facilitate implementation of the programming, search direction indication information may be further defined, which is denoted as Pi, specifically, dir _ i is 1, and Pi is corresponding to 0; dir _ i-1 corresponds to Pi-1, so that a search direction can be determined according to search direction indication information when programming is implemented.
In the embodiment of the present application, in the initial state, the initial values of the variables involved in S1021 and S1022 described above may be set, and table 1 below is an example of initialization setting.
TABLE 1
Figure PCTCN2019076570-APPB-000001
For example, taking the n-2 th cycle, the n-1 th cycle and the nth cycle as examples, the three consecutive cycles obtain the low compensation voltage, the high compensation voltage and the medium compensation voltage, i.e., the first low compensation voltage, and the first high compensation voltage and the first compensation voltage are respectively shown in table 2 below.
TABLE 2
Figure PCTCN2019076570-APPB-000002
With reference to table 2, for the nth cycle, in the case where dir _ i is 1 (or Pi is 0), the first low compensation voltage in the nth cycle is the first compensation voltage in the n-1 th cycle, and the first high compensation voltage in the nth cycle is the first high compensation voltage in the n-1 th cycle. Specifically, if dir _ i in the n-1 th cycle is equal to 1, the first low compensation voltage a5 in the nth cycle is equal to (a3+ b3)/2, the first high compensation voltage in the nth cycle is b5 equal to b3, and the first compensation voltage in the nth cycle is determined in combination with the equation mid _ q in S1011 as (pl _ q + ph _ q)/2; if dir _ i in the n-1 th cycle is equal to-1, the first low compensation voltage a5 in the nth cycle is equal to (a4+ b 4)/2, and further, in combination with the above equation mid _ q in S1011, equal to (pl _ q + ph _ q)/2, the first high compensation voltage in the nth cycle of the first compensation voltage is determined to be b5 equal to b 4.
For ease of understanding, on the basis of table 2, see table 3 below for the results of three compensation voltages obtained in the case where dir _ i is 1 (or Pi is 0) in the nth cycle.
TABLE 3
Figure PCTCN2019076570-APPB-000003
With reference to table 2, for the nth cycle, in the case where dir _ i is-1 (or Pi is 0), the first low compensation voltage in the nth cycle is the first compensation voltage in the nth-1 th cycle, and the first high compensation voltage in the nth cycle is the first low compensation voltage in the nth-2 th cycle. In the case where dir _ i is-1 in the nth cycle, an exemplary description is given by taking dir _ i is 1 in the nth-1 cycle as an example, and table 4 below shows the results of three compensation voltages obtained in the nth-1 cycle when dir _ i is 1 in the nth-1 cycle.
TABLE 4
Figure PCTCN2019076570-APPB-000004
Table 5 shows the results of the n-th three compensation voltages obtained when dir _ i is equal to-1 in the n-th cycle and dir _ i is equal to 1 in the n-1 th cycle, in combination with table 4.
TABLE 5
Figure PCTCN2019076570-APPB-000005
And S103, detecting the current energy of a second intermodulation distortion signal in the signals output by the second branch circuit by the correction device.
In conjunction with fig. 2 or fig. 3, it can be appreciated that the current energy of the second intermodulation distortion signal can be detected by the second energy detection circuit 30 as described above.
Similarly, the frequency of the second intermodulation distortion signal may be f2-f1 or f1+ f2, and for other descriptions of the second intermodulation distortion signal, reference may be made to the above description of the first intermodulation distortion signal, which is not described herein again.
As the first branch and the second branch are coupled with each other, a compensation voltage is input to the first mixer in the first branch, and under the compensation voltage, the energy of a first intermodulation distortion signal in the output signal of the first branch is changed, and the energy of a second intermodulation distortion signal in the output signal of the second branch is also changed; similarly, a compensation voltage is input to the second mixer in the second branch, and at the compensation voltage, the energy of the second intermodulation distortion signal in the output signal of the second branch is changed, and at the same time, the energy of the first intermodulation distortion signal in the output signal of the first branch is also changed.
In step S102, after the calibration device determines the first compensation voltage, the calibration device adjusts the threshold voltage of the first mixer in the first branch by using the first compensation voltage, that is, the first compensation voltage is input to the first mixer, and the energy of the second intermodulation distortion signal is changed under the action of the first compensation voltage, so that the calibration device further detects the current energy of the second intermodulation distortion signal.
In the embodiment of the present application, the first compensation voltage is a digital voltage, and with reference to fig. 2 or fig. 3, the first compensation voltage is converted from the digital voltage to an analog voltage by a first digital-to-analog converter 50 in the correction device, and the analog voltage is input to the first mixer.
Optionally, with reference to fig. 4, as shown in fig. 5, the step S103 may specifically be implemented by step S1031:
and S1031, the correcting device performs frequency shift, filtering and energy calculation on the output signal of the second branch circuit to obtain the current energy of the second intermodulation distortion signal.
The present energy of the second intermodulation distortion signal refers to the energy of the intermodulation distortion signal currently detected by the correction means from the output signal of the second branch of the receiver, similar to the first intermodulation distortion signal.
In this embodiment of the application, the current energy of the second intermodulation distortion signal may be detected by the second energy detecting circuit 30 in the correcting apparatus shown in fig. 2, or the current energy of the second intermodulation distortion signal may be detected by the second energy detecting circuit 20 in the correcting apparatus shown in fig. 3, and a method for detecting the current energy of the second intermodulation distortion signal is similar to the method for detecting the current energy of the first intermodulation distortion signal, which may specifically refer to the related description in the above S101, and is not repeated here.
And S104, the correcting device determines a second compensation voltage according to the current energy of the second intermodulation distortion signal and the pre-stored historical energy of the second intermodulation distortion signal, and adjusts the threshold voltage of a second mixer in the second branch by using the second compensation voltage.
Similarly to the first intermodulation distortion signal, the historical energy of the second intermodulation distortion signal refers to the energy of the intermodulation distortion signal last detected by the correction apparatus from the output signal of the second branch of the receiver.
It is understood that, when the correcting device performs S104 for the first time, the current energy of the second intermodulation distortion signal is the energy of the second intermodulation distortion signal detected by the correcting device in S103 above; the historical energy of the second intermodulation distortion signal may be the energy of the second intermodulation distortion signal detected by the correction device when the compensation voltage of the mixer input is 0.
After determining the second compensation voltage by the current energy of the second intermodulation distortion signal and the pre-stored historical energy of the second intermodulation distortion signal, the second compensation voltage is input to the second mixer of the receiver, and the second compensation voltage affects not only the output signal of the second branch of the receiver but also the output signal of the first branch), specifically, the second compensation voltage affects the energy of the second intermodulation distortion signal in the output signal of the second branch and also affects the energy of the first intermodulation distortion signal in the output signal of the first branch, so that the signal distortion can be improved by reducing the energy of the intermodulation distortion signal by supplying the compensation voltage to the mixer.
It is to be understood that, in S102, when the first mixer inputs the first compensation voltage, the energy of the first intermodulation distortion signal and the energy of the second intermodulation distortion signal may be reduced to some extent; similarly, in S104, when the second compensation voltage is input to the second mixer, the energy of the first intermodulation distortion signal and the energy of the second intermodulation distortion signal may be reduced to some extent.
Optionally, in this embodiment of the application, the correcting device may determine the second compensation voltage by comparing the current energy of the second intermodulation distortion signal with the historical energy of the second intermodulation distortion signal, and specifically, the step S104 may include step S1041 or step S1042:
s1041, when the current energy of the second intermodulation distortion signal is less than the historical energy of the second intermodulation distortion signal, determining one half of the sum of the second compensation voltage obtained in the previous cycle and the second high compensation voltage obtained in the previous cycle as the second compensation voltage.
Wherein the second high compensation voltage obtained in the previous cycle is determined according to the current energy of the second intermodulation distortion signal in the previous cycle and the historical energy of the second intermodulation distortion signal.
In this embodiment of the application, a bisection method (alternatively referred to as a binary tree method) may also be used to determine the second compensation voltage, specifically, three compensation voltages are designed, which are respectively a low compensation voltage, a medium compensation voltage and a high compensation voltage, see the above-mentioned related description of S1021 and S1022, and correspond to the second branch, where these three compensation voltages are respectively denoted as pl _ q, mid _ q, and ph _ q, and mid _ q is (pl _ q + ph _ q)/2.
Specifically, the second compensation voltage may be determined by using the formula mid _ q ═ p _ q + ph _ q)/2, where mid _ q is the second compensation voltage, pl _ q is the second low compensation voltage obtained in the current cycle, ph _ q is the second high compensation voltage obtained in the current cycle, pl _ q ═ mid _ pre _ q, ph _ q ═ ph _ pre1_ q, mid _ pre1_ q is the second high compensation voltage obtained in the previous cycle, and ph _ pre1_ q is the second high compensation voltage obtained in the previous cycle.
S1042, when the current energy of the second intermodulation distortion signal is greater than or equal to the historical energy of the second intermodulation distortion signal, determining one half of the sum of the second compensation voltage obtained in the previous cycle and the second low compensation voltage obtained in the previous two cycles as the second compensation voltage.
Wherein the second low compensation voltage obtained in the previous two cycles is determined according to the current energy of the second intermodulation distortion signal and the historical energy of the second intermodulation distortion signal in the previous two cycles.
Specifically, the second compensation voltage may be determined by using a formula mid _ q ═ p _ q + ph _ q)/2, where mid _ q is the second compensation voltage, pl _ q is the second low compensation voltage obtained in the current cycle, ph _ q is the second high compensation voltage obtained in the current cycle, pl _ q ═ mid _ pre _ q, ph _ q ═ pl _ pre2_ q, mid _ pre _ q is the second compensation voltage obtained in the previous cycle, and pl _ pre2_ q is the second low compensation voltage obtained in the previous two cycles.
It should be noted that, in the present cycle (i.e., in the currently executed cycle), three compensation voltages corresponding to the present cycle need to be determined according to the three compensation voltages obtained in the previous cycle, so as to determine the second compensation voltage; or determining three compensation voltages corresponding to the current cycle according to the three compensations obtained in the previous two cycles, thereby determining a second compensation voltage.
Optionally, in a specific implementation process, a search direction may also be defined for the second branch, and is denoted as dir _ q, and when the current energy of the second intermodulation distortion signal is less than the historical energy of the second intermodulation distortion signal, the search direction is positive, that is, dir _ q is 1; when the current energy of the second intermodulation distortion signal is greater than or equal to the historical energy of the second intermodulation distortion signal, the search direction is defined as negative, i.e., dir _ q is-1. Optionally, for convenience of implementation of programming, search direction indication information, denoted as Pq, may be further defined, specifically, dir _ q-1 corresponds to Pq-0, dir _ q-1 corresponds to Pq-1, so that in implementation of programming, a search direction may be determined according to the search direction indication information.
In the embodiment of the present application, in an initial state, initial values of the variables involved in S1041 and S1042 may be set, and table 6 below is an example of initialization setting.
TABLE 6
Figure PCTCN2019076570-APPB-000006
It should be noted that, in this embodiment of the application, the initialized value in the table 6 is not directly used in the above S1041 or S1042, and since the first branch and the second branch are coupled to each other, when the threshold voltage of the first mixer of the first branch is adjusted by using the first compensation voltage after the first branch and the second branch are determined to be the first compensation voltage, the energy of the second intermodulation distortion signal is affected, and therefore after S103 is performed, the current energy of the second intermodulation distortion signal needs to be updated once, that is, the current energy of the second intermodulation distortion signal is updated from the current energy (i.e., the energy corresponding to the zero voltage) initialized in the table 6 to the energy of the second intermodulation distortion signal determined by the first compensation voltage; and the historical energy of the second intermodulation distortion signal is updated, that is, the historical energy of the second intermodulation distortion signal is updated from the historical energy (i.e., the maximum value) initialized in the above table 6 to the current energy of the second intermodulation distortion signal determined last time (i.e., the current energy initialized in the above table 6, that is, the energy corresponding to the above zero voltage).
Optionally, the updating of the current energy of the second intermodulation distortion signal and the updating of the historical energy of the second intermodulation distortion signal specifically may include: when the first compensation voltage is input to the first mixer and the second energy detection circuit detects the energy of the second intermodulation distortion signal, the second energy detection circuit may send a detection completion flag to the compensation voltage calculation circuit, and after the compensation voltage calculation circuit receives the detection completion flag, the historical energy of the second intermodulation distortion signal is updated first, and then the current energy of the second intermodulation distortion signal is updated.
In the embodiment of the present application, the second compensation voltage is a digital voltage, and with reference to fig. 2 or fig. 3, the second compensation voltage is converted from the digital voltage to an analog voltage by a second digital-to-analog converter 60 in the correction device, and the analog voltage is input to the second mixer.
Further, the correction apparatus performs the above-mentioned S101-S104 by looping until the loop number reaches a pre-configured loop number (for example, N times, where N is a positive integer greater than or equal to 2), and the first compensation voltage and the second compensation voltage obtained in the nth loop may minimize the distortion degree of the output signal of the receiver compared to the previous N-1 loops, that is, minimize the energy of the intermodulation distortion signal in the signal output by the receiver.
Specifically, the above-mentioned S101-S102 and S103-S104 are executed alternately, that is to say, it can be understood that: firstly, executing S101-S102 to determine a first compensation voltage obtained in the current cycle, and re-determining the current energy of the second intermodulation distortion signal when the first compensation voltage adjusts the threshold voltage of the first mixer; then, S103-S104 are executed to determine the second compensation voltage obtained in the current loop, so that in the next iteration process, when the second compensation voltage adjusts the threshold voltage of the second mixer, the current energy of the first intermodulation distortion signal is determined again, and then, the steps of S101 and the like are executed again.
Optionally, in this embodiment of the present application, in order to facilitate programming of the method for correcting an intermodulation distortion signal of a receiver provided by the embodiment of the present application, during the loop execution of the method for correcting an intermodulation distortion signal of a receiver, enable indication information may be set, where the enable indication information is used for indicating the determination of the first compensation voltage or for indicating the determination of the second compensation voltage. The enable indication information may include enable indication information of the first branch and enable indication information of the second branch, for example, the enable indication information of the first branch is denoted as I _ EN, and when I _ EN is equal to 1, it indicates that the first branch is enabled, and when I _ EN is equal to 0, it indicates that the first branch is not enabled; the enable indication information of the second branch is denoted as Q _ EN, and when Q _ EN is equal to 1, it indicates that the second branch is enabled, and when Q _ EN is equal to 0, it indicates that the second branch is not enabled. In the embodiment of the present application, if I _ EN is 1 and Q _ EN is 0, the correction device executes the above-described S101 to S102; if I _ EN is 0 and Q _ EN is 1, the correction device executes the above-described S103 to S104.
Optionally, after the correcting device adjusts the threshold voltage of the first mixer in the first branch by using the first compensation voltage, the method for correcting the intermodulation distortion signal of the receiver according to the embodiment of the present application may further include S102a-S102 b:
s102a, the correction device detects the current energy of the first intermodulation distortion signal.
S102b, the correcting device uses the current energy of the first intermodulation distortion signal as the historical energy of the first intermodulation distortion signal.
In this embodiment, when the correction device determines the first compensation voltage, the first compensation voltage may affect the energy of the first intermodulation distortion signal in the output signal of the first branch, so that the correction device also detects the current energy of the first intermodulation distortion signal, and the correction device updates the historical energy of the first intermodulation distortion signal, specifically, the correction device uses the current energy of the first intermodulation distortion signal detected by the correction device as the historical energy of the first intermodulation distortion signal. It is understood that the historical energy of the first intermodulation distortion signal updated this time will be used to determine the first compensation voltage at the next cycle (i.e., next execution of S102).
Similarly, optionally, after the correcting device adjusts the threshold voltage of the second mixer in the second branch by using the second compensation voltage, the method for correcting the intermodulation distortion signal of the receiver according to the embodiment of the present application may further include S104a-S104 b:
s104a, the correction device detects the current energy of the second intermodulation distortion signal.
S104b, the correcting device uses the current energy of the second intermodulation distortion signal as the historical energy of the second intermodulation distortion signal.
In this embodiment, when the correction device determines the second compensation voltage, the second compensation voltage may affect the energy of the second intermodulation distortion signal in the output signal of the second branch, so that the correction device also detects the current energy of the second intermodulation distortion signal, and updates the historical energy of the second intermodulation distortion signal, specifically, the correction device uses the current energy of the second intermodulation distortion signal detected at the second compensation voltage as the historical energy of the second intermodulation distortion signal. It is understood that the historical energy of the second intermodulation distortion signal updated this time will be used for determining the second compensation voltage at the next cycle (i.e., next execution of S104).
The embodiment of the present application provides a method for correcting intermodulation distortion signals of a receiver, in which a correction apparatus detects a current energy of a first intermodulation distortion signal, then determines a first compensation voltage according to the current energy of the first intermodulation distortion signal and a pre-stored historical energy of the first intermodulation distortion signal, and adjusts a threshold voltage of a first mixer in a first branch circuit by using the first compensation voltage, and detects a current energy of a second intermodulation distortion signal, then determines a second compensation voltage according to the current energy of the second intermodulation distortion signal and the pre-stored historical energy of the second intermodulation distortion signal, and adjusts a threshold voltage of a second mixer in a second branch circuit by using the second compensation voltage, so that the energy of the intermodulation distortion signals of the receiver can be reduced to a certain extent, thereby reducing signal distortion more effectively.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of the correction device. It is understood that the correction device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the correction device may be divided into functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module by corresponding functions, fig. 6 shows a schematic diagram of a possible structure of the correction device according to the above embodiment, and as shown in fig. 6, the correction device 1000 may include: a first energy detection module 1001, a second energy detection module 1002, and a compensation voltage determination module 1003. The first energy detection module 1001 may be configured to support the correction device 1000 to perform the operations of S101 (including S1011), S102 a; the second energy detection module 1002 may be configured to support the correction apparatus 1000 to perform S103 (including S1031) and S104a in the above method embodiment. The compensation voltage determining module 1003 may be used to support the correction apparatus 1000 to perform S102 (including S1021 or S1022), S102b, S104 (including S1041 or S1042), and S104b in the above method embodiments.
Optionally, as shown in fig. 6, the correction apparatus 1000 according to the embodiment of the present application may further include a first digital-to-analog conversion module 1004 and a second digital-to-analog conversion module 1005, where the first digital-to-analog conversion module 1004 is configured to convert the first compensation voltage into an analog voltage when the first compensation voltage is a digital voltage; the second digital-to-analog conversion module 1005 is configured to convert the second compensation voltage into an analog voltage if the second compensation voltage is a digital voltage. All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
Fig. 7 shows a schematic diagram of a possible configuration of the correction device according to the exemplary embodiment described above, in the case of an integrated unit. As shown in fig. 7, the correction device 2000 may include: a processing module 2001 and a communication module 2002. The processing module 2001 may be used to control and manage the actions of the correction device 2000, for example, the processing module 2001 supports the correction device 2000 to perform S101 (including S1011), S102 ((including S1021 or S1022)), S103 (including S1031), S104 (including S1041 or S1042), S102a, S102b, S104a, S104b in the above-described method embodiments. The communication module 2002 may be used to support communication of the correction device 2000 with other network entities. Optionally, as shown in fig. 7, the calibration device 2000 may further include a storage module 2003 for storing program codes and data of the calibration device 2000.
The processing module 2001 may be a processor or a controller, and may be, for example, a Central Processing Unit (CPU), a general purpose processor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure of the embodiments of the application. The processor described above may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs and microprocessors, and the like. The communication module 2002 may be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 2003 may be a memory.
When the processing module 2001 is a processor, the communication module 2002 is a transceiver, and the storage module 2003 is a memory, the processor, the transceiver, and the memory may be connected by a bus. The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produce, in whole or in part, the processes or functions described in the embodiments of the application. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy disk, magnetic tape), an optical medium (e.g., Digital Video Disk (DVD)), or a semiconductor medium (e.g., Solid State Drive (SSD)), among others.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (16)

  1. A method of correcting intermodulation distortion signals of a receiver, the receiver comprising a first branch and a second branch, the first branch and the second branch being in-phase and quadrature branches, the method comprising:
    detecting a current energy of a first intermodulation distortion signal in an output signal of the first branch;
    determining a first compensation voltage according to the current energy of the first intermodulation distortion signal and the pre-stored historical energy of the first intermodulation distortion signal, and adjusting the threshold voltage of a first mixer in the first branch by using the first compensation voltage;
    detecting a current energy of a second intermodulation distortion signal in an output signal of the second branch;
    and determining a second compensation voltage according to the current energy of the second intermodulation distortion signal and the pre-stored historical energy of the second intermodulation distortion signal, and adjusting the threshold voltage of a second mixer in the second branch by using the second compensation voltage.
  2. The method of claim 1,
    looping through the method of claim 1 until the number of loops reaches a preconfigured number of loops.
  3. The method of claim 1 or 2, wherein after adjusting the threshold voltage of the first mixer in the first branch using the first compensation voltage, the method further comprises:
    detecting a current energy of the first intermodulation distortion signal;
    taking the current energy of the first intermodulation distortion signal as the historical energy of the first intermodulation distortion signal.
  4. The method of any of claims 1 to 3, wherein after adjusting the threshold voltage of the second mixer in the second branch using the second compensation voltage, the method further comprises:
    detecting a current energy of the second intermodulation distortion signal;
    taking the current energy of the second intermodulation distortion signal as the historical energy of the second intermodulation distortion signal.
  5. The method of any of claims 2 to 4, wherein determining a first compensation voltage based on a current energy of the first intermodulation distortion signal and a pre-stored historical energy of the first intermodulation distortion signal comprises:
    determining, as the first compensation voltage, one-half of a sum of a first compensation voltage obtained in a previous cycle and a first high compensation voltage obtained in the previous cycle if a current energy of the first intermodulation distortion signal is less than a historical energy of the first intermodulation distortion signal, wherein the first high compensation voltage obtained in the previous cycle is determined according to the current energy of the first intermodulation distortion signal and the historical energy of the first intermodulation distortion signal in the previous cycle;
    determining, as the first compensation voltage, one half of a sum of a first compensation voltage obtained in a previous cycle and a first low compensation voltage obtained in a previous cycle if a current energy of the first intermodulation distortion signal is greater than or equal to a historical energy of the first intermodulation distortion signal, wherein the first low compensation voltage obtained in the previous cycle is determined according to the current energy of the first intermodulation distortion signal and the historical energy of the first intermodulation distortion signal in the previous cycle.
  6. The method of any of claims 2 to 5, wherein determining the second compensation voltage based on the current energy of the second intermodulation distortion signal and a pre-stored historical energy of the second intermodulation distortion signal comprises:
    determining, as the second compensation voltage, one-half of a sum of a second compensation voltage obtained in a previous cycle and a second high compensation voltage obtained in the previous cycle if a current energy of the second intermodulation distortion signal is less than a historical energy of the second intermodulation distortion signal, wherein the second high compensation voltage obtained in the previous cycle is determined according to the current energy of the second intermodulation distortion signal and the historical energy of the second intermodulation distortion signal in the previous cycle;
    determining one half of a sum of a second compensation voltage obtained in a previous cycle and a second low compensation voltage obtained in a previous cycle as the second compensation voltage if the current energy of the second intermodulation distortion signal is greater than or equal to the historical energy of the second intermodulation distortion signal, wherein the second low compensation voltage obtained in the previous cycle is determined according to the current energy of the second intermodulation distortion signal and the historical energy of the second intermodulation distortion signal in the previous cycle.
  7. The method according to any one of claims 1 to 6,
    the detecting a current energy of a first intermodulation distortion signal in an output signal of the first branch, comprising:
    performing frequency shift, filtering and energy calculation on the output signal of the first branch to obtain the current energy of the first intermodulation distortion signal;
    the detecting a current energy of a second intermodulation distortion signal in an output signal of the second branch comprises:
    and performing frequency shift, filtering and energy calculation on the output signal of the second branch to obtain the current energy of the second intermodulation distortion signal.
  8. The method according to any one of claims 1 to 7,
    the first compensation voltage is a digital voltage, the method further comprising: converting the first compensation voltage into an analog voltage;
    the second compensation voltage is a digital voltage, the method further comprising: converting the second compensation voltage into an analog voltage.
  9. A communication device, comprising a receiver, a first energy detection circuit, a second energy detection circuit, and a compensation voltage calculation circuit, wherein the receiver comprises a first branch and a second branch, and the first branch and the second branch are in-phase and quadrature branches;
    the first energy detection circuit is configured to detect a current energy of a first intermodulation distortion signal in an output signal of the first branch;
    the compensation voltage calculation circuit is configured to determine a first compensation voltage according to a current energy of the first intermodulation distortion signal and a pre-stored historical energy of the first intermodulation distortion signal, where the first compensation voltage is used to adjust a threshold voltage of a first mixer in the first branch;
    the second energy detection circuit is configured to detect a current energy of a second intermodulation distortion signal in the output signal of the second branch;
    the compensation voltage calculation circuit is further configured to determine a second compensation voltage according to a current energy of the second intermodulation distortion signal and a pre-stored historical energy of the second intermodulation distortion signal, where the second compensation voltage is used to adjust a threshold voltage of a second mixer in the second branch.
  10. The communication device of claim 9,
    the first energy detection circuit is further configured to detect a current energy of the first intermodulation distortion signal after the first compensation voltage adjusts a threshold voltage of a first mixer in the first branch;
    the compensation voltage calculation circuit is further configured to use the current energy of the first intermodulation distortion signal as the historical energy of the first intermodulation distortion signal.
  11. The communication device of claim 9 or 10,
    the second energy detection circuit is further configured to detect a current energy of the second intermodulation distortion signal after the second compensation voltage adjusts a threshold voltage of a second mixer in the second branch;
    the compensation voltage calculation circuit is further configured to use the current energy of the second intermodulation distortion signal as the historical energy of the second intermodulation distortion signal.
  12. The communication device of claim 10 or 11,
    the compensation voltage calculation circuit is specifically configured to determine, as the first compensation voltage, one half of a sum of a first compensation voltage obtained in a previous cycle and a first high compensation voltage obtained in the previous cycle, when a current energy of the first intermodulation distortion signal is less than a historical energy of the first intermodulation distortion signal, where the first high compensation voltage obtained in the previous cycle is determined according to the current energy of the first intermodulation distortion signal and the historical energy of the first intermodulation distortion signal in the previous cycle; determining, as the first compensation voltage, one half of a sum of a first compensation voltage obtained in a previous cycle and a first low compensation voltage obtained in a previous cycle if a current energy of the first intermodulation distortion signal is greater than or equal to a historical energy of the first intermodulation distortion signal, wherein the first low compensation voltage obtained in the previous cycle is determined according to the current energy of the first intermodulation distortion signal and the historical energy of the first intermodulation distortion signal in the previous cycle.
  13. The communication device according to any one of claims 10 to 12,
    the compensation voltage calculation circuit is specifically configured to determine, as the second compensation voltage, one half of a sum of a second compensation voltage obtained in a previous cycle and a second high compensation voltage obtained in the previous cycle when a current energy of the second intermodulation distortion signal is less than a historical energy of the second intermodulation distortion signal, where the second high compensation voltage obtained in the previous cycle is determined according to the current energy of the second intermodulation distortion signal and the historical energy of the second intermodulation distortion signal in the previous cycle; determining one half of a sum of a second compensation voltage obtained in a previous cycle and a second low compensation voltage obtained in a previous cycle as the second compensation voltage if the current energy of the second intermodulation distortion signal is greater than or equal to the historical energy of the second intermodulation distortion signal, wherein the second low compensation voltage obtained in the previous cycle is determined according to the current energy of the second intermodulation distortion signal and the historical energy of the second intermodulation distortion signal in the previous cycle.
  14. The communication device according to any one of claims 9 to 13,
    the first energy detection circuit is specifically configured to perform frequency shift, filtering, and energy calculation on the output signal of the first branch to obtain current energy of the first intermodulation distortion signal;
    the second energy detection circuit is specifically configured to perform frequency shift, filtering, and energy calculation on the output signal of the second branch, so as to obtain current energy of the second intermodulation distortion signal.
  15. The communication device of any of claims 9 to 14, further comprising a first digital-to-analog converter and a second digital-to-analog converter;
    the first digital-to-analog converter is used for converting the first compensation voltage into an analog voltage under the condition that the first compensation voltage is a digital voltage;
    the second digital-to-analog converter is used for converting the second compensation voltage into an analog voltage under the condition that the second compensation voltage is a digital voltage.
  16. A computer-readable storage medium, characterized in that it comprises computer instructions which, when run on a computer, cause the communication device to perform the method of correcting intermodulation distortion signals of a receiver according to any of claims 1 to 8.
CN201980092362.9A 2019-02-28 2019-02-28 Method and device for correcting intermodulation distortion signal of receiver Active CN113439391B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/076570 WO2020172877A1 (en) 2019-02-28 2019-02-28 Method and apparatus for correcting intermodulation distortion signal of receiver

Publications (2)

Publication Number Publication Date
CN113439391A true CN113439391A (en) 2021-09-24
CN113439391B CN113439391B (en) 2022-11-22

Family

ID=72240057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980092362.9A Active CN113439391B (en) 2019-02-28 2019-02-28 Method and device for correcting intermodulation distortion signal of receiver

Country Status (2)

Country Link
CN (1) CN113439391B (en)
WO (1) WO2020172877A1 (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2052896C1 (en) * 1991-04-26 1996-01-20 Богачев Сергей Васильевич Receiver of amplitude-modulated signals with suppression of intermodulation noises
CN1981429A (en) * 2004-07-06 2007-06-13 Acp尖端电路钻研股份公司 Balanced mixer using fits
WO2007068089A1 (en) * 2005-12-12 2007-06-21 Sirific Wireless Corporation A system for reducing second order intermodulation products from differential circuits
US20070173220A1 (en) * 2005-10-20 2007-07-26 Young-Jin Kim Second-order intermodulation distortion compensating circuit
US20070274471A1 (en) * 2006-05-26 2007-11-29 Hideharu Shako Distortion compensating apparatus and method
KR20080071283A (en) * 2007-01-30 2008-08-04 삼성전자주식회사 Methods and apparatuses for adjusting thresholds of transmission envelope detector
US20090191833A1 (en) * 2008-01-29 2009-07-30 Kaczman Daniel L High performance cmos radio frequency receiver
CN101540640A (en) * 2009-04-28 2009-09-23 北京朗波芯微技术有限公司 Carrier leak correcting circuit used at front end of emission and method thereof
CN101765969A (en) * 2007-07-31 2010-06-30 富士通株式会社 Distortion compensating apparatus and method
CN102217202A (en) * 2008-10-09 2011-10-12 飞思卡尔半导体公司 Adaptive iip2 calibration
CN102246423A (en) * 2008-12-12 2011-11-16 意法爱立信有限公司 Method and system of calibration of a second order intermodulation intercept point of a radio transceiver
CN103125076A (en) * 2010-09-28 2013-05-29 高通股份有限公司 Reducing non-linearities in a differential receiver path prior to a mixer using calibration
CN103580609A (en) * 2012-08-07 2014-02-12 晨星软件研发(深圳)有限公司 Device, system and method for correcting second-order inter-modulation distortion
CN103731391A (en) * 2013-12-31 2014-04-16 天津朗波微电子有限公司 Method and circuit for calibrating quadrature mismatch of transmitter of RF transceiver
US20140111252A1 (en) * 2012-10-24 2014-04-24 Qualcomm Incorporated Threshold tracking bias voltage for mixers
US8958512B1 (en) * 2013-10-18 2015-02-17 Altera Corporation System and method for receiver equalization adaptation
US20150071390A1 (en) * 2013-09-09 2015-03-12 Mstar Semiconductor, Inc. Mixer biasing for intermodulation distortion compensation
US20160095055A1 (en) * 2014-09-26 2016-03-31 Apple Inc. DSP Assisted and On Demand RF and Analog Domain Processing for Low Power Wireless Transceivers
CN106664108A (en) * 2014-07-10 2017-05-10 瑞典爱立信有限公司 Cancelling intermodulation interference
CN108432147A (en) * 2016-01-09 2018-08-21 华为技术有限公司 The receiver path distortion mitigation fed back using sef-adapting filter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8112055B2 (en) * 2008-06-26 2012-02-07 Intel Corporation Calibrating receive chain to reduce second order intermodulation distortion

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2052896C1 (en) * 1991-04-26 1996-01-20 Богачев Сергей Васильевич Receiver of amplitude-modulated signals with suppression of intermodulation noises
CN1981429A (en) * 2004-07-06 2007-06-13 Acp尖端电路钻研股份公司 Balanced mixer using fits
US20070173220A1 (en) * 2005-10-20 2007-07-26 Young-Jin Kim Second-order intermodulation distortion compensating circuit
WO2007068089A1 (en) * 2005-12-12 2007-06-21 Sirific Wireless Corporation A system for reducing second order intermodulation products from differential circuits
US20070274471A1 (en) * 2006-05-26 2007-11-29 Hideharu Shako Distortion compensating apparatus and method
KR20080071283A (en) * 2007-01-30 2008-08-04 삼성전자주식회사 Methods and apparatuses for adjusting thresholds of transmission envelope detector
CN101765969A (en) * 2007-07-31 2010-06-30 富士通株式会社 Distortion compensating apparatus and method
US20090191833A1 (en) * 2008-01-29 2009-07-30 Kaczman Daniel L High performance cmos radio frequency receiver
CN102217202A (en) * 2008-10-09 2011-10-12 飞思卡尔半导体公司 Adaptive iip2 calibration
CN102246423A (en) * 2008-12-12 2011-11-16 意法爱立信有限公司 Method and system of calibration of a second order intermodulation intercept point of a radio transceiver
CN101540640A (en) * 2009-04-28 2009-09-23 北京朗波芯微技术有限公司 Carrier leak correcting circuit used at front end of emission and method thereof
CN103125076A (en) * 2010-09-28 2013-05-29 高通股份有限公司 Reducing non-linearities in a differential receiver path prior to a mixer using calibration
CN103580609A (en) * 2012-08-07 2014-02-12 晨星软件研发(深圳)有限公司 Device, system and method for correcting second-order inter-modulation distortion
US20140111252A1 (en) * 2012-10-24 2014-04-24 Qualcomm Incorporated Threshold tracking bias voltage for mixers
US20150071390A1 (en) * 2013-09-09 2015-03-12 Mstar Semiconductor, Inc. Mixer biasing for intermodulation distortion compensation
CN104426563A (en) * 2013-09-09 2015-03-18 晨星半导体股份有限公司 Mixer biasing for intermodulation distortion compensation
US8958512B1 (en) * 2013-10-18 2015-02-17 Altera Corporation System and method for receiver equalization adaptation
CN103731391A (en) * 2013-12-31 2014-04-16 天津朗波微电子有限公司 Method and circuit for calibrating quadrature mismatch of transmitter of RF transceiver
CN106664108A (en) * 2014-07-10 2017-05-10 瑞典爱立信有限公司 Cancelling intermodulation interference
US20160095055A1 (en) * 2014-09-26 2016-03-31 Apple Inc. DSP Assisted and On Demand RF and Analog Domain Processing for Low Power Wireless Transceivers
CN108432147A (en) * 2016-01-09 2018-08-21 华为技术有限公司 The receiver path distortion mitigation fed back using sef-adapting filter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
魏莹辉等: "超低压CMOS混频器比较设计及特性分析", 《电子器件》 *

Also Published As

Publication number Publication date
WO2020172877A1 (en) 2020-09-03
CN113439391B (en) 2022-11-22

Similar Documents

Publication Publication Date Title
KR102500150B1 (en) Method and apparatus for low-complexity frequency dependent iq imbalance compensation
US9762336B2 (en) Calibration method and calibration circuit
WO2014145350A1 (en) Quadrature error detection and correction
WO2019137253A1 (en) Receiver iq path imbalance compensation method, apparatus, and device
US20220345164A1 (en) Transmitter circuit, compensation value calibration device and method for calibrating IQ imbalance compensation values
CN110943748A (en) Automatic mismatch calibration circuit, radio frequency receiver system and method
US8831550B2 (en) Method of compensating signal imbalance of wireless communication system
US9806877B2 (en) Calibration method and calibration circuit
CN113439391B (en) Method and device for correcting intermodulation distortion signal of receiver
JP5128682B2 (en) Efficient carrier recovery technology for passband communication systems
US9923586B2 (en) Apparatus and method for estimating carrier frequency offset for multipath signals
US10516406B1 (en) Digital to analog converter linearization system
CN106992950A (en) Carrier wave frequency deviation estimation device and carrier wave frequency deviation estimation method
JP2009060174A (en) Radio device, radio circuit, and radio circuit control method
JP2010004347A (en) Multiantenna receiving circuit and multiantenna receiver and multiantenna receiving method
CN113411088A (en) I/Q imbalance calibration method and device for zero intermediate frequency wireless transmitter
CN111478705B (en) Gain control method, device and circuit based on receiver and receiver
US8970273B2 (en) Phase offset cancellation circuit and associated clock generator
US10897275B2 (en) Polar modulation systems and methods
US10666491B2 (en) Signal imbalance detection systems and methods
US10075311B2 (en) Clock correction method and circuit utilizing training sequence to correct oscillator output, and reference clock generation method and circuit utilizing training sequence to generate reference clock
US11764816B2 (en) Method and circuit for controlling channel mismatch compensation
US10594330B2 (en) Offset system and method for multi-bit digital-to-analog converters
WO2018163290A1 (en) Communication line quality estimation device, transmission device, and communication line quality estimation method
US20150326420A1 (en) Receiver for multi carrier modulated signals

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant