Harmonics, IMD and IP3

The transfer function f(x) of an ideal linear amplifier is a straight line:

f(x) = k0 + k1x

Applying a sinusoidal input of amplitude A and frequency f:

x = Acos ωt
ω = 2πf

The output is an exact (scaled) replica of the input:

f(x) = k0 + k1Acos ωt

Real amplifiers are non-linear:

f(x) = k0 + k1x + k2x2 + k3x3 + k4x4 + k5x5 + ...

The additional terms constitute distortion. The 2nd and 3rd are usually the most significant:

Distortion ≈ k2x2 + k3x3

Harmonic Distortion

If x = Acos ωt the distortion is approximately

k2A2cos2 ωt + k3A3cos3 ωt

Consider the trigonometric identity 2cos2θ = 1 + cos2θ

The square term is twice the input frequency plus DC.

Consider the identity 4cos3θ = 3cosθ + cos3θ

The cube term contains components at f and 3f.

Non-linearity produces harmonics at 2f, 3f, 4f, 5f... e.t.c.

Intermodulation Distortion

Now consider what happens when there are two input frequencies f1 and f2

ω1 = 2πf1
ω2 = 2πf2
x = A1cos ω1t + A2cos ω2t

The 2nd order distortion products are:

k2(A1cos ω1t + A2cos ω2t)2 = k2( A12cos2 ω1t + 2A1A2cos ω1t cos ω2t + A22cos2 ω2t)

The cos2 terms are harmonic distortion i.e. 2f1 and 2f2 as demonstrated above. In addition, we also have the product:

2A1A2cos ω1t cos ω2t

This is called intermodulation distortion because the signals modulate one another (like in a mixer).

Consider the identity 2 cos(α) cos(β) = cos(α − β) + cos(α + β)

The 2nd order products are the sum and difference frequencies f1+f2 and f1-f2.

It gets even more complicated when the 3rd order products are included:

  Harmonic Intermodulation
2nd 2f1
2f2
f1±f2
3rd 3f1
3f2
2f1±f2
2f2±f1

There will be 4th, 5th and higher products, but 2f1-f2 and 2f2-f1 are usually the most important because they're the strongest close to f1 and f2.

Third Order Intercept

In radio systems, we're most concerned with spurii within the IF passband such as the 3rd order intermodulation products 2f1-f2 and 2f2-f1.

Consider a system with two inputs of amplitude A

x = A cos ω1t + A cos ω2t

The wanted output is

f(x) = k0 + k1A cos ω1t + k1A cos ω2t

The output amplitude is k1A

By expanding k3x3 the amplitude of the 2f1-f2 and 2f2-f1 products can be shown to be ¾ k3A3

For every 3dB increase in input, the wanted output rises by 3dB but the IMD3 products rise by 9dB because they're proportional to the cube of amplitude. The point where they would overtake is the third order intercept point (IP3). It's an imaginary point; real receivers overload first.

IP3 is an industry standard figure of merit used to rate the linearity of receivers and other signal processing systems. High IP3 equals good linearity. Good linearity equals immunity to intermodulation distortion caused by strong signals on adjacent frequencies.

IP3 is measured by applying sufficient input to reveal spurii without overloading. Two signal generators and a spectrum analyzer are required. The gap between the spurii and the wanted outputs should close by 6dB for a 3dB increase in input. The intercept point is calculated by extrapolating.

IP3 = (O-S)/2 + I

O = Wanted output (dBm)
S = 3rd order spurious response (dBm)
I = Input level (dBm)
IP3 = 3rd order input intercept (dBm)

Figures for good receivers exceed +30dBm. The spacing of the carriers used to perform the test should be quoted. This will typically be 10 or 20KHz. For a signal processing stage such as a mixer, which has gain or insertion loss, IP3 may be quoted relative to the input or the output. A mixer with a conversion gain of 10dB and output intercept of +18dBm has an input intercept of +8dBm.


Mathematical prediction of IMD products

Consider the identity:

2 cos(α) cos(β) = cos(α − β) + cos(α + β)

From this alone, we can derive:

2cos2θ = 1 + cos2θ
4cos3θ = 3cosθ + cos3θ
4cosθ cos2φ = 2cosθ + cos(θ − 2φ) + cos(θ + 2φ)

The transfer function of a non-linear system is:

f(x) = k0 + k1x + k2x2 + k3x3 + k4x4 + k5x5 + ...

Apply tones of equal amplitude (A) to the input:

x = A cos ω1t + A cos ω2t
x2 = A2 (cos2 ω1t + 2 cos ω1t cos ω2t + cos2 ω2t)
x3 = A3 (cos3 ω1t + 3 cos ω1t cos2 ω2t + 3 cos2 ω1t cos ω2t + cos3 ω2t)

The expansion of x2 is:

x2 = A2 ( cos2 ω1t +   = ½ . A2 ( 1 + cos 2ω1t +  
  2 cos ω1t cos ω2t +   2 cos (ω1 − ω2)t + 2 cos (ω1 + ω2)t +  
cos2 ω2t) 1 + cos 2ω2t)  
We have: DC, 2f1, 2f2, f1±f2.

The expansion of x3 is:

x3 = A3 ( cos3 ω1t +   = ¼ . A3 ( 3 cos ω1t + cos 3ω1t +  
  3 cos ω1t cos2 ω2t +   6 cos ω1t + 3 cos (ω1 − 2ω2)t + 3 cos (ω1 + 2ω2)t +  
3 cos ω2t cos2 ω1t + 6 cos ω2t + 3 cos (ω2 − 2ω1)t + 3 cos (ω2 + 2ω1)t +  
cos3 ω2t) 3 cos ω2t + cos 3ω2t)  
We have: f1, f2, 3f1, 3f2, 2f1±f2, 2f2±f1. Note: x3 contains energy at the fundamental (input) frequencies.

The amplitudes of the IM3 products (2f1 − f2) and (2f2 − f1) are proportional to A3 :

3/4 . k3 . A3

The amplitudes of the fundamental tones f1 and f2 are:

k1.A  +  9/4 . k3 . A3

Intermodulation ratio, the ratio of tones to products, is typically 40-80dB when measuring IP3. At this relative power level:

k1.A  +  9/4 . k3 . A3   ≈   k1.A

Raising input amplitude (A) by 1dB, increases the IM3 products by 3dB. The output tones are frequently stated to rise by 1dB, but this is an approximation - they may rise a fraction more: perhaps 1% more, depending on the intermod ratio. Note: this analysis ignores terms above 3rd order.