Features
| | No external sense element required |
| | PWM output indicates the current magnitude and direction |
| | PWM output is easily interfaced with microprocessors and controllers |
| | Precision [Delta][Sigma] current-sense technique |
| | Low temperature sensitivity |
| | Internal filtering rejects false trips |
| | Internal Power-On-Reset (POR) |
| | DC Offset is less than 1 mA for 1A part |
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.
Key Specification
| | Ultra low insertion loss (typically 0.003 ) |
| | 2V to 5.5V supply range |
| | ±2% accuracy at room temperature for the 1A device (includes accuracy of the internal sense element) |
| | Low quiescent current in shutdown mode (typically 1.8 µA) |
| | 50 msec sampling interval |
| | In MSOP-8 Package |
Applications
- Battery charge/discharge gauge
- Motion control diagnostics
- Power supply load monitoring and management
- Resettable smart fuse
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+½)/1024.
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.
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 ±0.3% error in the duty cycle.
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.
The following tables show how to convert the duty cycle of the PWM output to a current value, and vice versa. The quantization error of ½ bit is not shown in these tables. Please see the "PWM Output and Current Accuracy" section for more details.
Current to Duty Cycle Conversion Table
| Sense Current(Imax = 1.0A) | Sense Current(Imax = 2.0A) | Duty Cycle (%) |
| 1 | 2 | 95.5 |
| 0.95 | 1.90 | 93.2 |
| 0.90 | 1.80 | 90.9 |
| 0.85 | 1.70 | 88.6 |
| 0.80 | 1.60 | 86.4 |
| 0.75 | 1.50 | 84.1 |
| 0.70 | 1.40 | 81.8 |
| 0.65 | 1.30 | 79.5 |
| 0.60 | 1.20 | 77.3 |
| 0.55 | 1.10 | 75.0 |
| 0.50 | 1 | 72.7 |
| 0.45 | 0.90 | 70.5 |
| 0.40 | 0.80 | 68.2 |
| 0.35 | 0.70 | 65.9 |
| 0.30 | 0.60 | 63.6 |
| 0.25 | 0.50 | 61.4 |
| 0.20 | 0.40 | 59.1 |
| 0.15 | 0.30 | 56.8 |
| 0.10 | 0.20 | 54.5 |
| 0.05 | 0.10 | 52.3 |
| 0.00 | 0.00 | 50 |
| -0.05 | -0.10 | 47.7 |
| -0.10 | -0.20 | 45.5 |
| -0.15 | -0.30 | 43.2 |
| -0.20 | -0.40 | 40.9 |
| -0.25 | -0.50 | 38.6 |
| -0.30 | -0.60 | 36.4 |
| -0.35 | -0.70 | 34.1 |
| -0.40 | -0.80 | 31.8 |
| -0.45 | -0.90 | 29.5 |
| -0.50 | -1 | 27.3 |
| -0.55 | -1.10 | 25 |
| -0.60 | -1.20 | 22.7 |
| -0.65 | -1.30 | 20.5 |
| -0.70 | -1.40 | 18.2 |
| -0.75 | -1.50 | 15.9 |
| -0.80 | -1.60 | 13.6 |
| -0.85 | -1.70 | 11.4 |
| -0.90 | -1.80 | 9.1 |
| -0.95 | -1.90 | 6.8 |
| -1 | -2 | 4.5 |
|