Maxim > Design Support > Technical Documents > Application Notes > Battery Management > APP 131

Similar documents
Data byte 0 Data byte 1 Data byte 2 Data byte 3 Data byte 4. 0xA Register Address MSB data byte Data byte Data byte LSB data byte

Analyzing Accuracy of a Battery Fuel Gauge System

Logic Design II (17.342) Spring Lecture Outline

Keywords: sensor compensation, integrated circuit, ic, compensation algorithm, piezoresistive, prt, pressure sensors, temperature

EXPERIMENT 12 OHM S LAW

Chapter 7. Sequential Circuits Registers, Counters, RAM

Testing Electrochemical Capacitors Part 2: Cyclic Charge-Discharge and Stacks

Design simple UPS circuit

Q-2 How many coulombs of charge leave the power supply during each second?

ENERGY AND TIME CONSTANTS IN RC CIRCUITS By: Iwana Loveu Student No Lab Section: 0003 Date: February 8, 2004

Experiment 2: Analysis and Measurement of Resistive Circuit Parameters

Chapter 8. Capacitors. Charging a capacitor

SPH3U1 Lesson 01 Electricity

Chapter 16 Electrical Energy Capacitance. HW: 1, 2, 3, 5, 7, 12, 13, 17, 21, 25, 27 33, 35, 37a, 43, 45, 49, 51

Capacitor investigations

Section 1 Electric Charge and Force

Developing IoT-Based Factory Automation Using F-RAM

E40M Charge, Current, Voltage and Electrical Circuits. M. Horowitz, J. Plummer, R. Howe 1

74LVC823A 9-bit D-type flip-flop with 5-volt tolerant inputs/outputs; positive-edge trigger (3-State)

Resistivity and Temperature Coefficients (at 20 C)

In this unit, we will examine the movement of electrons, which we call CURRENT ELECTRICITY.

Coulomb s constant k = 9x10 9 N m 2 /C 2

Monday July 14. Capacitance demo slide 19 Capacitors in series and parallel slide 33 Elmo example

Structure Monitoring Technology. Features. Ordering Information. Trigger Tape. A2 Pulse Counter (Optional) Solar Radiation Sensor

(3.5.1) V E x, E, (3.5.2)

Physics Investigation 10 Teacher Manual

The Real-Time Clocks of the 71M65XX Metering ICs

SYSTEMS OF UNITS. 1 st Class Basic of Electrical Engineering. Current and Voltage

16.1 Electrical Current

74LVC574A Octal D-type flip-flop with 5-volt tolerant inputs/outputs; positive edge-trigger (3-State)

Tactics Box 23.1 Using Kirchhoff's Loop Law

ELEC 103. Objectives

A Novel Model-Based Algorithm for Battery Prognosis

1103 Period 14 Solutions: Electric Current and Capacitance

Single pyro altimeter AltiUno SMT operating instructions

Physics 22: Homework 4

Capacitors. Example 1

Electricity

LM34 - Precision Fahrenheit Temperature Sensor

AP Calculus AB Section 7.3: Other Differential Equations for Real-World Applications Period: Date: Practice Exercises Score: / 5 Points

Higher Physics. Electricity. Summary Notes. Monitoring and measuring a.c. Current, potential difference, power and resistance

Chapter 2. Engr228 Circuit Analysis. Dr Curtis Nelson

E40M Charge, Current, Voltage and Electrical Circuits KCL, KVL, Power & Energy Flow. M. Horowitz, J. Plummer, R. Howe 1

Fig. 1 CMOS Transistor Circuits (a) Inverter Out = NOT In, (b) NOR-gate C = NOT (A or B)

Lecture 6 Current and Resistance Ch. 26

Electrostatics and Electric Potential - Outline

Objects usually are charged up through the transfer of electrons from one object to the other.

Capacitor Construction

MEP 382: Design of Applied Measurement Systems Lecture 3: DC & AC Circuit Analysis

Electrical Theory Lesson 1: Electricity and Electronics

