Cet article existe aussi en français. Lire en français →
Every grid-tied inverter needs a filter between its switching bridge and the grid. A single inductor works, but it has to be large: at 10 kHz switching and 100 kW it ends up around 5 to 10 % of the base impedance, heavy, lossy, and it eats the voltage headroom on the DC link. The LCL filter does the same job with a fraction of the inductance, because its attenuation falls at 60 dB per decade instead of 20. The price is a resonance, and most of the design work is about that resonance.
In short
- Size L1 from the ripple, Cf from the reactive power budget and L2 from the attenuation you need at the switching frequency.
- Then check the design against the real PWM spectrum: the closed-form ripple formula overestimates L1 by 20 to 30 % with SVPWM.
- The grid inductance moves the resonance down. A filter that is stable in the lab can cross the fs/6 boundary on a weak grid.
- Damping is a trade: a series resistor costs losses and turns the −60 dB slope into −40 dB above 1/(Rd·Cf).
Why an LCL filter
Below the resonance the filter behaves like one inductor L1 + L2. Above it, the capacitor shunts the switching current and the grid sees an attenuation that falls three times faster than with a single inductor. With the resonance at 2 kHz and switching at 10 kHz, the undamped LCL gives about 28 dB more attenuation at the switching frequency than an inductor of the same total value; damping gives some of it back.
Step 1: base values and the operating point
| Quantity | Formula | 100 kW, 400 V, 50 Hz |
|---|---|---|
| Rated current | In = P / (√3 · V) | 144 A rms, 204 A peak |
| Base impedance | Zb = V² / P | 1.6 Ω |
| Base inductance | Lb = Zb / ω | 5.09 mH |
| Base capacitance | Cb = 1 / (ω · Zb) | 1989 µF |
Fix the DC-link voltage and the switching frequency before starting: they set the ripple and the modulation headroom. In the example the DC link is 700 V and the switching frequency 10 kHz with double-update PWM, so the controller samples at 20 kHz.
Step 2: inverter-side inductor L1
L1 = Vdc / (6 · fsw · ΔI_max)Reznik et al., worst case of a two-level bridge with sinusoidal PWMWith a ripple of 20 % of the peak current the formula gives 286 µH. It is a safe starting point and a pessimistic one: the worst case it describes happens at a modulation index of 0.5, while a grid inverter runs near 0.9, and space-vector modulation spreads the zero vectors. Simulating the real switching waveform at the actual operating point gives 208 µH for the same 20 %: a quarter less copper and core.
L1 also sets the current the bridge semiconductors see. Peak current = fundamental peak plus half the ripple; check it against the semiconductor rating and the current sensor range, not only the inductor saturation. For a first pass on the core, the inductor design calculator turns L1 and that peak current into an area product, a number of turns and an air gap; entering the fundamental peak as the DC current keeps the wire sizing on the safe side.
Step 3: filter capacitor Cf
Cf = x · Cb, x ≤ 5 %reactive power drawn at the fundamental, as a share of rated powerA larger capacitor lowers the resonance and helps the attenuation, but it draws reactive current at 50 Hz that the inverter must supply, which raises its current rating and lowers the power factor at light load. Five percent is the usual budget: 99.5 µF per phase in star for the example, or 33.2 µF in delta at 400 V.
Step 4: grid-side inductor L2
L2 = (1 + 1/ka) / (Cf · ωsw²)ka = ripple attenuation from inverter current to grid current at fswWith ka = 20 % the formula gives 15 µH. This is where the textbook method stops and where real designs usually fail their harmonic test. The attenuation target says nothing about the amplitude of the voltage harmonics the bridge produces around fsw and 2·fsw, and with SVPWM the largest grid-current harmonic sits at fsw ± 2·fg, not at fsw. Checking each harmonic of the grid current against a 0.3 % target raised L2 to 90 µH in the example, still only 1.8 % in per unit.
Step 5: resonance placement and damping
The resonance must sit well above the control bandwidth and the low-order harmonics, and well below the switching frequency: the usual window is 10·fg < f_res < fsw/2. Inside that window, the resonance amplifies whatever excites it: background voltage distortion of the grid, the control loop itself, or a neighbouring inverter.
- Passive damping: a resistor in series with Cf. Rd = 1/(3·ω_res·Cf) gives a quality factor of about 3. It costs losses (0.12 % of rated power in the example) and reduces the high-frequency attenuation.
- Active damping: feedback of the capacitor current emulates a virtual resistor, without losses, but only within limits set by the control delay (next step).
- No damping: possible with grid-current control if the resonance stays above fs/6 over the whole grid range.
Step 6: the weak grid and the fs/6 boundary
The grid is not an ideal source: its inductance adds to L2. At a short-circuit ratio of 20, a common minimum in grid codes for medium-size plants, the example sees 255 µH of grid inductance, almost three times L2. The resonance moves from 2.0 to 1.4 kHz.
That matters because of the digital control delay. With one sample of computation and half a sample of PWM delay, Parker, McGrath and Holmes showed that the loop changes behaviour at fs/6. With grid-current control, the undamped loop is stable only if the resonance is above fs/6. With inverter-current control it is the opposite. Capacitor-current active damping behaves as a positive resistance below fs/6 and as a negative one between fs/6 and fs/2. A resonance that crosses fs/6 when the grid changes is the worst case: no fixed controller handles both sides.
Step 7: check against the harmonic limits
| Harmonic order h | Odd harmonics (IEEE 1547-2018) | Even harmonics |
|---|---|---|
| below 11 | 4.0 % | h = 2: 1.0 %, h = 4: 2.0 %, h = 6: 3.0 % |
| 11 to 17 | 2.0 % | as odd range |
| 17 to 23 | 1.5 % | as odd range |
| 23 to 35 | 0.6 % | as odd range |
| 35 to 50 | 0.3 % | as odd range |
| Total demand distortion | 5 % |
Above the 50th harmonic the standards are silent, so the requirement comes from the customer, the grid operator or EMC concerns; 0.3 % of rated current is a common target. Low-order harmonics come mostly from dead time and the grid, and the current controller reduces them with resonant terms. The switching harmonics are far above the control bandwidth: only the filter acts on them, which is why they decide L2.
Tolerances: the filter you build is not the one you designed
| Effect | Typical size | What it moves |
|---|---|---|
| Inductance roll-off at rated current (powder cores) | −10 to −30 % | Resonance up, ripple and switching harmonics up |
| Film capacitor tolerance | ±5 to ±10 % | Resonance, reactive power |
| Grid short-circuit ratio | from stiff to SCR 10–20 | Resonance down |
| Temperature | inductance and capacitance drift | Second-order, but adds to the above |
Check the design at the corners: inductors rolled off with capacitance at both ends of its tolerance, on both the stiff and the weakest grid. In the example the worst switching harmonic rises from 0.17 % to 0.28 % at the low-inductance, low-capacitance corner, still inside the 0.3 % target.
Worked example: from formulas to a verified design
| Textbook formulas | After PWM simulation and checks | |
|---|---|---|
| L1 | 286 µH | 208 µH (0.041 pu) |
| Cf | 99.5 µF | 99.5 µF |
| L2 | 15.3 µH | 90.2 µH (0.018 pu) |
| Rd | 0.13 Ω | 0.38 Ω, Q = 3 on the weakest grid |
| Resonance | 4.2 kHz | 2.0 kHz stiff, 1.4 kHz at SCR 20 |
| Worst switching harmonic | not checked | 0.17 % nominal, 0.28 % at worst corner |
Every number in this table comes from the free LCL filter designer, which simulates the modulator with dead time, sweeps stiff and weak grid and the tolerance corners, and checks each harmonic against IEEE 1547. Change the inputs to your converter and the method above runs in a second.
For the semiconductors on the other side of L1, see SiC MOSFETs and three-phase gate drivers; for the overall method, power electronics design.
FAQ
What is an LCL filter?
A third-order filter between an inverter and the grid: an inductor on the inverter side, a capacitor to the neutral or in delta, and an inductor on the grid side. It attenuates switching harmonics at 60 dB per decade above its resonance.
How do you choose the LCL resonance frequency?
Between ten times the grid frequency and half the switching frequency, and on one side of fs/6 over the whole range of grid strength, where fs is the control sampling frequency.
Do I need a damping resistor in an LCL filter?
Not always. With grid-current control and a resonance that stays above fs/6, the loop is stable without damping. Otherwise use passive damping or capacitor-current active damping below fs/6.
Why does my LCL filter oscillate only on site?
The grid inductance adds to the grid-side inductor and lowers the resonance. On a weak grid it can cross fs/6, where the control loop loses its damping.
What harmonic limits apply to grid-tied inverters?
IEEE 1547-2018 and IEEE 519 up to the 50th harmonic, or EN 50549 and the national grid code in Europe. Above the 50th, the requirement comes from the customer or the grid operator.
Learn it live
This topic is covered in depth, with industrial case studies, in the Industrial power electronics program. Join the waitlist to hear first when it opens — or browse the 64 free guides in the meantime.


