In-phase and quadrature-phase rebalancer

Abstract
A first variable gain function is in series with an unbalanced in-phase component, and a circuit loop produces a first error signal which varies the first gain function such that its output is a signal which continuously converges toward a balanced in-phase component. A second variable gain function receives as input the unbalanced in-phase component, and a summing function in series with the unbalanced quadrature component algebraically adds the unbalanced quadrature component and the output of the second gain function. A second circuit loop produces a second error signal which varies the second gain function such that the output of the summing function is a signal which continuously converges toward a balanced quadrature component. Preferably the first error signal is produced by respectively squaring the outputs of the first gain function and the summing function, finding the difference of the squares, multiplying the difference of the squares by a selected convergence parameter, and continuously integrating the multiplied difference. Preferably the second error signal is produced by multiplying the outputs of the first gain function and the summing function, multiplying the product of the first gain function and the summing function by a selected convergence parameter, and continuously integrating the output of the multiplier. Also preferably the error signal loops are each normalized. Optionally, an initial set of convergence parameters can be applied to speed-up the start of convergence, and a second set of smaller values can be applied some time later for more precise convergence.
Description


[0001] This invention relates in general to radio receivers with a zero Hertz final IF (intermediate frequency), e.g. direct downconversion (“zero IF”) receivers, and in particular to a method and apparatus, in such a receiver, for rebalancing in the digital domain the I and Q (in-phase and quadrature-phase respectively) components of an incoming signal.


BACKGROUND

[0002]
FIG. 1 shows a direct downconversion receiver in which the I and Q components, 2 and 4, of an incoming signal 6 are conventionally detected by mixing an IF signal 8 with respective sinusoidal references, the I channel being mixed with a reference FRF and the Q channel being mixed with FRF phased shifted minus ninety degrees (−90°), the output of each mixer being lowpass filtered and amplified by an automatic gain control circuit AGC and then digitized. The problems addressed by this invention occur because conventional −90° phase shifters are not precisely balanced causing phase imbalance, and the AGC amplifiers are not perfectly matched causing a gain imbalance.


[0003]
FIGS. 2 and 3 show uncoded BER (bit error rate) performance for various levels of phase, gain, and combined gain and phase imbalance for a 64 QAM-OFDM signal per IEEE 802.11A. There is an implied implementation loss of about 1 dB and the curves reflect the performance in an additive white Gaussian noise channel (AWGN). No digital compensation algorithm is used for these curves. FIG. 2 shows the effect on the BER performance with a phase imbalance. There is no assumed gain imbalance between the I and Q channels for this plot. At an uncoded BER of 10−4 the losses for the following phase imbalance loss can be noted:


[0004] For 1 degree of imbalance there is an additional loss of 0.15 dB.


[0005] For 2 degrees of imbalance there is an additional loss of 0.5 dB.


[0006] For 3 degrees of imbalance there is an additional loss of 1.0 dB.


[0007] Clearly the loss values will be higher when including a gain imbalance and a phase imbalance effect. FIG. 3 shows the effect of a gain imbalance on BER performance. There is no assumed phase imbalance between the I and Q channels for this plot. At an uncoded BER of 1 E−4 the losses for the following gain imbalance losses can be noted:


[0008] For 0.2 dB (about 2.3%) of imbalance, there is an additional loss of 0.05 dB.


[0009] For 0.4 dB (about 4.7%) of imbalance there is an additional loss of 0.25 dB.


[0010] For 0.5 dB (about 5.9%) of imbalance there is an additional loss of 0.5 dB.


[0011] For 0.7 dB (about 8.4%) of imbalance there is an additional loss of 1.0 dB.


[0012] The above-described imbalances occur in a system that has a zero IF final frequency with analog I and Q channels. As a rule of thumb, keeping the gain imbalance below 0.4 dB and phase imbalance below 3 degrees will result in a maximum performance loss of approximately 1 dB for an IEEE 802.11A system with 64 QAM-ODFM.


