ST AN3395 Application note

AN3395
Application note
Sensing resistor selection and usage
in STC310x battery monitoring applications
Introduction
Voltage measurement and coulomb counting are the two most common methods used to implement battery monitoring for gas gauge applications. Although the use of voltage measurement has been a popular method, it does not produce the most accurate results. The STC310x series battery monitor ICs developed by STMicroelectronics combine the two methods into one integrated solution. It updates the battery State-of-Charge (SOC) at light load (relaxation/standby period) with the real battery Open-Circuit-Voltage (OCV) while using coulomb counting to track the battery capacity under heavy load to provide the most accurate SOC value under all application conditions.
In coulomb counting, the sensing resistor is used to measure the battery current. The specified maximum voltage drop on the sensing resistor is only 80 mV, thus it plays an important role in the gas gauge accuracy and merits careful attention. This document describes:
the sensing resistor (Rcg) selection
the Rcg power considerations
the Rcg layout recommendations
December 2011 Doc ID 018779 Rev 1 1/11
www.st.com
Contents AN3395
Contents
1 STC310x external components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Rcg resistance selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1 Maximum peak current in the application . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Power rating of the resistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.3 ADC code usage efficiency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.4 Selection of Rcg (example) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3 Rcg power loss consideration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
4 Rcg layout considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
6 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2/11 Doc ID 018779 Rev 1
AN3395 STC310x external components

1 STC310x external components

Figure 1 illustrates the typical connections for a gas gauge application using the STC3105.
The SDA, SCL and ALM (I/O0 in the STC3100) pins are open drain and require external pull-up resistors to either system I/O voltage or V components shown in Figure 1 connected to the V additional ESD protection and input filtering, please refer to AN3064 for more information.
The resistor (Rcg) connected between the CG and GND pins is the sensing resistor. In order to obtain higher accuracy, refer to the following application guidelines.

Figure 1. STC3105 typical connections

System I/O supply
Rpu1 Rpu2 Rpu3
STC3105
ALM
(pull up to battery voltage). The
CC
and VIN pins are used to provide
CC
System supply
VCC
C1C2D1
R1
MCU
SDA
SCL
GND
VIN
CG
R2
Battery
R
cg
Gnd
AM045291v1
Doc ID 018779 Rev 1 3/11
Rcg resistance selection AN3395

2 Rcg resistance selection

The Rcg resistor is used to sense the current flowing "into" or "out of" the battery. The voltage drop on Rcg is input to the current measurement ADC through the CG pin. There are three common rules for the selection of the Rcg resistance:
1. Maximum peak current
2. Power rating
3. ADC code usage

2.1 Maximum peak current in the application

As specified in the datasheet (refer to the STC3105 or STC3100 datasheet), the voltage drop across the Rcg resistor (input voltage range on CG pin) must not exceed ±80 mV. That is Rcg x I
Equation 1.
Equation 1
must be 80 mV. This gives a maximum limit for the Rcg resistor value in
PEAK
80 mv()
Rcg mΩ()
-----------------------
I
PEAK
A()

2.2 Power rating of the resistor

The second step is to consider the power dissipation limit of the resistor as given in Equation
2. The power dissipation in the resistor must be kept within the power rating of the resistor
calculated by:
Equation 2
Power dissipation = Rcg x I
Note: Must be less than the power rating of the resistor
However, it may be better to choose a smaller resistance value with a smaller power rating to:
have a smaller PCB footprint and
reduce the power loss in the resistor.
RMS
2

2.3 ADC code usage efficiency

The full scale voltage range of the ADC is designed for the input on the CG pin to reach ±80 mV (max). To make better use of the ADC performance, Rcg must not be too small: Rcg x I
must be > 40 mV for a reasonable ADC code usage.
PEAK
4/11 Doc ID 018779 Rev 1
Loading...
+ 7 hidden pages