Skip to content

RCD Clamp Snubber Calculator — Flyback Leakage-Inductance Clamp

Design the RCD clamp that limits a flyback converter's drain voltage spike: clamp power including the reflected-voltage factor, the clamp resistor and capacitor, the peak drain voltage and the diode's reverse-voltage rating, from the leakage inductance, peak current and clamp voltage.

Koo, Design Guidelines for RCD Snubber of Flyback Converters, Fairchild AN-4147, Rev. 1.1.0 (2006), Eqs. (2)–(5)API slug rcd-clamp-snubber

Sign in to saveSave

Specification

Example
Primary leakage inductance of the transformer, measured with the secondary shorted; typically 1 to 3% of the magnetising inductance

1 nH or more

Primary current at the moment the switch turns off, at full load and minimum input voltage

1 mA or more

Switching frequency of the flyback converter

1 Hz or more

Output voltage (plus the rectifier drop) times the primary-to-secondary turns ratio n, which the primary sees while the secondary conducts

1 mV or more

Voltage the clamp capacitor holds above the input rail; AN-4147 suggests 2 to 2.5 times the reflected voltage

1 mV or more

Allowed ripple on the clamp capacitor as a share of the clamp voltage; 5 to 10% is usual
%

0.1 to 99 %

Highest DC input voltage (for an off-line converter, the rectified peak of the highest mains voltage)

0 V or more

Rounds every part to the nearest value in the series; the response and the export are the rounded design's.

Circuit

Values shown: Ideal
DRAIND≥ 152 VR12.56 kΩC178.13 nFVIN
RefPositionIdeal
R1Clamp2.56kΩ
C1Clamp78.13nF

Response

Clamp Voltage as Built
80V
Clamp Ripple as Built
4V
Clamp Resistor Power as Built
2.5W
Peak Drain Voltage as Built
152V
Clamp PowerPsn
2.5W
Peak Drain Voltage (V_in,max + V_sn)Vds,pk
152V
Diode Reverse Voltage (minimum rating)VRRM
152V
Leakage-Energy Loss Alone (½·L·I²·f)Plk
1.25W
Reflected-Voltage Factor V_sn/(V_sn − nV_o)k
2
Diode Conduction Timets
125ns
Clamp Ripple VoltageΔVsn
4V

Formula

Koo, Design Guidelines for RCD Snubber of Flyback Converters, Fairchild AN-4147, Rev. 1.1.0 (2006), Eqs. (2)–(5)
Psn=12LlkIpk2fsVsnVsn−nVo,Rsn=Vsn2Psn,Csn=VsnΔVsnRsnfs,Vds,pk=Vin,max+VsnP_{sn} = \tfrac{1}{2} L_{lk} I_{pk}^2 f_s \frac{V_{sn}}{V_{sn} - nV_o},\quad R_{sn} = \frac{V_{sn}^2}{P_{sn}},\quad C_{sn} = \frac{V_{sn}}{\Delta V_{sn} R_{sn} f_s},\quad V_{ds,pk} = V_{in,max} + V_{sn}
SymbolQuantityYour value
LlkPrimary leakage inductance (µH)1 µH
IpkPeak primary current at turn-off (A)5 A
fsSwitching frequency (kHz)100 kHz
nVoReflected output voltage (V)40 V
Vsn, ΔVsnClamp voltage and its ripple (V)—
Psn, Rsn, CsnClamp power, resistor and capacitor (W, kΩ, nF)—
Vds,pkPeak drain voltage, which the diode must also block (V)152 V

Assumptions

6 items
  1. 01Koo’s flyback clamp (Fairchild AN-4147, 2006): while the clamp conducts, V_sn − nV_o falls across the leakage inductance, whose current falls from I_pk to zero in t_s = L_lk·I_pk/(V_sn − nV_o), so the clamp absorbs P_sn = ½·L_lk·I_pk²·f_s·V_sn/(V_sn − nV_o).
  2. 02The resistor dissipates V_sn²/R, so R_sn = V_sn²/P_sn, and the capacitor holds the ripple to the share entered, C_sn = V_sn/(ΔV_sn·R_sn·f_s); the clamp voltage is taken as constant over a period, which AN-4147 allows up to 10 % ripple, and a larger ripple is flagged.
  3. 03The clamp returns to the input rail, so the drain peaks at V_in,max + V_sn and the diode blocks the same while the switch is on; ringing above the clamp and the diode’s forward drop and recovery are not modelled.
  4. 04A clamp voltage at or below nV_o is refused, since the clamp would then conduct continuously, and a conduction time t_s longer than the switching period is flagged; L_lk and I_pk are taken at the design point, minimum input and full load, and other operating points are not computed.
  5. 05With a part series chosen, R and C are each rounded to the nearest value of that series (C sized from the exact R), and the page shows what the rounded clamp settles to: the energy balance V·(V − nV_o) = R·½·L_lk·I_pk²·f_s gives its voltage, V/(R·C·f_s) its ripple and V²/R the resistor’s power, which the BOM and KiCad export size the resistor for.
  6. 06The diode is drawn and exported, rated for the peak drain voltage, but no series rounds it.

