), I decided to short the capacitor against my solder real instead of just picking it up.
).
.Sparks and short circuits are surprisingly destructive, even when small!
When you short out a capacitor, you are placing a low resistance across it. Exactly how this happens varies with voltage. At low voltages (under 30V or so), nothing happens until the metals very nearly make contact (within nanometers) at some point. When that happens, the voltage across the gap suddenly equalizes, drawing current and launching an electromagnetic wavefront (aka a pulse). The risetime of this transient is very small: under a nanosecond. (For a long time -- until the 1960s or so -- the fastest pulse generators were, in fact, mechanically switched transmission lines. Mercury-wetted reed relays yield a risetime in the 300ps range!)
Risetimes this short necessarily contain wide ranges of frequencies, well into the GHz -- hence why sparking causes widespread radio interference, even against advanced, modern, high frequency (cellphone, Wifi, etc.) channels!
As the wave propagates, it communicates the current flow along the wires connecting the short to the rest of the circuit. When the wave bounces into something with a low impedance (like a capacitor), it bounces off, and ricochets back and forth. Each time, inducing more and more current flow. Eventually (after a few bounces or so), the sharpness of the wave decays, and it blurs into a straight ramping current flow.
For a "long" time, not much happens: the wave decays in nanoseconds (depending on the physical dimensions of the structure, and the speed of light, or something near it), and current continues to ramp up over microseconds.
Eventually, the current rises so high that the voltage drop across circuit resistances and capacitances becomes considerable. Now the voltage begins to drop, while the current continues to rise (but more slowly, as the voltage drops). If there isn't much resistance in the loop, the voltage will go down to zero (and current ceases to increase), but the current is still huge, so the voltage is pulled negative. After it goes negative a while, current reverses, then undershoots, and so on -- it rocks back and forth between voltage and current, resonating.
If the resistance is relatively large, the inductive component will only matter for the rising edge; once there, current kind of saturates (it levels off along an inverse exponential curve), then voltage and current decay, proportionally, over a longer time period.
We can model the discharge event with an RLC series circuit. Suppose the capacitor is 1000uF, and initially charged to 17V. The resistor might be 50 milliohms (typical of the ESR of such a capacitor), and the inductance, probably less than 20nH (more if you're shorting it from the opposite end of some wires, etc.). We can calculate which situation will result, based on the value of R: if R < sqrt(L/C), it will resonate and polarity will reverse; if R = sqrt(L/C), it will be critically damped, and kind of go "thud" as fast as possible; if R > sqrt(L/C), it will rise with an L/R time constant, then decay with an R*C time constant.
Since 0.05 ohm >> sqrt(0.02uH / 1000uF), it will follow the resistive decay pattern.
It will take on the order of t1 = (0.02uH)/(0.05 ohm) = 0.4us for current to ramp up (the wave-bouncing-around, then dampening, then ramping, then leveling off, phase), and t2 = (0.05 ohm)*(1000uF) = 50us for current and voltage to decay together. At the peak, current will be about (17V) / (0.05 ohm) = 340A, for a peak power dissipation of 5.78kW! Most of this will be in the capacitor's internal ESR, but the same current flows through everything, even the nanoscopic contact point, which gets heated into a microscopic melt zone, then vaporized into a crater as ionized air and metal forms a plasma ball -- a spark.
At higher voltages, the metal surfaces don't quite make contact before a spark jumps through the air. This is most likely to occur at a sharp point, edge, scratch or other feature on the surfaces, that causes the electric field to be stronger than elsewhere. Polished, round surfaces have higher breakdown voltage than sharp needles. The RLC equivalent circuit remains relevant, but at higher voltages, the capacitance is probably smaller, and you're more likely to see resonant type behavior.
At very high voltages, the sheer physical size required to attain high capacitances introduces so much inductance that a resonant discharge is very common, limited only by resistance instead.
Take ESD (electrostatic discharge) for example. The human body has a capacitance (against free space) of about 100-200pF. Skin resistance varies dramatically with voltage, frequency and hydration, but at the voltages and frequencies we're talking here (kV+ and MHz+), the equivalent resistance is in the 100-2000 ohm range. The inductance depends on what part of your body makes the zap, but it'll be in the 0.1 to 2uH range.
Let's say it's a good dry winter's day and you've been scuffling around on carpet, and you get charged to 10kV. Then you sit down at the computer and plug in a thumbdr*ZAP*OW!
If your ESR is 1kohm, your peak current is about 10A, with a time constant of about sqrt(L*C) ~= 14ns! That's a sharp pulse, and no current to laugh at -- considering 20mA is enough to kill, at least if it's applied for quite a bit longer than 14ns.
Suppose that zap was applied directly to the thumbdrive's (or computer's) USB D+/- pin: that's 10A in 14ns, ripping through a circuit designed for only 5V and 20mA! This much current is more than enough to vaporize microscopic bits of semiconductor and destroy ports. This is why ESD protection is so important to get right!
Tim
With regard to the transformer I have this one: http://uk.farnell.com/pro-power/ctfcs50-12/transformer-50va-2-x-12v/dp/1780891
It has 2x12V output. I assume this is two secondary windings and not one winding which is centre tapped? I wanted to produce +12V 0V -12V but this doesn't work - I end up with two +12V rails. I did this by joining the two grounds together.
To make similar discharge tool, what gauge wire or what current rating for the test leads would be needed to safely discharge say a 400 Volt 10,000 microfarad capacitor with a with a 50 ohm 50 watt resistor?
I would treat it a bit like a loaded gun.)
So in this video how much current is flowing over the test leads between the capacitor and the resistor?
To make similar discharge tool, what gauge wire or what current rating for the test leads would be needed to safely discharge say a 400 Volt 10,000 microfarad capacitor with a with a 50 ohm 50 watt resistor?

