background image

INA220 Software Overview

www.ti.com

4.3

Using the INA220 Software

The INA220EVM software has six different tabs that allow you to access different features of the INA220.
The first four tabs are designed so that you can completely configure the device by stepping through the
tabs in order. Each of the tabs is intended to have an intuitive graphical interface that helps you gain a
better understanding of the device.

4.3.1

Overview Tab

This tab has the following controls:

Turn the power supply on and off

Set the I

2

C address

4.3.2

Config Tab

This tab has the following controls:

Shunt voltage attenuator range (smallest range: 40mV; largest range: 320mV)

Shunt voltage configuration: resolution and number of averages. Note that increasing the number of
averages decreases the noise but slows down the conversion rate.

Bus voltage attenuator range (16V and 32V): Note that the maximum bus voltage for the INA220 is
26V. Thus, the 32V range cannot be fully used.

Bus voltage configuration: Resolution and number of averages. Note that increasing the number of
averages decreases noise but slows down the conversion rate.

A/D converter mode: This control determines how the converters work. The most commonly used
modes are Shunt and Bus continuous conversion mode. This mode causes both converters to run
continuously.

More details on these options are explained in the

product data sheet

.

4.3.3

Calibrate Tab

The calibration tab allows users to enter some information regarding the INA220 configuration in a given
application. This information is used to compute the Full-Scale Cal Register. The Full-Scale Cal Register
converts the shunt voltage to a current value. The detailed mathematics behind this calibration feature is
given in the

INA220 data sheet

Also, this feature is explained in a step-by-step manner in the video.

4.3.4

Scaling Tab

This tab allows you to see how the mathematical operations work in the INA220. Specifically, this tab
shows how the current and power values are computed using the full-scale calibration register.

4.3.5

Graph Tab

The graph tab will display bus voltage, shunt current, and power versus time when the software is in
continuous convert mode.

4.3.6

Registers Tab

This tab allows you to read and edit all the registers in the INA220. All the previous tabs affect the register
listing. For example, changing the A/D configuration on Tab 2 will affect Register 0 in the register list. It is
also true that changing register 0 updates the A/D configuration on Tab 2. Thus, the graphical
representation and register representation affect each other.

18

INA220 Evaluation Module

SBOU079A – July 2009 – Revised February 2010

Submit Documentation Feedback

Copyright © 2009–2010, Texas Instruments Incorporated

Содержание INA220

Страница 1: ...9 INA220EVM Default Jumper Settings 11 10 INA220EVM Software Functioning Properly 15 11 INA220EVM Software No Communication with the USB DIG Platform 16 12 INA220EVM Software No Communication with the USB DIG Platform and INA220 17 13 EVM Controls Drop Down Menu 19 14 Current Software Revision 19 List of Tables 1 Signal Definition of J1 25 Pin Male DSUB on INA220_Test_Board 6 2 INA220_Test_Board J...

Страница 2: ...l signals required to communicate with the INA220 which is part of the second board INA220_Test_Board as well as support and configuration circuitry Throughout this document the abbreviation EVM and the term evaluation module are synonymous with the INA220EVM NOTE Much of the information contained in this user s guide is also presented in a quick start video SBOU296 available for download from the...

Страница 3: ... available from the TI web site at http www ti com or call the Texas Instruments Literature Response Center at 800 477 8924 or the Product Information Center at 972 644 5580 When ordering identify the document by both title and literature number Document Literature Number INA220 Product Data Sheet SBOS459 USB DIG Platform Users Guide SBOU058 1 3 Information About Cautions and Warnings This documen...

Страница 4: ... INA220_Test_Board Connectors on the INA220_Test_Board allow the user to connect to the system under test whose power current and voltage will be monitored Figure 2 INA220EVM Hardware Setup 2 1 Theory of Operation for INA220_Test_Board Hardware Figure 3 presents a block diagram of the INA220_Test_Board The functionality of this PCB is relatively simple It provides connections to the I2 C interface...

Страница 5: ...1 2 T3 T_STRIP2 GND GND 1 2 3 JMP5 1 2 3 JMP4 Vs I2C_SDA_ISO I2C_SCK_ISO 1 2 3 JMP3 1 2 3 JMP2 DAC_A DAC_B DAC_A and DAC_B used for Test with USB DAQ Platform only Vin 10 Vin 9 Gnd 7 VS 6 SCL 5 SDA 4 AO 2 A1 1 VBUS 8 U1 INA220 1 2 3 T4 T_STRIP3 VBus VBus A0 www ti com System Setup Figure 4 illustrates the system setup for the INA220_Test_Board schematic D1 is an LED that indicates whether the INA2...

Страница 6: ...C_SDA2 No connection 11 NC No connection 12 I2C_SCK_ISO I2 C clock signal SCL channel 1 can be disconnected using a switch 13 I2C_SDA_ISO I2 C data signal SDA channel 1 can be disconnected using a switch 14 NC No connection 15 NC No connection 16 NC No connection 17 VDUT Switched 3V or 5V power Note that when power is switched off the digital I O is also switched off 18 VCC No connection 19 NC No ...

Страница 7: ...igure 5 gives a brief overview of the platform The primary control device on the USB DIG Platform is the TUSB3210 Figure 5 USB_DIG_Platform Theory of Operation 3 INA220EVM Hardware Setup The INA220EVM hardware setup involves connecting the two PCBs of the EVM together applying power connecting the USB cable and setting the jumpers This section presents the details of this procedure 3 1 Electrostat...

