None
The invention relates to a method for correcting the gain and phase imbalance in quadrature paths of a receiver.
In radio communication systems, different types of modulation schemes are employed to minimize the frequency spectrum necessary for communication and thereby maximize the call capacity of the radio communication system. The modulation schemes utilized usually involve converting the communication signal into discrete form, and the resultant modulated signal is typically of a reduced frequency spectrum.
One method of transmitting a communication signal in discrete form is through the use of quadrature modulation. In quadrature modulation, the binary data stream of the encoded communication signal is separated into bit pairs. Such bit pairs are utilized to cause phase shifts of the RF carrier signal in increments such as plus or minus π/4 radians or plus or minus 3π/4 radians, according to the values of the individual bit pairs of the encoded signal.
The phase shifts are effectuated by applying the binary data stream comprised of the bit pairs to a pair of mixer circuits. A sine component of a carrier signal is applied to an input of a first mixer circuit, and a cosine component of a carrier signal is applied to an input of a second mixer circuit. The sine and cosine components of the carrier signal are in a relative phase relationship of ninety degrees with one another, or phase quadrature. A quadrature generator is utilized to generate and apply the sine and cosine components of the carrier signal to the first and second mixer circuits of the pair of mixer circuits, respectively. This produces what is reffered to as in-phase “I” and quadrature “Q” signals. These I and Q signals are then filtered and gain adjusted and finally sent to a Digital Signal Processing chip to extract the communicated data.
There are two major sources of I and Q signal errors in this type of receiver. First, I and Q gain and phase errors result from the down conversion to base band or intermediate frequency IF cause by the mixing circuits. Second, frequency dependent I and Q gain and phase error variations result within the pass band of the channel filters. These types of errors are due to gain and phase mismatches between the quadrature receiver paths after down conversion (e.g. between the I and Q low pass filters and between the I and Q gain control blocks). Therefore the IQ errors that need to be calibrated and corrected are; a) IQ gain errors (combined systematic and frequency dependent), b) systematic IQ phase errors, and c) frequency dependent IQ phase errors.
The prior art has used higher tolerance components in an attempt to avoid phase and/or amplitude imbalances between the I and Q components. Such an approach has significant cost impact and may still not adequately address the problem. Other prior art approaches attempt to account for imbalances by estimating and removing these errors.
One such approach is described in U.S. Pat. No. 5,396,656 issued on Mar. 7, 1995, to Jasper et al., for a Method For Determining Desired Components Of Quadrature Modulated Signals. This is shown in Prior Art
Thus, conventional I and Q correction circuits rely on providing additional components for the minimization of errors. Other corrective devices such as a separate PLL and VCO are too costly to provide additionally. Therefore a solution is required that takes into account all the above mentioned problems and limitations associated with quadrature imbalance correction circuits without requiring additional expensive circuitry.
The present invention generates a receiver calibration signal used to measure these errors common to IQ receivers. The present invention then corrects the errors determined in the calibration mode. Specifically, the gain errors of the I and Q signals are calibrated and corrected. The systematic phase errors of the I and Q branches are calibrated and corrected. Also the frequency dependent phase errors are calibrated and corrected.
In order to accomplish the above goals, the invention employs a digital signal processor to control the calibration and correction processes. One embodiment of the present invention includes an IQ circuit containing mixers, filters and gain controlling devices. This embodiment further includes multipliers and phase shifters that are used in conjunction with the DSP to determine the phase error between the I and Q components. The present invention further prodives several embodiments for each type of error calibration and correction. For example, the systematic phase errors may be corrected using a look-up table or they may be corrected iteratively by the digital signal processor. The frequency dependent phase errors may also be corrected using phase shifters or an all-pass network.
Therefore the present invention offers a low cost, reliable, on chip implementation that takes advantage of circuitry already present to detect and correct for all the different types of errors found in IQ quadrature receiver circuits.
In the received signal path, the LNA1 (11) is a standard low noise amplifier commonly used to amplify low power high frequency RF signals. The incoming radio signal into LNA1 comes from an antenna not shown. The received signal will be broken into quadrature components by using mixing circuits M1 (12) and M2 (13) and phase adjusting circuit P1 (29). The outputs of M1 and M2 will become the baseband signals. For example, if the incoming signal has a bandwidth of 20 MHz, each of the I and Q branches will be signals of 10 MHz bandwidth. As is conventional in quadrature circuits, capacitors C1 and C2 (14 and 15) are used to block any dc component of received signal and filters F1 and F2 (16 and 17) are used to further filter unwanted signals. Before any quadrature modulation is performed however, it is critical that the receiver be properly calibrated.
In order to produce a reliable calibration tone in the mixing signal path, the local oscillator L1 (23) is mixed with a low frequency tone produced by L2 (24). An example of these frequencies would be L1 set at 5 Gigahertz, while L2 is set at 5 Megahertz. The local oscillator L1 is also used with a Phase Locked Loop PLL (25) and a filter F3 (26). These two signals are multiplied by a mixing circuit M4 (28). The resulting multiplication of two sine waves of differing frequencies results in two signals being produced, wherein the resulting sine wave are at different frequencies. For example cos(A)×cos(B)=cos(A+B)+cos(A−B). Therefore the mixer M4 produces two signals for the calibration process. As mentioned previously, prior art methods do not employ circuitry nor signals of this type for the calibration signal generators. Standard prior art methods employ only one tone for calibration purposes whereas the instant invention uses two. In this example the frequencies are 5 GHz+5 MHz and 5 GHz−5 MHz. It is noted that this Double Side-Band Suppressed Carrier signal (DSBSC) may be coupled in the receiver's RF path at either the LNA input or the LNA output.
The two calibration tones will be fed into Mixers M1 and M2 for quadrature processing. Using two tones for calibration however, would pose a problem for prior art circuits. In this scenario the In-phase branch would be a clear signal but the Quadrature phase would be zero. In order to overcome this problem a Phase Shifter P2 is implemented. The phase shifter P2 adds an angle theta to the frequency of a calibration tone signal. For example, when P2 is set to zero, VI(t) is cos(wt) and VQ(t) is zero. When P2 is set to 90 degrees; the VI(t) signal is nonexistent while VQ(t) is cos(wt).
The calibration process using Phase Shifter P2 (27) would then be as follows. P2 is adjusted so as to obtain the maximum value of signal in the VI(t) branch. The adjustment of P2 is performed by the Digital Signal Processor (22). The maximum signal level is measured by digital signal processor 22 and stored. Then P2 is adjusted by 90 degrees until the signal in the Q branch is at a maximum level. The maximum level of the Q branch is also measured and stored in the digital signal processor 22. Once these maximum values of each branch are known, the digital signal processor 22 may perform a gain imbalance calibration. This gain imbalance correction may be performed by amplifiers G1 and G2 (18 and 19) or after analog to digital signal conversion (A/D) in the digital signal processor 22. It is noted that G1 and G2 may perform the gain adjustments for the receiver as a whole. It is also noted that G1 and G2 are controlled together as opposed to separately. The I and Q gains are therefore made equal to avoid any sideband production and distortion of the desired signal. The present invention also allows for gain imbalance calibration to be performed at any level of gain as set by G1 and G2.
With respect to the IQ phase error calibration, P2 would be set at a value such as 45 degrees. This ensures a signal in both the I and Q branches of almost equal value. By simply multiplying the two signals together one can detect the relative phase of the I and Q branches. The product of a sine and cosine signal should result in zero. Mixer circuit M3 (31) accomplishes the multiplication of the I and Q signals and outputs this signal to a filter F4 (30). If this is not the case, meaning that the I and Q branches are not exactly 90 degrees out of phase as desired, a phase error signal is produced. This signal is fed back through an amplifier to Phase Shifter P1 that will compensate for the error. Ideally the phase difference between the I and Q branches should be 90 degrees. Therefore, the adjustment of P2 with the appropriate gain control in addition with the adjustment of P1, allow for an optimum phase imbalance to be performed. It is noted that P1 may be in the RF path instead of being in the local oscillator path if desired.
In a second embodiment, the phase shifter P2 may be used in another manner than the one described above. In this embodiment, the phase shifter is constantly varying the angle of shift. For example, theta starts at zero and constantly increases. While the amount of phase shift varies, the in-phase and quadrature signals will vary in amplitude. At some values of theta both signals are present, while other values of theta result in only one of the two signals being present. As in the previous embodiment, the peak amplitudes of each of the in-phase and quadrature signals are measured by the digital signal processor 22. This allows another way to detect the maximum amplitudes needed for gain compensation.
In another preferred embodiment of the present invention, the systematic and frequency dependent IQ gain and phase errors in the receiver are calibrated using the circuit as shown in
The transceiver in
For the calibration process an RF tone is generated by the DSP 40 in the transmitter path at the center frequency of the receiver pass band. This is done by applying a DC signal from generator 44, to the base band I and Q modulation inputs of the transmitter. This RF tone is passed through a bandpass filter 51, a DSB-SC phase shifter 53, and then multiplied by a sine wave in multiplier 55 at a low frequency of F.sub.BB. This produces a DSB-SC (double side band, suppressed carrier) modulated signal. F.sub.BB is the base band frequency of interest at which the receiver's frequency dependent IQ error calibration is being done. For the frequency dependent IQ error, F.sub.BB ranges from 0 Hz to about 8.5 MHz in an IEEE802.11a WLAN transceiver. The DSB-SC phase shifter 53, sometimes referred to as an RF phase shifter, effectively changes the phase of the suppressed carrier of the DSB-SC modulated signal. A variable gain control amplifier configuration 54 ensures that the DSB-SC phase shifter 53 does not change the signal levels.
The DSB-SC calibration signal generated by the DSP is then coupled into the receiver path before the down conversion by coupling switch 57. After down conversion to base band frequencies and low-pass filtering, the receiver I and Q output signals are at a frequency of FBB. This is because the local oscillator frequency for the transmitter and the receiver are kept equal.
The transmitter RF tone is Sin(ωRF.t) and it is mixed with a base band modulation tone Sin(ωBB.t). After multiplication in mixer (55), the DSB-SC modulated signal is Sin(ωRF.t)Sin(ωBB.t). After this, the DSB-SC signal is injected into the receiver RF path by switch 57, down converted to I and Q base band frequencies, low-pass filtered, and then it appears at the receiver output with all the above mentioned IQ errors. Equations 1 and 2 describe the I and Q branch signals found in the circuit of
I(t)=A.(1+ΔG/2).Sin(ωBB.t+ΔφBB/2).Cos(θRF) [Eqn. 1]
Q(t)=A.(1−ΔG/2).Sin(ωBB.t−ΔφBB/2).Sin(θRF−ΔφRF) [Eqn. 2]
Where
A=constant
ΔG=IQ gain imbalance in the receiver at FBB (includes both systematic and frequency dependent)
ΔφBB=frequency dependent base band IQ phase error in the receiver, at frequency FBB
θRF=total (adjustable) RF phase shift in the calibration tone path prior to injection into receiver
ΔφRF=systematic IQ phase error in the receiver
ωBB=2πFBB
If the receiver base band IQ output is DC-coupled to the A/D of the DSP chip 40, the DC offset errors also have to be removed. This DC error can be estimated by averaging the I and Q signals over a period that is an exact multiple of 1/FBB. When AC coupling is employed during calibration, the lower −3 dB frequency is kept at least 10 times smaller than FBB in order to ensure that any asymmetry in the frequency roll-off between the I and Q paths doesn't impact the IQ gain error. Therefore, in order to enact other subsequently described embodiments of the present invention, a DC error must be removed before proceeding with the IQ Gain Error Calibration.
The DSP 40 will use equations 1 and 2 as listed above, in order to implement it's error correction process. For IQ gain imbalance calibration, the DSP 40 adjusts the DSB-SC phase shifter 53 so that the I-branch has maximum signal. In this case Cos(θRF)=1 i.e. θRF=0. After accurately measuring the rms signal level in the I-branch, the DSB-SC phase shifter 53 is stepped by 90 degrees and finely adjusted to get the maximum level in the Q-branch. In this case Sin(θRF−ΔφRF)=1 i.e. θRF=π/2+ΔφRF. The Q-branch signal is then measured by the DSP 40. The relative IQ gain imbalance at FBB is the ratio of these two rms signal levels.
The systematic IQ gain imbalance may be measured by the DSP 40 by keeping the frequency FBB at a very small value. In some cases, the average gain imbalance over the pass band (e.g. over 0 to 8 MHz for IEEE802.11a) may also be considered. The IQ gain imbalance is corrected in the DSP chip in real time after the A/D conversion. This is accomplished by relatively scaling the I and Q gain in time domain (independent of pass band frequency). After this correction, the ΔG term in equations 1 and 2 becomes negligible.
The IQ gain error calibration needs to be done over the gain range of the receiver if the error varies significantly with gain. In order not to overload the receiver, the level of the DSB-SC tone injected into the receiver must decrease with increasing gain of the base band gain control. Therefore a programmable attenuator (75) is required in the path of the DSB-SC signal. This can be done at the RF frequencies, but better still at the base band, i.e. the amplitude of the base band modulation signal Cos(ωBB.t) or Sin(ωBB.t) can be attenuated. However, when this amplitude gets small, the direct leakage of the unmodulated RF tone through the mixer can get significant and even become larger than the DSB-SC signal. Fortunately, with AC coupling in the receiver (capacitors 68 and 69), this unmodulated tone that gets down converted to 0 Hz, gets removed. This ensures that the receiver base band paths are not overloaded or saturated.
Therefore once the gain is calibrated and corrected by the DSP 40, a systematic IQ phase error calibration may be performed in another embodiment of the present invention.
Using the following technique, the IQ systematic phase error calibration is not influenced by the choice of FBB in the pass band i.e. FBB does not have to be close to 0 Hz. A suitable FBB is chosen by the DSP 40 (say at half the maximum pass band frequency of the low-pass filters 66 and 67), and the IQ gain calibration is first done at that frequency using the previously defined method.
The IQ gain calibrated signals are:
I(t)=Sin(ωBB.t+ΔφBB/2).Cos(θRF)
Q(t)=Sin(ωBB.t−ΔφBB/2).Sin(θRF−ΔφRF)
The first step would be to vary θRF (with the DSB-SC phase shifter 53) over a range greater than π/2 and record the maximum I and Q rms levels over this range of θRF.
Imax(t)=A.Sin(ωBB.t+ΔφBB/2) at θRF=0
Qmax(t)=A.Sin(ωBB.t−ΔφBB/2) at θRF=π/2+ΔφRF
They should be equal after the gain calibration, i.e. Imax(rms)=Qmax(rms)=A/√2
The next step is to adjust the DSB-SC phase shifter 53 so that I and Q rms signal levels are exactly equal at the same time and measure their corresponding rms levels:
Irms=Qrms i.e.
Cos(θRF)=Sin(θRF−ΔφRF)=AΔωRF [Eqn. 3]
The DSP would then normalize Irms and Qrms it to the max rms levels Imax(rms) and Qmax(rms) i.e. to A/√2.
Irms/Irms(rms)=Cos(θRF)=AΔφRF
Qrms/Qmax(rms)=Sin(θRF−ΔφRF)=AΔφRF
The final step would be the DSP using the normalized level AΔφRF to find the corresponding IQ phase error ΔφRF in a look-up table. The look-up table basically lists the solution of equation 3 and would be stored in an internal memory in the DSP 40.
Another different approach and embodiment is described to accomplish the systematic phase error correction.
For this correction, the receiver 41 should allow the systematic phase error ΔφRF to be adjusted to zero (IQ relative phase adjustment in either RF path or in local oscillator path). When the systematic phase error is removed, ΔφRF=0, and from equation 3
Cos(θRF)=Sin(θRF−ΔφRF)=AΔφRF=1/√2 exactly.
Both ΔφRF and θRF are adjusted iteratively by the DSP to get the optimum result of AΔφRF=1/√2 exactly from Equation 3.
Therefore, for a starting setting of ΔφRF first adjust the DSB-SC phase shifter 53 θRF of the calibration tone to make I and Q rms levels equal and check Equation 3 if AΔφRF=1/√2 exactly. If AΔφRF=/=1/√2, change the value of ΔφRF by small increments and adjust the DSB-SC phase shift θRF again to make I and Q rms levels equal. Finally, check Equation 3 to see if AΔφRF=1/√2 exactly. If not, repeat the process until AΔφRF=1/√2 exactly.
Using this method, the systematic IQ phase error can be calibrated by the DSP 40 independently of the frequency dependent IQ phase error.
As described in the Background of Invention section, frequency dependent IQ phase errors must also be calibrated and corrected. In another embodiment realized by the present invention, the frequency dependent IQ phase erors may be calibrated in the following manner.
The IQ phase errors due to filter errors in the base band paths (66 and 67) are computed at a frequency FBB. For a base band calibration tone of Sin(ωBB.t) in the transmitter, the corresponding receiver signals are
Isin(t)=A.(1+ΔG/2).Sin(ωBB.t+ΔφBB/2).Cos(θRF)
Qsin(t)=A.(1−ΔG/2).Sin(ωBB.t−ΔφBB/2).Sin(θRF−ΔφRF)
Where
A=constant
ΔG=IQ gain imbalance in the receiver
ΔφBB=frequency dependent base band IQ phase error in the receiver, at ωBB
θRF=total (adjustable) RF phase shift in the calibration tone path
ΔφRF=systematic IQ phase error in the receiver
For a base band calibration tone of Cos(ωBB.t) in the transmitter, the corresponding receiver signals are
Icos(t)=A.(1+ΔG/2).Cos(ωBB.t+ΔφBB/2).Cos(θRF)
Qcos(t)=A.(1−ΔG/2).Cos(ωBB.t−ΔφBB/2).Sin(θRF−ΔφRF)
The calibration procedure would begin with the DSP 40 adjusting θRF to approximately π/4 so that
Cos(θRF)≅Sin(θRF−ΔφRF)≅1/√2 (i.e. I and Q signals are approximately of equal magnitude).
Once this is done, a signal, Sin(ωBB.t) is sent as the base band calibration tone in the transmitter. The DSP then captures the corresponding IQ signals as Isin(t) and Qsin(t). Then the DSP sends Cos(ωBB.t) as the base band calibration tone in the transmitter, and captures the corresponding receiver I and Q signals as Icos(t) and Qcos(t) respectively, while keeping θRF constant (at approximately π/4). The time “t” is measured in different reference frame for the two cases, and t=0 i.e. start of the capture is taken after many cycles of the transmitter base band tone Sin(ωBB.t) or Cos(ωBB.t) so that any transient disturbance in the low-pass filters in both transmitter and receiver have significantly decayed. From the captured signals, the DSP computes Isin(t). Qsin(t)−Icos(t).Qsin(t), preferably over multiple cycles of ωBB in order to average out any noise. Equation 4 below represents this error.
The DSP 40 then adjusts ΔφBB in the receiver and minimizes the value of |Isin(t).Qcos(t)−Icos(t).Qsin(t)| that is computed from the captured data.
Therefore once the frequency dependent errors are calibrated, they may be corrected. Usually the frequency dependent IQ phase error varies linearly with frequency, starting at 0 degrees at 0 Hz, and possibly reaching a few degrees at the band edge. This is largely due to mismatches between the cutoff frequencies of the I and Q low-pass filters. The frequency dependent IQ phase error is corrected by cascading adjustable all-pass networks 72 and 74 in the I and Q base band signal paths. These all pass networks will be under the control of the DSP 40.
One such example of an all-pass network is shown in
The relative phase mismatch response between two such networks is shown in
The advantage of using all-pass networks is that they do not introduce any frequency dependent IQ gain imbalances that other networks like low-pass filters etc suffer from. Therefore any phase error produced in the RF path may be compensated for by the frequency adjustments of the all-pass networks 72 and 74, by the DSP 40.
The present invention therefore both determines and corrects automatically the systematic gain and phase errors, and the frequency dependent phase errors common to IQ quadrature transceivers. As the present invention may be embodied in several forms without departing from the spirit or essential characteristics thereof, it should also be understood that the above-described embodiments are not limited by any of the details of the foregoing description, unless otherwise specified, but rather should be construed broadly within its spirit and scope as defined in the appended claims, and therefore all changes and modifications that fall within the metes and bounds of the claims, or equivalence of such metes and bounds are therefore intended to be embraced by the appended claims.
This application is a continuation in part of currently pending U.S. application Ser. No. 09/927,762 filed Aug. 10, 2001, which is herein incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
3937882 | Bingham | Feb 1976 | A |
4122448 | Martin | Oct 1978 | A |
5396656 | Jasper et al. | Mar 1995 | A |
5949821 | Emami et al. | Sep 1999 | A |
6009317 | Wynn | Dec 1999 | A |
6330290 | Glas | Dec 2001 | B1 |
6618096 | Stapleton | Sep 2003 | B1 |
6744829 | Mohindra | Jun 2004 | B1 |
6940916 | Warner et al. | Sep 2005 | B1 |
20030165203 | Mohindra | Sep 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20030053563 A1 | Mar 2003 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09927762 | Aug 2001 | US |
Child | 10285151 | US |