Patent ID: 8143862

Claim:
A circuit for charging a battery pack, said circuit comprising: a power converter operable for receiving an input power, and for providing a charging power for charging said battery pack, wherein said power converter provides galvanic isolation between input circuitry and output circuitry of said circuit, wherein said input circuitry shares a first ground potential with said input power, and wherein said output circuitry shares a second ground potential with said charging power; and a charger controller integrated on an integrated circuit (IC) chip in said output circuitry, comprising: a state machine operable for monitoring the status of said battery pack and for selecting a charging mode suitable for said battery pack according to said status; and a modulator operable for generating a driving signal according to said charging mode, wherein said driving signal is transferred from said output circuitry to a switch of said power converter in said input circuitry to control said charging power.