Datasheet docs

{ "mpn": "INA228" }

INA228

85V, 20-Bit, Ultra-Precise Power/Energy/Charge Monitor With I2C Interface

Sensor

INA228 85-V, 20-Bit, Ultra-Precise Power/Energy/Charge Monitor With I2C Interface

1 Features

• High-resolution, 20-bit delta-sigma ADC

• Current monitoring accuracy:

– Offset voltage: ±1 µV (maximum)

– Offset drift: ±0.01 µV/°C (maximum)

– Gain error: ±0.05% (maximum)

– Gain error drift: ±20 ppm/°C (maximum)

– Common mode rejection: 154 dB (minimum)

• Power monitoring accuracy:

– 0.5% full scale, –40°C to +125°C (maximum)

• Energy and charge accuracy:

– 1.0% full scale (maximum)

• Fast alert response: 75 μs

• Wide common-mode range: –0.3 V to +85 V

• Bus voltage sense input: 0 V to 85 V

• Shunt full-scale differential range: ±163.84 mV / ±40.96 mV

• Input bias current: 2.5 nA (maximum)

• Temperature sensor: $\pm 1 ^ { \circ } \mathsf { C }$ (maximum at $2 5 ^ { \circ } \mathrm { C } )$

• Programmable resistor temperature compensation

• Programmable conversion time and averaging • 2.94-MHz high-speed I2C interface with 16 pinselectable addresses

• Operates from a 2.7-V to 5.5-V supply:

– Operational current: 640 µA (typical)

– Shutdown current: 5 µA (maximum)

2 Applications

• DC/DC converters and power inverters

• Industrial battery packs

• Power-over-ethernet (PoE)

• Telecom equipment

• Enterprise servers

3 Description

The INA228 is an ultra-precise digital power monitor with a 20-bit delta-sigma ADC specifically designed for current-sensing applications. The device can measure a full-scale differential input of ±163.84 mV or ±40.96 mV across a resistive shunt sense element with common-mode voltage support from –0.3 V to +85 V.

The INA228 reports current, bus voltage, temperature, power, energy and charge accumulation while employing a precision ±0.5% integrated oscillator, all while performing the needed calculations in the background. The integrated temperature sensor is ±1°C accurate for die temperature measurement and is useful in monitoring the system ambient temperature.

The low offset and gain drift design of the INA228 allows the device to be used in precise systems that do not undergo multi-temperature calibration during manufacturing. Further, the very low offset voltage and noise allow for use in mA to kA sensing applications and provide a wide dynamic range without significant power dissipation losses on the sensing shunt element. The low input bias current of the device permits the use of larger currentsense resistors, thus providing accurate current measurements in the micro-amp range.

The device allows for selectable ADC conversion times from 50 µs to 4.12 ms as well as sample averaging from 1x to 1024x, which further helps reduce the noise of the measured data.

Device Information(1)

PART NUMBERPACKAGEBODY SIZE (NOM)
INA228VSSOP (10)3.00 mm × 3.00 mm

(1) For all available packages, see the package option addendum at the end of the data sheet.

Simplified Block Diagram

Table of Contents

1 Features....1 7.4 Device Functional Modes....18 2 Applications....1 7.5 Programming....18 3 Description....1 7.6 Register Maps....21 4 Revision History....2 8 Application and Implementation....30 5 Pin Configuration and Functions....3 8.1 Application Information....30 6 Specifications....3 8.2 Typical Application....35 6.1 Absolute Maximum Ratings....3 9 Power Supply Recommendations....39 6.2 ESD Ratings....4 10 Layout....39 6.3 Recommended Operating Conditions....4 10.1 Layout Guidelines....39 6.4 Thermal Information....4 10.2 Layout Example....39 6.5 Electrical Characteristics....5 11 Device and Documentation Support....40 6.6 Timing Requirements (I²C)....7 11.1 Receiving Notification of Documentation Updates..40 6.7 Timing Diagram....7 11.2 Support Resources....40 6.8 Typical Characteristics....8 11.3 Trademarks....40 7 Detailed Description....12 11.4 Electrostatic Discharge Caution....40 7.1 Overview....12 11.5 Glossary....40 7.2 Functional Block Diagram....12 12 Mechanical, Packaging, and Orderable Information....40 7.3 Feature Description....12

4 Revision History

NOTE: Page numbers for previous revisions may differ from page numbers in the current version.

Changes from Revision * (January 2021) to Revision A (May 2022) Page

  • Updated the numbering format for tables, figures, and cross-references throughout the document....1
  • Updated the figures and equations throughput the document to align with the commercial data sheet....1
  • Changed Power-supply rejection ratio parameter name to Shunt offset voltage vs power supply in the Electrical Characteristics table....5
  • Added $V_{BUS}$ offset voltage vs power supply typical values to the Electrical Characteristics table....5
  • Added register field settings for the typical ADC conversion times....5
  • Added content to the High-Precision Delta-Sigma ADC section....13
  • Changed the Shunt Calibration (SHUNT_CAL) register 14-0 bit name from CURRLSB to SHUNT_CAL....21
  • Changed the Device ID (DEVICE_ID) register reset value....21
  • Changed the equation definition list in Equation 2....30

5 Pin Configuration and Functions


Figure 5-1. DGS Package 10-Pin VSSOP Top View

Table 5-1. Pin Functions

PINTYPEDESCRIPTION
NO.NAME
1A1Digital input $I^{2}C$ address pin. Connect to GND, SCL, SDA, or VS.
2A0Digital input $I^{2}C$ address pin. Connect to GND, SCL, SDA, or VS.
3ALERTDigital outputOpen-drain alert output, default state is active low.
4SDADigital input/outputOpen-drain bidirectional $I^{2}C$ data.
5SCLDigital input $I^{2}C$ clock input.
6VSPower supplyPower supply, 2.7 V to 5.5 V.
7GNDGroundGround.
8VBUSAnalog inputBus voltage input.
9IN-Analog inputNegative input to the device. For high-side applications, connect to load side of sense resistor. For low-side applications, connect to ground side of sense resistor.
10IN+Analog inputPositive input to the device. For high-side applications, connect to power supply side of sense resistor. For low-side applications, connect to load side of sense resistor.

6 Specifications

6.1 Absolute Maximum Ratings

over operating free-air temperature range (unless otherwise noted)(1)

MINMAXUNIT
$V_S$ Supply voltage6V
$V_{IN+}, V_{IN-}^{(2)}$ Differential ( $V_{IN+}$ ) - ( $V_{IN-}$ )-4040V
Common-mode-0.385V
$V_{VBUS}$ -0.385V
$V_{ALERT}$ ALERT-0.3 $V_S + 0.3$ V
$V_{IO}$ SDA, SCL-0.36V
$I_{IN}$ Input current into any pin5mA
$I_{OUT}$ Digital output current10mA
$T_J$ Junction temperature150°C
$T_{stg}$ Storage temperature-65150°C

(1) Stresses beyond those listed under Absolute Maximum Rating may cause permanent damage to the device. These are stress ratings only, which do not imply functional operation of the device at these or any other conditions beyond those indicated under Recommended Operating Condition. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.

(2) VIN+ and VIN– are the voltages at the IN+ and IN– pins, respectively.

6.2 ESD Ratings

VALUEUNIT
$V_{(ESD)}$ Electrostatic dischargeHuman body model (HBM), per ANSI/ESDA/JEDEC JS-001, all pins(1)±2000V
Charged device model (CDM), per JEDEC specification JESD22-C101, all pins(2)±1000

(1) JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process.
(2) JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process.

6.3 Recommended Operating Conditions

over operating free-air temperature range (unless otherwise noted)

MINNOMMAXUNIT
$V_{CM}$ Common-mode input range-0.385V
$V_S$ Operating supply range2.75.5V
$T_A$ Ambient temperature-40125°C

6.4 Thermal Information

THERMAL METRIC(1)INA228UNIT
DGS (VSSOP)
10 PINS
$R_{\theta JA}$ Junction-to-ambient thermal resistance177.6°C/W
$R_{\theta JC(top)}$ Junction-to-case (top) thermal resistance66.4°C/W
$R_{\theta JB}$ Junction-to-board thermal resistance99.5°C/W
$\Psi_{JT}$ Junction-to-top characterization parameter9.7°C/W
$Y_{JB}$ Junction-to-board characterization parameter97.6°C/W
$R_{\theta JC(bot)}$ Junction-to-case (bottom) thermal resistanceN/A°C/W

(1) For more information about traditional and new thermal metrics, see the Semiconductor and IC Package Thermal Metrics application report.

6.5 Electrical Characteristics

PARAMETERTEST CONDITIONSMINTYPMAXUNIT
INPUT
$V_{CM}$ Common-mode input range $T_A=-40°C to +125°C$ -0.385V
$V_{VBUS}$ Bus voltage input range085V
CMRRCommon-mode rejection-0.3 V &lt; $V_{CM}<85 V$ , $T_A=-40°C to +125°C$ 154170dB
$V_{DIFF}$ Shunt voltage input range $T_A=-40°C to +125°C, ADCRANGE=0$ -163.84163.84mV
$T_A=-40°C to +125°C, ADCRANGE=1$ -40.9640.96mV
$V_{os}$ Shunt offset voltage $V_{CM}=48 V, T_{CT}>280 μs$ ±0.3±1μV
$V_{CM}=0 V, T_{CT}>280 μs$ ±0.3±1μV
$dV_{os}/dT$ Shunt offset voltage drift $T_A=-40°C to +125°C$ ±2±10nV/°C
PSRRShunt offset voltage vs power supply $V_S=2.7 V to 5.5 V, T_A=-40°C to +125°C$ ±0.05±0.5μV/V
$V_{os\_bus}$ $V_{BUS} offset voltage$ $V_{BUS}=20 mV$ ±1±2.5mV
$dV_{os}/dT$ $V_{BUS} offset voltage drift$ $T_A=-40°C to +125°C$ ±4±20μV/°C
PSRR $V_{BUS} offset voltage vs power supply$ $V_S=2.7 V to 5.5 V$ ±0.25mV/V
$I_B$ Input bias currentEither input, IN+ or IN-, $V_{CM}=85 V$ 0.12.5nA
$Z_{VBUS}$ VBUS pin input impedanceActive mode0.811.2MΩ
$I_{VBUS}$ VBUS pin leakage currentShutdown mode, $V_{BUS}=85 V$ 10nA
$R_{DIFF}$ Input differential impedanceActive mode, $V_{IN+}-V_{IN-}<164 mV$ 92kΩ
DC ACCURACY
$G_{SERR}$ Shunt voltage gain error $V_{CM}=24 V$ ±0.01±0.05%
$G_{S\_DRFT}$ Shunt voltage gain error drift±20ppm/°C
$G_{BERR}$ $V_{BUS} voltage gain error$ ±0.01±0.05%
$G_{B\_DRFT}$ $V_{BUS} voltage gain error drift$ ±20ppm/°C
$P_{TME}$ Power total measurement error (TME) $T_A=-40°C to +125°C, at full scale$ ±0.5%
$E_{TME}$ Energy and charge TMEat full scale power±1%
ADC resolution20Bits
1 LSB step sizeShunt voltage, ADCRANGE = 0312.5nV
Shunt voltage, ADCRANGE = 178.125nV
Bus voltage195.3125μV
Temperature7.8125m°C
$T_{CT}$ ADC conversion-time(1)Conversion time field = 0h50μs
Conversion time field = 1h84
Conversion time field = 2h150
Conversion time field = 3h280
Conversion time field = 4h540
Conversion time field = 5h1052
Conversion time field = 6h2074
Conversion time field = 7h4120
INLIntegral Non-Linearity±2m%
DNLDifferential Non-Linearity0.2LSB
CLOCK SOURCE
$F_{OSC}$ Internal oscillator frequency1MHz
$F_{OSC\_TOL}$ Internal oscillator frequency tolerance $T_A=25°C$ ±0.5%
$T_A=-40°C to +125°C$ ±1%

6.5 Electrical Characteristics (continued)

