Embodiments of the invention relate generally to radio frequency (RF) transmitters, and more particularly, to the calibration of RF transmitters.
Direct conversion transceiver architectures are a popular choice for RF integrated circuit (IC) implementation in modern wireless communication applications due to their compact size and low power consumption as compared to a traditional heterodyne transceiver. The main drawbacks of a direct conversion transceiver are impairments such as DC offsets and IQ mismatch. Modern wireless communication protocols including wireless LAN (e.g., IEEE 802.11 a/g/n) utilize orthogonal frequency division multiplexing (OFDM) with high-order (e.g., 64-QAM) constellation sizes to exchange high data-rate information over time dispersive wireless channels. The IQ mismatch (insufficient image rejection) and carrier leakage (or DC offset) at the transmitter side should be well-controlled so that the transmitted signal can be demodulated at the receiver with as little distortion as possible.
Continuing advancement in wireless communication technologies and applications drive an effort to miniaturize the IC size. For example, the multiple-input multiple-output (MIMO) communication protocol, which requires a large number of duplicate RF and analog circuits as well as complex baseband digital system in a system-on-chip (SoC) implementation, complicates the issues of miniaturization, mismatches, and carrier leakages.
Effective method to compensate for the IQ mismatch and DC offsets/carrier leakage in wireless time-division duplex (TDD) transceivers with shared baseband filters is presented. Overall calibration strategy for transmitter with test tone is described first. Then, detailed IQ mismatch and DC offsets/carrier leakage calibration method with an envelope detector (ED) is presented. The calibration method exploits inherent architecture of the reconfigurable transceiver with shared baseband filters by directly estimating mixer phase mismatch and compensate for the DC offsets/carrier leakage more effectively.
According to an example embodiment of the invention, there may be a calibration method. The method may include providing one or more radio frequency (RF) test signals at an output of a transmitter, where the one or more RF test signals are based upon IQ baseband test signals, and applying an envelope detector to the one or more test signals to obtain one or more characteristic signals from the one or more RF test signals, where the one or more characteristic signals includes one or more first harmonic components and one or more second harmonic components associated with the one or more RF test signals. The method may also include analyzing the one or more second harmonic components to determine one or more IQ mismatch compensation parameters, and analyzing the one or more first harmonic components to determine one or more carrier leakage or DC offset compensation parameters.
According to another example embodiment of the invention, there may be a calibration system. The system may include one or more radio frequency (RF) test signal provided at an output of a transmitter, where the one or more RF test signals are based upon IQ baseband test signals, and an envelope detector that extracts one or more characteristic signal from the one or more RF test signals, where the one or more characteristic signals includes one or more first harmonic components and one or more second harmonic components associated with the one or more RF test signals. The system may also include a digital signal processor that is operative to receive the one or more characteristic signals that includes the one or more first harmonic components and the one or more second harmonic components, analyze the one or more second harmonic components to determine one or more IQ mismatch compensation parameters, and analyze the one or more first harmonic components to determine one or more carrier leakage or DC offset compensation parameters.
Having thus described the invention in general terms, reference will now be made to the accompanying drawings, which are not necessarily drawn to scale, and wherein:
Example embodiments of the invention now will be described more fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the invention are shown. Indeed, these inventions may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will satisfy applicable legal requirements. Like numbers refer to like elements throughout.
Example embodiments of the invention may provide system and methods for calibration of transmitters, such as those utilized for wireless time-division duplex (TDD) transceivers. According to an example embodiment of the invention, the calibration systems and methods may compensate for IQ mismatches and/or DC offsets/carrier leakages associated with the transmitter.
During operation of the transceiver 100 in RX mode, the switches S2-S8 may be configured such that switches S3 and S4 may be enabled (e.g., closed) while the other switches S2, S5, S6, S7, S8 may be disabled (e.g., open), according to an example embodiment of the invention. With this switch configuration, a radio frequency (RF) signal may be received by an antenna and provided to the mixers 102a, 102b. The mixers 102a, 102b may downconvert the RF signal in one or more stages to an analog baseband signal that may be filtered by low-pass filters 104a, 104b before being digitized by ADCs 106a, 106b. Likewise, during operation of the transceiver 100 in TX mode, the switches S2-S8 may be configured such that switches S5 and S6 may be enabled while the other switches S2, S3, S4, S7, and S8 may be disabled, according to an example embodiment of the invention. With this switch configuration, digital IQ signals (or compensated I′-Q′ signals) may be provided in separate I- and Q-rails to DACs 110a, 110b. The analog outputs of the DACs 110a, 110b may then be provided to mixers 108a, 108b for upconversion to RF frequencies. The RF output of the mixers 108,a, 108b may then be combined by combiner 109 and transmitted using one or more transmission antennas.
As also illustrated in
Still referring to
In accordance with an example embodiment of the invention, a transmitter calibration may assist in compensating for IQ mismatches and/or DC offsets/carrier leakages in the example transceiver 100. Generally, the transmitter calibration may involve (i) generating a test tone (e.g., an IQ test tone), (ii) retrieving a characteristic signal from the test tone via an envelope detector, (iii) determining the optimal compensation values based upon an analysis of the characteristic signal, and (iv) applying the optimal digital compensation values in the compensator for generating a digitally compensated signal.
According to an example embodiment of the invention, the transmitter calibration may be performed twice—once in a first transceiver configuration (TX1) without the low pass filters connected in the TX path, and once in a second transceiver configuration (TX2) with the low pass filters connected in the TX path. The calibration with the first configuration (TX1) may allow for isolating or determining the phase mismatch due to the mixer 108a, 108b. Once the phase mismatch of the mixer 108a, 108b has been determined, the appropriate phase mismatch compensation values in the compensator 112 may be set. With the phase mismatch compensation values set, the calibration with the second configuration (TX2) may allow for determining, perhaps according to the coarse and/or fine-mode calibration methods described herein, the optimal compensation values that minimize the IQ mismatch (gain and phase) and DC offsets/carrier leakage. The optimal compensation values determined from the calibration in the second configuration (TX2) may be utilized by the compensator 112 during normal TX mode, according to an example embodiment of the invention. Table I illustrates the appropriate switch S2-S8 positions for the first configuration (TX1) and the second configuration (TX2) for the transceiver 100 of
According to an example embodiment of the invention, Ak may be the gain compensation value, Φk may be the phase compensation value, and ΔI,k/ΔQ,k may be IQ carrier leakage compensation values (or DC offset compensation values), where configuration k=1 for a transmitter configuration without filters and configuration k=2 for a transmitter configuration with filters. It will be appreciated that while alternative embodiments of the compensator 112 are possible. For example, in an alternative embodiment, the “−sin” components in compensator 112 may be replaced with “+sin” components where the sweep range is symmetrical around the zero axis. Many other variations will be appreciated by those of ordinary skill in the art.
According to an example embodiment of the invention, a test tone may be generated in the baseband by a complex exponential function with frequency fm, processed by compensator 112, and transmitted through the RF transmit path, either with or without the low pass filters 104a, 104b connected in the transmit path, as described herein. When the digital compensation parameters are applied by the compensator 112, the output v(t) of the envelope detector 114 may be expressed as follows:
v(t)=βx2(t) (1)
According to an example embodiment of the invention, the digitally compensated test tone x(t) may be as follows:
Referring to (2), fc may be the RF carrier frequency, αk may be the gain mismatch, φc may be the phase mismatch due to mixer 108a, 108b (in radians), φk may be the phase mismatch due to baseband filter 104a, 104b (in radians, φ1=0), and δI,k, δQ,k may be the carrier leakages in I&Q rails for calibration configuration k, where configuration k=1 for a transmitter configuration without filters and configuration k=2 for a transmitter configuration with filters. Additionally, Ak, Φk, ΔI,k, ΔQ,k may be the digital compensation values for configuration k. More specifically, Ak may be the gain mismatch compensation value, Φk may be the phase mismatch compensation value, and ΔI,k, ΔQ,k may be the IQ carrier leakage compensation values (or DC offset compensation values), according to an example embodiment of the invention.
Subsequent to the envelope detector 114, the bandpass filter 116 may remove signal components outside [fm,2fm] band such as DC and RF signal components. Accordingly, the output {tilde over (v)}k(t) of the bandpass filter may be expressed as follows:
{tilde over (v)}k(t)={tilde over (v)}f,k(t)+{tilde over (v)}2f,k(t) (3)
where {tilde over (v)}f,k(t) and {tilde over (v)}2f,k(t) may represent the remaining first and second harmonic components.
The second harmonic component {tilde over (v)}2f,k(t) may be expressed as follows:
In (4), the second harmonic component {tilde over (v)}2f,k(t) may not include carrier leakage parameters δI,k, δQ,k; thus, the second harmonic component {tilde over (v)}2f,k(t) may be used to determine the IQ mismatch parameters independent of the carrier leakage. On the other hand, the first harmonic component {tilde over (v)}f,k(t) may exhibit some dependency on the IQ mismatch parameters as well as the carrier leakage itself as described below. Accordingly, the second harmonic component {tilde over (v)}2f,k(t) may be utilized to determine the DC offsets/carrier leakage parameters.
According to an example embodiment of the invention, the spectral component of (3) may be found by calculating its Fourier coefficients. After computations and first order approximation of sinusoidal functions with small arguments, spectral components in terms of squared magnitudes at frequency fm and 2fm may be found and denoted as Zf and Z2f, according to an example embodiment of the invention.
frequency fm and a second spectral component 306 at 2*fm, according to an example embodiment of the invention. As shown in
Since the IQ mismatch parameters may be found independent of carrier leakage parameters δI,k, δQ,k at frequency 2fm, the second spectral component Z2f may be analyzed first. During TX1 calibration (φ1=0, since the filter is not present when k=1) for determining the mixer phase mismatch, the spectral component Z2f may be determined as follows:
Z2f(A1,Φ1)=1+4Φ12−8φ1Φ1α1A1−2(1−2φ12)α12A12+α14A14. (5)
By examining first and second derivatives of (5), for small IQ mismatch parameters, digital compensation values that minimize the spectral component Z2f—and thus minimize the IQ mismatch—may be found as follows:
It will be appreciated that the optimum gain mismatch compensation value A1 may be a direct inverse of the gain mismatch parameter α1 and the optimum phase mismatch compensation value Φ1 may be the same as the mixer phase mismatch parameter φc. However, these parameters (α1 & φc) may not be known a priori. According to an example embodiment of the invention, optimum solutions for these parameters may be found using a DSP such as DSP 122 by minimizing the Fast Fourier Transform (FFT) output or other spectral component at frequency 2fm while varying the gain and phase compensation values independently over a predetermined range of impairment thresholds. One of ordinary skill in the art will appreciate although the FFT may be one way of evaluating frequency response, other methods that provide frequency response estimate can also be utilized without departing from example embodiments of the invention.
For the TX1 carrier leakage calibration, the spectral component at fm may be analyzed. With the optimum gain mismatch value A1 and phase mismatch value φc determined from (6) being utilized (i.e. A1=1/α1 and Φ1=φc), the first harmonic component Zf may be represented as follows:
Zf(ΔI,1,ΔQ,1)=(δI,1+φcδQ,1+ΔI,1)2+(δQ,1+α1ΔQ,1)2 (7)
In an example embodiment of the invention, the first harmonic component Zf may be minimized—and thus minimize the carrier leakage—for the following values of ΔI,1 and ΔQ,1:
It will be appreciated that the that the second term in (8)—that is, φcδQ,1—may represent contribution of the carrier leakage crosstalk between I & Q rails (e.g., from Q rail to I rail) due to the mixer phase mismatch. Accordingly, residual carrier leakage may occur if a correction signal were added independently in the I & Q rails. However, according to an example embodiment of the invention, the mixer phase mismatch φc may be estimated first and then applied to the carrier leakage calibration. Therefore, the carrier leakage crosstalk may be compensated and no residual carrier leakage may remain, according to an example embodiment of the invention.
For the TX2 calibration(φ2≠0), it can be shown that the spectral component Z2f may be determined as follows:
Z2f(A2,Φ2)=1+4Φ22−8φ2Φ2α2A2−2(1−2φc2+4φfΦ2)α22A22+8φcφfα23A23+(1+4φf2)α24A24 (10)
According to an example embodiment of the invention, the spectral component Z2f may be minimized for the following values of A2 and Φ2:
It will be appreciated that the optimum phase mismatch compensation value Φ2 in (12) may be a sum of the analog baseband filter mismatch value φf and mixer phase mismatch value φc. However, the mixer phase mismatch value φc may have been previously determined during the TX1 calibration. According to an example embodiment of the invention, the carrier leakage compensation values Δ1 and ΔQ for the TX2 calibration may be found as follows:
Therefore,
According to an example embodiment of the invention, for a DSP implementation, optimum solutions can be found by minimizing the FFT output at frequency fm while varying the I-rail and Q-rail compensation values independently over a predetermined range of impairment thresholds. When these compensation values applied, the impaired test signal found in (2) may now be corrected as follows:
which may be an amplitude-scaled and phase-shifted version of the uncorrupted test signal. Accordingly, carrier leakages and IQ mismatches (e.g., gain and/or phase) may be effectively compensated for, according to an example embodiment of the invention.
Generally, it will be appreciated that the DC offset/Carrier Leakage at the transmitter may affect the received tone at frequency fm, and the IQ mismatch at the transmitter may affect the received tone at frequency 2*fm. For each impairment parameter, a range may be given to search within. Within the range, an optimum compensation value may be iteratively found after evaluating power of the appropriate tone (e.g., fm for DC offsets/Carrier Leakage, and 2*fm for gain/phase mismatches) for all possible compensation values.
According to an example embodiment of the invention, the DSP 122 may be operative to determine the average power L1 at frequency fm as follows:
Likewise, the DSP 122 may be operative to determine the average power L2 at frequency 2*fm as follows:
The gain calibration module 404 of DSP 122 may be operative to determine the optimum gain compensation value A. In an example embodiment of the invention, the gain calibration module 404 may analyze the average power L2 at frequency 2*fm to determine the optimum gain compensation value A. As an example, the gain calibration module 404 may iterate through a gain mismatch range to determine the optimum gain mismatch compensation value A that minimizes the magnitude of the average power L2 at frequency 2*fm, according to an example embodiment of the invention.
The phase calibration module 406 of DSP 122 may be operative to determine the optimum phase compensation value Φ. In an example embodiment of the invention, the phase mismatch module 406 may analyze the average power L2 at frequency 2*fm to determine the optimum phase compensation value Φ. As an example, the phase compensation module 406 may iterate through a phase mismatch range to determine the optimum phase mismatch compensation value Φ that minimizes the magnitude average power L2 at frequency 2*fm, according to an example embodiment of the invention.
The DC Offsets/Carrier Leakage Calibration Module 408 may be operative to perform calibration (e.g., DC calibration) for the I and Q rails independently, according to an example embodiment of the invention. For example, DC calibration for the I-rail may be performed initially followed by DC calibration for the Q-rail. The average power L1 of the received tone at frequency fm, may be calculated for a range of DC compensation values (ΔI) to find the optimum DC Offset/Carrier Leakage compensation value ΔI that minimizes the magnitude of average power L1. The calibration process may continues iteratively until entire DC offset range may be examined while the compensation value may be incremented in each iteration. After the optimum ΔI value is found, the DC calibration process may proceed to the Q rail to find the optimum DC Offset/Carrier Leakage compensation value ΔQ value.
It will be appreciated that the modules 404, 406, and 408 of DSP 122 may operate in a coarse calibration mode and/or a fine calibration mode, according to an example embodiment of the invention. The step sizes in a coarse calibration mode may be larger than for a fine calibration mode, as illustrated in
The course calibration and fine calibration mode will now be illustrated in further detail with respect to the flow diagram of
The coarse calibration in
In block 608, processing continues to the DC offsets/carrier leakage calibration module 408. The calibration module 408 may utilize the optimum gain compensation value Amin determined in block 606 as well as the optimum phase compensation value Φmin determined in block 606 in the compensator 112. The calibration module 408 may then determine the optimum I-rail DC offsets/carrier leakage compensation value ΔI,min that minimizes the magnitude of the average power L1 at frequency fm. In block 610, the calibration module 408 may utilize the optimum gain compensation value Amin determined in block 606, the optimum phase compensation value Φmin determined in block 608, and the optimum I-rail DC offsets/carrier leakage compensation value ΔI,min in the compensator 112. The calibration module 408 may then determine the Q-rail DC offsets/carrier leakage compensation value ΔQ,min that minimizes the magnitude of the average power L1 at frequency fm.
Following the coarse calibration mode in blocks 604-610, the DSP 122 may optionally proceed to a fine calibration mode. During the fine calibration mode, the gain of the VGA 118 may be increased in block 612 to provide enhanced resolution for analyzing the characteristic signal in the fine calibration mode. Processing may then proceed with block 614 to determine the fine-mode gain compensation value Amin (fine). In block 614, the digital compensation values, including the optimum phase compensation values Φmin and DC offsets/carrier leakage compensation values ΔI,min and ΔQ,min determined from the coarse-calibration phase may be utilized for the compensator 112. With these compensation values set in the compensator 112, the gain calibration module 404 may iterate through smaller steps within the gain mismatch range to determine the optimum fine-mode gain compensation value Amin (fine) that minimizes the magnitude of the average power L2 at frequency 2*fm.
In block 616, the optimum fine-mode phase compensation value Φmin may be determined by the phase calibration module 406. In particular, in block 616, the fine-mode gain compensation value Amin (fine) determined in block 614 may be utilized in the compensator 112. In addition, the DC offsets/carrier leakage compensation value ΔI,min and ΔQ,min determined from the coarse-calibration phase may be utilized for the compensator 112. With these compensation values set in the compensator 112, the phase calibration module 406 may iterate through the phase mismatch range to determine the optimum fine-mode phase compensation value Φmin (fine) that minimizes the magnitude of the average power L2 at frequency 2*fm.
In block 618, the optimum fine-mode phase compensation value ΔI,min for the I-rail may be determined by the DC offsets/carrier leakage calibration module 408. In particular, in block 618, the fine-mode gain compensation value Amin (fine) determined in block 614 as well as the fine-mode phase compensation value Φmin (fine) determined in block 616 may be utilized in the compensator 112. Additionally, the DC offsets/carrier leakage compensation value ΔQ,min for the Q-rail determined from the coarse-calibration phase may be utilized for the compensator 112. With these compensation values set in the compensator 112, the DC offsets/carrier leakage calibration module 408 may iterate through the DC offset range to determine the optimum fine mode DC offsets/carrier leakage compensation value ΔI,min (fine) for the I-rail.
In block 620, the optimum fine-mode phase compensation value ΔQ,min for the Q-rail may be determined by the DC offsets/carrier leakage calibration module 408. In particular, in block 620, the fine-mode gain compensation value Amin (fine) determined in block 614 as well as the fine-mode phase compensation value Φmin (fine) determined in block 616 may be utilized in the compensator. Additionally, the optimum fine mode DC offsets/carrier leakage compensation value ΔI,min (fine) may be utilized in the compensator 112. With these compensation values set in the compensator 112, the DC offsets/carrier leakage calibration module 408 may iterate through the DC offset range to determine the optimum fine mode DC offsets/carrier leakage compensation value ΔQ,min (fine) for the Q-rail. Once the fine-mode compensation parameters have been determined according to blocks 614-620, they may be utilized in the compensator 112 for TX mode operation of the transceiver
Many modifications and other embodiments of the inventions set forth herein will come to mind to one skilled in the art to which these inventions pertain having the benefit of the teachings presented in the foregoing descriptions and the associated drawings. Therefore, it is to be understood that the inventions are not to be limited to the specific embodiments disclosed and that modifications and other embodiments are intended to be included within the scope of the appended claims. Although specific terms are employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.
Number | Name | Date | Kind |
---|---|---|---|
7725087 | Nielsen | May 2010 | B2 |
7831220 | Hammerschmidt et al. | Nov 2010 | B2 |
20040032913 | Dinur | Feb 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20090233562 A1 | Sep 2009 | US |