TExcelTAD
Home › Power Systems: Three-Phase, Generation, Grids & Protection › Power Quality: Harmonics, Flicker and Voltage Sags

Power Quality: Harmonics, Flicker and Voltage Sags

A supply can be perfectly reliable and still cause trouble. Drives trip when the voltage dips for 80 ms80\ \text{ms}, lights flicker when an arc furnace starts, capacitor banks fail because a harmonic resonates with the network, and neutral conductors overheat under computer loads. Power quality is the study of how far the voltage and current depart from ideal sinusoids of the right size and frequency. This lesson covers the main disturbances, the two standards that set the limits (EN 50160 for what the network delivers, IEEE 519-2022 for what customers may inject), and a harmonic study of board B1 with a capacitor bank that resonates.

Safety: the disturbances discussed are on 230/400 V230/400\ \text{V} and higher networks and are studied by calculation and simulation only. Power-quality analysers are connected by qualified staff with CAT III/IV rated probes. The bench analogue uses a function generator at signal level.

The disturbances

Disturbance Typical cause Effect Measured as
harmonics rectifiers, drives, LED drivers, IT loads heating of transformers, cables, neutrals; capacitor failure; misoperation THD, individual VhV_h, IhI_h, TDD
voltage sag (dip) faults elsewhere, motor starting contactors drop out, drives trip residual voltage and duration
swell earth fault on another phase, load rejection insulation stress magnitude and duration
interruption protection operation everything stops duration (short <3 min< 3\ \text{min}, long)
flicker arc furnaces, welders, wind turbines, pumps cycling visible lamp-flicker annoyance PstP_{st} (10 min), PltP_{lt} (2 h), IEC 61000-4-15 meter
unbalance single-phase loads, traction motor heating negative-sequence ratio V2/V1V_2/V_1
frequency deviation generation-load imbalance clocks, sensitive processes Hz, 10 s mean

Measurement methods for all of these are standardised in IEC 61000-4-30 (class A instruments) and covered on the measurement side in Power Measurement and True RMS.

What the network promises: EN 50160

EN 50160 (Voltage characteristics of electricity supplied by public electricity networks; the current edition is EN 50160:2022, which replaced the 2010 edition and its amendments, with amendment A1:2025 that makes some harmonic values normative; many national rules still quote the 2010 text, so check which one yours reference) states what a customer can expect at the supply terminals. For LV, simplified:

  • frequency 50 Hz±1 %50\ \text{Hz} \pm 1\ \% for 99.5 %99.5\ \% of a year, +4/−6 %+4/-6\ \% always (interconnected systems);
  • supply voltage within ±10 %\pm 10\ \% of 230 V230\ \text{V} for 95 %95\ \% of the 10-minute mean values of each week (and +10/−15 %+10/-15\ \% for all of them);
  • voltage THD at most 8 %8\ \% (up to the 40th harmonic), with individual limits such as 6 %6\ \% for the 5th and 5 %5\ \% for the 7th, for 95 %95\ \% of the week;
  • long-term flicker Plt≤1P_{lt} \le 1 for 95 %95\ \% of the week; negative-sequence unbalance up to 2 %2\ \%.

Dips are not limited, only described: EN 50160 classifies them by residual voltage and duration and says a customer may see from a few tens to a thousand a year.

What customers may inject: IEEE 519-2022

IEEE 519-2022 sets limits at the point of common coupling (PCC) with other customers. Voltage distortion limits (the utility's responsibility) depend on the bus voltage: for V≤1 kVV \le 1\ \text{kV}, individual harmonics 5 %5\ \% and THD 8 %8\ \%; from 11 to 69 kV69\ \text{kV}, 3 %3\ \% and 5 %5\ \%. Current limits (the customer's responsibility) are expressed as TDD, the harmonic current divided by the maximum demand load current ILI_L (not the instantaneous fundamental), and grow with the short-circuit ratio Isc/ILI_{sc}/I_L: a customer that is small compared with the network may inject more. For 120 V120\ \text{V} to 69 kV69\ \text{kV} and Isc/IL<20I_{sc}/I_L < 20, the limits are 4 %4\ \% for harmonics below the 11th, 2 %2\ \% for 11 to 17, and a TDD of 5 %5\ \%; for Isc/ILI_{sc}/I_L between 20 and 50 they rise to 7 %7\ \%, 3.5 %3.5\ \% and 8 %8\ \%.

