An IC that combines a high-side current-sense amplifier with an analog voltage multiplier can easily measure the power dissipated in a load. One multiplier input connects to the load voltage and the other to an internal analog of the load current (i.e., a proportional voltage produced by the internal current-sense amplifier). The multiplier output (VL × IL) is then a voltage proportional to load power.
The internal multiplier also can enable extra accuracy in high-side current measurements, for applications in which the current signal is digitized by an analog-to-digital converter (ADC). Whether the ADC's voltage reference is internal or external to the ADC, the accuracy of the digitized load-current measurement depends strongly on the accuracy and stability of that reference.
To minimize this dependency on voltage-reference accuracy, connect the multiplier's external input to the reference voltage through a resistive divider (Fig. 1). The current measurement is then ratiometric. Any error or drift in the reference voltage has a proportional effect on the ADC's input, and thereby achieves a first-order cancellation of full-scale error caused by the reference voltage.
The circuit shown can measure battery charge and discharge currents in a wide range of applications. It works equally well with a voltage reference internal to the ADC, driving the R1-R2 divider.
The IC's multiplier output (POUT) feeds a 16-bit ADC whose input voltage range is 0 V to VREF. VREF, provided here by an external voltage regulator, should be between 1.2 V and 3.8 V (3.8 V in this case). The multiplier input must be limited to a range of 0 V to 1 V, which is accomplished by dividing the 3.8-V reference voltage with the R1-R2 resistor divider.
Assuming R2 = 1 kΩ and R1 = 2.8 kΩ, then VIN = 1 V. The IC has a gain of 25 between VSENSE and IOUT, and a sense-voltage range (VSENSE) of 0 V to 150 mV, which produces (at both POUT and IOUT) an output range of 0 V to 3.75 V.
Thus, the use of POUT (instead of IOUT) confers an advantage: the signal fed to the ADC, which is proportional to current in the load, is scaled by VREF. The following equation relates the POUT/VREF ratio to ILOAD, RSENSE, and the values of R1 and R2:
POUT/VREF = ILOAD × RSENSE × 25 × VREF × R2/(R1+R2)/ VREF = ILOAD × RSENSE × 25 × R2/(R1+R2).
Note that the ratio of ADC input to ADC full scale (POUT/VREF) does not depend on the accuracy of VREF.
Overall accuracy of the current measurement depends on many factors: resistor tolerance, amplifier gain error, voltage offset and bias current, reference voltage accuracy, ADC errors and drift versus temperature for all the above. This circuit improves accuracy by eliminating only one of these causes: the reference voltage inaccuracy. VREF is affected by at least three sources of error: initial dc error as a percentage of the nominal value, VREF changes with load and VREF changes with temperature.
A graph of the multiplier input (IN) versus temperature, with VCC = 5 V and VSENSE constant at 100 mV, shows the affect of temperature on the reference voltage (Fig. 2). To see the advantage of the ratiometric output at POUT, compare the POUT/VIN ratio and its linear ideal with the IOUT/VIN ratio and its linear ideal, as they vary with temperature (Fig. 3). Note that the ratiometric POUT output (top) does not deviate from the ideal.