General Description
The MAX1538 selector provides power-source control
for dual-battery systems. The device selects between
an AC adapter and dual batteries based on the pres-
ence of the three power sources and the state of
charge of each battery. The MAX1538 includes analog
comparators to detect AC/airline-adapter presence and
determine battery undervoltage. Fast analog circuitry
allows the device to switch between power sources to
implement a break-before-make time, which allows hot
swapping of battery packs. The MAX1538 indepen-
dently performs power-source monitoring and selec-
tion, freeing the system power-management µP for
other tasks. This simplifies the development of µP
power-management firmware and allows the µP to enter
standby, reducing system power consumption.
The MAX1538 supports “relearn mode,” which allows
the system to measure and fully utilize battery capacity.
In this state, the part allows the selected battery to be
discharged even when an AC adapter is present. The
MAX1538 can also be used to power the system in an
aircraft. On detecting an airline adapter, the MAX1538
automatically disables charging or discharging of bat-
tery packs and only allows the system to be powered
from the adapter.
The MAX1538 is available in a space-saving 28-pin thin
QFN package with a maximum footprint of 5mm x 5mm.
Applications
Notebook and Subnotebook Computers
Internet Tablets
Dual-Battery Portable Equipment
Features
Automatically Detects and Responds to
Low-Battery Voltage Condition
Battery Insertion and Removal
AC-Adapter Presence
Airline-Adapter Presence
Step-Down and Step-Up Charger Compatibility
Fast Break-Before-Make Selection
Allows Hot Swapping of Power Sources
No External Schottky Diodes Needed
50µA Maximum Battery Quiescent Current
Implements Battery Capacity Relearning
Allows Usage of Aircraft Supply
Direct Drive of P-Channel MOSFETs
Simplifies Power-Management µP Firmware
4.75V to 28V AC-Adapter Input Voltage Range
Small 28-Pin Thin QFN Package (5mm x 5mm)
MAX1538
Power-Source Selector for
Dual-Battery Systems
________________________________________________________________ Maxim Integrated Products 1
19-3169; Rev 0; 1/04
For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at
1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com.
MAX1538
REVBLK
DISA
DISB
BATA
BATB
CHGB
CHGA
CHGIN
ADPIN
EXTLD
ADPBLK
AIRDET
ACDET
MINVA
MINVB
VDD
CHRG
BATSEL
RELRN
OUT2
OUT1
OUT0
GND
BATSUP
BATTERY
CHARGER
CHG_OUT
SYSTEM LOAD
ADAPTER
BATTERY B
BATTERY A
PART TEMP RANGE PIN-PACKAGE
MAX1538ETI -40°C to +85°C28 Thin QFN
Ordering Information
Pin Configuration appears at end of data sheet.
Typical Operating Circuit
MAX1538
Power-Source Selector for
Dual-Battery Systems
2_______________________________________________________________________________________
ABSOLUTE MAXIMUM RATINGS
ELECTRICAL CHARACTERISTICS
(VBATA = VBATB = VCHGIN = 16.8V, CVDD= 1µF, VMINVA = VMINVB = 0.93V, VEXTLD = VADPIN = 28V, VCHRG = VBATSEL = VRELRN = 0,
CADPPWR = CREVBLK = CADPBLK = CDISBAT = CDISA = CDISB = CCHGA = CCHGB = 4.7nF, TA = 0°C to +85°C, unless otherwise noted.
Typical values are at TA= +25°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.
VEXTLD, VBATSUP, VADPIN, VBATA, VBATB,
VCHGIN to GND .................................................-0.3V to +30V
VADPPWR to GND...................................-0.3V to (VADPIN + 0.3V)
VREVBLK, VADPBLK to GND ...................-0.3V to (VEXTLD + 0.3V)
VCHGA, VCHGB, VDISBAT to GND ..........-0.3V to (VCHGIN + 0.3V)
VDISA to GND..........................................-0.3V to (VBATA + 0.3V)
VDISB to GND..........................................-0.3V to (VBATB + 0.3V)
VDD, VCHRG, VBATSEL, VRELRN, VOUT0, VOUT1, VOUT2,
VMINVA, VMINVB, VAIRDET, VACDET to GND..........-0.3V to +6V
Continuous Power Dissipation (TA= +70°C)
28-Pin Thin QFN 5mm x 5mm
(derate 20.8mW/°C above +70°C)..........................1666.7mW
Operating Temperature Range
MAX1538ETI ....................................................-40°C to +85°C
Junction Temperature......................................................+150°C
Storage Temperature Range .............................-65°C to +150°C
Lead Temperature (soldering, 10s) .................................+300°C
PARAMETER CONDITIONS
MIN
TYP
MAX
UNITS
ADPIN, EXTLD Supply Voltage
Range
4.75 28.00
V
CHGIN, BATA, BATB and
BATSUP Supply Voltage Range
4.75 19.00
V
VADPIN = highest,
VADPPWR = high 21 50
VADPIN = highest,
VADPPWR = low 23 54
VBATA = highest,
VDISA = high 21 42
VBATA = highest, VDISA = low
24 50
VBATB = highest,
VDISB = high 21 42
VBATB = highest, VDISB = low
24 50
ADPIN, BATA, BATB, BATSUP
Quiescent Current (Current from
the Highest Voltage Supply)
VBATA = 4.75V to 19V,
VBATB = 4.75V to 19V,
VBATSUP = 4.75V to 19V,
VADPIN = 4.75V to 28V,
no external load at VDD
VBATSUP = highest 18 40
µA
VADPPWR = high
0.01
0.5
ADPIN Quiescent Current (ADPIN
Current When Not the Highest
Voltage)
VADPIN = 4.75V to 18V,
no external load at VDD VADPPWR = low 2.6 6 µA
VDISA = high 3.9 6.0
BATA Quiescent Current (BATA
Current When Not the Highest
Voltage)
VBATA = 4.75V to 19V,
no external load at VDD VDISA = low 7.0 12 µA
VDISB = high 3.9 6.0
BATB Quiescent Current (BATB
Current When Not the Highest
Voltage)
VBATB = 4.75V to 19V,
no external load at VDD VDISB = low 7.0 12 µA
Adapter selected (REVBLK or ADPBLK pins low) 3.0 6.1
EXTLD Quiescent Current Adapter not selected (REVBLK and ADPBLK pins high)
0.02
1.0 µA
AC or ai r l i ne state ( C H G A, C H GB, and D IS BAT p i ns hi g h)
0.03
1.5
Charge state (CHGA or CHGB pin low, DISBAT pin high)
3.1 6.2
CHGIN Quiescent Current Discharge or relearn state (CHGA or CHGB pin low,
DISBAT pin low) 6.1
12.1
µA
MAX1538
Power-Source Selector for
Dual-Battery Systems
_______________________________________________________________________________________ 3
ELECTRICAL CHARACTERISTICS (continued)
(VBATA = VBATB = VCHGIN = 16.8V, CVDD= 1µF, VMINVA = VMINVB = 0.93V, VEXTLD = VADPIN = 28V, VCHRG = VBATSEL = VRELRN = 0,
CADPPWR = CREVBLK = CADPBLK = CDISBAT = CDISA = CDISB = CCHGA = CCHGB = 4.7nF, TA = 0°C to +85°C, unless otherwise noted.
Typical values are at TA= +25°C.)
PARAMETER CONDITIONS
MIN TYP MAX
UNITS
LINEAR REGULATOR
VDD Output Voltage IVDD = 0 to 100µA
3.270
3.3
3.330
V
VBATA or VBATB = 5V to 19V, VADPIN = 5V 1.0
VBATA = VBATB = 5V, VADPIN = 5V to 28V 1.0
VDD Power-Supply Rejection
Ratio VBATA, VBATB, or VADPIN = 5V to 19V, sawtooth at
10V/µs, other supplies = 12V 1
mV / V
VDD Undervoltage Lockout Rising edge, relative to regulation point -55 -10 mV
COMPARATORS
ACDET, AIRDET Input Voltage
Range 0 5.5 V
ACDET, AIRDET Input Bias
Current VAIRDET = VACDET = 3V 0.1 1 µA
ACDET, AIRDET Trip Threshold Input falling
1.97
2.0
2.03
V
ACDET, AIRDET Hysteresis 20 mV
MINV_ Operating Voltage Range
0.93 2.60
V
MINV_ Input Bias Current VMINV_ = 0.93V to 2.6V -50
+50
nA
VMINV_ = 0.93V
4.605 4.65 4.695
VMINV_ = 1.5V
7.455
7.5
7.545
BAT_ Minimum Voltage Trip
Threshold VBAT_ falling
VMINV_ = 2.6V
12.93
13
13.07
V
BAT_ Minimum Voltage
Hysteresis
125
mV
BAT_ Pack Removal Detection
Threshold VBAT_ falling
1.90
2.0
2.10
V
BAT_ Pack Removal Hysteresis 85 mV
GATE DRIVERS (Note 1)
VSOURCE = 15V, VPIN = 7.5V 18 60
ADPPWR, REVBLK, ADPBLK,
DISBAT, DISA, DISB, CHGA,
CHGB Source Current (PMOS
Turn-Off) VSOURCE = 15V, VPIN = 13V 3 15
mA
VSOURCE = 15V, VPIN = 15V 20 70
ADPPWR, REVBLK, ADPBLK,
DISBAT, DISA, DISB, CHGA,
CHGB Sink Current (PMOS
Turn-On) VSOURCE = 15V, VPIN = 9.5V 10 55
mA
VSOURCE = 8V to 19V (ADPPWR, REVBLK, and AOPBLK,
VSOURCE = 8V to 28V)
-11.0 -9.0 -7.0
ADPPWR, REVBLK, ADPBLK,
DISBAT, DISA, DISB, CHGA,
CHGB Turn-On Clamp Voltage
(VPIN to VSOURCE)VSOURCE = 4.75V to 8V
-8.00 -3.65
V
MAX1538
Power-Source Selector for
Dual-Battery Systems
4_______________________________________________________________________________________
ELECTRICAL CHARACTERISTICS (continued)
(VBATA = VBATB = VCHGIN = 16.8V, CVDD= 1µF, VMINVA = VMINVB = 0.93V, VEXTLD = VADPIN = 28V, VCHRG = VBATSEL = VRELRN = 0,
CADPPWR = CREVBLK = CADPBLK = CDISBAT = CDISA = CDISB = CCHGA = CCHGB = 4.7nF, TA = 0°C to +85°C, unless otherwise noted.
Typical values are at TA= +25°C.)
PARAMETER
CONDITIONS
MIN
TYP
MAX
UNITS
ADPPWR, REVBLK, ADPBLK,
DISBAT, DISA, DISB, CHGA,
CHGB Turn-On Time
VSOURCE = 15V, VPIN = 13V to VPIN = 9V
0.3
0.88
µs
ADPPWR, REVBLK, ADPBLK,
DISBAT, DISA, DISB, CHGA,
CHGB Turn-Off Time
VSOURCE = 15V, VPIN = 9V to VPIN = 13V
0.3
0.88
µs
STATE SELECTION INPUTS
CHRG, BATSEL, RELRN Input
Low Voltage 0.8 V
CHRG, BATSEL, RELRN Input
High Voltage 2.1 V
CHRG, BATSEL, RELRN Input
Leakage Current VCHRG = VBATSEL = VRELRN = 5.5V 0.1 1 µA
STATE OUTPUTS
VOUT_ = 0.4V 1
OUT0, OUT1, OUT2 Sink Current
VOUT_ = 5.5V 25 mA
OUT0, OUT1, OUT2 Leakage
Current
V
OU T _ = 5.5V
0.1 1 µA
TRANSITION TIMES
MINV_ Comparator Delay tMINV VBAT_ = 5.5V to VBAT_ = 4.45V 5.5 11 µs
AIRDET and ACDET Comparator
Delay tADP Falling edge with -20mV overdrive 2.7 6.0 µs
BAT_ Removal Comparator Delay
Falling edge with -20mV overdrive 10 µs
Battery-Insertion Blanking Time tBBLANK 13 21 31 ms
State-Machine Delay 50 ns
MOSFET Turn-On Delay tTRANS 5 7.5 10 µs
MAX1538
Power-Source Selector for
Dual-Battery Systems
_______________________________________________________________________________________ 5
ELECTRICAL CHARACTERISTICS
(VBATA = VBATB = VCHGIN = 16.8V, CVDD = 1µF, VMINVA = VMINVB = 0.93V, VEXTLD = VADPIN = 28V, VCHRG = VBATSEL = VRELRN = 0,
CADPPWR = CREVBLK = CADPBLK = CDISBAT = CDISA = CDISB = CCHGA = CCHGB = 4.7nF, TA = -40°C to +85°C, unless otherwise noted.)
(Note 2)
PARAMETER CONDITIONS
MIN MAX
UNITS
ADPIN, EXTLD Supply Voltage
Range
4.75 28.00
V
CHGIN, BATA, BATB, and
BATSUP Supply Voltage Range
4.75 19.00
V
VADPIN = highest,
VADPPWR = high 50
VADPIN = highest,
VADPPWR = low 54
VBATA = highest, VDISA = high
42
VBATA = highest, VDISA = low
50
VBATB = highest, VDISB = high
42
VBATB = highest, VDISB = low
50
ADPIN, BATA, BATB, BATSUP
Quiescent Current (Current from
the Highest Voltage Supply)
V
B AT A = 4.75V to 19V ,
V
B AT B = 4.75V to 19V ,
V
B AT S U P
= 4.75V to 19V ,
V
A D P IN
= 4.75V to 28V ,
no exter nal l oad at V
D D
VBATSUP = highest 40
µA
VADPPWR = high 1
ADPIN Quiescent Current (ADPIN
Current When Not the Highest
Voltage)
VADPIN = 4.75V to 18V,
no external load at VDD
VADPPWR = low 9 µA
VDISA = high 7.5
BATA Quiescent Current (BATA
Current When Not the Highest
Voltage)
VBATA = 4.75V to 19V,
no external load at VDD
VDISA = low 16 µA
VDISB = high 7.5
BATB Quiescent Current (BATB
Current When Not the Highest
Voltage)
VBATB = 4.75V to 19V,
no external load at VDD
VDISB = low 16 µA
Adapter selected (REVBLK or ADPBLK pins low) 9.5
EXTLD Quiescent Current Adapter not selected (REVBLK and ADPBLK pins high) 1.0 µA
AC or ai r l i ne state ( C H G A, C H GB, and D IS BAT p i ns hi g h) 1.5
Charge state (CHGA or CHGB pin low, DISBAT pin high)
10
CHGIN Quiescent Current Discharge or relearn state (CHGA or CHGB pin low,
DISBAT pin low)
18.5
µA
LINEAR REGULATOR
VDD Output Voltage IVDD = 0 to 100µA
3.270 3.330
V
VDD Undervoltage Lockout Rising edge, relative to regulation point -60 -10 mV
COMPARATORS
ACDET, AIRDET Input Voltage
Range 0 5.5 V
ACDET, AIRDET Trip Threshold Input falling
1.94 2.06
V
MINV_ Operating Voltage Range
0.93 2.60
V
VMINV_ = 0.93V
4.59 4.72
VMINV_ = 1.5V 7.4 7.6
BAT_ Minimum Voltage Trip
Threshold VBAT_ falling
VMINV_ = 2.6V
12.86 13.14
V
MAX1538
Power-Source Selector for
Dual-Battery Systems
6_______________________________________________________________________________________
PARAMETER
SYMBOL
CONDITIONS
MIN MAX
UNITS
BAT_ Pack Removal Detection
Threshold VBAT_ falling
1.88 2.12
V
GATE DRIVERS (Note 1)
VSOURCE = 15V, VPIN = 7.5V 18
ADPPWR, REVBLK, ADPBLK,
DISBAT, DISA, DISB, CHGA,
CHGB Source Current (PMOS
Turn-Off) VSOURCE = 15V, VPIN = 13V 3
mA
VSOURCE = 15V, VPIN = 15V 20
ADPPWR, REVBLK, ADPBLK,
DISBAT, DISA, DISB, CHGA,
CHGB Sink Current (PMOS
Turn-On) VSOURCE = 15V, VPIN = 9.5V 10
mA
V
S OU RC E
= 8V to 19V ( AD P P W R, RE V BLK,
and AD P BLK, V
S OU RC E
= 8V to 28V )
-11.7 -6.5
ADPPWR, REVBLK, ADPBLK,
DISBAT, DISA, DISB, CHGA,
CHGB Turn-On Clamp Voltage
(VPIN to VSOURCE)VSOURCE = 4.75V to 8V
-8.00 -3.50
V
ADPPWR, REVBLK, ADPBLK,
DISBAT, DISA, DISB, CHGA,
CHGB Turn-On Time
VSOURCE = 15V, VPIN = 13V to VPIN = 9V 0.88
µs
ADPPWR, REVBLK, ADPBLK,
DISBAT, DISA, DISB, CHGA,
CHGB Turn-Off Time
VSOURCE = 15V, VPIN = 9V to VPIN = 13V 0.88
µs
STATE SELECTION INPUTS
CHRG, BATSEL, RELRN Input
Low Voltage 0.8 V
CHRG, BATSEL, RELRN Input
High Voltage 2.1 V
STATE OUTPUTS
V
OU T _ = 0.4V
1
OUT0, OUT1, OUT2 Sink Current V
OU T _ = 5.5V
25 mA
TRANSITION TIMES
MINV_ Comparator Delay tMINV VBAT_ = 5.5V to VBAT_ = 4.45V 11 µs
AIRDET and ACDET Comparator
Delay tADP Falling edge with -20mV overdrive 6 µs
Battery-Insertion Blanking Time tBBLANK 12 31 ms
MOSFET Turn-On Delay tTRANS 510µs
Note 1: VPIN refers to the voltage of the driver output. VSOURCE refers to the power source for the driver. ADPPWR, REVBLK, ADP-
BLK, DISBAT, DISA, DISB, CHGA, and CHGB gate drivers correspond to sources at ADPIN, EXTLD, EXTLD, CHGIN, BATA,
BATB, CHGIN, and CHGIN, respectively.
Note 2: Guaranteed by design. Not production tested.
ELECTRICAL CHARACTERISTICS (continued)
(VBATA = VBATB = VCHGIN = 16.8V, CVDD = 1µF, VMINVA = VMINVB = 0.93V, VEXTLD = VADPIN = 28V, VCHRG = VBATSEL = VRELRN = 0,
CADPPWR = CREVBLK = CADPBLK = CDISBAT = CDISA = CDISB = CCHGA = CCHGB = 4.7nF, TA = -40°C to +85°C, unless otherwise noted.)
(Note 2)
MAX1538
Power-Source Selector for
Dual-Battery Systems
_______________________________________________________________________________________ 7
VDD LOAD REGULATION
MAX1538 toc01
VDD LOAD CURRENT (mA)
VDD (V)
0.150.100.05
3.291
3.292
3.293
3.294
3.295
3.296
3.297
3.298
3.299
3.290
00.20
VDD vs. TEMPERATURE
MAX1538 toc02
TEMPERATURE (°C)
VDD (V)
6040200-20
3.290
3.295
3.300
3.305
3.310
3.285
-40 80
IBAT_ vs. VBAT_
MAX1538 toc04
BATTERY VOLTAGE (V)
BATTERY INPUT CURRENT (µA)
15105
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
0
020
BAT_ NOT HIGHEST SUPPLY
IBAT_ vs. VBAT_
MAX1538 toc03
BATTERY VOLTAGE (V)
BATTERY INPUT CURRENT (µA)
14121086
5
10
15
20
25
30
35
0
416
BAT_ HIGHEST SUPPLY
Typical Operating Characteristics
(Circuit of Figure 1. TA = +25°C, unless otherwise noted.)
ADAPTER INSERTION
MAX1538 toc05
10.0µs/div
20V
10V
VADPIN AND
VEXTLD
VADPBLK
VREVBLK
VOUT1
0V
20V
10V
0V
5V
0V
VADPIN
VEXTLD
VREVBLK
VADPBLK
tADP
MAX1538
Power-Source Selector for
Dual-Battery Systems
8_______________________________________________________________________________________
Typical Operating Characteristics (continued)
(Circuit of Figure 1. TA = +25°C, unless otherwise noted.)
SOURCE SELECTION CHANGE
MAX1538 toc10
2.00µs/div
0V
10V
0V
5V
VDISB
(10V/div)
VDISA
(10V/div)
VBATB
AC-COUPLED
(5V/div)
VBATSEL
VOUT0
10V
20V
10V
tTRANS
INDUCTIVE KICK
NO CAPACITOR
AT BATB
BATTERY INSERTION
MAX1538 toc06
5.00ms/div
10V
0V
VDISB
(10V/div)
VOUT0
(10V/div)
VDISA
VBATA
VEXTLD
0V
10V
10V
0V
20V
10V
SYSTEM LOAD = 3A
VBATB = 16.8V VBATA = 10V
A
B
A:
CONTACT BOUNCE
B: BATTERY INSERTION BLANKING TIME = 22ms
BATTERY REMOVAL TIMING
MAX1538 toc08
4.00µs/div
10V
10.2V
9.8V
VOUT0
(10V/div)
VDISB
VDISA
VEXTLD
9.6V
10V
0V
10V
0V
0V
5 x MINV
tMINV
(tADP FOR
ADAPTER
REMOVAL
TIMING)
tTRANS
VBATA = 16.8V
BATTERY B
REMOVED
SYSTEM LOAD = 3A
SOURCE SELECTION CHANGE
MAX1538 toc09
2.00µs/div
0V
10V
0V
5V
VDISB
(10V/div)
VDISA
(10V/div)
VBATB
AC-COUPLED
(5V/div)
VBATSEL
VOUT0
10V
20V
10V
tTRANS
INDUCTIVE KICK
CBATB = 1µF
SYSTEM LOAD = 3A
BATTERY REMOVAL
MAX1538 toc07
5.00ms/div
10V
0V
VDISB
(10V/div)
VOUT0
(10V/div)
VDISA
VBATA
VEXTLD
0V
10V
10V
0V
20V
10V
CONTACT BOUNCE
VBATB = 16.8V
VBATA = 10V
MAX1538
Power-Source Selector for
Dual-Battery Systems
_______________________________________________________________________________________ 9
PIN NAME FUNCTION
1
MINVA
Minimum Battery A Voltage Set Point. Battery A discharge is prevented if VBATA has fallen below 5 x
VMINVA.
2
MINVB
Minimum Battery B Voltage Set Point. Battery B discharge is prevented if VBATB has fallen below 5 x
VMINVB.
3
BATSEL
Battery-Selection Input. Drive to logic low to charge battery A or give discharge preference to battery A.
Drive to logic high to charge battery B or give discharge preference to battery B.
4
RELRN
Battery-Relearn Logic-Level Input. Drive RELRN high to enable battery-relearn mode.
5CHRG Charge-Enable Logic-Level Input. Drive CHRG high to enable the charging path from the charger to the
battery selected by BATSEL.
6OUT0
7OUT1
8OUT2
Selector-State Output. This open-drain output indicates the state of the MAX1538. See Table 1 for
information on decoding.
9
ACDET
AC-Adapter Detection Input. When VACDET is greater than the ACDET trip threshold (2V typ), adapter
presence is detected.
10
AIRDET
Airline-Adapter Detection Input. When VAIRDET > 2V and VACDET < 2V, the airline-adapter presence is
detected. Charging is disabled when an airline adapter is detected.
11
ADPIN
Adapter Input. When VADPIN > VBATSUP, the MAX1538 is powered by ADPIN. ADPIN is the supply rail for
the ADPPWR MOSFET driver.
12
ADPPWR
Adapter-Power P-Channel MOSFET Driver. Connect ADPPWR to the gate of P1 (Figure 1). P1 disconnects
the adapter from the system during relearn mode. Exclude P1 and leave ADPPWR disconnected if relearn
is not used. ADPPWR is driven relative to ADPIN. ADPPWR and REVBLK are driven with the same control
signal.
13
REVBLK
Gate Drive for the Reverse-Blocking P-Channel MOSFET. Connect REVBLK to the gate of P2 (Figure 1). P2
enables and disables the AC adapter’s power path. REVBLK is driven relative to EXTLD. REVBLK and
ADPPWR are driven with the same control signal.
BREAK-BEFORE-MAKE TIMING
MAX1538 toc11
1.00µs/div
14V
16V
MOSFET
DRIVERS
12V
10V
8V
tTRANS
MOSFET
TURN-OFF
TIME MOSFET
TURN-ON
TIME
MOSFET FOR INITIAL
DISCHARGE PATH
MOSFET FOR FINAL
DISCHARGE PATH
FIRST SOURCE INSERTION
MAX1538 toc12
200µs/div
0V
0V
0V
5V
VADPIN
VREVBLK
VEXTLD
OUT1
OUT2, OUT0
10V
20V
20V
10V
POWER-UP TIME
Typical Operating Characteristics (continued)
(Circuit of Figure 1. TA = +25°C, unless otherwise noted.)
Pin Description
MAX1538
Power-Source Selector for
Dual-Battery Systems
10 ______________________________________________________________________________________
PIN NAME FUNCTION
14
ADPBLK
Gate Drive for the Adapter-Blocking P-Channel MOSFET. Connect ADPBLK to the gate of P3 (Figure 1). P3
enables and disables the battery discharge path. ADPBLK is driven relative to EXTLD. ADPBLK and
DISBAT are driven with the same control signal.
15, 21 N.C. Not Internally Connected
16
EXTLD
External Load. EXTLD is the supply rail for REVBLK and ADPBLK.
17
CHGIN
Charger Node Input. CHGIN is the supply rail for DISBAT, CHGA, and CHGB.
18
DISBAT
Gate Drive for the Battery-Discharge P-Channel MOSFET. Connect DISBAT to the gate of P4 (Figure 2). P4
disconnects the battery from the system load when charging from a step-up converter. Exclude P4 and
leave DISBAT disconnected if using a step-down charger. DISBAT is driven relative to CHGIN. DISBAT and
ADPBLK are driven by the same control signal.
19 CHGA
Gate Drive for the Charge Battery A P-Channel MOSFET. Connect CHGA to the gate of P6 (Figure 1). P6
enables and disables the charge path into battery A. CHGA is driven relative to CHGIN. CHGA and DISA
are driven by the same control signal.
20 CHGB
Gate Drive for the Charge Battery B P-Channel MOSFET. Connect CHGB to the gate of P7 (Figure 1). P7
enables and disables the charge path into battery B. CHGB is driven relative to CHGIN. CHGB and DISB
are driven by the same control signal.
22 BATB Battery B Voltage Input. Battery undervoltage and absence is determined by measuring BATB. BATB is the
supply rail for DISB.
23 DISB
Gate Drive for the Discharge from Battery B P-Channel MOSFET. Connect DISB to the gate of P8 (Figure 1).
P8 enables and disables the discharge path from battery B. DISB is driven relative to BATB. DISB and
CHGB are driven by the same control signal.
24 DISA
Gate Drive for the Discharge from Battery A P-Channel MOSFET. Connect DISA to the gate of P5 (Figure 1).
P5 enables and disables the discharge path from battery A. DISA is driven relative to BATA. DISA and
CHGA are driven by the same control signal.
25 BATA Battery A Voltage Input. Battery undervoltage and absence is determined by measuring BATA. BATA is the
supply rail for DISA.
26
BATSUP
BATSUP powers the MAX1538. Diode OR BATA and BATB to BATSUP externally. ADPIN is diode
connected to BATSUP internally. Bypass with a 0.1µF capacitor from BATSUP to GND.
27 GND Ground
28 VDD Linear-Regulator Output. Bypass with a 1µF capacitor from VDD to GND.
Pin Description (continued)
MAX1538
Power-Source Selector for
Dual-Battery Systems
______________________________________________________________________________________ 11
MAX1538
REVBLK
DISA
DISB
BATA
BATB
CHGB
CHGA
CHGIN
ADPIN
EXTLD
ADPBLK
BATTERY A
BATTERY B
AIRDET
ACDET
MINVA
MINVB
VDD
CHRG
BATSEL
RELRN
OUT2
OUT1
OUT0
GNDBATSUP
ADAPTER
ADPPWR
R1 R2 R3
P1
IN
P2
P3
P5
P6P7
P8
STEP-DOWN CHARGER
CSYS
CCHG
C2
FOR RELEARN
MODE ONLY
CBATB
CBATA
D1 D2
R10
R11
R12
R13
C1
0.1µF
LOGIC SUPPLY
RSNS
SYSTEM LOAD
CHARGER OUTPUT
CADAPTER
C3
0.1µF
CHARGER INPUT
OUT
Figure 1. Step-Down Typical Application Circuit
MAX1538
Power-Source Selector for
Dual-Battery Systems
12 ______________________________________________________________________________________
MAX1538
REVBLK
DISA
DISB
BATB
CHGB
CHGA
CHGIN
ADPIN
DISBAT
BATTERY A
BATTERY B
AIRDET
ACDET
OUT
MINVA
MINVB
GND
VDD
CHRG
BATSEL
RELRN
OUT2
OUT1
OUT0
BATA BATSUP
ADAPTER
ADPPWR
R1 R2 + R3
P1
IN
P2
P4
P5
P6P7
P8
STEP-UP CHARGER
CSYS
C2
FOR RELEARN
MODE ONLY
CBATB
CBATA
D1
D2
R10
R11
R12
R13
C1
1µF
LOGIC SUPPLY
CHARGER OUTPUT
CADAPTER
C3
0.1µF
CHARGER INPUT
CCHG
EXTLD
ADPBLK
P3
EXTERNAL AC/AIR-
DETECTION CIRCUIT
OUT
SYSTEM LOAD
Figure 2. Typical Application Circuit for Step-Up/Step-Down Charger
MAX1538
Power-Source Selector for
Dual-Battery Systems
______________________________________________________________________________________ 13
ACDET
AIRDET
VDD
GND
ADPIN
LDO
REF
BATSUP
2V
MINVA
BATA
R
4R
0.4V
MINVB
BATB
R
4R
0.4V
BATSEL
RELRN
CHRG
ADPIN
ADPPWR
EXTLD
REVBLK
CHGIN
DISBAT
ADPBLK
CHGA
CHGB
BATA
DISA
BATB
DISB
OUT1
OUT2
OUT0
STATE
MACHINE
R
SQ
BATTERY B
UNDERVOLTAGE
LATCH
MAX1538
NNN
Q
R
SQ
BATTERY A
UNDERVOLTAGE
LATCH
Q
Figure 3. Functional Diagram
Power-Source Selector for
Dual-Battery Systems
14 ______________________________________________________________________________________
Detailed Description
The MAX1538 performs power path selection between
an adapter input and two batteries, relieving the host
system from the burden of real-time response to power-
source changes. The integrated selector implements a
fixed break-before-make timer to ensure that power
sources are not connected together and yet the load is
not left unserviced. The MAX1538 monitors battery and
adapter state and presence to determine which source
to select and whether to charge the battery. Logic
inputs CHRG, BATSEL, and RELRN allow the host to
enable/disable charging, select which battery to use,
and impose battery discharge even with adapter pres-
ence. The MAX1538 automatically detects airline
adapters and prevents charging when an airline
adapter is detected. Open-drain logic outputs OUT2,
OUT1, and OUT0 indicate the state of the selector so
the host can properly respond.
The MAX1538 can be configured for use with a step-
down battery charger, as shown in Figure 1, or with a
step-up/step-down battery charger, as shown in Figure
2. The minimum MAX1538 system requires only six
MOSFETs. The MAX1538 provides relearn-mode sup-
port with the addition of P1. Relearn mode allows the
system to relearn the battery’s capacity without user
intervention.
Table 1 summarizes the possible states and configura-
tions of the MAX1538.
SOURCE STATE
LOGIC INPUTS
MOSFET STATE (See Figure 4)
Battery
Adapter
A
B
CHG
RELRN
BATSEL
System
(ADPPWR
and REVBLK)
Battery
(ADPBLK
and DISBAT)
BATT A
(CHGA and
DISA)
BATT B
(CHGB and
DISB)
OUT2
OUT1
OUT0
STATE
AC
X
X
10
0On Off On Off
110
Charge A
AC
X
X
10
1On Off Off On
111
Charge B
AC
N
X
X1
0Off On On Off
100
Relearn A
AC
XNX1
1Off On Off On
101
Relearn B
AC Otherwise On Off Off Off
010
AC adapter
AIR
X
X
XX X
On Off Off Off
011
Airline
Absent
N
X
XX
0
Absent
NUXX X
Off On On Off
000Discharge A
Absent
XNXX
1
Absent
UNXX X
Off On Off On
001Discharge B
Absent
UUXX X
Off Off Off Off
000
Idle
Legend
AC AC adapter is present. VACDET and VAIRDET are both above 2V.
AIR Airline adapter is present. VACDET is below 2V and VAIRDET is above 2V.
Absent
External adapter is absent. VACDET and VAIRDET are both below 2V.
N
N indicates the battery is normal. The battery is normal when it has not tripped the undervoltage latch (5 x
VMINV_). See the Battery Presence and Undervoltage Detection section.
U
U indicates the battery has tripped the undervoltage comparator. An undervoltage battery is detected
when VBAT_ goes below 5 x VMINV_. See the Battery Presence and Undervoltage Detection section.
Otherwise Otherwise covers all cases not explicitly shown elsewhere in the table.
X
X
XX X
X indicates don’t care. The output does not depend on any inputs labeled X.
Table 1. MAX1538 State Table
MAX1538
MAX1538
Power-Source Selector for
Dual-Battery Systems
______________________________________________________________________________________ 15
Battery Presence and
Undervoltage Detection
The MAX1538 determines battery absence and under-
voltage and does not allow discharge from an under-
voltage battery. A battery is considered undervoltage
when VBAT_ < 5 x VMINV_, and remains classified as
undervoltage until VBAT_ falls below 2V and again rises
above 5 x VMINV. The undervoltage latch is also
cleared when the charge path is enabled. Set the bat-
tery undervoltage threshold using resistive voltage-
dividers R10, R11, R12, and R13, as shown in Figure 1.
The corresponding undervoltage threshold is:
To minimize error, use 1% or better accuracy divider
resistors, and ensure that the impedance of the divider
results in a current about 100 times the MINV_ input
bias current at the MINV_ threshold voltage. To opti-
mize error due to 50nA input bias current at MINV_ and
minimize current consumption, typically choose resis-
tors (R10 + R11) or (R12 + R13) smaller than 600k.
Since batteries often exhibit large changes in their ter-
minal voltage when a load current is removed, further
discharge after the undervoltage latch has been set is
not allowed until the battery is removed or the charge
path to the battery is selected. Battery removal is
detected when VBAT_ falls below 2V. For correct detec-
tion of battery removal, ensure that the leakage current
into BAT_ is lower than the leakage current out of BAT_
so that BAT_ falls below 2V when the battery is
removed. The contributors to leakage current into BAT_
are D1, D2, P6, and P7.
Battery Relearn Mode
The MAX1538 implements a battery relearn mode,
which allows for host-device manufacturers to imple-
ment a mode for coulomb-counting fuel gauges (such
as the MAX1781) to measure battery capacity without
user intervention. In battery relearn mode, the AC
adapter is switched off and battery discharge is select-
ed. In this implementation, the host system could
prompt users when their battery capacity becomes
inaccurate, use the host system as a load to discharge
the battery, and then recharge the battery fully.
Coulomb-counting fuel-gauge accuracy is increased
after a relearning cycle.
Battery relearn mode requires the addition of MOSFET
P1, which blocks current from the adapter to the sys-
tem. To enable relearn mode, drive RELRN high and
drive BATSEL low to relearn battery A or high to relearn
battery B. Relearn mode overrides the functionality of
the CHG pin. Battery relearn mode does not occur
when the selected battery’s undervoltage latch has
been set, or when the selector is in airline mode (see
the Airline Mode and AC Adapter section.) The RELRN
pin only applies when an AC adapter is present. If the
AC adapter is absent and RELRN is ignored, OUT[2:1]
= 10 when the MAX1538 is in battery relearn mode. If
CHG = 0, only OUT2 is needed to indicate that the
MAX1538 was properly placed in relearn mode.
If the selected battery trips the undervoltage latch when
in relearn mode, the AC adapter is switched in without
causing a crash to the system. OUT2 can indicate that
the relearn cycle is terminated due to battery undervolt-
age. Typically, after the host system performs a battery
relearn cycle, it either charges the discharged battery
or begins a relearn cycle on the other battery. To switch
to charge mode, drive RELRN low and CHG high.
Since RELRN overrides CHG, in many applications it is
best to permanently keep CHG high and reduce the IO
needed to control the selector.
When the AC adapter is available, it is used as the
power source for EXTLD unless the RELRN pin is high.
In this state, the charger can be enabled and a
battery charged.
VV
R
RR
VV
R
RR
BATA Undervoltage DD
BATB Undervoltage DD
_
_
× +
× +
511
10 11
513
12 13
ADAPTER
ADAPTER
SWITCH
SYSTEM
BATTERY
SWITCH
CHARGER
"A"
SWITCH
"B"
SWITCH
BATTERY A
BATTERY B
ADAPTER
ADAPTER
SWITCH
SYSTEM
BATTERY
SWITCH
CHARGER
"A"
SWITCH
"B"
SWITCH
BATTERY A
BATTERY B
ADAPTER
ADAPTER
SWITCH
SYSTEM
BATTERY
SWITCH
CHARGER
"A"
SWITCH
"B"
SWITCH
BATTERY A
BATTERY B
CHARGE DISCHARGE/
RELEARN AC/AIR
Figure 4. MAX1538 Selection States
MAX1538
Power-Source Selector for
Dual-Battery Systems
16 ______________________________________________________________________________________
Airline Mode and AC Adapter
The MAX1538 provides compatibility with airline
adapters. For airplane safety, the use of an airline
adapter requires that the battery charger or charge
path is disabled. The MAX1538 disables the charge
path when an airline adapter is detected. In airline
mode, ADPPWR and REVBLK drive P1 and P2 on, and
all other MOSFETs are off, regardless of the state of
RELRN, CHG, BATSEL, or the batteries. If the AC
threshold is above the airline threshold, select a resis-
tive voltage-divider (as shown in Figure 1) according to
the following equations:
where VACDET_Threshold and VAIRDET_Threshold are typ-
ically 2.0V (see the Electrical Characteristics). An AC
adapter is detected when the adapter voltage is above
VAC_Threshold, and an airline adapter is detected when
the adapter voltage is between VAC_Threshold and
VAIR_Threshold.
To minimize error, use 1% accuracy or better divider
resistors, and ensure that the impedance of the divider
results in a current about 100 times the ACDET and
AIRDET input bias current. To optimize error due to 1µA
input bias current at ACDET/AIRDET and minimize cur-
rent consumption, typically choose R3 less than 20k.
See the Adapter Removal Debouncing section for more
information regarding R1, R2, and R3. Short R2 to dis-
able airline-adapter mode.
Optionally, an external circuit can be implemented to
determine the presence of an AC/airline adapter. The
circuit in Figure 5 provides fast detection of an airline
adapter, yet allows external circuitry to discriminate
between airline and AC adapters. If VAC_Threshold <
VAIR_Threshold, this circuit must be used for airline-
adapter detection. Other permutations that directly
drive AIRDET instead do not work properly on the
MAX1538 because adapter removal is not detected
fast enough, causing the system load to crash.
OUT[2:0] = 011 if the MAX1538 is in airline-adapter
mode. If RELRN = 0 and CHG = 0, only OUT[1:0] are
necessary to indicate airline-adapter mode.
VV RR R
R
VV RR R
RR
AC Threshold ACDET Threshold
Air Threshold AIRDET Threshold
__
__
++
++
+
12 3
3
12 3
23
MAX1538
EXTERNAL AC/AIRLINE
DETECTION CIRCUIT
REVBLK
ADPIN
EXTLD
AIRDET
ACDET
ADAPTER
ADPPWR
R1 R2 + R3
P1
P2
OUT
ACDET
ADPIN
ADAPTER INSERTION
ACDET
ADPIN
ADAPTER REMOVAL
ACDET MUST WAIT
ACDET MAY OCCUR
BEFORE OR AFTER ADPIN
FOR AC ADAPTER
FOR AIRLINE ADAPTER
FOR AC ADAPTER
FOR AIRLINE ADAPTER
Figure 5. Using an External Adapter Detection Circuit
MAX1538
Power-Source Selector for
Dual-Battery Systems
______________________________________________________________________________________ 17
CHG Control
Toggle CHG to enable the charge path to the battery.
Charge control is overridden by RELRN (see the Battery
Relearn Mode section) or airline mode (see the Airline
Mode and AC Adapter section). When CHG is enabled,
the MAX1538 connects the selected battery (BATSEL = 0
for battery A and BATSEL = 1 for battery B) to the charg-
er. OUT[2:1] = 11 if the MAX1538 is in charge mode.
When the charge path is enabled, the corresponding
battery undervoltage latch is cleared. This allows charg-
ing of protected battery packs. In typical applications,
connect CHRG to VDD to reduce the system I/O.
Single Transition Break-Before-Make
Selection
The MAX1538 guarantees that no supplies are connect-
ed to each other during any transition by implementing
a fixed delay time (tTRANS, the break-before-make tran-
sition timer). This is necessary as the batteries have very
low impedances, and momentarily shorting batteries
together can cause hundreds of amps to flow. For
example, when adapter removal is detected, ADPPWR
and REVBLK begin to turn off less than 10µs before
ADPBLK and DISBAT begin to turn on, connecting the
appropriate battery. For example, upon switching from
one battery to another, DISA and CHGA begin turning
off less than 10µs before DISB and CHGB begin to turn
on. To guarantee a break-before-make time, ensure that
the turn-off time of the MOSFETs is smaller than tTRANS
(see the MOSFET Selection section).
The MAX1538 also guarantees that any change does
not cause unnecessary power-source transitions. When
switching from battery to battery; battery to adapter; or
adapter to battery because of adapter or battery inser-
tion or removal, or due to a change at BATSEL, a single
set of MOSFETs are turned off followed by another set
of MOSFETs turned on. No additional transitions are
necessary. The only exception occurs when RELRN is
high and the adapter is inserted because it is first
detected as an airline adapter and later detected as an
AC adapter. This results in a transition from discharge
mode to AC mode, followed by a transition from AC
mode to relearn mode. Although this extra transition is
generally harmless, it can be avoided by disabling
relearn mode when the adapter is absent.
Blanking
The MAX1538 implements sophisticated blanking at the
adapter and the batteries to correctly determine bat-
tery/adapter insertion and removal. Logic inputs CHRG,
RELRN, and BATSEL should be debounced to ensure
that fast repetitive transitions do not occur, in which
case the system holdup capacitor is not large enough
to sustain the system load.
Battery insertion is automatically debounced using the
battery-insertion blanking time (tBBLANK). A battery is
not discharged unless the battery has been above the
5 x VMINV threshold for 21ms (typ). After tBBLANK is
expired, VBAT_ must exceed 5 x VMINV_ or the battery
is detected as undervoltage.
Applications Information
MOSFET Selection
Select P-channel MOSFETs P1–P8 according to their
power dissipation, RDSON, and gate charge. Each
MOSFET must be rated for the full system load current.
Additionally, the battery discharge MOSFETs (P3, P5,
P6, P7, and P8) should be selected with low on-resis-
tance for high discharge efficiency. Since for any given
switch configuration at least half of the MOSFETs are
off, dual MOSFETs can be used without reducing the
effective MOSFET power dissipation. When using dual
MAX1538
DISA
BATA
DISB
CHGB
CHGA
CHGIN
ADPIN
ADPBLK
BATTERY A
BATTERY B
ADPPWR
P1
P2
P5
P6P7
P8
REVBLK
EXTLD
P3
SYSTEM LOAD
FOR RELEARN
MODE ONLY
DUAL
FDS4935A
DUAL
FDS4935A
DUAL
FDS4935A
STEP-DOWN
BATTERY CHARGER
IN
OUT
BATB
ADAPTER
Figure 6. Optimal Use of Power Dissipation Using Dual
MOSFETs
MAX1538
Power-Source Selector for
Dual-Battery Systems
18 ______________________________________________________________________________________
MOSFETs, they should be paired as shown in Figure 6
for optimal power dissipation.
The MAX1538 provides asymmetric MOSFET gate
drive, typically turning MOSFETs on faster than they are
turned off. The tTRANS timer ensures that the MOSFETs
that are turning on begin to turn on 10µs after those
MOSFETs that are turning off begin to turn off. Choose
MOSFETs with low enough gate charge that all off-tran-
sitioning MOSFETs turn off before any on-transitioning
MOSFET turns on. Use the following equations to esti-
mate the worst-case turn-on and turn-off times:
where tON is the turn-on time, tOFF is the turn-off time,
QGis the MOSFET’s total gate charge specified at volt-
age VG, IOFF1 is the 18mA (min) gate current when dri-
ving the gate from 7.5V gate drive to 2V gate drive, V1
is the voltage change during the 18mA gate drive
(5.5V), IOFF2 is 3mA gate current when driving the gate
from 2V to 0V, V2is the 2V change, and ION is the
turn-on current.
The MAX1538’s gate-drive current is nonlinear and is a
function of gate voltage. For example, the gate driver
slows down as the MOSFET approaches off. See the
Typical Operating Characteristics for a scope shot
showing MAX1538 turn-on and turn-off times when dri-
ving FDS6679 MOSFETs. The MAX1538 typically turns
the FDS6679 on in 0.7µs and off in 1µs.
Combining the MAX1538 with a Charger
To configure the MAX1538 for use with a step-down
charger, use the circuit of Figure 7. Connect the charg-
er’s power input to EXTLD. Do not connect the charg-
er’s power input to ADPIN. This ensures that the
charger does not bias ADPIN through its high-side
MOSFET.
System Holdup Capacitor
CSYS must be capable of sustaining the maximum sys-
tem load during the transition time between source
selection. Size the capacitor so that:
where tMINV is the battery undervoltage comparator
delay, tTRANS is the fixed time between switching
MOSFETs off and switching MOSFETs on, tON is the
time to turn a MOSFET on (see the MOSFET Selection
section), VMINV is the lower of VMINVA and VMINVB,
ISYS_MAX is the maximum system load, VSYS_MIN is the
minimum allowable system voltage before system
5×++
()
×
>
Vtt t
I
CV
MINV MINV TRANS ON
SYS MAX
SYS SYS MIN
__
tQ
V
V
I
V
I
Q
Vk
tQ
V
V
I
Q
Vk
ON G
GOFF OFF
G
G
ON G
GON
G
G
=+
1
1
2
2093
5025
.
.
MAX1538
MAX1908
MAX1909 OR
MAX1535 REVBLK
CHGIN
ADPIN
DCIN
P2
CSYS C2
EXTLD
ADPBLK
P3
SYSTEM LOAD CSSP
CSSN
1µF
BATT
ADAPTER
CADAPTER
Figure 7. Combining the MAX1538 with a Charger
MAX1538
Power-Source Selector for
Dual-Battery Systems
______________________________________________________________________________________ 19
crash, and CSYS is the total system holdup capaci-
tance, which does not need to be near the MAX1538.
The timing related to the system holdup capacitance is
shown in Figure 8.
Charger output capacitance contributes to CSYS for the
step-down charger topology (Figure 1), but not for the
step-up/step-down charger topology (Figure 2).
Leakage Current into BAT_
Leakage current into BATA or BATB can interfere with
proper battery-removal detection. D1 and D2 must be
low leakage to ensure that battery removal is properly
detected. Choose MOSFETs P6 and P7 with low off-
leakage current. Board leakage current can also be a
problem. For example, neighbor pins BATA and
BATSUP should have greater than 50Mimpedance
between each other. Proper battery-removal detection
requires that:
where IBoard is board leakage current, IDS_OFF is the
off-leakage current of MOSFETs P6 and P7, ID_Leakage
is the reverse leakage current of the diodes, and
IBAT_Sink@2V is the BAT_ leakage current at 2V (0.4µA;
see the Typical Operating Characteristics).
Inductive “Kick”
When the adapter or a battery is delivering a significant
current to the system and that path is disabled (typical-
ly to enable another path), a voltage spike is generated
at the source. This is due to a parasitic inductance
shown in Figure 9. When the adapter is disconnected, a
positive voltage spike occurs at ADPIN. When a dis-
charging battery is disconnected, a positive voltage
spike occurs at BAT_. Connect a capacitor from BAT_
or ADPIN to GND to limit this inductive kick. Choose the
source capacitance according to the following equation:
where VSOURCE is the maximum DC voltage of the
source in question, ISYS_MAX is the maximum system
load, and LSOURCE (parasitic inductance) and
CSOURCE are shown in Figure 9.
During battery charge, the voltage spike during battery
disconnect is negative. To ensure that this negative
voltage spike does not go below 0V, choose CBAT_
according to the following equation:
CLI
V
BAT BAT CHG MAX
BAT MIN
___
__
>×2
2
CLI
V
SOURCE SOURCE SYS MAX
SOURCE
_
>×
2
22
30
II I I
II
Board DS OFF P DS OFF P D leakage
D leakage BAT Sink V
++++
<
_() _() _
__@
671
22
ADPBLK/REVBLK
REVBLK/ADPBLK
tOFF
tTRANS
tON
VSYS_MIN
OTHER POWER SOURCE
EXTLD
5 x VMINV OR AC/AIR THRESHOLD
tMINV OR tADP
Figure 8. System Holdup Capacitor Timing
TO BATTERY
OR ADAPTER
PARASITIC
INDUCTANCE
(LSOURCE)
ISOURCE
CSOURCE
MAX1538
Figure 9. Inductive Kick Upon Source Disconnect
MAX1538
Power-Source Selector for
Dual-Battery Systems
20 ______________________________________________________________________________________
where VBAT__MIN is the minimum battery voltage,
ICHG_MAX is the maximum charge current, and LBAT_ is
the battery’s inductance. CBAT_ values of 0.01µF are
adequate for typical applications. Adding capacitance
at BAT_ pins lengthens the time needed to detect bat-
tery removal. See the Battery-Absence-Detection Delay
section.
Adapter Removal Debouncing
Upon adapter removal the adapter’s connector may
bounce. To avoid false detection of adapter reinsertion
select R1, R2, and R3 according to the following equation:
where VAdapter is the AC-adapter voltage when remov-
ing an AC adapter and airline-adapter voltage when
removing an airline adapter, CADPIN is the capacitance
at ADPIN, and tBounce is the 5ms debounce time. See
the Airline Mode and AC Adapter section for a defini-
tion of V_Threshold.
Battery-Absence-Detection Delay
When a selected battery is removed, the system load
quickly pulls BAT_ below 5 x VMINV_ and another
source is selected. The battery is considered present
and undervoltage until VBAT_ falls below 2V. Although
another power source is quickly switched to the system
load, capacitance at BAT_ (see the Inductive "Kick"
section) delays the detection of the removed battery. If
another battery is inserted before this delay has
passed, it is considered undervoltage. Calculate the
delay using the following equation:
where IBAT_ is the 3.9µA BAT_ quiescent current (due to
a 5Minternal resistor), and CBAT_ is the capacitance
from BAT_ to GND. When CBAT_ = 1µF, tAbsence_delay
corresponds to a 5s time constant. If this time is unac-
ceptable, use a smaller capacitance or connect a resis-
tor or current sink from BAT_ to GND.
Layout
The MAX1538 selector fits in a very small layout.
Ensure that C1 is placed close to VDD and GND.
Connect the paddle to GND directly under the IC. A
complete layout example is shown in Figure 10.
Because BATA and BATB are high-impedance nodes,
prevent leakage current between BATA/BATB and
other high-voltage sources by carefully routing traces.
Note that flux remaining on the board can significantly
contribute to leakage current. See the Leakage Current
into BAT_ section.
Minimize parasitic inductance in the BATA and BATB
path to reduce inductive kick during battery discon-
nect. This reduces the capacitance requirement at
BATA and BATB.
Chip Information
TRANSISTOR COUNT: 5431
PROCESS: BiCMOS
tVC
I
Absence delay BAT
BAT
__
=×19
RR R Vt
CV V
Threshold Bounce
ADPIN Adapter Threshold
12 3
_
_
++< ×
×
()
28 27 26 25 24 23 22
21
20
19
18
17
16
15
8910 11 12 13 14
1
2
3
4
5
6
7
VDD
GND
BATSUP
BATA
DISA
DISB
BATB
MINVA
MINVB
BATSEL
RELRN
CHRG
OUT0
OUT1
OUT2
ACDET
AIRDET
ADPIN
ADPPWR
REVBLK
ADPBLK
N.C.
CHGB
CHGA
DISBAT
CHGIN
EXTLD
N.C.
MAX1538 *
THIN QFN
(5mm x 5mm)
*EXPOSED PADDLE
Pin Configuration
MAX1538
Power-Source Selector for
Dual-Battery Systems
______________________________________________________________________________________ 21
BATSUP
2
4
MAX1538
28 27 25 24 23 22
21
18
15
910 11 12 13 14
GND
DISA
DISB
BATB
MINVA
ACDET
AIRDET
ADPIN
ADPPWR
REVBLK
ADPBLK
N.C.
CHGA
DISBAT
CHGIN
EXTLD
N.C.
20
19
17
16
R1
R10
R3
R11
R2
GND
GND
CBATSUP
1
2
3
8
7
6
5
1
3
7
6
5
P8
P5
P6
P7
2134
8765
P3 P2
GND
CADAPTER
BATTERY B
BATTERY A
CHARGER
ADAPTER
SYSTEM
* EXPOSED PADDLE
CHGB
8
1
2
3
BATSEL
4
RELRN
8
5
6
7
CHRG
OUT0
OUT1
OUT2
MINVB
VDD
C1
GND
CBATB
GND
CBATA 4
BATA
26
Figure 10. MAX1538 Layout Example
MAX1538
Power-Source Selector for
Dual-Battery Systems
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.
22 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600
©2004 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products.
Package Information
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information,
go to www.maxim-ic.com/packages.)
QFN THIN.EPS
D2
(ND-1) X e
e
D
C
PIN # 1
I.D.
(NE-1) X e
E/2
E
0.08 C
0.10 C
A
A1 A3
DETAIL A
0.15 C B
0.15 C A
DOCUMENT CONTROL NO.
21-0140
PACKAGE OUTLINE
16, 20, 28, 32L, QFN THIN, 5x5x0.8 mm
PROPRIETARY INFORMATION
APPROVAL
TITLE:
C
REV.
2
1
E2/2
E2
0.10 M C A B
PIN # 1 I.D.
b
0.35x45
L
D/2 D2/2
L
C
L
C
e e
L
CC
L
k
k
L
L
2
2
21-0140
REV.DOCUMENT CONTROL NO.APPROVAL
PROPRIETARY INFORMATION
TITLE:
COMMON DIMENSIONS EXPOSED PAD VARIATIONS
1. DIMENSIONING & TOLERANCING CONFORM TO ASME Y14.5M-1994.
2. ALL DIMENSIONS ARE IN MILLIMETERS. ANGLES ARE IN DEGREES.
3. N IS THE TOTAL NUMBER OF TERMINALS.
4. THE TERMINAL #1 IDENTIFIER AND TERMINAL NUMBERING CONVENTION SHALL CONFORM TO JESD 95-1
SPP-012. DETAILS OF TERMINAL #1 IDENTIFIER ARE OPTIONAL, BUT MUST BE LOCATED WITHIN THE
ZONE INDICATED. THE TERMINAL #1 IDENTIFIER MAY BE EITHER A MOLD OR MARKED FEATURE.
5. DIMENSION b APPLIES TO METALLIZED TERMINAL AND IS MEASURED BETWEEN 0.25 mm AND 0.30 mm
FROM TERMINAL TIP.
6. ND AND NE REFER TO THE NUMBER OF TERMINALS ON EACH D AND E SIDE RESPECTIVELY.
7. DEPOPULATION IS POSSIBLE IN A SYMMETRICAL FASHION.
8. COPLANARITY APPLIES TO THE EXPOSED HEAT SINK SLUG AS WELL AS THE TERMINALS.
9. DRAWING CONFORMS TO JEDEC MO220.
NOTES:
10. WARPAGE SHALL NOT EXCEED 0.10 mm.
C
PACKAGE OUTLINE
16, 20, 28, 32L, QFN THIN, 5x5x0.8 mm
Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information:
Maxim Integrated:
MAX1538ETI+ MAX1538ETI+T