Electronic – Checking for a short in a circuit with a large capacitor

capacitorcurrent measurementproduction-testingtesting

I'm developing a small testing application for my company that tests various hardware and software functionality.

I do however have a problem developing a simple way to check for short circuits in the system (given a limited knowledge of electronics, I'm mainly a programmer).

The problem I have is that the system has a large capacitor (40 farad) with a fairly low average load (~50mA at 3.8V) where the capacitor may, or may not be previously charged.

Because of the capacitor i cannot simply check for a large current flowing from the power supply because that would probably just be the capacitor being charged.

My idea was to check if the current decreases at an expected rate given the capacitor. I'm afraid I don't know enough about capacitors or electronics in general to be able to accurately predict the capacitor charge and detect such a variation.

I thus would like to ask guidance on how to reliably perform such a check, or if there is any better way to check for a short circuit given a large capacitor. I have a fairly rudimentary knowledge of electronics and don't know much beyond the basics.

Best Answer

Measuring ESR (equivalent series resistance) may give you what you want.

Apply a square wave via a series resistor and monitor the waveform at the capacitor terminals.
The resistive component will cause a step change in voltage at the edges of the square wave, followed by an exponential charging curve. Vstep = I charge x Reffective.

If Rshort is usefully smaller than the capacitor ESR then you will get a lower initial Vstep with a shorted capacitor.