Close

Theory of Operation

A project log for Battery Ground Fault Detector

This design provides an alternative cost-effective method for protecting a grounded DC battery in a PV power system from ground faults.

brian-cornellBrian Cornell • 09/10/2026 at 21:30•0 Comments

Reference the schematic in the files section while reading this.

The BGFD detector works on the principle of magnetic saturation in Current Transformer (CT) T101. Whereas a CT is normally used to sense alternating (or a pulsing DC) current, this application primarily relies on a DC current saturating the core and reducing its impedance to an injected AC signal on the secondary.

U101A and its constituent components form a phase shift oscillator to generate a 24kHz AC signal centered on an offset voltage of 6V. This signal is amplified by U101B to provide the drive for the sense circuit. R112 provides current limiting so that a drop in the CT impedance results in a sufficient voltage drop, and C109 blocks the DC component from the CT.

The CT’s secondary is connected across Sense(+) & ground. In the absence of a fault current or shorted primary, the impedance of the CT is high and there is little voltage drop in the injected signal.

Since the design doesn’t use a bipolar supply, D107 blocks the negative component and U101C provides drive for the integrator, U101D. The integrator provides a DC signal that is an analog of the AC signal across the CT: a decrease in the CT’s impedance reduces the RMS value of the AC halversine at U101C’s output, thus increasing the integrator’s output at Sense_out.

Comparator U102 compares the Sense_out value to that set by voltage divider R113 & R114 and goes high when exceeded. This reverse biases the Status LED, D102, and turns it off. Gate driver U103’s input is biased high, via D108, setting its output high. This reverse biases relay K101, which turns it off and opens the shutdown circuits. It also drives the Trip LED on.

The combination of D108 & D109 ensure that U103’s positive feedback locks it on even if the fault clears. Reset button S102 can clear the Trip provided the fault has cleared (R115 shunts the charge at the Relay node). The Bypass switch SW101 is wired in parallel with relay K101 and is used during system startup or to bypass a trip. A third pole on SW101 activates LED D104 to indicate when bypass is active.

The unit is powered by a non-isolated buck using the TI LM5017 that uses a fixed on-time heuristic switching algorithm. The supply comes out of UVLO at approximately 18V and provides a regulated 12V DC with input voltages up to 80V. Output ripple is minimized using current ramp injection to the feedback loop via R204, C207, and C206. The 6V offset reference is provided by the TI TLV766 LDO regulator.

For safety, it is expected that the implementer will connect the unit to the system’s battery thru a dedicated & fuse (2A, fast acting) protected circuit.

Discussions