All tutorials

Grid Compensation & Power Quality · Part 4 of 4

Active filtering & harmonic cleanup

Oppose load harmonics, inspect the source current and explore passive filter trade-offs.

01

Live experiment

Educational example · phase RMS quantities · balanced three-phase system

040 msp.u.
Load
Load
040 msp.u.
STATCOM
STATCOM
040 msp.u.
Grid
Grid
Active filtering
Passive RC filter
Source harmonic THD
27.31 %
THD + switching noise
27.31 %
50 Hz capacitor current
0 A
Equivalent-circuit damping
—

02

Model & equations

The inverter injects the negative of 95% of the load harmonics. The remaining 5% represents imperfect tracking. Switching noise is modeled separately from low-order harmonic THD. Passive filtering can amplify harmonics near resonance.

ih=iload−i1,iinv=−0.95ih+isw,is=iload+iinvi_h=i_{load}-i_1,\quad i_{inv}=-0.95i_h+i_{sw},\quad i_s=i_{load}+i_{inv}

Passive model: series coupling L and R, feeding a shunt series Rf–Cf branch. H(s) is the branch-node voltage transfer, used here as an illustrative attenuation model. It is not a complete closed-loop APF transfer function.

H(s)=1+sRfCf1+s(R+Rf)Cf+s2LCf,ξ=R+Rf2CfLH(s)=\frac{1+sR_fC_f}{1+s(R+R_f)C_f+s^2LC_f},\quad\xi=\frac{R+R_f}{2}\sqrt{\frac{C_f}{L}}
ICf,50=2πfCfVgI_{C_f,50}=2\pi f C_f V_g

03

Example parameters

Vg
230 V RMS
f
50 Hz
E
750 V
Rcc
0.05 Ω
Xcc
0.1 Ω
R
0.05 Ω
Rf
0.6 Ω
P
80 kW
cos φ
0.74
fc
10 kHz
L
0.87 mH
Δt
1 ms