SBOS601A February 2012 – December 2021 INA230
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
Figure 9-1 shows a nominal 10-A load that creates a differential voltage of 20 mV across a 2-mΩ shunt resistor. The bus voltage for the INA230 is measured at the external VBUS input pin, which in this example is connected to the IN– pin to measure the voltage level delivered to the load. For this example, the VBUS pin measures less than 12 V because the voltage at the IN– pin is 11.98 V as a result of the voltage drop across the shunt resistor.
For this example, assuming a maximum expected current of 15 A, the Current_LSB is calculated to be 457.7 μA/bit using Equation 2. Using a value for the Current_LSB of 500 μA/bit or 1 mA/bit would significantly simplify the conversion from the Current register (04h) and Power register (03h) to amperes and watts. For this example, a value of 1 mA/bit was chosen for the Current_LSB. Using this value for the Current_LSB does trade a small amount of resolution for having a simpler conversion process on the user side. Using Equation 1 in this example with a Current_LSB value of 1 mA/bit and a shunt resistor of 2 mΩ results in a Calibration register value of 2560, or A00h.
The Current register (04h) is then calculated by multiplying the decimal value of the Shunt Voltage register (01h) contents by the decimal value of the Calibration register and then dividing by 2048, as shown in Equation 3. For this example, the Shunt Voltage register contains a value of 8,000 (representing 20 mV), which is multiplied by the Calibration register value of 2560 and then divided by 2048 to yield a decimal value for the Current register (04h) of 10000, or 2710h. Multiplying this value by 1 mA/bit results in the original 10-A level stated in the example.
The LSB for the Bus Voltage register (02h) is a fixed 1.25 mV/bit, which means that the 11.98 V present at the VBUS pin results in a register value of 2570h, or a decimal equivalent of 9584. Note that the MSB of the Bus Voltage register (02h) is always zero because the VBUS pin is only able to measure positive voltages.
The Power register (03h) is then calculated by multiplying the decimal value of the Current register, 10000, by the decimal value of the Bus Voltage register (02h), 9584, and then dividing by 20,000, as defined in Equation 4. For this example, the result for the Power register (03h) is 12B8h, or a decimal equivalent of 4792. Multiplying this result by the power LSB (25 times the [1 × 10–3 Current_LSB]) results in a power calculation of (4792 × 25 mW/bit), or 119.82 W. The power LSB has a fixed ratio to the Current_LSB of 25. For this example, a programmed 1 mA/bit Current_LSB results in a power LSB of 25 mW/bit. This ratio is internally programmed to ensure that the scaling of the power calculation is within an acceptable range. A manual calculation for the power being delivered to the load would use a bus voltage of 11.98 V (12 VCM – 20 mV shunt drop) multiplied by the load current of 10 A to give a result of 119.8 W.
Table 8-1 lists the steps for configuring, measuring, and calculating the values for current and power for this device.
STEP | REGISTER NAME | ADDRESS | CONTENTS | DEC | LSB | VALUE |
---|---|---|---|---|---|---|
Step 1 | Configuration register | 00h | 4127h | — | — | — |
Step 2 | Shunt register | 01h | 1F40h | 8000 | 2.5 µV | 20 mV |
Step 3 | Bus Voltage register | 02h | 2570h | 9584 | 1.25 mV | 11.98 V |
Step 4 | Calibration register | 05h | A00h | 2560 | — | — |
Step 5 | Current register | 04h | 2710 | 10000 | 1 mA | 10 A |
Step 6 | Power register | 03h | 12B8h | 4792 | 25 mW | 119.82 W |