at $T_A$ =25°C, $V_S$ =3.3 V, $V_{SENSE}$ = $V_{IN+}-V_{IN-}=0$ V, $V_{CM}$ = $V_{IN-}=48$ V (unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
TEMPERATURE SENSOR
Measurement range-40+125°C
Temperature accuracy $T_A$ =25°C±0.15±1°C
$T_A$ =-40°C to +125°C±0.2±2°C
POWER SUPPLY
$V_S$ Supply voltage2.75.5V
$I_Q$ Quiescent current $V_{SENSE}$ =0 V640750μA
$V_{SENSE}$ =0 V, $T_A$ =-40°C to +125°C1.1mA
$I_{QSD}$ Quiescent current, shutdownShutdown mode2.85μA
$T_{POR}$ Device start-up timePower-up (NPOR)300μs
From shutdown mode60
DIGITAL INPUT / OUTPUT
$V_{IH}$ Logic input level, highSDA, SCL1.25.5V
$V_{IL}$ Logic input level, lowGND0.4V
$V_{OL}$ Logic output level, low $I_{OL}$ =3 mAGND0.4V
$I_{IO\_LEAK}$ Digital leakage input current0 ≤ $V_{IN}$ ≤ $V_S$ -11μA

(1) Subject to oscillator accuracy and drift

6.6 Timing Requirements (I2C)

MINNOMMAXUNIT
$I^{2}C$ BUS (FAST MODE)
$F_{(SCL)}$ $I^{2}C$ clock frequency1400kHz
$t_{(BUF)}$ Bus free time between STOP and START conditions600ns
$t_{(HDSTA)}$ Hold time after a repeated START condition. After this period, the first clock is generated.100ns
$t_{(SUSTA)}$ Repeated START condition setup time100ns
$t_{(SUSTO)}$ STOP condition setup time100ns
$t_{(HDDAT)}$ Data hold time10900ns
$t_{(SUDAT)}$ Data setup time100ns
$t_{(LOW)}$ SCL clock low period1300ns
$t_{(HIGH)}$ SCL clock high period600ns
$t_F$ Data fall time300ns
$t_F$ Clock fall time300ns
$t_R$ Clock rise time300ns
$I^{2}C$ BUS (HIGH-SPEED MODE)
$F_{(SCL)}$ $I^{2}C$ clock frequency102940kHz
$t_{(BUF)}$ Bus free time between STOP and START conditions160ns
$t_{(HDSTA)}$ Hold time after a repeated START condition. After this period, the first clock is generated.100ns
$t_{(SUSTA)}$ Repeated START condition setup time100ns
$t_{(SUSTO)}$ STOP condition setup time100ns
$t_{(HDDAT)}$ Data hold time10125ns
$t_{(SUDAT)}$ Data setup time20ns
$t_{(LOW)}$ SCL clock low period200ns
$t_{(HIGH)}$ SCL clock high period60ns
$t_F$ Data fall time80ns
$t_F$ Clock fall time40ns
$t_R$ Clock rise time40ns

6.7 Timing Diagram


Figure 6-1. I2C Timing Diagram

6.8 Typical Characteristics

at $\mathsf { T } _ { \mathsf { A } } = 2 5 ^ { \circ } \mathsf { C }$ , VVS = 3.3 V, VCM = 48 V, $\mathsf { V } _ { \mathsf { S E N S E } } = 0$ and $V _ { \mathsf { V B U S } } = 4 8$ V (unless otherwise noted)

$$ V _ {C M} = 4 8 \mathrm{V} $$

Figure 6-2. Shunt Input Offset Voltage Production Distribution

$$ V _ {C M} = 0 \mathrm{V} $$

Figure 6-4. Shunt Input Offset Voltage vs. Temperature
Figure 6-3. Shunt Input Offset Voltage Production Distribution


Figure 6-6. Shunt Input Common-Mode Rejection Ratio vs. Temperature

Figure 6-5. Common-Mode Rejection Ratio Production Distribution

Figure 6-7. Shunt Input Gain Error Production Distribution

6.8 Typical Characteristics (continued)

at $\mathsf { T } _ { \mathsf { A } } = 2 5 \ \mathsf { ^ { o } C } , \mathsf { V } _ { \mathsf { V S } } = 3 . 3 \ \mathsf { V } , \mathsf { V } _ { \mathsf { C M } } = 4 8 \ \mathsf { V } , \mathsf { V } _ { \mathsf { S E N S E } } = 0 , \mathsf { a n d V } _ { \mathsf { V B U S } } = 4 8 \ \mathsf { V } , \mathsf { V } _ { \mathsf { C M S E } } = 5 . 3 \ \mathsf { V } .$ (unless otherwise noted)

Figure 6-8. Shunt Input Gain Error vs. Temperature

Figure 6-9. Shunt Input Gain Error vs. Common-Mode Voltage

Figure 6-10. Bus Input Offset Voltage Production Distribution

Figure 6-12. Bus Input Gain Error Production Distribution

Figure 6-11. Bus Input Offset Voltage vs. Temperature

Figure 6-13. Bus Input Gain Error vs. Temperature

6.8 Typical Characteristics (continued)

at $\mathsf { T } _ { \mathsf { A } } = 2 5 ^ { \circ } \mathsf { C }$ , VVS = 3.3 V, VCM = 48 V, $\mathsf { V } _ { \mathsf { S E N S E } } = 0$ and $V _ { \mathsf { V B U S } } = 4 8$ V (unless otherwise noted)

Figure 6-14. Input Bias Current vs. Differential Input Voltage

Figure 6-16. Input Bias Current vs. Temperature

Figure 6-15. Input Bias Current (IB+ or IB–) vs. Common-Mode Voltage


Figure 6-18. Active IQ vs. Temperature

Figure 6-17. Input Bias Current vs. Temperature, Shutdown

Figure 6-19. Active IQ vs. Supply Voltage

6.8 Typical Characteristics (continued)

at $\mathsf { T } _ { \mathsf { A } } = 2 5 \ \mathsf { ^ { o } C } , \mathsf { V } _ { \mathsf { V S } } = 3 . 3 \ \mathsf { V } , \mathsf { V } _ { \mathsf { C M } } = 4 8 \ \mathsf { V } , \mathsf { V } _ { \mathsf { S E N S E } } = 0 , \mathsf { a n d V } _ { \mathsf { V B U S } } = 4 8 \ \mathsf { V } , \mathsf { V } _ { \mathsf { C M S E } } = 5 . 3 \ \mathsf { V } .$ (unless otherwise noted)

Figure 6-20. Shutdown IQ vs. Supply Voltage

Figure 6-22. Active IQ vs. Clock Frequency

Figure 6-21. Shutdown IQ vs. Temperature


Figure 6-24. Internal Clock Frequency vs. Power Supply

Figure 6-23. Shutdown IQ vs. Clock Frequency

Figure 6-25. Internal Clock Frequency vs. Temperature

7 Detailed Description

7.1 Overview

The INA228 device is a digital current sense amplifier with an $\mathsf { I 2 C }$ digital interface. It measures shunt voltage, bus voltage and internal temperature while calculating current, power, energy and charge necessary for accurate decision making in precisely controlled systems. Programmable registers allow flexible configuration for measurement precision as well as continuous or triggered operation. Detailed register information is found in Section 7.6.

7.2 Functional Block Diagram

7.3 Feature Description

7.3.1 Versatile High Voltage Measurement Capability

The INA228 operates off a 2.7 V to 5.5 V supply but can measure voltage and current on rails as high as 85 V. The current is measured by sensing the voltage drop across a external shunt resistor at the IN+ and IN– pins. The input stage of the INA228 is designed such that the input common-mode voltage can be higher than the device supply voltage, $\mathsf { V } _ { \mathsf { S } }$ . The supported common-mode voltage range at the input pins is –0.3 V to +85 V, which makes the device well suited for both high-side and low-side current measurements. There are no special considerations for power-supply sequencing because the common-mode input range and device supply voltage are independent of each other; therefore, the bus voltage can be present with the supply voltage off, and vice-versa without damaging the device.

The device also measures the bus supply voltage through the $\mathsf { V } _ { \mathsf { B U S } }$ pin and temperature through the integrated temperature sensor. The differential shunt voltage is measured between the IN+ and IN– pins, while the bus voltage is measured with respect to device ground. Monitored bus voltages can range from 0 V to 85 V, while monitored temperatures can range from -40 ºC to +125 ºC.

Shunt voltage, bus voltage, and temperature measurements are multiplexed internally to a single ADC as shown in Figure 7-1.


Figure 7-1. High-Voltage Input Multiplexer

7.3.2 Internal Measurement and Calculation Engine

The current and charge are calculated after a shunt voltage measurement, while the power and energy are calculated after a bus voltage measurement. Power and energy are calculated based on the previous current calculation and the latest bus voltage measurement. If the value loaded into the SHUNT_CAL register is zero, the power, energy and charge values will be reported as zero.

The current, voltage, and temperature values are immediate results when the number of averages is set to one as shown in Figure 7-2. However, when averaging is used, each ADC measurement is an intermediate result which is stored in the corresponding averaging registers. Following every ADC sample, the newly-calculated values for current, voltage, and temperature are appended to their corresponding averaging registers until the set number of averages is achieved. After all of the samples have been measured the average current and voltage is determined, the power is calculated and the results are loaded to the corresponding output registers where they can then be read.

The energy and charge values are accumulated for each conversion cycle. Therefore the INA228 averaging function is not applied to these.

Calculations for power, charge and energy are performed in the background and do not add to the overall conversion time.


Figure 7-2. Power, Energy and Charge Calculation Scheme

7.3.3 Low Bias Current

The INA228 features very low input bias current which provides several benefits. The low input bias current of the INA228 reduces the current consumed by the device in both active and shutdown state. Another benefit of low bias current is that it allows the use of input filters to reject high-frequency noise before the signal is converted to digital data. In traditional digital current-sense amplifiers, the addition of input filters comes at the cost of reduced accuracy. However, as a result of the low bias current, the reduction in accuracy due to input filters is minimized. An additional benefit of low bias current is the ability to use a larger shunt resistor to accurately sense smaller currents. Use of a larger value for the shunt resistor allows the device to accurately monitor currents in the sub-mA range.

The bias current in the INA228 is the smallest when the sensed current is zero. As the current starts to increase, the differential voltage drop across the shunt resistor increases which results in an increase in the bias current as shown in Figure 6-14.

7.3.4 High-Precision Delta-Sigma ADC

The integrated ADC is a high-performance, low-offset, low-drift, delta-sigma ADC designed to support bidirectional current flow at the shunt voltage measurement channel. The measured inputs are selected through the high-voltage input multiplexer to the ADC inputs as shown in Figure 7-1. The ADC architecture enables lower drift measurement across temperature and consistent offset measurements across the common-mode voltage, temperature, and power supply variations. A low-offset ADC is preferred in current sensing applications to provide a near 0-V offset voltage that maximizes the useful dynamic range of the system.

ADC conversion time for each input can be set independently by the VSHCT, VBUSCT, and VTCT bits in register ADC_CONFIG, respectively, in the range of 50 µs to 4.12 ms. Furthermore, a sample averaging function in the range of 1x to 1024x is implemented and can be selected by the AVG bits in ADC_CONFIG register. The sample conversion time and the averaging are a part of the integrated digital filter described in Section 7.3.4.1.

The INA228 can measure the shunt voltage, bus voltage, and die temperature, or a combination of any based on the selected MODE bits setting in the ADC_CONFIG register. This permits selecting modes to convert only the shunt voltage or bus voltage to further allow the user to configure the monitoring function to fit the specific application requirements. When no averaging is selected, once an ADC conversion is completed, the converted values are independently updated in their corresponding registers where they can be read through the digital interface at the time of conversion end. The conversion time for shunt voltage, bus voltage, and temperature inputs are set independently from 50 µs to 4.12ms depending on the values programmed in the ADC_CONFIG register. Enabled measurement inputs are converted sequentially so the total time to convert all inputs depends on the conversion time for each input and the number of inputs enabled. When averaging is used, the intermediate values are subsequently stored in an averaging accumulator, and the conversion sequence repeats until the number of averages is reached. After all of the averaging has been completed, the final values are updated in the corresponding registers that can then be read. These values remain in the data output registers until they are replaced by the next fully completed conversion results. In this case, reading the data output registers does not affect a conversion in progress.

The ADC has two conversion modes—continuous and triggered—set by the MODE bits in ADC_CONFIG register. In continuous-conversion mode, the ADC will continuously convert the input measurements and update the output registers as described above in an indefinite loop. In triggered-conversion mode, the ADC will convert the input measurements as described above, after which the ADC will go into shutdown mode until another single-shot trigger is generated by writing to the MODE bits. Writing the MODE bits will interrupt and restart triggered or continuous conversions that are in progress. Although the device can be read at any time, and the data from the last conversion remains available, the Conversion Ready flag (CNVRF bit in DIAG_ALRT register) is provided to help coordinate triggered conversions. This bit is set after all conversions and averaging is completed.

The Conversion Ready flag (CNVRF) clears under these conditions:

• Writing to the ADC_CONFIG register (except for selecting shutdown mode); or

• Reading the DIAG_ALRT Register

While the INA228 device is used in either one of the conversion modes, a dedicated digital engine is calculating the current, power, charge and energy values in the background as described in Section 7.3.2. In triggered mode, the accumulation registers (ENERGY and CHARGE) are invalid, as the device does not keep track of elapsed time. For applications that need critical measurements in regards to accumulation of time for energy and charge measurements, the device must be configured to use continuous conversion mode, as the accumulated results are continuously updated and can provide true system representation of charge and energy consumption in a system. All of the calculations are performed in the background and do not contribute to conversion time.

For applications that must synchronize with other components in the system, the INA228 conversion can be delayed by programming the CONVDLY bits in CONFIG register in the range between 0 (no delay) and 510 ms. The resolution in programming the conversion delay is 2 ms. The conversion delay is set to 0 by default. Conversion delay can assist in measurement synchronization when multiple external devices are used for voltage or current monitoring purposes. In applications where an time aligned voltage and current measurements are needed, two devices can be used with the current measurement delayed such that the external voltage and current measurements will occur at approximately the same time. Keep in mind that even though the internal time base for the ADC is precise, synchronization will be lost over time due to internal and external time base mismatch.

7.3.4.1 Low Latency Digital Filter

The device integrates a low-pass digital filter that performs both decimation and filtering on the ADC output data, which helps with noise reduction. The digital filter is automatically adjusted for the different output data rates and always settles within one conversion cycle. The user has the flexibility to choose different output conversion time periods TCT from 50 µs to 4.12 ms. With this configuration the first amplitude notch appears at the Nyquist frequency of the output signal which is determined by the selected conversion time period and defined as fNOTCH= 1 / (2 x TCT). This means that the filter cut-off frequency will scale proportionally with the data output rate as described. Figure 7-3 shows the filter response when the 1.052 ms conversion time period is selected.


Figure 7-3. ADC Frequency Response

7.3.4.2 Flexible Conversion Times and Averaging

ADC conversion times for shunt voltage, bus voltage and temperature can be set independently from 50 μs to 4.12 ms. The flexibility in conversion time allows for robust operation in a variety of noisy environments. The device also allows for programmable averaging times from a single conversion all the way to an average of 1024 conversions. The amount of averaging selected applies uniformly to all active measurement inputs. The ADC_CONFIG register shown in Table 7-6 provides additional details on the supported conversion times and averaging modes. The INA228 effective resolution of the ADC can be increased by increasing the conversion time and increasing the number of averages. Figure 7-4 and Figure 7-5 shown below illustrate the effect of conversion time and averaging on a constant input signal.


Figure 7-4. Noise vs. Conversion Time (Averaging = 1)


Figure 7-5. Noise vs. Conversion Time (Averaging = 128)

Settings for the conversion time and number of conversions averaged impact the effective measurement resolution. For more detailed information on how averaging reduces noise and increases the effective number of bits (ENOB) see Section 8.1.3

7.3.5 Shunt Resistor Drift Compensation

The INA228 device has an internal temperature sensor which can measure die temperature from $- 4 0 ~ ^ { \circ } \mathsf C$ to +125 °C. The accuracy of the temperature sensor is $\pm 2 ~ ^ { \circ } \mathsf { C }$ across the operational temperature range. The temperature value is stored inside the DIETEMP register and can be read through the digital interface.

The device has the capability to utilize the temperature measurement to compensate for shunt resistor temperature variance. This feature can be enabled by setting the TEMPCOMP bit in the CONFIG register, while the SHUNT_TEMPCO is the register that can be programmed to enter the temperature coefficient of the used shunt. The full scale value of the SHUNT_TEMPCO register is 16384 ppm/°C. The temperature compensation is referenced to $+ 2 5 ~ ^ { \circ } C$ . The shunt is always assumed to have a positive temperature coefficient and the temperature compensation follows Equation 1:

$$ R _ {\mathrm{ADJ}} = R _ {\mathrm{NOM}} + \frac {R _ {\mathrm{NOM}} \times (\text { DIETEMP } - 2 5) \times \text { SHUNT_TEMPCO }}{1 0 ^ {6}}\tag{1} $$

where

$\mathsf { R } _ { \mathsf { N O M } }$ is the nominal shunt resistance in Ohms at $2 5 ^ { \circ } \mathsf { C }$

• DIETEMP is the temperature value in the DIETEMP register in $^ \circ \mathsf { C }$

• SHUNT_TEMPCO is the shunt temperature coefficient in ppm ${ \mathsf { \Omega } } ^ { \circ } { \mathsf { C } } .$

When this feature is enabled and correctly programmed, the CURRENT register data is corrected by constantly monitoring the die temperature and becomes a function of temperature. The effectiveness of the compensation will depend on how well the resistor and the INA228 are thermally coupled since the die temperature of the INA228 is used for the compensation.

Note

Warning: If temperature compensation is enabled under some conditions, the calculated current result may be lower than the actual value. This condition typically occurs when there is a high value of shunt voltage ( >70% of full range), there is a shunt with high temperature-coefficient value ( >2000 ppm/°C), and there is a high temperature $( > 1 0 0 ^ { \circ } \mathrm { C } )$ . Consider the example of constant current flowing through a high temperature coefficient shunt such that at lower temperatures the shunt voltage is in its upper range. As the temperature increases, the device will correctly report a constant current until the maximum shunt voltage is reached. As temperature continues to increase after the maximum shunt voltage is reached, the device will start reporting lower currents. This is because the effective resistance calculated will continue to increase while the detected shunt voltage will remain constant due to the voltage exceeding the selected ADC range.

7.3.6 Integrated Precision Oscillator

The internal timebase of the device is provided by an internal oscillator that is trimmed to less than 0.5% tolerance at room temperature. The precision oscillator is the timing source for ADC conversions, as well as the time-count used for calculation of energy and charge. The digital filter response varies with conversion time; therefore, the precise clock ensures filter response and notch frequency consistency across temperature. On power up, the internal oscillator and ADC take roughly 300 µs to reach <1% error stability. Once the clock stabilizes, the ADC data output will be accurate to the electrical specifications provided in Section 6.

7.3.7 Multi-Alert Monitoring and Fault Detection

The INA228 includes a multipurpose, open-drain ALERT output pin that can be used to report multiple diagnostics or as an indicator that the ADC conversion is complete when the device is operating in both triggered and continuous conversion mode. The diagnostics listed in Table 7-1 are constantly monitored and can be reported through the ALERT pin whenever the monitored output value crosses its associated out-of-range threshold.

Table 7-1. ALERT Diagnostics Description

INA228 DIAGNOSTICSTATUS BIT IN DIAG_ALRT REGISTER (RO)OUT-OF-RANGE THRESHOLD REGISTER (R/W)REGISTER DEFAULT VALUE
Shunt Under Voltage LimitSHNTULSUVL0x8000 h(two&#x27;s complement)
Shunt Over Voltage LimitSHNTOLSOVL0x7FFF h(two&#x27;s complement)
Bus Voltage Over-LimitBUSOLBOVL0x7FFF h(two&#x27;s complement, positive values only)
Bus Voltage Under-LimitBUSULBUVL0x0000 h(two&#x27;s complement, positive values only)
Temperature Over-LimitTMPOLTEMP_LIMIT0xFFFF h(two&#x27;s complement, positive values only)
Power Over-LimitPOLPWR_LIMIT0x7FFF h(two&#x27;s complement)

A read of the DIAG_ALRT register is used to determine which diagnostic has triggered the ALERT pin. This register, shown in Table 7-16, is also used to monitor other associated diagnostics as well as configure some ALERT pin functions.

• Alert latch enable — In case the ALERT pin is triggered, this function will hold the value of the pin even after all diagnostic conditions have cleared. A read of the DIAG_ALRT register will reset the status of the ALERT pin. This function is enabled by setting the ALATCH bit.

• Conversion ready enable — Enables the ALERT pin to assert when an ADC conversion has completed and output values are ready to be read through the digital interface. This function is enabled by setting the CNVR bit. The conversion completed events can also be read through the CNVRF bit regardless of the CNVR bit setting.

• Alert comparison on averaged output — Allows the out-of-range threshold value to be compared to the averaged data values produced by the ADC. This helps to additionally remove noise from the output data when compared to the out-of-range threshold to avoid false alerts due to noise. However, the diagnostic will be delayed due to the time needed for averaging. This function is enabled by setting the SLOWALERT bit.

• Alert polarity — Allows the device to invert the active state of the ALERT pin. Note that the ALERT pin is an open-drain output that must be pulled-up by a resistor. The ALERT pin is active-low by default and can be configured for active high function using the APOL control bit.

Other diagnostic functions that are not reported by the ALERT pin but are available by reading the DIAG_ALRT register:

• Math overflow — Indicated by the MATHOF bit, reports when an arithmetic operation has caused an internal register overflow.

• Memory status — Indicated by the MEMSTAT bit, monitors the health of the device non-volatile trim memory. This bit should always read '1' when the device is operating properly.

• Energy overflow — Indicated by the ENERGYOF bit, reports when the ENERGY register has reached an overflow state due to data accumulation.

• Charge overflow — Indicated by the CHARGEOF bit, reports when the CHARGE register has reached an overflow state due to data accumulation.

When the ALERT pin is configured to report the ADC conversion complete event, the ALERT pin becomes a multipurpose reporting output. Figure 7-6 shows an example where the device reports ADC conversion complete events while the INA228 device is subject to shunt over voltage (over current) event, bus under voltage event, over temperature event and over power-limit event.


Figure 7-6. Multi-Alert Configuration

7.4 Device Functional Modes

7.4.1 Shutdown Mode

In addition to the two conversion modes (continuous and triggered), the device also has a shutdown mode (selected by the MODE bits in ADC_CONFIG register) that reduces the quiescent current to less than 5 µA and turns off current into the device inputs, reducing the impact of supply drain when the device is not being used. The registers of the device can be written to and read from while the device is in shutdown mode. The device remains in shutdown mode until another triggered conversion command or continuous conversion command is received.

The device can be triggered to perform conversions while in shutdown mode. When a conversion is triggered, the ADC will start conversion; once conversion completes the device will return to the shutdown state.

Note that the shutdown current is specified with an inactive communications bus. Active clock and data activity will increase the current consumption as a function of the bus frequency as shown in Figure 6-23.

7.4.2 Power-On Reset

Power-on reset (POR) is asserted when ${ \sf V } _ { \sf S }$ drops below 1.26V (typical) at which all of the registers are reset to their default values. A manual device reset can be initiated by setting the RST bit in the CONFIG register. The default power-up register values are shown in the reset column for each register description. Links to the register descriptions are shown in Section 7.6.

7.5 Programming

7.5.1 I2C Serial Interface

The INA228 operates only as a secondary device on both the SMBus and ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ interfaces. Connections to the bus are made through the open-drain SDA and SCL lines. The SDA and SCL pins feature integrated spike suppression filters and Schmitt triggers to minimize the effects of input spikes and bus noise. Although the device integrates spike suppression into the digital I/O lines, proper layout techniques help minimize the amount of coupling into the communication lines. This noise introduction could occur from capacitive coupling signal edges between the two communication lines themselves or from other switching noise sources present in the system. Routing traces in parallel with ground in between layers on a printed-circuit board (PCB) typically reduces the effects of coupling between the communication lines. Shielded communication lines reduce the possibility of unintended noise coupling into the digital I/O lines that could be incorrectly interpreted as start or stop commands.

The INA228 supports the transmission protocol for fast mode (1 kHz to 400 kHz) and high-speed mode (1 kHz to 2.94 MHz). All data bytes are transmitted most significant byte first and follow the SMBus 3.0 transfer protocol.

To communicate with the INA228, the main device must first address secondary devices through a secondary device address byte. The secondary device address byte consists of seven address bits and a direction bit that indicates whether the action is to be a read or write operation.

The device has two address pins, A0 and A1. Table 7-2 lists the pin logic levels for each of the 16 possible addresses. The device samples the state of pins A0 and A1 on every bus communication. Establish the pin states before any activity on the interface occurs. When connecting the SDA pin to either A0 or A1 to set the device address, additional hold time of 100 ns is needed on the MSB of the I2C address to insure correct device addressing.

Table 7-2. Address Pins and Secondary Device Addresses

A1A0Secondary Device Address
GNDGND1000000
GNDVS1000001
GNDSDA1000010
GNDSCL1000011
VSGND1000100
VSVS1000101
VSSDA1000110
VSSCL1000111
SDAGND1001000
SDAVS1001001
SDASDA1001010
SDASCL1001011
SCLGND1001100
SCLVS1001101
SCLSDA1001110
SCLSCL1001111

7.5.1.1 Writing to and Reading Through the I2C Serial Interface

Accessing a specific register on the INA228 is accomplished by writing the appropriate value to the register pointer. Refer to Section 7.6 for a complete list of registers and corresponding addresses. The value for the register pointer (as shown in Figure 7-9) is the first byte transferred after the secondary device address byte with the R/W bit low. Every write operation to the device requires a value for the register pointer.

Writing to a register begins with the first byte transmitted by the main device. This byte is the secondary device address, with the R/W bit low. The device then acknowledges receipt of a valid address. The next byte transmitted by the main device is the address of the register to be accessed. This register address value updates the register pointer to the desired internal device register. The next two bytes are written to the register addressed by the register pointer. The device acknowledges receipt of each data byte. The main device may terminate data transfer by generating a start or stop condition.

When reading from the device, the last value stored in the register pointer by a write operation determines which register is read during a read operation. To change the register pointer for a read operation, a new value must be written to the register pointer. This write is accomplished by issuing a secondary device address byte with the R/ W bit low, followed by the register pointer byte. No additional data are required. The main device then generates a start condition and sends the address byte for the secondary device with the R/W bit high to initiate the read command. The next byte is transmitted by the secondary device and is the most significant byte of the register indicated by the register pointer. This byte is followed by an Acknowledge from the main device; then the secondary device transmits the least significant byte. The main device may or may not acknowledge receipt of the second data byte. The main device may terminate data transfer by generating a Not-Acknowledge after receiving any data byte, or generating a start or stop condition. If repeated reads from the same register are desired, it is not necessary to continually send the register pointer bytes; the device retains the register pointer value until it is changed by the next write operation.

Figure 7-7 shows the write operation timing diagram. Figure 7-8 shows the read operation timing diagram. These diagrams are shown for reading/writing to 16 bit registers. Registers with a higher number of bytes will behave similarly.

Register bytes are sent most-significant byte first, followed by the least significant byte.

A. The value of the Secondary Device Address byte is determined by the settings of the A0 and A1 pins. Refer to Table 7-2
B. The device does not support packet error checking (PEC) or perform clock stretching.

Figure 7-7. Timing Diagram for Write Word Format

A. The value of the Secondary Device Address byte is determined by the settings of the A0 and A1 pins. Refer to Table 7-2
B. Read data is from the last register pointer location. If a new register is desired, the register pointer must be updated. See Figure 7-9.
C. ACK by the main device can also be sent.
D. The device does not support packet error checking (PEC) or perform clock stretching.

Figure 7-8. Timing Diagram for Read Word Format

A. The value of the Secondary Device Address Byte is determined by the settings of the A0 and A1 pins. Refer to Table 7-2.

Figure 7-9. Typical Register Pointer Set

7.5.1.2 High-Speed I2C Mode

When the bus is idle, both the SDA and SCL lines are pulled high by the pullup resistors. The main device generates a start condition followed by a valid serial byte containing high-speed (HS) main device code 00001XXX. This transmission is made in fast (400 kHz) or standard (100 kHz) (F/S) mode at no more than 400 kHz. The device does not acknowledge the HS main device code, but does recognize it and switches its internal filters to support 2.94-MHz operation.

The main device then generates a repeated start condition (a repeated start condition has the same timing as the start condition). After this repeated start condition, the protocol is the same as F/S mode, except that transmission speeds up to 2.94 MHz are allowed. Instead of using a stop condition, use repeated start conditions to maintain the bus in HS-mode. A stop condition ends the HS-mode and switches all the internal filters of the device to support the F/S mode.

7.5.1.3 SMBus Alert Response

The INA228 is designed to respond to the SMBus Alert Response address. The SMBus Alert Response provides a quick fault identification for simple secondary devices. When an Alert occurs, the main device can broadcast the Alert Response secondary device address (0001 100) with the Read/Write bit set high. Following this Alert Response, any secondary device that generates an alert identifies itself by acknowledging the Alert Response and sending its address on the bus.

The Alert Response can activate several different slave devices simultaneously, similar to the ${ \mathsf { I } } ^ { 2 } { \mathsf { C } }$ General Call. If more than one slave attempts to respond, bus arbitration rules apply. The losing device does not generate an Acknowledge and continues to hold the Alert line low until that device wins arbitration.

7.6 Register Maps

7.6.1 INA228 Registers

Table 7-3 lists the INA228 registers. All register locations not listed in Table 7-3 should be considered as reserved locations and the register contents should not be modified.

Table 7-3. INA228 Registers

AddressAcronymRegister NameRegister Size (bits)Section
0hCONFIGConfiguration16Go
1hADC_CONFIGADC Configuration16Go
2hSHUNT_CALShunt Calibration16Go
3hSHUNT_TEMPCOShunt Temperature Coefficient16Go
4hVSHUNTShunt Voltage Measurement24Go
5hVBUSBus Voltage Measurement24Go
6hDIETEMPTemperature Measurement16Go
7hCURRENTCurrent Result24Go
8hPOWERPower Result24Go
9hENERGYEnergy Result40Go
AhCHARGECharge Result40Go
BhDIAG_ALRTDiagnostic Flags and Alert16Go
ChSOVLShunt Overvoltage Threshold16Go
DhSUVLShunt Undervoltage Threshold16Go
EhBOVLBus Overvoltage Threshold16Go
FhBUVLBus Undervoltage Threshold16Go
10hTEMP_LIMITTemperature Over-Limit Threshold16Go
11hPWR_LIMITPower Over-Limit Threshold16Go
3EhMANUFACTURER_IDManufacturer ID16Go
3FhDEVICE_IDDevice ID16Go

Complex bit access types are encoded to fit into small table cells. Table 7-4 shows the codes that are used for access types in this section.

Table 7-4. INA228 Access Type Codes

Access TypeCodeDescription
Read Type
RRRead
Write Type
WWWrite
Reset or Default Value
-nValue after reset or the default value

7.6.1.1 Configuration (CONFIG) Register (Address = 0h) [reset = 0h]

The CONFIG register is shown in Table 7-5.

Return to the Summary Table.

Table 7-5. CONFIG Register Field Descriptions

BitFieldTypeResetDescription
15RSTR/W0hReset Bit. Setting this bit to &#x27;1&#x27; generates a system reset that is the same as power-on reset.Resets all registers to default values.0h = Normal Operation1h = System Reset sets registers to default valuesThis bit self-clears.
14RSTACCR/W0hResets the contents of accumulation registers ENERGY and CHARGE to 00h = Normal Operation1h = Clears registers to default values for ENERGY and CHARGE registers
13-6CONVDLYR/W0hSets the Delay for initial ADC conversion in steps of 2 ms.0h = 0 s1h = 2 msFFh = 510 ms
5TEMPCOMPR/W0hEnables temperature compensation of an external shunt0h = Shunt Temperature Compensation Disabled1h = Shunt Temperature Compensation Enabled
4ADCRANGER/W0hShunt full scale range selection across IN+ and IN-.0h = ±163.84 mV1h = ±40.96 mV
3-0RESERVEDR0hReserved. Always reads 0.

7.6.1.2 ADC Configuration (ADC_CONFIG) Register (Address = 1h) [reset = FB68h]

The ADC_CONFIG register is shown in Table 7-6.

Return to the Summary Table.

Table 7-6. ADC_CONFIG Register Field Descriptions

BitFieldTypeResetDescription
15-12MODER/WFhThe user can set the MODE bits for continuous or triggered mode on bus voltage, shunt voltage or temperature measurement.0h = Shutdown1h = Triggered bus voltage, single shot2h = Triggered shunt voltage, single shot3h = Triggered shunt voltage and bus voltage, single shot4h = Triggered temperature, single shot5h = Triggered temperature and bus voltage, single shot6h = Triggered temperature and shunt voltage, single shot7h = Triggered bus voltage, shunt voltage and temperature, single shot8h = Shutdown9h = Continuous bus voltage onlyAh = Continuous shunt voltage onlyBh = Continuous shunt and bus voltageCh = Continuous temperature onlyDh = Continuous bus voltage and temperatureEh = Continuous temperature and shunt voltageFh = Continuous bus voltage, shunt voltage and temperature
11-9VBUSCTR/W5hSets the conversion time of the bus voltage measurement:0h = 50 μs1h = 84 μs2h = 150 μs3h = 280 μs4h = 540 μs5h = 1052 μs6h = 2074 μs7h = 4120 μs
8-6VSHCTR/W5hSets the conversion time of the shunt voltage measurement:0h = 50 μs1h = 84 μs2h = 150 μs3h = 280 μs4h = 540 μs5h = 1052 μs6h = 2074 μs7h = 4120 μs
5-3VTCTR/W5hSets the conversion time of the temperature measurement:0h = 50 μs1h = 84 μs2h = 150 μs3h = 280 μs4h = 540 μs5h = 1052 μs6h = 2074 μs7h = 4120 μs
2-0AVGR/W0hSelects ADC sample averaging count. The averaging setting applies to all active inputs.When &gt;0h, the output registers are updated after the averaging has completed.0h = 11h = 42h = 163h = 644h = 1285h = 2566h = 5127h = 1024

7.6.1.3 Shunt Calibration (SHUNT_CAL) Register (Address = 2h) [reset = 1000h]

The SHUNT_CAL register is shown in Table 7-7.

Return to the Summary Table.

Table 7-7. SHUNT_CAL Register Field Descriptions

BitFieldTypeResetDescription
15RESERVEDR0hReserved. Always reads 0.
14-0SHUNT_CALR/W1000hThe register provides the device with a conversion constant value that represents shunt resistance used to calculate current value in Amperes.This also sets the resolution for the CURRENT register.Value calculation under Section 8.1.2.

7.6.1.4 Shunt Temperature Coefficient (SHUNT_TEMPCO) Register (Address = 3h) [reset = 0h]

The SHUNT_TEMPCO register is shown in Table 7-8.

Return to the Summary Table.

Table 7-8. SHUNT_TEMPCO Register Field Descriptions

BitFieldTypeResetDescription
15-14RESERVEDR0hReserved. Always reads 0.
13-0TEMPCOR/W0hTemperature coefficient of the shunt for temperature compensation correction. Calculated with respect to +25 °C.The full scale value of the register is 16383 ppm/°C.The 16 bit register provides a resolution of 1ppm/°C/LSB0h = 0 ppm/°C3FFFh = 16383 ppm/°C

7.6.1.5 Shunt Voltage Measurement (VSHUNT) Register (Address = 4h) [reset = 0h]

The VSHUNT register is shown in Table 7-9.

Return to the Summary Table.

Table 7-9. VSHUNT Register Field Descriptions

BitFieldTypeResetDescription
23-4VSHUNTR0hDifferential voltage measured across the shunt output. Two&#x27;s complement value. Conversion factor: 312.5 nV/LSB when ADCRANGE = 0 78.125 nV/LSB when ADCRANGE = 1
3-0RESERVEDR0hReserved. Always reads 0.

7.6.1.6 Bus Voltage Measurement (VBUS) Register (Address = 5h) [reset = 0h]

The VBUS register is shown in Table 7-10.

Return to the Summary Table.

Table 7-10. VBUS Register Field Descriptions

BitFieldTypeResetDescription
23-4VBUSR0hBus voltage output. Two&#x27;s complement value, however always positive.Conversion factor: 195.3125 μV/LSB
3-0RESERVEDR0hReserved. Always reads 0.

7.6.1.7 Temperature Measurement (DIETEMP) Register (Address = 6h) [reset = 0h]

The DIETEMP register is shown in Table 7-11.

Return to the Summary Table.

Table 7-11. DIETEMP Register Field Descriptions

BitFieldTypeResetDescription
15-0DIETEMPR0hInternal die temperature measurement. Two&#x27;s complement value. Conversion factor: 7.8125 m°C/LSB

7.6.1.8 Current Result (CURRENT) Register (Address = 7h) [reset = 0h]

The CURRENT register is shown in Table 7-12.

Return to the Summary Table.

Table 7-12. CURRENT Register Field Descriptions

BitFieldTypeResetDescription
23-4CURRENTR0hCalculated current output in Amperes. Two&#x27;s complement value. Value description under Section 8.1.2.
3-0RESERVEDR0hReserved. Always reads 0.

7.6.1.9 Power Result (POWER) Register (Address = 8h) [reset = 0h]

The POWER register is shown in Table 7-13.

Return to the Summary Table.

Table 7-13. POWER Register Field Descriptions

BitFieldTypeResetDescription
23-0POWERR0hCalculated power output.Output value in watts.Unsigned representation. Positive value.Value description under Section 8.1.2.

7.6.1.10 Energy Result (ENERGY) Register (Address = 9h) [reset = 0h]

The ENERGY register is shown in Table 7-14.

Return to the Summary Table.

Table 7-14. ENERGY Register Field Descriptions

BitFieldTypeResetDescription
39-0ENERGYR0hCalculated energy output.Output value is in Joules.Unsigned representation. Positive value.Value description under Section 8.1.2.

7.6.1.11 Charge Result (CHARGE) Register (Address = Ah) [reset = 0h]

The CHARGE register is shown in Table 7-15.

Return to the Summary Table.

Table 7-15. CHARGE Register Field Descriptions

BitFieldTypeResetDescription
39-0CHARGER0hCalculated charge output. Output value is in Coulombs.Two&#x27;s complement value.Value description under Section 8.1.2.

7.6.1.12 Diagnostic Flags and Alert (DIAG_ALRT) Register (Address = Bh) [reset = 0001h]

The DIAG_ALRT register is shown in Table 7-16.

Return to the Summary Table.

Table 7-16. DIAG_ALRT Register Field Descriptions

BitFieldTypeResetDescription
15ALATCHR/W0hWhen the Alert Latch Enable bit is set to Transparent mode, the Alert pin and Flag bit reset to the idle state when the fault has been cleared.When the Alert Latch Enable bit is set to Latch mode, the Alert pin and Alert Flag bit remain active following a fault until the DIAG_ALRT Register has been read.0h = Transparent1h = Latched
14CNVRR/W0hSetting this bit high configures the Alert pin to be asserted when the Conversion Ready Flag (bit 1) is asserted, indicating that a conversion cycle has completed.0h = Disable conversion ready flag on ALERT pin1h = Enables conversion ready flag on ALERT pin
13SLOWALERTR/W0hWhen enabled, ALERT function is asserted on the completed averaged value.This gives the flexibility to delay the ALERT until after the averaged value.0h = ALERT comparison on non-averaged (ADC) value1h = ALERT comparison on averaged value
12APOLR/W0hAlert Polarity bit sets the Alert pin polarity.0h = Normal (Active-low, open-drain)1h = Inverted (active-high, open-drain )
11ENERGYOFR0hThis bit indicates the health of the ENERGY register.If the 40 bit ENERGY register has overflowed this bit is set to 1.0h = Normal1h = OverflowClears when the ENERGY register is read.
10CHARGEOFR0hThis bit indicates the health of the CHARGE register.If the 40 bit CHARGE register has overflowed this bit is set to 1.0h = Normal1h = OverflowClears when the CHARGE register is read.
9MATHOFR0hThis bit is set to 1 if an arithmetic operation resulted in an overflow error.It indicates that current and power data may be invalid.0h = Normal1h = OverflowMust be manually cleared by triggering another conversion or by clearing the accumulators with the RSTACC bit.
8RESERVEDR0hReserved. Always read 0.
7TMPOLR/W0hThis bit is set to 1 if the temperature measurement exceeds the threshold limit in the temperature over-limit register.0h = Normal1h = Over Temp EventWhen ALATCH =1 this bit is cleared by reading this register.
6SHNTOLR/W0hThis bit is set to 1 if the shunt voltage measurement exceeds the threshold limit in the shunt over-limit register.0h = Normal1h = Over Shunt Voltage EventWhen ALATCH =1 this bit is cleared by reading this register.
5SHNTULR/W0hThis bit is set to 1 if the shunt voltage measurement falls below the threshold limit in the shunt under-limit register.0h = Normal1h = Under Shunt Voltage EventWhen ALATCH =1 this bit is cleared by reading this register.
4BUSOLR/W0hThis bit is set to 1 if the bus voltage measurement exceeds the threshold limit in the bus over-limit register.0h = Normal1h = Bus Over-Limit EventWhen ALATCH =1 this bit is cleared by reading this register.
3BUSULR/W0hThis bit is set to 1 if the bus voltage measurement falls below the threshold limit in the bus under-limit register.0h = Normal1h = Bus Under-Limit EventWhen ALATCH =1 this bit is cleared by reading this register.
2POLR/W0hThis bit is set to 1 if the power measurement exceeds the threshold limit in the power limit register.0h = Normal1h = Power Over-Limit EventWhen ALATCH =1 this bit is cleared by reading this register.
1CNVRFR/W0hThis bit is set to 1 if the conversion is completed.0h = Normal1h = Conversion is completeWhen ALATCH =1 this bit is cleared by reading this register or starting a new triggered conversion.
0MEMSTATR/W1hThis bit is set to 0 if a checksum error is detected in the device trim memory space.0h = Memory Checksum Error1h = Normal Operation

7.6.1.13 Shunt Overvoltage Threshold (SOVL) Register (Address = Ch) [reset = 7FFFh]

If negative values are entered in this register, then a shunt voltage measurement of 0 V will trip this alarm. When using negative values for the shunt under and overvoltage thresholds be aware that the over voltage threshold must be set to the larger (that is, less negative) of the two values. The SOVL register is shown in Table 7-17.

Return to the Summary Table.

Table 7-17. SOVL Register Field Descriptions

BitFieldTypeResetDescription
15-0SOVLR/W7FFFhSets the threshold for comparison of the value to detect Shunt Overvoltage (overcurrent protection). Two&#x27;s complement value. Conversion Factor: 5 μV/LSB when ADCRANGE = 01.25 μV/LSB when ADCRANGE = 1.

7.6.1.14 Shunt Undervoltage Threshold (SUVL) Register (Address = Dh) [reset = 8000h]

The SUVL register is shown in Table 7-18.

Return to the Summary Table.

Table 7-18. SUVL Register Field Descriptions

BitFieldTypeResetDescription
15-0SUVLR/W8000hSets the threshold for comparison of the value to detect Shunt Undervoltage (undercurrent protection). Two&#x27;s complement value. Conversion Factor: 5 μV/LSB when ADCRANGE = 01.25 μV/LSB when ADCRANGE = 1.

7.6.1.15 Bus Overvoltage Threshold (BOVL) Register (Address = Eh) [reset = 7FFFh]

The BOVL register is shown in Table 7-19.

Return to the Summary Table.

Table 7-19. BOVL Register Field Descriptions

BitFieldTypeResetDescription
15ReservedR0hReserved. Always reads 0.
14-0BOVLR/W7FFFhSets the threshold for comparison of the value to detect Bus Overvoltage (overvoltage protection). Unsigned representation, positive value only. Conversion factor: 3.125 mV/LSB.

7.6.1.16 Bus Undervoltage Threshold (BUVL) Register (Address = Fh) [reset = 0h]

The BUVL register is shown in Table 7-20.

Return to the Summary Table.

Table 7-20. BUVL Register Field Descriptions

BitFieldTypeResetDescription
15ReservedR0hReserved. Always reads 0.
14-0BUVLR/W0hSets the threshold for comparison of the value to detect Bus Undervoltage (undervoltage protection). Unsigned representation, positive value only. Conversion factor: 3.125 mV/LSB.

7.6.1.17 Temperature Over-Limit Threshold (TEMP_LIMIT) Register (Address = 10h) [reset = 7FFFh] The TEMP_LIMIT register is shown in Table 7-21.

Return to the Summary Table.

Table 7-21. TEMP_LIMIT Register Field Descriptions

BitFieldTypeResetDescription
15-0TOLR/W7FFFhSets the threshold for comparison of the value to detect over temperature measurements. Two&#x27;s complement value.The value entered in this field compares directly against the value from the DIETEMP register to determine if an over temperature condition exists. Conversion factor: 7.8125 m°C/LSB.

7.6.1.18 Power Over-Limit Threshold (PWR_LIMIT) Register (Address = 11h) [reset = FFFFh] The PWR_LIMIT register is shown in Table 7-22.

Return to the Summary Table.

Table 7-22. PWR_LIMIT Register Field Descriptions

BitFieldTypeResetDescription
15-0POLR/WFFFFhSets the threshold for comparison of the value to detect power over-limit measurements. Unsigned representation, positive value only. The value entered in this field compares directly against the value from the POWER register to determine if an over power condition exists. Conversion factor: 256 × Power LSB.

7.6.1.19 Manufacturer ID (MANUFACTURER_ID) Register (Address = 3Eh) [reset = 5449h]

The MANUFACTURER_ID register is shown in Table 7-23.

Return to the Summary Table.

Table 7-23. MANUFACTURER_ID Register Field Descriptions

BitFieldTypeResetDescription
15-0MANFIDR5449hReads back TI in ASCII.

7.6.1.20 Device ID (DEVICE_ID) Register (Address = 3Fh) [reset = 2281h]

The DEVICE_ID register is shown in Table 7-24.

Return to the Summary Table.

Table 7-24. DEVICE_ID Register Field Descriptions

BitFieldTypeResetDescription
15-4DIEIDR228hStores the device identification bits.
3-0REV_IDR1hDevice revision identification.

8 Application and Implementation

Note

Information in the following applications sections is not part of the TI component specification, and TI does not warrant its accuracy or completeness. TI’s customers are responsible for determining suitability of components for their purposes, as well as validating and testing their design implementation to confirm system functionality.

8.1 Application Information

8.1.1 Device Measurement Range and Resolution

The INA228 device supports two input ranges for the shunt voltage measurement. The supported full scale differential input across the IN+ and IN– pins can be either ±163.84 mV or ±40.96 mV depending on the ADCRANGE bit in CONFIG register. The range for the bus voltage measurement is from 0 V to 85 V. The internal die temperature sensor range extends from –256 °C to +256 °C but is limited by the package to $- 4 0 ~ ^ { \circ } \mathsf C$ to 125 °C.

Table 8-1 provides a description of full scale voltage on shunt, bus, and temperature measurements, along with their associated step size.

Table 8-1. ADC Full Scale Values

PARAMETERFULL SCALE VALUERESOLUTION
Shunt voltage±163.84 mV (ADCRANGE = 0)312.5 nV/LSB
±40.96 mV (ADCRANGE = 1)78.125 nV/LSB
Bus voltage0 V to 85 V195.3125 μV/LSB
Temperature-40 °C to +125 °C7.8125 m°C/LSB

The device shunt voltage measurements, bus voltage, and temperature measurements can be read through the VSHUNT, VBUS, and DIETEMP registers, respectively. The digital output in VSHUNT and VBUS registers is 20-bits. The shunt voltage measurement can be positive or negative due to bidirectional currents in the system; therefore the data value in VSHUNT can be positive or negative. The VBUS data value is always positive. The output data can be directly converted into voltage by multiplying the digital value by its respective resolution size. The digital output in the DIETEMP register is 16-bit and can be directly converted to °C by multiplying by the above resolution size. This output value can also be positive or negative.

Furthermore, the device provides the flexibility to report calculated current in Amperes, power in Watts, charge in Coulombs and energy in Joules as described in Section 8.1.2.

8.1.2 Current , Power, Energy, and Charge Calculations

For the INA228 device to report current values in Ampere units, a constant conversion value must be written in the SHUNT_CAL register that is dependent on the maximum measured current and the shunt resistance used in the application. The SHUNT_CAL register is calculated based on Equation 2. The term CURRENT_LSB is the LSB step size for the CURRENT register where the current in Amperes is stored. The value of CURRENT_LSB is based on the maximum expected current as shown in Equation 3, and it directly defines the resolution of the CURRENT register. While the smallest CURRENT_LSB value yields highest resolution, it is common to select a higher round-number (no higher than 8x) value for the CURRENT_LSB in order to simplify the conversion of the CURRENT.

The RSHUNT term is the resistance value of the external shunt used to develop the differential voltage across the IN+ and IN– pins. Use Equation 2 for ADCRANGE = 0. For ADCRANGE = 1, the value of SHUNT_CAL must be multiplied by 4.

$$ \text { SHUNT_CAL } = 1 3 1 0 7. 2 \times 1 0 ^ {6} \times \text { CURRENT_LSB } \times R _ {\text { SHUNT }}\tag{2} $$

where

$1 3 1 0 7 . 2 \times 1 0 ^ { 6 }$ is an internal fixed value used to ensure scaling is maintained properly.

• the value of SHUNT_CAL must be multiplied by 4 for ADCRANGE = 1.

$$ \text { CURRENT_LSB } = \frac {\text { Maximum Expected Current }}{2 ^ {1 9}}\tag{3} $$

Note that the current is calculated following a shunt voltage measurement based on the value set in the SHUNT_CAL register. If the value loaded into the SHUNT_CAL register is zero, the current value reported through the CURRENT register is also zero.

After programming the SHUNT_CAL register with the calculated value, the measured current in Amperes can be read from the CURRENT register. The final value is scaled by CURRENT_LSB and calculated in Equation 4:

$$ \text { Current } [ \mathrm{A} ] = \text { CURRENT_LSB } \times \text { CURRENT }\tag{4} $$

where

• CURRENT is the value read from the CURRENT register

The power value can be read from the POWER register as a 24-bit value and converted to Watts by using Equation 5:

$$ \text { Power } [ \mathrm{W} ] = 3. 2 \times \text { CURRENT_LSB } \times \text { POWER }\tag{5} $$

where

• POWER is the value read from the POWER register.

• CURRENT_LSB is the lsb size of the current calculation as defined by Equation 3.

The energy value can be read from the ENERGY register as a 40-bit unsigned value in Joules units. The energy value in Joules is converted by using Equation 6:

$$ \text { Energy [J] } = 1 6 \times 3. 2 \times \text { CURRENT_LSB } \times \text { ENERGY }\tag{6} $$

The charge value can be read from the CHARGE register as a 40-bit, two's complement value in Coulombs. The charge value in Coulomb is converted by using Equation 7:

Charge [C] = CURRENT_LSB x CHARGE

(7)

where

• CHARGE is the value read from the CHARGE register.

• CURRENT_LSB is the lsb size of the current calculation as described in Equation 3.

Upon overflow, the ENERGY and CHARGE registers will roll over and start from zero. The register values can also be reset at any time by setting the RSTACC bit in the CONFIG register.

For a design example using these equations refer to Section 8.2.2.

8.1.3 ADC Output Data Rate and Noise Performance

The INA228 noise performance and effective resolution depend on the ADC conversion time. The device also supports digital averaging which can further help decrease digital noise. The flexibility of the device to select ADC conversion time and data averaging offers increased signal-to-noise ratio and achieves the highest dynamic range with lowest offset. The profile of the noise at lower signals levels is dominated by the system noise that is comprised mainly of 1/f noise or white noise. The INA228 effective resolution of the ADC can be increased by increasing the conversion time and increasing the number of averages.

Table 8-2 summarizes the output data rate conversion settings supported by the device. The fastest conversion setting is 50 µs. Typical noise-free resolution is represented as Effective Number of Bits (ENOB) based on device measured data. The ENOB is calculated based on noise peak-to-peak values, which assures that full noise distribution is taken into consideration.

Table 8-2. INA228 Noise Performance

ADC CONVERSION TIME PERIOD [μs]OUTPUT SAMPLE AVERAGING [SAMPLES]OUTPUT SAMPLE PERIOD [ms]NOISE-FREE ENOB (±163.84-mV) (ADCRANGE = 0)NOISE-FREE ENOB (±40.96-mV) (ADCRANGE = 1)
5010.0512.410.4
840.08412.610.4
1500.1513.311.4
2800.2813.811.8
5400.5414.212.4
10521.05214.512.6
20742.07415.313.3
41204.1216.013.8
5040.213.111.4
840.33613.911.8
1500.614.312.2
2801.1214.912.8
5402.1615.113.0
10524.20815.813.8
20748.29616.114.3
412016.4816.514.4
50160.813.912.3
841.34414.712.9
1502.415.113.0
2804.4815.813.7
5408.6416.314.3
105216.83216.514.6
207433.18417.115.3
412065.9217.715.9
50643.215.013.3
845.37615.913.8
1509.616.414.4
28017.9216.914.5
54034.5617.715.3
105267.32817.715.9
2074132.73618.116.3
4120263.6818.716.5
501286.415.513.4
8410.75216.314.3
15019.216.914.7
28035.8417.115.2
54069.1218.115.9
1052134.65618.116.4
2074265.47218.716.9
4120527.3619.717.1
5025612.815.514.4
8421.50416.714.7
15038.417.415.3
28071.6817.715.7
540138.2418.716.1
1052269.31218.716.7
2074530.94419.717.4
41201054.7219.717.7
5051225.616.714.3
844317.415.4
15076.817.715.5
280143.3618.716.3
540276.4818.716.5
1052538.62419.717.4
20741061.88819.717.7
41202109.4419.718.7
50102451.217.115.0
8486.01617.715.9
150153.618.116.0
280286.7218.716.9
540552.9619.717.1
10521077.24819.717.7
20742123.77619.718.1
41204218.882018.7

8.1.4 Input Filtering Considerations

As previously discussed, INA228 offers several options for noise filtering by allowing the user to select the conversion times and number of averages independently in the ADC_CONFIG register. The conversion times can be set independently for the shunt voltage and bus voltage measurements to allow added flexibility in monitoring of the power-supply bus.

The internal ADC has good inherent noise rejection; however, the transients that occur at or very close to the sampling rate harmonics can cause problems. Because these signals are at 1 MHz and higher, they can be managed by incorporating filtering at the input of the device. Filtering high frequency signals enables the use of low-value series resistors on the filter with negligible effects on measurement accuracy. For best results, filter using the lowest possible series resistance (typically 100 Ω or less) and a ceramic capacitor. Recommended values for this capacitor are between 0.1 µF and 1 µF. Figure 8-1 shows the device with a filter added at the input.

Overload conditions are another consideration for the device inputs. The device inputs are specified to tolerate ±40 V differential across the IN+ and IN– pins. A large differential scenario might be a short to ground on the load side of the shunt. This type of event can result in full power-supply voltage across the shunt (as long the power supply or energy storage capacitors support it). Removing a short to ground can result in inductive kickbacks that could exceed the 40-V differential or 85-V common-mode absolute maximum rating of the device. Inductive kickback voltages are best controlled by Zener-type transient-absorbing devices (commonly called transzorbs) combined with sufficient energy storage capacitance. See the Transient Robustness for Current Shunt Monitors reference design which describes a high-side current shunt monitor used to measure the voltage developed across a current-sensing resistor when current passes through it.

In applications that do not have large energy storage, electrolytic capacitors on one or both sides of the shunt, an input overstress condition may result from an excessive dV/dt of the voltage applied to the input. A hard physical short is the most likely cause of this event. This problem occurs because an excessive dV/dt can activate the ESD protection in the device in systems where large currents are available. Testing demonstrates that the addition of 10-Ω resistors in series with each input of the device sufficiently protects the inputs against this dV/dt failure up to the 40-V maximum differential voltage rating of the device. Selecting these resistors in the range noted has minimal effect on accuracy.


Figure 8-1. Input Filtering

Do not use values greater than 100 ohms for $\mathsf { R } _ { \mathsf { F l L T E R } } .$ . Doing so will degrade gain error and increase nonlinearity.

8.2 Typical Application

The low offset voltage and low input bias current of the INA228 allow accurate monitoring of a wide range of currents. To accurately monitor currents with high resolution, select the value of the shunt resistor so that the resulting sense voltage is close to the maximum allowable differential input voltage range (either ±163.84 mV or ±40.96 $\mathsf { m V } ,$ depending on register settings). The circuit for monitoring currents in a high-side configuration is shown in Figure 8-2.


Figure 8-2. INA228 High-Side Sensing Application Diagram

8.2.1 Design Requirements

The INA228 measures the voltage developed across a current-sensing resistor $( \mathsf { R } _ { \mathsf { S H U N T } } )$ when current passes through it. The device also measures the bus supply voltage and calculates power when calibrated. It also comes with alert capability, where the alert pin can be programmed to respond to a user-defined event or a conversion ready notification.

The design requirements for the circuit shown in Figure 8-2 are listed in Table 8-3.
Table 8-3. Design Parameters

DESIGN PARAMETEREXAMPLE VALUE
Power-supply voltage ( $V_S$ )5 V
Bus supply rail ( $V_{CM}$ )48 V
Bus supply rail over voltage fault threshold52 V
Average Current6 A
Overcurrent fault threshold ( $I_{MAX}$ )10 A
ADC Range Selection (VSENSE_MAX)±163.84 mV
Temperature25 °C
Charge Accumulation Period1 hour

8.2.2 Detailed Design Procedure

8.2.2.1 Select the Shunt Resistor

Using values from Table 8-3, the maximum value of the shunt resistor is calculated based on the value of the maximum current to be sensed (IMAX) and the maximum allowable sense voltage (VSENSE_MAX) for the chosen ADC range. When operating at the maximum current, the differential input voltage must not exceed the maximum full scale range of the device, $V _ { \mathsf { S E N S E _ M A X } } .$ Using Equation 8 for the given design parameters, the maximum value for $\mathsf { R s H U N T }$ is calculated to be 16.38 mΩ. The closest standard resistor value that is smaller than the maximum calculated value is 16.2 mΩ. Also keep in mind that ${ \mathsf { R } } _ { \mathsf { S H U N T } }$ must be able to handle the power dissipated across it in the maximum load condition.

$$ R _ {\text { SHUNT }} < \frac {V _ {\text { SENSE_MAX }}}{I _ {\text { MAX }}}\tag{8} $$

8.2.2.2 Configure the Device

The first step to program the INA228 is to properly set the device and ADC configuration registers. On initia power up the CONFIG and ADC_CONFIG registers are set to the reset values as shown in Table 7-5 and Table 7-6. In this default power on state the device is set to measured on the ±163.84 mV range with the ADC continuously converting the shunt voltage, bus voltage, and temperature. If the default power up conditions do not meet the design requirements, these registers will need to be set properly after each ${ \sf V } _ { \sf S }$ power cycle event.

8.2.2.3 Program the Shunt Calibration Register

The shunt calibration register needs to be correctly programmed at each ${ \sf V } _ { \sf S }$ power up in order for the device to properly report any result based on current. The first step in properly setting this register is to calculate the LSB value for the current by using Equation 3. Applying this equation with the maximum expected current of 10 A results in an LSB size of 19.0735 μA. Applying Equation 2 to the CURRENT_LSB and selected value for the shunt resistor results in a shunt calibration register setting of 4050d (FD2h). Failure to set the value of the shunt calibration register will result in a zero value for any result based on current.

8.2.2.4 Set Desired Fault Thresholds

Fault thresholds are set by programming the desired trip threshold into the corresponding fault register. The list of supported fault registers is shown in Table 7-1. Since the fault limit registers are 16 bits in length, the effective LSB size for these registers is 16 times greater than the corresponding 20 bit LSB used in calculating returned values for bus voltage and current.

An over current threshold is set by programming the shunt over voltage limit register (SOVL). The voltage that needs to be programmed into this register is calculated by multiplying the over current threshold by the shunt resistor. In this example the over current threshold is 10 A and the value of the current sense resistor is 16.2 mΩ, which give a shunt voltage limit of 162 mV. Once the shunt voltage limit is known, the value for the shunt over voltage limit register is calculated by dividing the shunt voltage limit by the shunt voltage LSB size.

In this example, the calculated value of the shunt over voltage limit register is 162 mV / (312.5 nV × 16) = 32400d (7E90h).

An over voltage fault threshold on the bus voltage is set by programming the bus over voltage limit register (BOVL). In this example the desired over voltage threshold is 52 V. The value that needs to be programmed into this register is calculated by dividing the target threshold voltage by the bus voltage fault limit LSB value of 3.125 mV. For this example, the target value for the BOVL register is 52 V / (195.3125 μV × 16) = 16640d (4100h).

When setting the power over-limit value, the LSB size used to calculate the value needed in the limit registers will be 256 times greater than the power LSB. This is because the power register is a 24 bits in length while the power fault limit register is 16 bits.

Values stored in the alert limit registers are set to the default values after ${ \sf V } _ { \sf S }$ power cycle events and need to be reprogrammed each time power is applied.

8.2.2.5 Calculate Returned Values

Parametric values are calculated by multiplying the returned value by the LSB value. Table 8-4 below shows the returned values for this application example assuming the design requirements shown in Table 8-3.

Table 8-4. Calculating Returned Values

PARAMETERReturned ValueLSB ValueCalculated Value
Shunt voltage (V)311040d312.5 nV/LSB0.0972 V
Current (A)314572d $10 \text{ A/ } 2^{19} = 19.073486 \mu\text{A/LSB}$ 6 A
Bus voltage (V)245760d195.3125 μV/LSB48 V
Power (W)4718604dCurrent LSB x 3.2 = 61.035156 μW/LSB288 W
Energy (J)1061683200dPower LSB x 16 = 976.5625 μJ/LSB1036800 J
Charge (C)1132462080dCurrent LSB = 19.073486 μC/LSB21600 C
Temperature (°C)3200d7.8125 m°C/LSB25°C

Shunt Voltage, Current, Bus Voltage (positive only), Charge, and Temperature return values in two's complement format. In two's complement format a negative value in binary is represented by having a 1 in the most significant bit of the returned value. These values can be converted to decimal by first inverting all the bits and adding 1 to obtain the unsigned binary value. This value should then be converted to decimal with the negative sign applied. For example, assume a shunt voltage reading returns 1011 0100 0001 0000 0000. This is a negative value due to the MSB having a value of one. Inverting the bits and adding one results in 0100 1011 1111 0000 0000 (311040d) which from the shunt voltage example in Table 8-4 correlates to a voltage of 97.2 mV. Since the returned value was negative the measured shunt voltage value is -97.2 mV.

8.2.3 Application Curves

Figure 8-3 and Figure 8-4 show the ALERT pin response to a bus overvoltage fault with a conversion time of 50 μs, averaging set to 1, and the SLOWALERT bit set to 0 for bus only conversions. For these scope shots, persistence was enabled on the ALERT channel to show the variation in the alert response for many sequentia fault events. If the magnitude of the fault is sufficient the ALERT response can be as fast as one quarter of the ADC conversion time as shown in Figure 8-3. For fault conditions that are just exceeding the limit threshold, the response time for the ALERT pin can vary from approximately 0.5 to 1.5 conversion cycles as shown in Figure 8-4. Variation in the alert response exists because the external fault event is not synchronized to the internal ADC conversion start. Also the ADC is constantly sampling to get a result, so the response time for fault events starting from zero will slower than fault events starting from values near the set fault threshold. Since the timing of the alert can be difficult to predict, applications where the alert timing is critical should assume a alert response equal to 1.5 times the ADC conversion time for bus voltage or shunt voltage only conversions.


Figure 8-3. Alert Response Time (Sampled Values Significantly Above Threshold)


Figure 8-4. Alert Response Time (Sampled Values Slightly Above Threshold)

9 Power Supply Recommendations

The input circuitry of the device can accurately measure signals on common-mode voltages beyond its powersupply voltage, ${ \mathsf { V } } _ { \mathsf { S } } .$ For example, the voltage applied to the ${ \sf V } _ { \sf S }$ power supply terminal can be 5 V, whereas the load power-supply voltage being monitored (the common-mode voltage) can be as high as 85 V. Note that the device can also withstand the full 0 V to 85 V range at the input terminals, regardless of whether the device has power applied or not. Avoid applications where the GND pin is disconnected while device is actively powered.

Place the required power-supply bypass capacitors as close as possible to the supply and ground terminals of the device. A typical value for this supply bypass capacitor is 0.1 µF. Applications with noisy or high-impedance power supplies may require additional decoupling capacitors to reject power-supply noise.

10 Layout

10.1 Layout Guidelines

Connect the input pins (IN+ and IN–) to the sensing resistor using a Kelvin connection or a 4-wire connection. This connection technique ensures that only the current-sensing resistor impedance is sensed between the input pins. Poor routing of the current-sensing resistor commonly results in additional resistance present between the input pins. Given the very low ohmic value of the current-sensing resistor, any additional high-current carrying impedance causes significant measurement errors. Place the power-supply bypass capacitor as close as possible to the supply and ground pins.

10.2 Layout Example


(1) Connect the VBUS pin to the voltage powering the load for load power calculations..
(2) Can be left floating if unused.

Figure 10-1. INA228 Layout Example

11 Device and Documentation Support

11.1 Receiving Notification of Documentation Updates

To receive notification of documentation updates, navigate to the device product folder on ti.com. Click on Subscribe to updates to register and receive a weekly digest of any product information that has changed. For change details, review the revision history included in any revised document.

11.2 Support Resources

TI E2E™ support forums are an engineer's go-to source for fast, verified answers and design help — straight from the experts. Search existing answers or ask your own question to get the quick design help you need.

Linked content is provided "AS IS" by the respective contributors. They do not constitute TI specifications and do not necessarily reflect TI's views; see TI's Terms of Use.

11.3 Trademarks

TI E2E™ is a trademark of Texas Instruments.

All trademarks are the property of their respective owners.

11.4 Electrostatic Discharge Caution

This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with appropriate precautions. Failure to observe proper handling and installation procedures can cause damage.

ESD damage can range from subtle performance degradation to complete device failure. Precision integrated circuits may be more susceptible to damage because very small parametric changes could cause the device not to meet its published specifications.

11.5 Glossary

TI Glossary This glossary lists and explains terms, acronyms, and definitions.

12 Mechanical, Packaging, and Orderable Information

The following pages include mechanical, packaging, and orderable information. This information is the most current data available for the designated devices. This data is subject to change without notice and revision of this document. For browser-based versions of this data sheet, refer to the left-hand navigation.

PACKAGING INFORMATION

Orderable part numberStatus(1)Material type(2)Package | PinsPackage qty | CarrierRoHS(3)Lead finish/ Ball material(4)MSL rating/ Peak reflow(5)Op temp (°C)Part marking(6)
INA228AIDGSRActiveProductionVSSOP (DGS) | 102500 | LARGE T&amp;RYesSNLevel-2-260C-1 YEAR-40 to 125228I
INA228AIDGSR.AActiveProductionVSSOP (DGS) | 102500 | LARGE T&amp;RYesSNLevel-2-260C-1 YEAR-40 to 125228I

(1) Status: For more details on status, see our product life cycle.

(2) Material type: When designated, preproduction parts are prototypes/experimental devices, and are not yet approved or released for full production. Testing and final process, including without limitation quality assurance, reliability performance testing, and/or process qualification, may not yet be complete, and this item is subject to further changes or possible discontinuation. If available for ordering, purchases will be subject to an additional waiver at checkout, and are intended for early internal evaluation purposes only. These items are sold without warranties of any kind.

(3) RoHS values: Yes, No, RoHS Exempt. See the TI RoHS Statement for additional information and value definition.

(4) Lead finish/Ball material: Parts may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead finish/Ball material values may wrap to two lines if the finish value exceeds the maximum column width.

(5) MSL rating/Peak reflow: The moisture sensitivity level ratings and peak solder (reflow) temperatures. In the event that a part has multiple moisture sensitivity ratings, only the lowest level per JEDEC standards is shown. Refer to the shipping label for the actual reflow temperature that will be used to mount the part to the printed circuit board.

(6) Part marking: There may be an additional marking, which relates to the logo, the lot trace code information, or the environmental category of the part.

Multiple part markings will be inside parentheses. Only one part marking contained in parentheses and separated by a "~" will appear on a part. If a line is indented then it is a continuation of the previous line and the two combined represent the entire part marking for that device.

Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representativ and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS number and other limited information may not be available for release.

In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.

OTHER QUALIFIED VERSIONS OF INA228 :

Automotive : INA228-Q1

14-Apr-2026

NOTE: Qualified Version Definitions:

• Automotive - Q100 devices qualified for high-reliability automotive applications targeting zero defects

TAPE AND REEL INFORMATION

A0Dimension designed to accommodate the component width
B0Dimension designed to accommodate the component length
K0Dimension designed to accommodate the component thickness
WOverall width of the carrier tape
P1Pitch between successive cavity centers

Reel Width (W1)
QUADRANT ASSIGNMENTS FOR PIN 1 ORIENTATION IN TAPE

*All dimensions are nomina

DevicePackage TypePackage DrawingPinsSPQReel Diameter (mm)Reel Width W1 (mm)A0 (mm)B0 (mm)K0 (mm)P1 (mm)W (mm)Pin1 Quadrant
INA228AIDGSRVSSOPDGS102500330.012.45.253.351.258.012.0Q1

*All dimensions are nominal

DevicePackage TypePackage DrawingPinsSPQLength (mm)Width (mm)Height (mm)
INA228AIDGSRVSSOPDGS102500366.0364.050.0

SMALL OUTLINE PACKAGE

NOTES:

  1. All linear dimensions are in millimeters. Any dimensions in parenthesis are for reference only. Dimensioning and tolerancing per ASME Y14.5M.

  2. This drawing is subject to change without notice.

  3. This dimension does not include mold flash, protrusions, or gate burrs. Mold flash, protrusions, or gate burrs shall not exceed 0.15 mm per side.

SMALL OUTLINE PACKAGE

NOTES: (continued)

4221984/A 05/2015

  1. Publication IPC-7351 may have alternate designs.

  2. Solder mask tolerances between and around signal pads can vary based on board fabrication site.

SOLDER PASTE EXAMPLE BASED ON 0.125 mm THICK STENCIL SCALE:10X

4221984/A 05/2015

NOTES: (continued)

  1. Laser cutting apertures with trapezoidal walls and rounded corners may offer better paste release. IPC-7525 may have alternate design recommendations.

  2. Board assembly site may have different recommendations for stencil design.

Extracted Images

Figures and diagrams from the PDF

Preview the extracted datasheet assets and open any image in a separate tab for closer inspection.

e47adf09f6bdb60b8d66349373fa37af80dc68a6247455cbc845ddb3a19fe388.jpg

e47adf09f6bdb60b8d66349373fa37af80dc68a6247455cbc845ddb3a19fe388.jpg

6c00d0cae10e43d8b3fa0976fa371ac42ebcfbacb55332e2ee8ca9df4c32a634.jpg

6c00d0cae10e43d8b3fa0976fa371ac42ebcfbacb55332e2ee8ca9df4c32a634.jpg

9f8d227c8da13d9707614b05d3b34f525c0ef8f12b2fbeb72f4e784235f3ad0d.jpg

9f8d227c8da13d9707614b05d3b34f525c0ef8f12b2fbeb72f4e784235f3ad0d.jpg

1899c942b57362aa168814afa3c2b52c6f082bb56ab7c82556172d8f4f9c9348.jpg

1899c942b57362aa168814afa3c2b52c6f082bb56ab7c82556172d8f4f9c9348.jpg

c3b0642197bbc10a5c5d32205ff5199f3d9710710b9d39bbc04b0fd8dbab0df5.jpg

c3b0642197bbc10a5c5d32205ff5199f3d9710710b9d39bbc04b0fd8dbab0df5.jpg

278a496f935c6677e378afc97690cb87e9d0d1918f13a9592ed19358ce5fe8a7.jpg

278a496f935c6677e378afc97690cb87e9d0d1918f13a9592ed19358ce5fe8a7.jpg

f98564cc6a166e8b8a069caee4ca780d123f14a266c2adf0ea810e6872cd6df0.jpg

f98564cc6a166e8b8a069caee4ca780d123f14a266c2adf0ea810e6872cd6df0.jpg

a75985a39c3d2ed0a60d1977d36a6d9ad3103cc54f890f63c8738e94bcaa4802.jpg

a75985a39c3d2ed0a60d1977d36a6d9ad3103cc54f890f63c8738e94bcaa4802.jpg

57695d6485370b9bdb0bf82298f13f95d8bc26835a65cc4b213ea53ff9aef4ab.jpg

57695d6485370b9bdb0bf82298f13f95d8bc26835a65cc4b213ea53ff9aef4ab.jpg

1d82052e062ba6f4b52d7b7d2cfc44201ff0da85336ca661c35c1d50c82feb50.jpg

1d82052e062ba6f4b52d7b7d2cfc44201ff0da85336ca661c35c1d50c82feb50.jpg

e62c3ab973c37560f94326a8d9fada26c7505a47cf472f1687e8995f687adad5.jpg

e62c3ab973c37560f94326a8d9fada26c7505a47cf472f1687e8995f687adad5.jpg

c83fd245b224700d4618e1164582cf787133c8d87af9e857e812079e996b8bf5.jpg

c83fd245b224700d4618e1164582cf787133c8d87af9e857e812079e996b8bf5.jpg

a71932b7708aaab6ccdcd498706185a8624882c4af841a5e6c4ca83bb6c3f3b7.jpg

a71932b7708aaab6ccdcd498706185a8624882c4af841a5e6c4ca83bb6c3f3b7.jpg

50319c4009dd18c08e7f442bf59a5b1aab14085e172e9f3031d39bc425cd4126.jpg

50319c4009dd18c08e7f442bf59a5b1aab14085e172e9f3031d39bc425cd4126.jpg

1d406177cf6a2cfca68a6666e736d86a76d9fb6dde9ce02e849c85b4179e16b9.jpg

1d406177cf6a2cfca68a6666e736d86a76d9fb6dde9ce02e849c85b4179e16b9.jpg

588166889a6a60029114811e3af164ea652e034846733bce4d9d1e42c935d4e4.jpg

588166889a6a60029114811e3af164ea652e034846733bce4d9d1e42c935d4e4.jpg

ac5d6c33ae6628b712d5b7ddbc36d9b9f06b8beda9b5d7c82ad39b408841b338.jpg

ac5d6c33ae6628b712d5b7ddbc36d9b9f06b8beda9b5d7c82ad39b408841b338.jpg

1980c6d0fc308de230dfd5e1e4a0f6311b92be8c8076a3aedf915de0005b9699.jpg

1980c6d0fc308de230dfd5e1e4a0f6311b92be8c8076a3aedf915de0005b9699.jpg

38e62ec40ebd44458270fc9425cea22b07adafdc9dae45cea31aed66d2a6e525.jpg

38e62ec40ebd44458270fc9425cea22b07adafdc9dae45cea31aed66d2a6e525.jpg

09d8196cb8c55f59dabf6c637694c05213984717b4962552ea031e35991b7456.jpg

09d8196cb8c55f59dabf6c637694c05213984717b4962552ea031e35991b7456.jpg

31cc8fdf49238458e025d969d8707b271f34c69c1e1cb9cca5535796aa55e526.jpg

31cc8fdf49238458e025d969d8707b271f34c69c1e1cb9cca5535796aa55e526.jpg

bff5b685ad20bec1533129eda311e7fb2f690ee5347f9013a15131cbed6eb00d.jpg

bff5b685ad20bec1533129eda311e7fb2f690ee5347f9013a15131cbed6eb00d.jpg

f4e7546d5c086e0bab330f9d335053bb3e5473c924bdfe7047c727d15ad0c7e0.jpg

f4e7546d5c086e0bab330f9d335053bb3e5473c924bdfe7047c727d15ad0c7e0.jpg

5a571ebe6d8b53c80b0c8409e2669599bf5a27c51f4428842bcab0a421201354.jpg

5a571ebe6d8b53c80b0c8409e2669599bf5a27c51f4428842bcab0a421201354.jpg

761b8a26f9d3e08e4c9e95f4819e119a2be55e92f948e1dc65b1c019f7fb8feb.jpg

761b8a26f9d3e08e4c9e95f4819e119a2be55e92f948e1dc65b1c019f7fb8feb.jpg

73175af3031df3089e4b6fd2492ffc1a16dda62b8adbe4c85bafff5abf753243.jpg

73175af3031df3089e4b6fd2492ffc1a16dda62b8adbe4c85bafff5abf753243.jpg

c4e632f298d9fcdeb3abd264eb7b2e7f4f16e85beef4ea987956cd03cc2e1817.jpg

c4e632f298d9fcdeb3abd264eb7b2e7f4f16e85beef4ea987956cd03cc2e1817.jpg

1c2312c7fe8a6d35e2808e9a41b5213fa492da8d0461699b34a78bfc118536d7.jpg

1c2312c7fe8a6d35e2808e9a41b5213fa492da8d0461699b34a78bfc118536d7.jpg

d475e6b502ac50a5ed9192cb7cf0f8e130f5dcc8c77f79740d81b5972d0cf857.jpg

d475e6b502ac50a5ed9192cb7cf0f8e130f5dcc8c77f79740d81b5972d0cf857.jpg

200f4552e2a14692a7e72a8b5a87f63dda8372e22ef9d4f8c56fbf82506c0fce.jpg

200f4552e2a14692a7e72a8b5a87f63dda8372e22ef9d4f8c56fbf82506c0fce.jpg

27ab92b04bfbb5736726df340d9183e4216a32e15ca58c13d49654cfbe9addfc.jpg

27ab92b04bfbb5736726df340d9183e4216a32e15ca58c13d49654cfbe9addfc.jpg

7f16a605cdd6576f5946fdef974dfbf5aacc5d1b7bb94c19461ddd6284d704fe.jpg

7f16a605cdd6576f5946fdef974dfbf5aacc5d1b7bb94c19461ddd6284d704fe.jpg

823ce05d672937b89e6b0b4ed6ed041b720fe52e8c46a9fa99eb5f5cc4047554.jpg

823ce05d672937b89e6b0b4ed6ed041b720fe52e8c46a9fa99eb5f5cc4047554.jpg

4a7d0b3081d287d22d08ea9c8e7d95b0148a712abae23c3467dd393908c7ece6.jpg

4a7d0b3081d287d22d08ea9c8e7d95b0148a712abae23c3467dd393908c7ece6.jpg

085b99e71da399e2793e1aab6d0fcb6de9ba72fb79abb8694231b86de39cf13a.jpg

085b99e71da399e2793e1aab6d0fcb6de9ba72fb79abb8694231b86de39cf13a.jpg

41f8764f0cbb8d9252e674b95df9386b2086d844d4d1e7e757dc66ec490d1d9e.jpg

41f8764f0cbb8d9252e674b95df9386b2086d844d4d1e7e757dc66ec490d1d9e.jpg

3962ace98e78edaf5f98725edc261433a8d30d728bbada9c839831fbc837422a.jpg

3962ace98e78edaf5f98725edc261433a8d30d728bbada9c839831fbc837422a.jpg

9f910f9237c55bcabec097a8fd586a86e7514e0049258eb04cf29717a32563ae.jpg

9f910f9237c55bcabec097a8fd586a86e7514e0049258eb04cf29717a32563ae.jpg

f1ed570f89f2fb7b204a0151ab50ec798956cca2876b792fc86c7318a1210c14.jpg

f1ed570f89f2fb7b204a0151ab50ec798956cca2876b792fc86c7318a1210c14.jpg

cc4cbb25275bfcfe254edb921c5205f270106ce1edc0e8bc559b63fb22b40c47.jpg

cc4cbb25275bfcfe254edb921c5205f270106ce1edc0e8bc559b63fb22b40c47.jpg

bb25bfbe1f3ed7bd650af3dfa23958ff0af2e9a261716e54f75b6e2e72b7d69c.jpg

bb25bfbe1f3ed7bd650af3dfa23958ff0af2e9a261716e54f75b6e2e72b7d69c.jpg

13b2b6f1d252652f50ea2f177bfd38d968e18ff153d4cc5314fee002820e8d25.jpg

13b2b6f1d252652f50ea2f177bfd38d968e18ff153d4cc5314fee002820e8d25.jpg

fd141ad93ab5ed6165d550af1c4501a1d9dc7f2af072fe7204c520bb4dc34a13.jpg

fd141ad93ab5ed6165d550af1c4501a1d9dc7f2af072fe7204c520bb4dc34a13.jpg

6e1af5020ca46434c900c2f5e8dfb9ac22b539f0a61599d79c982e0d399a34e5.jpg

6e1af5020ca46434c900c2f5e8dfb9ac22b539f0a61599d79c982e0d399a34e5.jpg

bc6ab44ae32cc45573d7c819362df91b64e05cd1e85dec78fb630204079f336b.jpg

bc6ab44ae32cc45573d7c819362df91b64e05cd1e85dec78fb630204079f336b.jpg

66f42d3ae2c59275080903c966cc0910fefcb814038a2623ee46962d4df4d6d9.jpg

66f42d3ae2c59275080903c966cc0910fefcb814038a2623ee46962d4df4d6d9.jpg

8d71a5234f9fdeafa53f31bbe9b9c5764870090bd078242f2b7576611bfe9701.jpg

8d71a5234f9fdeafa53f31bbe9b9c5764870090bd078242f2b7576611bfe9701.jpg

3b956bb8339a013b8ee36fcbfe0ddd0fe913ced0ebba28f9c9ab40a317d3b264.jpg

3b956bb8339a013b8ee36fcbfe0ddd0fe913ced0ebba28f9c9ab40a317d3b264.jpg

14375582f8358c91c47eea20c5397a4bf2fd4c41cec61e598ba697fabd19ea9d.jpg

14375582f8358c91c47eea20c5397a4bf2fd4c41cec61e598ba697fabd19ea9d.jpg

c01bf558d66f4cce95f9256d534e2d3c845f69e8888ead2f0ffea89977294006.jpg

c01bf558d66f4cce95f9256d534e2d3c845f69e8888ead2f0ffea89977294006.jpg

3177de0ac458c8ff2dc473e3456e87b8b2d28984c5fe6283774ff66e8a8003ea.jpg

3177de0ac458c8ff2dc473e3456e87b8b2d28984c5fe6283774ff66e8a8003ea.jpg

0e15e18eae61f69f7f916fdcbbb5fd4e771bfeda03f338ee639d61709761e046.jpg

0e15e18eae61f69f7f916fdcbbb5fd4e771bfeda03f338ee639d61709761e046.jpg

84d5b4a594b5338292145b78e531d4b168c08ad9e8e839c1971b45ec1819c7a6.jpg

84d5b4a594b5338292145b78e531d4b168c08ad9e8e839c1971b45ec1819c7a6.jpg

e0fcbebcb6c36a0069ae8b07d49a31da9591d652164c7a5e9a9975e75db9df13.jpg

e0fcbebcb6c36a0069ae8b07d49a31da9591d652164c7a5e9a9975e75db9df13.jpg

05342ab9d4cc2905976be93e134d41298600be95d67fad88c595b2ec145245d5.jpg

05342ab9d4cc2905976be93e134d41298600be95d67fad88c595b2ec145245d5.jpg

02d22a3b60684ad7cf11b7aa7b585c6f5bc127c66514c13d1913eb1954dc8454.jpg

02d22a3b60684ad7cf11b7aa7b585c6f5bc127c66514c13d1913eb1954dc8454.jpg

01b1d6cfaf743347c7e864fd25e89d76ed857ba902f9f677c278bce1b1813dac.jpg

01b1d6cfaf743347c7e864fd25e89d76ed857ba902f9f677c278bce1b1813dac.jpg

4f07cf38fb8da1d4a6cd6b65edd9bcd35fd9093cc42c0c93af259d7dd73bad52.jpg

4f07cf38fb8da1d4a6cd6b65edd9bcd35fd9093cc42c0c93af259d7dd73bad52.jpg

541d836fdf99dab4b6d8951b45be4cdede09907c9769614b5e89b3231a936836.jpg

541d836fdf99dab4b6d8951b45be4cdede09907c9769614b5e89b3231a936836.jpg

2805c73e2939b945c04c52394096f0a723d75b4e378478ff37981b2ef2bb5cea.jpg

2805c73e2939b945c04c52394096f0a723d75b4e378478ff37981b2ef2bb5cea.jpg

Agent APIs

Use this datasheet from any agent

Send the page, markdown, chunks, or search endpoint to ChatGPT, Claude, embedr-app, or your own tooling.