Max17263 Single/Multi-Cell Fuel Gauge With Modelgauge M5 Ez and Integrated Led Control
Max17263 Single/Multi-Cell Fuel Gauge With Modelgauge M5 Ez and Integrated Led Control
Max17263 Single/Multi-Cell Fuel Gauge With Modelgauge M5 Ez and Integrated Led Control
● Medical Devices L1
● Drones PROTECTION
CIRCUIT
L2 3~12 LED
L3 NETWORK
● Power Tools TH L4
● E-Bikes CSPL
GND EP CSN
● Headlamps and Torches 10kΩ
NTC
● Battery Backup RSENSE
● Toys SYSGND
TABLE OF CONTENTS
General Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Benefits and Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Simple Fuel-Gauge Circuit Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Absolute Maximum Ratings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
TDFN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Typical Operating Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Pin Configuration(s). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
TDFN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Functional Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
ModelGauge m5 EZ Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Application Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Standard Register Formats. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
ModelGauge m5 EZ Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
DesignCap Register (18h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
VEmpty Register (3Ah). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
ModelCfg Register (DBh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
IChgTerm Register (1Eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Config Register (1Dh) and Config2 Register (BBh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
ModelGauge m5 Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
ModelGauge m5 Algorithm Output Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
RepCap Register (05h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
RepSOC Register (06h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
FullCapRep Register (10h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
TTE Register (11h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
TTF Register (20h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Cycles Register (17h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Status Register (00h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Analog Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Voltage Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
VCell Register (09h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
AvgVCell Register (19h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
MaxMinVolt Register (1Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
LIST OF FIGURES
Figure 1. ModelGauge m5 EZ Configuration Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 2. ModelGauge m5 Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 3. LED Charlieplexing Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 4. LED Status vs. Reported SOC Value in 5 LEDs Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Figure 5. MAX17263 Layout Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 6. Multi-Cell Low-Side Current Measurement Typical Applications Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 7. Single-Cell Low-Side Current Measurement Typical Applications Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 8. High-Side Current Measurement Typical Applications Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 9. Multiple-Series Battery Typical Applications Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
LIST OF TABLES
Table 1. ModelGauge m5 EZ Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Table 2. ModelGauge m5 Register Standard Resolutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 3. VEmpty (3Ah) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 4. ModelCFG (DBh) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 5. Config (1Dh) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 6. Config2 (BBh) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 7. Status (00h) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 8. MaxMinVolt (1Bh) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 9. Current Measurement Range and Resolution vs. Sense Resistor Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 10. MaxMinCurr (1Ch) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 11. MaxMinTemp (1Ah) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 12. VAlrtTh (01h) Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 13. TAlrtTh (02h) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 14. SAlrtTh (03h) Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 15. IAlrtTh (B4h) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 16. Serial Number Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 17. LED Bias Resistor Selection Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 18. LEDCfg1 (040h) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 19. LEDCfg2 (04Bh) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 20. LEDCfg3 (37h) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 21. CustLED (64h) Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Table 22. ModelGauge m5 Register Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Package Information
TDFN
Package Code T1433+2C
Outline Number 21-0137
Land Pattern Number 90-0063
Thermal Resistance, Single-Layer Board:
Junction to Ambient (θJA) 54ºC/W
Junction to Case (θJC) 8ºC/W
Thermal Resistance, Four-Layer Board:
Junction to Ambient (θJA) 41ºC/W
Junction to Case (θJC) 8ºC/W
For the latest package outline information and land patterns (footprints), go to www.maximintegrated.com/packages. Note that a “+”,
“#”, or “-” in the package code indicates RoHS status only. Package drawings may show a different suffix character, but the drawing
pertains to the package regardless of RoHS status.
Package thermal resistances were obtained using the method described in JEDEC specification JESD51-7, using a four-layer board.
For detailed information on package thermal considerations, refer to www.maximintegrated.com/thermal-tutorial.
Electrical Characteristics
(VBATT = 2.3V to 4.9V, TA = -40ºC to +85ºC, typical value for TA is +25ºC. Limits are 100% tested at TA = +25°C. The operating
temperature range and relevant supply voltage range are guaranteed by design and characterization. Specifications marked "GBD" are
guaranteed by design and not production tested.)
Pin Configuration(s)
TDFN
TOP VIEW
(PAD SIDE DOWN)
TH 1 14 SCL
L1 2 13 SDA
L2 3 12 ALRT
L3 4 MAX17263 11 REG
L4 5 10 CELLX/CSPH
BATT 6 9 CSPL
EP
CSN 7 8 GND
TDFN
Pin Descriptions
PIN NAME FUNCTION
Thermistor Input. Connect a thermistor from TH to GND. TH also provides battery insertion/removal
1 TH
detection. Connect to BATT if not used.
Serial Clock Input. 2-wire clock line. Input only. SCL has an internal pulldown (IPD) for sensing
14 SCL
disconnection.
Serial Data Input/Output. 2-wire data line. Open-drain output driver. SDA has an internal pulldown (IPD)
13 SDA
for sensing disconnection.
Sense Resistor Negative Sense Point. On start up, the CSN voltage is measured to determine whether it
7 CSN is a high-side or low-side application. For a low-side application, Kelvin connect to the system side of the
sense resistor; for a high-side application, Kelvin connect to the cell side of the sense resistor.
Multiple Function Pin. In multi-cell application, connect to an external voltage divider circuit to measure
CELLX/
10 40% of 1-cell voltage. In single cell high-side current measurement, Kelvin connect to the system side of
CSPH
the sense resistor. For single cell low-side current measurement application, connect to the BATT pin.
9 CSPL Low-Side Sense Resistor Positive Sense Point. Kelvin connect to the cell side of the sense resistor.
IC Power Supply. For single cell applications, connect to the positive terminal of a battery cell. For
6 BATT
multiple-series cells, connect to an external voltage regulator. Bypass with a 0.1μF capacitor to GND.
8 GND IC Ground.
Internal 1.8V Regulator Output. Bypass with an external 0.47μF capacitor to GND. Do not load
11 REG
externally.
Functional Diagram
OPTIONAL HIGH-SIDE
SENSING (1S ONLY)
RSENSE SYSPWR
CSN CSPH
3~5V BATT
REG
ALRT
0.1µF 32kHz
OSCILLATOR
THRM ModelGauge m5
ENABLE 12-BIT
12bit CORE
MUX
ADC
ADC
SDA
OPTIONAL I2C SCL
MULTI-SERIES INTERNAL INTERFACE
VOLTAGE PULLUP INTERNAL
MEASUREMENT TEMPERATURE
SENSOR RBIAS
CELLX L1
INTERNAL L2 LED
LED DRIVER L3 CIRCUIT
L4
TH
MAX17263
CSPL
10kΩ/ GND EP CSN
100kΩ
NTC
RSENSE
PROTECTION SYSGND
CIRCUIT
Detailed Description
The MAX17263 is an ultra-low power fuel gauge IC which implements the Maxim ModelGauge m5 EZ algorithm. The
IC monitors either a single cell battery pack or multiple-series cell battery pack with an external resistor divider. The IC
measures voltage, current, and temperature accurately to produce fuel gauge results. The ModelGauge m5 EZ robust
algorithm provides tolerance against battery diversity. This additional robustness enables simpler implementation for
most applications and batteries by avoiding time-consuming battery characterization. The IC features integrated control
up to 12 LEDs. Simply connect the LEDs into the Charlieplexing network; the IC counts the populated LEDs and display
the current SOC reported automatically. The features of LED control are detailed in the [[Integrated LED Control]] section.
The ModelGauge m5 algorithm combines the short-term accuracy and linearity of a coulomb-counter with the long-term
stability of a voltage-based fuel gauge, along with temperature compensation to provide industry-leading fuel-gauge
accuracy. The IC automatically compensates for aging, temperature, and discharge rate and provides accurate state-
of-charge (SOC) in percentage (%) and remaining capacity in milliampere-hours (mAh) over a wide range of operating
conditions. Fuel-gauge error always converges to 0% as the cell approaches empty.
The IC has a register set that is compatible with Intel's DBPT v2 dynamic power standard. This allows the system
designer to safely estimate the maximum allowed CPU turbo-boost power level in complex power conditions. The IC
provides accurate estimation of time-to-empty and time-to-full and provides three methods for reporting the age of the
battery: reduction in capacity, increase in battery resistance, and cycle odometer.
The IC contains a unique serial number. It can be used for cloud-based authentication. See the Serial Number
Feature section for more information.
Communication to the host occurs over standard I2C interface. For information about I2C communication, refer
to the User Guide 6597: MAX1726x ModelGauge m5 EZ User Guide.
ModelGauge m5 EZ Performance
ModelGauge m5 EZ performance provides plug-and-play operation when the IC is connected to most lithium batteries.
While the IC can be custom tuned to the application's specific battery through a characterization process for ideal
performance, the IC has the ability to provide good performance for most applications with no custom characterization
required. Table 1 and Figure 1 show the performance of the ModelGauge m5 algorithm in applications using ModelGauge
m5 EZ configuration.
The ModelGauge m5 EZ provides good performance for most cell types. For some chemistries, such as lithium-iron-
phosphate (LiFePO4) and Panasonic NCR/NCA series cells, it is suggested that the customer request a custom model
from Maxim for best performance.
For even better fuel-gauging accuracy than ModelGauge m5 EZ, contact Maxim for information regarding cell
characterization.
50%
TEST CONDITIONS:
· 300+ DIFFERENT BATTERIES
· 3000+ DISCHARGES
40%
· BETWEEN +20ºC TO +40ºC
PERCENTILE OF TESTS (%)
20%
10%
0%
1 2 3 4 5 6 7 8 9 10
WORST CASE ERROR DURING DISCHARGE (%)
Application Notes
Refer to the following application notes for additional reference material:
● User Guide 6597: MAX1726x ModelGauge m5 EZ User Guide
• Documents full register set
• More details about ModelGauge m5 algorithm
• Discusses additional applications
● User Guide 6595: MAX1726x Software Implementation Guide
• Guidelines for software drivers including example code
VE: Empty voltage target, during load. The fuel gauge provides capacity and percentage relative to the empty voltage
target, eventually declaring 0% at VE. A 10mV resolution gives a 0V to 5.11V range. This value defaults to 3.3V after
reset.
VR: Recovery voltage. Sets the voltage level for clearing empty detection. Once the cell voltage rises above this point,
empty voltage detection is reenabled. A 40mV resolution gives a 0V to 5.08V range. This value defaults to 3.88V, which
Refresh: Set Refresh to 1 to command the model reload. After completion, the IC clears Refresh to 0.
R100: if using 100kΩ NTC, set R100 = 1; if using 10kΩ NTC, set R100 = 0.
0: Bit must be written 0. Do not write 1.
ModelID: Choose from one of the following Lithium models. For the majority of batteries, use ModelID = 0.
ModelID = 0: Use for most lithium cobalt-oxide variants (a large majority of lithium in the market-place). Supported by EZ
without characterization.
ModelID = 2: Use for lithium NCR or NCA cells such as Panasonic. Custom characterization is recommended in this
case.
ModelID = 6: Use for lithium iron-phosphate (LiFePO4). Custom characterization is recommended in this case.
VChg: Set VChg to 1 for charge voltage higher than 4.25V (4.3V to 4.4V). Set VChg to 0 for 4.2V charge voltage.
CSEL: High-side/low-side current sense selection. The current-sense schematic is automatically determined at bootup,
and CSEL is initialized to the appropriate setting. Applications should generally not change CSEL to preserve the auto-
detected setting.
VSEL: Single/Multi-Series Cell Selection. This is automatically detected. Applications should generally not change VSEL
to preserve the auto-detected setting.
Ber: Enable alert on battery removal when the IC is mounted host-side. When Ber = 1, a battery-removal condition, as
detected by the TH pin voltage, triggers an alert.
AtRateEn: AtRate enable. When this bit is set to 0, AtRate calculations are disabled and registers AtQResidual/AtTTE/
AtAvSOC/AtAvCap can be used as general purpose memory.
DPEn: Dynamic power enable. When this bit is set to 0, Dynamic Power calculations are disabled and registers
MaxPeakPower/SusPeakPower/MPPCurrent/SPPCurrent can be used as general purpose memory. Cannot be enabled
at the same time with LEDCfg3.FullSpd bit.
POWR: Sets the time constant for the AvgPower register. The default POR value of 0100b gives a time constant of
11.25s. The equation setting the period is:
AvgPower time constant = 45s x 2(POWR-6)
dSOCen: SOC Change Alert Enable. Set this bit to 1 to enable alert output with the Status.dSOCi bit function. Write this
bit to 0 to disable alert output with the Status. dSOCi bit. This bit is set to 0 at power-up.
TAlrten: Temperature Alert Enable. Set this bit to 1 to enable temperature based alerts. Write this bit to 0 to disable
temperature alerts. This bit is set to 1 at power-up.
LDMdl: Host sets this bit to 1 in order to initiate firmware to finish processing a newly loaded model. Firmware clears this
bit to zero to indicate that model loading is finished.
DRCfg: Deep relax time configuration. 00 for 0.8 to 1.6 hours, 01 for 1.6 to 3.2 hours, 10 for 3.2 to 6.4 hours and 11 for
6.4 to 12.8 hours.
CPMode: Constant-power mode. Set to 1 to enable constant-power mode. If it is set to 0, AtRate/AvgCurrent is used for
AvgVCell
(At)TTE/(At)QResidual/(At)AvSOC/(At)AvCap. If it is set to 1, AtRate/AvgCurrent x (AvgVCell + VEmpty) 2 is used for those
/
calculations
ModelGauge m5 Algorithm
Classical coulomb-counter-based fuel gauges have excellent linearity and short-term performance. However, they suffer
from drift due to the accumulation of the offset error in the current-sense measurement. Although the offset error is often
very small, it cannot be eliminated. It causes the reported capacity error to increase over time and requires periodic
corrections. Corrections are traditionally performed at full or empty. Some other systems also use the relaxed battery
voltage to perform corrections. These systems determine the true state-of-charge (SOC) based on the battery voltage
after a long time of no current flow. Both have the same limitation: if the correction condition is not observed over time in
the actual application, the error in the system is boundless. The performance of classic coulomb counters is dominated by
the accuracy of such corrections. Voltage measurement based SOC estimation has accuracy limitations due to imperfect
cell modeling, but does not accumulate offset error over time.
The IC includes an advanced voltage fuel gauge (VFG) that estimates open-circuit voltage (OCV), even during current
flow, and simulates the nonlinear internal dynamics of a Li+ battery to determine the SOC with improved accuracy. The
model considers the time effects of a battery caused by the chemical reactions and impedance in the battery to determine
SOC. This SOC estimation does not accumulate offset error over time. The IC performs a smart empty compensation
algorithm that automatically compensates for the effect of temperature condition and load condition to provide accurate
state-of-charge information. The converge-to-empty function eliminates error toward empty state. The IC learns battery
capacity over time automatically to improve long-term performance. The age information of the battery is available in the
output registers.
The ModelGauge m5 algorithm combines a high-accuracy coulomb counter with a VFG. See Figure 2. The
complementary combined result eliminates the weaknesses of both the coulomb counter and the VFG while providing
the strengths of both. A mixing algorithm weighs and combines the VFG capacity with the coulomb counter and weighs
each result so that both are used optimally to determine the battery state. In this way, the VFG capacity result is used to
continuously make small adjustments to the battery state, cancelling the coulomb-counter drift.
RSENSE
CURRENT
INTEGRATOR
ModelGauge COULOMB
ALGORITHM COUNTER
The ModelGauge m5 algorithm uses this battery state information and accounts for temperature, battery current, age,
and application parameters to determine the remaining capacity available to the system. As the battery approaches the
critical region near empty, the ModelGauge m5 algorithm invokes a special error correction mechanism that eliminates
any error.
The ModelGauge m5 algorithm continually adapts to the cell and application through independent learning routines. As
the cell ages, its change in capacity is monitored and updated and the voltage-fuel-gauge dynamics adapt based on cell-
voltage behavior in the application.
POR (Power-On Reset): This bit is set to 1 when the device detects that a software or hardware POR event has
occurred. This bit must be cleared by system software to detect the next POR event. POR is set to 1 at power-up.
Imn and Imx (Minimum/Maximum Current-Alert Threshold Exceeded): These bits are set to 1 whenever a Current
register reading is below (Imn) or above (Imx) the IAlrtTh thresholds. These bits may or may not need to be cleared by
system software to detect the next event. See Config.IS bit description. Imn and Imx are cleared to 0 at power-up.
Vmn and Vmx (Minimum/Maximum Voltage-Alert Threshold Exceeded): These bits are set to 1 whenever a VCell
register reading is below (Vmn) or above (Vmx) the VAlrtTh thresholds. These bits may or may not need to be cleared by
system software to detect the next event. See Config.VS bit description. Vmn and Vmx are cleared to 0 at power-up.
Tmn and Tmx (Minimum/Maximum Temperature-Alert Threshold Exceeded): These bits are set to 1 whenever a
Temperature register reading is below (Tmn) or above (Tmx) the TAlrtTh thresholds. These bits may or may not need to
be cleared by system software to detect the next event. See Config.TS bit description. Tmn and Tmx are cleared to 0 at
power-up.
Smn and Smx (Minimum/Maximum SOC-Alert Threshold Exceeded): These bits are set to 1 whenever SOC is below
(Smn) or above (Smx) the SAlrtTh thresholds. These bits may or may not need to be cleared by system software to
detect the next event. See Config.SS description. Smn and Smx are cleared to 0 at power-up.
Bst (Battery Status): Useful when the IC is used in a host-side application. This bit is set to 0 when a battery is present
in the system, and set to 1 when the battery is absent. Bst is set to 0 at power-up.
dSOCi (State-of-Charge 1% Change Alert): This is set to 1 whenever the RepSOC register crosses an integer
percentage boundary such as 50.0%, 51.0%, etc. Must be cleared by host software. dSOCi is set to 1 at power-up.
Bi (Battery Insertion): Useful when the IC is used in a host-side application. This bit is set to 1 when the device detects
that a battery has been inserted into the system by monitoring the TH pin. This bit must be cleared by system software
to detect the next insertion event. Bi is set to 0 at power-up.
Br (Battery Removal): Useful when the IC is used in a host-side application. This bit is set to 1 when the system detects
that a battery has been removed from the system. This bit must be cleared by system software to detect the next removal
event. Br is set to 1 at power-up.
X (Don’t Care): This bit is undefined and can be logic 0 or 1.
Analog Measurements
The IC monitors voltage, current, and temperature. This information is provided to the fuel-gauge algorithm to predict cell
capacity and also made available to the user.
Voltage Measurement
Current Measurement
The IC monitors the current flow through the battery by measuring the voltage across the current-sensing element over
a ±51.2mV range. The IC is precalibrated for current-measurement accuracy in Maxim's factory.
Additionally, the IC maintains a record of the minimum and maximum current measured by the IC and an average current.
See the Layout Guidelines section for the recommended board layout to minimize current-sense error.
Table 9. Current Measurement Range and Resolution vs. Sense Resistor Value
BATTERY FULL SENSE CURRENT REGISTER CURRENT REGISTER CAPACITY
CAPACITY (mAh) RESISTOR (mΩ) RESOLUTION (μA) RANGE (A) RESOLUTION (mAh)
> 4000 1 1562.5 ± 51.2 5
> 2000 2 781.25 ± 25.6 2.5
> 800 5 312.5 ± 10.24 1
> 400 10 156.25 ± 5.12 0.5
> 200 20 78.125 ± 2.56 0.25
> 80 50 31.25 ± 1.024 0.1
update. Host software can reset this register by writing it to its power-up value of 0x807F. The maximum and minimum
currents are each stored as two’s complement 8-bit values with (0.4mV) / Rsense resolution. Table 10 shows the register
format.
Temperature Measurement
The IC can be configured to measure its own internal die temperature or an external NTC thermistor.
Set Config.TSEL = 0 (default) to enable die temperature measurement. Set Config.TSEL = 1 to enable thermistor
measurement.
Thermistor conversions are initiated by periodically connecting the TH and BATT pins internally. Measurement results of
TH pin are compared to the voltage of the BATT pin and converted to a ratiometric value from 0% to 100%. The active
pullup is disabled when temperature measurements are complete. This reduces the current consumption.
The ratiometric results are converted to temperature using the temperature gain (TGain), temperature offset (TOff), and
temperature curve (Curve) register values. Internal die temperature measurements are factory calibrated and are not
affected by TGain, TOff, and Curve register settings. Refer to the User Guide 6597: MAX1726x ModelGauge m5 EZ
User Guide for more details. Additionally, the IC maintains a record of the minimum and maximum temperature measured
and an average temperature.
Alert Function
The Alert Threshold registers allow interrupts to be generated by detecting a high or low voltage, current, temperature,
or state-of-charge. Interrupts are generated on the ALRT pin open-drain output driver. An external pullup is required to
generate a logic-high signal. Alerts can be triggered by any of the following conditions:
• Battery removal: (VTH > VBATT – VDET) and battery removal detection enabled (Ber = 1).
• Battery insertion: (VTH < VBATT – VDET-HYS) and battery insertion detection enabled (Bei = 1).
• Over/undervoltage: VAlrtTr register threshold violation (upper or lower) and alerts enabled (Aen = 1).
• Over/undertemperature: TAlrtTr register threshold violation (upper or lower) and alerts enabled (Aen = 1).
• Over/undercurrent: IAlrtTr register threshold violation (upper or lower) and alerts enabled (Aen = 1).
• Over/under SOC: SAlrtTr register threshold violation (upper or lower) and alerts enabled (Aen = 1).
• 1% SOC change: RepSOC register bit d8 (1% bit) changed (dSOCen = 1).
To prevent false interrupts, the threshold registers should be initialized before setting the Aen bit. Alerts generated
by battery insertion or removal can only be reset by clearing the corresponding bit in the Status (00h) register. Alerts
generated by a threshold-level violation can be configured to be cleared only by software, or cleared automatically when
the threshold level is no longer violated. See the Config (1Dh) and Config2 (BBh) register descriptions for details of the
alert function configuration.
VMAX VMIN
VMAX: Maximum voltage reading. An alert is generated if the VCell register reading exceeds this value.
VMIN: Minimum voltage reading. An alert is generated if the VCell register reading falls below this value.
TMAX: Maximum temperature reading. An alert is generated if the Temp register reading exceeds this value.
TMIN: Minimum temperature reading. An alert is generated if the Temp register reading falls below this value.
SMAX: Maximum state-of-charge threshold. An alert is generated if the RepSOC register exceeds this value.
SMIN: Minimum state-of-charge threshold. An alert is generated if the RepSOC register falls below this value.
IMAX: Maximum current reading. An alert is generated if the current register reading exceeds this value.
IMIN: Maximum current reading. An alert is generated if the current register reading falls below this value.
SYSPWR BATT
BATT
RBIAS LED0 LED1 LED2
100kΩ
REG 100kΩ
(2S+) BATT L1
(2S+) L3
CELLX
LED9 LED10 LED11 RBIAS
L4
CSPL EP CSN
RSENSE
PROTECTION SYSGND
CIRCUIT
4. Empty LED:
In this configuration, one LED is configured separately as "empty LED". When the SOC reaches less than half bar,
the empty LED lights up to indicate a need to recharge. This feature can be configured in the LEDCfg2 register. The
following shows an example of 4 LEDs and one empty LED with full-bar mode.
RepSOC (%) EMPTY LED LED3 LED2 LED1 LED0
87.5 to 100 off on on on on
62.5 to 87.5 off off on on on
37.5 to 62.5 off off off on on
12.5 to 37.5 off off off off on
0 to 12.5 on off off off off
NBARS: Sets the number of LED bars. After LED auto-count, this value is updated automatically.
GrEn: Set GrEn = 1 to enable gray-scale for the 'remainder' LED. Otherwise, LEDs are based on proper rounding math.
See the following table for example.
RANGE WITH GrEn = 0 (ROUNDING) (%) RANGE WITH GrEn = 1 (NO ROUNDING) (%)
6bar 100 to 91.67 100 to 83.33
5bar 91.67 to 75 83.33 to 66.67
4bar 75 to 58.33 66.67 to 50
3bar 58.33 to 41.67 50 to 33.33
2bar 41.67 to 25 33.33 to 16.67
1bar 25 to 8.33 0 to 16.7
0bar 8.33 to 0 0
RANGE WITH GrEn = 0 (ROUNDING) (%) RANGE WITH GrEn = 1 (NO ROUNDING) (%)
4bar 88.5 to 100 75 to 100
3bar 62.5 to 88.5 50 to 75
2bar 37.5 to 62.5 25 to 50
1bar 12.5 to 37.5 0 to 25
0bar 0 to 12.5 0
LChg: Set LChg = 1 to constantly drive LEDs when battery charging (charge current > IchgTerm register) is detected.
LEDMd: LED Mode. Set LEDMd = 00 to disable LEDs. Set LEDMd = 10 for direct push-button control. Set LEDMd
= 01 for push-button start and timer-stop. Set LEDMd = 11 to force LEDs to turn on regardless of push-button and without
any timer. LEDMd configuration effects LEDCtrl configuration.
AniMd: Animation Mode Control. Only applicable for LEDMd = 01 or 11. Set AniMd = 00 for normal behavior; solid bars
with one gray. Set AniMd = 01 for animation to fill the bars. Set AniMd = 10 for breathing LEDs. Set AniMd = 11 for fill
animation plus breathing animation.
AniStep: Determines the step-size of the animation-mode operation. Larger AniStep animates faster.
LEDTimer: LEDTimer sets the LED termination time according to the following table:
LEDTimer 0 1 2 3 4 5 6 7
termination time (s) 0.1 0.3 0.6 1.3 2.7 5.5 8.6 10.0
Brightness: Set Brightness from 0 to 31 according to the desired brightness of the LED. The IC compensates for battery
voltage effect on brightness to provide stable brightness over supply voltage.
FBlink: Full Blink Enable. Set FBlink = 1 to blink all LEDs when full is detected. The blinking period is controlled by
LEDTimer.
EBlink: Empty Blink Enable. Set EBlink = 1 to blink lowest LED when empty is detected. The blinking period is controlled
by LEDTimer.
GBlink: Gray Blink Enable. Set GBlink = 1 to blink gray LED. The blinking period is controlled by LEDTimer.
EnAutoLEDCnt: Enable auto LED counting. At start up, the auto counting is triggered automatically. To command an
autodetect, reset and then set this bit.
VLED: Set VLED to the nominal LED voltage, with a 40mV LSB and a 2.52V range. The firmware compensates the LED
duty according to the following equation:
LED Duty = Brightness x (Vempty-VLED)/(VCELL-VLED)
DLED: Set DLED = 1 to configure LED0 to operate as a "empty-battery-LED", which could be a different color from the
others. For example, in a 5-bar system, 5 white LEDs indicate full, 2 white LEDs indicate 40%, and when down to less
than half-bar LED (less than 10%), it instead drives the empty LED (LED0).
FullSpd: When FullSpd = 1, firmware updates LED calculations and timing operations every 175ms. When FullSpd = 0,
LED calculations are only updated every 0.7 seconds.
CustLEDCtrl: If this bit is 0, LEDs are managed by LEDCfg1/LEDCfg2 registers. If this bit is 1, LEDs are managed by
CustLED register.
DNC: Do-Not-Change. This bit is automatically calculated at start up according to schematic auto-detection. Do not
change this bit.
Use the following sequence to write to LEDCfg3:
1. x = ReadWord(LEDCfg3_address)
2. y = x & 0x4000
3. WriteWord (LEDCfg3_address, y + (LEDCfg3_Value&0xBFFF))
LEDn: Set the bit to turn on LED at index n. Clear the bit to turn off.
Layout Guidelines
Proper circuit layout as shown in Figure 5 is essential for voltage, temperature, and current measurement accuracy. The
recommended layout guidelines are as follows:
● CSN and CSPH/CSPL traces should make Kelvin connections to the sense resistor. Current is measured differentially
through the CSN and CSPH/CSPL pins. Any shared high-current paths on these traces affect current measurement
accuracy.
● Connect EP directly to the GND pin.
● REG capacitor trace loop area should be minimized. REG should be connected to the GND pin as close as possible
to the IC. Run only a single GND trace to the sense resistor. This helps filter any noise from the internal regulated
supply.
● All other ground connections should be kept separate from the current sensing traces.
TH 1 14 SCL
L1 2 13 SDA
GND 8 7 CSN
EP
L2 3 12 ALRT
CSPL 9 6 BATT
SCL 14 1 TH
Figure 8 shows the typical application circuit for single-cell high-side current measurement application. In this configuration, tie CSN
pin to battery pack positive terminal. Connect a desired sense resistor or PCB trace across CSN and CSPH.
3~5V 3~5V
REG REG
BATT BATT
0.1µF 0.1µF
REG REG
0.47µF 0.47µF
CELLX
CELLX
ALRT ALRT
10kΩ
NTC
BATT BATT
0.1µF 0.1µF
REG REG
0.47µF 0.47µF
ALRT ALRT
PROTECTION SDA PROTECTION SDA
CIRCUIT SCL CIRCUIT SCL
THRM
MAX17263 MAX17263
TH TH
CSPL CSPL
GND EP CSN GND EP CSN
10kΩ
NTC
BATT BATT
0.1µF 0.1µF
REG REG
0.47µF 0.47µF
ALRT ALRT
PROTECTION SDA PROTECTION SDA
CIRCUIT SCL CIRCUIT SCL
THRM
MAX17263 MAX17263
L1 L1
TH L2 LED TH L2 LED
L3 CIRCUIT L3 CIRCUIT
L4 L4
CSPL CSPL
GND EP GND EP
10kΩ
NTC
Figure 9 shows the typical applications circuit for multiple-series cells. An external 3V to 5V regulator is required to provide regulated
output within BATT pin supply range. In multiple-series configuration, the high-side current measurement feature is not available.
Multiple-series-cells measurement requires an external voltage divider circuit. The resistor divider should be configured so that 40% of
SYSPWR
500kΩ
N
(N-1)x500kΩ REG
0.47µF
5.6V BATT
2.2µF
300kΩ ALRT
N CELLS MAX17263 SDA
SCL
CELLX RBIAS
L1
L2 LED
200kΩ L3 CIRCUIT
L4
TH
CSPL
GND EP CSN
10kΩ
NTC
RSENSE
PROTECTION SYSGND
CIRCUIT
Ordering Information
PART NUMBER TEMP RANGE DESCRIPTION PIN-PACKAGE
MAX17263LETD+ -40°C to +85°C Single/Multi-Cell, 3 to 12 LED support 14-TDFN-EP*
MAX17263LETD+T -40°C to +85°C Single/Multi-Cell, 3 to 12 LED support 14-TDFN-EP*
+Denotes a lead(Pb)-free/RoHS-compliant package.
T = Tape and reel.
*EP = Exposed pad.
Revision History
REVISION REVISION PAGES
DESCRIPTION
NUMBER DATE CHANGED
0 6/18 Initial release —
For pricing, delivery, and ordering information, please visit Maxim Integrated’s online storefront at https://www.maximintegrated.com/en/storefront/storefront.html.
Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product. No circuit patent
licenses are implied. Maxim Integrated reserves the right to change the circuitry and specifications without notice at any time. The parametric values (min and max
limits) shown in the Electrical Characteristics table are guaranteed. Other parametric values quoted in this data sheet are provided for guidance.
Maxim Integrated and the Maxim Integrated logo are trademarks of Maxim Integrated Products, Inc. © 2018 Maxim Integrated Products, Inc.