[0013] This invention provides compensation techniques to mitigate the effects of I/Q imbalance for zero IF receivers, i.e., a means and method for rebalancing the I and Q (in-phase and quadrature-phase, respectively) components of an incoming signal. This invention provides a fully digital, nonlinear adaptive rebalancer which requires no tone insertion, and is independent of the modulation employed by the system, and the adaptive performance of which is excellent even at low SNR (signal-to-noise ratio). This rebalancer will operate on a wide class of signals using a novel blind approach, i.e., without any a priori knowledge of the characteristics of an incoming signal, and does not require calibration using a known test tone.


[0014] Other advantages and attributes of this invention will be seen from a reading of the text hereinafter.



SUMMARY OF THE INVENTION

[0015] It is an object of this invention to provide compensation techniques to mitigate the effects of I/Q imbalance for zero IF receivers, i.e., a means and method for rebalancing the I and Q (in-phase and quadrature-phase, respectively) components of an incoming signal.


[0016] It is a further object of this invention to provide such compensation which requires no tone insertion, and is independent of the modulation employed by the system, and the adaptive performance of which is excellent even at low SNR.


[0017] It is a further object of this invention to provide an I and Q rebalancer which will operate on a wide class of signals using a novel blind approach, i.e., without any a priori knowledge of the characteristics of an incoming signal, and does not require calibration using a known test tone.


[0018] It is a further object of this invention to provide for zero IF receivers a continuously adaptive device for rebalancing quantized in-phase and quadrature phase components of a received signal.


[0019] These and other objects, expressed or implied hereinafter, are accomplished by a continuously adaptive device for rebalancing quantized in-phase and quadrature phase components of a received signal which includes: (1) a first variable gain function in series with the unbalanced in-phase component; (2) a circuit for varying the first gain function such that its output is a signal which continuously converges toward a balanced in-phase component; (3) a second variable gain function which receives as input the unbalanced in-phase component; (4) a summing function in series with the unbalanced quadrature component which algebraically adds the unbalanced quadrature component and the output of the second gain function; and (5) a second circuit for varying the gain of the second gain function such that the output of the summing function is a signal which continuously converges toward a balanced quadrature component. Preferably the first gain function varies according to a first error signal, and the first error signal is produced by respectively squaring the outputs of the first gain function and the summing function, finding the difference of the squares, multiplying the difference of the squares by a selected convergence parameter, and continuously integrating the multiplied difference to produce the first error signal. Preferably the second gain function varies according to a second error signal, and the second error signal is produced by multiplying the outputs of the first gain function and the summing function, multiplying the product of the first gain function and the summing function by a selected convergence parameter, and continuously integrating the output of the multiplier to produce the second error signal. Also preferably the difference of the squares, and the product of the outputs of the first gain function and the summing function are each normalized. Optionally two sets of convergence parameters can be used: an initial set to speed-up the start of convergence, and a second set some time later for more precise convergence.







DESCRIPTION OF THE DRAWINGS

[0020]
FIG. 1 is a functional diagram of a first prior art receiver.


[0021]
FIG. 2 is a chart of typical phase imbalances correctable by this invention.


[0022]
FIG. 3 is a chart of typical gain imbalances correctable by this invention.


[0023]
FIG. 4 is a functional diagram of a second prior art receiver using a conventional “test tone” technique for compensating for imbalance.


[0024]
FIG. 5 is a functional diagram of a receiver incorporating this invention.


[0025]
FIGS. 6 and 7 illustrate convergence properties of an apparatus according to this invention.


[0026]
FIGS. 8 through 10 illustrate the steady state jitter statistics of an apparatus according to this invention.







DESCRIPTION OF THE PREFERRED EMBODIMENT

[0027] A model for the effect of gain and phase imbalance can be the following matrix equation:
1[IIMBQIMB]=[1+α0sinφcosφ][IQ](1)


[0028] Where the gain and phase imbalance values are given by α and Φ respectively. In this treatment the gain imbalance is assumed to be present on the I channel and the phase imbalance is assumed to be present on the Q channel. The inverse of (1) is given by:
2[ICorrQCorr]=1cosφ[cosφ1+α0-sinφ1+α1][IIMBQIMB](2)


[0029] Where the Corr subscript denotes the (digitally) corrected I and Q channels. FIG. 1 illustrates a basic structure of a receiver including the I/Q rebalancing circuit. From this it can be seen that only two real parameters are needed
3C0=cosφ1+α


[0030] and
4C1=-sinφ1+α


[0031] in the digital domain to rebalance the signal.


