How to think about IQ mixers

There are many ways to think about IQ modulation, and all of them rely on math. This is because ‘quadrature’ modulation is a mathematical construct, a way of thinking about how time domain signals can be manipulated more than a physical reality. In this blog post I will describe how I think of IQ modulation, which is as the cancellation of a signal through two 90° phase shifts that create a 180° phase shift, which is the negative of the original signal. The negative and positive versions of the signals cancel, resulting in suppression of the other signal. This is identical to the math that governs image cancellation in image reject and single sideband mixers, the only difference is that one of the 90° phase shifts occurs at the transmitter in an IQ scheme, while they are both at the receiver in the image reject/single sideband scheme.

IQ-SSB Graphic

The easiest way to see this is with a combination of a trigonometric derivation and graphics. I will try to make the math as straightforward as possible, since I don’t speak math well.

We’ll use the following trigonometric identities:

EQ1

 

Consider a single sided downconversion imagining the mixer as a perfect frequency multiplier. The output at the RF will be given (ignoring the 2πt terms) by

EQ2

 

Double_Sided_Downconversion_Block_Diagram

 

The same math works for an upconversion:

EQ3

Double_Sided_Upconversion_Block_Diagram

 

It is irrelevant whether we use an in phase (cosine) or out of phase (sine) LO for a double sided downconversion on a single tone, other than a phase shift of the output (90° from the input and 180° between the two products) for a downconversion:

EQ4

Double_Sided_Sine_Downconversion_Block_Diagram

 

Or an upconversion:

EQ5Double_Sided_Sine_Upconversion_Block_Diagram

 

Now consider following the double sided upconversion with a double sided downconversion. We’ll multiply the original output by an in phase LO

EQ6

Where we use the identities given above. Clearly it can be seen that the desired IF frequency is present along with the undesired 2*LO terms. However, if we attempt to perform a downconversion with an out of phase LO, the following results:

EQ7

Double Sided Cancellation

As you can see from the math and the diagram, the two sidebands compete at the downconverted sideband, canceling each other out. For this reason a double sided upconversion followed by a double sided downconversion is not recommended. If the phase of the LO is set correctly the signal will be reconstructed with twice the amplitude of a single sided downconversion, but if it isn’t phased correctly the two sidebands will cancel each other.

This same phenomenon can easily be shown to occur if a sine wave LO is used as the upconverting LO and a cosine is used as the downconverting LO. This raises an interesting possibility, however. If a phase coherent LO is available, then we can upconvert one signal into a sideband and downconvert it with the same phase LO (with some gain). We can also upconvert a separate signal using a 90° out of phase LO and transmit across the same medium, downconverting it with the same LO but again 90° out of phase. The sidebands of the signal will cancel each other out for the out of phase signal while adding constructively for the in-phase signal. This is called quadrature modulation, and is the basis for such modern signaling techniques as quadrature amplitude modulation (QAM), which is the how all modern wireless communications systems operate.

Here is what the math looks like (it gets a little messy, you can just look at the conclusions):

Combined upconverted signal, with signals added:

EQ8

Now multiply by an in-phase LO:

EQ9

After low pass filtering we recover:

EQ10

The in-phase components add constructively, while the quadrature components add destructively. It can be similarly shown for a quadrature (sine wave) downconverting LO, we will only recover the b(t) signal. Graphically this appears like this:

IQ double sided transmission

At this point we can see everything that we need to make an IQ modulator: 2 matched mixers, a device to separate the LO into in-phase and quadrature signals (called a quadrature hybrid coupler) and a device to add the two signals together (an in-phase power combiner).

Before we move on from the IQ modulator, consider what would happen if we eliminated one of the sidebands after the upconversion and try to downconvert:

EQ11

After low pass filtering, this becomes:

EQ12

That is, both versions of the signal are present without cancellation or suppression, and neither can be recovered without the information present in the second sideband. There are many more advanced modulation techniques using DSP that may offer quadrature information transmission in a single sideband, but this cannot be achieved using conventional analog components.

 

3 Responses to How to think about IQ mixers

  1. Hrvoje says:

    There are so much mistakes in this article(math).. but thanks anyway..

    • Igor says:

      I agree, I just couldn’t follow the article because every two line I stop to how in hell he derived that conclusion.

      • Doug Jorgesen says:

        Thank you for reading the article and the feedback. Are the issues in the setup of the math, or the symbolic manipulation/algebra itself?
        I have a new version of this coming out as an app note where I do the derivations using complex exponentials, they are a little cleaner.

Leave a Reply

Your email address will not be published. Required fields are marked *