S11 · Lesson 36 · Grid-tied inverters
Inverters that feed the grid: current control synchronized by a PLL, real and reactive power from the current's phase, the DC link voltage the filter inductance demands, LCL filters and their resonance
A solar inverter, a battery's grid converter and a wind turbine's line-side converter all push current into a grid whose voltage they don't control. They lock to the grid's phase with a phase-locked loop and regulate the current they inject: in phase with the voltage for real power, a quarter-cycle off for reactive power. Between the switching bridge and the grid sits a filter that must remove the switching ripple without ringing, and the bridge must have enough DC voltage to push current through it.
- The curve is the attenuation an LCL filter adds over a single inductor of the same total inductance, in decibels, against frequency, for L₁ = 2 mH, L₂ = 0.5 mH and the capacitance on the slider.
- Below the resonance the filter behaves like one inductor; above it the extra attenuation grows at 40 dB per decade.
- At the resonance itself the undamped filter would amplify, which is why LCL filters need passive or active damping.
Predict
A grid inverter on a 480 V, 60 Hz line delivers 10 kW at unity power factor through 5 mH per phase. How much higher than the grid voltage must its own output be?
The current, 12.0 A, is in phase with the 277 V phase voltage, and the inductor's drop = 22.7 V is 90° ahead of it, so the inverter's voltage is = 278.1 V: only 0.3% more, though turned by 4.7°. Supplying reactive power changes that: the drop then adds almost in phase and the inverter needs more DC voltage.
Name it
Current control
A grid-following inverter measures the grid voltage's angle with a PLL and regulates its output current, usually in a rotating dq frame aligned with the voltage, where the d-axis current carries real power and the q-axis current reactive power. Per phase, with grid voltage (RMS) and current I at angle φ:
so an inverter rated S can supply up to of vars alongside P.
The bridge voltage
Between the bridge and the grid, the filter inductance L drops . The bridge must produce per phase, and with space-vector modulation (lesson 35) its DC link must satisfy , with margin for grid overvoltage and control headroom.
LCL filters
A single inductor large enough to meet grid harmonic limits at the switching frequency is heavy. Splitting it into (bridge side) and (grid side) with a capacitor C between gives third-order attenuation above the resonance
exactly times better than an inductor of the same total when the grid is stiff, close to well above the resonance. The resonance is placed between about ten times the grid frequency and half the switching frequency, and damped by a resistor in series with C or by feedback of the capacitor current.
Grid support
Modern interconnection rules require inverters to ride through faults, to inject reactive current during voltage sags, and to adjust their real power with frequency, behaving more like the synchronous machines they replace (S10 lesson 46).
Worked example
A 10 kW inverter on a 480 V, 60 Hz grid at unity power factor has 5 mH per phase. Find its current, its bridge voltage and the DC link it needs with space-vector modulation.
Show the solution
- Current.
- Inductor drop. With ω = 377 rad/s and L = 5 mH: at right angles to the 277 V phase voltage.
- Bridge voltage. Per phase:
- DC link. before margins; designs typically use 750 to 800 V.
Answer 12.0 A, a bridge voltage of 278.1 V per phase, and a DC link of at least 681 V.
Worked example
An LCL filter has = 2 mH, = 0.5 mH and C = 10 µF. Where is its resonance, and how much extra does it attenuate a 10 kHz switching harmonic?
Show the solution
- Resonance. With = 2.5 mH: between 600 Hz (ten times the grid frequency) and 5 kHz (half the switching frequency).
- Extra attenuation at 10 kHz. more than a 2.5 mH inductor alone.
Answer it resonates at 2.52 kHz and attenuates a 10 kHz harmonic 14.8 times (23.4 dB) more than a 2.5 mH inductor alone.
Worked example
A 10 kVA inverter is delivering 8 kW. How much reactive power can it supply for voltage support?
Show the solution
- Reactive capability. The inverter's current rating sets its apparent power:
- In practice. Grid codes that require reactive support often oversize inverters by 10 to 20% so they can supply vars even at full real power, or curtail real power when vars are needed.
Answer up to 6 kvar.
Check
A 20 kW grid inverter at unity power factor feeds a 400 V, 60 Hz line through 10 mH per phase.
(a)
What current does it inject?
Write units the way you normally would: 1.5 A, 1500 mA and 0.0015 kA are the same answer.
(b)
What phase voltage must its bridge produce?
Check
An LCL filter has = 2 mH, = 0.25 mH and C = 20 µF; the inverter switches at 16 kHz.
(a)
Where is its resonance?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
(b)
How much more does it attenuate the switching frequency than a single inductor of the same total, with a stiff grid?
Check
An inverter rated 10 kVA delivers 0.6 of that as real power.
(a)
How much reactive power can it add?
Write units the way you normally would: 1.5 kvar, 1500 var and 0.0015 Mvar are the same answer.
Check
A grid inverter for a 400 V line needs a 5% margin over the minimum DC link with space-vector modulation, ignoring the filter drop.
(a)
What DC link voltage?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
Each phase of a grid inverter carries 10 A RMS at 60° from its 230 V phase voltage.
(a)
What real power?
Write units the way you normally would: 1.5 kW, 1500 W and 0.0015 MW are the same answer.
(b)
What reactive power?
Check
An LCL filter's resonance should sit between ten times the 50 Hz grid frequency and half the 4 kHz switching frequency.
(a)
What resonance is at the geometric middle of that range?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
Why does an LCL filter need damping, when a single inductor doesn't?
Check
A grid inverter injects I in phase with phase voltage V through L at angular frequency w; separately, an LCL filter has = a, = b and capacitance C.
Step 1
What bridge phase voltage is needed?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Where does the LCL filter resonate?
Check
Write bridge_voltage(Vg, P, Q, L, f): the complex per-phase bridge voltage (grid phase voltage Vg RMS at 0°) for three-phase real power P and reactive power Q (positive Q supplied to the grid), through L at frequency f.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Why do grid-following inverters need a phase-locked loop, and what problem can it cause on weak grids?
A grid-following inverter controls the current it injects relative to the grid voltage's angle, so it must know that angle at every instant; the phase-locked loop estimates it from the measured voltage. On a stiff grid the voltage hardly responds to the inverter's own current, so the PLL tracks a steady reference. On a weak grid, with high impedance, the injected current itself moves the local voltage, so the PLL partly follows the inverter's own effect, which can create a feedback loop that oscillates or loses synchronism. That's why weak grids call for slower PLLs, grid-forming control, or added short-circuit strength such as synchronous condensers.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.