A ground fault detection system is provided where one current sensor is
used to calibrate a second sensor in order to provide automatic zeroing
of the difference measurement. The calibration is done gradually in order
to differentiate between sensor drift and a transition in current due to
a differential fault.