---
title: Nonlinearity and intermodulation
heading: Power-series models, harmonics, gain compression, third-order intermodulation and the intercept point, cascades and spurious-free dynamic range
eyebrow: S6 · Lesson 31 · Nonlinearity and intermodulation
xp: 50
---

::: hook
Noise sets the weakest signal a receiver can hear; nonlinearity sets the strongest it can handle. No amplifier is perfectly linear, and when two strong signals pass through one, its curvature mixes them into new frequencies. Some of those, the third-order products at $2f_1 - f_2$ and $2f_2 - f_1$, land right next to the original signals, inside the band, where no filter can remove them. A strong station on one channel and another two channels away can together create interference on the channel between them. The third-order intercept point puts a single number on how well a component resists this, and with the noise figure it sets a receiver's dynamic range.
:::

::: play
- Output power against input power for an amplifier of gain G and input intercept point IIP3: the ideal linear output (dotted), the output compressed by a cubic term (solid) and the third-order intermodulation products of a two-tone test (dashed).
- The IM3 products rise 3 dB for every 1 dB of input. Extended, the two straight lines meet at the intercept point, input IIP3, output IIP3 + G.
- The 1 dB compression point sits 9.6 dB below the intercept for a cubic nonlinearity.
:::
:::

```sim plot
view: graph
x: P = -50..20 dBm
y: O = -100..40 dBm
slider: G = 5..30 = 15 dB
slider: I = -10..25 = 10 dBm
plot: G + P | samples: 200 | dotted | label: linear extrapolation
plot: G + P + 20*log(abs(1 - 10^((P - I)/10)) + 1e-9) | samples: 600 | label: fundamental with cubic compression
plot: G + 3*P - 2*I | samples: 200 | dashed | color: ch2 | label: IM3 product (each tone at P)
readout: OIP3, dBm = I + G
readout: input 1 dB compression, dBm = I - 9.64
```

::: predict
## In a two-tone test, the input tones drop by 10 dB each. By how much do the third-order intermodulation products fall?

- [ ] 10 dB
- [ ] 20 dB
- [x] 30 dB
- [ ] They stay the same

::: reveal
30 dB. The products come from the cubic term, so their amplitude goes as the cube of the input amplitude: 3 dB per dB. That's what makes the intercept point useful: the gap between the wanted tones and the IM3 products shrinks by 2 dB for every 1 dB increase in drive, so one measurement at any level predicts all others.
:::
:::

::: nameit
## Power-series model

Write the output as $v_o = a_1v_i + a_2v_i^2 + a_3v_i^3 + \cdots$.

- One tone $A\cos\omega t$: harmonics at 2ω (from $a_2$) and 3ω (from $a_3$), and the fundamental becomes $\left(a_1 + \frac{3}{4}a_3A^2\right)A$. With $a_3$ opposite in sign to $a_1$, the gain falls: **gain compression**. The **1 dB compression point** P1dB is where the gain has dropped by 1 dB.
- Two tones at $\omega_1, \omega_2$: second-order products at $\omega_1 \pm \omega_2$ (usually out of band) and third-order products at $2\omega_1 - \omega_2$ and $2\omega_2 - \omega_1$, close to the signals, of amplitude $\frac{3}{4}a_3A^3$.

## The third-order intercept

The fundamental grows 1 dB per dB, the IM3 products 3 dB per dB; their straight-line extensions meet at the **third-order intercept**, IIP3 at the input and OIP3 = IIP3 + G at the output. From one measurement:

$$\text{OIP3} = P_\text{out} + \frac{P_\text{out} - P_\text{IM3}}{2}, \qquad P_\text{IM3} = G + 3P_\text{in} - 2\,\text{IIP3}$$

(all per tone, in dBm). For a pure cubic, input P1dB ≈ IIP3 − 9.6 dB.

## Cascades and dynamic range

Referred to the input, with powers in milliwatts:

$$\frac{1}{\text{IIP3}} = \frac{1}{\text{IIP3}_1} + \frac{G_1}{\text{IIP3}_2} + \frac{G_1G_2}{\text{IIP3}_3} + \cdots$$

Gain in front helps noise (Friis) but hurts linearity, so the two pull the design in opposite directions. **Spurious-free dynamic range** is the range of input powers over which the signal is above the noise floor while the IM3 products stay below it:

$$\text{SFDR} = \frac{2}{3}\left(\text{IIP3} - N_\text{floor}\right), \qquad N_\text{floor} = -174 + 10\log B + \text{NF}\text{ (dBm)}$$
:::

::: example
## A two-tone test puts −20 dBm per tone into an amplifier with 15 dB gain. The IM3 products appear at −65 dBm. Find OIP3, IIP3 and the input P1dB.

::: solution
1. **Output level.**
   $$P_\text{out} = -5\ \text{dBm}$$
   which is 60 dB above the products.
2. **OIP3.**
   $$\begin{aligned} \text{OIP3} &= -5 + 60/2 \\ &= 25\ \text{dBm} \end{aligned}$$
