LM3822
Precision Current Gauge IC with Internal Zero Ohm
Sense Element and PWM Output
General Description
The LM3822 Current Gauge provides easy to use precision
current measurement with virtually zero insertion loss (typically 0.003Ω). The LM3822 is used for high-side sensing.
A Delta Sigma analog to digital converter is incorporated to
precisely measure the current and to provide a current averaging function. Current is averaged over 50 msec time
periods in order to provide immunity to current spikes. The
ICs have a pulse-width modulated (PWM) output which indicates the current magnitude and direction. The shutdown pin
can be used to inhibit false triggering during start-up, or to
enter a low quiescent current mode.
The LM3822 is factory-set in two different current options.
The sense range is −1.0A to +1.0A or −2.0A to +2.0A. The
sampling interval for this part is 50ms. If faster sampling is
desired, please refer to the data sheet for the part number
LM3824.
n Low quiescent current in shutdown mode (typically
1.8 µA)
n 50 msec sampling interval
n In MSOP-8 Package
Features
n No external sense element required
n PWM output indicates the current magnitude and
direction
n PWM output is easily interfaced with microprocessors
and controllers
n Precision ∆Σ current-sense technique
n Low temperature sensitivity
n Internal filtering rejects false trips
n Internal Power-On-Reset (POR)
n DC Offset is less than 1 mA for 1A part
LM3822 Precision Current Gauge IC with Internal Zero Ohm Sense Element and PWM Output
Key Specifications
n Ultra low insertion loss (typically 0.003Ω)
n 2V to 5.5V supply range
±
n
2% accuracy at room temperature for the 1A device
(includes accuracy of the internal sense element)
Connection Diagram
LM3822 for High-Side Sensing
Applications
n Battery charge/discharge gauge
n Motion control diagnostics
n Power supply load monitoring and management
n Resettable smart fuse
* Current is sampled over a fixed interval. The average current during this interval is indicated by the duty cycle of the PWM output during next interval.
Order No.
LM3822MM-1.0
LM3822MMX-1.0
LM3822MM-2.0
LM3822MMX-2.0
*
Sense
Range
±
1.0A50 msHigh-sideMUA08AMSOP-8Tape and Reel
±
1.0A50 msHigh-sideMUA08AMSOP-8Tape and Reel
±
2.0A50 msHigh-sideMUA08AMSOP-8Tape and Reel
±
2.0A50 msHigh-sideMUA08AMSOP-8Tape and Reel
Sampling
Interval*
Sensing
Method
NS
Package
Number
Pin Description (High-Side, LM3822)
PinNameFunction
1SENSE+, V
2GNDSupply Ground.
3FLTR+Filter input — provides anti-aliasing for delta sigma modulator.
4FLTR−Filter input.
5SD
6TESTConnect to GND for normal operation.
7PWMDigital output indicates the current magnitude and direction.
8SENSE−Low side of internal current sense.
DD
High side of internal current sense, also supply voltage.
Shutdown input. Connected to VDDthrough a pull-up resistor for normal operation.
When low, the LM3822 is put into a low current mode.
Package
Type
Supplied As:
(1000 units/reel)
(3500 units/reel)
(1000 units/reel)
(3500 units/reel)
www.national.com2
Page 3
LM3822
Absolute Maximum Ratings (Note 1)
If Military/Aerospace specified devices are required,
Storage Temperature−65˚C to +150˚C
Lead Temperature (Soldering, 10 sec)260˚C
please contact the National Semiconductor Sales Office/
Distributors for availability and specifications.
Operating Ratings (Note 1)
Absolute Maximum Supply Voltage5.5V
Power Dissipation(Note 2)
ESD Susceptibility (Note 3)1.5 kV
Sense Current (peak, for 200 msec) (Note 4)10A
Sink Current for PWM pin1mA
Maximum Junction Temperature150˚C
Input Voltage2.0V to 5.25V
Sense Current (continuous) (Note 4)5A
Junction Temperature Range−40˚C to +85˚C
Electrical Characteristics Typical numbers are at 25˚C and represent the most likely parametric norm.
Specifications in standard type face are for T
ranges.
= 25˚C and those with boldface type apply over full operating temperature
J
LM3822-1.0
SENSE+VDD= 3.6V for the following specifications. Supply bypass capacitor is 1 µF and filter capacitor is 0.1 µF.
SymbolParameterConditions
I
ACC
Average Current Accuracy
1.0A current1.0
(Note 7)
e
n
Effective Output Noise (rms)2mA
Typ
(Note 5)
Limit
(Note 6)
0.98 / 0.96A (min)
1.02 / 1.04A (max)
Units
A
LM3822-2.0
SENSE+VDD= 3.6V for the following specifications. Supply bypass capacitor is 1 µF and filter capacitor is 0.1 µF.
SymbolParameterConditions
I
ACC
Average Current Accuracy
2.0A current (Note 8)2.0A
(Note 7)
Typ
(Note 5)
Limit
(Note 6)
1.94 / 1.90A (min)
2.06 / 2.10A (max)
e
n
Effective Output Noise (rms)6mA
Common Device Parameters
Unless otherwise specified, VDD= 3.6V for the following specifications. Supply bypass capacitor is 1 µF and filter capacitor is
0.1 µF.
SymbolParameterConditions
I
Q1
I
Q2
D
RES
t
S
f
P
V
TH
Quiescent CurrentNormal Mode, SD = high95µA
Quiescent CurrentShutdown Mode, SD = low1.8µA
PWM Resolution0.1%
Sampling Time50ms
Frequency of PWM Waveform20Hz
Threshold High Level for SD1.3V
Typ
(Note 5)
Limit
(Note 6)
150µA (max)
10µA (max)
40ms (min)
80ms (max)
12.5Hz (min)
25Hz (max)
1.8V (min)
Units
Units
www.national.com3
Page 4
Electrical Characteristics Typical numbers are at 25˚C and represent the most likely parametric norm.
Specifications in standard type face are for T
LM3822
ranges. (Continued)
= 25˚C and those with boldface type apply over full operating temperature
J
Common Device Parameters (Continued)
Unless otherwise specified, VDD= 3.6V for the following specifications. Supply bypass capacitor is 1 µF and filter capacitor is
0.1 µF.
SymbolParameterConditions
V
TL
V
OH
Threshold Low Level for SD1.2V
Logic High Level for PWMLoad current = 1 mA, 2V ≤ VDD≤
Typ
(Note 5)
VDD− 0.05
5.25V
V
OL
Logic Low Level for PWMSink current = 1 mA, 2V ≤ VDD≤
0.04V
5.25V
P
I
Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Operating Ratings indicate conditions for which the device is
intended to be functional, but do not guarantee specific performance limits. For guaranteed specifications and test conditions, see Electrical Characteristics. The
guaranteed specifications apply only for the test conditions listed. Some performance characteristics may degrade when the device is not operated under the listed
test conditions.
Note 2: At elevated temperatures, devices must be derated based on package thermal resistance. The device in the surface-mount package must be derated at
θ
JA
Note 3: The human body model is a 100 pF capacitor discharged through a 1.5 kΩ resistor into each pin.
Note 4: The absolute maximum peak and continuous currents specified are not tested. These specifications are dependent on the θ
MSOP-8 package.
Note 5: Typical numbers are at 25˚C and represent the most likely parametric norm. Specifications in standard type face are for T
typeapply over full operating temperature ranges.
Note 6: Limits are 100% production tested at 25˚C. Limits over the operating temperature range are guaranteed through correlation using Statistical Quality Control
(SQC) methods. The limits are used to calculate National’s Average Outgoing Quality Level (AOQL).
Note 7: There is a variation in accuracy over time due to thermal effects. Please refer to the “PWM Output and Current Accuracy” section for more information.
Note 8: This parameter is production tested at 1A and guaranteed by design at 2A.
Note 9: The tolerance of the internal lead frame resistor is corrected internally. The temperature coefficient of this resistor is 2600 ppm/˚C.
Insertion LossI
= 220˚C/W (typically), junction-to-ambient.
= 1A (Note 9)0.003Ω
SENSE
Limit
(Note 6)
0.7V (max)
− 0.2
V
DD
0.2V (max)
, which is 220˚C/W for the
JA
= 25˚C and those with boldface
J
Units
V
V (min)
www.national.com4
Page 5
Typical Performance Characteristics Supply bypass capacitor is 0.1 µF and filter capacitor is
0.1 µF.
Measured Current vs Actual Current
(LM3822-1.0)
1012492410124925
PWM Frequency vs Supply VoltagePWM Frequency vs Temperature
Measured Current vs Actual Current
(LM3822-2.0)
LM3822
10124933
10124923
Operating Current vs Supply VoltageShutdown Current vs Supply Voltage
10124918
10124920
www.national.com5
Page 6
Typical Performance Characteristics Supply bypass capacitor is 0.1 µF and filter capacitor is
0.1 µF. (Continued)
LM3822
Operating Current vs TemperatureShutdown Current vs Temperature
10124919
10124921
Current vs PWM Duty CycleAccuracy vs Supply Voltage
10124922
10124928
Accuracy vs Temperature (LM3822-1.0)Accuracy vs Temperature (LM3822-2.0)
10124936
Note 10: These curves represent a statistical average such that the noise is insignificant.
www.national.com6
10124935
Page 7
Typical Application Circuits In the application circuits, the 0.1 µF ceramic capacitor between pins 1 and 2
is used for bypassing, and the 0.1 µF ceramic capacitor between pins 3 and 4 is used for filtering. Shutdown (SD) is tied to
VDDthrough a 10 kΩ resistor.
10124905
FIGURE 1. High Side Sense
LM3822
FIGURE 2. Paralleling LM3822 for Higher Load Current
I
TOTAL
= 2.2(D1−0.5)I
+ 2.2(D2−0.5)I
MAX
MAX
where D1is the duty cycle of PWM1 and D2is the duty cycle of PWM2.
Please refer to the Product Operation section for more information.
10124907
www.national.com7
Page 8
Typical Application Circuits In the application circuits, the 0.1 µF ceramic capacitor between pins 1 and 2
is used for bypassing, and the 0.1 µF ceramic capacitor between pins 3 and 4 is used for filtering. Shutdown (SD) is tied to
LM3822
VDDthrough a 10 kΩ resistor. (Continued)
10124908
FIGURE 3. High Voltage Operation — VINGreater Than 5.5V (High Side Sense)
(PWM output is referred to Pin 6)
www.national.com8
Page 9
Product Operation
The current is sampled by the delta-sigma modulator, as
illustrated in Figure 4. The pulse density output of the deltasigma modulator is digitally filtered. The digital output is then
compared to the output of a digital ramp generator. This
produces a PWM output. The duty cycle of the PWM output
is proportional to the amount of current flowing. A duty cycle
of 50% indicates zero current flow. If the current is flowing in
positive direction, the duty cycle will be greater than 50%.
Conversely, the duty cycle will be less than 50% for currents
flowing in the negative direction. A duty cycle of 95.5%
(−I
MAX
MAX
)
). The IC can
are
MAX
MAX
(4.5%) indicates the current is at I
sense currents from −I
MAX
to +I
MAX
. Options for I
MAX
1.0A or 2.0A. The sense current is given by:
= 2.2 (D−0.5)(I
I
SENSE
where D is the duty cycle of the PWM waveform, and I
the full scale current (1.00A or 2.00A). Similarly, the duty
cycle is given by:
LM3822
SENSE
/(2.2 I
D=[I
For quick reference, see the Conversion Table in Table 1.
In this IC, the current is averaged over 50 msec time slots.
Hence, momentary current surges of less than 50 msec are
tolerated.
This is a sampled data system which requires an antialiasing filter, provided by the filter capacitor.
The delta-sigma modulator converts the sensed current to
the digital domain. This allows digital filtering, and provides
immunity to current and noise spikes. This type of filtering
would be difficult or impossible to accomplish on an IC with
analog components.
The user also needs to specify the full scale value. See the
Ordering Information table for details.
is
MAX
)] + 0.5
FIGURE 4. Functional block diagram of LM3822
10124910
www.national.com9
Page 10
PWM Output and Current
Accuracy
LM3822
OFFSET
The PWM output is quantized to 1024 levels. Therefore, the
duty cycle can change only in increments of 1/1024.
There is a one-half (0.5) quantization cycle delay in the
output of the PWM circuitry. That is to say that instead of a
duty cycle of N/1024, the duty cycle actually is (N+
The quantization error can be corrected for if a more precise
result is desired. To correct for this error, simply subtract
1/2048 from the measured duty cycle.
The extra half cycle delay will show up as a DC offset of
bit if it is not corrected for. This is approximately 1.0 mA for
1.0 Amp parts, and 10 mA for 2.0 Amp parts.
JITTER
In addition to quantization, the duty cycle will contain some
jitter. The jitter is quite small (for example, the standard
deviation of jitter is only 0.1% for the LM3822-1.0). Statistically the jitter can cause an error in a current sample. Because the jitter is a random variable, the mean and standard
deviation are used. The mean, or average value, of the jitter
is zero. The standard deviation (0.1%) can be used to define
the peak error caused from jitter.
The “crest factor” has often been used to define the maximum error caused by jitter. The crest factor defines a limit
within which 99.7% of the samples fall. The crest factor is
defined as
Since the jitter is a random variable, averaging multiple
outputs will reduce the effective jitter. Obeying statistical
laws, the jitter is reduced by the square root of the number of
readings that are averaged. For example, if four readings of
the duty cycle are averaged, the resulting jitter (and crest
factor) are reduced by a factor of two.
±
0.3% error in the duty cycle.
1
⁄2)/1024.
Noise will also be reduced by averaging multiple readings,
and follows the statistical laws of a random variable.
ACCURACY VERSUS NOISE
The graph shown in Figure 5 illustrates the typical response
±
of
1 Ampere current gauges. In this graph, the horizontal
axis indicates time, and the vertical axis indicates measured
current (the PWM duty cycle has been converted to current).
The graph was generated for an actual current of 500 mA.
The difference between successive readings manifests itself
as jitter in the PWM output or noise in the current measurement (when duty cycle of the PWM output is converted to
current).
1
⁄
2
The accuracy of the measurement depends on the noise in
the current waveform. The accuracy can be improved by
averaging several outputs. Although there is variation in
successive readings, a very accurate measurement can be
obtained by averaging the readings. For example, on averaging the readings shown in this example, the average
current measurement is 502.3 mA (Figure 5). This value is
very close to the actual value of 500 mA. Moreover, the
accuracy depends on the number of readings that are averaged.
JITTER AND NOISE
Jitter in the PWM output appears as noise in the current
measurement. The Electrical Characteristics show noise
measured in current RMS (root mean square). Arbitrarily one
could specify PWM jitter, as opposed to noise. In either case
the effect results in a random error in an individual current
measurement.
Noise, just like jitter, can be reduced by averaging many
readings. The RMS value of the noise corresponds to one
standard deviation. The “crest factor” can be calculated in
terms of current, and is equal to
noise).
±
3 sigma (RMS value of the
10124926
FIGURE 5. Typical Response of LM3822
LOW CURRENT MEASUREMENTS
The DC offset of the LM3822-1.0 is typically under 1 mA.
This low offset allows accurate low current measurements.
Even currents in the 10 mA range can be measured with
accuracies typically better than
±
5%.
www.national.com10
Page 11
Look-Up Tables
The following tables show how to convert the duty cycle of
the PWM output to a current value, and vice versa. The
TABLE 1. Current to Duty Cycle Conversion Table
Sense Current
(Imax = 1.0A)
1295.5
0.951.9093.2
0.901.8090.9
0.851.7088.6
0.801.6086.4
0.751.5084.1
0.701.4081.8
0.651.3079.5
0.601.2077.3
0.551.1075.0
0.50172.7
0.450.9070.5
0.400.8068.2
0.350.7065.9
0.300.6063.6
0.250.5061.4
0.200.4059.1
0.150.3056.8
0.100.2054.5
0.050.1052.3
0.000.0050
−0.05−0.1047.7
−0.10−0.2045.5
−0.15−0.3043.2
−0.20−0.4040.9
−0.25−0.5038.6
−0.30−0.6036.4
−0.35−0.7034.1
−0.40−0.8031.8
−0.45−0.9029.5
−0.50−127.3
−0.55−1.1025
−0.60−1.2022.7
−0.65−1.3020.5
−0.70−1.4018.2
−0.75−1.5015.9
−0.80−1.6013.6
−0.85−1.7011.4
−0.90−1.809.1
−0.95−1.906.8
−1−24.5
Sense Current
(Imax = 2.0A)
1
quantization error of
Please see the “PWM Output and Current Accuracy” section
for more details.
⁄2bit is not shown in these tables.
Duty Cycle (%)
LM3822
www.national.com11
Page 12
Timing Diagram
LM3822
Duty cycle of the PWM waveform during any sampling interval indicates the current magnitude (average) and direction during the previous sampling interval.
FIGURE 6. Typical Timing Diagram for Mostly Positive Current
LM3822 Precision Current Gauge IC with Internal Zero Ohm Sense Element and PWM Output
8-Lead MSOP
See Ordering Information table for Order Numbers
NS Package Number MUA08A
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves
the right at any time without notice to change said circuitry and specifications.
For the most current product information visit us at www.national.com.
LIFE SUPPORT POLICY
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS
WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF NATIONAL SEMICONDUCTOR
CORPORATION. As used herein:
1. Life support devices or systems are devices or systems
which, (a) are intended for surgical implant into the body, or
(b) support or sustain life, and whose failure to perform when
properly used in accordance with instructions for use
2. A critical component is any component of a life support
device or system whose failure to perform can be reasonably
expected to cause the failure of the life support device or
system, or to affect its safety or effectiveness.
provided in the labeling, can be reasonably expected to result
in a significant injury to the user.
BANNED SUBSTANCE COMPLIANCE
National Semiconductor certifies that the products and packing materials meet the provisions of the Customer Products Stewardship
Specification (CSP-9-111C2) and the Banned Substances and Materials of Interest Specification (CSP-9-111S2) and contain no ‘‘Banned
Substances’’ as defined in CSP-9-111S2.
National Semiconductor
Americas Customer
Support Center
Email: new.feedback@nsc.com
Tel: 1-800-272-9959
www.national.com
National Semiconductor
Europe Customer Support Center