LTC2941 Battery Gas Gauge with I2C Interface FEATURES DESCRIPTION Indicates Accumulated Battery Charge and Discharge nn High Accuracy Analog Integration nn High Side Sense nn 1% Charge Accuracy nn 50mV Sense Voltage Range nn SMBus/I2C Interface nn Configurable Alert Output/Charge Complete Input nn 2.7V to 5.5V Operating Range nn Quiescent Current Less Than 100A nn Small 6-Pin 2mm x 3mm DFN and 8-Lead MSOP Packages The LTC(R)2941 measures battery charge state in batterysupplied handheld PC and portable product applications. Its operating range is perfectly suited for single-cell Li-Ion batteries. A precision coulomb counter integrates current through a sense resistor between the battery's positive terminal and the load or charger. The measured charge is stored in internal registers. An SMBus/I2C interface accesses and configures the device. nn APPLICATIONS The LTC2941 features programmable high and low thresholds for accumulated charge. If a threshold is exceeded, the device communicates an alert using either the SMBus alert protocol or by setting a flag in the internal status register. The LTC2941 requires only a single low value external sense resistor to set the current range. Low Power Handheld Products Cellular Phones nn MP3 Player nn Cameras nn GPS nn nn All registered trademarks and trademarks are the property of their respective owners. TYPICAL APPLICATION Total Charge Error vs Differential Sense Voltage CHARGER TO HOST RSENSE 100m + 1-CELL Li-Ion 2941 TA01a VSENSE+ = 3.6V 1.5 CHARGE ERROR (%) I2C/SMBus SENSE+ LTC2941 AL/CC SDA SENSE- SCL GND 2.0 LOAD 0.1F 1.0 0.5 0 -0.5 -1.0 -1.5 -2.0 0.1 1 10 100 VSENSE (mV) 2941 TA01b Rev. C Document Feedback For more information www.analog.com 1 LTC2941 ABSOLUTE MAXIMUM RATINGS (Notes 1, 2) Supply Voltage (SENSE+).............................. -0.3V to 6V SCL, SDA, AL/CC.......................................... -0.3V to 6V SENSE-................................... -0.3V to (VSENSE+ + 0.3V) Operating Ambient Temperature Range LTC2941C................................................. 0C to 70C LTC2941I..............................................-40C to 85C Storage Temperature Range..................... -65C to 150 PIN CONFIGURATION TOP VIEW GND 2 TOP VIEW 6 SENSE- SENSE+ 1 7 SENSE+ 1 GND 2 SCL 3 DNC 4 5 AL/CC 4 SDA SCL 3 9 8 7 6 5 SENSE - AL/CC SDA DNC MSE PACKAGE 8-LEAD PLASTIC MSOP DCB PACKAGE 6-LEAD (2mm x 3mm) PLASTIC DFN PIN 4, PIN 5 AND EXPOSED PAD (PIN 9), DO NOT CONNECT TJMAX = 150C, JA = 120C/W EXPOSED PAD (PIN 7), DO NOT CONNECT ORDER INFORMATION Lead Free Finish TAPE AND REEL (MINI) TAPE AND REEL PART MARKING* PACKAGE DESCRIPTION TEMPERATURE RANGE LTC2941CDCB#TRMPBF LTC2941CDCB#TRPBF LFKQ 6-Lead (2mm x 3mm) Plastic DFN 0C to 70C LTC2941IDCB#TRMPBF LTC2941IDCB#TRPBF LFKQ 6-Lead (2mm x 3mm) Plastic DFN -40C to 85C TUBE TAPE AND REEL PART MARKING* PACKAGE DESCRIPTION TEMPERATURE RANGE LTC2941CMS8E#PBF LTC2941CMS8E#TRPBF LTGVY 8-Lead Plastic MSOP 0C to 70C LTC2941IMS8E#PBF LTC2941IMS8E#TRPBF LTGVY 8-Lead Plastic MSOP -40C to 85C TRM = 500 pieces. Contact the factory for parts specified with wider operating temperature ranges. *The temperature grade is identified by a label on the shipping container. Tape and reel specifications. Some packages are available in 500 unit reels through designated sales channels with #TRMPBF suffix. 2 Rev. C For more information www.analog.com LTC2941 ELECTRICAL CHARACTERISTICS The l denotes the specifications which apply over the full operating temperature range, otherwise specifications are at TA = 25C. (Note 2) SYMBOL PARAMETER CONDITIONS MIN TYP MAX UNITS Power Requirements VSENSE+ Supply Voltage ISUPPLY Supply Current (Note 3) 2.7 Device On l Shutdown l 70 Shutdown, VSENSE+ 4.2V VUVLO Undervoltage Lockout Threshold VSENSE+ Falling, DCB Package VSENSE+ Falling, MSE Package l l VSENSE+ - VSENSE- l 2.5 2.45 2.6 2.6 5.5 V 100 A 2.5 A 1 A 2.7 2.7 V V 50 mV Coulomb Counter VSENSE Sense Voltage Differential Input Range Differential Input Resistance, Across SENSE+ and SENSE- (Note 7) qLSB Charge LSB (Note 4) Prescaler M = 128 (Default), RSENSE = 50m TCE Total Charge Error (Note 5) 10mV |VSENSE | 50mV DC VBAT Alert VBAT Alert Threshold 400 k 0.085 mAh 1 % 10mV |VSENSE | 50mV, DC VSENSE+ 4.2V l 1.5 % 1mV |VSENSE | 50mV DC (Note 7) l 3.5 % VSENSE+ Falling, B[7:6] = 01 l 2.75 2.8 2.85 V VSENSE+ Falling, B[7:6] = 10 l 2.85 2.9 2.95 V VSENSE+ Falling, B[7:6] = 11 l 2.95 3 3.05 V 0.3 * VSENSE+ 0.7 * VSENSE+ V Digital Inputs and Digital Outputs VITH Logic Input Threshold, AL/CC, SCL, SDA l VOL Low Level Output Voltage, AL/CC, SDA I = 3mA l 0.4 V IIN Input Leakage, AL/CC, SCL, SDA VIN = VSENSE+/2 l 1 A CIN Input Capacitance, AL/CC, SCL, SDA (Note 7) l 10 pF tPCC Minimum Charge Complete (CC) Pulse Width 1 s I2C Timing Characteristics fSCL(MAX) Maximum SCL Clock Frequency l tBUF(MIN) Bus Free Time Between STOP/START l 1.3 s tSU,STA(MIN) Minimum Repeated START Set-Up Time l 600 ns tHD,STA(MIN) Minimum Hold Time (Repeated) START Condition l 600 ns l 600 ns tSU,STO(MIN) Minimum Set-Up Time for STOP Condition 400 900 kHz Rev. C For more information www.analog.com 3 LTC2941 ELECTRICAL CHARACTERISTICS The l denotes the specifications which apply over the full operating temperature range, otherwise specifications are at TA = 25C. (Note 2) SYMBOL PARAMETER CONDITIONS tSU,DAT(MIN) Minimum Data Set-Up Time Input MIN TYP l MAX UNITS 100 ns tHD,DATI(MIN) Minimum Data Hold Time Input l 0 s tHD,DATO Data Hold Time Output l 0.3 0.9 s tOf Data Output Fall Time l 20 + 0.1 * CB 300 ns (Notes 6, 7) Note 1: Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. Exposure to any Absolute Maximum Rating condition for extended periods may affect device reliability and lifetime. Note 2: All currents into pins are positive, all voltages are referenced to GND unless otherwise specified Note 3: ISUPPLY = ISENSE+ + ISENSE- Note 4: The equivalent charge of an LSB in the accumulated charge registers (C, D) depends on the value of RSENSE and the setting of the internal prescaling factor M. It is calculated by: qLSB = 0.085mAh * See Choosing RSENSE and Coulomb Counter Prescaler "M" B[5:3] section for more information. 1mAh = 3.6A * s = 3.6C (coulomb), 0.085mAh = 306mC. Note 5: Deviation of qLSB from its nominal value. Note 6: CB = capacitance of one bus line in pF (10pF CB 400pF). Note 7: Guaranteed by design, not subject to test. 50m M * R SENSE 128 TIMING DIAGRAM tof SDA tSU, DAT tHD, DATO, tHD, DATI tSU, STA tHD, STA tBUF tSU, STO 2941 F01 SCL tHD, STA START CONDITION REPEATED START CONDITION STOP CONDITION START CONDITION Figure 1. Definition of Timing on I2C Bus 4 Rev. C For more information www.analog.com LTC2941 TYPICAL PERFORMANCE CHARACTERISTICS Total Charge Error vs Supply Voltage Total Charge Error vs Differential Sense Voltage CHARGE ERROR (%) 1 0 1.00 0.75 0.75 0.50 0.50 0.25 0 -0.25 -1 -0.50 -2 -0.75 VSENSE+ = 2.7V VSENSE+ = 4.2V -3 0.1 1 10 -1.00 100 VSENSE = -50mV VSENSE = -10mV 2.5 VSENSE (mV) 3.0 3.5 4.0 4.5 5.0 VSENSE+ (V) 5.5 2941 G01 100 0 -0.25 -0.50 -0.75 -1.00 -50 VSENSE = -50mV VSENSE = -10mV -25 25 50 0 TEMPERATURE (C) 75 100 2941 G03 Shutdown Supply Current vs Supply Voltage 2.0 TA = 25C TA = -40C TA = 85C 90 6.0 0.25 2941 G02 Supply Current vs Supply Voltage 1.5 80 ISHUTDOWN (A) ISUPPLY (A) CHARGE ERROR (%) 2 Total Charge Error vs Temperature 1.00 CHARGE ERROR (%) 3 70 60 1.0 0.5 TA = 25C TA = -40C TA = 85C 50 40 2.5 3.0 3.5 4.0 4.5 5.0 VSENSE+ (V) 5.5 6.0 0 2.5 3.0 2941 G04 3.5 4.0 4.5 5.0 VSENSE+ (V) 5.5 6.0 2941 G05 Rev. C For more information www.analog.com 5 LTC2941 PIN FUNCTIONS SENSE+ (Pin 1): Positive Current Sense Input and Power Supply. Connect to the load/charger side of the sense resistor. VSENSE+ operating range is 2.7V to 5.5V. GND (Pin 2): Device Ground. Connect directly to the negative battery terminal. SCL (Pin 3): Serial Bus Clock Input. SDA (Pin 4/Pin 6): Serial Bus Data Input and Output. AL/CC (Pin 5/Pin 7): Alert Output or Charge Complete Input. Configured either as an SMBus alert output or charge complete input by control register bits B[2:1]. At power-up, the pin defaults to alert mode conforming to the SMBus alert response protocol. It behaves as an open-drain logic output that pulls to GND when a value in the threshold registers is exceeded. When configured as a charge complete input, connect to the charge complete output from the battery charger circuit. A high level at CC sets the value of the accumulated charge (registers C, D) to FFFFh. SENSE- (Pin 6/Pin 8): Negative Current Sense Input. Connect SENSE- to the positive battery terminal side of the sense resistor. The voltage between SENSE- and SENSE+ must remain within 50mV in normal operation. Exposed Pad (Pin 7/Pin 9): Do not connect. BLOCK DIAGRAM SENSE+ SENSE- VSUPPLY BIDIRECTIONAL INTEGRATOR REF PRESCALER M ACCUMULATED CHARGE REGISTER AL AL/CC CLK I2C/ SMBus GND INTERNAL REFERENCE GENERATOR CC INTERNAL OSCILLATOR STATUS/ CONTROL REGISTER SCL SDA 2941 F02 Figure 2. Block Diagram of the LTC2941 6 Rev. C For more information www.analog.com LTC2941 OPERATION Overview The LTC2941 is a battery gas gauge device designed for use with single Li-Ion cells and other battery types with a terminal voltage between 2.7V and 5.5V. A precision coulomb counter integrates current through a sense resistor between the battery's positive terminal and the load or charger. A programmable prescaler is incremented or decremented every time the integrator changes ramp direction. The prescaler effectively increases integration time by a factor M programmable from 1 to 128. At each under or overflow of the prescaler, the accumulated charge is incremented or decremented one count. The value of accumulated charge is read via the I2C interface. Coulomb Counter Power-Up Sequence Charge is the time integral of current. The LTC2941 measures battery current by monitoring the voltage developed across a sense resistor and then integrates this information to infer charge. The differential voltage between SENSE+ and SENSE- is applied to an auto-zeroed differential analog integrator to convert the measured current to charge. When the integrator output ramps to REFHI or REFLO levels, switches S1, S2, S3 and S4 toggle to reverse the ramp direction. By observing the condition of the switches and the ramp direction, polarity is determined. When VSENSE+ rises above a threshold of approximately 2.45V, the LTC2941 generates an internal power-on reset (POR) signal and sets all registers to their default state. In the default state, the coulomb counter is active. The accumulated charge is set to mid-scale (7FFFh), the low threshold registers are set to 0000h and all the high threshold registers are set to FFFFh. The alert mode is enabled and the coulomb counter prescaling factor M is set to 128. STATUS CHARGER LOAD SENSE+ S1 S3 SENSE- IBAT - + - + GND REFLO - POLARITY DETECTION AL/CC REGISTERS PRESCALER M + S4 + CONTROL LOGIC S2 RSENSE BATTERY REFHI VSUPPLY CONTROL I2C/ SMBus ACR SCL SDA THRESHOLDS 2941 F03 Figure 3. Coulomb Counter Section of the LTC2941 Rev. C For more information www.analog.com 7 LTC2941 APPLICATIONS INFORMATION I2C/SMBus Interface Status Register (A) The LTC2941 communicates with a bus master using a 2-wire interface compatible with I2C and SMBus. The 7-bit hard-coded I2C address of LTC2941 is 1100100. Table 2 shows the details of the status register (address 00h): The LTC2941 is a slave-only device. Therefore the serial clock line (SCL) is input only while the data line (SDA) is bidirectional. For more details refer to the I2C Protocol section. Internal Registers The LTC2941 integrates current through a sense resistor and stores a 16-bit result, accumulated charge, as two bytes in registers C and D. Two byte high and low limits programmed in registers E, F, G and H are continuously compared against the accumulated charge. If either limit is exceeded, a corresponding flag is set in the status register bits A[2] or A[3]. If the alert mode is enabled, the AL/CC pin pulls low. The internal eight registers are organized as shown in Table 1: Table 2. Status Register A (Read Only) BIT NAME OPERATION DEFAULT A[7] Chip Identification 1: LTC2941 0: LTC2942 1 A[6] Reserved Not Used. 0 A[5] Accumulated Charge Overflow/Underflow Indicates that the value of the accumulated charge hit either top or bottom. 0 A[4] Reserved Not used. 0 A[3] Charge Alert High Indicates that the accumulated charge value exceeded the charge threshold high limit. 0 A[2] Charge Alert Low Indicates that the accumulated charge value dropped below the charge threshold low limit. 0 A[1] VBAT Alert Indicates that the battery voltage (at SENSE-) dropped below selected VBAT threshold. 0 A[0] Undervoltage Lockout Alert Indicates recovery from undervoltage. If equal to 1, a UVLO has occurred and the content of registers is uncertain. X Table 1. Register Map ADDRESS NAME REGISTER DESCRIPTION R/W DEFAULT 00h A Status R See Below 01h B Control R/W 3Ch 02h C Accumulated Charge MSB R/W 7Fh 03h D Accumulated Charge LSB R/W FFh 04h E Charge Threshold High MSB R/W FFh 05h F Charge Threshold High LSB R/W FFh 06h G Charge Threshold Low MSB R/W 00h 07h H Charge Threshold Low LSB R/W 00h R = Read, W = Write 8 The AL/CC pin can be configured to pull low whenever any status register bit is set (except for bit A[7] and A[0]), using control register bits B[2] and B[1]. All status register bits except A[7] are cleared after being read by the host if the conditions which set these bits have been removed. As soon as one of the measured quantities exceeds the programmed limits, the corresponding bit A[3], A[2] or A[1] in the status register is set. Rev. C For more information www.analog.com LTC2941 APPLICATIONS INFORMATION Bit A[5] is set if the LTC2941's accumulated charge overflows or underflows the combined total in registers C and D. Note that the counting process does not roll over, but simply stops at FFFFh or 0000h until the direction is reversed. The LTC2941 includes a battery undervoltage monitor, which sets bit A1 if the limit is exceeded. Limits are selected in the control register. The undervoltage lockout (UVLO) bit A[0] is set if, during operation, the voltage on SENSE+ drops below 2.7V without reaching the POR level. The analog parts of the coulomb counter are switched off while the digital register values are retained. After recovery of the supply voltage the coulomb counter resumes integrating with the stored value in the accumulated charge registers (C, D) but it has missed any charge flowing while VSENSE+ < 2.7V. The hard coded bit A[7] of the status register enables the host to distinguish the LTC2941 from the pin compatible LTC2942, allowing the same software to be used with both devices. Control Register (B) The operation of the LTC2941 can be controlled by programming the control register at address 01h. Table 3 shows the organization of the 8-bit control register B[7:0] Table 3. Control Register B BIT NAME B[7:6] VBAT Alert OPERATION DEFAULT [11] Threshold Value = 3.0V. [10] Threshold Value = 2.9V. [01] Threshold Value = 2.8V. [00] VBAT Alert Off. [00] B[5:3] Prescaler M Sets coulomb counter prescaling factor M between 1 and 128. Default is 128. M = 2(4 * B[5] + 2 * B[4] + B[3]). [111] B[2:1] AL/CC Configure [10] Configures the AL/CC pin. [10] Alert Mode. Alert functionality enabled. Pin becomes logic output. [01] Charge Complete Mode. Pin becomes logic input and accepts "charge complete" signal (e.g., from a charger) to set accumulated charge Register to FFFFh. [00] AL/CC pin disabled. Power Down B[0] Programming the last bit B[0] of the control register to 1 sets the analog parts of the LTC2941 in power down and the current consumption drops typically below 1A. All analog circuits are disabled while the values in the registers are retained. Note that any charge flowing while B[0] is 1 is not measured and the charge information below 1 LSB of the accumulated charge register is lost. Alert/Charge Complete Configuration B[2:1] The AL/CC pin is a dual function pin configured by the control register. By setting bits B[2:1] to [10] (default) the AL/CC pin is configured as an alert pin following the SMBus protocol. In this alert mode the AL/CC pin is a digital output and is pulled low if one of the measured quantities exceeds its high or low threshold or if the an overflow/underflow occurs in the accumulated charge registers C and D. An alert response procedure started by the master resets the alert at the AL/CC pin. For further information see the Alert Response Protocol section. Setting the control bits B[2:1] to [01] configures the AL/ CC pin as a digital input. In this mode, a high input on the AL/CC pin communicates to the LTC2941 that the battery is full and the accumulated charge is set to its maximum value FFFFh. The AL/CC pin would typically be connected to the "charge complete" output from the battery charger circuitry. If neither the alert nor the charge complete functionality is desired, bits B[2:1] should be set to [00]. The AL/CC pin is then disabled and should be tied to GND. Avoid setting B[2:1] to [11] as it enables the alert and the charge complete modes simultaneously. Choosing RSENSE and Coulomb Counter Prescaler "M" B[5:3] To achieve the specified precision of the coulomb counter the differential voltage between SENSE+ and SENSE- must stay within 50mV. For differential input signals up to 300mV the LTC2941 will remain functional but the precision of the coulomb counter is not guaranteed. [11] Not allowed. B[0] Shutdown Shut down analog section to reduce ISUPPLY. [0] Rev. C For more information www.analog.com 9 LTC2941 APPLICATIONS INFORMATION The value of the external sense resistor is determined by the maximum input range of VSENSE and the maximum current of the application: R SENSE R SENSE 50mV IMAX The choice of the external sense resistor value influences the gain of the coulomb counter. A larger sense resistor gives a larger differential voltage between SENSE+ and SENSE- for the same current which results in more precise coulomb counting. Thus the amount of charge represented by the least significant bit (qLSB) of the accumulated charge (registers C, D) is given by: qLSB = 0.085mAh * 50m * M 50m R SENSE when the prescaler is set to its default value of M=128. Note that 1mAh = 3.6A * s = 3.6C (coulombs). Choosing RSENSE = 50mV/IMAX is not sufficient in applications where: A. the battery capacity (QBAT) is very large compared to the maximum current (IMAX): QBAT > IMAX * 5.5 hours B. the battery capacity (QBAT) is very small compared to the maximum current (IMAX): QBAT < IMAX * 0.1 hours For case A: In low current applications using a large battery, choosing RSENSE according to RSENSE = 50mV/IMAX can lead to a qLSB smaller than QBAT/216 and the 16-bit accumulated charge may underflow before the battery is 10 0.085mAh * 216 Q BAT * 50m In an example application where the maximum current is IMAX = 100mA, calculating RSENSE = 50mV/IMAX would lead to a sense resistor of 500m. This gives a qLSB of 8.5Ah and the accumulated charge register can represent a maximum battery capacity of QBAT = 8.5Ah * 65535 = 557mAh. If the battery is larger, RSENSE must be lowered. For example, RSENSE must be reduced to 150m if a battery with a capacity of 1800mAh is used. For case B: In applications using a small battery but having a high maximum current, qLSB can get quite large with respect to the battery capacity. For example, if the battery capacity is 100mAh and the maximum current is 1A, the standard equation leads to choose a sense resistor value of 50m, resulting in: R SENSE 128 or qLSB = 0.085mAh * exhausted or overflow during charge. Choose in this case a maximum RSENSE of: qLSB = 0.085mAh = 306mC The battery capacity then corresponds to only 1176 qLSBs and less than 2% of the accumulated charge register is utilized. To preserve digital resolution in this case, the LTC2941 includes a programmable prescaler. Lowering the prescaler factor M allows reducing qLSB to better match the accumulated charge registers C and D to the capacity of the battery. The prescaling factor M can be chosen between 1 and its default value 128. The charge LSB then becomes: qLSB = 0.085mAh * 50m * M R SENSE 128 Rev. C For more information www.analog.com LTC2941 APPLICATIONS INFORMATION To use as much of the range of the accumulated charge registers C and D as possible the prescaler factor M should be chosen for a given battery capacity QBAT and a sense resistor RSENSE as: M 128 * R * SENSE 216 * 0.085mAh 50m Q BAT M can be set to 1, 2, 4, 8, ...128 by programming B[5:3] of the control register as M = 2(4 * B[5] + 2 * B[4] + B[3]). The default value after power up is M = 128 = 27 (B[5:3] = 111). In the above example of a 100mAh battery and a RSENSE of 50m, the prescaler should be programmed to M = 4. The qLSB then becomes 2.656Ah and the battery capacity corresponds to roughly 37650 qLSBs. Note that the internal digital resolution of the coulomb counter is higher than indicated by qLSB. The digitized charge qINTERNAL is M * 8 smaller than qLSB. qINTERNAL is typically 299As for a 50m sense resistor. VBAT Alert B[7:6] The VBAT alert function allows the LTC2941 to monitor the voltage at SENSE-. If enabled, a drop of the voltage at the SENSE- pin below a preset threshold is detected and bit A[1] in the status register is set. If the alert mode is enabled by setting B[2] to one, an alert is generated at the AL/CC pin. The threshold for the VBAT alert function is selectable according to Table 3. Accumulated Charge Registers (C, D) The coulomb counter of the LTC2941 integrates current through the sense resistor. The 16-bit result of this charge integration is stored in the accumulated charge registers C and D. As the LTC2941 does not know the actual battery status after initial power-up, the accumulated charge is set to mid-scale (7FFFh). If the host knows the status of the battery, the accumulated charge registers C[7:0] and D[7:0] can be either programmed to the correct value via I2C or it can be set after charging to FFFFh (full) by pulling the AL/CC pin high (if charge complete mode is enabled via bits B[2:1]). Before writing the accumulated charge registers, the analog section should be shut down by setting B[0] to 1. In order to avoid a change in the accumulated charge registers between reading MSBs C[7:0] and LSBs D[7:0], it is recommended to read them sequentially, as shown in Figure 8. Threshold Registers (E, F), (G, H) For battery charge, the LTC2941 features a high and a low threshold register. At power-up the high threshold is set to FFFFh while the low threshold is set to 0000h. Both thresholds can be programmed to a desired value via I2C. As soon as the accumulated charge exceeds the high threshold or falls below the low threshold, the LTC2941 sets the corresponding flag in the status register and pulls the AL/CC pin low if alert mode is enabled. I2C Protocol The LTC2941 uses an I2C/SMBus compatible 2-wire opendrain interface supporting multiple devices and masters on a single bus. The connected devices can only pull the bus wires LOW and they never drive the bus HIGH. The bus wires should be externally connected to a positive supply voltage via a current source or pull-up resistor. When the bus is idle, both SDA and SCL are HIGH. Data on the I2C-bus can be transferred at rates of up to 100kbit/s in standard mode and up to 400kbit/s in fast mode. Each device on the I2C/SMBus is recognized by a unique address stored in that device and can operate as either a transmitter or receiver, depending on the function of the device. In addition to transmitters and receivers, devices can also be classified as masters or slaves when performing data transfers. A master is the device which initiates a data transfer on the bus and generates the clock signals to permit that transfer. At the same time any device addressed is considered a slave. The LTC2941 always acts as a slave. Figure 4 shows an overview of the data transmission on the I2C bus. Rev. C For more information www.analog.com 11 LTC2941 APPLICATIONS INFORMATION SDA a6 - a0 b7 - b0 SCL 1-7 8 9 ADDRESS R/W ACK 1-7 b7 - b0 8 9 1-7 8 9 S START CONDITION P DATA ACK DATA ACK STOP CONDITION 2941 F04 Figure 4. Data Transfer Over I2C or SMBus START and STOP Conditions When the bus is idle, both SCL and SDA must be HIGH. A bus master signals the beginning of a transmission with a START condition by transitioning SDA from HIGH to LOW while SCL is HIGH. When the master has finished communicating with the slave, it issues a STOP condition by transitioning SDA from LOW to HIGH while SCL is HIGH. The bus is then free for another transmission. When the bus is in use, it stays busy if a repeated START (Sr) is generated instead of a STOP condition. The repeated START (Sr) conditions are functionally identical to the START (S). Read Protocol Data Transmission After a START condition, the I2C bus is considered busy and data transfer begins between a master and a slave. As data is transferred over I2C in groups of nine bits (eight data bits followed by an acknowledge bit), each group takes nine SCL cycles. The transmitter releases the SDA line during the acknowledge clock pulse and the receiver issues an acknowledge (ACK) by pulling SDA LOW or leaves SDA HIGH to indicate a not-acknowledge (NACK) condition. Change of data state can only happen while SCL is LOW. Write Protocol The master begins communication with a START condition followed by the seven bit slave address 1100100 and the R/W bit set to zero, as shown in Figure 5. The LTC2941 acknowledges this by pulling SDA LOW and then 12 the master sends a command byte which indicates which internal register the master is to write. The LTC2941 acknowledges and then latches the command byte into its internal register address pointer. The master delivers the data byte, the LTC2941 acknowledges once more and latches the data into the desired register. The transmission is ended when the master sends a STOP condition. If the master continues by sending a second data byte instead of a STOP, the LTC2941 acknowledges again, increments its address pointer and latches the second data byte in the following register, as shown in Figure 6. The master begins a read operation with a START condition followed by the seven bit slave address 1100100 and the R/W bit set to zero, as shown in Figure 7. The LTC2941 acknowledges and then the master sends a command byte which indicates which internal register the master is to read. The LTC2941 acknowledges and then latches the command byte into its internal register address pointer. The master then sends a repeated START condition followed by the same seven bit address with the R/W bit now set to one. The LTC2941 acknowledges and sends the contents of the requested register. The transmission is ended when the master sends a STOP condition. If the master acknowledges the transmitted data byte, the LTC2941 increments its address pointer and sends the contents of the following register, as shown in Figure 8. Rev. C For more information www.analog.com LTC2941 APPLICATIONS INFORMATION Alert Response Protocol The master initiates the ARA procedure with a START condition and the special 7-bit ARA bus address (0001100) followed by the read bit (R) = 1. If the LTC2941 is asserting the AL/CC pin in alert mode, it acknowledges and responds by sending its 7-bit bus address (1100100) In a system where several slaves share a common interrupt line, the master can use the alert response address (ARA) to determine which device initiated the interrupt (Figure 9). S ADDRESS W A REGISTER A DATA A 1100100 0 0 01h 0 FCh 0 P 2941 F05 FROM MASTER TO SLAVE A: ACKNOWLEDGE (LOW) A: NOT-ACKNOWLEDGE (HIGH) FROM SLAVE TO MASTER R: READ BIT (HIGH) W: WRITE BIT (LOW) S: START CONDITION P: STOP CONDITION Figure 5. Writing FCh to LTC2941 Control Register (B) S ADDRESS W A REGISTER A DATA A DATA A 1100100 0 0 02h 0 F0h 0 01h 0 P 2941 F06 Figure 6. Writing F001h to the LTC2941 Accumulated Charge Registers (C, D) S ADDRESS W A REGISTER A 1100100 0 0 00h 0 S ADDRESS R A DATA A 1100100 1 0 81h 1 P 2941 F07 Figure 7. Reading the LTC2941 Status Register (A) S ADDRESS W A REGISTER A 1100100 0 0 02h 0 S ADDRESS R A DATA A DATA A 1100100 1 0 80h 0 01h 1 P 2941 F08 Figure 8. Reading the LTC2941 Accumulated Charge Registers (C, D) S ALERT RESPONSE ADDRESS R A DEVICE ADDRESS A 0001100 1 0 11001001 1 P 2941 F09 Figure 9. LTC2941 Serial Bus SDA Alert Response Protocol Rev. C For more information www.analog.com 13 LTC2941 APPLICATIONS INFORMATION and a 1. While it is sending its address, it monitors the SDA pin to see if another device is sending an address at the same time using standard I2C bus arbitration. If the LTC2941 is sending a 1 and reads a 0 on the SDA pin on the rising edge of SCL, it assumes another device with a lower address is sending and the LTC2941 immediately aborts its transfer and waits for the next ARA cycle to try again. If transfer is successfully completed, the LTC2941 will stop pulling down the AL/CC pin and will not respond to further ARA requests until a new alert event occurs. TO CHARGER/LOAD PC Board Layout Recommendations Keep all traces as short as possible to minimize noise and inaccuracy. Use a 4-wire Kelvin sense connection for the sense resistor, locating the LTC2941 close to the resistor with short sense traces to SENSE+ and SENSE-. Use wider traces from the resistor to the battery, load and/or charger (see Figure 10). Put the bypass capacitor close to SENSE+ and GND. RSENSE 6 1 C 2 3 TO BATTERY LTC2941 5 4 2941 F10 Figure 10. Kelvin Connection on Sense Resistor 14 Rev. C For more information www.analog.com LTC2941 PACKAGE DESCRIPTION DCB Package 6-Lead Plastic DFN (2mm x 3mm) (Reference LTC DWG # 05-08-1715 Rev A) 0.70 0.05 3.55 0.05 1.65 0.05 (2 SIDES) 2.15 0.05 PACKAGE OUTLINE 0.25 0.05 0.50 BSC 1.35 0.05 (2 SIDES) RECOMMENDED SOLDER PAD PITCH AND DIMENSIONS R = 0.115 TYP 2.00 0.10 (2 SIDES) R = 0.05 TYP 3.00 0.10 (2 SIDES) 0.40 0.10 4 6 1.65 0.10 (2 SIDES) PIN 1 NOTCH R0.20 OR 0.25 x 45 CHAMFER PIN 1 BAR TOP MARK (SEE NOTE 6) 3 0.200 REF 0.75 0.05 1 (DCB6) DFN 0405 0.25 0.05 0.50 BSC 1.35 0.10 (2 SIDES) 0.00 - 0.05 BOTTOM VIEW--EXPOSED PAD NOTE: 1. DRAWING TO BE MADE A JEDEC PACKAGE OUTLINE M0-229 VARIATION OF (TBD) 2. DRAWING NOT TO SCALE 3. ALL DIMENSIONS ARE IN MILLIMETERS 4. DIMENSIONS OF EXPOSED PAD ON BOTTOM OF PACKAGE DO NOT INCLUDE MOLD FLASH. MOLD FLASH, IF PRESENT, SHALL NOT EXCEED 0.15mm ON ANY SIDE 5. EXPOSED PAD SHALL BE SOLDER PLATED 6. SHADED AREA IS ONLY A REFERENCE FOR PIN 1 LOCATION ON THE TOP AND BOTTOM OF PACKAGE Rev. C For more information www.analog.com 15 LTC2941 PACKAGE DESCRIPTION MS8E Package 8-Lead Plastic MSOP, Exposed Die Pad (Reference LTC DWG # 05-08-1662 Rev K) BOTTOM VIEW OF EXPOSED PAD OPTION 1.88 (.074) 1 1.88 0.102 (.074 .004) 0.29 REF 1.68 (.066) 0.889 0.127 (.035 .005) 0.05 REF 5.10 (.201) MIN DETAIL "B" CORNER TAIL IS PART OF DETAIL "B" THE LEADFRAME FEATURE. FOR REFERENCE ONLY NO MEASUREMENT PURPOSE 1.68 0.102 3.20 - 3.45 (.066 .004) (.126 - .136) 8 3.00 0.102 (.118 .004) (NOTE 3) 0.65 (.0256) BSC 0.42 0.038 (.0165 .0015) TYP 8 7 6 5 0.52 (.0205) REF RECOMMENDED SOLDER PAD LAYOUT 0.254 (.010) 3.00 0.102 (.118 .004) (NOTE 4) 4.90 0.152 (.193 .006) DETAIL "A" 0 - 6 TYP GAUGE PLANE 0.53 0.152 (.021 .006) DETAIL "A" 1 2 3 4 1.10 (.043) MAX 0.86 (.034) REF 0.18 (.007) SEATING PLANE 0.22 - 0.38 (.009 - .015) TYP 0.65 (.0256) BSC 0.1016 0.0508 (.004 .002) MSOP (MS8E) 0213 REV K NOTE: 1. DIMENSIONS IN MILLIMETER/(INCH) 2. DRAWING NOT TO SCALE 3. DIMENSION DOES NOT INCLUDE MOLD FLASH, PROTRUSIONS OR GATE BURRS. MOLD FLASH, PROTRUSIONS OR GATE BURRS SHALL NOT EXCEED 0.152mm (.006") PER SIDE 4. DIMENSION DOES NOT INCLUDE INTERLEAD FLASH OR PROTRUSIONS. INTERLEAD FLASH OR PROTRUSIONS SHALL NOT EXCEED 0.152mm (.006") PER SIDE 5. LEAD COPLANARITY (BOTTOM OF LEADS AFTER FORMING) SHALL BE 0.102mm (.004") MAX 6. EXPOSED PAD DIMENSION DOES INCLUDE MOLD FLASH. MOLD FLASH ON E-PAD SHALL NOT EXCEED 0.254mm (.010") PER SIDE. 16 Rev. C For more information www.analog.com LTC2941 REVISION HISTORY REV DATE DESCRIPTION PAGE NUMBER A 8/10 Revised Exposed Pad description in the Pin Configuration and Pin Functions sections 2, 5 B 02/16 Added MSOP Package option 1-18 C 11/18 Updated MSE Package description to include DNC (Do Not Connect) for MSE Package Corrected equation for external sense resistor calculation Note added to explain status output timing following internal self test operation 2 10 13 Rev. C Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license For is granted implication or otherwise under any patent or patent rights of Analog Devices. more by information www.analog.com 17 LTC2941 TYPICAL APPLICATION Single-Cell Lithium-Ion Coulomb Counter with Battery Charger for Charge and Discharge Currents of Up to 500mA 4 VIN 5V VCC BAT 500mA 3 LTC4057-4.2 (CHARGER) 1F 5 2k PROG SHDN GND LOAD 0.1F 3.3V 2k 1 VDD P 2 2k 2k 1 SENSE+ LTC2941 5 AL/CC 4 6 SDA SENSE- 3 SCL GND RSENSE 100m + 1-CELL Li-Ion 2 2941 TA02 RELATED PARTS PART NUMBER DESCRIPTION COMMENTS Battery Gas Gauges LTC2941-1 I2C Battery Gas Gauge with Integrated 50m Sense Resistor Pin Compatible with LTC2942-1 LTC2942 I2C Battery Gas Gauge with Voltage and Temperature Measurement 14-Bit -ADC, Pin Compatible with LTC2941 LTC2942-1 I2C Battery Gas Gauge with Voltage and Temperature Measurement; Integrated Sense Resistor 14-Bit -ADC, Pin Compatible with LTC2941-1 LTC2943 I2C Battery Gas Gauge with Voltage, Current and Temperature Measurement 20V Operation, 3mm x 3mm DFN Package LTC2943-1 I2C Battery Gas Gauge with Voltage, Current and Temperature Measurement; Integrated Sense Resistor 20V Operation, 3mm x 3mm DFN Package LTC4150 Coulomb Counter/Battery Gas Gauge 2.7V to 8.5V Operation, 10-Pin MSOP Package LTC1734 Lithium-Ion Battery Charger in ThinSOTTM Simple ThinSOT Charger, No Blocking Diode, No Sense Resistor Needed LTC4002 Switch Mode Lithium-Ion Battery Charger Standalone, 4.7V VIN 24V, 500kHz Frequency LTC4052 Monolithic Lithium-Ion Battery Pulse Charger No Blocking Diode or External Power FET Required, 1.5A Charge Current LTC4053 USB Compatible Monolithic Li-Ion Battery Charger Standalone Charger with Programmable Timer, Up to 1.25A Charge Current LTC4057 Lithium-Ion Linear Battery Charger Up to 800mA Charge Current, Thermal Regulation, ThinSOT Package LTC4058 Standalone 950mA Lithium-Ion Charger in DFN C/10 Charge Termination, Battery Kelvin Sensing, 7% Charge Accuracy LTC4059 900mA Linear Lithium-Ion Battery Charger 2mm x 2mm DFN Package, Thermal Regulation, Charge Current Monitor Output LTC4061 Standalone Linear Li-Ion Battery Charger with Thermistor Input 4.2V, 0.35% Float Voltage, Up to 1A Charge Current, 3mm x 3mm DFN Package LTC4063 Li-Ion Charger with Linear Regulator Up to 1A Charge Current, 100mA, 125mV LDO, 3mm x 3mm DFN Package LTC4080 500mA Standalone Li-Ion Charger with Integrated 300mA Synchronous Buck LTC4088 High Efficiency Battery Charger/USB Power Manager Battery Chargers 18 Maximizes Available Power from USB Port, Bat-TrackTM, Instant-On Operation, 1.5A Max Charge Current, 180m Ideal Diode with <50m Option, 3.3V/25mA Always-On LDO, 4mm x 3mm DFN-14 Package Rev. C 11/18 www.analog.com For more information www.analog.com ANALOG DEVICES, INC. 2010-2018