3. **IIP3.**
   $$\begin{aligned} \text{IIP3} &= 25 - 15 \\ &= 10\ \text{dBm} \end{aligned}$$
4. **Input P1dB.**
   $$\begin{aligned} P_\text{1dB} &\approx 10 - 9.6 \\ &= 0.4\ \text{dBm} \end{aligned}$$
5. **Check.** At −20 dBm in,
   $$\begin{aligned} P_\text{IM3} &= 15 - 60 - 20 \\ &= -65\ \text{dBm} \end{aligned}$$

**Answer:** OIP3 = 25 dBm, IIP3 = 10 dBm and the input P1dB is about 0.4 dBm.
:::
:::

::: example
## An LNA (gain 15 dB, IIP3 0 dBm) drives a mixer (IIP3 +10 dBm). What's the cascade's IIP3, and its SFDR with a 3 dB noise figure in 1 MHz?

::: solution
1. **Cascade IIP3.**
   $$\begin{aligned} \frac{1}{\text{IIP3}} &= \frac{1}{1\text{ mW}} + \frac{31.6}{10\text{ mW}} \\ &= 4.16\ \text{mW}^{-1} \end{aligned}$$
2. **In dBm.** The mixer, behind 15 dB of gain, dominates:
   $$\begin{aligned} \text{IIP3} &= 0.240\ \text{mW} \\ &= -6.2\ \text{dBm} \end{aligned}$$
3. **Noise floor.**
   $$\begin{aligned} N &= -174 + 60 + 3 \\ &= -111\ \text{dBm} \end{aligned}$$
4. **SFDR.**
   $$\begin{aligned} \text{SFDR} &= \tfrac{2}{3}(-6.2 + 111) \\ &= 69.9\ \text{dB} \end{aligned}$$

**Answer:** the cascade's IIP3 is −6.2 dBm and its SFDR 69.9 dB.
:::
:::

::: example
## An amplifier with 20 dB gain and OIP3 = +30 dBm receives two tones of −10 dBm each. How far below the tones are the IM3 products, and what happens if each tone rises by 5 dB?

::: solution
1. **Output level.** Each tone leaves at +10 dBm.
2. **IM3 products.** They sit 40 dB below the tones:
   $$\begin{aligned} 3P_\text{out} - 2\,\text{OIP3} &= 30 - 60 \\ &= -30\ \text{dBm} \end{aligned}$$
   The carrier-to-IM ratio is $2(\text{OIP3} - P_\text{out})$.
3. **Tones 5 dB stronger.** At +15 dBm out, the products rise to −15 dBm, only 30 dB down: 5 dB more signal costs 10 dB of spectral purity, which is why transmitters back off from compression.

**Answer:** the IM3 products are 40 dB below the tones; with each tone 5 dB stronger they are only 30 dB down.
:::
:::

::: check
given: P = -15 | -5 | 5; M = -80 | -60 | -45
answer: P + (P - M)/2
unit: dBm
tolerance: 0.05

## In a two-tone test the output is {P} dBm per tone and the IM3 products are at {M} dBm. What's OIP3?

::: right
Right. $P_\text{out} + (P_\text{out} - P_\text{IM3})/2$ = {answer} dBm.
:::

::: misses
- [P + (P - M)] The gap closes 2 dB per dB of drive: halve it.
- [P + (P - M)/3] The products rise 3 dB per dB but the gap closes at 2 dB per dB: divide by 2.
- [any] Not yet. OIP3 = $P_\text{out}$ + ΔIM/2.
:::
:::

::: check
given: G = 10 | 20 | 28; P = -40 | -25 | -10; I = -5 | 5 | 15
answer: G + 3*P - 2*I
unit: dBm
tolerance: 0.05

## An amplifier with gain {G} dB and IIP3 of {I} dBm receives two tones of {P} dBm each. At what level are the IM3 products?

::: right
Right. $G + 3P_\text{in} - 2\,\text{IIP3}$ = {answer} dBm.
:::

::: misses
- [3*P - 2*I] Add the gain: the products are at the output.
- [G + 3*P - 3*I] It's 2 IIP3: the products equal the fundamental at the intercept.
- [any] Not yet. $P_\text{IM3} = G + 3P_\text{in} - 2\,\text{IIP3}$.
:::
:::

::: check
given: a = -5 | 0 | 5; G = 10 | 15 | 20; b = 5 | 12 | 18
answer: -10*log(10^(-a/10) + 10^(G/10)*10^(-b/10))
unit: dBm
tolerance: 0.05

## A stage with IIP3 {a} dBm and gain {G} dB drives a stage with IIP3 {b} dBm. What's the cascade's IIP3?

::: right
Right. Reciprocals add in mW, the second scaled by $G_1$: {answer} dBm.
:::

::: misses
- [-10*log(10^(-a/10) + 10^(-b/10))] The second stage sees the first's gain: multiply its term by $G_1$.
- [any] Not yet. $1/\text{IIP3} = 1/\text{IIP3}_1 + G_1/\text{IIP3}_2$, in milliwatts.
:::
:::

