Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new

A regulated converter draws constant power, so its input looks like a negative resistance −Vin2/P-V_{in}^2/P, and an undamped LC input filter in front of it can oscillate. Middlebrook's criterion keeps the system stable: the filter's peak output impedance must stay well below the magnitude of the converter's input impedance at every frequency. In practice you add a damping branch; for a 10 µH, 10 µF filter in front of a 120 W converter at 36 V, a 0.61 Ω resistor in series with 40 µF lowers the peak from about 67 Ω to 0.84 Ω, against a converter input impedance of 10.8 Ω.

The idea: a swing and someone who pushes at the wrong time

An LC filter is like a swing: give it a push and it rocks back and forth at its own frequency, f0f_0, a little less each time because of friction (the filter's small resistances). An ordinary resistive load adds more friction. A regulated converter does the opposite. When the bus voltage rises, it draws less current; when the voltage falls, it draws more. Every time, it pushes the swing in the direction it is already going.

If that push is stronger than the friction, the swing goes higher each cycle: the filter oscillates, by itself, with nothing wrong in either the filter or the converter alone. Damping is adding enough friction at f0f_0 that the converter's push can never win.

Why does a converter's input look like a negative resistance?

A closed-loop converter holds its output power PP constant. If the input voltage rises, the input current falls: Iin=P/VinI_{in} = P / V_{in}. The small-signal slope is

Zin=dVindIin=−Vin2PZ_{in} = \frac{dV_{in}}{dI_{in}} = -\frac{V_{in}^2}{P}

within the loop bandwidth. A negative resistance across the filter capacitor cancels the filter's own losses, and if its magnitude is smaller than the filter's resonant impedance, the LC rings up instead of decaying.

What is Middlebrook's criterion?

R. D. Middlebrook (1976) showed that adding an input filter changes the converter's control-to-output transfer function by a correction factor that depends on the ratio Zo/ZNZ_o / Z_N and Zo/ZDZ_o / Z_D, where ZoZ_o is the filter's output impedance and ZNZ_N, ZDZ_D are the converter's input impedances with the output nulled and with the duty cycle held. The design rule that follows (Erickson and Maksimović, Fundamentals of Power Electronics, the chapter on input filter design) is:

∥Zo∥≪∥ZN∥and∥Zo∥≪∥ZD∥\|Z_o\| \ll \|Z_N\| \quad \text{and} \quad \|Z_o\| \ll \|Z_D\|

at all frequencies. For a buck in its loop bandwidth, ∥ZN∥≈Vin2/P\|Z_N\| \approx V_{in}^2/P. A margin of 3 times (about 10 dB) is a common target, and the one Voltecx's automatic design uses.

Worked example: a 120 W buck at 36 V minimum input

Use the lowest input voltage at full load, where Vin2/PV_{in}^2/P is smallest:

∥ZN∥≈362120=10.8 Ω\|Z_N\| \approx \frac{36^2}{120} = 10.8\ \Omega

The filter is Lf=10L_f = 10 µH and Cf=10C_f = 10 µF:

f0=12πLfCf=15.9 kHz,R0=LfCf=1.0 Ωf_0 = \frac{1}{2\pi\sqrt{L_f C_f}} = 15.9\ \text{kHz}, \qquad R_0 = \sqrt{\frac{L_f}{C_f}} = 1.0\ \Omega

How big is the peak without damping?

With only parasitic losses, 10 mΩ of inductor resistance and 5 mΩ of capacitor ESR, the quality factor is about R0/0.015=67R_0 / 0.015 = 67 and the output impedance peaks near 67 Ω at 15.9 kHz. That is six times the 10.8 Ω the converter presents, so the criterion fails badly: the system will ring or oscillate at about 16 kHz.

The input filter of this article in Voltecx with its damping branch: Lf = 10 µH and Cf = 10 µF from the 36 V source, and Rd = 0.61 Ω in series with Cd = 40 µF across Cf. The converter connects across Cf.

How do you damp it?

A resistor RdR_d in series with a blocking capacitor Cd=nCfC_d = n C_f, across CfC_f, damps the resonance without dissipating at DC. For a given nn the optimum resistance and the resulting peak are (Erickson and Maksimović, input filter design):

Rd,opt=R0(2+n)(4+3n)2n2(4+n),∥Zo∥peak=R0 2(2+n)nR_{d,opt} = R_0\sqrt{\frac{(2+n)(4+3n)}{2n^2(4+n)}}, \qquad \|Z_o\|_{peak} = R_0\,\frac{\sqrt{2(2+n)}}{n}

With n=4n = 4 (Cd=40C_d = 40 µF):

Rd,opt=1.06×162×16×8=0.61 Ω,∥Zo∥peak=124=0.87 ΩR_{d,opt} = 1.0\sqrt{\frac{6 \times 16}{2 \times 16 \times 8}} = 0.61\ \Omega, \qquad \|Z_o\|_{peak} = \frac{\sqrt{12}}{4} = 0.87\ \Omega

Measured with Voltecx's analysis.impedance on the same network, with the 10 mΩ and 5 mΩ parasitics included, the peak is 0.84 Ω, a little lower than the lossless formula. Against 10.8 Ω the margin is about 22 dB, well above 10 dB.

The filter's output impedance seen from the converter, measured with analysis.impedance in Voltecx. Undamped, it peaks at 67 Ω (36.5 dBΩ) at 15.9 kHz, far above the converter's 10.8 Ω (upper line) and the 3.6 Ω target that keeps a 3× margin (lower line). Damped, the peak drops to 0.84 Ω and moves down to about 9 kHz.

What happens in the time domain?

Replace the converter by what it looks like from the bus, a constant-power load of 120 W (Voltecx's powerLoad), and step it from 100 W to 120 W.

The bus voltage with the converter as a 120 W constant-power load, simulated in Voltecx; the load steps up at the vertical line. Undamped, the bus oscillates at about 16 kHz and the oscillation grows every cycle until the bus swings over 100 V. Damped, it dips 0.27 V on the step and settles in about 200 µs.

Neither the filter nor the load is faulty on its own. The oscillation comes from the combination, which is why it is so often found only when the two boards are first connected.

Does the damping cost attenuation?

Little. At a 200 kHz switching frequency the damped filter attenuates by 44 dB, the same as the undamped LC's (f0/f)2(f_0/f)^2. The blocking capacitor is larger than CfC_f, but it carries only a small ripple current and can be an electrolytic whose ESR is part of RdR_d.

Other damping choices

  • RdR_d in parallel with LfL_f, with a series inductor to block DC current: smaller parts, but the resistor carries ripple.
  • Electrolytic ESR as the damper: an electrolytic bulk capacitor across the input with the right ESR does the same job at no extra parts, if its ESR stays in range over temperature and life.

Common mistakes

  • Checking at nominal input. Vin2/PV_{in}^2/P is smallest at the lowest input and full load; that is where the margin is thinnest.
  • Relying on parasitic damping. 10 mΩ of DCR and 5 mΩ of ESR left a 67 Ω peak here. Real damping needs a resistor sized for it.
  • Putting a plain resistor across CfC_f. It damps, but it burns Vin2/RV_{in}^2/R all the time. A blocking capacitor in series keeps it out of the DC path.
  • Using an ideal ceramic for bulk. A low-ESR ceramic in place of an electrolytic can remove damping that the design silently relied on.
  • Testing with a resistive load. A resistor has positive resistance and makes the filter look stable. Test with the converter, or with a constant-power load.

How to do it in Voltecx

  1. Draw the filter in front of your converter, or let emi.conducted size one (Design › Automate › Conducted EMI). It sizes a damped LC filter when the emission margin is short, and holds the filter's peak output impedance 3 times below Vin,min2/PV_{in,min}^2/P, the condition above.
  2. Measure the filter's output impedance with analysis.impedance, which injects a current into a node and returns Z=v/IZ = v/I against frequency: {"node": "vbus"} on the node between filter and converter. Compare its peak with Vin,min2/PV_{in,min}^2/P.
  3. Check the loop with the filter in place: analysis.loopGain on the switching circuit finds the periodic steady state first and reads the loop gain from it, so the filter's effect on the phase margin shows directly.
  4. Run a load step at the lowest input in Simulation › Test Bench and watch the bus voltage for ringing at f0f_0.

Analyses in Voltecx lists the frequency-domain tools; the design tools overview shows where the EMI and filter step sits.

Frequently asked questions

Why does adding an input filter make my converter oscillate?

The regulated converter's input behaves as a negative resistance −V2/P-V^2/P. When the filter's resonant impedance is larger than that, the negative resistance cancels the filter's damping and the LC oscillates.

What is a safe margin for Middlebrook's criterion?

Keep the filter's peak output impedance at least about 3 times (10 dB) below the converter's input impedance magnitude at the lowest input voltage and full load. More margin means less change in the loop gain.

Can I just use a bigger filter capacitor?

A bigger CfC_f lowers R0=Lf/CfR_0 = \sqrt{L_f/C_f}, which helps, but an undamped LC still has a high Q peak. You need real damping: a resistor branch or a lossy capacitor.

Which operating point is the worst case?

The lowest input voltage at the highest load power, where Vin2/PV_{in}^2/P is smallest.