[0032] A prior art approach, explained below, uses a test tone to perform the I/Q rebalancing, whereas this invention uses a new technique that involves adaptive filtering.


[0033] Referring to FIG. 4 a prior art receiver with digital I/Q rebalancing is illustrated. This technique uses a calibration tone, and is based on estimating the constants α and Φ based on observations made from a single tone which is generated in the receiver chain specifically for this purpose. The tone must be generated with a frequency equal to ¼ of the sampling rate of the system when referenced to baseband. Thus for a pair of I and Q analog-to-digital (“A/D”) converters, 10 and 12, operating at a 20 MHz sampling rate, a reference tone should be placed at 5 MHz at the point in the receiver chain prior to the analog I/Q split operation. For a single-stage direct to DC receiver, the tone must be injected at a 5 MHz offset relative to the channel center frequency such that after mixing to baseband and filtering, a pure tone will appear at
5+FSamp4.


[0034] The tone should be at this frequency to simplify computation of the gain and phase imbalance.


[0035] A testing tone at
6+FSamp4


[0036] will, upon sampling the signal at the I and Q channel A/D converters, be equal to:
7s(k)=(1+α)cos(π2k+ψ)+a+j[sin(π2k+ψ+φ)+b](3)


[0037] Where: ψ is an arbitrary signal phase, and


[0038] a+jb is the DC offset.


[0039] Over one cycle of the test tone as referenced to baseband, the following samples (4 per period) will be output from the A/Ds where the signal is abbreviated in complex notation to be equal to s(t)=I(t)30 jQ(t). Arbitrarily setting the nominal amplitude of the signal to unity, after four sampling periods there are the following:




s
(0)=(1+α) cos ψ+a+j[ sin (ψ+Φ)+b]





s
(1)=−(1+α) sin ψ+a+j[ cos (ψ+Φ)+b]





s
(2)=−(1+α) cos ψ+a+j[−sin (ψ+Φ)+b]





s
(3)=(1+α) sin ψ+a+j[−cos (ψ+Φ)+b]  (4)



[0040] Where: a+jb represents a possible DC offset in the receiver. Information that can be used to extract the DC offset, cancel the arbitrary signal received phase ψ, the gain imbalance α, and the phase imbalance Φ involves extraction of parameters related to the amplitude and phase of the fundamental signal and image of the test tone. Thus the FFT block in the receiver can be used to estimate and then correct the imbalances. If the input is a +5 MHz tone and the receiver has a 64 point FFT which has an input sample rate of 20 MHz, there will be seen a significant output of the fundamental at the FFT bin corresponding to 5 MHz which will be bin 16. Due to leakage of the non-orthogonal portion of the complex signal there will be energy in the bin corresponding to −5 MHz or bin 48 because in a sense a small real signal has been created which must have a symmetric spectrum about zero. After one FFT period (3.2 microseconds) the output of the fundamental in bin 16 can be computed as follows:




FFT
(16)=2K[(1+α)+cos Φ+j sin Φ]exp(jψ)





FFT
(48)=2K[(1+α)−cos Φ+j sin Φ]exp(−jψ)  (5)



[0041] which can be determined by evaluating:
8FFT(16)=s(0)+s(1)exp(-jπ2)+s(2)exp(-)+s(3)exp(+jπ2)FFT(48)=s(0)+s(1)exp(+jπ2)+s(2)exp(-)+s(3)exp(-jπ2)Simplifyingyields:(6)


[0042] Simplifying yields:




FFT
(16)=s(0)−s(2)−js(1)+js(3)





FFT
(48)=s(0)−s(2)+js(1)−js(3)  (6)



[0043] Where the s( ) values are from (4). The fact that 16 complete periods of the test tone are observed simply scales the results above by a constant but yields the same result if one period were observed (4 input samples) and a 4-point DFT was taken. The simple factors of j that multiply some of the terms result from the oversampling by 4. Taking the following simple function of the FFT outputs:




FFT
*(16)+FFT(48)=4K(1+α)exp(−jψ)  (7)



[0044] the ratio
9R=2·FFT(48)FFT*(16)+FFT(48)canbeformedtoobtain:R=1-cosφ(1+α)+jsinφ(1+α)=1-C0+jC1(8)


