Total harmonic distortion

Last updated

The total harmonic distortion (THD or THDi) is a measurement of the harmonic distortion present in a signal and is defined as the ratio of the sum of the powers of all harmonic components to the power of the fundamental frequency. Distortion factor, a closely related term, is sometimes used as a synonym.

Contents

In audio systems, lower distortion means the components in a loudspeaker, amplifier or microphone or other equipment produce a more accurate reproduction of an audio recording.

In radio communications, devices with lower THD tend to produce less unintentional interference with other electronic devices. Since harmonic distortion tends to widen the frequency spectrum of the output emissions from a device by adding signals at multiples of the input frequency, devices with high THD are less suitable in applications such as spectrum sharing and spectrum sensing. [1]

In power systems, lower THD implies lower peak currents, less heating, lower electromagnetic emissions, and less core loss in motors. [2] IEEE std 519-2014 covers the recommended practice and requirements for harmonic control in electric power systems. [3]

Definitions and examples

To understand a system with an input and an output, such as an audio amplifier, we start with an ideal system where the transfer function is linear and time-invariant. When a sinusoidal signal of frequency ω passes through a non-ideal, non-linear device, additional content is added at multiples nω (harmonics) of the original frequency. THD is a measure of that additional signal content not present in the input signal.

When the main performance criterion is the ″purity″ of the original sine wave (in other words, the contribution of the original frequency with respect to its harmonics), the measurement is most commonly defined as the ratio of the RMS amplitude of a set of higher harmonic frequencies to the RMS amplitude of the first harmonic, or fundamental, frequency [1] [2] [4] [5] [6] [7] [8] [9]

where Vn is the RMS value of the nth harmonic voltage and V1 is the RMS value of the fundamental component.

In practice, the THDF is commonly used in audio distortion specifications (percentage THD); however, THD is a non-standardized specification and the results between manufacturers are not easily comparable. Since individual harmonic amplitudes are measured, it is required that the manufacturer disclose the test signal frequency range, level and gain conditions, and number of measurements taken. It is possible to measure the full 20–20 kHz range using a sweep (though distortion for a fundamental above 10 kHz is inaudible).

Measurements for calculating the THD are made at the output of a device under specified conditions. The THD is usually expressed in percent or in dB relative to the fundamental as distortion attenuation.

A variant definition uses the fundamental plus harmonics as the reference, though usage is discouraged: [4] [10] [11]

These can be distinguished as THDF (for "fundamental"), and THDR (for "root mean square"). [12] [13] THDR cannot exceed 100%. At low distortion levels, the difference between the two calculation methods is negligible. For instance, a signal with THDF of 10% has a very similar THDR of 9.95%. However, at higher distortion levels the discrepancy becomes large. For instance, a signal with THDF 266% has a THDR of 94%. [4] A pure square wave with infinite harmonics has THDF of 48.3%, [1] [14] [15] or THDR of 43.5%. [16] [17]

Some use the term "distortion factor" as a synonym for THDR, [18] while others use it as a synonym for THDF. [19] [20]

The International Electrotechnical Commission (IEC) also defines another term total harmonic factor for the "ratio of the RMS value of the harmonic content of an alternating quantity to the RMS value of the quantity" using a different equation. [21]

THD+N

THD+N means total harmonic distortion plus noise. This measurement is much more common and more comparable between devices. It is usually measured by inputting a sine wave, notch filtering the output, and comparing the ratio between the output signal with and without the sine wave: [22]

Like the THD measurement, this is a ratio of RMS amplitudes, [7] [23] and can be measured as THDF (bandpassed or calculated fundamental as the denominator) or, more commonly, as THDR (total distorted signal as the denominator). [24]

A meaningful measurement must include the bandwidth of measurement. This measurement includes effects from ground loop power line hum, high-frequency interference, intermodulation distortion between these tones and the fundamental, and so on, in addition to harmonic distortion. For psychoacoustic measurements, a weighting curve is applied such as A-weighting or ITU-R BS.468, which is intended to accentuate what is most audible to the human ear, contributing to a more accurate measurement. A-weighting is a rough way to estimate the frequency sensitivity of every persons ears, as it doesn't take into account the non-linear behavior of the ear. [25] The loudness model proposed by Zwicker includes these complexities. The model is described in the German standard DIN45631 [26]

For a given input frequency and amplitude, THD+N is reciprocal to SINAD, provided that both measurements are made over the same bandwidth.

Measurement

The distortion of a waveform relative to a pure sinewave can be measured either by using a THD analyzer to analyse the output wave into its constituent harmonics and noting the amplitude of each relative to the fundamental; or by cancelling out the fundamental with a notch filter and measuring the remaining signal, which will be total aggregate harmonic distortion plus noise.

