Harmonic Filter Calculator Formula

Understand the math behind the harmonic filter calculator. Each variable explained with a worked example.

Formulas Used

Tuning Frequency

tuning_frequency = tuning_freq

Capacitance

capacitance_uf = c_farads * 1e6

Inductance

inductance_mh = l_henrys * 1000

Xc at Fundamental

xc_at_fund = xc_fund

Xl at Fundamental

xl_at_fund = xl_fund

Variables

VariableDescriptionDefault
fundamental_hzFundamental Frequency(Hz)60
harmonic_orderHarmonic to Filter5
filter_kvarFilter Reactive Power(kVAR)50
system_voltageSystem Voltage (L-L)(V)480
tuning_freqDerived value= fundamental_hz * harmonic_ordercalculated
omega_fundDerived value= 2 * pi * fundamental_hzcalculated
omega_tuneDerived value= 2 * pi * tuning_freqcalculated
xc_fundDerived value= pow(system_voltage, 2) / (filter_kvar * 1000)calculated
c_faradsDerived value= 1 / (omega_fund * xc_fund)calculated
xl_fundDerived value= xc_fund / pow(harmonic_order, 2)calculated
l_henrysDerived value= xl_fund / omega_fundcalculated

How It Works

Single-Tuned Harmonic Filter Design

A series LC filter tuned to a specific harmonic frequency provides a low-impedance path that diverts harmonic current away from the system.

Design Steps

1. Capacitive reactance at fundamental: Xc = V^2 / kVAR 2. Inductive reactance at fundamental: Xl = Xc / n^2 3. Capacitance: C = 1 / (omega x Xc) 4. Inductance: L = Xl / omega

Where n is the harmonic order and omega = 2 x pi x f_fundamental.

Filters are typically tuned slightly below the target harmonic (e.g., 4.7th instead of 5th) to avoid resonance with system impedance.

Worked Example

5th harmonic filter, 50 kVAR, 480 V, 60 Hz system.

fundamental_hz = 60harmonic_order = 5filter_kvar = 50system_voltage = 480
  1. 01Tuning frequency: 60 x 5 = 300 Hz
  2. 02Xc at 60 Hz: 480^2 / 50000 = 4.608 ohms
  3. 03Xl at 60 Hz: 4.608 / 25 = 0.184 ohms
  4. 04C = 1 / (377 x 4.608) = 575.7 microfarads
  5. 05L = 0.184 / 377 = 0.49 mH

Ready to run the numbers?

Open Harmonic Filter Calculator