MAX1538
Power-Source Selector for
Dual-Battery Systems
______________________________________________________________________________________ 13
ACDET
AIRDET
V
DD
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
S
Q
BATTERY B
UNDERVOLTAGE
LATCH
MAX1538
NNN
Q
R
S
Q
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
0 On Off On Off
110
Charge A
AC
X
X
10
1 On Off Off On
111
Charge B
AC
N
X
X 1
0 Off On On Off
100
Relearn A
AC
X N X 1
1 Off 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
X N XX
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. V
ACDET
and V
AIRDET
are both above 2V.
AIR Airline adapter is present. V
ACDET
is below 2V and V
AIRDET
is above 2V.
Absent
External adapter is absent. V
ACDET
and V
AIRDET
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
V
MINV_
). See the Battery Presence and Undervoltage Detection section.
U
U indicates the battery has tripped the undervoltage comparator. An undervoltage battery is detected
when V
BAT_
goes below 5 x V
MINV_
. 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 V
BAT_
< 5 x V
MINV_
, and remains classified as
undervoltage until V
BAT_
falls below 2V and again rises
above 5 x V
MINV
. 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 V
BAT_
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
_
_
×
+
×
+
5
11
10 11
5
13
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

MAX1538ETI+T

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Battery Management Power-Source Select for Dual-Bat System
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet