Harmonic Distortion
Overview
This tutorial is part of the National Instruments Measurement Fundamentals series. Each tutorial in this series teaches you a specific topic of common measurement applications by explaining the theory and giving practical examples. This tutorial covers an introduction to RF, wireless, and high-frequency signals and systems.
For the complete list of tutorials, return to the NI Measurement Fundamentals main page, or for more RF tutorials, refer to the NI RF Fundamentals main subpage. For more information about National Instruments RF products, visit www.ni.com/rf.
Table of Contents
Harmonic Distortion
In an ideal system, the fast Fourier transform (FFT) of a sinusoid would result in a single peak at a specific frequency. However, in real-world systems, non-linearity and noise result in imperfections. When a signal of a particular frequency f1 passes through a nonlinear system, the output of the system consists of f1 and its harmonics. The following figure demonstrates this relationship.

Figure 1. Fundamental Frequency f1 With Second and Third Harmonics
Harmonic distortion is a measure of the amount of power contained in the harmonics of a fundamental signal. Harmonic distortion is inherent to devices and systems that possess nonlinear characteristics—the more nonlinear the device, the greater its harmonic distortion.
Calculating Harmonic Distortion
Harmonic distortion can be expressed as a power ratio or as a percentage ratio. Use the following formula to express it as a power ratio.
where PHD is the power of the harmonic distortion in dBc, Pfund is the fundamental signal power in dB or dBm, and Pharm is the power of the harmonic of interest in dB or dBm.
Convert power to voltage and use the following equation to express harmonic distortion as a percentage ratio.
In some applications, the harmonic distortion is measured as a total percentage harmonic distortion (THD). This measurement requires the power summation of all the harmonics in the spectrum band, as defined in the following equation:

Testing for Harmonic Distortion
A typical setup to perform a harmonic distortion measurement is shown in the following figure. A lowpass filter or bandpass filter passes the fundamental signal to the unit under test (UUT) while suppressing its harmonics. This setup injects a clean sinusoidal signal into the UUT. Any harmonic content at the UUT output is assumed to be generated by the UUT rather than the signal source.

Figure 2. Typical Harmonic Distortion Measurement Setup
Harmonic distortion can be effectively reduced in any real-world system through the use of lowpass or bandpass filtering.
Related Products
NI PXIe-5663 6.6 GHz RF Vector Signal Analyzer
The National Instruments PXIe-5663 is a modular 6.6 GHz RF vector signal analyzer with 50 MHz of instantaneous bandwidth optimized for automated test.
NI PXIe-5673 6.6 GHz RF Vector Signal Generator
The National Instruments PXIe-5673 is a 4-slot 6.6 GHz RF vector signal generator that delivers signal generation from 85 MHz to 6.6 GHz, 100 MHz of instantaneous bandwidth, and up to 512 MB of memory.
NI PXI-5660 2.7 GHz RF Vector Signal Analyzer
The National Instruments PXI-5660 is a modular 2.7 GHz RF vector signal analyzer with 20 MHz of instantaneous bandwidth optimized for automated test.
NI PXI-5671 2.7 GHz RF Vector Signal Generator
The National Instruments PXI-5671 module is a 3-slot RF vector signal generator that delivers signal generation from 250 kHz to 2.7 GHz, 20 MHz of instantaneous bandwidth, and up to 512 MB of memory.
NI PXI-5652 6.6 GHz RF and Microwave Signal Generator
The National Instruments PXI-5652 6.6 GHz RF and microwave signal generator is continuous-wave with modulation capability. It is excellent for setting up stimulus response applications with RF signal analyzers.
NI RF Switches
The National Instruments RF switch modules are ideal for expanding the channel count or increasing the flexibility of systems with signal bandwidths greater than 10 MHz to bandwidths as high as 26.5 GHz.
NI LabVIEW
National Instruments LabVIEW is an industry-leading graphical software tool for designing test, measurement, and automation systems.
NI Modulation Toolkit
The National Instruments Modulation Toolkit extends the built-in analysis capability of LabVIEW with functions and tools for signal generation, analysis, visualization, and processing of standard and custom digital and analog modulation formats.
Conclusion
For the complete list of tutorials, return to the NI Measurement Fundamentals main page, or for more RF tutorials, refer to the NI RF Fundamentals main subpage. For more information about National Instruments RF products, visit www.ni.com/rf.
Reader Comments | Submit a comment »
Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
