E2E Maintenance Alert: Please be aware that we are updating our site today at 11 AM CST. During this time, users will be able to browse current site content and perform searches to find your solutions. We expect the Maintenance to be completed by 8 PM CST.
TI E2E Community
Precision Amplifiers Forum
How to get actual value of current and voltage sensing in INA220
I am using INA220 for current and voltage sensing, can anyone tell actual value reading in Shunt Voltage,
Bus Voltage, power and Current. For the hex value reading got from the following registers.
Shunt Voltage register = 0xf060
Bus Voltage register = 0x6c32
Power register = 0x0b63
Current register = 0x1071
I have followed the way given in the data sheet of INA220 but it is not matching the exact value.
Are these values close to what you would expect? Have you double-checked that the calibration register is correct for your application? Additional details such as your common-mode voltage, load current range, and shunt resistor value and tolerance will help.
Precision Analog Applications
Thanks for the replay.
I am using Vbus 12 volts but I am getting 13.8 volt and Vshunt I am getting correct value 40mV.
I am using calibration value 0x10d7 and Configuration Register value 0x019f.
Thank you for the additional information. Have you verfied that Vcm=12V at the input of the device? I have back-calculated your bus voltage register contents...are you seeing a value similar to 0x6BD0? 12V would correspond to a bus voltage register value of ~0x5DC0.
Sorry, I just realized that you already reported a bus voltage register contents of 0x6C32 which does correspond to ~13.8V. Per my previous post, has the 12V been measured at the input pins of the device?
Yes, I can able to measure 12v at the input pins of the device. Can you please suggest for further analysis.
Can you please share this portion of your schematic? Also, what is the expected load current range?
I am using INA220 test board from TI.
I set up an INA220EVM in the default configuration but with Vbus connected to 12V. The bus voltage register contained 0x5DB2, which equates to 11.992V. This corresponds to the decimal value also reported by the EVM software.
I suggest setting up a similar situation (i.e. reverting the EVM back to default settings) to see what is reported by the EVM software.
I hope this helps!
hi Pete Semig,
thank you very much, i will set to default configuration and check.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.