Patent attributes
A vehicle includes a traction battery capable of being selectively coupled to a voltage bus. An inverter selectively couples the voltage bus to an electric machine. A leakage detection circuit including a switching element is connected between the voltage bus and a vehicle chassis. When the traction battery is coupled to the voltage bus and the switching element of the leakage detection circuit is closed, a leakage path in the electric machine may be checked by controlling the inverter to couple terminals of the electric machine to a common conductor of the voltage bus. A leakage path is detected when a leakage resistance associated with the leakage path is less than a predetermined resistance. The leakage resistance is ascertained by measuring a voltage within the leakage detection circuit. A location of the leakage path may be determined based on which components are coupled to the voltage bus.