This is only a preview of the November 2025 issue of Practical Electronics. You can view 0 of the 80 pages in the full issue. Articles in this series:
Items relevant to "3D Printer Filament Drying Chamber, Part 2":
Articles in this series:
Articles in this series:
Articles in this series:
Articles in this series:
Articles in this series:
|
Capacitor Discharger
Capacitor
Discharger
Here is an often-requested project: an easy and
safe way to discharge capacitors, large and small,
including those used to store rectified mains (up
to about 400V DC).
Project by Andrew Levido
f you have ever worked on high-power
audio amplifiers, vintage radios or
switch-mode power supplies, you
have probably been ‘bitten’ by a capacitor that remained charged after
the circuit was disconnected from the
power source.
Even if you have been careful to
keep your fingers out of the way, it is
all too easy to accidentally discharge
such a capacitor with a soldering iron
or screwdriver, with startling and perhaps damaging consequences.
It is therefore always good practice
to safely discharge such capacitors
before working on a device. You should
definitely not do this by shorting the
capacitor with a test lead (or worse,
a screwdriver), since the amount of
energy stored can be significant and
the peak currents could be huge.
Doing so is not good for the capacitors, the printed circuit board (PCB),
the shorting device or the nerves of
anyone nearby.
It’s much better to use a controlled
discharge device that limits the current to an acceptable level. An obvious
and common choice is to discharge the
capacitors via a power resistor. That
is where my thinking started when I
set out to build a simple discharger
for myself.
I envisaged a power resistor mounted
in a small case with a couple of banana
jacks so I could use standard test leads
to discharge the capacitors in question.
Practical Electronics | November | 2025
I wanted a discharger good for voltages up to about 400V DC, making
it suitable for off-line switch-mode
power supplies and vintage valve
gear. I wanted it to be able to handle
this voltage indefinitely, so the discharger would not be destroyed if
it was accidentally left connected
or was connected when power was
applied.
For example, a 10W resistor would
need a value of 16kW or more to be
permanently connected across a 400V
supply – any lower, and the 10W rating
would be exceeded.
However, a 10W resistor running
at its rated power can get hot enough
to burn skin (or even boil water!). So
you might instead use a value of about
33kW to keep temperatures reasonable,
giving a maximum dissipation of 4.85W
(400V2 ÷ 33kW).
The problem with a resistive discharge circuit is that the capacitor voltage will fall exponentially, as shown
in Fig.1. The figure shows the normalised capacitor voltage on the vertical
axis and time on the horizontal axis.
The decay time depends on the
circuit time constant τ, given by the
Normalised RC Decay
1.0
0.9
Normalised Capacitor Voltage
I
0.8
0.7
0.6
0.61
0.61
0.5
0.4
0
0.37
.37
0.3
0.22
.22
0
0.2
0.15
.15
0
0.08
0
.08
0.1
0.0
0.0τ
0.5τ
1.0τ
1.5τ
2.0τ
2.5τ
0.05
0
.05
3.0τ
0.03
0
.03
3.5τ
0.02
0
.02
4.0τ
0
0.01
.01
4.5τ
5.0τ
Time constants: τ=RC (seconds)
Fig.1: when discharging via a resistor, the voltage across a capacitor decays
exponentially at a rate determined by the time constant τ, which is the product
of the resistance and capacitance.
3
Constructional Project
product of resistance and capacitance.
The numbers adjacent to the curve indicate the level of discharge achieved
after a given number of time constants.
The graph shows that discharging
a capacitor from 400V down to a safe
level (less than say 10V) will take about
four RC time constants. With a 1000µF
capacitance and 16kW or 33kW resistance, the discharge would take 64 or
132 seconds (about one/two minutes)
– way too long in my book.
We can calculate the average power
dissipated in the resistor during this
process by dividing the energy stored
in the capacitor by the time taken to
discharge it. The energy stored in a
capacitor is ½CV2, which works out
to 80J in our example.
We know the discharge time is 64/132
seconds, giving us an average power
dissipation of 1.25W/0.6W. Neither
seems like an efficient use of the resistor’s power rating. At the start of discharge, the resistor draws 25mA/12mA
from the capacitors, with an instantaneous power dissipation of 10W/5W,
but it decreases rapidly as the capacitor voltage falls.
What if we could draw a constant
25mA and discharge the capacitor
this way?
We know that the relationship between the current in a capacitor and
the voltage across it is I = C × ΔV/Δt.
This means the capacitor voltage will
fall linearly at a rate of -I/C with a constant discharge current. In our example, this will be -25V per second, discharging to 10V in just under 16 seconds, four to eight times faster than
using a resistor.
Fig.2: this shows the complete capacitor discharger circuit. It sinks a
relatively constant 25mA from 10V to over 400V.
Current vs Applied Voltage
30
25
Current (mA)
20
15
10
5
0
0
50
100
150
200
Voltage (V)
250
300
350
400
Fig.3: the measured current of the prototype ranges from a little over 26mA
at 400V down to about 16mA at 8V. That’s enough to discharge all but the
largest capacitors reasonably quickly.
4
The peak power dissipation will be
10W, but the average will now be 5W
– much better.
That is all good, but I still had to
develop a simple circuit that would
sink a relatively constant 25mA over
a wide voltage range. It should also be
polarity independent, since I wanted
to be able to use the discharger without worrying about which lead goes
where (one of the benefits of simple
resistors...).
Circuit details
The resulting circuit is shown in
Fig.2. The capacitor to be discharged
connects via banana jacks CON3 and
CON4, and a normally-closed thermal
switch, to the diode bridge formed by
diodes D1 to D4. The diode bridge
means that it does not matter which
way the capacitor is connected; either
way, the positive voltage gets applied
to the drain of Mosfet Q1 and the negative voltage to its source.
The discharge current flows through
LED1, giving a handy visual indication that the capacitor is discharging.
The remaining part of the circuit is
the current sink proper. The Mosfet is
biased on via the string of three 47kW
resistors. Three resistors are used to get
sufficient voltage and power ratings, as
almost all of the input voltage appears
across them (a 1W resistor is generally
capable of handling 400V DC, but it’s
better to be safe than sorry!).
As the Mosfet begins to conduct, the
voltage across the 27W resistor rises
until it reaches around 650mV, at which
point transistor Q2 begins to switch on,
pulling the Mosfet gate down and restricting the current through the Mosfet’s channel to approximately 25mA.
The zener diode is required to ensure
the Mosfet gate-source voltage never
exceeds a safe level, particularly during
start-up.
You may be wondering why I used
a 600V, 13A TO-220 Mosfet for an application with a maximum current of
25mA. The reason for the voltage rating
should be obvious, but since we are operating this Mosfet in the linear mode,
it is the power dissipation rather than
the current rating that is critical. This
Mosfet needs to dissipate up to 10W,
so I used a TO-220 package device
mounted on a heatsink.
Most of the parts in the circuit are
fitted to a PCB housed in a small plastic enclosure. The Mosfet and the thermal switch are both mounted on a
Practical Electronics | November | 2025
Capacitor Discharger
heatsink formed from a piece of aluminium angle.
The thermal switch is a fail-safe
device that disconnects the circuit
if the heatsink temperature reaches
90°C. That should never happen under
regular use, but it prevents overheating if the discharger is left connected
for extended periods while power is
applied.
In practice, the discharge current is
not perfectly regulated, as shown in
Fig.3. The measured current for my
unit was 26.6mA at 400V, dropping
to around 20mA at 10V and 16mA at
8V. Below this, there is insufficient
voltage to bias the Mosfet on, so the
current drops almost to zero.
The LED lights when a charged
capacitor is connected; it goes
out when the capacitor voltage
drops to less than 10V, giving a
useful indication that discharging
is complete and the circuit is safe.
Keep in mind that the LED will also
go out if the thermal breaker trips,
but that’s pretty unlikely in normal
use, and you would hear it if it did
(assuming you do not have severe
hearing loss).
The LED colour is not critical but
if you use one with a higher forward
voltage (like green, blue or white),
it will stop discharging at a slightly
higher voltage.
If you want to be sure (to be sure),
you can always check the capacitor’s final voltage with a DVM before
proceeding to work on the circuit. If
you see the voltage increasing, don’t
freak out! That is a phenomenon
called dielectric charge absorption.
It is very common in large electrolytic capacitors; unloaded, they can
recover quite a bit of their initial
charge over time.
Because of that, you may want to
leave the discharger connected to the
capacitor for a while, to make very
sure it’s drained before working on
the device!
The PCB is a neat fit
in the handheld case, with
the banana sockets mounting each
on one end panel.
Fig.4: the PCB is quite simple, so assembly is straightforward. Ensure the diodes,
LED and transistors are orientated correctly and avoid dry joints; it should
work first time.
Construction
Construction is very straightforward.
The Capacitor Discharger is built on a
double-sided board coded 9047-01 that
measures 90 × 50mm. Refer to the PCB
overlay diagram, Fig.4, to see which
parts go where. Fit the diodes first,
ensuring they are in the correct positions and have all the cathode stripes
facing the top of the board.
Then mount the resistors, followed
Fig.5: drill the heatsink (aluminium angle) according to this diagram. The shape
of the semi-circular cutout is not critical as long as there is room for the LED
leads to clear the heatsink.
Practical Electronics | November | 2025
5
Constructional Project
Parts List – Capacitor Discharger
1 double-sided PCB coded 9047-01, 90 × 50mm
1 Gainta G436 dark grey 120 × 60 × 30mm ABS plastic moulded enclosure
[TME G436, FIRMA PIEKARZ 11883]
1 90°C normally-closed (NC) thermal switch (S1)
[Farnell 1006844, 4205780 or 4205759]
2 panel-mounting banana jack sockets (CON3, CON4)
[Farnell 3518750, 3581087 or similar]
1 pair of mains-rated probes with banana plugs
1 90mm length of 25 × 12 × 1.6mm aluminium angle
3 M3 × 10mm panhead machine screws, flat & shakeproof washers & nuts
4 No.4 × 6mm self-tapping screws
1 small tube of thermal paste
1 150mm length of mains-rated hookup wire
Semiconductors
1 STP18N60M2 or AOT10N60 600V 10A Mosfet or equivalent, TO-220 (Q1)
[Silicon Chip SC4571, Farnell 2807284, DigiKey 497-13971-5-ND]
1 BC547 45V 100mA NPN transistor, TO-92 (Q2)
1 red 5mm 30mA LED (LED1) [Farnell 2322131]
1 7.5V 0.4W or 1W zener diode, DO-41 (ZD1)
4 1N4007 1kV 1A diodes, DO-41 (D1-D4)
Resistors
3 47kW 5% 1W axial
1 27W 5% ¼W axial
This photo and Fig.7
show the simple wiring required.
Silicon Chip Capacitor Discharger Kit (SC7404, ~£15 + P&P): includes the
PCB, resistors, semis, mounting hardware (no heatsink) and banana sockets.
by the small transistor, with its flat face
orientated as shown. Leave the Mosfet
and LED off the board for now.
The heatsink bracket is made by
cutting 90mm from a piece of standard 25 × 12 × 1.6mm aluminium ‘unequal angle’, drilled as shown in Fig.5.
The semi-circular cutout at the bottom
centre of the heatsink is to clear the
LED leads. Its exact shape is not critical; it can be formed by hand with a
round file.
Once drilled and deburred, the bracket can be attached to the PCB by mounting the thermal switch with two M3 ×
10mm machine screws with washers
and nuts. The screws should be installed from the bottom of the board
to ensure they don’t interfere with the
case. Use a dab of heatsink compound
under the thermal switch.
Make sure to line up all the holes
in this step. You may need to carefully bend the terminals of the switch
down to about 45° to allow the lid to
be fitted.
Bend the Mosfet leads and fit this
using another M3 × 10mm screw, with
a nut and washers in the same way.
Again, use heatsink compound under
the Mosfet. Carefully tighten the Mosfet
down before soldering so you don’t put
any undue strain on the leads.
Now drill a 5mm hole right in the
centre of the case top for the LED, plus
two 12mm holes, centred in both end
plates for the banana jacks, as shown
in Fig.6. Test-fit the PCB into the case
and clip the LED’s leads to the correct
length so its lens just protrudes through
the hole in the top of the case when
assembled. Then you can solder it in
permanently.
Finally, fit a couple of wires to the
CON1 and CON2 pads on the PCB.
Fig.6: one 5mm hole is required in the
top of the case for the LED, plus one
12mm hole in each end plate for the
banana jacks.
6
Practical Electronics | November | 2025
Capacitor Discharger
Fig.7: wiring the capacitor discharger could not be more straightforward. Use
any handy mains-rated hookup wire, as the maximum current is 25mA.
After that you can wire up the connectors and thermal switch as shown
in Fig.7. The wire doesn’t need to be
thick but it should have mains-rated
insulation to ensure it will withstand
up to 400V.
Finally, you can screw the board
down using 6mm self-tapping screws
and close up the box.
Testing & operation
To check that the Capacitor Discharger is working, you can connect
it (either way) across a power supply
and adjust the voltage. You should see
the LED light and a current draw in
the region of 18-25mA at any voltage
above about 10V.
Using it is as simple as connecting a
pair of test probes to each side of any
potentially charged capacitors – I use
a cheap pair I picked up online. Remember that high voltages might be
applied to those test probes; don’t use
really cheap ones if you will be applying 400V DC!
Still, in our experience, you don’t
need to spend much money to get clips
with decent insulation.
If the LED lights when the clips are
attached, the capacitor is charged, so
hold the probes in place until it goes
out.
It should only take a matter of seconds if it's a single capacitor, although
a large capacitor bank like in a power
amplifier could take longer to fully
discharge.
In the case of an amplifier with
two capacitor banks (positive and
negative), you can connect it across
both banks to discharge them at the
same time.
This simple, low-cost project is well
worth building if you are intending to
develop or service any high-voltage
devices.
PE
The finished
device – all
you have
to do is
connect
it to a
capacitor
and wait
for the
LED to
go out.
Practical Electronics | November | 2025
7
|