In an IQ transmitter system, any small mismatch between I and Q paths leads to generation of a signal at an undesired frequency (image) at the transmitter output. In a wide band system, this imbalance varies over frequency. This frequency dependent IQ imbalance is a potential issue in a multi-carrier IQ transmitter, such as used for orthogonal frequency division multiplexing (OFDM), which degrades performance. Correcting the IQ imbalance at one frequency may degrade the image power at other frequencies.
In a multi-carrier system, correcting each subcarrier frequency increases the complexity of calibration and correction by multi-fold (depending on the number of subcarriers). Single frequency point calibration and correction is simpler, but the improvement in image suppression is only around the calibrated frequency, and may not adequately compensate for deleterious effects.
In one aspect, an apparatus includes a baseband circuit to generate a plurality of subcarriers of a complex sample of a message to be transmitted, and a compensation circuit coupled to the baseband circuit, the compensation circuit to compensate for IQ mismatch. The compensation circuit may include: a calibration circuit to determine, using a tone signal, gain correction values and phase correction values for a subset of the plurality of subcarriers; and a correction circuit to apply the gain correction values and the phase correction values to the plurality of subcarriers to compensate for the IQ mismatch. The apparatus may further include a converter to convert the compensated plurality of subcarriers to analog form, a mixer coupled to the converter to convert the compensated plurality of subcarriers in the analog form to a radio frequency (RF) signal, and a power amplifier to amplify and output the RF signal.
In one example, the apparatus further comprises a power detector coupled to the power amplifier, where the power detector is to determine a carrier power and an image power of the RF signal. The calibration circuit may receive a digital measure of at least the image power and determine the gain correction values and the phase correction values based at least in part on the digital measure. The calibration circuit may further determine the gain correction values and the phase correction values for the subset comprising positive subcarriers of the plurality of subcarriers. The calibration circuit also may determine another gain correction value and another phase correction value for a negative subcarrier of the plurality of subcarriers. In an example, the calibration circuit is to determine an offset in a phase of a mixing signal input to the mixer based at least in part on a first phase correction value for a positive subcarrier (m) and a second phase correction value for a negative subcarrier (−m).
In an example, the apparatus further comprises a non-volatile storage to store the gain correction values and the phase correction values. The plurality of subcarriers may be 2N subcarriers, and the calibration circuit is to determine the gain correction values and the phase correction values for N or fewer of the 2N subcarriers. In an example, the calibration circuit is to determine the gain correction values and the phase correction values for N/x subcarriers, and the correction circuit is to use a single gain correction value and a single phase correction value for a group of x subcarriers, where x is a positive integer.
In an example, the compensation circuit is to: generate, for a first one of the subset of the plurality of subcarriers, a tone frequency; determine, for the first one of the subset of the plurality of subcarriers, an image power of the transmitter for each of a plurality of candidate gain correction values and phase correction values; identify, for the first one of the subset of the plurality of subcarriers, an optimum pair of the plurality of candidate gain correction values and phase correction values; and store the optimum pair in a non-volatile memory in association with the first one of the subset of the plurality of subcarriers.
In another aspect, a method includes: performing, via a compensation circuit of a transmitter, a calibration of the transmitter to determine, for each of a plurality of subcarriers of a first polarity, first correction values; using the first correction values to determine second correction values for each of a plurality of subcarriers of a second polarity; and storing the first correction values and the second correction values in a storage of the transmitter.
In an example, the plurality of subcarriers of the first polarity comprises N or fewer subcarriers for a modulation scheme having 2N subcarriers. The method may further include: receiving data in the compensation circuit; and compensating the data for mismatch of the transmitter using the first correction values and the second correction values. The method may also include: transforming the compensated data to time domain data; converting the time domain data to a RF signal; and transmitting the RF signal from the transmitter.
In an example, performing the calibration comprises, for a first subcarrier of the plurality of subcarriers of the first polarity: generating a tone frequency; processing the tone frequency with each of a plurality of candidate gain correction values and phase correction values; determining an image power of the transmitter for the tone frequency processed with each of the plurality of candidate gain correction values and phase correction values; identifying an optimum pair of the plurality of candidate gain correction values and phase correction values based at least in part on the image power; and associating the optimum pair with the first subcarrier. In addition, the optimum pair may be stored in a first entry of the storage. The method may further include: for a first subcarrier of a baseband signal, accessing the optimum pair from the first entry of the storage; compensating the first subcarrier of the baseband signal using the optimum pair; and providing the compensated first subcarrier of the baseband signal to a frequency-to-time converter to convert the compensated first subcarrier of the baseband signal to a time domain signal.
In yet another aspect, a system includes a transceiver having a receiver and a transmitter, where the transmitter comprises a complex signal processing path comprising an in-phase (I) portion and a quadrature phase (Q) portion. The transmitter may include: a baseband circuit to generate at least a first subcarrier and a second subcarrier of a message sample; and compensation circuit coupled to the baseband circuit, the compensation circuit to compensate for IQ mismatch. The compensation circuit may include: a calibration circuit to determine a first gain correction value and a first phase correction value for a tone frequency associated with the first subcarrier; and a correction circuit to apply the first gain correction value and the first phase correction value to the first subcarrier, and apply another gain correction value and another phase correction value to the second subcarrier, the another gain correction value obtained using the first gain correction value and the another phase correction value obtained using the first phase correction value.
The system may further include a converter to convert the compensated first and second subcarriers to analog form, a mixer coupled to the converter to convert the compensated first and second subcarriers in the analog form to a RF signal, and a power amplifier to amplify and output the RF signal.
In an example, the correction circuit is to apply the first gain correction value and the first phase correction value to a first plurality of subcarriers, the transmitter comprising a multi-carrier IQ transmitter. The system may further include a non-volatile memory to store the first gain correction value and the first phase correction value.
In various embodiments, techniques are provided to reduce the effect of variation in IQ imbalance across subcarrier frequencies and suppress image power at 2 (2N) symmetrically located frequency points (simultaneously) about DC. Embodiments may be generalized to “N” point calibrations for suppressing images at “2N” subcarriers. In the presence of local oscillator (LO) mismatch, calibration at one extra frequency point may occur, resulting in “N+1” calibrations for correction at “2N” subcarriers. Before discussing details of this calibration, reference to a representative transmitter that incorporates an embodiment is set forth.
Referring now to
With embodiments herein, a measure of this IQ imbalance may be determined and signals to be transmitted can be compensated to substantially reduce if not completely remove such mismatch. Understand while
In the embodiment of
As described above, due to possible mismatches in the I and Q signal processing paths, the signals communicated via these paths may suffer from some amount of distortion. Accordingly, a compensation circuit 120 is present. In some cases, compensation circuit 120 may be included in baseband circuit 110 or it can be a different component. In embodiments herein, compensation circuit 120 may be configured to determine a level of mismatch and provide compensation for such mismatch in a minimally complex manner. More specifically, compensation circuit 120 may be configured to perform a limited amount of calibration to enable suppression of IQ imbalance, across all subcarriers.
As illustrated, compensation circuit 120 includes a calibration circuit 122. In embodiments herein, calibration circuit 122 may be configured to perform a calibration for a limited number of frequency points (e.g., subcarriers). After such calibration, correction values that are determined can be leveraged to determine additional correction values for subcarriers that were not calibrated. Note that the calibration operations performed in calibration circuit 122 may be performed a single time, with the resulting correction values stored in a calibration storage 124. In certain implementations, the calibration is done during manufacture and stored in storage 124, which may be a non-volatile memory.
Still with reference to compensation circuit 120, also included is a correction circuit 126. In embodiments herein, correction circuit 126 may receive complex amplitudes of incoming “2N” subcarriers and correct them for IQ imbalance using the correction values. As such, IQ imbalances may be corrected and the resulting imbalance-corrected complex amplitudes for “2N” subcarriers are next sent to an inverse Fourier transform (IFT) engine 130, where the frequency domain information can be transformed back to the time domain. Also shown is a control circuit 128, which may control operation of compensation circuit 120, both for performing a calibration to determine correction values and for compensating for IQ mismatch during transmitter operation.
The resulting time domain signals may then be sent for further signal processing. Specifically as shown in the high level of
Still referring to
Still referring to
To understand the compensation techniques described herein, it is instructive to consider baseband generation of OFDM signals. In an example, the samples of “I” [xI(n)] and “Q” [xQ(n)] path signals used for generating passband OFDM signals have “2N” subcarriers equally spaced by a given frequency (fi Hertz (Hz)). These signals, as generated in a digital baseband circuit (e.g., baseband circuit 110), are given by:
Due to circuitry mismatches in the different signal processing paths, some amount of IQ imbalance may exist. Embodiments may be used to efficiently and at reduced compute complexity determine a level of IQ imbalance and correct the same. As will be discussed, there are different techniques that may be used in different implementations.
In one implementation, a frequency domain correction may be performed at 2N frequencies (or frequency groups). Assume that xI(n) and xQ(n) for a “kth” subcarrier [xik(n) and xak(n) respectively] are generated separately in the digital baseband circuit, as below (from Equation 1):
xlk(n)=|X(k)|*cos(kωon+ϕX
Then a certain amount of phase offset “φ” in xQ(n) may be introduced in the digital baseband circuit, with each xQk(n) having a different phase offset of “φk”. Similarly, a certain amount of gain imbalance “α” can be introduced in the digital baseband circuit, with each xQk(n) having a different gain imbalance of “αk”. In this example, IQ imbalance can be corrected by introducing a phase shift (φk) and a gain imbalance (αk) in X(k) for only the xQk(n) signals. This transformation results in the following signals xIk(n) and xQk(n) generated in the digital baseband circuit.
xlk(n)=|X(k)|*cos(kωon+ϕX
The resulting signals with the introduced imbalances in the Q-path signal are passed to additional signal path processing circuitry, including filter circuitry, namely an I/O low pass filter (LPF). Assume that there is mismatch in the filters of the different paths, with the I path LPF having a phase imbalance of ϕlpf_k and a gain imbalance of βk (at a frequency of k(ωo/2π) Fs Hz) with respect to the Q path LPF. In this situation, the analog I and Q signals for “kth” subcarrier are:
xIk=βk|X(k)|*cos(ωkt+ϕX
xQk=αk|X(k)|*sin(ωkt+ϕX
ωk=kωoFs
Upon multiplying xIk(t) and xQk(t) with quadrature LO signals having a phase mismatch of “θ,” the resulting RF signal (xRF), corresponding to the “kth” subcarrier is:
Amplitude mismatch of I and Q LO path can be accounted within βk.
From above Equations, it can be seen that for cancelling the image for “+ve” and “−ve” side subcarriers, the phase (φk) and gain correction (βk) in the digital baseband circuit may be controlled to be:
Therefore by having “2N+1” parameters (θ, ϕlpf_k and βk, kϵ[1 N]), the image for all “2N” subcarriers can be suppressed using the above described technique, which uses a modification in the input to the IFT engine used for generating OFDM signals in the digital baseband circuit.
In embodiments, the above-described technique can be used to suppress image for “2N” subcarriers by using an N-point calibration when θ equals zero, and instead using an N+1 point calibration when θ does not equal zero. Note that when θ equals zero, the phase correction for +ve subcarriers (k>0) is a negative of the phase correction for −ve subcarriers (k<0). As such, calibration may be performed for only on “+ve” or only “−ve” subcarriers, which is sufficient to correct all “2N” subcarriers (−N≤k≤N, k≠0).
Instead when θ does not equal zero, the value of “θ” is to be identified. In an embodiment, this can be done by finding a phase correction for all “+ve” subcarriers (k>0) and one more subcarrier for any k<0. For example with an extra calibration done for k=−1, Equation 2 can be used for k=1 and k=−1 to solve for 8 (also for ϕlpf for k=1).
With the considerations above, if the LO phase mismatch is null, the calibrated phase imbalance is applied for the calibrated frequency point, and the negative of this value is applied for the frequency point symmetric to the calibrated frequency about DC.
As an example (when LO phase mismatch is null), if a calibration is done at a 5 MHz tone and the phase imbalance is 0.6 degrees, a 0.6 degree correction is applied to 5 MHz and a −0.6 degree correction is applied to −5 MHz.
In a case where a fixed phase imbalance (due to LO mismatch or other means) is not null, its correction value is added to both frequency points in the same fashion. For example, if “θ” is the fixed phase correction and “φ” is a phase correction, without LO mismatch, for a particular frequency point (say fc) then a phase correction of “−θ+φ” is applied at frequency “fc” and a “−θ−φ” correction is applied at “−fc” frequency. The gain imbalance calibrated at the frequency “fc” is applied to both frequencies, i.e., “fc” and “−fc” in the same fashion.
To reduce complexity in calibration and correction in a multicarrier system, calibration may be done at a minimum of one frequency point for a case of no mismatch in LO and two points for a case with LO mismatch and the obtained calibrated phase (φk) and gain imbalance (δk) correction can be applied to all frequencies that are on the same side (sign) of the calibrated frequency, and calculated phase and gain correction value, from Equation 2, is applied at all negated frequencies. Similarly, frequencies can be grouped, and a given number of calibration points can be chosen accordingly. For example to reduce calibration complexity, gain and phase correction values can be determined for N/2, N/4 or another smaller number of subcarriers (where N is a positive integer). Then the determined correction values can be used for a group of subcarriers around a given subcarrier for which correction values are determined.
Thus with the presented embodiment, IQ imbalance can be calibrated at “N” frequency points, where “2N” is the number of frequency points planned for correction. In this case, the LO phase imbalance (or a fixed imbalance) is assumed to be null or it is already corrected by some means. If LO imbalance is not null, an additional calibration may be performed.
Referring now to
As shown, method 200 begins at block 210, where the calibration may be performed to determine first gain/phase correction values for a first side's subcarriers. Assume in this example that a factory calibration occurs. This calibration may be performed in an efficient manner using an embodiment in which less than all subcarriers may be analyzed.
To perform the calibration, a test tone may be generated for the given subcarrier, which is then allowed to proceed through the different I and Q signal paths, resulting in information that is used to generate the first gain/phase correction values, namely, one gain correction value and one phase correction value for each of a selected number of subcarriers (e.g., from 1 to N). Then at block 220, these first gain/phase correction values may be used to calculate second gain/phase correction values for the second side's subcarriers. As described herein, in general these values may be determined using Equation 2.
Still referring to
Still referring to
Referring now to
Still with reference to
Referring now to
Referring now to
As illustrated, method 500 begins by obtaining an unmodified complex amplitude signal for a set of “2N” subcarriers (block 510). Next at block 520, various initialization values may be set. At block 530, intermediate variables are generated, using gain and phase correction values, to be used at block 540. Next at block 540, the various operations shown are performed to generate the modified compensated inputs to the transformation engine (e.g., an IFT engine). Next it is determined whether there are additional subcarriers to be processed (diamond 550) and if so, control passes back to block 520 discussed above. Understand that while shown at this high level in
Referring now to
In the embodiment shown, integrated circuit 600 includes a memory system 610 which in an embodiment may include a non-volatile memory such as a flash memory and volatile storage, such as RAM. In an embodiment, this non-volatile memory may be implemented as a non-transitory storage medium that can store instructions and data. Such non-volatile memory may store instructions, including instructions for determining IQ mismatch and compensating for the same, as described herein.
Memory system 610 couples via a bus 650 to a digital core 620, which may include one or more cores and/or microcontrollers that act as a main processing unit of the integrated circuit. In turn, digital core 620 may couple to clock generators 630 which may provide one or more phase locked loops or other clock generator circuitry to generate various clocks for use by circuitry of the IC.
As further illustrated, IC 600 further includes power circuitry 660, which may include one or more voltage regulators. Additional circuitry may optionally be present depending on particular implementation to provide various functionality and interaction with external devices. Such circuitry may include interface circuitry 660 which may provide interface with various off-chip devices, sensor circuitry 670 which may include various on-chip sensors including digital and analog sensors to sense desired signals, such as for a metering application or so forth.
In addition as shown in
Note that ICs such as described herein may be implemented in a variety of different devices such as an IoT device. This IoT device may be, as two examples, a smart bulb of a home or industrial automation network or a smart utility meter for use in a smart utility network, e.g., a mesh network in which communication is according to an IEEE 802.15.4 specification or other such wireless protocol.
Referring now to
While the present disclosure has been described with respect to a limited number of implementations, those skilled in the art, having the benefit of this disclosure, will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations.
Number | Name | Date | Kind |
---|---|---|---|
8514914 | Yokoo | Aug 2013 | B2 |
11228104 | Kihira | Jan 2022 | B2 |
20040085929 | Azuma | May 2004 | A1 |
20040203472 | Chien | Oct 2004 | A1 |
20080165874 | Steele | Jul 2008 | A1 |
20150119021 | Song | Apr 2015 | A1 |
20200092053 | Bai | Mar 2020 | A1 |
Entry |
---|
Josias Jacobus De Witt; “Modelling, Estimation and Compensation of Imbalances in Quadrature Transceivers,” Stellenbosch University, Mar. 2011, pp. 1-239. |