RFIC Design

4FMODs and Counter IM3

New to transmitter design? Trying to understand what metrics are used by industry for transmitter design? You might have heard of primary 4FMOD (also called CIM3) and secondary 4FMOD (also called CIM5). Unlike traditional IM3 which is generated by intermodulation of two tones, CIM3 and CIM5 are primarily generated by distortion products of a single tone. They are important because they lie very close to signal, only \(4f_{bb}\) away.

 

If you are transmitting a signal at \(f_{LO}+f_{bb}\), then on lower side of LO at \(f_{LO}-3f_{bb}\) lies your primary 4FMOD (or CIM3) and on higher side of LO at \(f_{LO}+5f_{bb}\) lies secondary 4FMOD (or CIM5).

4FMOD CIM3

Immediately you must ask: what about \(f_{LO}+3f_{bb}\), that lies even closer, \(2f_{bb}\) away from signal but you don’t talk about it? Correct but in an IQ transmitter it gets cancelled out, and since all the TX are IQ nowadays (for single side band modulation), it doesn’t matter much. What cancels and what survives in an IQ mixer? See the math below.

IQ Mixer – The Math

Consider an IQ transmitter. I channel DAC generates cosine signal, and Q channel DAC generates 0.25\(T_{bb}\) shifted signal of I channel (or in other words 90 degree shifted for fundamental):