Given a sinewave generator of very low inherent distortion, it can be used as input to amplification equipment, whose distortion at different frequencies and signal levels can be measured by examining the output waveform.

There is electronic equipment both to generate sinewaves and to measure distortion; but a general-purpose digital computer equipped with a sound card can carry out harmonic analysis with suitable software. Different software can be used to generate sinewaves, but the inherent distortion may be too high for measurement of very low-distortion amplifiers.

Interpretation

For many purposes different types of harmonics are not equivalent. For instance, crossover distortion at a given THD is much more audible than clipping distortion at the same THD, since the harmonics produced by crossover distortion are nearly as strong at higher frequency harmonics, such as 10x to 20x the fundamental, as they are at lower-frequency harmonics like 3x or 5x the fundamental. Those harmonics appearing far away in frequency from a fundamental (desired signal) are not as easily masked by that fundamental. [27] In contrast, at the onset of clipping, harmonics first appear at low order frequencies and gradually start to occupy higher frequency harmonics. A single THD number is therefore inadequate to specify audibility, and must be interpreted with care. Taking THD measurements at different output levels would expose whether the distortion is clipping (which decreases with an decreasing level) or crossover (which stays constant with varying output level, and thus is a greater percentage of the sound produced at low volumes).

THD is an summation of a number of harmonics equally weighted, even though research performed decades ago identifies that lower order harmonics are harder to hear at the same level, compared with higher order ones. In addition, even order harmonics are said to be generally harder to hear than odd order. [28] A number of formulas that attempt to correlate THD with actual audibility have been published, but none have gained mainstream use.[ citation needed ]

Examples

For many standard signals, the above criterion may be calculated analytically in a closed form. [1] For example, a pure square wave has THDF equal to

The sawtooth signal possesses

The pure symmetrical triangle wave has THDF of

For the rectangular pulse train with the duty cycle μ (called sometimes the cyclic ratio), the THDF has the form

and logically, reaches the minimum (≈0.483) when the signal becomes symmetrical μ=0.5, i.e. the pure square wave. [1] Appropriate filtering of these signals may drastically reduce the resulting THD. For instance, the pure square wave filtered by the Butterworth low-pass filter of the second-order (with the cutoff frequency set equal to the fundamental frequency) has THDF of 5.3%, while the same signal filtered by the fourth-order filter has THDF of 0.6%. [1] However, analytic computation of the THDF for complicated waveforms and filters often represents a difficult task, and the resulting expressions may be quite laborious to obtain. For example, the closed-form expression for the THDF of the sawtooth wave filtered by the first-order Butterworth low-pass filter is simply

while that for the same signal filtered by the second-order Butterworth filter is given by a rather cumbersome formula [1]

Yet, the closed-form expression for the THDF of the pulse train filtered by the pth-order Butterworth low-pass filter is even more complicated and has the following form

where μ is the duty cycle, 0<μ<1, and

see [1] for more details.

See also

Related Research Articles

The propagation constant of a sinusoidal electromagnetic wave is a measure of the change undergone by the amplitude and phase of the wave as it propagates in a given direction. The quantity being measured can be the voltage, the current in a circuit, or a field vector such as electric field strength or flux density. The propagation constant itself measures the change per unit length, but it is otherwise dimensionless. In the context of two-port networks and their cascades, propagation constant measures the change undergone by the source quantity as it propagates from one port to the next.

Signal-to-noise ratio is a measure used in science and engineering that compares the level of a desired signal to the level of background noise. SNR is defined as the ratio of signal power to the noise power, often expressed in decibels. A ratio higher than 1:1 indicates more signal than noise.

Chebyshev filters are analog or digital filters that have a steeper roll-off than Butterworth filters, and have either passband ripple or stopband ripple. Chebyshev filters have the property that they minimize the error between the idealized and the actual filter characteristic over the range of the filter, but with ripples in the passband. This type of filter is named after Pafnuty Chebyshev because its mathematical characteristics are derived from Chebyshev polynomials. Type I Chebyshev filters are usually referred to as "Chebyshev filters", while type II filters are usually called "inverse Chebyshev filters".

In mathematics and signal processing, the Hilbert transform is a specific singular integral that takes a function, u(t) of a real variable and produces another function of a real variable H(u)(t). The Hilbert transform is given by the Cauchy principal value of the convolution with the function (see § Definition). The Hilbert transform has a particularly simple representation in the frequency domain: It imparts a phase shift of ±90° (π2 radians) to every frequency component of a function, the sign of the shift depending on the sign of the frequency (see § Relationship with the Fourier transform). The Hilbert transform is important in signal processing, where it is a component of the analytic representation of a real-valued signal u(t). The Hilbert transform was first introduced by David Hilbert in this setting, to solve a special case of the Riemann–Hilbert problem for analytic functions.