Worked example

Off-line flyback clamp at 220 V, E24 parts

An off-line flyback switches at 65 kHz with up to 375 V DC in, a 100 V reflected voltage, 8 µH of leakage inductance and 1.2 A peak primary current. Clamp at 220 V with 8 % ripple and round R and C to E24: what does the rounded clamp settle to, and what does the drain see?

StepExpressionResult
Leakage-energy loss alone½ × 8 µH × (1.2 A)² × 65 kHz374.4 mW
Reflected-voltage factor220 / (220 − 100)1.833
Clamp power374.4 mW × 1.833686.4 mW
Clamp resistor, ideal(220 V)² / 686.4 mW70.51 kΩ
Clamp resistor, E2470.51 kΩ → E2468 kΩ
Clamp ripple voltage8 % × 220 V17.6 V
Clamp capacitor, ideal220 V / (17.6 V × 70.51 kΩ × 65 kHz)2.727 nF
Clamp capacitor, E242.727 nF → E242.7 nF
Clamp voltage as built(100 V + √((100 V)² + 4 × 68 kΩ × 374.4 mW)) / 2217.2 V
Resistor power as built(217.2 V)² / 68 kΩ693.8 mW
Drain peak as built, which the diode also blocks375 V + 217.2 V592.2 V

How it works

In a flyback converter not all of the primary's flux links the secondary. The part that does not is the leakage inductance LlkL_{lk}, and when the MOSFET turns off, the current in it has nowhere to go: it charges the MOSFET's output capacitance and the drain voltage spikes far above the input plus the reflected output voltage Vin+nVoV_{in} + nV_o. An RCD clamp catches that spike. A diode from the drain charges a capacitor that sits at a clamp voltage VsnV_{sn} above the input rail, and a resistor across the capacitor bleeds off the energy each cycle.

Clamp power

While the clamp conducts, the secondary holds the magnetising inductance at nVonV_o, so Vsn−nVoV_{sn} - nV_o falls across the leakage inductance and its current falls from the peak IpkI_{pk} to zero in

ts=LlkIpkVsn−nVot_s = \frac{L_{lk} I_{pk}}{V_{sn} - nV_o}

The clamp absorbs VsnIpkts/2V_{sn}I_{pk}t_s/2 per cycle, which gives the clamp power of Fairchild's application note AN-4147 (Koo, Rev. 1.1.0, 2006):

Psn=12LlkIpk2fsVsnVsn−nVoP_{sn} = \tfrac{1}{2} L_{lk} I_{pk}^2 f_s \frac{V_{sn}}{V_{sn} - nV_o}

The first part is the energy stored in the leakage inductance. The factor Vsn/(Vsn−nVo)V_{sn}/(V_{sn} - nV_o) is the extra energy the transformer pushes into the clamp while the leakage current falls: it is 2 when the clamp sits at twice the reflected voltage, and it grows without limit as VsnV_{sn} approaches nVonV_o. At or below nVonV_o the clamp would conduct continuously and carry the output power, so the calculator refuses it. AN-4147 recommends VsnV_{sn} of 2 to 2.5 times nVonV_o.

Resistor, capacitor and voltage stress

The resistor dissipates Vsn2/RsnV_{sn}^2/R_{sn}, so Rsn=Vsn2/PsnR_{sn} = V_{sn}^2/P_{sn}. The capacitor is sized for the allowed ripple ΔVsn\Delta V_{sn}, usually 5 to 10% of VsnV_{sn}:

Csn=VsnΔVsnRsnfsC_{sn} = \frac{V_{sn}}{\Delta V_{sn} R_{sn} f_s}

With the clamp returned to the input rail, the drain peaks at Vin,max+VsnV_{in,max} + V_{sn}, and the diode blocks the same voltage while the MOSFET is on. AN-4147 asks for the steady-state peak to stay below 80% of the MOSFET's rated voltage, and for an ultrafast diode rated above it.

Validity

The equations assume the clamp capacitor's voltage stays constant over a switching period, which AN-4147 takes as holding for ripple up to 10%; above that the calculator warns. They also assume the leakage current falls to zero within the switching period, which it cannot do when tst_s is longer than the period; that is flagged too. The values are still shown in both cases. Leakage inductance and peak current should be taken at the design point AN-4147 uses, minimum input voltage and full load, where the clamp power is highest.