A Review of Circuitry

UNIT G485 Module Capacitors PRACTICE QUESTIONS (4)

Lithium Sulfur Dioxide (LiSO 2 )

ELECTRICITY & MAGNETISM CHAPTER 8

Review. Multiple Choice Identify the letter of the choice that best completes the statement or answers the question.

This week. 3/23/2017 Physics 214 Summer

This week. 6/2/2015 Physics 214 Summer


Fig. 1 Fig. 2. Calculate the total capacitance of the capacitors. (i) when connected as in Fig. 1. capacitance =... µf

DM74LS670 3-STATE 4-by-4 Register File

User's Manual altimeter V1.1

INTEGRATED CIRCUITS. 74LVC138A 3-to-8 line decoder/demultiplexer; inverting. Product specification 1998 Apr 28

INTERVALOMETER POWER CONSUMPTION

NC7SP05 TinyLogic ULP Inverter (Open Drain Output)

iclicker A device has a charge q=10 nc and a potential V=100V, what s its capacitance? A: 0.1 nf B: 1nF C: 10nF D: F E: 1F

Notes on Electricity (Circuits)

About the Sens it Payload

Sun SPOTs: A Great Solution for Small Device Development

Current and Resistance

Chapter 8: E & M (Electricity & Magnetism or Electromagnetism)

Effect of Time Constant on Power Capability of Supercapacitors

Chapter 7 Direct-Current Circuits

Lecture 24 Chapter 22 Electrostatics II Electric Field & Potential. Chapter 23 Electric Current. From last time--

AC "POLARITY" Complex numbers are useful for AC circuit analysis because they provide a

Introduction to Electric Circuit Analysis

The Basic Capacitor. Water Tower / Capacitor Analogy. "Partnering With Our Clients for Combined Success"

Figure 1: Capacitor circuit

The World Leader in Electromagnetic Physics. Capacitor Anomaly

INTEGRATED CIRCUITS. 74LV stage binary ripple counter. Product specification 1998 Jun 23 IC24 Data Handbook

Designing Information Devices and Systems I Spring 2019 Homework 7

PART MAX1666SEEE MAX1666XEEP UVO V CC REF MAX1666A/V UVA MMA WRN CGI. Maxim Integrated Products 1

74LVC374 Octal D-type flip-flop; positive edge-trigger (3-State) INTEGRATED CIRCUITS

Lecture 11: J-FET and MOSFET

74LVC573 Octal D-type transparent latch (3-State)

Physics 169. Luis anchordoqui. Kitt Peak National Observatory. Wednesday, March 8, 17

AC vs. DC Circuits. Constant voltage circuits. The voltage from an outlet is alternating voltage

NEC PerforCache. Influence on M-Series Disk Array Behavior and Performance. Version 1.0

2100TR Liquid Scintillation Counter

Look over Chapter 26 sections 1-7 Examples 3, 7. Look over Chapter 18 sections 1-5, 8 over examples 1, 2, 5, 8, 9,

Chapter 2: Capacitor And Dielectrics

Energy Storage Elements: Capacitors and Inductors

= e = e 3 = = 4.98%

Charge The most basic quantity in an electric circuit is the electric charge. Charge is an electrical property of the atomic particles of which matter

ATech Educator News. Electricity Made Simple Part 2 of 3. Copyright ATech Training, Inc. November Submitted by: Monroe Sorton

Electric Potential Energy Chapter 16

Fig. 1-1 Current Flow in a Resistive load

Conceptual Physical Science 6 th Edition

MOSIS REPORT. Spring MOSIS Report 1. MOSIS Report 2. MOSIS Report 3

Electron Theory. Elements of an Atom

On the axes of Fig. 4.1, carefully sketch a graph to show how the potential difference V across the capacitor varies with time t. Label this graph L.

Transcription:

Maxim > Design Support > Technical Documents > Application Notes > Battery Management > APP 131 Keywords: battery fuel gauge, battery monitors, integrated circuits, ICs, coulomb counter, Li-Ion battery monitor, Lithium-Ion, Li-Ion battery fuel gauge, fuel gauge software, monitors APPLICATION NOTE 131 Lithium-Ion Cell Fuel Gauging with Maxim Battery Monitor ICs Mar 29, 2001 Abstract: This application note describes to the user how to improve remaining capacity estimation for Liion battery packs beyond the accuracy level of using a coulomb counter alone. It outlines a methodology using Maxim battery monitor ICs along with fuel gauging software that comprehends the effects of battery cell age, as well as the charge discharge rates of the application, on the remaining capacity of a Li-ion battery pack. The result is a low-cost, but highly accurate battery fuel gauge. This battery fuel gauge methodology can be applied to any type of Li-Ion battery cell and any Dallas Semiconductor device containing a coulomb counter such as the DS2438 battery monitors. Figure 1. System diagram. Introduction Determining the remaining charge of a Lithium-Ion cell accurately under real world conditions requires much more than just coulomb counting. The DS2438's integrated current accumulator (ICA) provides an accurate measurement of cell capacity under known conditions, however in applications where temperature and discharge rates vary and the cell's capacity degrades with aging, the DS2438's ICA needs to be adjusted to achieve the desired accuracy. This document shows how the fuel-gauging concept of the DS2438 can be expanded to insure greater accuracy under extreme operating conditions. This is accomplished by characterizing cell capacity over temperature and rate and controlling the coulomb count in software. This process is not limited to just the DS2438 or a specific type of Lithium- Ion cell. Any Maxim Battery Management device with a coulomb counter, temperature converter, and 15 bytes of user EEPROM is capable of performing high accuracy fuel gauging on any type of Lithium-Ion cell. Page 1 of 11

Lithium-Ion Cell Behavior To understand why coulomb counting alone is not sufficient for high accuracy fuel gauging it is helpful to see how its environment affects a Lithium-Ion cell's charge capacity. The cell in the examples below is a 1200mAH rated 4/3A cylindrical. It was charged by a two step method, first by a constant 1C rate until the cell voltage reached 4.2 volts, then by a constant voltage until the charge current fell below C/20 or 60mA. At this point it was considered fully charged. It was discharged either at a high current rate of 1C or a low current rate of 0.2C. The cell was considered to be fully discharged when its voltage fell below 2.5 volts. Temperature & Discharge Rate The capacity of the Lithium-Ion cell varies greatly depending on the temperature and discharge rate. Figure 2 shows its charge capacity in milliamp-hours as temperature and discharge rate are changed. The "Full" line on the chart is the point at which the cell is considered fully charged by using the above charging method at the corresponding temperature. The "High Current Empty" line is the point at which the cell is considered fully discharged by a 1C rate at each temperature. The "Low Current Empty" line was plotted in the same manner using a discharge rate of 0.2C. Figure 2. The capacity of the cell at a given rate and temperature is the difference from the "Full" line and the corresponding "Empty" line. Because both the empty and full points change over temperature and rate, every point on the chart is relative to every other point. For example, if a cell was fully charged at a temperature of 80 C and then fully discharged at the low current rate at -20 C, the amount of charge able to be removed would be the difference between the full value at 80 C (1340mAH) and the low current empty value at -20 C (250mAH) or 1090mAH. If the cell was then fully recharged at -20 C, only the difference between the full and empty values at -20 C or 860mAH could be returned to the cell. Only the immediate temperature and rate are needed to determine relative full and empty points. A cell Page 2 of 11