I'd still feel better with the vitreous or bulk resistor though; one advantage might be having one in your junk box already (they were popular in old TVs and radio gear, back in the days when voltage was dropped with resistors rather than converting it with a transformer, let alone a switching supply or anything!).
So in this video how much current is flowing over the test leads between the capacitor and the resistor?
To make similar discharge tool, what gauge wire or what current rating for the test leads would be needed to safely discharge say a 400 Volt 10,000 microfarad capacitor with a with a 50 ohm 50 watt resistor?
The peak current will be no more than 400V / 50 ohms, since we can assume the RLC circuit is dominant RC (R >> sqrt(L/C)). The average current, over time scales that wires care about, will be quite teensy; you'll spend more on insulation ("600V" wire perhaps?) than copper when building such a tool.
The resistor needs to handle a peak rating of (400V)^2 / (50 ohm) or 3.2kW. This is well over the momentary overload rating of most power resistors (usually something like 5x for 5 seconds), but the duration isn't very long, either (10mF * 50 ohm = 500ms, where the majority of the energy is dissipated; the capacitor is "fully" discharged in a couple seconds).
Very loosely speaking, power rating usually scales as sqrt(t), so for a 0.5s pulse (instead of 5), we should expect *maybe* 3.2 times the power rating, or 15 x rated, or 750W. Still not really enough, so, I'd suggest a "high energy" bulk type (they are available, though poorly stocked and expensive), or a bigger vitreous wirewound type that's more likely to handle the overload.
The metal-case resistors are notoriously cheap -- well, perhaps not "notorious" enough if few people know their construction. The black stuff on the ends is indeed an epoxy potting compound, which retains a wirewound ceramic former inside the aluminum heatsink. So guess what: the heat transfer is from wire to epoxy to aluminum. Even thermal epoxy is not a terrific conductor, so this is a pretty crappy method, and it's why they're only rated to modest temperatures (150C or thereabouts) and overloads. Note also, the continuous rating is ONLY possible with a full heatsink, including mounting hardware and grease. They can't be used willy-nilly -- the ambient (non-heatsinked) rating is something like 10% of the full rating.
Whereas a vitreous resistor is what it says it is; metal wire on a ceramic body, bonded with glass. You have to hit them with a punishing amount of energy to destroy them, and they will operate at red hot for momentary overloads (your connections will desolder or burn themselves off before the resistor itself is compromised!).
Not that continuous ratings are key here (they aren't!), but taking note of the heat transfer materials in the construction is.
The metal case resistor might not survive that kind of treatment forever (probably dying due to fatigue, fracture and burning of the plastic, then overheating at a spot and burning out; possibly failing shorted in the process, which will of course discharge capacitors quite a lot faster afterwards!), and we're probably talking in the 1000s of cycles range here. So on a human scale, hardly a problem. I'd still feel better with the vitreous or bulk resistor though; one advantage might be having one in your junk box already (they were popular in old TVs and radio gear, back in the days when voltage was dropped with resistors rather than converting it with a transformer, let alone a switching supply or anything!).
Tim
To make similar discharge tool, what gauge wire or what current rating for the test leads would be needed to safely discharge say a 400 Volt 10,000 microfarad capacitor with a with a 50 ohm 50 watt resistor?
Just do a simple direct calculation.
If you have 400 volts feeding 50 ohms, then you have an initial current of 400/50 = 8 amps. So any wire that can carry 8 amps will be fine. Pretty much any ordinary wire.
Now if you have 8 amps flowing at 400 volts, then the power will be 400 x 8 = 3200 watts. Your 50 watt resistor might not be sufficient if the capacitor is too big.
Take a worst case estimate:
400 V x 10,000 µF = 4,000,000 µA-seconds = 4 amp-seconds
So the capacitor will take ~2 seconds to discharge at 8 amps. Can a 50 watt resistor withstand 3200 watts for a few seconds? Possibly, though it might be borderline. On the plus side is the exponential discharge curve so the power will fall off rapidly. On the minus side is vastly exceeding the power rating of the resistor. The wires inside might melt before the power can escape.
(By the way, a 10,000 µF capacitor charged up to 400 V is scaryI would treat it a bit like a loaded gun.)
(Someone posted a thread a while back where he was surprised how much charge was still held by a cap that had been removed for some considerable period of time from a working device.)High wattage resistors are readily available. Space heaters and electric kettles come immediately to mind. Or just use a higher value resistor and let the discharge take longer. Instead of 50 ohms, use 500 ohms, say.
(By the way, a 10,000 µF capacitor charged up to 400 V is scaryI would treat it a bit like a loaded gun.)
Right, that's why after watching the youtube example I decided to go from 10 ohms (as used in the video) to 50 ohms, but perhaps 500 ohms would be better, or possibly 1k ohms.... so I'm looking for a way to make the selection. My main idea is to build the tool with whatever size resistor and then stay well south of what that resistor should handle by limiting the size (volts and microfarads) of the caps used. I don't need any big caps, I just want something practical to discharge modestly small caps. I guess you could use a 5k ohm resistor but at some point the discharge process will require the cap to be set aside for a discharge waiting period. I'm thinking that it would be better to design a tool that will allow for a few seconds (less than 10 seconds and preferably less than 5 seconds) discharge and then stay with cap sizes below whatever that safely allows. This way the "workflow" always says "discharge this cap now" rather than "I wonder if this cap was previously discharged?" This is all simple-silly for the experienced practitioner but that's why I posted this in the beginner forum.
Right, that's why after watching the youtube example I decided to go from 10 ohms (as used in the video) to 50 ohms, but perhaps 500 ohms would be better, or possibly 1k ohms.... so I'm looking for a way to make the selection. My main idea is to build the tool with whatever size resistor and then stay well south of what that resistor should handle by limiting the size (volts and microfarads) of the caps used. I don't need any big caps, I just want something practical to discharge modestly small caps. I guess you could use a 5k ohm resistor but at some point the discharge process will require the cap to be set aside for a discharge waiting period. I'm thinking that it would be better to design a tool that will allow for a few seconds (less than 10 seconds and preferably less than 5 seconds) discharge and then stay with cap sizes below whatever that safely allows. This way the "workflow" always says "discharge this cap now" rather than "I wonder if this cap was previously discharged?" This is all simple-silly for the experienced practitioner but that's why I posted this in the beginner forum.
Yeah, I'd go with 10-1000 ohm, vitreous or "high energy", over 20W (or equivalent energy rating).
Large resistances (1k range and up) may be inconveniently slow, which makes it even more of a nag, and less likely to be used. Undesirable for a safety tool.
Could put a high-efficiency LED across it, with a nice large resistor (100k 2W?), so you can see the discharge progress. If it blinks, you shouldn't have touched it, and it needed the discharge. If it doesn't blink, you were being overly cautious (which is to say, better safe than sorry!).
You'd want a high efficiency LED just so you can see the glow down to very low voltages (with a 100k resistor, it should still be visible under indoor lighting conditions with all of 10V applied).
If you wanted to get fancier, you could even put a meter on it.
Tim

- might have to go with the 50 ohm, 50 watt unit and just keep the cap volts and microfarads down accordingly.On the other hand, when looking at the dimensions of these resistors, this 50 ohm 50 watt resistor looks like it will take up less bench space
http://www.digikey.com/product-search/en?mpart=FVT05006E50R00JE&vendor=274
0.563" Dia x 4.000" L (14.30mm x 101.60mm)
I'm kind of leaning toward a portable resistor vs a bench resistor- might have to go with the 50 ohm, 50 watt unit and just keep the cap volts and microfarads down accordingly.
Thoughts? Thx, EF