C320 of 29
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

C3 · Lesson 20 · Non-sinusoidal waveforms

Harmonics, RMS, distortion and true-RMS meters

The mains voltage is close to a sine wave, but the current a laptop charger or LED lamp draws from it isn't: it arrives in short spikes near each peak. Square waves from switching circuits, triangle waves from integrators and the clipped output of an overdriven amplifier are all periodic but not sinusoidal. Each is a sum of sinusoids, a fundamental plus harmonics at whole multiples of its frequency (A10), and every AC tool in this course handles them one harmonic at a time. Doing so explains distortion figures, why a cheap meter misreads a square wave, and why a building's neutral wire can overheat.

  • A periodic waveform built from a fundamental at 50 Hz plus odd harmonics, in time (top) and as a spectrum (bottom).
  • The starting weights, 13, 15 and 17 with alternating signs, are the square-wave recipe, and the trace already looks squarish. Shrink them toward zero and it relaxes back into a sine.
  • Each spectral line is solved separately in a circuit, and the RMS readout adds them in squares.

Predict

A square wave switching between +1 V and −1 V is measured by an inexpensive meter that's accurate only for sine waves. It reads about:

Name it

Harmonics

A periodic waveform of frequency f is a DC term plus sinusoids at f, 2f, 3f, ... (A10). Waveforms with half-wave symmetry, like square and triangle waves, have only odd harmonics:

Waveform (peak A)Harmonic n amplitudeRMSCrest factor
sineA at n=1 onlyA/22
square4Anπ, odd nA1
triangle8An2π2, odd nA/33

The crest factor is peak over RMS.

RMS and distortion

Harmonics are at different frequencies, so they add in squares (lesson 8):

Vrms=V02+V12+V22+…

(each Vn an RMS value). Total harmonic distortion compares everything but the fundamental with the fundamental:

THD=V22+V32+…V1

A square wave has 48% THD and a triangle 12%; a good audio amplifier, below 0.01%.

Power with harmonics

Average power comes only from voltage and current harmonics of the same frequency: P=∑VnIncos⁡φn. When the supply voltage is a clean sine, harmonic currents deliver no power but still heat the wiring, so the power factor falls even with φ1=0:

pf=cos⁡φ11+THDI2

In a three-phase system, the third harmonic currents of the three phases are in step (120° × 3 = 360°), so instead of cancelling in the neutral they add: an office full of computers can push more current through the neutral than through any phase.

Worked example

What is the RMS of the fundamental in a ±1 V square wave, and its THD?

Show the solution
  1. Fundamental. Its peak is 4π=1.273 V, so its RMS is V1=1.2732=0.900V
  2. Harmonics. The total RMS is 1.000 V, so the harmonics together are Vh=1−0.9002=0.436V
  3. THD. THD=0.4360.900=48%

Answer the fundamental is 0.900 V RMS, and the THD is 48%.

Worked example

A rectifier load draws current with 80% THD, its fundamental in phase with the voltage. What is its power factor?

Show the solution
  1. Power factor. With the fundamental in phase with the voltage, pf=11+0.82=0.78
  2. What it costs. The load draws 28% more current than its power needs, all because of the harmonics.
  3. The fix. Power supplies with power factor correction shape their input current into a sine to avoid this.

Answer a power factor of 0.78.

Worked example

A triangle wave has peak A. What are its fundamental's amplitude and its THD?

Show the solution
  1. Fundamental. Its Fourier series has only odd harmonics, with amplitudes 8Aπ2n2, so the fundamental is A1=8π2A=0.811A
  2. How fast the harmonics fall. They fall as 1n2, much faster than a square wave's 1n.
  3. THD. THD=∑n=3,5,…1n4=π496−1=12.1% against 48.3% for a square wave.
  4. Why it matters. Smoother waveforms have weaker harmonics, which is why slew-limited edges reduce interference.

Answer the fundamental is 0.811A, and the THD is 12.1%.

Check

A square wave of ±5 V. What is the peak amplitude of its harmonic number 1?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A voltage has 0 V DC, 5 V RMS at 50 Hz and 3 V RMS at 150 Hz. What is its RMS value?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A signal's fundamental is 10 V RMS, with 1 V RMS at the 3rd harmonic and 2 V RMS at the 5th. What is its THD?

Check

A square wave of ±2 V is read by an averaging meter calibrated for sine waves. What does it show?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A load's current has 80% THD, and its fundamental's displacement factor cos⁡φ1 is 0.9. What is its power factor, on a sinusoidal supply?

Check

Each phase of a balanced three-phase load carries 12 A RMS of third-harmonic current. What third-harmonic current flows in the neutral?

Write units the way you normally would: 1.5 A, 1500 mA and 0.0015 kA are the same answer.

Check

A triangle wave and a square wave each have peak 5 V.

(a)

What's the triangle's fundamental amplitude?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

(b)

And the square wave's?

Check

A square wave of peak A.

Step 1

What's its fundamental's amplitude?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why can the neutral wire of a building full of computers carry more current than any of the phase wires?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.