that is discharged partially at temperature 1 and rate 1, then discharged completely at temperature 2 and rate 2 will be considered empty at a point based on temperature 2 and rate 2. Similarly, the cell above could be fully discharged at the high current rate yet is able to be further discharged at the low current rate by the number of milliamp-hours between the two "Empty" points that correspond to the present cell temperature. Because of this, it is only necessary to keep track of the present cell temperature and discharge rate when determining remaining capacity. Cell Aging As a Lithium-Ion cell ages it loses its ability to store charge. Figure 3 shows the effects of repeatedly charging and discharging the cell at room temperature. By maintaining an ongoing coulomb count of the charge on the cell it can be shown that aging affects the "Full" point only. The "Empty" points remain unchanged. To account for this, the formulas for calculating remaining capacity must be capable of dynamically changing over time to remain accurate. Other Conditions Most other conditions have little or no effect on charge capacity. Lithium-Ion cells are extremely efficient when charging; very little energy is lost to heat during the cycle unlike other cell chemistries. The selfdischarge of a Lithium-Ion cell is extremely low to the point where it is difficult to even measure. Since all these conditions combined affect the coulomb count result less than the accuracy of the measurement device does, they are ignored completely in the fuel gauging equations. Figure 3. Calculating Remaining Capacity From the charts above it is easy to see how a coulomb counting only method can become very inaccurate under real world conditions. This section shows how coulomb counting combined with characterization of the expected "Empty" and "Full" points can maintain an accurate estimation of Page 3 of 11

remaining cell capacity. Standard Assumptions For the algorithms to function accurately while minimizing computational complexity and parametric data storage, certain assumptions are made. First it is assumed that similar charging efficiencies and termination limits are applied universally to the application. It is also assumed in this example that there are a finite number of repeatable discharge efficiencies encountered, each being well bounded. The cell must always be considered fully discharged at the same voltage level, 2.5 volts for example. Charge efficiency and pack self-discharge are assumed negligible in this application and are ignored. Cell Characterization The fuel gauging equations work by comparing the DS2438's ICA value with expected "Empty" and "Full" values for that cell type which are stored in the DS2438's user EEPROM. This data is generated by characterization of the cell type over the expected temperature range and current consumption of the application. This information is subsequently stored in a pack resident memory for the algorithms to later extract and modify. Figure 4 shows the system used to collect the characterization data. Information should be gathered on several packs so that average or typical values can be stored in every production pack. For best accuracy, the data should be collected on assembled packs containing the production circuit as opposed to individual cells. Figure 4. Cell characterization system. To collect the data, the cell pack is fully charged at each temperature and fully discharged at each rate at each temperature. Figure 5 shows the ICA reading of the DS2438 as full charge data and active current discharge data is collected from 0 C to 40 C. This process would then be extended to collect the standby current discharge data over the same temperature range. Page 4 of 11

Figure 5. All collected data points are arranged in Table 1 below. Since only the difference between points is important, the absolute values of the data do not matter, they have been normalized to lowest value (standby current empty at 40 C). This reduces the amount of data needing to be stored since Standby Empty 40 C is now always 0. Table 1. Cell Characterization Data 0 C 10 C 20 C 30 C 40 C Full (mah) 554 561 578 582 588 Standby Empty (mah) 65 42 19 11 0 Active Empty (mah) 124 90 65 50 44 The characterization data is then stored in two pages of the DS2438's EEPROM memory. Because values larger than 25510 require more than 1 byte of memory to store, the amount of data is reduced by storing only the first value and then recording the incremental differences between temperatures. A memory map of the DS2438 data store is shown in Table 2 below. Page 5 of 11

