CC Blog • Quick Bits • Resources

Capacitor Discharger

Written by Andrew Levido

I was recently working on a power electronics project that involved a large capacitor bank that was charged from the rectified 240V mains. This configuration is common in off-line switch-mode power supplies and the like. You also see similar banks of capacitors charged to high DC voltages in power amplifiers.

Clearly, this type of circuit represents a hazard as the capacitors store a lot of energy and will retain their charge after power is disconnected. It is good practice in such designs to include a discharge resistor across the capacitor bank to bleed away the charge over a period of time, often many minutes.

If you are ever working on such devices on the bench, it is vital to ensure any capacitors are discharged before going near it with tools or probes. I have seen people use a screwdriver across the terminals to do this, but it is definitely not recommended. It’s better and safer to do this in some controlled manner.

I used to have a small “discharger” box for just this purpose. The box had a couple of banana jacks on it, into which I plugged an old pair of multimeter probes. Inside was a power resistor to do the actual discharging. I don’t know what happened to it, but I could not find it when I looked for it. So, I decided to build another one. Being an engineer, I could not just replace the last one – I had to do it better!

I wanted it to handle capacitors charged up to 400V, to indicate when it was discharging or safe and or course, be polarity independent. I also wanted it to survive and be safe if it was ever accidentally left connected when power was re-applied.

One option was to use a power resistor as per my previous effort. A quick calculation suggested if I wanted to use a 10W resistor it would have to have a value of 16kΩ or greater. Any less and it would dissipate too much power if left permanently connected.

16kΩ means a peak discharge current of 25mA. The capacitor voltage would drop exponentially as shown in the red curve in Figure 1. It will take approximately 3.7 RC time constants to drop the voltage from 400V to 10V. If the capacitance was 1,000uF that would mean 251 seconds (or over 4 minutes) which is way too long.

Figure 1
This graph shows the discharge characteristics of a 1,000µF capacitance initially at 400V down to 10V. Using a resistor gives an exponential decay characteristic while using a constant current sink gives a linear one.

The peak power in the resistor would be 10W, but the average power over the discharge period will only be about 0.3W, so not a great use of the resistor’s potential. Incidentally you can calculate the average power easily by dividing the energy stored in the capacitor (½CV2) by the discharge time.

An alternative is to use a constant current discharge circuit. If we discharged a 1,000µF capacitor at a constant 25mA it would take just 15.6 seconds to drop from 400V to 10V. The voltage will fall linearly as shown by the green curve in Figure 1. Clearly this is much better! The constant current sink has another advantage in that we could put a LED in series with it and it would light steadily until the circuit is discharged and safe to handle.

The peak power dissipation will be 10W as before, but the average power dissipation will be 5.1W. This is a reasonable number that could easily be dissipated in a small enclosure.

So how do we design a constant current sink which can withstand 400V of either polarity? Figure 2 shows the answer. A bridge rectifier (D1 to D4) takes care of the polarity so that we don’t care which way the device is connected. The three series resistors, R1 to R3, bias the MOSFET Q1 on and current flows through it and the 27Ω resistor R4. Once the voltage across R4 reaches about 0.7V, the transistor Q2 begins to conduct, pulling the MOSFET gate down, limiting the current through Q1 to about 25mA. The Zener diode ZD1 is there to make sure the Q1’s gate-source voltage never exceeds 7.5V, even under transient conditions.

Figure 2
This is the schematic of the capacitor discharger as I built it. None of the components are particularly critical. I mostly used what i had on hand. See the text for a description of its operation.

The MOSFET dissipates most of the energy so is mounted on a small heatsink along with a normally closed thermal switch SW1 which serves as an emergency disconnect if the discharger were ever to be left connected when a circuit was powered up. It will open if the heatsink temperature rises above 90˚C.

Figure 3 shows the internals of the unit as I built it. The circuitry is on a small PCB along with a heatsink made from a scrap of aluminium angle. Banana sockets at either end provide the connections to a set of probes which can be used to discharge the circuit under test. The LED protrudes through the top of the case.

Figure 3
This photo shows the inside of the capacitor discharger. The thermal switch is mounted on the heatsink alongside the MOSFET. If you build something like this, you must mount it in an insulated enclosure as it potentially operates at high voltage.

I measured the current vs voltage characteristic of the finished unit. At 400V the current is just above 26mA, dropping more or less steadily to about 19mA at 10V. The LED in my unit turns off at around 7V. All in all, I think this is a great improvement over my previous effort.  I just have to hang on to this one!

Keep up-to-date with our FREE Weekly Newsletter!

Don't miss out on upcoming issues of Circuit Cellar.


Note: We’ve made the Dec 2022 issue of Circuit Cellar available as a free sample issue. In it, you’ll find a rich variety of the kinds of articles and information that exemplify a typical issue of the current magazine.

Would you like to write for Circuit Cellar? We are always accepting articles/posts from the technical community. Get in touch with us and let's discuss your ideas.

Sponsor this Article
+ posts

Andrew Levido (andrew.levido@gmail.com) earned a bachelor’s degree in Electrical Engineering in Sydney, Australia, in 1986. He worked for several years in R&D for power electronics and telecommunication companies before moving into management roles. Andrew has maintained a hands-on interest in electronics, particularly embedded systems, power electronics, and control theory in his free time. Over the years he has written a number of articles for various electronics publications and occasionally provides consulting services as time allows.

Supporting Companies

Upcoming Events


Copyright © KCK Media Corp.
All Rights Reserved

Copyright © 2026 KCK Media Corp.

Capacitor Discharger

by Andrew Levido time to read: 4 min