The proliferation of wireless communication systems has led to a demand for low cost and high efficiency radio implementations. Tolerances in the components of the radio transmit and receive chains (including, for example, mixers, low pass filters (LPF) and analog to digital converters) introduce an imbalance or mismatch between the in-phase (I) and the quadrature phase (Q) components of the communication signal. In particular, the magnitudes of the I and Q signals are not equal and the phases of the I and Q signals are not ninety degrees apart. This IQ imbalance, including both a frequency selective component and a non-frequency selective component, can impact the reliability of communication if not addressed. Accordingly, there is a need for improved techniques for correcting the frequency selective and non-frequency selective components of IQ mismatch that is computationally efficient.
Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
In the lower branch of radio system 100, a receive (RX) IQ balancer 150 is used for digitally calibrating the RX RF front-end frequency selective IQ gain and phase mismatches. In this receive chain, the RF signal is down-converted by a RX RF front-end 170 to unbalanced analog baseband in-phase (I) and quadrature-phase (Q) signals. The RX RF front-end 170 is non-ideal and has frequency selective IQ mismatches. The IQ signals are digitized by an Analog-to-Digital Converter (ADC) 160 and presented to RX IQ balancer 150 as unbalanced digital RX IQ signals. RX IQ balancer 150 processes the unbalanced digital IQ signals and produces balanced digital IQ signals through the use of a receive phase compensation block 151, receive gain compensation block 152 and receive IQ linear combiner 153. Similar to the TX transmitting chain, the three components of RX IQ balancer 150 contain a total of four coefficients that are selected to provide proper compensation to remove the unbalanced IQ effect caused by the down-conversion in the non-ideal RX RF front-end 170. As will be described in greater detail below, receive phase compensation block 151 is configured to remove frequency selective IQ phase mismatch; receive gain compensation block 152 is configured to remove frequency selective IQ gain mismatch; and receive IQ linear combiner 153 is configured to remove any remaining non-frequency selective IQ gain and phase mismatches caused by RX RF front-end 170. The selection of the coefficients for TX inverse IQ balancer and RX IQ balancer 150 is performed through an on-line calibration procedure, as will be described later.
With reference to
With reference to
Additionally, there is additional calibration circuitry in the analog domain which works in conjunction with the two digital blocks (digital tone generator 800 and digital tone detector 900) to complete the calibration loop.
With reference to
Referring to
The per-tone TX phase and gain mismatch measurement procedure (step 1402) is now described. For a given frequency, fi, the corresponding TX phase/gain mismatches, denoted as Δφitx, Δgitx, are measured with the radio in TX loopback mode, the transmit phase compensation block 121 and transmit gain compensation block 122 of the TX inverse IQ balancer 120 in bypass mode, and the coefficients of TX IQ linear combiner 123 initialized as aitx=0, bitx=1. A digital tone with frequency fi is sent with the in-phase component only, and with the radio in TX loopback mode, the tone magnitude at frequency 2fi is measured by first demodulating the signal at the ADC output to DC and passing it through a lowpass filter. The magnitude of the DC (after demodulation and lowpass filtering), denoted by AdcI, is estimated. The in-phase component gain can be estimated as gl=2√{square root over (AdcI)}. Similarly, a digital tone with frequency fi is sent with the quadrature-phase component only, and the tone magnitude at 2fi is measured by demodulating the signal at the ADC output to DC and lowpass filtering it. The magnitude of the DC (after demodulation and lowpass filtering), denoted by AdcQ, is estimated. The quadrature-phase component gain can be estimated as gQ=2√{square root over (AdcQ)}. The TX gain mismatch at frequency fi is computed as
To find the TX phase mismatch at frequency fi, the gain mismatch is first compensated for in the TX IQ linear combiner 123 by setting the coefficients aitx=0, bitx=Δgitx. A digital tone at frequency fi is sent with both in-phase and quadrature components of equal magnitude, and the tone magnitude at 2fi is measured by demodulating the signal at ADC output to DC and passing it through a lowpass filter. The magnitude of the DC (after demodulation and lowpass filtering), denoted by AdcIQ, is estimated. The magnitude of the phase mismatch is then given by
While the magnitude of the TX phase mismatch has been estimated, the sign of the TX phase mismatch—positive or negative—remains to be determined. First, assuming that the sign of the TX phase mismatch is positive, the coefficients of TX IQ linear combiner 123 are set to aitx=−Δgitx sin(Δφitx), bitx=Δgitx cos(Δφitx) in order to correct both the gain and phase mismatches. A digital tone at frequency fi is sent with both in-phase and quadrature components of equal magnitude, and the tone magnitude at 2fi is measured by demodulating the signal at ADC output to DC and passing it through a lowpass filter. The magnitude of the DC (after demodulation and lowpass filtering), denoted by Adcpos, is estimated.
Next, assuming that the sign of the TX phase mismatch is negative, the coefficients of TX IQ linear combiner 123 are set to aitx=+Δgitx sin(Δφitx), bitx=Δgitx cos(Δφitx) in order to correct both the gain and phase mismatches. A digital tone at frequency fi is sent with both in-phase and quadrature components of equal magnitude, and the tone magnitude at 2fi is measured by demodulating the signal at ADC output to DC and passing it through a lowpass filter. The magnitude of the DC (after demodulation and lowpass filtering), denoted by Adcneg, is estimated. The TX phase mismatch at frequency fi is estimated as Δφitx=|Δφitx|, if Adcpos is less than Adcneg; and as Δφitx=−|Δφitx| otherwise.
The per-tone RX phase and gain mismatch measurement procedure (step 1406) is now described. For a given frequency, fi, the corresponding RX phase/gain mismatches are measured with the radio in RX loopback mode, the TX phase compensation block 121 and TX gain compensation filter block 122 of TX inverse IQ balancer 120 in bypass mode, and the coefficients of TX IQ linear combiner 123 initialized as aitx=−Δgitx sin(Δφitx), bitx=Δgitx cos(Δφitx). A digital tone at frequency fi is sent with both in-phase and quadrature components of equal magnitude. Referring to
Then, the RX gain mismatch is estimated as
Δgir=√{square root over (1−4real{Ki})}
and the RX phase mismatch is estimated as
By the aforementioned procedure, the TX phase/gain and RX phase/gain mismatches for a given frequency fi, Δφitx, ΔgitxΔφirx, Δgirx, respectively, are obtained. The same procedure may be repeated for 2N frequency points of interest, denoted by {fi\i=±1, ±2, . . . , ±N} where f−i=f1, to produce a set of TX phase/gain and RX phase/gain mismatches for 2N frequency points. The frequency points are chosen with sufficient resolution such that the corresponding phase/gain mismatch measurements adequately captures the frequency dependent characteristics of the RF transmitter and receiver chain. The set {Δφitx, Δgitx, Δφirx, Δgirx, i=±1, ±2, . . . , ±N} can then be used to calculate the coefficients of TX inverse IQ balancer 120 and RX IQ balancer 150, as described next.
At 1504, it is determined whether to choose the in-phase (I) or the quadrature-phase (Q) signal through the filter Ptx(Z) in TX phase compensation block 121. If Δφ1tx<ΔφNtx, then (i) the I signal is selected to pass through Ptx(Z); (ii) the multiplexer control signal pIIR1_I_seltx is set to 1; and (iii) the signs of all of the phase mismatch estimates are reversed by setting Δφitx=−Δφitx. Otherwise, (i) the Q signal is selected to pass through Ptx(Z); and (ii) the multiplexer control signal pIIR1_I_seltx is set to 0.
At 1506; the quantity Δφnormtx is set to Δφ1tx, and then the phase mismatch estimates are normalized by setting Δφitx←Δφitx−Δφnormtx for all i.
At 1508, a search is performed for the coefficient αtxε[0, 1] that minimizes the error |arg Ptx(fi)+Δφitx| for all i, where arg Ptx(fi) denotes the angle of Ptx(Z) evaluated at frequency point fi. The error minimization may be performed using a least squares criterion or a minimax criterion; other criteria are also possible. For example, if least squares error minimization is performed, the coefficient αtxε[0, 1] minimizing the error function
is chosen. The solution for this search is denoted by αmintx.
At 1509, the transmit phase mismatch at frequency point fi is computed as Δθitx=Δφnormtx+arg Ptx(fi, αmintx), where arg Ptx(ft, αmintx) is the angle of Ptx(Z) evaluated at frequency point fi with TX phase compensation filter coefficient αmintx.
At 1510, if pIIR1_I_seltx=1, then the signs of the phases mismatch estimates are reversed by setting Δθitx=−Δθtx.
At 1512, the quantity Δθesttx is computed as
is used to compute the coefficients of TX IQ linear combiner 123, as will be described later.
At 1514, the coefficient of Ptx(Z) is selected to be αmintx. The multiplexer control signal pIIR1_I_seltx resulting from step 1504 is used to select whether the I or Q signal passes through Ptx(Z) in transmit phase compensation block 121.
At 1604, it is determined whether to choose the in-phase (I) or the quadrature-phase (Q) signal through the filter Gtx(Z) in TX gain compensation block 122. If Δg1tx<ΔgNtx, then (i) the I signal is selected to pass through Gtx(Z); (ii) the multiplexer control signal gFIR3_I_seltx is set to 1; and (iii) all of the gain mismatch estimates are inverted by setting Δgitx=1/Δgitx. Otherwise, (i) the Q signal is selected to pass through Gtx(Z); and (ii) the multiplexer control signal gFIR2_I_seltx is set to 0.
At 1606, the quantity Δgnormtx is set to Δg1tx, the gain mismatch estimates are normalized by setting Δgitx←Δgitx/Δgnormtx for all i, and the logarithmic gain mismatch estimates are computed as ΔgdBitx=20 log10Δgitx for all i.
At 1608, a search is performed for the coefficient βtxε[0, 1] that minimizes the error |20 log10|Gtx(fi)|ΔgdBitx| for all i, where Gtx(fi) denotes Gtx(Z) evaluated at frequency point fi. The error minimization may be performed using a least squares criterion or a minimax criterion; other criteria are also possible. For example, if least squares error minimization is performed, the coefficient βtxε[0, 1] minimizing the error function
is chosen. The solution for this search is denoted by βmintx.
At 1610, the logarithmic gain mismatch estimates ΔgdBitx are normalized by computing ΔqdBitx=20 log10 Δgnormtx+ΔgdBitx+20 log10|Gtx(fi, βmintx)|. The normalized gain mismatch estimates are then given by Δqitx=10ΔqdB
At 1612, if gFIR2_I_seltx=1, then the gain mismatch estimates are inverted by setting Δqitx←1/Δqitx.
At 1614, the quantity Δqesttx is computed as
is used to compute the coefficients of the TX IQ linear combiner 123, as will be described later.
At 1616, the coefficient of Gtx(Z) is selected to be βmintx. The multiplexer control signal gFIR2_I_seltx resulting from step 1604 is used to select whether the I or Q signal passes through Gtx(Z) in the transmit gain compensation block 122.
The calculation of the TX inverse IQ balancer linear combiner 123 coefficients, atx and btx, are computed as atx=−Δqesttx sin(Δθtxest), btx=Δqesttx cos(Δθesttx), where Δθesttx and Δqesttx are outputs from the TX phase compensation and gain compensation filter searches, respectively.
The determination of the coefficients of RX IQ balancer 150 can be done in the same manner as previously described for determining the coefficients of the TX inverse IQ balancer. For example, to determine the coefficients of the RX phase compensation block 151, the set of RX IQ gain and phase mismatch estimates for all frequencies of interest, {Δgirx, Δφ1rx|i=±1, ±2, . . . , ±N}, are obtained by the per-tone calibration procedure described above, where without loss of generality, the frequencies are ordered 0<f1<f2< . . . <fN. With the RX calibration results {Δgirx, Δφirx|i=±1, ±2, . . . , ±N} serving as the input, the procedure described for the Ptx(Z) coefficients search may be utilized to find the coefficients of Prx(Z), where the RX results may be similarly denoted by pIIR1_I_seltx, αminrx, and Δθestrx.
To determine the coefficients of the RX gain compensation block 152, the set of RX IQ gain and phase mismatch estimates for all frequencies of interest, {Δgirx, Δφirx|i=±1, ±2, . . . , ±N}, have already been computed during the above Prx(Z) coefficients search procedure. Without loss of generality, the frequencies are ordered 0<f1<f2< . . . <fN. With the RX calibration results {Δgirx, Δφirx|i=±1, ±2, . . . ±N} serving as the input, the procedure described for the Gtx(Z) coefficients search may be utilized to find the coefficients of Grx(Z), where the RX results may be similarly denoted by gFIR2_I_seltx, βminrx, and Δqestrx.
Lastly, the calculation of the RX IQ balancer linear combiner 153 coefficients, arx and brx, are computed as
where Δθestrx and Δqestrx are outputs from the RX phase compensation and gain compensation filter searches, respectively.
Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.
Number | Name | Date | Kind |
---|---|---|---|
20040193965 | Coersmeier | Sep 2004 | A1 |
20060291590 | Elahi et al. | Dec 2006 | A1 |
20100104045 | Santraine et al. | Apr 2010 | A1 |
20100330941 | Trikha et al. | Dec 2010 | A1 |
20110013724 | Metreaud et al. | Jan 2011 | A1 |
20110069744 | Laudel et al. | Mar 2011 | A1 |
20110069767 | Zhu | Mar 2011 | A1 |
20120093264 | Yamaguchi | Apr 2012 | A1 |
20120140807 | Chatterjee et al. | Jun 2012 | A1 |
Number | Date | Country | |
---|---|---|---|
20130121388 A1 | May 2013 | US |