Страница 8: ...to Figure 6 shows the typical hardware connections Figure 6 Typical Hardware Connections 3 3 Connecting the Hardware To connect the two PCBs of the INA220EVM together gently push on both sides of the D SUB connectors as shown in Figure 7 Make sure that the two connectors are completely pushed together loose connections may cause intermittent operation 8 INA220 Evaluation Module SBOU079A July 2009 ...

Страница 9: ...power before connecting the USB cable If you connect the USB cable before connecting the power the computer will attempt to communicate with an unpowered device that will not be able to respond Figure 7 Connecting Power to the EVM 9 SBOU079A July 2009 Revised February 2010 INA220 Evaluation Module Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Страница 10: ...e USB Human Interface Device This pop up indicates that the device is ready to be used The USB DIG platform uses the Human Interface Device Drivers that are part of the Microsoft Windows operating system In some cases the Windows Add Hardware Wizard will pop up If this prompt occurs allow the system device manager to install the Human Interface Drivers by clicking Yes when requested to install dri...

Страница 11: ...e 2 INA220_Test_Board Jumper Functions Jumper Default Purpose This jumper determines the source for the INA220 power supply In the Vdut position the USB DIG JMP1 VDUT board supplies the power to the INA220 In the Vs_Ext position an external supply connected to the INA220 T3 terminal supplies power A0 address input selection This jumper determines JMP2 JMP3 JMP2 GND which signal is connected to the...

Страница 12: ...This jumper sets the address for the USB board The only reason to change from the default setting is if multiple boards are being used JUMP9 5V This selects the voltage of the device under test supply VDUT 5V or 3V This jumper is typically the only jumper that is changed for most applications JUMP10 WP ON This write protects the firmware EEPROM JUMP11 WP ON This write protects the calibration EEPR...

Страница 13: ...bsolutely critical that the mode supply voltage does not exceed 5 5V in this mode The supply is directly applied to devices with 5 5V absolute maximum ratings This mode of operation is useful when a device supply other then 3 0V or 5 0V is required Table 5 Power Supply Jumper Configuration 2 Mode Jumper Comment Bus Power 5V JUMP17 BUS In this mode the USB bus completely powers the EVM The USB bus ...

Страница 14: ...T positon The INA220 power supply VS operates over the range of 3V to 5 5V so be careful to not exceed this range 3 8 Connecting External Signals to the INA220EVM The INA220 shunt and bus voltages are applied via terminal block T4 The T4 terminal block is a direct connection to VIN and VIN of the INA220 The bus voltage is monitored on VBUS 26V max The shunt voltage is the difference between VIN an...

Страница 15: ...e Windows Control Panel utility Add Remove Software The INA220 Quick Start Video included with the kit or available for download in the INA220 product folder gives more detail regarding the initialization of the software 4 2 Starting the INA220EVM Software The INA220 software can be operated through the Windows Start menu From Start select All Programs then select the INA220EVM program Figure 10 s...

Страница 16: ...on for this problem is that there may be a problem with your computer USB Human Interface Device Driver Make sure that when you plug the in the USB cable the computer recognizes the device If the sound is on you will hear the distinctive sound that you expect when a USB device is properly connected to the PC Figure 11 INA220EVM Software No Communication with the USB DIG Platform 16 INA220 Evaluati...

Страница 17: ...oards make sure the 25 pin connectors are completely pushed together Another possible cause of this issue it that the INA220_Test_Board jumpers are set in the wrong position Figure 12 INA220EVM Software No Communication with the USB DIG Platform and INA220 17 SBOU079A July 2009 Revised February 2010 INA220 Evaluation Module Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorp...

Страница 18: ... mode causes both converters to run continuously More details on these options are explained in the product data sheet 4 3 3 Calibrate Tab The calibration tab allows users to enter some information regarding the INA220 configuration in a given application This information is used to compute the Full Scale Cal Register The Full Scale Cal Register converts the shunt voltage to a current value The de...

Страница 19: ...o is a simple text file and can be viewed with any text editor Figure 13 EVM Controls Drop Down Menu 4 3 8 Software Revision The Help About feature can be used to check the current software revision as Figure 14 illustrates This document is based on revision 1 0 35 Figure 14 Current Software Revision 19 SBOU079A July 2009 Revised February 2010 INA220 Evaluation Module Submit Documentation Feedback...

Страница 20: ...842 4 PLUG R A 25POS Electronics 30GOLD With Threaded Inserts and Board locks 9 3 N A N A SHUNT LP AMP Tyco 881545 2 W HANDLE 2 POS Electronics 30AU 10 5 JUMP3 cut to size JMP1 JMP5 CONN HEADER Samtec TSW 132 07 G S 32POS 100 SGL GOLD 4 per Strip 11 4 Standoff None Standoffs Hex Keystone 2203 4 40 Threaded 0 500 length 0 250 OD Aluminum Iridite Finish 12 4 Screw None SCREW MACHINE Building Fastene...

Страница 21: ... 3 12 Added Table 4 and Table 5 13 Added Section 3 7 14 Added Section 3 8 14 NOTE Page numbers for previous revisions may differ from page numbers in the current version 21 SBOU079A July 2009 Revised February 2010 Revision History Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Страница 22: ... product This notice contains important safety information about temperatures and voltages For additional information on TI s environmental and or safety programs please contact the TI application engineer or visit www ti com esh No license is granted under any patent right or other intellectual property right of TI covering or relating to any machine process or combination in which such TI produc...

Страница 23: ...ch statements TI products are not authorized for use in safety critical applications such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury or death unless officers of the parties have executed an agreement specifically governing such use Buyers represent that they have all necessary expertise in the safety and regulatory ramifications o...

Отзывы: