Datasheet

MaxPossible_I=
V
R
SHUNT_MAX
SHUNT
MaxPossible_I=0.64
Minimum_LSB=
Max_Expected_I
32767
Minimum_LSB=18.311 10´
-6
Maximum_LSB =
Max_Expected_I
4095
Maximum_LSB = 146.520 10´
-6
Cal=trunc
0.04096
Current_LSB R´
SHUNT
Cal=4096
TMP512
TMP513
SBOS491A JUNE 2010 REVISED MAY 2011
www.ti.com
PROGRAMMING THE TMP512/13 POWER MEASUREMENT ENGINE
Calibration Register and Scaling
The Calibration Register makes it possible to set the scaling of the Current and Power Registers to whatever
values are most useful for a given application. One strategy may be to set the Calibration Register such that the
largest possible number is generated in the Current Register or Power Register at the expected full-scale point;
this approach yields the highest resolution. The Calibration Register can also be selected to provide values in the
Current and Power Registers that either provide direct decimal equivalents of the values being measured, or
yield a round LSB number. After these choices have been made, the Calibration Register also offers possibilities
for end user system-level calibration, where the value is adjusted slightly to cancel total system error.
This section presents two examples for configuring the TMP512/13 calibration. Both examples are written so the
information relates directly to the calibration setup found in the TMP512/13EVM software.
Calibration Example 1: Calibrating the TMP512/13 with no possibility for overflow.
NOTE
The numbers used in this example are the same used with the TMP512/13EVM software
as shown in Figure 32.
1. Establish the following parameters:
V
BUS_MAX
= 32
V
SHUNT_MAX
= 0.32
R
SHUNT
= 0.5
2. Use Equation 6 to determine the maximum possible current .
(6)
3. Choose the desired maximum current value. This value is selected based on system expectations.
Max_Expected_I = 0.6
4. Calculate the possible range of current LSBs. To calculate this range, first compute a range of LSBs that is
appropriate for the design. Next, select an LSB within this range. Note that the results will have the most
resolution when the minimum LSB is selected. Typically, an LSB is selected to be the nearest round number
to the minimum LSB value.
(7)
(8)
Choose an LSB in the range: Minimum_LSB < Selected_LSB < Maximum_LSB
Current_LSB = 20 × 10
6
Note:
This value was selected to be a round number near the Minimum_LSB. This selection allows for
good resolution with a rounded LSB.
5. Compute the Calibration Register value using Equation 9:
(9)
26 Copyright © 20102011, Texas Instruments Incorporated