Practical tips

  • Start with V_sn at 2 to 2.5 times the reflected voltage, as AN-4147 recommends, then trade clamp loss against drain voltage.
  • Rate the clamp resistor at least twice its dissipation, and the capacitor for V_sn with margin; a film or high-voltage C0G capacitor holds its value at that voltage.
  • Reduce the leakage inductance first: interleaved windings and good coupling lower the clamp power more than any choice of R and C.
  • Verify on the bench: the steady-state drain peak should stay below 80% of the MOSFET's rating, and the start-up peak below 90% (AN-4147).
  • Export the BOM or KiCad schematic to get the diode, resistor and capacitor sized for current, power and voltage, with the diode from the drain and R and C from the clamp node to the input rail.

Common mistakes

  • Sizing the clamp resistor from the leakage energy alone, ½·L·I²·f. The clamp also absorbs the energy the transformer drives into it while the leakage current falls; at twice the reflected voltage that doubles the power.
  • Setting the clamp voltage barely above the reflected voltage. The loss factor V_sn/(V_sn − nV_o) then becomes very large, and the clamp starts to carry output power.
  • Using a standard-recovery rectifier such as a 1N4007. Its slow reverse recovery lets the clamp capacitor discharge back into the drain each cycle; use an ultrafast diode rated above the MOSFET's breakdown voltage.
  • Measuring leakage inductance with the secondary open. It must be measured at the primary with every secondary winding shorted.
  • Checking the drain voltage only at minimum input. The peak drain voltage is V_in,max + V_sn and must be checked at the highest input voltage.

Frequently asked questions

5 questions
Why is the clamp power more than the leakage energy?

While the clamp conducts, the transformer's reflected voltage keeps pushing current into it until the leakage current has fallen to zero. That adds energy in proportion to nV_o, which the factor V_sn/(V_sn − nV_o) accounts for. At a clamp voltage of twice the reflected voltage the clamp dissipates twice the leakage energy.

What clamp voltage should I choose?

AN-4147 suggests 2 to 2.5 times the reflected output voltage. Lower clamps dissipate more, because the loss factor rises steeply towards V_sn = nV_o; higher clamps dissipate less but raise the peak drain voltage, V_in,max + V_sn.

What reverse voltage must the clamp diode withstand?

While the MOSFET is on, its drain is near ground and the clamp node sits at V_in + V_sn, so the diode blocks V_in,max + V_sn, the same as the peak drain voltage. AN-4147 recommends rating it above the MOSFET's breakdown voltage, and an ultrafast type.

How large should the clamp capacitor be?

Large enough that its voltage changes little over one cycle: C_sn = V_sn / (ΔV_sn·R_sn·f_s), with ΔV_sn usually 5 to 10% of V_sn. A larger capacitor gives less ripple but takes longer to settle at start-up.

Can I use an RC snubber instead?

An RC snubber damps ringing but dissipates C·V²·f whatever happens; across a flyback's drain, with a capacitor big enough to absorb the leakage energy, that loss is far higher than a clamp's. The two are often combined: an RCD clamp for the spike and a small RC snubber for the residual ringing.

References

Design Guidelines for RCD Snubber of Flyback Converters · Snubber Circuits: Theory, Design and Application
  1. Design Guidelines for RCD Snubber of Flyback Converters — Gwan-Bon Koo, Fairchild Semiconductor Application Note AN-4147, Rev. 1.1.0 (2006) — Eqs. (1)–(5), pp. 2–3: conduction time, clamp power, resistor and capacitor; pp. 3–4: diode choice, the 80% drain-voltage rule and the FSDM311 design example, Eqs. (9)–(11)
  2. Snubber Circuits: Theory, Design and Application — Philip C. Todd, Unitrode Corporation (May 1993), TI literature SLUP100 — p. 2-7: the RCD voltage snubber in clamp mode, its resistor returned to the input bus, dissipating the leakage energy ½·L·I²·f plus the energy from the reflected voltage

Reproduces AN-4147's design example (14 kΩ, 1.6 W and, by its Eq. (11), 10.66 nF; 525 V predicted against the 524 V measured in its Figure 7); a clamp at twice the reflected voltage doubles the leakage energy, and a large clamp voltage tends to the leakage energy alone.

Shop Components

As an Amazon Associate we earn from qualifying purchases.

  • DC-DC Buck Converter ModulesAdjustable step-down converter modules for bench and prototype useAmazon →
  • LDO Voltage Regulator KitAssorted low-dropout linear regulators for prototypingAmazon →
  • Electrolytic Capacitor KitAluminum electrolytic capacitor kit for power supply filteringAmazon →
  • Power Inductor KitAssorted shielded power inductors for switching supply designsAmazon →