Table 2. DS2438 Memory Map Page 3 Page 4 0 FULL at 0 C Δ STANDBY EMPTY to 20 C 1 Δ STANDBY EMPTY to 30 C 2 Δ FULL to 10 C Δ ACTIVE EMPTY to 0 C 3 Δ FULL to 20 C Δ ACTIVE EMPTY to 10 C 4 Δ FULL to 30 C Δ ACTIVE EMPTY to 20 C 5 Δ FULL to 40 C Δ ACTIVE EMPTY to 30 C 6 Δ STANDBY EMPTY to 0 C ACTIVE EMPTY at 40 C 7 Δ STANDBY EMPTY to 10 C Unused The first 6 bytes of page 3 contain the cell's measured FULL point at the different temperatures across the range. Bytes 0-1 are the capacity of the cell at 0 C; the next four bytes are values of the increase in capacity from the previous temperature. For example if a given cell's capacity was 554mAH at 0 C and 561mAH at 10 C then bytes 0-1 would contain 55410 (0x022Ah) and byte 2 would contain 710 (0x07h). The next nine bytes hold the STANDBY EMPTY and ACTIVE EMPTY information stored in the same manner as the FULL values. EMPTY values are incremented in the opposite direction starting at 40 C because it is the lowest value. STANDBY EMPTY at 40 C is not included since it is always 010. Table 3 shows the actual information stored in the DS2438 using the characterization data contained in Table 1 above. Table 3. Memory map of cell data stored in DS2438 0 1 2 3 4 5 6 7 Page 3 0x02h 0x2Ah 0x07h 0x11h 0x04h 0x06h 0x17h 0x17h FULL STANDBY EMPTY Page 4 0x08h 0x0Bh 0x22h 0x19h 0x0Fh 0x06h 0x2Ch X STANDBY EMPTY ACTIVE EMPTY The Equations After characterization of the cell pack is complete, calculating remaining capacity is very simple. The characterization data is used to find cell full and empty points based on temperature and discharge rate, and the DS2438's integrated current accumulator is compared against those values to express remaining capacity as a percentage. Upon power-up, the characterization data should be read from the DS2438 and stored in host RAM. When the host decides to update its remaining capacity indicator, it begins the process by reading the cell temperature and the DS2438's ICA. The present full value for the cell is then calculated by linearly interpolating between the FULL characterization data points using the cell temperature. For example, the cell full point at 28 C is calculated by: Full Value (28 C) = (FULL 20 C) + ((28-20)/10) (FULL 30 C - FULL 20 C) The empty point is calculated in exactly the same method, except a determination must be made to use the ACTIVE or STANDBY characterization data based on the current activation state of the system. Capacity can then be calculated by determining the location of the ICA between empty and full points as Page 6 of 11

a percentage. The formulas are summarized below: Full Value = FULL[Temperature] Empty Value = STANDBY EMPTY[Temperature] or ACTIVE EMPTY[Temperature] Capacity = ((ICA - Empty Value)/(Full Value - Empty Value)) 100% No estimation of remaining capacity is perfect. To prevent a long-term accumulation of error the ICA register should be reset to the corresponding EMPTY value each time the cell is fully drained. Likewise, each time the cell is fully charged, the corresponding FULL value should be changed to match the ICA. By permanently adjusting the full point based on actual operation, the pack is able to adjust for cells that are different from the "typical" characterization data and adjusts as the cell ages and deteriorates. At End of Discharge: ICA = Empty Value At End of Full Charge: FULL[Temperature] = ICA Displaying the Information The equations above report remaining capacity as a percentage between calculated empty and full points. This might not be appropriate for every application. For example, a cell might be discharged to a level below ACTIVE EMPTY but above STANDBY EMPTY. If the remaining capacity percentage was based off the STANDBY EMPTY point it would show some capacity left even though the cell would not be able to support an active current at that time. This could be very confusing for the end user. The way the host processor presents the capacity data is unique to each application and not covered by standard fuel gauging equations. Remaining Energy Calculation For some applications estimating the remaining energy is very important. For example if the circuit had constant power dissipation where the active current increased and the cell voltage dropped, remaining time would not be related directly to remaining charge. A good estimation of remaining energy can be easily calculated with a voltage reading from the DS2438 however. Recall the energy equation: Energy (J) = Volts Current time Which can be rewritten in terms of remaining energy: Remaining Energy (J) = 3.6 Remaining mah RAV Where: Remaining mah are the remaining milliamp-hours calculated by the above equations. 3.6 is the conversion factor from milliamp-hours to amp-seconds. RAV is the remaining average voltage of the cell explained below. The upper plot on Figure 6 shows a typical cell discharge curve. The average remaining cell voltage can be approximated at any time by finding the average between the cell voltage currently, and the cell voltage when empty (2.5 volts typically). RAV = (Voltage + 2.5)/2 Page 7 of 11

