Harmonic Distortion Measurement
Overview
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.
Table of Contents
Measuring 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 the powers to voltages 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 involves the power summation of all the harmonics in the spectrum band, defined in the following equation:

A typical setup to perform a harmonic distortion measurement is shown in the figure below. A single tone is generated by the PXI-565x RF Signal Generator, with this signal then passed through a lowpass or bandpass filter to suppress any harmonics. This setup injects a very clean sinusoidal signal into the unit under test (UUT) so that any harmonic content at the UUT output can be assumed to be generated by the UUT instead of the signal source.
Typical Harmonic Distortion Measurement Setup
Understanding the RF Vector Signal Analyzer (VSA) Harmonic Distortion Limits
The level of internal distortion is a function of the linearity of the system, which is primarily determined at the input mixer. Increasing input power at the mixer increases distortion, so if the input signal is too high, the internally generated harmonics can overwhelm the harmonics of the original signal.
The specifications for the second- and third-order harmonic intercept points provide sufficient information about the linearity of the system. For example, to measure a second-order harmonic at –70 dBc, the fundamental power at the mixer input has to satisfy the following condition:
where IIP2 is the second-order intercept point.
If the input signal power is greater than this value, the signal must be attenuated before the first mixer. There is an upper limit on the amount of attenuation you can switch in because the noise floor rises by the same amount as the attenuation. To lower the noise level decrease the resolution bandwidth, but keep in mind that there is also a practical lower limit on the resolution bandwidth. Decreasing the resolution bandwidth increases measurement time.
The harmonic distortion dynamic range (HDDR) indicates the minimum distortion the RF VSA can measure, which is about –96 dBc/Hz for the RF VSA.
Choosing an Optimal Setting for the RF VSA
Because the level of harmonic distortion is often unknown, the optimal attenuation level can be difficult to determine. Complete the following steps to find the proper attenuation setting for the RF VSA:
1. Set the attenuation so that the input power at the mixer is about –30 dBm. When using the RF Signal Analyzer Demo Panel, mixer level = reference level – attenuation.
2. Tune to the harmonic frequency of interest and then decrease the resolution bandwidth until the harmonic spur appears.
3. Increase the attenuation level. If the harmonic spur decreases, attenuate more.
4. Repeat step 3 until the harmonic level does not decrease any further. Attenuation does not lower the harmonics of the original signal; it only lowers the internally generated ones.
5. Decrease the resolution bandwidth to lower the noise floor.
This setting is the optimal attenuation setting.
Resources
Common RF and Microwave Measurements
This is the main page of a series of tutorials focused on common RF measurements involving signal generators and analyzers.
Related Products
| 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 real-time 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 real-time 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 The National Instruments PXI-5660 is a modular 2.7 GHz RF vector signal analyzer optimized for automated test. It provides high-throughput RF measurements in a compact, 3U PXI package. 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. NI Spectral Measurements Toolkit The National Instruments Spectral Measurements Toolkit provides a set of flexible spectral measurements in LabVIEW and LabWindows/CVI, including power spectrum, peak power and frequency, in-band power, adjacent-channel power, and occupied bandwidth, as well as 3D spectrogram capabilities. NI Advanced Signal Processing Toolkit The National Instruments LabVIEW Signal Processing Toolkit is a suite of software tools, example programs, and utilities for time-frequency analysis, time-series analysis, and wavelets. It also includes a full version of the NI LabVIEW Digital Filter Design Toolkit. which is also available separately. NI Digital Filter Design Toolkit The National Instruments Digital Filter Design Toolkit extends LabVIEW with functions (LabVIEW VIs that install into the palette) and interactive tools for design, analysis, and implementation of digital filters. |
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/).
