MAX17041X+T10 [MAXIM]
Compact, Low-Cost 1S/2S Fuel Gauges; 紧凑型,低成本1S / 2S电量计![MAX17041X+T10](http://pdffile.icpdf.com/pdf1/p00178/img/icpdf/MAX17_1003226_icpdf.jpg)
型号: | MAX17041X+T10 |
厂家: | ![]() |
描述: | Compact, Low-Cost 1S/2S Fuel Gauges |
文件: | 总13页 (文件大小:448K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
![](http://public.icpdf.com/style/img/ads.jpg)
19-5210; Rev 6; 8/11
Compact, Low-Cost 1S/2S Fuel Gauges
/MAX7041
General Description
Features
♦ Host-Side or Battery-Side Fuel Gauging
The MAX17040/MAX17041 are ultra-compact, low-cost,
host-side fuel-gauge systems for lithium-ion (Li+) batter-
ies in handheld and portable equipment. The MAX17040
is configured to operate with a single lithium cell and the
MAX17041 is configured for a dual-cell 2S pack.
1 Cell (MAX17040)
2 Cell (MAX17041)
♦ Precision Voltage Measurement
±12ꢀ.mV Accuracy to .ꢀ00V (MAX17040)
±±0mV Accuracy to 10ꢀ00V (MAX17041)
The MAX17040/MAX17041 use a sophisticated Li+ bat-
tery-modeling scheme, called ModelGauge™ to track
the battery’s relative state-of-charge (SOC) continuously
over a widely varying charge/discharge profile. Unlike
traditional fuel gauges, the ModelGauge algorithm elim-
inates the need for battery relearn cycles and an exter-
nal current-sense resistor. Temperature compensation
is possible in the application with minimal interaction
between a µC and the device.
♦ Accurate Relative Capacity (RSOC) Calculated
from ModelGauge Algorithm
♦ No Offset Accumulation on Measurement
♦ No Full-to-Empty Battery Relearning Necessary
♦ No Sense Resistor Required
♦ 2-Wire Interface
♦ Low Power Consumption
A quick-start mode provides a good initial estimate of
the battery’s SOC. This feature allows the IC to be
located on system side, reducing cost and supply
chain constraints on the battery. Measurement and esti-
mated capacity data sets are accessed through an I2C
interface. The MAX17040/MAX17041 are available in
either a 0.4mm pitch 9-bump UCSP™ or 2mm x 3mm,
8-pin TDFN lead-free package.
♦ Tiny, Lead(Pb)-Free, 8-pin, 2mm x ±mm TDFN
Package or Tiny 0ꢀ4mm Pitch 9-Bump UCSP
Package
Ordering Information
PART
TEMP RANGE
-20°C to +70°C
-20°C to +70°C
-20°C to +70°C
-20°C to +70°C
-20°C to +70°C
-20°C to +70°C
-20°C to +70°C
-20°C to +70°C
PIN-PACKAGE
8 TDFN-EP*
8 TDFN-EP*
9 UCSP
MAX17040G+U
MAX17040G+T
MAX17040X+U
MAX17040X+T10
MAX17041G+U
MAX17041G+T
MAX17041X+
Applications
Portable DVD Players
9 UCSP
Smart Phones
8 TDFN-EP*
8 TDFN-EP*
9 UCSP
MP3 Players
GPS Systems
Digital Still Cameras
Digital Video Cameras
Handheld and Portable
Applications
MAX17041X+T10
9 UCSP
ModelGauge is a trademark of Maxim Integrated Products, Inc.
UCSP is a trademark of Maxim Integrated Products, Inc.
+Denotes a lead(Pb)-free/RoHS-compliant package.
T = Tape and reel.
*EP = Exposed pad.
Pin Configurations appear at end of data sheetꢀ
Simplified Operating Circuit
150Ω
1kΩ
SYSTEM
μP
CELL
V
DD
MAX17040
MAX17041
SEO
Li+
EO
PROTECTION
CIRCUIT
CTG
GND
SDA
SCL
2
I C BUS
MASTER
EP
1μF
10nF
________________________________________________________________ Maxim Integrated Products
1
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642,
or visit Maxim’s website at wwwꢀmaxim-icꢀcomꢀ
Compact, Low-Cost 1S/2S Fuel Gauges
ABSOLUTE MAXIMUM RATINGS
Voltage on CTG Pin Relative to GND .....................-0.3V to +12V
Voltage on CELL Pin Relative to GND....................-0.3V to +12V
Voltage on All Other Pins Relative to GND...............-0.3V to +6V
Operating Temperature Range ...........................-40°C to +85°C
Power Dissipation..........1333mW at +70°C (derate 16.7mW/°C)
Storage Temperature Range
(T = 0°C to +70°C (Note 10))........................-55°C to +125°C
A
Lead Temperature (TDFN only, soldering, 10s) ..............+300°C
Soldering Temperature (reflow)
TDFN.............................................................................+260°C
UCSP.............................................................................+240°C
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICS RECOMMENDED DC OPERATING CONDITIONS
(2.5V ≤ V
≤ 4.5V, T = -20°C to +70°C, unless otherwise noted.)
A
DD
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
Supply Voltage
V
(Note 1)
(Note 1)
+2.5
+4.5
V
DD
SCL, SDA,
EO, SEO
Data I/O Pins
-0.3
+5.5
V
MAX17040 CELL Pin
MAX17041 CELL Pin
V
V
(Note 1)
(Note 1)
-0.3
-0.3
+5.0
V
V
CELL
+10.0
CELL
/MAX7041
DC ELECTRICAL CHARACTERISTICS
(2.5V ≤ V
≤ 4.5V, T = -20°C to +70°C, unless otherwise noted. Contact Maxim for V
greater than 4.5V.)
DD
A
DD
PARAMETER
SYMBOL
CONDITIONS
With on-chip clock in use
With external 32kHz clock
MIN
TYP
MAX
75
UNITS
50
40
0.5
1
Active Current
I
μA
ACTIVE
65
V
DD
= 2.0V
1.0
3
Sleep-Mode Current (Note 2)
I
μA
%
SLEEP
V
T
= 3.6V at +25°C
-1
-2
+1
DD
Time-Base Accuracy (Note 3)
t
= 0°C to +70°C (Note 10)
= -20°C to +70°C
+2
ERR
A
T
A
T
A
-3
+3
= +25°C, V = V
DD
-12.5
-30
-30
-60
15
+12.5
+30
+30
+60
MAX17040 Voltage-
Measurement Error
IN
V
mV
GERR
T
A
= +25°C, 5.0V < V < 9.0V
IN
MAX17041 Voltage-
Measurement Error
5.0V < V < 9.0V
IN
CELL Pin Input Impedance
R
CELL
Mꢀ
Input Logic-High:
SCL, SDA, EO, SEO
V
(Note 1)
(Note 1)
1.4
V
IH
Input Logic-Low:
SCL, SDA, EO, SEO
V
0.5
0.4
V
IL
Output Logic-Low: SDA
Pulldown Current: SCL, SDA
Input Capacitance: EO
Bus Low Timeout
V
I
= 4mA (Note 1)
OL
V
μA
pF
s
OL
I
V
DD
= 4.5V, V
= 0.4V
PIN
0.2
PD
C
50
BUS
t
(Note 4)
1.75
2.5
SLEEP
2
_______________________________________________________________________________________
Compact, Low-Cost 1S/2S Fuel Gauges
/MAX7041
ELECTRICAL CHARACTERISTICS: 2-WIRE INTERFACE
(2.5V ≤ V
≤ 4.5V, T = -20°C to +70°C.)
A
DD
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
SCL Clock Frequency
f
(Note 5)
(Note 5)
0
400
kHz
SCL
Bus Free Time Between a STOP
and START Condition
t
1.3
0.6
μs
μs
BUF
Hold Time (Repeated)
START Condition
t
t
HD:STA
Low Period of SCL Clock
High Period of SCL Clock
t
1.3
0.6
μs
μs
LOW
t
HIGH
Setup Time for a Repeated
START Condition
0.6
μs
SU:STA
Data Hold Time
Data Setup Time
t
(Notes 6, 7)
(Note 6)
0
0.9
μs
ns
HD:DAT
t
100
SU:DAT
Rise Time of Both SDA
and SCL Signals
20 +
t
300
300
ns
R
0.1C
B
Fall Time of Both SDA
and SCL Signals
20 +
t
ns
μs
ns
F
0.1C
B
Setup Time for STOP Condition
t
SU:STO
0.6
Spike Pulse Widths Suppressed
by Input Filter
t
SP
(Note 8)
(Note 9)
0
50
Capacitive Load for Each
Bus Line
C
400
60
pF
pF
B
SCL, SDA Input Capacitance
C
BIN
Note 1: All voltages are referenced to GND.
Note 2: SDA, SCL = GND; EO, SEO idle.
Note ±: External time base on EO pin must meet this specification.
Note 4: The MAX17040/MAX17041 enter Sleep mode 1.75s to 2.5s after (SCL < V ) AND (SDA < V ).
IL
IL
Note .:
f
must meet the minimum clock low time plus the rise/fall times.
SCL
Note 6: The maximum t
has only to be met if the device does not stretch the low period (t
) of the SCL signal.
HD:DAT
LOW
Note 7: This device internally provides a hold time of at least 75ns for the SDA signal (referred to the V
of the SCL signal) to
IHMIN
bridge the undefined region of the falling edge of SCL.
Note 8: Filters on SDA and SCL suppress noise spikes at the input buffers and delay the sampling instant.
Note 9: C —total capacitance of one bus line in pF.
B
Note 10: Applies to 8-pin TDFN-EP package type only.
_______________________________________________________________________________________
±
Compact, Low-Cost 1S/2S Fuel Gauges
Typical Operating Characteristics
(T = +25°C, unless otherwise noted.)
A
SIMPLE C/2 RATE CYCLES*
SOC ACCURACY
QUIESCENT CURRENT vs. SUPPLY VOLTAGE
MAX17040 toc02
100
80
60
40
20
0
100
90
80
70
60
50
40
30
20
10
0
10
8
MAX17040/
MAX17041 SOC:
DASHED LINE
T
= +70°C
6
A
T
A
= +25°C
4
2
0
-2
-4
-6
-8
-10
T
A
= -20°C
REFERENCE SOC:
SOLID LINE
ERROR (%)
10 12
0
1
2
3
4
5
0
2
4
6
8
V
(V)
TIME (hr)
DD
SIMPLE C/4 RATE CYCLES*
SOC ACCURACY
MAX17040 VOLTAGE ADC ERROR
vs. TEMPERATURE
/MAX7041
MAX17040 toc03
100
90
80
70
60
50
40
30
20
10
0
10
8
20
15
10
5
MAX17040/
MAX17041 SOC:
DASHED LINE
V
= 4.2V
CELL
6
4
V
= 3.0V
CELL
2
0
0
-2
-4
-6
-8
-10
-5
V
= 3.6V
CELL
-10
-15
-20
ERROR (%)
REFERENCE SOC:
SOLID LINE
0
2
4
6
8
10 12 14 16 18 20 22
TIME (hr)
-40
-15
10
35
60
85
TEMPERATURE (°C)
C/2 RATE ZIGZAG PATTERN*
SOC ACCURACY
MAX17040 toc05
100
90
80
70
60
50
40
30
20
10
8
MAX17040/MAX17041 SOC:
DASHED LINE
6
ERROR (%)
4
2
0
-2
-4
-6
-8
-10
REFERENCE SOC:
SOLID LINE
10
0
0
4
8
12
16
20
22
TIME (hr)
*Sample accuracy with custom configuration data programmed into the IC.
_______________________________________________________________________________________
4
Compact, Low-Cost 1S/2S Fuel Gauges
/MAX7041
Pin Description
PIN
NAME
FUNCTION
UCSP
TDFN
Serial Data Input/Output. Open-drain 2-wire data line. Connect this pin to the DATA signal of the
2-wire interface. This pin has a 0.2μA typical pulldown to sense disconnection.
A1
8
SDA
Serial Clock Input. Input only 2-wire clock line. Connect this pin to the CLOCK signal of the
2-wire interface. This pin has a 0.2μA typical pulldown to sense disconnection.
A2
A3
B1
7
1
6
SCL
CTG
EO
Connect to Ground. Connect to VSS during normal operation.
External 32kHz Clocking Signal. Input for external clocking signal to be the primary system
clock. Configured to implement interrupt feature with a pulldown set on SEO pin.
B2
B3
—
2
N.C.
No Connect. Do not connect.
CELL
Battery-Voltage Input. The voltage of the cell pack is measured through this pin.
External 32kHz Clocking Signal Enable Input. Input to enable external clocking signal on EO pin
with a pullup state; a pulldown state to configure the interrupt feature. External 32kHz clock
enable. Connects logic-low to enable external interrupt.
C1
5
SEO
Power-Supply Input. 2.5V to 4.5V input range. Connect to system power through a decoupling
network. Connect a 10nF typical decoupling capacitor close to pin.
C2
3
V
DD
C3
—
4
GND
EP
Ground. Connect to the negative power rail of the system.
Exposed Pad (TDFN Only). Connect to ground.
—
SDA
t
F
t
t
t
BUF
t
SP
R
F
t
SU:DAT
t
t
t
R
HD:STA
LOW
SCL
t
t
t
SU:STO
HD:STA
SU:STA
t
HD:DAT
P
S
Sr
S
Figure 1. 2-Wire Bus Timing Diagram
Detailed Description
Figure 1 shows the 2-wire bus timing diagram, and
Figure 2 is the MAX17040/MAX17041 block diagram.
V
DD
TIME BASE
(32kHz)
BIAS
EO
SEO
MAX17040
MAX17041
ModelGauge Theory of Operation
VOLTAGE
REFERENCE
The MAX17040/MAX17041 use a sophisticated battery
model, which determines the SOC of a nonlinear Li+
battery. The model effectively simulates the internal
dynamics of a Li+ battery and determines the SOC. The
model considers the time effects of a battery caused by
the chemical reactions and impedance in the battery.
The MAX17040/MAX17041 SOC calculation does not
accumulate error with time. This is advantageous
CTG
STATE
MACHINE
(SOC, RATE)
ADC (VCELL)
CELL
GND
IC
GROUND
SDA
SCL
2-WIRE
INTERFACE
Figure 2. Block Diagram
_______________________________________________________________________________________
.
Compact, Low-Cost 1S/2S Fuel Gauges
compared to traditional coulomb counters, which suffer
from SOC drift caused by current-sense offset and cell
Quick-Start
A quick-start allows the MAX17040/MAX17041 to restart
fuel-gauge calculations in the same manner as initial
power-up of the IC. For example, if an application’s
power-up sequence is exceedingly noisy such that
excess error is introduced into the IC’s “first guess” of
SOC, the host can issue a quick-start to reduce the
error. A quick-start is initiated by a rising edge on the
EO pin when SEO is logic-low, or through software by
writing 4000h to the MODE register.
self-discharge. This model provides good performance
for many Li+ chemistry variants across temperature
and age. To achieve optimum performance, the
MAX17040/MAX17041 must be programmed with con-
figuration data custom to the application. Contact the
factory for details.
Fuel-Gauge Performance
The classical coulomb-counter-based fuel gauges suf-
fer from accuracy drift due to the accumulation of the
offset error in the current-sense measurement. Although
the error is often very small, the error increases over
time in such systems, cannot be eliminated, and
requires periodic corrections. The corrections are usu-
ally performed on a predefined SOC level near full or
empty. Some other systems use the relaxed battery
voltage to perform corrections. These systems deter-
mine the true SOC based on the battery voltage after a
long time of no activity. 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.
In some systems, a full charge/discharge cycle is
required to eliminate the drift error. To determine the
true accuracy of a fuel gauge, as experienced by end
users, the battery should be exercised in a dynamic
manner. The end-user accuracy cannot be understood
with only simple cycles. The MAX17040/MAX17041 do
not suffer from the drift problem since they do not rely
on the current information.
External Oscillator Control
When the SEO pin is logic-high, the MAX17040/
MAX17041 disable the 32kHz internal oscillator and rely
on external clocking from the EO pin. A precision exter-
nal clock source reduces current consumption during
normal operation.
When the SEO pin is logic-low, the EO pin becomes an
interrupt input. Any rising edge detected on EO causes
the MAX17040/MAX17041 to initiate a quick-start.
/MAX7041
Sleep Mode
Holding both SDA and SCL logic-low forces the
MAX17040/MAX17041 into Sleep mode. While in Sleep
mode, all IC operations are halted and power drain of
the IC is greatly reduced. After exiting Sleep mode,
fuel-gauge operation continues from the point it was
halted. SDA and SCL must be held low for at least 2.5s
to guarantee transition into Sleep mode. Afterwards, a
rising edge on either SDA or SCL immediately transi-
tions the IC out of Sleep mode.
IC Power-Up
Power-On Reset (POR)
When the battery is first inserted into the system, there is
no previous knowledge about the battery’s SOC. The IC
assumes that the battery has been in a relaxed state for
the previous 30min. The first A/D voltage measurement is
translated into a best “first guess” for the SOC. Initial error
caused by the battery not being in a relaxed state fades
over time, regardless of cell loading following this initial
conversion. Because the SOC determination is conver-
gent rather than divergent (as in a coulomb counter), this
initial error does not have a long-lasting impact.
Writing a value of 5400h to the COMMAND register caus-
es the MAX17040/MAX17041 to completely reset as if
power had been removed. The reset occurs when the last
bit has been clocked in. The IC does not respond with an
I2C ACK after this command sequence.
Registers
All host interaction with the MAX17040/MAX17041 is
handled by writing to and reading from register loca-
tions. The MAX17040/MAX17041 have six 16-bit regis-
ters: SOC, VCELL, MODE, VERSION, RCOMP, and
COMMAND. Register reads and writes are only valid if
all 16 bits are transferred. Any write command that is
terminated early is ignored. The function of each regis-
ter is described as follows. All remaining address loca-
tions not listed in Table 1 are reserved. Data read from
reserved locations is undefined.
6
_______________________________________________________________________________________
Compact, Low-Cost 1S/2S Fuel Gauges
/MAX7041
Table 1ꢀ Register Summary
ADDRESS
(HEX)
READ/
WRITE
DEFAULT
(HEX)
REGISTER
DESCRIPTION
02h–03h
04h–05h
06h–07h
08h–09h
VCELL
SOC
Reports 12-bit A/D measurement of battery voltage.
Reports 16-bit SOC result calculated by ModelGauge algorithm.
Sends special commands to the IC.
R
R
—
—
—
—
MODE
W
R
VERSION
Returns IC version.
Battery compensation. Adjusts IC performance based on
application conditions.
0Ch–0Dh
FEh–FFh
RCOMP
R/W
W
9700h
—
COMMAND
Sends special commands to the IC.
automatically adapts to variation in battery size since
the MAX17040/MAX17041 naturally recognize relative
SOC. Units of % can be directly determined by observ-
ing only the high byte of the SOC register. The low byte
provides additional resolution in units 1/256%. The
reported SOC also includes residual capacity, which
might not be available to the actual application because
of early termination voltage requirements. When SOC()
= 0, typical applications have no remaining capacity.
VCELL Register
Battery voltage is measured at the CELL pin input with
respect to GND over a 0 to 5.00V range for the
MAX17040 and 0 to 10.00V for the MAX17041 with res-
olutions of 1.25mV and 2.50mV, respectively. The A/D
calculates the average cell voltage for a period of
125ms after IC POR and then for a period of 500ms for
every cycle afterwards. The result is placed in the
VCELL register at the end of each conversion period.
Figure 3 shows the VCELL register format.
The first update occurs within 250ms after POR of the
IC. Subsequent updates occur at variable intervals
depending on application conditions. ModelGauge cal-
culations outside the register are clamped at minimum
and maximum register limits. Figure 4 shows the SOC
register format.
SOC Register
The SOC register is a read-only register that displays
the state of charge of the cell as calculated by the
ModelGauge algorithm. The result is displayed as a
percentage of the cell’s full capacity. This register
MSB—ADDRESS 02h
LSB—ADDRESS 03h
11
10
9
8
7
6
5
4
3
2
1
0
2
2
2
2
2
2
2
2
2
2
2
2
0
0
0
0
MSB
LSB
MSB
LSB
0: BITS ALWAYS READ LOGIC 0
UNITS: 1.25mV FOR MAX17040
2.50mV FOR MAX17041
Figure 3. VCELL Register Format
MSB—ADDRESS 04h
LSB—ADDRESS 05h
7
6
5
4
3
2
1
0
-1
2
-2
-3
-4
-5
-6
-7
-8
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
MSB
LSB
MSB
LSB
UNITS: 1.0%
Figure 4. SOC Register Format
_______________________________________________________________________________________
7
Compact, Low-Cost 1S/2S Fuel Gauges
MODE Register
Table ±ꢀ COMMAND Register Command
The MODE register allows the host processor to send
special commands to the IC (Figure 4). Valid MODE
register write values are listed as follows. All other
MODE register values are reserved. Table 2 shows the
MODE register command.
VALUE
COMMAND
DESCRIPTION
See the Power-On Reset
(POR) description section.
5400h
POR
Application Examples
Table 2ꢀ MODE Register Command
The MAX17040/MAX17041 have a variety of configura-
tions, depending on the application. Table 4 shows the
most common system configurations and the proper
pin connections for each.
VALUE
COMMAND
DESCRIPTION
See the Quick-Start
description section.
4000h
Quick-Start
Figure 5 shows an example application for a 1S cell
pack. The MAX17040 is mounted on the system side
and powered directly from the cell pack. The external
VERSION Register
The VERSION register is a read-only register that con-
tains a value indicating the production version of the
MAX17040/MAX17041.
RC networks on V
and CELL provide noise filtering of
DD
the IC power supply and A/D measurement. In this
example, the SEO pin is connected to VDD to allow an
external clock and reduce power usage by the
MAX17040. The system’s 32kHz clock is connected to
the EO input pin.
RCOMP Register
RCOMP is a 16-bit value used to compensate the
ModelGauge algorithm. RCOMP can be adjusted to
optimize performance for different lithium chemistries or
different operating temperatures. Contact Maxim for
instructions for optimization. The factory-default value
for RCOMP is 9700h.
/MAX7041
Figure 6 shows a MAX17041 example application using
a 2S cell pack. The MAX17041 is mounted on the sys-
tem side and powered from a 3.3V supply generated
by the system. The CELL pin is still connected directly
to PACK+ through an external noise filter. The SEO pin
is connected low to allow the system hardware to reset
the fuel gauge. After power is supplied, the system
watchdog generates a low-to-high transition on the EO
pin to signal the MAX17041 to perform a quick-start.
COMMAND Register
The COMMAND register allows the host processor to
send special commands to the IC. Valid COMMAND
register write values are listed as follows. All other
COMMAND register values are reserved. Table 3
shows the COMMAND register command.
Table 4ꢀ Possible Application Configurations
SYSTEM CONFIGURATION
1S Pack-Side Location
1S Host-Side Location
IC
V
SEO
EO
DD
MAX17040
MAX17040
Power directly from battery
Power directly from battery
Connect to GND
Connect to GND
Connect to GND
Connect to GND
1S Host-Side Location,
External Clocking
Connect to precision
32kHz clock source
MAX17040
MAX17040
Power directly from battery
Power directly from battery
Connect to V
DD
1S Host-Side Location,
Hardware Quick-Start
Connect to rising-
edge reset signal
Connect to GND
2S Pack-Side Location
2S Host-Side Location
MAX17041 Power from 2.5V to 4.5V LDO in pack
MAX17041 Power from 2.5V to 4.5V LDO or PMIC
Connect to GND
Connect to GND
Connect to GND
Connect to GND
2S Host-Side Location,
External Clocking
Connect to precision
32kHz clock source
MAX17041 Power from 2.5V to 4.5V LDO or PMIC
MAX17041 Power from 2.5V to 4.5V LDO or PMIC
Connect to V
DD
2S Host-Side Location,
Hardware Quick-Start
Connect to rising-
edge reset signal
Connect to GND
8
_______________________________________________________________________________________
Compact, Low-Cost 1S/2S Fuel Gauges
/MAX7041
BATTERY
SYSTEM
SYSTEM V
DD
PACK+
150Ω
SYSTEM
μP
1kΩ
1μF
SEO
MAX17040
V
DD
32kHz
OSCILLATOR
OUTPUT
CELL
PROTECTION IC
(Li+/POLYMER)
EO
2
SDA
SCL
CTG
GND
I C BUS
MASTER
EP
10nF
SYSTEM GND
PACK-
Figure 5. MAX17040 Application Example with External Clock
BATTERY
SYSTEM
SYSTEM V
DD
PACK+
SYSTEM
PMIC
1kΩ
MAX17041
3.3V OUTPUT
WATCHDOG
V
EO
DD
CELL
SEO
PROTECTION IC
(Li+/POLYMER)
2
SDA
SCL
I C BUS
CTG
GND
1μF
MASTER
SYSTEM
μP
EP
SYSTEM GND
PACK-
Figure 6. MAX17041 Application Example with Hardware Reset
bidirectionally; that is, when the MAX17040/MAX17041
receive data, SDA operates as an input, and when the
MAX17040/MAX17041 return data, SDA operates as an
open-drain output, with the host system providing a
resistive pullup. The MAX17040/MAX17041 always
operate as a slave device, receiving and transmitting
data under the control of a master device. The master
initiates all transactions on the bus and generates the
SCL signal, as well as the START and STOP bits, which
begin and end each transaction.
2-Wire Bus System
The 2-wire bus system supports operation as a slave-
only device in a single or multislave, and single or multi-
master system. Slave devices can share the bus by
uniquely setting the 7-bit slave address. The 2-wire
interface consists of a serial data line (SDA) and serial
clock line (SCL). SDA and SCL provide bidirectional
communication between the MAX17040/MAX17041
slave device and a master device at speeds up to
400kHz. The MAX17040/MAX17041s’ SDA pin operates
_______________________________________________________________________________________
9
Compact, Low-Cost 1S/2S Fuel Gauges
Bit Transfer
Data Order
One data bit is transferred during each SCL clock
cycle, with the cycle defined by SCL transitioning low to
high and then high to low. The SDA logic level must
remain stable during the high period of the SCL clock
pulse. Any change in SDA when SCL is high is inter-
preted as a START or STOP control signal.
A byte of data consists of 8 bits ordered most signifi-
cant bit (MSb) first. The least significant bit (LSb) of
each byte is followed by the Acknowledge bit. The
MAX17040/MAX17041 registers composed of multibyte
values are ordered MSB first. The MSB of multibyte reg-
isters is stored on even data-memory addresses.
Bus Idle
The bus is defined to be idle, or not busy, when no
master device has control. Both SDA and SCL remain
high when the bus is idle. The STOP condition is the
proper method to return the bus to the idle state.
Slave Address
A bus master initiates communication with a slave
device by issuing a START condition followed by a
Slave Address (SAddr) and the Read/Write (R/W) bit.
When the bus is idle, the MAX17040/MAX17041 contin-
uously monitor for a START condition followed by its
Slave Address. When the MAX17040/MAX17041
receive a Slave Address that matches the value in the
Slave Address Register, it responds with an
Acknowledge bit during the clock period following the
R/W bit. The 7-bit slave address is fixed to 6Ch (write)/
6DH (read):
START and STOP Conditions
The master initiates transactions with a START condi-
tion (S) by forcing a high-to-low transition on SDA while
SCL is high. The master terminates a transaction with a
STOP condition (P), a low-to-high transition on SDA
while SCL is high. A Repeated START condition (Sr)
can be used in place of a STOP then START sequence
to terminate one transaction and begin another without
returning the bus to the idle state. In multimaster sys-
tems, a Repeated START allows the master to retain
control of the bus. The START and STOP conditions are
the only bus activities in which the SDA transitions
when SCL is high.
/MAX7041
MAX17040/MAX17041
0110110
SLAVE ADDRESS
Read/Write Bit
The R/W bit following the slave address determines the
data direction of subsequent bytes in the transfer. R/W
= 0 selects a write transaction, with the following bytes
being written by the master to the slave. R/W = 1
selects a read transaction, with the following bytes
being read from the slave by the master.
Acknowledge Bits
Each byte of a data transfer is acknowledged with an
Acknowledge bit (A) or a No-Acknowledge bit (N). Both
the master and the MAX17040 slave generate acknowl-
edge bits. To generate an acknowledge, the receiving
device must pull SDA low before the rising edge of the
acknowledge-related clock pulse (ninth pulse) and keep
it low until SCL returns low. To generate a no acknowl-
edge (also called NAK), the receiver releases SDA before
the rising edge of the acknowledge-related clock pulse
and leaves SDA high until SCL returns low. Monitoring the
Acknowledge bits allows for detection of unsuccessful
data transfers. An unsuccessful data transfer can occur if
a receiving device is busy or if a system fault has
occurred. In the event of an unsuccessful data transfer,
the bus master should reattempt communication.
Bus Timing
The MAX17040/MAX17041 are compatible with any bus
timing up to 400kHz. No special configuration is
required to operate at any speed.
2-Wire Command Protocols
The command protocols involve several transaction for-
mats. The simplest format consists of the master writing
the START bit, slave address, R/W bit, and then monitor-
ing the Acknowledge bit for presence of the MAX17040/
MAX17041. More complex formats, such as the Write
Data and Read Data, read data and execute device-spe-
cific operations. All bytes in each command format
require the slave or host to return an Acknowledge bit
before continuing with the next byte. Table 5 shows the
key that applies to the transaction formats.
10 ______________________________________________________________________________________
Compact, Low-Cost 1S/2S Fuel Gauges
/MAX7041
Table .ꢀ 2-Wire Protocol Key
KEY
DESCRIPTION
KEY
DESCRIPTION
S
START bit
Sr
W
P
Repeated START
R/W bit = 0
STOP bit
SAddr
MAddr
Data
A
Slave address (7 bit)
Memory address byte
Data byte written by master
Acknowledge bit—master
No acknowledge—master
Data
A
Data byte returned by slave
Acknowledge bit—slave
No acknowledge—slave
N
N
The MSB of the data to be stored at address MAddr
can be written immediately after the MAddr byte is
acknowledged. Because the address is automatically
incremented after the LSB of each byte is received by
the MAX17040/MAX17041, the MSB of the data at
address MAddr + 1 can be written immediately after
the acknowledgment of the data at address MAddr. If
the bus master continues an autoincremented write
transaction beyond address 4Fh, the MAX17040/
MAX17041 ignore the data. A valid write must include
both register bytes. Data is also ignored on writes to
read-only addresses. Incomplete bytes and bytes that
are not acknowledged by the MAX17040/MAX17041
are not written to memory.
Basic Transaction Formats
Write: S. SAddr W. A. MAddr. A. Data0. A. Data1. A. P
A write transaction transfers 2 or more data bytes to the
MAX17040/MAX17041. The data transfer begins at the
memory address supplied in the MAddr byte. Control of
the SDA signal is retained by the master throughout the
transaction, except for the acknowledge cycles:
Read: S. SAddr W. A. MAddr. A. Sr. SAddr R. A. Data0. A. Data1. N. P
Write Portion
Read Portion
A read transaction transfers 2 or more bytes from the
MAX17040/MAX17041. Read transactions are com-
posed of two parts, a write portion followed by a read
portion, and are therefore inherently longer than a write
transaction. The write portion communicates the starting
point for the read operation. The read portion follows
immediately, beginning with a Repeated START, Slave
Address with R/W set to a 1. Control of SDA is assumed
by the MAX17040/MAX17041, beginning with the Slave
Address Acknowledge cycle. Control of the SDA signal
is retained by the MAX17040/MAX17041 throughout the
transaction, except for the acknowledge cycles. The
master indicates the end of a read transaction by
responding to the last byte it requires with a no
acknowledge. This signals the MAX17040/MAX17041
that control of SDA is to remain with the master following
the acknowledge clock.
Read Data Protocol
The read data protocol is used to read to register from
the MAX17040/MAX17041 starting at the memory
address specified by MAddr. Both register bytes must
be read in the same transaction for the register data to
be valid. Data0 represents the data byte in memory
location MAddr, Data1 represents the data from MAddr
+ 1, and DataN represents the last byte read by the
master:
S. SAddr W. A. MAddr. A. Sr. SAddr R. A.
Data0. A. Data1. A... DataN. N. P
Data is returned beginning with the MSB of the data in
MAddr. Because the address is automatically incre-
mented after the LSB of each byte is returned, the MSB
of the data at address MAddr + 1 is available to the
host immediately after the acknowledgment of the data
at address MAddr. If the bus master continues to read
beyond address FFh, the MAX17040/MAX17041 output
data values of FFh. Addresses labeled Reserved in the
memory map return undefined data. The bus master
terminates the read transaction at any byte boundary
by issuing a no acknowledge followed by a STOP or
Repeated START.
Write Data Protocol
The write data protocol is used to write to register to the
MAX17040/MAX17041 starting at memory address
MAddr. Data0 represents the data written to MAddr,
Data1 represents the data written to MAddr + 1, and
DataN represents the last data byte, written to MAddr +
N. The master indicates the end of a write transaction
by sending a STOP or Repeated START after receiving
the last Acknowledge bit:
SAddr W. A. MAddr. A. Data0. A. Data1. A... DataN. A
______________________________________________________________________________________ 11
Compact, Low-Cost 1S/2S Fuel Gauges
Pin Configurations
TOP VIEW
MAX17040
MAX17041
SDA SCL EO SEO
TOP VIEW
BUMP SIDE DOWN
8
7
6
5
1
2
3
+
SDA
SCL
CTG
A
MAX17040
MAX17041
B
EO
N.C.
CELL
GND
+
C
SEO
V
DD
1
2
3
4
CTG CELL
V
GND
DD
UCSP
TDFN
(2mm ×× 3mm)
/MAX7041
Package Information
For the latest package outline information and land patterns (footprints), go to wwwꢀmaxim-icꢀ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 TYPE
PACKAGE CODE
OUTLINE NOꢀ
21-0174
LAND PATTERN NOꢀ
90-0091
8 TDFN
T823+1
Refer to
Application Note 1891
9 UCSP
W91C1+1
21-04.9
12 ______________________________________________________________________________________
Compact, Low-Cost 1S/2S Fuel Gauges
/MAX7041
Revision History
REVISION REVISION
PAGES
DESCRIPTION
CHANGED
NUMBER
DATE
0
7/08
Initial release
—
• Corrected the order of the pins in the Pin Configuration
• Changed the max operating voltage from 5.5V to 4.5V
• Inserted the “CELL Pin Input Impedance” specification into the DC Electrical
Characteristics table
1
10/08
1, 2, 3, 5, 8
• Corrected the order of the pins in the Pin Description table and changed the max
operating voltage for the V pin
DD
• Added the following sentence to the Registers section: “Register reads and writes
are only valid if all 16 bits are transferred”
• Added the following sentence to the Write Data Protocol section: “A valid write
must include both register bytes”
• Added the following sentence to the Read Data Protocol section: “Both register
bytes must be read in the same transaction for the register data to be valid”
6, 11
2
3
3/09
4/10
Exposed pad connection to ground in Figures 5 and 6; corrected errors in
specifications
1, 2, 7, 9, 13
Changed V
information for UCSP package type
pin external register value; added description and ordering
1, 2, 3, 5, 9,
12, 13
CELL
4
5
6
8/10
10/10
8/11
Updated Ordering Information table
1, 2, 5, 12, 13
Corrected time from start up until SOC valid; added text indicating accurate results
require custom configuration for each application
4, 6, 7, 13
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 1±
© 2011 Maxim Integrated Products
Maxim is a registered trademark of Maxim Integrated Products, Inc.
相关型号:
©2020 ICPDF网 联系我们和版权申明