[0045] and finally:


1−Re(R)=C0


and


Im(R)=C1.  (9)


[0046] Thus once R has been constructed, C0 and C1 are deduced from the real and imaginary parts to apply to the rebalancing circuit of FIG. 4. The major disadvantage of this system is that a tone generation circuit (and switch) must be included in the receiver design, and the correction must be made while not taking data.


[0047] In contrast, this invention provides a fully adaptive approach that requires no additional circuitry in the radio and is based on a novel set of nonlinear error metrics that provide extremely robust and accurate adaptive filtering to cancel the phase and gain imbalance in the receiver. This invention is blind in the sense that no carrier phase recovery is required. In fact, no a priori knowledge of the incoming signal is necessary for rebalancing, e.g. noise is an acceptable signal for rebalancing.


[0048] Heretofore blind equalization techniques have been based on the Godard version of a constant modulus algorithm which can be found in such texts as Haykin, Simon, Adaptive Filter Theory, 3rd Ed., Upper Saddle River N.J., Prentice Hall 1996 (see pages 791-795). The constant modulus algorithm uses a cost function that is related to the deviation of a signal from a constant modulus Rp with a function type
10J=&LeftBracketingBar;I&RightBracketingBar;2+&LeftBracketingBar;Q&RightBracketingBar;2-Rp2


[0049] that is then used in a gradient equalization algorithm. However in this invention the Godard cost function approach is not used, but rather a new set of metrics are used in the rebalancing equalizer which are based on very simple functions of the unbalanced data. The new error metrics are:


εα=<ICorr2−QCorr2>


εΦ=<ICorr·QCorr>  (10)


[0050] Where the angled brackets denote the time average of the quantities contained within. The metric εα is zero when the gain imbalance is zero (assuming the absence of a phase imbalance, Φ=0). The value of εα in the presence of a gain imbalance is related to the amount of imbalance on the I channel relative to the Q channel out of the rebalancer circuit. In the absence of a phase imbalance it is obvious that εα is a measure of the power mismatch (1+α)2 between the I and Q channels. The stationery point for εα when the error term is near zero can be determined as follows:
11εα=(1-tan2φ)IIMB2(1+α)2+2IIMBQIMBtanφ(1+α)cosφ-QIMB2cos2φ(11)


[0051] A common denominator is found and the numerator is set to zero:
12εα=0=(1-tan2φ)cos2φIIMB2+2IIMBQIMBsinφ(1+α)-QIMB2(1+α)2cos2φ(1+α)2(12)


[0052] Thus setting the numerator to zero, letting a=(1+α) which is equal to the correction factor for perfect gain balance with Φ=0, and solving the quadratic equation in a:
13a=-2IIMBQIMBsinφ±4(IIMBQIMB)2sin2φ+4IIMB2QIMB2(1-2sin2φ)-2QIMB2(13)14a=-2IIMBQIMBsinφ±4(sin2φ)(IIMBQIMB2-2IIMB2QIMB2)+4IIMB2QIMB2-2QIMB2(14)


[0053] Note that in the case of very small X the first term and the first term under the radical can almost be neglected to show that
15aIIMB2QIMB2


[0054] which is precisely the factor by which to multiply the Q branch to account for the gain mismatch between I and Q. Determining a iteratively will generate an error that is equal to the gain imbalance. In the presence of a phase imbalance, εΦ is an average cross correlation of the I and Q channels after the rebalancer. In the presence of a phase imbalance only, it can be assumed that the correction coefficients are nominal and take the expected value E(·):




E
(IIMB·QIMB)=sin Φ·E(I2)+cos Φ·E(IQcos Φ)  (15)



[0055] For random data on I and Q, the second expectation will vanish when averaged sufficiently for a wide class of signals, thus producing a metric that is minimum about the point Φ=0 with a zero crossing located at that point. The stationary point for co when the error term is zero can be determined as follows:
16εφ=0=-tanφIIMB2(1+α)2+IIMBQIMB(1+α)cosφ(16)


[0056] Solving for phase imbalance Φ:
17φ=sin-1(IIMBQIMB(1+α)IIMB2)(17)


[0057] This shows that when the phase imbalance is zero, the time average <IIMBQIMB> must be zero. This proves that the signal projection on the I axis must be orthogonal to the signal on the Q axis such that no component projects to the other axis.


