The MAX1838 is a dual, current-limited USB switch with
auxiliary input supply. Each switch meets all IEC specifications for USB ports and is guaranteed to supply
500mA from either of two input supplies. A control pin
selects the power source from either the main or auxiliary supply.
The MAX1838 has multiple protection features, including independent thermal-shutdown on each channel to
limit junction temperature in case of a prolonged short
or overload condition. The device has accurate internal
current-limit and reverse-current protection to safeguard the input supply against overload. When powered from the auxiliary supply, the current limit on each
channel is set independently with an external resistor.
An autoreset feature latches the switch off if the output
is shorted, thereby saving system power. When the
short is removed, the switch automatically turns back
on. Independent fault signals (FAULTA and FAULTB)
notify the microprocessor (µP) that the internal current
limit has been reached. A 20ms fault-blanking feature
prevents the MAX1838 from issuing false alarms to the
host during power-up or when hot-swapping into a
capacitive load.
The MAX1838 is available in a space-saving 16-pin
QSOP. For other USB current-limited switches, refer to
the MAX1693, MAX1694, MAX1812, and MAX1823.
= 5V, ON = SEL = GND, ADJ_ = open, 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.
IN_, AUX_, ON, OUT_, SEL, FAULT_,
ADJ_ to GND .........................................................-0.3V to +6V
IN_, AUX_ to OUTA_; IN_, AUX_ to OUTB_.................-6V to +6V
AUX_ to IN_ .................................................................-6V to +6V
Select Input. Control input to select from either V
power from IN source, low for power from AUX source.
Auxiliary Input. Connect both AUX pins together and bypass with a 0.1µF capacitor to ground.
Load conditions may require additional bulk capacitance to maintain AUX voltage regulation.
Power Input. Connect both IN pins together and bypass with a 0.1µF capacitor to GND. Load
conditions may require additional bulk capacitance to maintain the IN voltage regulation.
Control Input. A logic low at ON turns on the device. A logic high shuts off both outputs and all
power to internal circuits. Driving ON higher than IN does not cause damage.
Fault Indicator Output for Channel B. This open-drain output goes low when channel B is in
thermal shutdown or in undervoltage lockout or in a sustained (>20ms) current-limit or short-circuit
condition.
IN_
or V
for both outputs. Pull SEL high for
AUX_
10ADJB
11, 12OUTB1, OUTB2
13, 14OUTA1, OUTA2
Current-Limit Adjust for Channel B. When operating from auxiliary input, adjust the current limit by
connecting a resistor from ADJB to GND as shown in Programmable Current Limit.
Power Output B. Connect both OUTB_ pins together. Connect a 1µF or greater capacitor from
OUTB_ to ground. Load condition may require additional bulk capacitance.
Power Output A. Connect both OUTA_ pins together. Connect a 1µF or greater capacitor from
OUTA_ to ground. Load condition may require additional bulk capacitance.
MAX1838
Detailed Description
The MAX1838 is a dual, current-limited switch with
auxiliary inputs designed for USB applications. It has
two independent channels, each with its own faultblanking and autoreset function. Each channel has an
error flag output to notify the USB controller when the
current limit, short circuit, undervoltage lockout, or thermal shutdown threshold is reached. A single input
enables both channels. The MAX1838 supplies the outputs from one of two inputs, IN or AUX, selected by
SEL (Table 1).
The MAX1838 operates from 4V to 5.5V input voltage
range and guarantees a 500mA (min) output current. A
0.9A built-in current limit limits the current in the event
of a heavy overload condition. When powering the
switches from the auxiliary input, each channel has an
adjustable current limit. The MAX1838 has independent
thermal shutdown for each channel in the event of a
prolonged overload or short-circuit condition. The
autoreset function monitors the overload and automatically turns the switch on when the overload is removed.
Use of internal, low-RONNMOS switches enables the
MAX1838 to provide four switches in the small 16-pin
QSOP package. Internal micropower charge pumps
generate the gate drive of these high-side switches.
Separate current limiting and thermal shutdown circuits
permit each switch to operate independently, improving system robustness.
Input Voltage Requirements and
Undervoltage Lockout
The MAX1838 operates in one of three modes (Table 1).
The device receives its supply current from the AUX
input. When V
AUX_
falls below the 3.8V undervoltage
lockout voltage, the MAX1838 shuts down to prevent
erroneous switch operation.
Current-Limit Adjust for Channel A. When operating from auxiliary input, adjust the current limit by
connecting a resistor from ADJA to GND as shown in Programmable Current Limit.
Fault Indicator Output for Channel A. This open-drain output goes low when channel A is in
thermal shutdown or undervoltage lockout or in a sustained (>20ms) current-limit or short-circuit
condition.
FAULT LOGIC
20ms
BLANKING
CHANNEL A CONTROL
CIRCUITRY
CHANNEL B CONTROL
CIRCUITRY
20ms
BLANKING
FAULT LOGIC
FAULTA
N
ADJA
OUTA1
OUTA2
OUTB2
OUTB1
ADJB
FAULTB
N
SEL
AUX
IN
ON
THERMAL
SHUTDOWN A
IC POWER
THERMAL
SHUTDOWN B
Power from IN
(SEL high)
Power from AUX
(SEL low)
Full Shutdown
(ON high)
Both A and B outputs receive
current from IN. The IC is powered
from AUX.
Both A and B outputs receive
current from AUX. The IC is
powered from AUX. V
to zero in this mode.
Both A and B outputs are open and
no power is available. Either V
V
may drop to zero.
AUX_
may drop
IN_
IN_
or
Output Fault Protection
The MAX1838 senses the switch output voltage and
selects 0.9A continuous current limiting when V
OUT
is
greater than 1V or short-circuit current limiting when
V
OUT
is less than 1V (see
Behavior During Current Limit
and Fault Blanking
).
Autoreset Mode
The MAX1838 monitors the output to detect an overload condition. If an output fault is detected for more
than the 20ms blanking time, OUT_ latches, FAULT
goes low, and OUT sources 25mA to the load. If the
voltage at OUT exceeds 0.5V for 20ms, the fault resets,
the 25mA current source shuts down, and the channel
turns back on. For proper autoreset function, the output
load current must remain below 25mA when the output
voltage is lower than 0.5V. Toggle ON to manually reset
the output.
Thermal Shutdown
The MAX1838 features independent thermal shutdown
for each channel, allowing one channel to deliver
power even if the other channel has a fault condition.
When the junction temperature exceeds +160°C, the
switch turns off and FAULT_ goes low immediately.
Fault blanking does not occur during thermal limit.
When the junction cools by 15°C, the channel turns on
again. If the fault overload condition continues, the
channel cycles on and off, resulting in a pulsed output.
Fault Indicators
The MAX1838 provides an open-drain fault output
(FAULT) for each channel. For most applications, con-
nect FAULT to AUX through a 100kΩ pullup resistor.
FAULT goes low when any one of the following conditions occurs:
• V
AUX
_ is below the undervoltage-lockout (UVLO)
threshold.
• V
IN
_ is below the undervoltage-lockout threshold
and SEL = AUX.
• The switch junction temperature exceeds the thermal
shutdown temperature limit of +160°C.
• The switch is in current-limit or short-circuit limit
mode after the fault-blanking period is exceeded
(autoreset).
After the fault condition is removed, the FAULT output
deasserts after a 20ms delay. Ensure that the MAX1838
has adequate input bypass capacitance to prevent
glitches from triggering FAULT outputs. Input glitches
greater than 0.2V/µs may cause erroneous FAULT indi-
cations.
Programmable Current Limit
When using the auxiliary input (AUX), each channel has
an adjustable current limit. For maximum current limit
(0.9A), open ADJ. For current limits below 0.9A, connect a resistor from ADJ to GND according to the following equation:
I
OUT
_ = 0.9A × R
ADJ
/ (200kΩ + R
ADJ
)
Behavior During Current Limit
and Fault Blanking
The MAX1838 limits switch current in the following
ways. When ON is high, both channels are off. When
ON is low, both channels can supply a continuous output current of at least 500mA. When the output current
exceeds the 0.9A threshold, the MAX1838 will limit the
current depending on the output voltage. If V
OUT
is
greater than 1V (current-limit mode), the MAX1838 regulates the output current to 0.9A. If V
OUT
is less than 1V
(short-circuit mode), the MAX1838 pulses the output,
decreasing the current to 0.35A
RMS
(Table 2). Note that
a thermal overload may result from either of these highcurrent conditions.
The MAX1838 switches may enter current limit in normal operation when powering up or driving heavy
capacitive loads. To differentiate these conditions from
short circuits or sustained overloads that may damage
the device, the MAX1838 has an independent faultblanking circuit in each channel. When a load transient
causes the device to enter current limit, an internal
counter starts to monitor the duration of the fault. If the
load fault persists beyond the 20ms fault-blanking time,
the channel turns off, FAULT asserts low, and the channel enters autoreset mode (see
Autoreset Mode
). Only
current-limit and short-circuit faults are blanked.
Thermal overload faults and input undervoltage immediately cause the channel to turn off and FAULT to
assert low.
Fault blanking allows the MAX1838 to accommodate
USB loads that may not be fully compliant with the USB
specifications. USB loads with additional bypass
capacitance and/or large startup currents can be successfully powered while protecting the upstream power
source. If the switch is able to bring up the load within
the 20ms blanking period, no fault is indicated.
Switching Supplies
To select IN as the source for both channels, drive SEL to
a logic high. To select AUX, drive SEL low. To minimize
switching transients, the MAX1838 switches between
input supplies (IN and AUX) with a make-before-break
sequence. Both switches are on simultaneously for up to
9ms before the initial supply is disconnected. When
switching from IN to AUX, a significant current may flow
between IN and AUX. However, a fault does not trigger
since the fault blanking-time is longer than the supply
switchover time.
Applications Information
Input Power Source
AUX provides the power for the MAX1838 internal control circuitry. Limit the input-voltage slew rate to less
than 0.2V/µs to prevent erroneous FAULT indications.
Input Capacitor
To limit the input voltage drop during momentary output
short-circuit conditions, connect a capacitor from both
AUX and IN to ground. A 0.1µF ceramic capacitor is
required for local decoupling; however, higher capacitor values will further reduce the voltage drop at the
input (Figure 2). When driving inductive loads, a larger
capacitance prevents voltage spikes from exceeding
the MAX1838’s absolute maximum ratings.
Output Capacitor
An output capacitor helps prevent parasitic inductance
from pulling OUT negative during turn-off. When starting up into very large capacitive loads, the switch pulses the output current at 0.35A
RMS
until the output
voltage rises above 1V, then the capacitor continues to
charge at the full 0.9A current limit. There is no limit to
the size of output capacitor, but to prevent a startup
fault assertion, the capacitor must charge up within the
fault-blanking delay period. Typically starting up into a
330µF or smaller capacitor does not trigger a fault output. In addition to bulk capacitance, small value (0.1µF
or greater) ceramic capacitors improve the output’s
resilience to electrostatic discharge (ESD).
Driving Inductive Loads
A wide variety of devices (mice, keyboards, cameras,
and printers) can load the USB port. These devices
commonly connect to the port with cables, which can
add an inductive component to the load. This inductance causes the output voltage at the USB port to ring
Table 2. MAX1838 Current Limiting and Fault Behavior
CONDITIONMAX1838 BEHAVIOR
• If a short circuit is detected at the output, the channel turns off, the blanking timer
begins, and FAULT stays high.
• If the short circuit persists during the fault-blanking period, the output pulses at 0.35A
. When the short is removed before the 15ms short-circuit blanking timeout period,
If a short circuit is present
(V
< 1V)
OUT
RMS
the next ramped current pulse soft-starts the output. The FAULT flag stays high.
• If the short circuit persists after the fault-blanking period, FAULT goes low, autoreset
mode is enabled, and the output sources 25mA. If the voltage on that output is above
0.5V for 20ms, the channel resets, the output turns on, and FAULT goes high (see
Short-Circuit Response in the Typical Operating Characteristics.)
-
• Output current regulates at I
• Continuous current at I
If an overload current is present
> 1V)
(V
OUT
If thermal fault condition is present
or the 20ms continuous current-limit timeout period is reached.
• If overcurrent is still present at 20ms, FAULT goes low, autoreset mode is enabled, and
the output sources 25mA. If the voltage on that output is above 0.5V for 20ms, the
channel resets, the output turns on, and FAULT goes high.
•FAULT immediately goes low (the blanking timer does not apply to thermal faults), and
the channel turns off. When the junction cools by 15
removed, autoreset mode is enabled, the output sources 25mA, and FAULT remains
low. If the voltage on that output is above 0.5V for 20ms, the channel resets, the output
turns on, and FAULT goes high.
LIM
, the blanking timer turns on, and FAULT stays high.
LIM
persists until the overload is removed, a thermal fault occurs,
o
C, the thermal fault condition is
during a load step. The MAX1838 is capable of driving
inductive loads, but avoid exceeding the device’s
absolute maximum ratings. Usually the load inductance
is relatively small, and the MAX1838’s input includes a
substantial bulk capacitance from an upstream regulator
as well as local bypass capacitors, limiting overshoot. If
severe ringing occurs due to large load inductance,
clamp the MAX1838’s output below 6V and above -0.3V.
Turn-On and Turn-Off Behavior
In absence of faults, the MAX1838’s internal switches
turn on and off slowly under the control of the ON input.
The slow charge-pump switch-drive minimizes load transients on the upstream power source. Under thermal
fault and undervoltage lockout, the power device turns
off rapidly to protect the switch and the power source.
Layout and Thermal Dissipation
To optimize the switch response to output short-circuit
conditions, keep all traces as short as possible to reduce
the effect of undesirable parasitic inductance. Place
input and output capacitors no more than 5mm from
device leads. IN, AUX, and OUT pins must be connected with short traces to the power bus. Wide power bus
planes provide superior switch heat dissipation. While
the switches are on, power dissipation is small and the
package temperature rise is minimal. Calculate the
power dissipation for this condition as follows:
P = (I
OUT
)2R
ON
For the normal operating current (I
OUT
= 0.5A), the maximum on-resistance of the switch is 170mΩ, and the
power dissipation is:
P = (0.5A)
2
x 0.170Ω = 43mW per switch
The worst-case power dissipation occurs when the
switch is in current limit and the output is greater than
1V. In this case, the power dissipated in each switch is
the voltage drop across the switch multiplied by the current limit:
P = (I
LIM
) (VIN- V
OUT
)
For a 5V input and 1V output, the maximum power dissipation per switch is:
P = (1.2A) (5.5V - 1V) = 5.4W
Since the package power dissipation is only 667mW, the
MAX1838 die temperature will exceed the thermal shutdown threshold and the switch output shuts down until
the junction temperature cools by 10°C. The duty cycle
and period are strong functions of the ambient temperature and the PC board layout.
A short circuit at the output causes the power dissipated
across the switch and the junction temperature to
increase. If the fault condition persists, the thermal-overload-protection circuitry activates, and the output shuts
down until the junction temperature decreases by 10°C
(see
For the latest package outline information and land patterns, 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 TYPEPACKAGE CODEDOCUMENT NO.
16 QSOPE16-5
21-0055
MAX1838
Dual USB Switch with Fault Blanking
and Autoreset
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 ____________________