How to measure the distortion of an audio amplifier with a spectrum analyzer

  • Use of spectrum analyzers to identify harmonics and calculate THD.
  • Critical configuration of resolution and video bandwidth to optimize the signal.
  • Composite signal measurement techniques and input attenuation management.

Screen of a digital spectrum analyzer showing the fundamental frequency and its harmonics, representing the distortion of an amplifier.

If you work in audio or electronics, you know that achieving linearity in an amplifier is a constant struggle. To truly understand what's happening with the signal, a spectrum analyzer is the essential tool , as it allows us to visualize frequency components that a simple multimeter would never show.

Although it may seem like a complex instrument, and sometimes a bit prohibitively expensive, mastering its settings is essential. It's not just about plugging it in and looking at it, but about configuring the equipment correctly so that noise doesn't interfere and we can distinguish the useful signal from annoying harmonic distortions.

Technical configuration of the spectrum analyzer

Electronics laboratory equipped with oscilloscopes and technical measuring tools.

To obtain a reliable reading, you need to adjust the resolution bandwidth (RBW). Essentially, this parameter acts as a filter; reducing it significantly lowers the background noise , allowing you to see very weak signals that would otherwise be lost. However, there are some drawbacks, as a very narrow RBW makes the scan much slower because the filter takes longer to stabilize.

On the other hand, we have video bandwidth (VBW). Unlike the previous factor, VBW doesn't change the ability to separate signals; instead, it smooths the visual trace . It's like applying a smoothing filter to the graph to make it less twitchy, although it doesn't affect the actual power measurement.

Distortion measurement and signal analysis

Close-up of a digital oscilloscope on a laboratory workbench.

When analyzing distortion, the ideal approach is to input a pure sine wave signal. If the amplifier distorts, peaks will appear at multiples of the original frequency, known as harmonics. In more advanced environments, digitally modulated signals are used to measure the magnitude error vector (MEV) and analyze the AM/AM curve, even allowing for the application of digital predistortion to correct these imperfections.

If you're dealing with a signal consisting of a very strong carrier and a weak sideband, the trick is to adjust the frequency range to exclude the carrier frequency. This prevents overloading the analyzer's mixer stage. Regarding the reference level, it's best to set it slightly above the power of the sideband you're interested in, provided you've adjusted the input attenuation to avoid damaging the equipment.

Alternatives when you don't have an analyzer on hand

A technician focused on analyzing electronic signals in a studio environment.

Let's be honest: not everyone has a spectrum analyzer in their garage. If you're in a pinch, you can try an indirect method using a True-RMS tester and an oscilloscope. The idea is to measure the total RMS voltage at the output and compare it to the peak of the first harmonic (using a low-pass filter to isolate it). Using mathematical formulas, you can calculate the THD (Total Harmonic Distortion) by subtracting the power of the fundamental from the total RMS value, although this is a much more tedious and less precise approach.

The key to successful analysis lies in the balance between sweep speed and selectivity. Ultimately, measuring distortion involves identifying unwanted harmonics and managing noise by correctly selecting the RBW and VBW, ensuring that input attenuation protects the equipment while maintaining the necessary sensitivity to detect amplifier anomalies.


Add as preferred source in Google