[0058] Referring to FIG. 5, a preferred embodiment of this invention is illustrated. The I and Q components of an incoming signal are each digitized by respective A/D converters, 10 and 12. The digitized I component is then amplified, i.e., multiplied by a circuit 14 having a variable coefficient C0, the coefficient being a function of a gain imbalance loop described below, the output of circuit 14 being a rebalanced I. The digitized I component is also multiplied by a circuit 16 having a variable coefficient C1, the coefficient being a function of a phase imbalance loop described below. The output of circuit 16 is added to the digitized Q component by adder 18, the sum being a rebalanced Q. The gain imbalance loop begins with two multipliers, 20 and 22, the first squaring the output of circuit 14 and the second squaring the output of the adder 18. The output of multiplier 22 is subtracted from the output of multiplier 20 by a summing function 24 the output 25 of which is proportional to error metric εα. The output 25 is normalized (by a normalization function 26) and subsequently multiplied by a convergence factor μα (by multiplier 28). The output of 28 is then digitally integrated by a register 30 and a summing function 32 configured as a digital accumulator, the output of the accumulator being at any given time the coefficient C0. The phase imbalance loop begins with a multiplier 34 which multiplies the output of circuit 14 with the output of the adder 18. The output 35 of the multiplier 34, which is proportional to the error metric εΦ, is then normalized (by a normalization function 36) and subsequently multiplied by a convergence factor μΦ (by multiplier 38). The output of 38 is then digitally integrated by a register 40 and a summing function 42 configured as a digital accumulator, the output of the accumulator being at any given time the coefficient C1.


[0059] Referring again to FIG. 5, the two “Normalize” functions, 26 and 36, are preferable but not necessary in all cases. They account for signal level fluctuations into the receiver. These functions have the effect of ensuring constant adaptation behavior regardless of input signal level. For a given system these blocks may be set to a constant less than unity.


[0060] Determining the phase imbalance Φ iteratively will generate an error that is proportional to, and in the direction of, Φ in order to eventually decorrelate the signals on I and Q. The effect of the parameter α merely changes the error magnitude and since practical values for α are small (|α|≦0.1) the convergence of the parameter C1 to its optimal value is largely independent of the value of the gain imbalance α. Thus the convergences of C0 and C1 to their optimal values are largely independent of each other and the initial values of α and Φ. The process, illustrated in FIG. 5, is made iterative by integrating the error metrics εα and εΦ (normalized digital signals 25 and 35 respectively) and applying the convergence parameters μα and μΦ prior to integration (at 28 and 38), e.g. as in a Least Mean Square (LMS) type process. Conventional implementation of an LMS based tracking loop uses a single convergence value for all the parameters, but note that in FIG. 5 the two convergence parameters, μα and μΦ, are illustrated to independently control the convergence of the filter coefficients C0 and C1:




C


0
(k)=C0(k−1)−μα(I2−Q2)·β





C


1
(k)=C1(k−1)−μΦ(I·Q)·β



[0061] where k is a function of time and β=a normalization constant.


[0062] The convergence parameters must be selected small enough to satisfy two requirements: first, μα and μΦ must be small enough to allow the digital accumulator to sufficiently time-average the error metrics εα and εΦ, and second, to ensure acceptable steady-state performance of the rebalancer. Preferably, μα and μΦ are determined experimentally via simulation to ensure proper selection of the convergence parameters under the conditions of interest. In order to speed up the convergence of the rebalancer, one set of convergence parameters can be applied initially (μα(init) and μΦ(init)) and then a smaller set of convergence parameters applied some time later (μα(final) and μΦ(final)).


