Electrical – How to disable charging of a battery while still powering the application

battery-charging

I have a battery-powered circuit which uses a Li-Ion battery which can be charged over USB using an MCP73831 charging controller. The battery has built-in deep-discharge protection, so disabling discharging is not required. However, Li-Ion batteries shouldn’t be charged below 0°C or above 60°C, which is why I want to be able to disable charging while still powering my circuit over the charging controller (which is why I don’t want to simply turn off the charging controller).

Would the following circuit with Q1 in an unusual, reversed direction work? The CHARGING_ENABLE wire is connected to a microcontroller in the 2.1V domain.

Circuit

Best Answer

Two tricks...

  1. "The charge management controller can be disabled by allowing the PROG input to float." (Sec 3.5 in the datasheet)

  2. Add a diode to power the step down directly from the supply when the supply is present.

The resulting circuit looks like this....

enter image description here

Anytime the +5V supply is present, it will be higher voltage than the battery voltage which will be maximum of about 4.2V even when charging. This reverse biases the diode, so the step down (or any downstream load) is powered directly from the input supply rather than the battery and charger.

"Charge Enable" now enables the PROG pin to drain though the PROG resistor. Without "Charge Enable", the PROG pin will float and the battery charger will not charge the battery (use this when temp is out of range).

Related Topic