Learn about total harmonic distortion as a metric for signal distortion, its effects on audio quality, and relevance in electronic device evaluation.
An ideal amplifier reproduces the input signal at the output, only amplified. A real amplifier distorts it: to a pure tone it adds components at multiple frequencies, the harmonics, which were not in the original signal. The total harmonic distortion (THD) measures how strong this distortion is, and it is one of the most cited specifications in datasheets of amplifiers, converters, and audio sources [1][2][3][4].
If the input is a sinusoidal tone at frequency $f_1$, the output contains the fundamental with amplitude $V_1$ and harmonics at $2f_1$, $3f_1$, ... with amplitudes $V_2$, $V_3$, ... The THD is the ratio between the RMS value of the harmonics and that of the fundamental:
$$\mathrm{THD} = \frac{\sqrt{V_2^2 + V_3^2 + V_4^2 + \dots}}{V_1}$$
It is expressed as a percentage or in decibels, $20\log_{10}\mathrm{THD}$: a THD of $1\ \%$ corresponds to $-40\ \mathrm{dB}$ and one of $0.01\ \%$ to $-80\ \mathrm{dB}$. There is an alternative definition that divides by the RMS value of the entire signal instead of the fundamental: it coincides with the first for small distortions but remains limited to $100\ \%$ [1][2][3][4].
The THD+N includes in the numerator also noise and non-harmonic spurious components present in the considered band, and gives an overall measure of the difference between signal and reference; it is the value most often used for audio sources. Intermodulation distortion is measured with two simultaneous tones and reveals mixing products at sum and difference frequencies, which are more annoying to the ear than harmonic distortion alone [1][2][3].
Distortion arises from the nonlinearity of the characteristics of active components (bipolar exponential, MOSFET quadratic law), from clipping when the output reaches the supply rails, from crossover distortion in class B and AB stages, and from saturation of transformer magnetic cores. A symmetric nonlinearity produces odd harmonics, an asymmetric one also even harmonics. Negative feedback reduces distortion by the same factor by which it reduces gain, and it is the main means to achieve very low THD [1][2][3][4].
Measurement is done by applying a very pure tone, often at $1\ \mathrm{kHz}$, and measuring the output with a spectrum analyzer or a distortion analyzer, or with a converter and a discrete Fourier analysis. THD depends on frequency, amplitude, and load: it must always be referenced to the measurement conditions, and typically increases with amplitude up to the clipping threshold and with frequency due to loop gain reduction [1][2][4].
Output with fundamental of $1\ \mathrm{V}$ RMS and harmonics of $10\ \mathrm{mV}$ (second), $5\ \mathrm{mV}$ (third), and $2\ \mathrm{mV}$ (fourth).
1. Sum of squares: $10^2 + 5^2 + 2^2 = 129\ \mathrm{mV^2}$.
2. RMS value of harmonics: $\sqrt{129} = 11.36\ \mathrm{mV}$.
3. THD: $11.36\ \mathrm{mV}/1\ \mathrm{V} = 1.14\ \%$, that is $-38.9\ \mathrm{dB}$.
4. The second harmonic alone is worth $1.0\ \%$: it dominates the result.
5. To achieve a THD of $0.01\ \%$ ($-80\ \mathrm{dB}$) the harmonics should sum to $0.1\ \mathrm{mV}$ or less, that is $114$ times less.
THD is used to characterize audio amplifiers, analog-to-digital and digital-to-analog converters, power supplies (distortion of the current drawn from the mains), and signal generators.
[1] Wikipedia (it): Distorsione armonica totale
[2] Wikipedia (en): Total harmonic distortion
[3] Wikipedia (de): Klirrfaktor
[4] Wikipedia (fr): Taux de distorsion harmonique
Generating summary…