Patent attributes
Various embodiments relate to a detector circuit, including: a voltage source configured to produce a first voltage on a first output, a second voltage on a second output, and third voltage on a third output, wherein the first voltage is greater than the second voltage and the second voltage is greater than the third voltage; a first switch connected to the second output; a sampling capacitor connected to the switch, wherein the sampling capacitor is charged by the voltage source when the switch is closed; a first comparator with one input connected to the first output and a second input connected to the sampling capacitor; a second comparator with one input connected to the third output and a second input connected to the sampling capacitor; a multiplexer with a plurality of inputs configured to be connected to a plurality of terminals of an external circuit and an output connected to the sampling capacitor, the first input of the first comparator, and the first input of the second comparator; and a controller with inputs connected to the first comparator, the second comparator, and a clock generation unit, wherein the controller is configured to produce control signals to control the first switch and the multiplexer and wherein the controller is configured to produce an output signal indicting the presence of a current leak on one of the plurality of terminals.