THDV=∑h≥2Vh2V1,TDD=∑h≥2Ih2IL\text{THD}_V = \frac{\sqrt{\sum_{h \ge 2} V_h^2}}{V_1}, \qquad \text{TDD} = \frac{\sqrt{\sum_{h \ge 2} I_h^2}}{I_L}

Harmonic voltage from harmonic current. Loads inject harmonic currents; the network turns them into harmonic voltages through its impedance at each frequency, Vh=Ih∣Z(h)∣V_h = I_h \lvert Z(h) \rvert. For a purely inductive source ∣Z(h)∣=hX1\lvert Z(h) \rvert = h X_1, so high-order harmonics distort the voltage more than their currents suggest.

Resonance. A power-factor correction capacitor bank in parallel with the source inductance forms a parallel resonance at

hr=SscQch_r = \sqrt{\frac{S_{sc}}{Q_c}}

where SscS_{sc} is the short-circuit power at the bus and QcQ_c the bank's rating. If hrh_r lands near the 5th or 7th harmonic, the drive currents are amplified. The usual cure is a detuned bank: a series reactor of about 7 %7\ \% moves the series resonance of each step to about 189 Hz189\ \text{Hz} (h=3.78h = 3.78), below the 5th, so the bank looks inductive to all the harmonics present.

Worked example: a drive on board B1

Given: B1 (TN-C-S, 400 V400\ \text{V}): fault level 23.68 kA23.68\ \text{kA} and source reactance X1=10.106 mΩX_1 = 10.106\ \text{m}\Omega, so Ssc=4002/10.239 mΩ=15.63 MVAS_{sc} = 400^2/10.239\ \text{m}\Omega = 15.63\ \text{MVA} (from Protection Principles); maximum demand IL=1443 AI_L = 1443\ \text{A}. A 66-pulse drive draws 380 A380\ \text{A} fundamental with 55th, 77th, 1111th and 1313th harmonics of 3030, 1212, 77 and 5 %5\ \% (an assumed spectrum for a drive with a DC choke). A 300 kvar300\ \text{kvar} capacitor bank is added.

Find: the TDD and the IEEE 519 verdict; the voltage THD without and with the bank; the resonant order.

Solve:

Isc/IL=23 680/1443=16.4<20:TDD limit 5 %TDD=3800.302+0.122+0.072+0.0521443=127.1 A1443 A=8.8 %hr=15.63/0.300=7.22\begin{aligned} I_{sc}/I_L &= 23\,680/1443 = 16.4 < 20: \quad \text{TDD limit } 5\ \% \\ \text{TDD} &= \frac{380\sqrt{0.30^2 + 0.12^2 + 0.07^2 + 0.05^2}}{1443} = \frac{127.1\ \text{A}}{1443\ \text{A}} = 8.8\ \% \\ h_r &= \sqrt{15.63/0.300} = 7.22 \end{aligned}

Check: the TDD exceeds the 5 %5\ \% limit, and its 5th harmonic alone (114 A114\ \text{A}, 7.9 %7.9\ \% of ILI_L) breaks the 4 %4\ \% individual limit. The bank tunes the bus to h=7.2h = 7.2, right on top of the drive's 7th harmonic: the Python cell shows the 7th harmonic voltage rising from 1.4 %1.4\ \% to about 15 %15\ \%. The remedy is a detuned bank plus, for the TDD, an active filter or a drive with an active front end.

In Python: harmonic voltages with and without the bank

python · try it yourself
import numpy as np