In physics, a wave vector is a vector used in describing a wave, with a typical unit being cycle per metre. It has a magnitude and direction. Its magnitude is the wavenumber of the wave, and its direction is perpendicular to the wavefront. In isotropic media, this is also the direction of wave propagation.

<span class="mw-page-title-main">String vibration</span>

A vibration in a string is a wave. Resonance causes a vibrating string to produce a sound with constant frequency, i.e. constant pitch. If the length or tension of the string is correctly adjusted, the sound produced is a musical tone. Vibrating strings are the basis of string instruments such as guitars, cellos, and pianos.

In mathematics, in the area of harmonic analysis, the fractional Fourier transform (FRFT) is a family of linear transformations generalizing the Fourier transform. It can be thought of as the Fourier transform to the n-th power, where n need not be an integer — thus, it can transform a function to any intermediate domain between time and frequency. Its applications range from filter design and signal analysis to phase retrieval and pattern recognition.

<span class="mw-page-title-main">Voigt profile</span>

The Voigt profile is a probability distribution given by a convolution of a Cauchy-Lorentz distribution and a Gaussian distribution. It is often used in analyzing data from spectroscopy or diffraction.

von Mises distribution Probability distribution on the circle

In probability theory and directional statistics, the von Mises distribution is a continuous probability distribution on the circle. It is a close approximation to the wrapped normal distribution, which is the circular analogue of the normal distribution. A freely diffusing angle on a circle is a wrapped normally distributed random variable with an unwrapped variance that grows linearly in time. On the other hand, the von Mises distribution is the stationary distribution of a drift and diffusion process on the circle in a harmonic potential, i.e. with a preferred orientation. The von Mises distribution is the maximum entropy distribution for circular data when the real and imaginary parts of the first circular moment are specified. The von Mises distribution is a special case of the von Mises–Fisher distribution on the N-dimensional sphere.

<span class="mw-page-title-main">Electrical resonance</span>

Electrical resonance occurs in an electric circuit at a particular resonant frequency when the impedances or admittances of circuit elements cancel each other. In some circuits, this happens when the impedance between the input and output of the circuit is almost zero and the transfer function is close to one.

Ripple in electronics is the residual periodic variation of the DC voltage within a power supply which has been derived from an alternating current (AC) source. This ripple is due to incomplete suppression of the alternating waveform after rectification. Ripple voltage originates as the output of a rectifier or from generation and commutation of DC power.

<span class="mw-page-title-main">Toroidal coordinates</span>

Toroidal coordinates are a three-dimensional orthogonal coordinate system that results from rotating the two-dimensional bipolar coordinate system about the axis that separates its two foci. Thus, the two foci and in bipolar coordinates become a ring of radius in the plane of the toroidal coordinate system; the -axis is the axis of rotation. The focal ring is also known as the reference circle.

The zero-order hold (ZOH) is a mathematical model of the practical signal reconstruction done by a conventional digital-to-analog converter (DAC). That is, it describes the effect of converting a discrete-time signal to a continuous-time signal by holding each sample value for one sample interval. It has several applications in electrical communication.

A total harmonic distortion analyzer calculates the total harmonic content of a sinewave with some distortion, expressed as total harmonic distortion (THD). A typical application is to determine the THD of an amplifier by using a very-low-distortion sinewave input and examining the output. The figure measured will include noise, and any contribution from imperfect filtering out of the fundamental frequency. Harmonic-by-harmonic measurement, without wideband noise, can be measured by a more complex wave analyser.

The word electricity refers generally to the movement of electrons through a conductor in the presence of a potential difference or an electric field. The speed of this flow has multiple meanings. In everyday electrical and electronic devices, the signals travel as electromagnetic waves typically at 50%–99% of the speed of light in vacuum, while the electrons themselves move much more slowly; see drift velocity and electron mobility.

<span class="mw-page-title-main">Retarded potential</span> Type of potential in electrodynamics

In electrodynamics, the retarded potentials are the electromagnetic potentials for the electromagnetic field generated by time-varying electric current or charge distributions in the past. The fields propagate at the speed of light c, so the delay of the fields connecting cause and effect at earlier and later times is an important factor: the signal takes a finite time to propagate from a point in the charge or current distribution to another point in space, see figure below.

<span class="mw-page-title-main">Π pad</span> An attenuator whose circuit components are in the shape of the Greek letter pi

The Π pad is a specific type of attenuator circuit in electronics whereby the topology of the circuit is formed in the shape of the Greek capital letter pi (Π).

In the theory of special functions, Whipple's transformation for Legendre functions, named after Francis John Welsh Whipple, arise from a general expression, concerning associated Legendre functions. These formulae have been presented previously in terms of a viewpoint aimed at spherical harmonics, now that we view the equations in terms of toroidal coordinates, whole new symmetries of Legendre functions arise.

