Tool/software:
Dear Expert:
the customer need to solve this problem as below : (1) our calculated result is much larger than the actual result, how can we correct it? A resistance measurement of 2 milliohm is 2.3A, the calculated current should be 1.15A, and the calculated power consumption is 13W. Now the formula is too large.
we design as below:
First, the development environment uses INA226AIDGSR, I2C communication protocol, the peripheral connection is 2 milliohm resistance, and the official connection resistance is consistent, our expected current is 4 A
second :Test
(1) Calculate with the data on the official website:

The configuration register (0x00) uses the default value 0x4127
The check register (0x05) fills the default value 0x0A00
The minimum unit of current uses the calculation of 1mA
current: The value of the 0x04 register * 0.0001
power calculation: The value of register 0x06 is * 0.0001 *25
The calculated results are as follows:

In fact, the voltage at both ends of the resistance is only about 2.5mV
(2) Calculate with the predicted current of 4A:
The configuration register (0x00) uses the default value 0x4127
The calculated current minimum unit is: 0.000122A
The calculated correction register (0x05) has a value of 0x51EB
Current calculation: The value of the 0x04 register * 0.0.000122
power calculation: The value of the 0x06 register * 0.0.000122 *25
The calculated results are as follows:
