Design Goals
LOAD CURRENT
(IL) |
SYSTEM SUPPLY
(VS) |
CURRENT SENSE AMP |
COMPARATOR OUTPUT STATUS |
Over Current
(IOC) |
Typical |
Gain |
Over Current |
Normal Operation |
200mA |
24V |
20V/V |
VOH =
VS |
VOL =
VS - 5V |
Design Description
This high-side, current sensing solution uses a
current sense amplifier, a comparator with an
integrated reference, and a P-channel MOSFET to
create an over-current latch circuit. When a load
current greater than 200mA is detected, the
circuit disconnects the system from its power
source. Since the comparator drives the gate of
the P-channel MOSFET and feeds the signal back
into the reference pin of the current sense
amplifier, the comparator output will latch (hold
the gate source voltage of the P-channel MOSFET to
0V) until power to the circuit is cycled.
Design Notes
- Select a precision, current sense amplifier (INA)
with an external reference pin so its output
voltage can be adjusted.
- Select a comparator with a rail-to-rail input so
its output will be valid over the entire operating
voltage range of the current sense amplifier.
- Select a comparator with a push-pull output stage
that can drive the gate of a MOSFET and an
integrated reference to optimize circuit
accuracy.
- Create a floating 5V supply that can power the
INA and comparator.
Design Steps
- Select the value of R1 so
VSHUNT is at least 100x greater than
the current sense amplifier input offset voltage
(VOS). Note that making R6
very large will improve OC detection accuracy but
will reduce supply headroom and power dissipation.
- Determine the desired gain (AV) option
for the INA based on the switching threshold of
the comparator. When the load current
(IL) reaches the over-current threshold
(IOC), the INA output must cross the
switching threshold (VTH) of the
comparator.
- Since many INA's and comparators have 5V
operating voltage ranges, a 5V supply voltage
needs to be derived from the system supply
VS. In addition, the 5V supply needs to
float below VS so the comparator output
can drive the source-gate voltage of the P-channel
MOSFET to 0V when an over-current condition occurs
and 5V when the load current is less than
IOC. The method used in this circuit is
a 5V zener diode with a 10 kΩ bias resistor
(R2). Other options such as shunt
regulators can also be utilized as long as proper
bias current through the device is
maintained.
- A
low pass filter is added between the INA output
and the comparator input to attenuate any high
frequency current spikes. It is more important to
trigger the over-current latch with a delay than
to falsely disconnect the system from the supply
voltage. The low pass filter is derived from
R5 and C1. Since the
switching threshold of the comparator is 0.2V, the
delay is less than 1 time constant
(R5×C1=5ms).
- A
current limiting resistor R4 is
inserted between the comparator output and the
gate of the P-channel MOSFET. Setting
R4 to 10 kΩ reduces current spikes on
the supply when the comparator output needs to
charge the MOSFET gate-source capacitance as a
compromise to increasing the charge time.
Inserting R4 also serves the purpose of
protecting the comparator output from any supply
transients that can be present on the supply
line.
- The output of the comparator is directly
connected to the REF pin of the INA in order to
apply an offset to the INA's output voltage. When
IL < IOC, the comparator
output is low (equal to VS-5V) and no
offset is added to the INA. However, when
IL > IOC, the comparator
output goes high (equal to VS) and a 5V
offset is added to the INA. This offset causes the
INA output to saturate at a level equal to
VS. Since an INA output level of
VS is higher than the VTH of
the comparator, the comparator output will remain
high. This condition is referred to as a
latched output state since the circuit will
remain in this state until power to the circuit is
cycled.
- R3 is added between the INA reference
pin (REF) and GND (VS-5V) to ensure a
proper ground path as the 5V supply ramps up to
the comparator minimum operating voltage.
- If a latching feature is not preferred, the
comparator output can be disconnected from the
current sense amplifier reference pin and
R3 can be replaced with a short. In
this configuration, the circuit will behave as a
200mA current limiter.
Design Simulations
Transient Simulation Results
Design Featured Comparator
TLV4041R2 |
VS
|
1.6V to 5.5V |
VinCM
|
Rail-to-rail |
VOUT
|
Push-Pull |
Integrated Reference |
200mV ± 3mV |
IQ
|
2µA |
tPD |
360ns |
TLV4041R2 |
Design Featured Current Sense
Amplifier
INA185 |
VS
|
2.7V to 5.5V |
VinCM
|
-0.2V to 26V |
Gain Options |
20V/V, 50V/V, 100V/V, 200V/V |
Gain Error |
0.2 % |
VOS
|
100µV (A1), 25µV (A2, A3, and A4) |
IQ
|
200µA |
INA185 |