When you feed a pure sine wave into an amplifier, a loudspeaker or any other device, the output is never perfectly pure. Small copies of the signal appear at whole-number multiples of its frequency: the harmonics. The total harmonic distortion (THD) is the size of those unwanted harmonics relative to the wanted fundamental. It is a standard figure on audio and power electronics data sheets.
How the calculation works
- THD = √(V₂² + V₃² + V₄² + V₅²) ÷ V₁ × 100
- In decibels = 20 × log₁₀(THD ÷ 100)
- Fundamental above harmonics = −20 × log₁₀(THD ÷ 100)
Here V₁ is the fundamental and V₂ to V₅ are the harmonics, all measured in the same unit. The harmonics add as the square root of the sum of their squares, because they are at different frequencies.
Example
A fundamental of 1 V with harmonics of 0.02, 0.015, 0.01 and 0.005 V gives √0.00075 = 0.0274, so the THD is 2.74%, or −31.2 dB. The fundamental is about 31.2 dB above the harmonic content, and it forms 99.96% of the total signal’s amplitude.
What distortion sounds like
Even harmonics (2nd, 4th) tend to sound warm and are less objectionable, while odd harmonics (3rd, 5th) sound harsher. Distortion also changes with level: it generally increases at high output, near clipping. A single THD figure at one power level does not tell the whole story, so check the conditions of the measurement.
Measuring it
THD is measured with a spectrum analyzer or an audio analyzer, using a clean test tone. List the harmonics up to the fifth, or more for fine work. Because higher harmonics are typically much smaller, the first few dominate the result.
Reducing distortion
Distortion in an amplifier usually falls when you add negative feedback, lower the output level or choose a part with more headroom. In a loudspeaker, a larger driver working at a lower excursion distorts less. Keep in mind that a low THD figure does not guarantee a good sound, since the ear is also sensitive to other characteristics such as frequency response.