Power Quality: Harmonics, Flicker and Voltage Sags
A supply can be perfectly reliable and still cause trouble. Drives trip when the voltage dips for , 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 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 , , 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 , long) |
| flicker | arc furnaces, welders, wind turbines, pumps cycling | visible lamp-flicker annoyance | (10 min), (2 h), IEC 61000-4-15 meter |
| unbalance | single-phase loads, traction | motor heating | negative-sequence ratio |
| 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 for of a year, always (interconnected systems);
- supply voltage within of for of the 10-minute mean values of each week (and for all of them);
- voltage THD at most (up to the 40th harmonic), with individual limits such as for the 5th and for the 7th, for of the week;
- long-term flicker for of the week; negative-sequence unbalance up to .
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 , individual harmonics and THD ; from to , and . Current limits (the customer's responsibility) are expressed as TDD, the harmonic current divided by the maximum demand load current (not the instantaneous fundamental), and grow with the short-circuit ratio : a customer that is small compared with the network may inject more. For to and , the limits are for harmonics below the 11th, for 11 to 17, and a TDD of ; for between 20 and 50 they rise to , and .
Harmonic voltage from harmonic current. Loads inject harmonic currents; the network turns them into harmonic voltages through its impedance at each frequency, . For a purely inductive source , 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
where is the short-circuit power at the bus and the bank's rating. If lands near the 5th or 7th harmonic, the drive currents are amplified. The usual cure is a detuned bank: a series reactor of about moves the series resonance of each step to about (), 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, ): fault level and source reactance , so (from Protection Principles); maximum demand . A -pulse drive draws fundamental with th, th, th and th harmonics of , , and (an assumed spectrum for a drive with a DC choke). A capacitor bank is added.
Find: the TDD and the IEEE 519 verdict; the voltage THD without and with the bank; the resonant order.
Solve:
Check: the TDD exceeds the limit, and its 5th harmonic alone (, of ) breaks the individual limit. The bank tunes the bus to , right on top of the drive's 7th harmonic: the Python cell shows the 7th harmonic voltage rising from to about . 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
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 , within the limit. With it, the 7th harmonic voltage reaches about and the THD : the bank's own 7th-harmonic current (, ten times what the drive injects at the 7th) then exceeds its rated current of , and its rms current is about times rated, beyond the 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 of harmonic current into the B1 busbar (I1) and read the bus voltage, which equals in ohms. The source is ( at ) with ; the bank is per phase. Sweep : at the bus shows (), at , and at the resonance near , more than times the impedance; at the capacitor dominates and it falls to .
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 peak sine from a function generator and audio amplifier, a bridge rectifier, and a load), estimate the conduction angle from the ripple and expect a current THD of about to (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 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 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 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 ; 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
- A , bus has . Which bank size tunes it to the 5th harmonic?
- A load draws fundamental with of 5th and of 7th; . Find its current THD and its TDD.
- Why does EN 50160 not limit the number of voltage dips?
Answer
- ; avoid sizes near it.
- : THD , TDD .
- 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…
- the fundamental current at the moment of measurement
- the maximum demand load current (TDD)
- the transformer rating
- the short-circuit current
A 300 kvar bank on a bus with MVA resonates near the…
- 3rd harmonic
- 5th harmonic
- 7th harmonic
- 13th harmonic
EN 50160's LV voltage-magnitude requirement is…
- % always
- % of 230 V for 95 % of the weekly 10-minute means
- % for all values
- no requirement
Why does a 7 % series reactor ('detuned bank') protect a capacitor bank?
- it lowers the 50 Hz voltage
- it moves the bank's series resonance to about 189 Hz, so the bank is inductive at the 5th and higher harmonics
- it filters the fundamental
- it raises the short-circuit level