This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

INA226 Evaluation Module

Other Parts Discussed in Thread: INA226, BQ24040

Hey,
I choose to present in here a professional question about the INA226 Evaluation Module that I purchased from TI 
I want to measure current consumption of my circuit and display it's data in the graph.
I can not understand the calculation that is performed in LABVIEW of the Calculations tab.
I have a Bluetooth circuit which is consumes a current of 33.6mA - 33.9mA
(I checked through a precise DVM).
The Configuration tab I have set in Step 5:
the external resistor which I use (I chose one ohm at first but then I found the limit of 81.92 mV then i went back and i down it's value to 0.047ohm, three parallel - 0.0007633 ohm) enough to measure streams of several Hundreds of Miliaohmes.
Now the question: How do you determine the value of Max Current and Current LSB?
Suppose I do know what my maximum current consumption (Trough a charger chip wich is 0.8A max, BQ24040 datasheet) and I set it to 0.8
How do you determine the Current LSB? i mean, set it to the LOW LSB value??
I ask that because these constant values are ​​having a significant effect
on the calculation of the current and voltage measurments, and also unnecessary to specify that the values ​​I get are hundreds of Miliamfrim (which is not true at all)
help please !
THANKS, Idan
  • Hi Idan,

    Section 7.5 of the datasheet explain how to determine the Current LSB step by step. Everything that is on the calculations tab of the EVM GUI (LABVIEW) is explained in that section. The MAX current depends in your application.

    In addition to this we have a training Video that explain the calculations as well:

    Also, I am attaching a Excel Spreadsheet that contain all formulas needed. 6683.INA226_Cal_workbook.xlsx

    Hope this helps,

  •  I can not understand why I get totally incorrect measurement results, which is doesn't make sense at all..

    my DVM (which i trust) give me result of 98mA (really close to the actual measurement -> 100mA) VS. the INA226 module that giving me 434mA.

    again, I do know what my maximum current consumption (Through a charger chip which is 0.8A max, BQ24040 datasheet) and I set it to 0.8, Current LSB to 25uA

  • Hi Idan,

     

    Can you confirm the following?

    1. What is the current reported back by INA226? 434mA?

    2. The drawing shows a DVM measurement of Vshunt to be 10mV, is this correct? If so the two measurements agree and the problem is not with INA226.

    3. If both (1) and (2) are correct, you may still be suspecting that INA226 is somehow causing the large 10mV reading, then uninstall INA226, make a DVM measurement to see if the 10mV still exists. If it does, the resistance between the measurement terminals is probably not as small as you expected. This may be caused by layout, soldering etc.

    4. If only INA226 is reporting back the wrong current value, please share all relevant settings/readings, including Current LSB; CAL register(05h) value; Shunt Voltage register(01h) reading; Current register(04h) reading.

       

    Another note: The sense resistor you chose is too small, let alone when you put two in parallel. While this is probably not the cause of the problem and nothing prevents you from doing this, it does limit the dynamic range. An optimal resistor value is one that enablse full input range at the maximum expected current level. As an example, if the MAX expected current is 100mA, a sense resistor that is between 0.5 and 0.8 Ohm is a better choice unless the system can't tolerate a 50mV drop.

     

    For the same 100mA MAX expected current, I would choose current LSB to be 10uA; then with a 0.5Ohm resistor, CAL register value would be 1024 according to equation (1) in the datasheet.

     

    Regards,

    Guang-Apps CS Products

  • thank you for your fast respons!!

    Well, in fact it seems that the problem is resolved.

    I disconnected the Shunt resistor (I did not mention it, but this resistors is SMD type which plugged into parallel edges of thin metal wire on each side to connect to the module) from INA226 module to perform the measurement of the resistance with my accurate test equipment (LCR), but this time I have included testing the two ends of the conductors wire i soldered before and I got a completely different outcome measurement (it was 108m ohm) relative to the resaults i have done without the wires (23.5m ohm)

    I connected the shunt to the circuit again while changing the resistor value calculation from 0.0235ohm to 0.108ohm (on the GUI) and finally got the result i was expected! (The result was close but with a deviate of 6 mA, i think it is because the resistance datasheet claim to say it is 1% accuracy and 1/10W so i get Losses.. and NO, i dont know why my parallel resistors didn't blowed up or burned)

    To be honest, I never imagined that the metal wire has almost resistance (micro ohm) but because it was thin (according to the formula R = P * L / A) 'A' was small and as a result the resistance was relatively high..


    mysterious electronics.. NOT ANY MORE!
    Untill next time :)