::: check
given: I = -15 | -5 | 10; B = 0.03 | 1 | 20; N = 2 | 5 | 10
answer: 2/3*(I - (-174 + 10*log(B*1e6) + N))
unit: dB
tolerance: 0.05

## A receiver has IIP3 {I} dBm, {N} dB noise figure and {B} MHz bandwidth. What's its spurious-free dynamic range?

::: right
Right. $\frac{2}{3}$(IIP3 − noise floor) = {answer} dB.
:::

::: misses
- [I - (-174 + 10*log(B*1e6) + N)] Only two thirds of that range is free of spurious products.
- [any] Not yet. Noise floor $-174 + 10\log B + \text{NF}$, then $\frac{2}{3}$ of the gap.
:::
:::

::: check
given: f = 900 | 2400 | 5800; d = 0.2 | 1 | 5
answer: 2*f - (f + d)
unit: MHz
tolerance: 0.001%

## Two tones at {f} MHz and {f} + {d} MHz pass through an amplifier. Where is the lower third-order product?

::: right
Right. $2f_1 - f_2$ = {answer} MHz, just below the lower tone.
:::

::: misses
- [2*(f + d) - f] That's the upper product, $2f_2 - f_1$.
- [any] Not yet. $2f_1 - f_2$.
:::
:::

::: check
given: I = -8 | 3 | 12 | 22
answer: I + 10*log(1 - 10^(-1/20))
unit: dBm
tolerance: 0.05

## A component's nonlinearity is a pure cubic with IIP3 = {I} dBm. Where is its input 1 dB compression point?

::: right
Right. About 9.6 dB below the intercept: {answer} dBm.
:::

::: misses
- [I - 1] The compression point is far below the intercept.
- [any] Not yet. Solve $1 - (A/A_\text{IP3})^2 = 10^{-1/20}$.
:::
:::

::: check
kind: parts
given: O = 20 | 30 | 40; G = 10 | 20; P = -30 | -20 | -10

## An amplifier with OIP3 = {O} dBm and {G} dB of gain receives two tones of {P} dBm each.

::: part
answer: 3*(P + G) - 2*O
unit: dBm
tolerance: 0.5%

### At what level are the output IM3 products?

::: misses
- [any] $3P_\text{out} - 2\,\text{OIP3}$.
:::
:::

::: part
answer: 2*(O - P - G)
unit: dB
tolerance: 0.5%

### How far below each tone are they?

::: misses
- [O - P - G] The gap is twice the distance from the output to OIP3.
- [any] $2(\text{OIP3} - P_\text{out})$.
:::
:::
:::

::: check
kind: derivation
vars: G = 0..30, I = -10..30, P = -60..0

## An amplifier with gain G (dB) and IIP3 I (dBm) receives two tones of P dBm each.

::: step
answer: G + P

### What output power does each tone have?
:::

::: step
answer: G + 3*P - 2*I

### At what level are the IM3 products?
:::

::: step
answer: 2*(I - P)

### How many dB below the tones are they?
:::

::: right
Right. Every dB of input brings the products 2 dB closer to the tones.
:::
:::

::: explain
## Why can't a filter remove the third-order intermodulation products of two nearby strong signals?

::: model
When two signals at $f_1$ and $f_2$ pass through a nonlinearity with a cubic term, products appear at $2f_1 - f_2$ and $2f_2 - f_1$. If the two signals are close together, say two channels 1 MHz apart, these products land 1 MHz below the lower signal and 1 MHz above the upper one, right among the channels the receiver is supposed to receive. Any filter that passes the wanted channel passes them too, because they're at the same kind of frequency, and they were created inside the amplifier, after any filter in front of it could have helped. The only remedies are more linear components, less gain before the sensitive stages, or filtering strong out-of-channel signals before they reach the nonlinearity.
:::
:::

::: practice

::: check
given: P = -10 | 0; M = -70 | -50
answer: P + (P - M)/2
unit: dBm
tolerance: 0.05

## OIP3: output {P} dBm per tone, IM3 at {M} dBm?

::: misses
- [any] $P_\text{out}$ + ΔIM/2.
:::
:::

::: check
given: a = -10 | 2; G = 12 | 22; b = 8 | 18
answer: -10*log(10^(-a/10) + 10^(G/10)*10^(-b/10))
unit: dBm
tolerance: 0.05

## Cascade IIP3: {a} dBm, {G} dB gain, then {b} dBm?

::: misses
- [any] $1/I = 1/I_1 + G_1/I_2$ in mW.
:::
:::

::: check
given: I = -10 | 5; B = 0.2 | 10; N = 3 | 8
answer: 2/3*(I - (-174 + 10*log(B*1e6) + N))
unit: dB
tolerance: 0.05

## SFDR: IIP3 {I} dBm, {B} MHz, NF {N} dB?

::: misses
- [any] $\frac{2}{3}$(IIP3 − floor).
:::
:::
:::
