RC Snubber Resonant Design

An RC snubber is just a resistor and capacitor in series that damps out the oscillations occurring when a switched inductive circuit turns off.

How this is supposed to work is that the snubber capacitance forms a resonant tank circuit with the inductance, the resistor absorbs the tank’s energy, and the oscillations damp out quickly.

In practice, snubber circuits tend to be ill-designed, simply because it seems there’s no good way to measure the actual inductance and stray capacitance at the switch. Folks tend to apply a 100-ohm resistor and a 100 nF capacitor and hope for the best. Sometimes that works. Most of the time it’s suboptimal.

You can do better than that.

Forward converter switch, transformer, and snubber
Forward converter switch, transformer, and snubber

Here’s the key chunk of simple-minded forward converter I’m doing for a Circuit Cellar column. It’s an LTSpice IV model, not an actual schematic, but the hardware is pretty close to what you see here. The “Stray” capacitance at C5 represents a measured value, not an actual component. The transformer parameters come from my measurements there.

A microcontroller drives the transistor switch, which draws current through the transformer primary and transfers power to the secondary winding; the turns ratio is 1:25, so a 6 V input becomes a 150 V output. When the microcontroller shuts off the switch, the collector voltage pops up to about 11 V, at which point the stack of diodes turns on and the inductor begins to discharge. The diode forward-bias characteristics keep a more-or-less constant voltage until the current becomes essentially zero, so the collector voltage declines only slightly as the current drops.

When the current drops enough that the diodes don’t conduct very much, the collector node is in a peculiar condition: there’s no place for the remaining energy to go!

Undamped collector ringing
Undamped collector ringing

This scope shot shows the result. The drive pulse (top trace) pulls the collector voltage (bottom trace) to zero, it snaps up to 11.5 V, and then declines to about 10 V before the diodes switch off. At that point the collector voltage rings like a bell: 8 V peak-to-peak at 10 kHz. That’s a very low frequency because the primary reflects the fairly substantial stray capacitance in the zillion-turn secondary winding.

In order to form a resonant circuit, you need some idea of the existing inductance and capacitance. You can’t just clip a meter in there to measure them, because their values depend on the frequency, layout, and actual hardware.

One good experimental technique is pretty well summarized in Maxim’s AN-3835, which deals with Cold-Cathode Fluorescent Lamp drivers. Pay no attention to the CCFL stuff, as snubber fundamentals are the same wherever you go.

Basically, you add a test capacitance across the transistor (from collector to ground, similar to C5 in the schematic) and measure the new ringing frequency. Fiddle with the test capacitance until the frequency is half of what it started at. Use reasonably short lead lengths, particularly for applications that don’t involve actual transformers or inductors; surface-mount capacitors are your friends.

What you’re doing is fiddling with this equation:

F = 1 / (2 π sqrt (L C))

Because of the square root around LC, when you increase the capacitance by a factor of 4, the frequency decreases by a factor of 2. So the test capacitance required to cut the frequency in half is three times the original stray capacitance. Got that?

Knowing the original stray capacitance, which is 1/3 the test capacitor value, and the original ringing frequency, you can figure out the actual inductance:

L = 1 / ((2 π F)^2 C)

Now the magic happens…

You know the inductance and capacitance of the tank circuit and its resonant frequency. At that frequency, the inductive and capacitive reactances are equal:

XL = 2 π F L
XC = 1 / (2 π F C)

In fact, they’re also equal to what’s called the characteristic impedance of the circuit:

Z = sqrt(L / C)

The resonant frequency is about 10 kHz and an additional 60-some-odd nF dropped the frequency to about 5 kHz. Fairly obviously, your stock of caps will affect the precision of the results. Let’s suppose the stray capacitance, shown as C5, is about

C5 = 60 / 3 = 20 nF.

The inductor is then:

L = 13 mH

The characteristic impedance works out to:

Z = 800 ohms

Take those numbers with a grain of salt, but twiddling the scope cursors will get you pretty close in your own circuit.