$$ DAC: I(t) = Vcos(\omega_{bb}\,t)$$ $$ DAC: Q(t) = Vcos(\omega_{bb}\,t - \frac{\pi}{2})$$
This signal passes through some baseband circuit, say a baseband amplifier which adds 3rd order non-linearity. Signal at baseband amplifier output can be written as:
$$ BBF: I(t) = \textcolor{#40ce80}{A_1\,cos(\omega_{bb}\,t)}+\textcolor{#feda39}{A_3\,cos(3\omega_{bb}\,t)}+\textcolor{#e74c3c}{A_5\,cos(5\omega_{bb}\,t)}$$ $$ BBF: Q(t) = A_1\,cos(\omega_{bb}\,t -\frac{\pi}{2})+A_3\,cos(3\omega_{bb}\,t-\frac{3\pi}{2})+A_5\,cos(5\omega_{bb}\,t-\frac{5\pi}{2})\:(delay \; means \; proportional \; phase \; shifts)$$ $$ BBF: Q(t) = \textcolor{#40ce80}{A_1\,sin(\omega_{bb}\,t)}-\textcolor{#feda39}{A_3\,sin(3\omega_{bb}\,t)}+\textcolor{#e74c3c}{A_5\,sin(5\omega_{bb}\,t)}$$

where \(A_{1}\) is a linear gain coefficient, \(A_{3}\) is 3rd order distortion coefficient and \(A_{5}\) is 5th order distortion coefficient. Check out single tone distortion.

Consider an LO signal now. I channel LO is a square wave toggling between +/- 1, Q channel LO is \(\frac{T_{LO}}{4}\) delayed copy of I channel LO, delayed not phase shifted (difference is important).  Developing only up to 5th harmonic of square wave, LO signals can be written as:
$$LO: I(t) = \textcolor{#FFFFFF}{\frac{4}{\pi}\left[cos(\omega_{LO}\,t)-\frac{1}{3}cos(3\omega_{LO}\,t)+\frac{1}{5}cos(5\omega_{LO}\,t)\right]}$$ $$LO: Q(t) = \frac{4}{\pi}\left[cos(\omega_{LO}\,t-\frac{\pi}{2})-\frac{1}{3}cos(3\omega_{LO}\,t-\frac{3\pi}{2})+\frac{1}{5}cos(5\omega_{LO}\,t-\frac{5\pi}{2})\right]\:(delay \; means \; proportional \; phase \; shifts)$$ $$LO: Q(t) = \textcolor{#FFFFFF}{\frac{4}{\pi}\left[sin(\omega_{LO}\,t)+\frac{1}{3}sin(3\omega_{LO}\,t)+\frac{1}{5}sin(5\omega_{LO}\,t)\right]}$$

I channel baseband signal is multiplied by I channel LO, and Q with Q. We can write mixer output as:

$$ MIXER:\; I_{BBF}\,(t).I_{LO}\,(t)+Q_{BBF}\,(t).Q_{LO}\,(t)$$

I Channel Mixer Output

\[ \left[ \textcolor{#40ce80}{A_1\,\textcolor{#40ce80}{cos(\omega_{bb}\,t)}}+\textcolor{#feda39}{A_3\,\textcolor{#feda39}{cos(3\omega_{bb}\,t)}}+\textcolor{#e74c3c}{A_5\,\textcolor{#e74c3c}{cos(5\omega_{bb}\,t)}} \right]. \left[ \textcolor{#FFFFFF}{\frac{4}{\pi}\textcolor{#FFFFFF}{cos(\omega_{lo}\,t)}-\frac{1}{3}\textcolor{#FFFFFF}{cos(3\omega_{lo}\,t)}+\frac{1}{5}\textcolor{#FFFFFF}{cos(5\omega_{lo}\,t)}}\right]\\ \] \begin{alignat*}{8} \\ =\frac{4}{\pi} \biggr[ & \textcolor{#40ce80}{A_1cos(\omega_{bb}\,t)}.\textcolor{#FFFFFF}{cos(\omega_{lo}\,t)}\;&-&\;\frac{\textcolor{#40ce80}{A_1}}{\textcolor{#FFFFFF}{3}}\textcolor{#40ce80}{cos(\omega_{bb}\,t)}.\textcolor{#FFFFFF}{cos(3\omega_{lo}\,t)}\;&+&\;\frac{\textcolor{#40ce80}{A_1}}{\textcolor{#FFFFFF}{5}}\textcolor{#40ce80}{cos(\omega_{bb}\,t)}.\textcolor{#FFFFFF}{cos(5\omega_{lo}\,t)}\\ +& \textcolor{#feda39}{A_3cos(3\omega_{bb}\,t)}.\textcolor{#FFFFFF}{cos(\omega_{lo}\,t)}\;&-&\;\frac{\textcolor{#feda39}{A_3}}{\textcolor{#FFFFFF}{3}}\textcolor{#feda39}{cos(3\omega_{bb}\,t)}.\textcolor{#FFFFFF}{cos(3\omega_{lo}\,t)}\;&+&\;\frac{\textcolor{#feda39}{A_3}}{\textcolor{#FFFFFF}{5}}\textcolor{#feda39}{cos(3\omega_{bb}\,t)}.\textcolor{#FFFFFF}{cos(5\omega_{lo}\,t)}\\ +& \textcolor{#e74c3c}{A_5cos(5\omega_{bb}\,t)}.\textcolor{#FFFFFF}{cos(\omega_{lo}\,t)}\;&-&\;\frac{\textcolor{#e74c3c}{A_5}}{\textcolor{#FFFFFF}{3}}\textcolor{#e74c3c}{cos(5\omega_{bb}\,t)}.\textcolor{#FFFFFF}{cos(3\omega_{lo}\,t)}\;&+&\;\frac{\textcolor{#e74c3c}{A_5}}{\textcolor{#FFFFFF}{5}}\textcolor{#e74c3c}{cos(5\omega_{bb}\,t)}.\textcolor{#FFFFFF}{cos(5\omega_{lo}\,t)} \biggr] \\ \\ =\frac{2}{\pi} \biggr[ & \textcolor{#40ce80}{A_1\{cos(\omega_{lo}-\omega_{bb})t+cos(\omega_{lo}+\omega_{bb})t\}}\;&-&\;\textcolor{#40ce80}{\frac{A_1}{3}\{cos(3\omega_{lo}-\omega_{bb})t+cos(3\omega_{lo}+\omega_{bb})t\}}\;&+&\;\textcolor{#40ce80}{\frac{A_1}{5}\{cos(5\omega_{lo}-\omega_{bb})t+cos(5\omega_{lo}+\omega_{bb})t\}}\\ +& \textcolor{#feda39}{A_3\{cos(\omega_{lo}-3\omega_{bb})t+cos(\omega_{lo}+3\omega_{bb})t\}}\;&-&\;\textcolor{#feda39}{\frac{A_3}{3}\{cos(3\omega_{lo}-3\omega_{bb})t+cos(3\omega_{lo}+3\omega_{bb})t\}}\;&+&\;\textcolor{#feda39}{\frac{A_3}{5}\{cos(5\omega_{lo}-3\omega_{bb})t+cos(5\omega_{lo}+3\omega_{bb})t\}}\\ +& \textcolor{#e74c3c}{A_5\{cos(\omega_{lo}-5\omega_{bb})t+cos(\omega_{lo}+5\omega_{bb})t\}}\;&-&\;\textcolor{#e74c3c}{\frac{A_5}{3}\{cos(3\omega_{lo}-5\omega_{bb})t+cos(3\omega_{lo}+5\omega_{bb})t\}}\;&+&\;\textcolor{#e74c3c}{\frac{A_5}{5}\{cos(5\omega_{lo}-5\omega_{bb})t+cos(5\omega_{lo}+5\omega_{bb})t\}}\biggr]\\ \end{alignat*}
i channel upconversion in tx

Q Channel Mixer Output

\[ \left[ \textcolor{#40ce80}{A_1\,\textcolor{#40ce80}{sin(\omega_{bb}\,t)}}-\textcolor{#feda39}{A_3\,\textcolor{#feda39}{sin(3\omega_{bb}\,t)}}+\textcolor{#e74c3c}{A_5\,\textcolor{#e74c3c}{sin(5\omega_{bb}\,t)}} \right]. \left[ \textcolor{#FFFFFF}{\frac{4}{\pi}\textcolor{#FFFFFF}{sin(\omega_{lo}\,t)}+\frac{1}{3}\textcolor{#FFFFFF}{sin(3\omega_{lo}\,t)}+\frac{1}{5}\textcolor{#FFFFFF}{sin(5\omega_{lo}\,t)}}\right]\\ \] \begin{alignat*}{8} \\ =\frac{4}{\pi} \biggr[ & \textcolor{#40ce80}{A_1sin(\omega_{bb}\,t)}.\textcolor{#FFFFFF}{sin(\omega_{lo}\,t)}\;&+&\;\frac{\textcolor{#40ce80}{A_1}}{\textcolor{#FFFFFF}{3}}\textcolor{#40ce80}{sin(\omega_{bb}\,t)}.\textcolor{#FFFFFF}{sin(3\omega_{lo}\,t)}\;&+&\;\frac{\textcolor{#40ce80}{A_1}}{\textcolor{#FFFFFF}{5}}\textcolor{#40ce80}{sin(\omega_{bb}\,t)}.\textcolor{#FFFFFF}{sin(5\omega_{lo}\,t)}\\ -& \textcolor{#feda39}{A_3sin(3\omega_{bb}\,t)}.\textcolor{#FFFFFF}{sin(\omega_{lo}\,t)}\;&-&\;\frac{\textcolor{#feda39}{A_3}}{\textcolor{#FFFFFF}{3}}\textcolor{#feda39}{sin(3\omega_{bb}\,t)}.\textcolor{#FFFFFF}{sin(3\omega_{lo}\,t)}\;&-&\;\frac{\textcolor{#feda39}{A_3}}{\textcolor{#FFFFFF}{5}}\textcolor{#feda39}{sin(3\omega_{bb}\,t)}.\textcolor{#FFFFFF}{sin(5\omega_{lo}\,t)}\\ +& \textcolor{#e74c3c}{A_5sin(5\omega_{bb}\,t)}.\textcolor{#FFFFFF}{sin(\omega_{lo}\,t)}\;&+&\;\frac{\textcolor{#e74c3c}{A_5}}{\textcolor{#FFFFFF}{3}}\textcolor{#e74c3c}{sin(5\omega_{bb}\,t)}.\textcolor{#FFFFFF}{sin(3\omega_{lo}\,t)}\;&+&\;\frac{\textcolor{#e74c3c}{A_5}}{\textcolor{#FFFFFF}{5}}\textcolor{#e74c3c}{sin(5\omega_{bb}\,t)}.\textcolor{#FFFFFF}{sin(5\omega_{lo}\,t)} \biggr] \\ \\ =\frac{2}{\pi} \biggr[ & \textcolor{#40ce80}{A_1\{cos(\omega_{lo}-\omega_{bb})t-cos(\omega_{lo}+\omega_{bb})t\}}\;&+&\;\textcolor{#40ce80}{\frac{A_1}{3}\{cos(3\omega_{lo}-\omega_{bb})t-cos(3\omega_{lo}+\omega_{bb})t\}}\;&+&\;\textcolor{#40ce80}{\frac{A_1}{5}\{cos(5\omega_{lo}-\omega_{bb})t-cos(5\omega_{lo}+\omega_{bb})t\}}\\ -& \textcolor{#feda39}{A_3\{cos(\omega_{lo}-3\omega_{bb})t-cos(\omega_{lo}+3\omega_{bb})t\}}\;&-&\;\textcolor{#feda39}{\frac{A_3}{3}\{cos(3\omega_{lo}-3\omega_{bb})t-cos(3\omega_{lo}+3\omega_{bb})t\}}\;&-&\;\textcolor{#feda39}{\frac{A_3}{5}\{cos(5\omega_{lo}-3\omega_{bb})t-cos(5\omega_{lo}+3\omega_{bb})t\}}\\ +& \textcolor{#e74c3c}{A_5\{cos(\omega_{lo}-5\omega_{bb})t-cos(\omega_{lo}+5\omega_{bb})t\}}\;&+&\;\textcolor{#e74c3c}{\frac{A_5}{3}\{cos(3\omega_{lo}-5\omega_{bb})t-cos(3\omega_{lo}+5\omega_{bb})t\}}\;&+&\;\textcolor{#e74c3c}{\frac{A_5}{5}\{cos(5\omega_{lo}-5\omega_{bb})t-cos(5\omega_{lo}+5\omega_{bb})t\}}\biggr]\\ \end{alignat*}
q channel upconversion in tx

I & Q Mixer Output Combined

Now this is where it gets interesting. When I and Q channel outputs are added, a lot of products cancel out. These tones are left out:

\begin{alignat*}{8} \frac{4}{\pi} \biggr[ & \textcolor{#40ce80}{A_1cos(\omega_{lo}-\omega_{bb})t}\;&-&\;\textcolor{#40ce80}{\frac{A_1}{3}cos(3\omega_{lo}+\omega_{bb})t}\;&+&\;\textcolor{#40ce80}{\frac{A_1}{5}cos(5\omega_{lo}-5\omega_{bb})t}\\ +& \textcolor{#feda39}{A_3cos(\omega_{lo}+3\omega_{bb})t}\;&-&\;\textcolor{#feda39}{\frac{A_3}{3}cos(3\omega_{lo}-3\omega_{bb})t}\;&+&\;\textcolor{#feda39}{\frac{A_3}{5}(5\omega_{lo}+3\omega_{bb})t}\\ +& \textcolor{#e74c3c}{A_5cos(\omega_{lo}-5\omega_{bb})t}\;&-&\;\textcolor{#e74c3c}{\frac{A_5}{3}cos(3\omega_{lo}+5\omega_{bb})t}\;&+&\;\textcolor{#e74c3c}{\frac{A_5}{5}cos(5\omega_{lo}-5\omega_{bb})t}\biggr]\\ \end{alignat*}

It’s also interesting to note that Primary 4FMOD always falls on the opposite side of signal and secondary 4FMOD falls on the same side. Also note that \(3\omega_{LO}\) and \(5\omega_{LO}\) related products eventually get filtered by your matching network (but before matching network, they still exist, on all the nodes of your circuits, beware), and only \(\omega_{LO}\) products make it to your antenna.

output tones at iq mixer

Story is not finished yet…

There is another dominant way Primary 4FMOD is  generated when signal (\(\omega_{lo}-\omega_{bb}\)) and 3LO upconverted signal (\(3\omega_{lo}+\omega_{bb}\)) pass through cubic non-linearity of next stage (say PA driver amplifier). They intermodulate and their IM3 lands at Primary 4FMOD [2].
When \(\omega_{lo}-\omega_{bb}\) & \(3\omega_{lo}+\omega_{bb}\) pass through Cubic non-linearity $$3a_3\left[\frac{4}{\pi}A_1\right]^2cos^2(\omega_{lo}-\omega_{bb})t\times\left[\frac{4}{\pi}\frac{-A_1}{3}\right]cos(3\omega_{lo}+\omega_{bb})t$$ where a3 is third order non-linearity coefficient of this (driver amp in our case) cubic non-linearity. Left IM3 term can now be give as: $$-\frac{a_3}{4}\left[\frac{4A_1}{\pi}\right]^3cos(\omega_{lo}+3\omega_{bb})t$$

This is also demonstrated in the image below (note: here we are showing upper sideband of signal \(\omega_{lo}+\omega_{bb}\), so primary 4fmod falls at \(\omega_{lo}-3\omega_{bb}\))

transmitter 4fmod

References:

[2] A. Mirzaei, D. Murphy and H. Darabi, “Analysis of Direct-Conversion IQ Transmitters With 25% Duty-Cycle Passive Mixers,” in IEEE Transactions on Circuits and Systems I: Regular Papers, vol. 58, no. 10, pp. 2318-2331, Oct. 2011, doi: 10.1109/TCSI.2011.2142790.

RFInsights

Date Published: 15 Oct 2022
Last Edit: 01 Feb 2023