V1 = 400 / np.sqrt(3)
R1, X1 = 1.642e-3, 10.106e-3                     # B1 source at 50 Hz (Ohm)
Qc = 300e3
C = Qc / (2 * np.pi * 50 * 400**2)                # per-phase (star equivalent) capacitance
IL, I1 = 1443.0, 380.0
spectrum = {5: 0.30, 7: 0.12, 11: 0.07, 13: 0.05}

def Z_bus(h, with_cap):
    Zs = R1 * np.sqrt(h) + 1j * h * X1            # resistance rising roughly as sqrt(h) (skin effect)
    if not with_cap:
        return Zs
    Zc = 1 / (1j * 2 * np.pi * 50 * h * C)
    return Zs * Zc / (Zs + Zc)

Ih = {h: I1 * k for h, k in spectrum.items()}
tdd = np.sqrt(sum(i**2 for i in Ih.values())) / IL
print(f"Isc/IL = {23680/IL:.1f}, TDD = {tdd:.1%} (limit 5.0 %)")
print(f"resonant order with the bank: h_r = {np.sqrt(400**2/abs(complex(R1, X1))/Qc):.2f}")
for cap in (False, True):
    Vh = {h: i * abs(Z_bus(h, cap)) for h, i in Ih.items()}
    thd = np.sqrt(sum(v**2 for v in Vh.values())) / V1
    parts = ", ".join(f"V{h} {v/V1:.2%}" for h, v in Vh.items())
    print(f"{'with' if cap else 'without':7s} bank: {parts}; THD = {thd:.2%}")
Isc/IL = 16.4, TDD = 8.8% (limit 5.0 %)
resonant order with the bank: h_r = 7.22
without bank: V5 2.50%, V7 1.40%, V11 1.28%, V13 1.08%; THD = 3.32%
with    bank: V5 4.74%, V7 15.30%, V11 0.99%, V13 0.49%; THD = 16.06%

Without the bank the voltage is distorted by 3.3 %3.3\ \%, within the 8 %8\ \% limit. With it, the 7th harmonic voltage reaches about 15 %15\ \% and the THD 16 %16\ \%: the bank's own 7th-harmonic current (464 A464\ \text{A}, ten times what the drive injects at the 7th) then exceeds its rated current of 433 A433\ \text{A}, and its rms current is about 1.51.5 times rated, beyond the 1.31.3 times that LV capacitors are built for (IEC 60831-1): this is how unfiltered capacitor banks fail. The only damping here is the source resistance; real loads damp the peak somewhat, but not enough to rely on.

Interactive: the parallel resonance

Inject 1 A1\ \text{A} of harmonic current into the B1 busbar (I1) and read the bus voltage, which equals ∣Z∣\lvert Z \rvert in ohms. The source is 32.17 μH32.17\ \mu\text{H} (10.106 mΩ10.106\ \text{m}\Omega at 50 Hz50\ \text{Hz}) with 1.642 mΩ1.642\ \text{m}\Omega; the bank is 5.968 mF5.968\ \text{mF} per phase. Sweep ff: at 50 Hz50\ \text{Hz} the bus shows 10.44 mV10.44\ \text{mV} (10.4 mΩ10.4\ \text{m}\Omega), at 350 Hz350\ \text{Hz} 947 mV947\ \text{mV}, and at the resonance near 363 Hz363\ \text{Hz} 3.28 V3.28\ \text{V}, more than 300300 times the 50 Hz50\ \text{Hz} impedance; at 650 Hz650\ \text{Hz} the capacitor dominates and it falls to 60 mV60\ \text{mV}.

0123101001kf (Hz)|V| (V)|V(b)|phasors at f = 50.00 Hz (magnitude @ phase)V(b)10.4 mV @ 80.6 degV(m)10.3 mV @ 89.8 degI(I1)1.00 A @ 0.0 degI(RS)1.02 A @ -0.2 degI(LS)1.02 A @ -0.2 degI(CB)19.6 mA @ 170.6 deg

Guided lab: harmonics of a rectified waveform

