Gas Gauge IC With Alarm Output: Applications
Gas Gauge IC With Alarm Output: Applications
Gas Gauge IC With Alarm Output: Applications
Applications
Wearable
Fitness and healthcare
Portable medical equipment
Description
The GG25L includes the hardware functions
required to implement a low-cost gas gauge for
battery monitoring. The GG25L uses current
CSP (1.4 x 2.0 mm)
sensing, Coulomb counting and accurate
measurements of the battery voltage to estimate
the state-of-charge (SOC) of the battery. An
Features internal temperature sensor simplifies
implementation of temperature compensation.
OptimGaugeTM algorithm
An alarm output signals a low SOC condition and
0.25% accuracy battery voltage monitoring can also indicate low battery voltage. The alarm
Coulomb counter and voltage-mode gas gauge threshold levels are programmable.
operations The GG25L offers advanced features to ensure
Robust initial open-circuit-voltage (OCV) high performance gas gauging in all application
measurement at power up with debounce conditions.
delay
Low battery level alarm output with
programmable thresholds
Internal temperature sensor
Battery swap detection
Low power: 45 µA in power-saving mode, 2 µA
max in standby mode
1.4 x 2.0 mm 10-bump CSP package
Contents
1 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Pin assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5 Application information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
6 Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
6.1 Battery monitoring functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
6.1.1 Operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
6.1.2 Battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
6.1.3 Internal temperature monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
6.1.4 Current sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
6.2 GG25L gas gauge architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6.2.1 Coulomb counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6.2.2 Voltage gas gauge algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
6.2.3 Mixed mode gas gauge system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.3 Low battery alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.4 Power-up and battery swap detection . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.5 Improving accuracy of the initial OCV measurement with
the advanced functions of BATD/CD and RSTIO pins . . . . . . . . . . . . . . . 17
6.5.1 BATD and RSTIO pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
7 I²C interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.1 Read and write operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.2 Register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.2.1 Register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.2.2 Register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8 Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
9 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
1 Block diagram
9&&
7HPSHUDWXUH
$/0 &RQWUROORJLF VHQVRU
DQG 9,1
08;
VWDWHPDFKLQH $'FRQYHUWHU
&RQWURO &*
UHJLVWHUV &*
&*
*1'
$06B9
2 Pin assignment
4 Electrical characteristics
Table 5. Electrical characteristics (2.7 V < VCC < 4.5 V, -20C to 70C)
Symbol Parameter Conditions Min Typ Max Units
Supply
Average value over 4 s in
power-saving voltage 45 60
ICC Operating current consumption mode
Average value over 4 s in
100
mixed mode µA
Standby mode,
ISTBY Current consumption in standby 2
inputs = 0 V
VCC < UVLOTH,
IPDN Current consumption in power-down 1
inputs = 0 V
UVLOTH Undervoltage threshold (VCC decreasing) 2.5 2.6 2.7 V
UVLOHYST Undervoltage threshold hysteresis 100 mV
POR Power-on reset threshold (VCC decreasing) 2.0 V
Current sensing
Vin_gg Input voltage range -40 +40 mV
IIN Input current for CG pin 500 nA
ADC_res AD converter granularity 5.88 µV
ADC_offset AD converter offset CG = 0 V -3 3 LSB
ADC_time AD conversion time 500 ms
Table 5. Electrical characteristics (2.7 V < VCC < 4.5 V, -20C to 70C) (continued)
Symbol Parameter Conditions Min Typ Max Units
Table 6. I²C timing - VIO= 2.8 V, Tamb = -20 °C to 70 C (unless otherwise specified)
Symbol Parameter Min Typ Max Unit
WI
9LK
6'$
9LO
WKGVWD
WU WVXGDW WKLJK
6&/
5 Application information
Optional filter
IO voltage
VCC
C1 R1
VIN Other
SCL GG25L C2 detection
circuit
SDA Battery pack
ALM BATD/CD
R2
Rid
RSTIO
CG
GND Rcg
Optional filter
IO voltage
VCC
C1 R1
Other
VIN C2 detection
SCL GG25L circuit
SDA Battery pack
ALM BATD/CD
R2
Rid
RSTIO
CG
GND
6 Functional description
0 Mixed mode, Coulomb counter is active, voltage gas gauge runs in parallel
Voltage gas gauge with power saving
1
Coulomb counter is not used. No current sensing.
In mixed mode, current is measured continuously (except for a conversion cycle every 4 s
and every 16 s seconds for measuring voltage and temperature respectively). This provides
the highest accuracy from the gas gauge.
In voltage mode with no current sensing, a voltage conversion is made every 4 s and a
temperature conversion every 16 s. This mode provides the lowest power consumption.
It is possible to switch between the two operating modes to get the best accuracy during
active periods, and to save power during standby periods while still keeping track of the
SOC information.
REG_CURRENT
register
EOC
CC SOC
CC SOC register (internal)
CG calculator
AD converter
GND
REG_CC_CNF
register
The REG_CC_CNF value depends on battery capacity and the current sense resistor. It
scales the charge integrated by the sigma delta converter into a percentage value of the
battery capacity. The default value is 395 (corresponding to a 10 mΩ sense resistor and
1957 mAh battery capacity).
The Coulomb counter is inactive if the VMODE bit is set, this is the default state at power-
on-reset (POR) or reset (VMODE bit = 1).
Writing a value to the register REG_SOC (mixed mode SOC) forces the Coulomb counter
gas gauge algorithm to restart from this new SOC value.
REG_CC_CNF register is a 16-bit integer value and is calculated as shown in Equation 1:
Equation 1
Voltage register
VM configuration
VIN
AD OCV value
converter Voltage mode
(VM)
algorithm To SOC
management
Reference
OCV OCV adjustment registers
curve
Equation 2
REG_VM_CNF = Ri Cnom 977.78
Voltage mode
gas gauge
(VM) SOC REG_SOC
management register
Coulomb Alarm
counter management
(CC)
REG_VM_ADJ
register
Parameter
tracking REG_CC_ADJ
register
The combination of the CC and VM algorithms provides optimum accuracy under all
application conditions. The voltage gas gauge cancels any long-term errors and prevents
the SOC drift problem that is commonly found in Coulomb counter only solutions.
Furthermore, the results of the two algorithms are continuously compared and adjustment
factors are calculated. This enables the application to track the CC and VM algorithm
parameters for long-term accuracy, automatically compensating for battery aging,
application condition changes, and temperature effects. Five registers are dedicated to this
monitoring:
REG_CC_ADJ and REG_VM_ADJ are continuously updated. They are signed, 16-bit,
user-adjusted registers with LSB = 1/512 %.
ACC_CC_ADJ and ACC_VM_ADJ are updated only when a method switch occurs.
They are signed, 16-bit user adjusted accumulators with LSB = 1/512%
RST_ACC_CC_ADJ and RST_ACC_VM_ADJ bits in the REG_MODE register are
used to clear the associated counter.
A battery swap is detected when the battery voltage drops below the undervoltage lockout
(UVLO) for more than 1 s. The GG25L restarts when the voltage goes back above UVLO, in
the same way as for a power-up sequence.
Such filtering provides robust battery swap detection and prevents restarting in case of short
voltage drops. This feature protects the application against high surge currents at low
temperatures.
<1s >1s
VCC UVLO
POR
Short UVLO
event < 1s Long battery disconnection
No restart, events > 1s
No operation GG25L restarts
interuption
GAMS2502141520SG
Example: When BATD/CD is high (voltage above the 1.61 V threshold) for more than 1 s, a
battery swap is detected. The GG25L restarts when the BATD/CD level returns below the
threshold, in the same way as for a power-up sequence.
Using the 1-s filter prevents false battery swap detection if short contact bouncing occurs at
the battery terminals due to mechanical vibrations or shocks.
VCC UVLO
POR
BATD_comp_out 1.61V
BATD_drive_high
RSTI
RST0
Voltage
measurement
Voltage
register
SOC register
BATD_drive_high
BATD/CD
+
BATD_comp_out
1.61 V -
RSTIO RSTI
RSTO
The BATD/CD pin used as a battery detector is an analog I/O.The input detection threshold
is typically 1.61 V.
BATD/CD is also an output connected to VCC level when active. Otherwise, it is high
impedance.
The RSTIO signal is used to control the application system reset during the initial OCV
measurement. The RSTIO pin is a standard I/O pin with open drain output.
BATD/CD can be connected to the NTC sensor or to the identification resistor of the battery
pack. The GG25L does not provide any biasing voltage or current for the battery detection.
An external pull-up resistor or another device has to pull the BATD/CD pin high when the
battery is removed.
7 I²C interface
0DVWHU 6ODYH
$GGUHVV $GGUHVV
6WDUWELW 6'$IDOOLQJZKHQ6&/ Q Q
6WRSELW 6'$ULVLQJZKHQ6&/
5HVWDUWELW VWDUWDIWHUDVWDUW
$FNQRZOHGJH 6'$IRUFHGORZGXULQJD6&/FORFN
*$3060'
$GGUHVV $GGUHVV
6WDUWELW 6'$IDOOLQJZKHQ6&/ Q Q
6WRSELW 6'$ULVLQJZKHQ6&/
5HVWDUWELW VWDUWDIWHUDVWDUW
*$3060'
Control registers 0 to 23
REG_MODE 0 R/W Mode register
REG_CTRL 1 R/W Control and status register
REG_SOC 2-3 R/W Gas gauge relative SOC 1/512%
Number of conversions
REG_COUNTER 4-5 R 0x00 0x00
(2 bytes)
Battery current value
REG_CURRENT 6-7 R 0x00 0x00 5.88 µV
(2 bytes)
Battery voltage value
REG_VOLTAGE 8-9 R 0x00 0x00 2.2 mV
(2 bytes)
REG_TEMPERATURE 10 R 0x00 0x00 Temperature data 1 °C
Coulomb counter adjustment
REG_CC_ADJ_HIGH 11 R/W 0x00 0x00
factor
1/2%
Voltage mode adjustment
REG_VM_ADJ_HIGH 12 R/W 0x00 0x00
factor
REG_OCV 13-14 R/W 0x00 0x00 OCV register (2 bytes) 0.55 mV
Coulomb counter gas gauge
REG_CC_CNF 15-16 R/W 395 395
configuration
Voltage gas gauge algorithm
REG_VM_CNF 17-18 R/W 321 321
parameter
SOC alarm level
REG_ALARM_SOC 19 R/W 0x02 0x02 1/2%
(default = 1%)
Battery low voltage alarm
REG_ALARM_VOLTAGE 20 R/W 0xAA 0xAA 17.6 mV
level (default is 3 V)
Current threshold for the
REG_CURRENT_THRES 21 R/W 0x0A 0x0A 47.04 µV
relaxation counter
REG_RELAX_COUNT 22 R 0x78 0x78 Relaxation counter
Relaxation counter max
REG_RELAX_MAX 23 R/W 0x78 0x78
value
REG_ID 24 R 0x14 0x14 Part type ID = 14h
8 Package information
Figure 15. Flip Chip CSP 1.40 x 2.04 mm package mechanical drawing
'
$VHHQRWH
H I'
I(
H
(
' & % $
%RWWRPYLHZ
E
&
$
$
$
*
FFF &
'
7RSYLHZ
&63BBRSWLRQ+B9
1. The terminal A1 on the bump side is identified by a distinguishing feature - for instance, by a circular “clear
area” typically 0.1 mm in diameter and/or a missing bump.
2. The terminal A1, on the back side, is identified by a distinguishing feature - for instance, by a circular “clear
Table 16. Flip Chip CSP 1.4 x 2.04 mm package mechanical data
Dimensions
9 Revision history
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE
SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B)
AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS
OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT
PURCHASER’S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS
EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR “AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL” INDUSTRY
DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE
DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.