The remaining energy calculation can now be summarized as: Remaining Energy (J) = 3.6 Remaining mah (Voltage + 2.5)/2 Where: Remaining mah are the remaining milliamp-hours calculated by the fuel gauging equations. Voltage is present cell voltage measured by the DS2438. 3.6 is the conversion factor from milliamp-hours to amp-seconds. The second plot on Figure 6 shows the accuracy for this cell when predicting remaining energy with this method. The more linear a cell's discharge curve is, the more accurate this method will be. The less linear the cell, the less accurate the calculation. In either case, the calculation becomes more accurate where it is most important: as the cell voltage approaches the empty point. Figure 6. Example Application For the following example a DS2438 demo board was used to monitor a 520mAH prismatic Li+ cell. For information on the DS2438 demo board refer to the DS2438K datasheet. A Keithley 2304A DVM/power supply simulated the charger and load for the cell and a Tenney environmental chamber was used to control cell temperature. The cell characterization information and actual data stored in the DS2438 are the same as in the Cell Characterization section above. They are repeated in Tables 4 & 5 below for convenience. The controlling software was written in Visual Basic and sections of the code dealing directly with fuel gauging are presented at the end of this paper. Page 8 of 11

Figure 7. Example application system. Table 4. Cell Characterization Data 0 C 10 C 20 C 30 C 40 C FULL (mah) 554 561 578 582 588 STANDBY EMPTY (mah) 65 42 19 11 0 ACTIVE EMPTY (mah) 124 90 65 50 44 Table 5. Memory map of cell data stored in DS2438 0 1 2 3 4 5 6 7 Page 3 0x02h 0x2Ah 0x07h 0x11h 0x04h 0x06h 0x17h 0x17h FULL S. EMPTY Page 4 0x08h 0x0Bh 0x22h 0x19h 0x0Fh 0x06h 0x2Ch X S. EMPTY ACTIVE EMPTY The cell was subjected to twenty partial charge-discharge cycles over a variety of temperatures from 0 C to 40 C. This test was designed to prove the accuracy of the fuel gauging equations under conditions which are far more extreme than would generally be encountered in a standard commercial application. Figure 8 shows the integrated current accumulator's relationship to the dynamically calculated empty and full points over the duration of the test. The cell temperature is shown at the bottom of the graph. The X- axis Update Cycle units refer to each time the remaining capacity was updated, approximately every 15 seconds. The worst case error occurred during the first charge (around update cycle 1000) and was approximately 3. The fuel gauge algorithms permanently adjusted the full point based on that error and the second time a charge occurred at the same temperature (around update cycle 5500) the ICA matched the expected full level almost exactly. Page 9 of 11

Figure 8. The software then calculates the remaining capacity as a percentage of the difference between the empty and full points. Figure 9 below shows the actual fuel gauge output from the data shown above. Summary Figure 9. Page 10 of 11

Considering cell behavior over temperature and discharge rate when calculating remaining cell capacity provides superior accuracy to coulomb counting alone. Maxim's fuel gauging equations can be applied to any Lithium-Ion cell type and any Maxim coulomb counting device while using a minimum of host processor cycles. They also adjust for cell to cell differences and cell aging, becoming more accurate over time. Related Parts DS2438 Smart Battery Monitor Free Samples DS2762 High-Precision Li+ Battery Monitor with Alerts Free Samples More Information For Technical Support: http://www.maximintegrated.com/support For Samples: http://www.maximintegrated.com/samples Other Questions and Comments: http://www.maximintegrated.com/contact Application Note 131: http://www.maximintegrated.com/an131 APPLICATION NOTE 131, AN131, AN 131, APP131, Appnote131, Appnote 131 Copyright by Maxim Integrated Products Additional Legal Notices: http://www.maximintegrated.com/legal Page 11 of 11