In an electric power system, a harmonic of a voltage or current waveform is a sinusoidal wave whose frequency is an integer multiple of the fundamental frequency. Harmonic frequencies are produced by the action of non-linear loads such as rectifiers, discharge lighting, or saturated electric machines. They are a frequent cause of power quality problems and can result in increased equipment and conductor heating, misfiring in variable speed drives, and torque pulsations in motors and generators.

<span class="mw-page-title-main">Loop-gap resonator</span>

A loop-gap resonator (LGR) is an electromagnetic resonator that operates in the radio and microwave frequency ranges. The simplest LGRs are made from a conducting tube with a narrow slit cut along its length. The LGR dimensions are typically much smaller than the free-space wavelength of the electromagnetic fields at the resonant frequency. Therefore, relatively compact LGRs can be designed to operate at frequencies that are too low to be accessed using, for example, cavity resonators. These structures can have very sharp resonances making them useful for electron spin resonance (ESR) experiments, and precision measurements of electromagnetic material properties.

References

  1. 1 2 3 4 5 6 7 8 "Analytic Method for the Computation of the Total Harmonic Distortion by the Cauchy Method of Residues".
  2. 1 2 "Total Harmonic Distortion and Effects in Electrical Power Systems – Associated Power Technologies" (PDF).
  3. "IEEE Standards Association". IEEE Standards Association.
  4. 1 2 3 On the Definition of Total Harmonic Distortion and Its Effect on Measurement Interpretation, Doron Shmilovitz
  5. Slone, G. Randy (2001). The audiophile's project sourcebook. McGraw-Hill/TAB Electronics. p. 10. ISBN   0-07-137929-0. This is the ratio, usually expressed in percent, of the summation of the root mean square (RMS) voltage values for all harmonics present in the output of an audio system, as compared to the RMS voltage at the output for a pure sinewave test signal that is applied to the input of the audio system.
  6. THD Measurement and Conversion "This number indicates the RMS voltage equivalent of total harmonic distortion power, as a percentage of the total output RMS voltage."
  7. 1 2 Kester, Walt. "Tutorial MT-003: Understand SINAD, ENOB, SNR, THD, THD + N, and SFDR so You Don't Get Lost in the Noise Floor" (PDF). Analog Devices . Retrieved 1 April 2010.
  8. IEEE 519 and other standards (draft): "distortion factor: The ratio of the root-mean-square of the harmonic content to the root-mean-square value of the fundamental quantity, often expressed as a percent of the fundamental. Also referred to as total harmonic distortion."
  9. Section 11: Power Quality Considerations Bill Brown, P.E., Square D Engineering Services
  10. VOLTAGE WAVE QUALITY IN LOW VOLTAGE POWER SYSTEMS José M. R. Baptista, Manuel R. Cordeiro, and A. Machado e Moura
  11. The Power Electronics Handbook edited by Timothy L. Skvarenina "This definition is used by the Canadian Standards Association and the IEC"
  12. AEMC 605 User Manual "THDf: Total harmonic distortion with respect to the fundamental. THDr: Total harmonic distortion with respect to the true RMS value of the signal."
  13. "39/41B Power Meter Glossary" (PDF).
  14. "Total Harmonic Distortion Calculation by Filtering for Power Quality Monitoring" (PDF).
  15. Gross, Charles A. (October 20, 2006). Electric Machines. CRC Press. ISBN   9780849385810 via Google Books.
  16. "sqrt((1/3)^2 (1/5)^2 (1/7)^2 (1/9)^2 ...)/sqrt(1^2 (1/3)^2 (1/5)^2 (1/7)^2 (1/9)^2 ...) in percent - Wolfram|Alpha". www.wolframalpha.com.
  17. "Total Harmonic Distortion of a square wave". September 11, 2012. Archived from the original on 2012-09-11.
  18. "Distortion factor". www.amplifier.cd.
  19. IEEE 519
  20. "Harmonics and IEEE 519" (PDF).
  21. "IEC 60050 - International Electrotechnical Vocabulary - Details for IEV number 103-07-32: "total harmonic factor"".
  22. "Rane audio's definition of both THD and THD+N".
  23. Op Amp Distortion: HD, THD, THD + N, IMD, SFDR, MTPR
  24. Introduction to the Basic Six Audio Tests "Since the sum of the distortion products will always be less than the total signal, the THD+N Ratio will always be a negative decibel value, or a percent value less than 100%."
  25. "A-Weighting - an overview | ScienceDirect Topics".
  26. The loudness model proposed by Zwicker includes these complexities. The model is described in the German standard DIN45631
  27. "Valves vs. Transistors (Part 1)".
  28. "Odd vs Even harmonic distortion - Gearspace.com". www.gearslutz.com.