In order to swamp any variations in the stray capacitance (during the production run or whatever), pick the snubber capacitance to be at least four times the stray capacitance, rounded up to the next standard value. In this case, that works out to the traditional 100 nF, but that need not be the case.

Snubbed oscillation
Snubbed ringing

You want to kill the ringing stone cold dead, so pick the snubber resistance equal to the characteristic impedance. That makes it a tank circuit with:

Q = R sqrt(C / L) = 1

Which is a pretty low Q, all things considered.

The scope shot shows the result with an 820 Ω resistor and a 100 nF capacitor: wham, no ringing!

Notice that the collector voltage is slightly lower immediately after the transistor switches off, as compared to the undamped case, because there’s now some juice going into the RC snubber. The overall converter efficiency will drop and you can trade off Q for efficiency for resistor dissipation in the usual manner.

Pretty slick, huh?

Update: you might want to put the snubber directly across the winding in higher-powered systems, to keep the snubber current out of the power supply. In this case it doesn’t matter all that much.

3 thoughts on “RC Snubber Resonant Design

  1. Interesting. A few comments/nitpicks:

    What you are describing is what I’d tend to call a damper, not a snubber. The stack of diodes is the snubber, since it clamps/snubs the transformer inductance. The damper simply damps the ringing that occurs when the snubber turns off.

    The “stack of diodes” clamp (or snubber or whatever you want to call it) limits you to low duty cycles at low input voltages, and very low duty cycles at higher input voltage. There just isn’t enough voltage there to reset the transformer core quickly. Your scope trace shows exactly that – on for 50uS, off for at least 1mS, so in your application it doesn’t much matter. The switchers I’m most familiar with either have a zener as part of the stack, or the snubber diode dumps the energy into a cap, and a resistor bleads the top of the cap down toward the input voltage.

    The RC snubber (or damper) will dissipate a lot of power at higher input voltage or high frequency. The entire energy in the cap (1/2CV^2) gets dissipated every cycle, since when the transistor is turned on the cap gets discharged all the way to zero volts. For a 6V input that doesn’t matter much, but as input and clamp voltages go up the squared term starts to bite hard.

    My switcher experience is almost entirely with higher input voltages. Anywhere from the 170V DC that you get when you rectify a 120V line, up to the 1000-1100V that can appear on the DC bus of a 690V AC motor drive. So I tend to be very sensitive to snubber dissipation.

    1. Yup, that’s (just) one of the reasons forward converters aren’t the bee’s knees for really high-power supplies: they spend half their time dumping core energy rather than putting it to good use.
      I’ll cheerfully admit to skirting all those high-power problems! This supply charges an electrometer dosimeter, so the output power (and efficiency) is exactly zero.
      I picked the pulse width to stop a goodly distance short of core saturation and the PWM period sets the output voltage. IIRC, it’s about 150 V under the conditions you see in the scope shot and 10 ms produces maybe 40 V. The voltage “feedback mechanism” is eye-to-hand through that encoder knob I mentioned a few days ago: read the dosimeter fiber and tune for zero-scale.
      Quite by coincidence, my other display shows my upcoming CC column with the cursor at the point where I’m about to say why there’s a white LED across the inductor: good old V = L di/di, so you want the highest voltage you can stand. I picked a white LED so you could see the thing dumping core energy. FWIW, the optocoupler feeds back to the microcontroller; you can ensure that the core actually does discharge during the cycle, although I’m not going to have space for that in the column.
      Makes for a simpler discussion, though, ya gotta admit. I will add a note about the snubber energy; thanks for the reminder!
      A while back I built (and wrote up in Circuit Cellar) a resistive soldering unit from a rewound kilowatt-class microwave oven transformer that worked like a champ: a few hundred amps at 5 V. I modeled & talked about triac control of inductive loads, why zero-voltage switching was basically suicide under those conditions, and even a bit about higher-power snubbing. I must stick those notes up here at some point; they’re nothing like the stuff you work on, but … they might help somebody out of a jam.

Comments are closed.