SLUAB31A June 2025 – June 2025 BQ25620 , BQ25622 , BQ25622E , BQ25628 , BQ25628E , BQ25629 , BQ25638
For many systems, determining when a battery is present or not is helpful. If the battery is present, higher system loads can be supported, or a notification to the end user can be provided if the battery is removed. Furthermore, when a battery is removed from the BAT pin and there is an adapter present, the charger begins charging the capacitance on the battery node. Once the regulation voltage is reached the charge stops until the BAT pin voltage falls below the recharge threshold, then the charge starts again. This can lead to audible noise, added EMI, or SYS voltage fluctuations. To mitigate these issues, the integrated features of the BQ2562x and BQ2563x single cell chargers can be leveraged to detect the presence of a battery and enable or disable charge accordingly.
The BQ2562x and BQ2563x charger families have the capability to apply an approximately 30mA discharge current on the BAT pin. This feature can be used to implement a battery detection algorithm. If there is no battery present, the 30mA discharge current removes any small capacitive charge on the BAT pin and causes the voltage to drop. When the battery is present, there is voltage on the BAT pin. In either case the battery voltage can be detected using the integrated ADC. If there is a protector IC used, the charger must be enabled for a short time to recover the Undervoltage Protection (UVP) of the protector IC. If VBAT is below VREG-VRECHG while charge is enabled, the battery is present and the protector device is active. These methods allow for a quick way to check if the battery is inserted in the system; the methods do not require any additional components.
Figure 2 BAT Pin Discharge
MethodTo detect when the battery is removed or the UVP protection is active, the following steps can be executed on the host MCU firmware. The registers and bits provided in the sequences below correspond to the BQ2562x family of chargers. For other charger families, visit the data sheet register definitions.
To remove battery detection:
Make sure that there is long enough wait time in the firmware after enabling the ADC and before reading the value back between steps five and six. The conversion speed of the ADC can be adjusted, or only the VBAT ADC can be enabled to reduce ADC wait time.
Check and the recover protector IC:
The wait time in step three is dependent on the protection IC used for the battery. Tests are required to determine the exact wait period required to recover from UVP. The wait period is a function of how deeply discharged the battery is and the protector device recovery criteria. Once a determination has been made if the battery is present or not, all previous register configurations can be reset back to the application requirements.
Testing was performed using a standard lithium-ion battery, BQ25620EVM, and BQ29700EVM.
When the battery is not present the initial FORCE_IBATDIS brings the battery voltage to 0V, then charge is enabled. After charge is enabled, VBAT fluctuates around VREG-VRECHG and VREG which can be verified using the integrated VBAT ADC of the BQ25620 to confirm the battery is not attached.
Figure 3 Battery Not PresentOnly the first sequence is executed when the battery is detected since FORCE_IBATDIS does not pull VBAT below the UVP threshold.
Figure 4 Battery PresentThe protector UVP is recovered after approximately 800ms and the charge continues. The battery must be charged through the body diode of the discharge FET of the protector until VUVP+VHYS is passed to allow the full recovery of the protector IC.
Figure 5 Battery Present - UVP
RecoveryIf the battery is deeply discharged, the voltage does not fully recover above VUVP+VHYS within a short time. Depending on the protector IC that is used and how discharged the battery is determines how long the charge is enabled.
Figure 6 Failed UVP Recovery