[0063] Referring to FIGS. 6 and 7, illustrated are the convergence properties of this inventive process at various SNRs for a IEEE 802.11A compliant multicarrier system. FIG. 6 shows convergence of the coefficients C0 and C1 respectively where the signal is normalized by its average power (a constant=RMS signal power) and εα=−0.1, εΦ=0.25 (a −10% gain imbalance and a 14° phase imbalance). In this embodiment the convergence parameter μα(init) was preferably set equal to {fraction (1/256)} and μΦ(init) was preferably set equal to {fraction (1/128)}. After 52 samples the convergence parameters were reduced by a factor of 32, thus μα(final)=1.22×10−4 and μΦ(final)=2.44×10−4 and the Es/No=23 dB, a nominal point for QAM−64 OFDM. It should be noted that convergence was accomplished in approximately 20,000 samples for C0 and C1. This shows that from a cold start, assuming a 20 MHz A/D sampling rate, the rebalancer of this invention can be fully adapted in 0.001 seconds. FIG. 7 shows the characteristics for a lower SNR (7 dB). There is not much difference in the convergence characteristic for the two coefficients C0 and C1 for low versus high SNR. The rebalancer can also track variations in the imbalance easily.


[0064]
FIGS. 8 and 9 show the steady state jitter statistics of C0 and C1, respectively. It should be noted that at Es/No =7 db the RMS jitter is approximately 1% for both coefficients. This jitter will cause no observable degradation in BER performance. It should also be noted that there is a slight bias in the coefficient C0 (about ¼%) which has no measurable impact on performance and decreases with SNR. This bias approaches zero as the signal power increases as can be seen in FIG. 10.


[0065] The foregoing description and drawings were given for illustrative purposes only, it being understood that the invention is not limited to the embodiments disclosed, but is intended to embrace any and all alternatives, equivalents, modifications and rearrangements of elements falling within the scope of the invention as defined by the following claims.


Claims
  • 1. A continuously adaptive device for rebalancing quantized in-phase and quadrature phase components of a received signal comprising: (a) a first variable gain function in series with the unbalanced in-phase component; (b) means for varying the first gain function such that its output is a signal which continuously converges toward a balanced in-phase component; (c) a second variable gain function which receives as input the unbalanced in-phase component; (d) a summing function in series with the unbalanced quadrature component which algebraically adds the unbalanced quadrature component and the output of the second gain function; and (e) means for varying the gain of the second gain function such that the output of the summing function is a signal which continuously converges toward a balanced quadrature component.
  • 2. The device according to claim 1 wherein: (a) the first gain function varies according to a first error signal, the first error signal being produced by a loop comprising: (1) means for respectively squaring the outputs of the first gain function and the summing function, (2) means for finding the difference of the squares, (3) means for multiplying the difference of the squares by a selected convergence parameter, and (4) means for continuously integrating the multiplied difference; and (b) the second gain function varies according to a second error signal, the second error signal being produced by a loop comprising: (1) means for multiplying the outputs of the first gain function and the summing function, (2) a multiplier for multiplying the product of the first gain function and the summing function by a selected convergence parameter, and (3) means for continuously integrating the output of the multiplier.
  • 3. The device according to claim 2 wherein the difference of the squares, and the product of the outputs of the first gain function and the summing function are each normalized.
  • 4. The device according to claim 2 wherein the two convergence parameters have different values.
  • 5. The device according to claim 2 further comprising a first set of selected convergence parameters which are applied initially to speed-up convergence, and a second set of convergence parameters which are applied some time later for more precise convergence.
  • 6. A method of adaptively rebalancing quantized in-phase and quadrature phase components of a received signal comprising the steps: (a) multiplying the unbalanced in-phase component with a first variable coefficient to produce a first product; (b) varying the first coefficient such that the first product is a signal which continuously converges toward a balanced in-phase component; (c) multiplying the unbalanced in-phase component with a second variable coefficient to produce a second product; (d) summing the unbalanced quadrature component and the second product to produce a first sum; and (e) varying the second coefficient such that the first sum is a signal which continuously converges toward a balanced quadrature component.
  • 7. The method according to claim 6 wherein: (a) the step of varying the first coefficient comprises the steps: (1) respectively squaring the first product and the first sum; (2) finding the difference of the two squares; (3) multiplying the difference of the two squares by a selected convergence parameter, and (4) continuously integrating of the multiplied difference; and (b) the step of varying the second coefficient comprises the steps: (1) multiplying the first product and the first sum to produce a second product, (2) multiplying the second product by a selected convergence parameter, and (3) continuously integrating of the multiplied second product.
  • 8. The method according to claim 7 further comprising the steps: (a) applying a first set of selected convergence parameters initially to speed-up convergence, and (b) applying a second set of convergence parameters some time later for more precise convergence.