An old industry acronym/mnemonic that is worth learning by heart and practicing:
S.I.D.E.
Switch off
Isolate
Dump
Earth
- SWITCH OFF any source of power to the equipment.
- ISOLATE the equipment from any possible power sources, including batteries, by physically disconnecting the power input by, for example, unplugging them from the mains.
- DUMP any stored charge in components such as capacitors and inductors by shorting their terminals, preferably with a suitably sized resistor.
- EARTH any terminals of stored charge devices that might recharge, either by dielectrics relaxing (capacitors) or induction (inductors) using a conductive strap or clip connected to earth potential.
Even if you're not set up to do this rigorously all the time, it's still a good idea to follow it in an ad hoc fashion when you're dealing with kit that your Spidey sense tells you might be dangerous. Disconnect all power, short circuit big and high voltage capacitors with insulated test leads, and clip some croc clip test leads across any big or high voltage caps and daisy chain those to another to the Earth connection on your bench PSU. Keep one hand in your back pocket while you're clipping those croc clips on.
Do not underestimate the ability of some types of capacitor to develop a significant charge again after they have been discharged. This phenomenon is called dielectric absorption, or soakage. Charge that has leaked into the dielectric of the capacitor can leak out again onto the plates after they have been discharged. It's quite possible for this mechanism to magically recharge a capacitor to lethal voltages.