There is an interesting interaction between complex mixers, zero-IF architecture, and advanced algorithm development. The objective of this article is to establish the basic fundamentals of each: the principles of operation and the value they deliver in terms of system design, and then to discuss the interdependability of the three.
RF engineering is often regarded as the black art of electronics. It can be a strange mix of mathematics, mechanics, and in some instances, just trial and error. It unsettles many good engineers and many others settle for understanding the outcome rather than the detail. Much of the existing literature jumps straight into the theoretical and mathematical explanation without establishing the underlying concepts.
Single-Mixer vs Complex-Mixer
Let’s compare a single-mixer transmitter architecture and a complex-mixer architecture. A single-mixer architecture produces LO± products. Before transmission, one of the sidebands will need to be removed, usually through the addition of a band pass filter. The filter roll off must be such that it removes the unwanted image signal without affecting the wanted signal.
The spacing between the image and the wanted signal directly affects the filter requirements. Where the spacing is large, a simple low cost filter with a gentle roll off can be used. If the spacing is narrow, then designs must implement a filter with a sharp response; typically employing multi-pole or SAW filters. Hence it would be correct to state that spacing must be maintained between the image and the wanted signal so that the image can be filtered without affecting the wanted signal, and that the spacing is inversely proportional to the complexity and cost of the filter. Furthermore, the filter must be tuneable in frequency if the LO frequency is variable, which further increases the complexity of the filter.
Figure 1. Single-mixer image filter requirements.
The spacing between the image and the wanted signal will be determined by the signal that we apply to the mixer. The example in Figure 1 shows a 10 MHz bandwidth signal shifted 10 MHz away from DC. The resultant output from the mixer places the image 20 MHz from the wanted signal. In this configuration, to achieve a 10 MHz wanted signal spectrum at the output, we had to provide a 20 MHz baseband signal to the mixer. 10 MHz of the baseband bandwidth is unused, and the data path bandwidth requirements are higher than the signal of interest.
In contrast, a complex-mixer architecture produces only one sideband, either the LO+ product or the LO- product, and heavily attenuates the other sideband, or in other words, it performs image suppression. It may still be necessary to use a filter to remove the unwanted sideband, but the filter profile can be much more relaxed and its implementation simpler and lower cost. In the best case the unwanted sideband is attenuated to such a level that filtering is not required at all (see Figure 2).
Figure 2. Complex-mixer image filter requirements.
Demystifying the Complex RF Mixer
Let’s look at how the complex-mixer achieves image suppression. Figure 3 provides an overview of the complex mixer in an upconverter (transmitter) configuration. Two parallel paths with independent mixers are fed from a common local oscillator whose phase is offset 90o to one of the mixers. The independent outputs are then summed in a summing amplifier to produce the desired RF output.
Figure 3. Basic architecture of a complex transmitter.
Let’s assume, as shown in Figure 4, that we feed a tone signal only on the I input, and the Q input is undriven. Given that the tone at the I input has a frequency of x, the mixer in the I path produces an output at the LO frequency ±x. As there is no signal applied to the Q input, the mixer in its path produces an empty spectrum, and the output from the I mixer passes straight to the RF output.
Figure 4. I path analysis.
Now let’s assume that a signal tone at frequency x is applied solely to the Q input. The Q mixer in turn produces an output with tones at the LO frequency ±x. With nothing applied to the I input, its mixer output is muted and the output from the Q mixer goes straight to the RF output (see Figure 5).
Figure 5. Q path analysis.
At first glance it may seem that the outputs from Figure 4 and Figure 5 are identical. However, there is one critical difference, namely phase. Let’s assume, as shown in Figure 6, that we apply the same tone frequency to both I and Q inputs, but that there is a 90o phase shift between the input channels.
Figure 6. Simultaneous I and Q signal path analysis.
If we look closely at the output of the mixers we observe that signals at the LO frequency plus the input frequency are in phase, whereas signals produced at the LO frequency minus the input frequency are out of phase. This results in the tones on the upper side of LO adding while the tones on the lower side cancel. Without any filtering we have removed one of the tones (or sidebands) and created an output that sits entirely on one side of the LO frequency.
The example shown in Figure 6 has the I signal leading the Q signal by 90o. If the configuration was to change such that the Q signal led the I signal by 90o, then we could expect a similar summing and cancellation, but in this instance the output signal would appear on the lower side of the LO.
Proving the Complex-Mixer Theory Mathematically.
The theory of the complex-mixer can be proven using some basic trigonometry. Let’s assume that the I mixer is driven by sin(LO) and the Q mixer is driven by cos(LO). Let’s also assume that the I input is cos(input) and the Q input is sin(input). Using the following four trigonometry identities the summed output can be found.
sin(a)sin(b) = ½(cos(a – b) – cos(a + b))
cos(a)cos(b) = ½ (cos(a + b) + cos(a – b))
sin(a)cos(b) = ½ (sin(a + b) + sin(a – b))
cos(a)sin(b) = ½ (sin(a + b) – sin(a – b))
The I mixer output is given by sin(LO)cos(input) and the Q mixer output is given by cos(LO)sin(input).
I mixer output = sin(LO)cos(input) = ½ (sin(LO + input) + sin(LO – input))
Q mixer output = cos(LO)sin(input) = ½ (sin(LO + input) – sin(LO – input))
RF output = sin(LO + input)
Note that the (LO – input) terms cancel in the above equations, leaving only the (LO + input) terms, or in other words, the lower sidebands cancelled and the upper sidebands summed.
Let’s now assume that the I input is sin(input) and the Q input is cos(input) (the phase relationship between the I and Q inputs has been reversed). The I mixer output is given by sin(LO)sin(input) and the Q mixer output is given by cos(LO)cos(input).
I mixer output = sin(LO)sin(input) = ½(cos(LO – input) – cos(LO + input))
Q mixer output = cos(LO)cos(input) = ½ (cos(LO + input) + cos(LO – input))
RF output = cos(LO – input)
Note that the (LO + input) terms cancel in the above equations, leaving only the (LO – input) terms, or in other words, the upper sidebands cancelled and the lower sidebands summed.
Using the Complex-Mixer in a Zero-IF Configuration
As previously described, if I leads Q by 90o there will be an output on the upper side of LO only. If Q leads I by 90o, there will be an output on the lower side of LO only. Therefore, if two independent baseband signals are generated, where one is designed to produce an upper sideband output only and the other is designed to produce a lower sideband output only, they can be summed in baseband and applied to the complex transmitter. The result will be an output with different signals appearing above and below LO. In a practical application the combined baseband signal would be produced digitally. The input summing nodes shown in Figure 7 are solely to illustrate the concept.
Figure 7. Zero-IF complex mixer architecture.
The use of zero-IF complements the advantages of the complex transmitter by positioning independent data blocks directly adjacent to each on either side of the LO. The baseband datapath bandwidth never exceeds that of the signal of interest. In theory, the use of a complex mixer used in a zero-IF architecture provides a solution that requires no RF filtering while also optimizing baseband power efficiency, delivering lower cost per unit of unusable signal bandwidth.
Generating Baseband Data
As previously described, specially created baseband data will produce an RF output with independent signals appearing on either side of the LO. Figure 8 provides an illustration of how this might be done. We have two sets of I and Q data, where each is independent and encoded with symbol data that can be decoded at the receiver with respect to the phase of the reference carrier.
Figure 8. Taking a closer look at I/Q signalling in a zero-IF complex mixer configuration.
Initial observation shows that Q1 leads I1 by 90o and that the amplitude of both are matched. Likewise, I2 leads Q2 by 90o and their amplitudes are also matched. The independent signals are combined so that I1 + I2= SumI1I2 and Q1 + Q2= SumQ1Q2. The summed I and Q signals no longer exhibit phase and amplitude correlation–their amplitudes are not equal at all times and the phase relationship between them varies. The resultant output from the mixer places I1/Q1 data on one side of the carrier and I2/Q2 data on the other side of the carrier as previously explained and shown in Figure 7.
Lab Experiments of a Complex-Mixer Transmitter
Figure 9 shows the results of lab measurements of a complex transmitter. The left hand side shows the test case when I leads Q by 90o, resulting in the output tone placement on the upper side of the LO. The right hand side of Figure 9 shows the relationship swapped so that Q now leads I by 90o and the resultant output tone sits on the lower side of the LO.
Figure 9. Tone placement dependant on the I and Q phase relationship.
In theory it should be possible to have all the energy on only one side of the LO. However, as the result from the lab experiments in Figure 9 show, in practice full cancellation may not occur, leaving some energy on the other side of LO, known as the image. Also note that energy at the LO frequency is present, known as LO leakage or LOL. Other energy is also evident in the results–these are harmonics of the wanted signal and are not discussed in this article.
For perfect image cancellation, the outputs of the I and Q mixers must be of precisely the same amplitude, and be exactly 180o out of phase with respect to each other on the image side of the LO. In reality, mismatches in the signal paths will cause inaccurate cancellation of the image signal and energy at the image frequency will remain. When the complex mixer is used in a Zero-IF configuration the unwanted image falls directly within the spectrum of the wanted signal, as shown in Figure 10, and a failure condition will occur if the image power is large enough. Therefore, the use of zero-IF and complex mixing can deliver an optimal system design solution, but only when the design can eliminate the phase of amplitude mismatches along the signal paths.
Figure 10. Zero-IF implementation restrictions.
Complex-Mixer Receiver Operation
Up to this point, the focus of this article has been on the complex mixer used as a zero-IF transmitter. The same principles work in reverse and the complex mixer architecture can be used as a zero-IF receiver. The same advantages that have been described for the transmitter equally apply to the receiver. When using a single-mixer to receive a signal, the image frequency must first be filtered out using an RF filter. In the zero-IF mode of operation there is no image frequency to worry about, and signals above LO will be received independently of signals below LO.
A complex receiver is shown in Figure 11. The input spectrum is applied to both I and Q mixers. One mixer is driven with LO, the other with LO + 90o. The outputs of the receiver are I and Q. In the case of a receiver, it is not as easy to prove empirically what the output will look like for a given input, but if a tone is input above LO, the I and Q outputs will be at the difference (tone – LO) frequency and there will be an expected phase shift between I and Q where I leads Q. Similarly if the tone were input below LO, the I and Q outputs would again be at the difference (LO – tone) frequency but this time Q will lead I. In this way the complex receiver can distinguish energy above LO from energy below LO.
The output of the complex receiver will be the sum of the I/Q information representing the spectrum that was received above LO and the I/Q information representing the spectrum that was received below LO. This concept was described earlier for the complex transmitter where a summed I and summed Q signal is applied to the complex transmitter. In the case of the complex receiver, the baseband processor receiving the summed I and summed Q information will be able to distinguish upper and lower frequencies using a complex FFT.
Figure 11. Zero-IF complex mixer receiver configuration.
When the summed I and summed Q signals are received, there are 2 knowns; the summed I signal and the summed Q signal, but there are 4 unknowns, namely I1, Q1, I2 and Q2. Because there are more unknowns than knowns it would seem impossible to solve for I1, Q1, I2 and Q2. However it is also known that I1 = Q1 + 90o and that I2 = Q2 – 90o, and with these two additional knowns it is now possible to solve for I1, Q1, I2 and Q2 using the received summed I and summed Q signals. In fact, we only need to solve for I1 and I2 because the Q signals are just copies of the I signals with a ±90o phase shift.
Advanced Algorithm Enablement
The concept of the complex mixer architecture has existed for many years but the challenges of meeting the phase and amplitude requirements in a dynamic radio environment have restricted its use in a zero-IF mode. Analog Devices has overcome the challenge by a combination of smart silicon design and advanced algorithms. The design accepts that there will be signal path impairments, however, these are minimized by smart silicon design. The remaining imperfections are calibrated out by self-optimizing quadrature error correction (QEC) algorithms which run concurrently with signal transmission and reception. Figure 12 provides a conceptual overview.
Figure 12. Advanced QEC algorithm and smart silicon design enabling zero-IF architecture.
On ADI transceiver devices such as the AD9371, the QEC algorithm sits within the on chip ARM® processor. It has constant knowledge of the silicon signal path, the modulated RF output, and the input signal. It uses this knowledge to intelligently adapt the signal path profile in a controlled predictive fashion rather than a kneejerk reactive one. The algorithm performance is such that it can be best described as digitally assisting the performance of the analog signal path.
The dynamic QEC calibration algorithm is just one example, albeit a prominent one, of the advanced algorithms that reside and operate inside these transceivers. Others, such as LO leakage cancellation2, coexist with the QEC correction algorithm and lift the zero-IF architecture to an optimal level of performance. While these first generation of transceiver algorithms were primarily required for technology enablement, the second generation, such as digital predistortion (DPD), duplexer performance (TxNc), and passive intermodulation issues (PIM), enhance the performance of the entire system.
Complex mixers have existed for many years, but the image rejection performance that they provided did not allow them to be used in a zero-IF configuration. The combination of smart silicon design and advanced algorithms remove the performance barriers that had previously impeded the adaption of zero-IF architectures in high performance systems. With the performance limitations removed, the use of zero-IF architecture delivers saving in terms of filtering, power, system complexity, size, heat and weight (the topic is extensively covered in an earlier paper from Brad Brannon1).
In the case of complex mixers and zero-IF, we can consider the QEC and LOL algorithms as an enablement function. However, as the scope of the algorithmic development extends, it provides system designers with increased performance levels that allows them more flexibility in their radio designs. They may choose enhanced performance but they may also use the gains achieved from the algorithms to compensate for lower cost or size components in their radio designs.
1. Brad Brannon. “Where Zero-IF Wins: 50% Smaller PCB Footprint at ⅓ the Cost.” Analog Dialogue, Sept 2016.
2. Dave Frizelle. “Transmit LO Leakage” Analog Dialogue, July 2017.
Dave Frizelle works as an Applications Manager in the Transceiver Product Group team at Analog Devices Limerick supporting the integrated transceiver family of products. He has worked at ADI since graduation in 1998. His previous engineering roles include six years working in Japan and Korea supporting the development and design-in of advanced consumer products.
Frank Kearney works as Algorithm Development Manager in the Communication Systems Engineering team at Analog Devices Limerick. He has worked at ADI since graduation in 1988. He recently returned from China where he held the position of Snr. Applications manager for the systems engineering team in Asia Pacific. He is currently a doctorate candidate at University College Dublin.