Hand calculation. A full-wave rectifier with a large smoothing capacitor draws current in short pulses near the voltage peaks. For a low-voltage version (a 12 V12\ \text{V} peak sine from a function generator and audio amplifier, a bridge rectifier, 1000 μF1000\ \mu\text{F} and a 100 Ω100\ \Omega load), estimate the conduction angle from the ripple and expect a current THD of about 110110 to 190 %190\ \% (the lower values with more source and wiring resistance, a few ohms in total; the higher with a stiff source).

Simulation. Compute the spectrum of an idealised pulse train in NumPy (np.fft.rfft) for your conduction angle, as in Differential Protection's inrush example, and compare THD with the expected range.

What you would measure. The current through a 0.1 Ω0.1\ \Omega shunt in the AC lead on the generator's ground side (scope ground at the generator ground, an amplifier with a ground-referenced output, not bridge-tied) on a scope with FFT (Scope Triggering and FFT): only odd harmonics, with the 3rd largest in a single-phase rectifier (in a three-phase 6-pulse rectifier the 3rd cancels and the 5th and 7th dominate). Expect harmonic amplitudes within about ±10 %\pm 10\ \% of the simulation, depending on the generator's output impedance, which flattens the voltage peaks exactly as a weak network does.

Hazards and safe setup. Signal generator and audio amplifier at ≤12 V\le 12\ \text{V} peak; no mains-connected rectifier is used or measured in this lab (and an earthed scope ground must never be clipped onto one). Discharge the capacitor before rewiring.

Pitfalls

  • THD of current versus TDD. A lightly loaded drive shows a huge current THD on a small fundamental; IEEE 519 uses TDD on the maximum demand current for that reason.
  • Adding capacitors without a harmonic check. Always compute hrh_r; use detuned banks where drives are present.
  • Triplen harmonics in the neutral. The 3rd, 9th, … harmonics of single-phase loads add in the neutral instead of cancelling; neutrals can carry more than phase current.
  • Confusing EN 50160 with an emission limit. It describes the supply, not what equipment may inject (IEC 61000-3-2 and 3-12 do that for equipment).

Practice

  1. A 1 MVA1\ \text{MVA}, 400 V400\ \text{V} bus has Ssc=20 MVAS_{sc} = 20\ \text{MVA}. Which bank size tunes it to the 5th harmonic?
  2. A load draws 200 A200\ \text{A} fundamental with 40 A40\ \text{A} of 5th and 20 A20\ \text{A} of 7th; IL=800 AI_L = 800\ \text{A}. Find its current THD and its TDD.
  3. Why does EN 50160 not limit the number of voltage dips?
Answer
  1. Qc=Ssc/h2=20/25=0.8 MvarQ_c = S_{sc}/h^2 = 20/25 = 0.8\ \text{Mvar}; avoid sizes near it.
  2. 402+202=44.7 A\sqrt{40^2 + 20^2} = 44.7\ \text{A}: THD =22.4 %= 22.4\ \%, TDD =5.6 %= 5.6\ \%.
  3. Dips come mainly from faults elsewhere on the network (weather, third-party damage), which the network operator cannot prevent; the standard gives indicative numbers instead.

Test yourself

IEEE 519-2022 current limits are expressed relative to…

  1. the fundamental current at the moment of measurement
  2. the maximum demand load current ILI_L (TDD)
  3. the transformer rating
  4. the short-circuit current

A 300 kvar bank on a bus with Ssc=15.6S_{sc} = 15.6 MVA resonates near the…

  1. 3rd harmonic
  2. 5th harmonic
  3. 7th harmonic
  4. 13th harmonic

EN 50160's LV voltage-magnitude requirement is…

  1. ±1\pm 1 % always
  2. ±10\pm 10 % of 230 V for 95 % of the weekly 10-minute means
  3. ±20\pm 20 % for all values
  4. no requirement

Why does a 7 % series reactor ('detuned bank') protect a capacitor bank?

  1. it lowers the 50 Hz voltage
  2. it moves the bank's series resonance to about 189 Hz, so the bank is inductive at the 5th and higher harmonics
  3. it filters the fundamental
  4. it raises the short-circuit level