Battery-Charger PWM Input Has

Battery-Charger PWM Input Has,第1张

Abstract: Adding watchdog protecTIon to the charger-input circuitry of a mobile phone guards against damage when the baseband processor stalls or ceases software execuTIon.

Mobile-phone batteries are usually charged through a proprietary charging algorithm in the baseband controller. The phone's charger input is connected to the internal battery through a p-channel switch of low on-resistance, controlled by a pulse-width modulaTIon (PWM) signal from the baseband controller (Figure 1). To minimize power dissipaTIon and consequent thermal problems in the phone, the charging supply (usually a wall cube) is current limited and specified according to the battery's chemistry and charge-recovery requirements.

Battery-Charger PWM Input Has,Figure 1.  Typical charger-input circuitry for a mobile phone.,第2张
Figure 1. Typical charger-input circuitry for a mobile phone.

Note that the (almost) direct connection between charger and battery could cause damage if the baseband processor should stall for any reason. What is needed is a circuit that monitors the PWM input and disables the series power switch after a predetermined delay interval. The circuit should be independent of the processor, and should allow charging to restart when the PWM signal returns.

To provide this protection, add a microprocessor supervisor (one that includes a watchdog circuit for software execution) and a usually open, SPST analog switch (Figure 2). The two ICs shown are available in 5-lead SOT23 packages to minimize space. R4, D2, and C1 protect the ICs by limiting VCC to a maximum of 5.1V. The R4 value isn't critical, because quiescent current for the added circuit is very low (30µA). Choose the R4 value to provide just enough current (0.5mA) to activate the Zener diode's "knee" characteristic.

Battery-Charger PWM Input Has,Figure 2.  Adding watchdog protection to the circuit in Figure 1 guards against damage when the baseband processor stalls or ceases software execution.,第3张
Figure 2. Adding watchdog protection to the circuit in Figure 1 guards against damage when the baseband processor stalls or ceases software execution.

The protection circuit doesn't burden the battery, because it receives no power except when the battery is being charged. The /RESET\ output produces a /CHARGER READY\ interrupt to the baseband controller CPU, and the open-drain structure of /RESET\ allows connection to other circuitry operating from different supply voltages. Powering the watchdog and PWM circuit only while charging also prevents a reverse discharge into /RESET\.

Circuit operation begins when an active charger is connected to the charger-input socket. When VCC reaches 3V ±45mV (in this example, using a 3V trim), the Reset period begins. Two hundred milliseconds later, Reset goes low and /Reset\ goes high (for the CY-suffix version of IC1). /Reset\ releases the SPST analog switch IC2, which enables the PWM input. At the same time, the active watchdog input (WDI) monitors the PWM input signal. If that signal does not produce a transition within 1.6 seconds (for the CY-suffix version of IC1), the RESET and /RESET\ outputs become active, disable the PWM input, and pause the charger algorithm through a CPU interrupt conveyed by the Charger Ready signal.

Battery-Charger PWM Input Has,Figure 3.  Reset-timing relationships for the Figure 2 circuit.,第4张
Figure 3. Reset-timing relationships for the Figure 2 circuit.

Battery-Charger PWM Input Has,Figure 4.  Timing relationships for the watchdog input in Figure 2.,第5张
Figure 4. Timing relationships for the watchdog input in Figure 2.

This design idea appeared in the July 21, 2005 issue of EDN.


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/dianzi/2471892.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-08-04
下一篇 2022-08-04

发表评论

登录后才能评论

评论列表(0条)

保存