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.

UCD90120A: UCD90120A Current measurement inaccuracies?

Part Number: UCD90120A
Other Parts Discussed in Thread: INA214, TPS7A8300, UCD90120, UCD9246E

Hello Team,

A customer is having issue's with the UCD90120A  and in-inaccuracies in current measurement.

I am also having some trouble with current measurements through the UCD90120A and the Fusion Digital Software.

I have a 0.005 ohm sense resistors connected to several of the MON inputs of the UCD90120A through INA214 sense amplifiers (Gain = 100). I have the Iout Cal Gain parameter for those “rails” set accordingly to 5000 milli-ohm.

At higher load currents, the values reported by Digital Fusion are very accurate, but at low-mid  currents, error is terrible. At 99 mA, for example (which is 20% of full scale), error is -21%!

I also noticed that the resolution in the reported values is 15 or 16 mA. It should theoretically be 0.12 mA.

I am suspicious of a truncation error in the software.

Electronic Load Measurement [A]

Fusion Digital Reported Values [A}

Error

                          0.009

       0.031

240.7%

                          0.020

       0.031

59.0%

                          0.050

       0.031

-37.4%

                          0.099

       0.078

-21.1%

                          0.199

       0.188

-5.6%

                          0.299

       0.281

-6.1%

                          0.373

       0.391

5.0%

                          0.376

       0.406

8.0%

                          0.379

       0.406

7.3%

                          0.385

       0.406

5.5%

                          0.395

       0.406

2.7%

                          0.397

       0.406

2.4%

                          0.398

       0.391

-1.8%

                          0.398

       0.406

2.0%

                          0.400

       0.391

-2.2%

                          0.401

       0.391

-2.5%

                          0.403

       0.391

-2.9%

                          0.404

       0.391

-3.3%

                          0.407

       0.406

-0.2%

                          0.422

       0.422

0.0%

                          0.498

       0.499

0.1%

  • Hello

    Which MON pins are used for IOUT measurement/

    Please be noted that MON10-13 can not measure any voltage below 200mV as described in the data sheet.

    This may impact your accuracy on the low current.

    Thanks

    Yihe

  • I am using MON1-MON9 for current measurements.

  • Hello

    There are many factors to contribute accuracy. Do you have the probe to check the voltage on the MON pin. there could be some ripples which are not measured by the current meter.

    • Reference voltage inaccuracy due to V33A ripple
    • Noise on MON pin
    • Grounding noise
    • High input impedance to MON pin.  There is a leakage current in / out of the input.  In this case, it can be as high as +/- 5uA.  If you have a source impedance on the input of 1Kohm, this can contribute another 5mV of error.  .

    Regards

    Yihe

  • Thank you for the suggestions Yihe. I do not believe any of the factors you identified explain the inaccuracies I have seen.

    1. The UCD90120 is powered by a low noise linear regulator (TPS7A8300), through a low pass filter (2 ohm, 4.7 uF) to the V33A pin of the UCD90120A, so I do not think noise on the reference is an problem.

    2. I also do not think noise on the MON pin is the problem, as I currently have nothing running on this board except the UCD90120A and UCD9246E and several switching regulators that these devices control. All regulators are at no load except the particular rail I am testing.

    3. Similar to above, I don't think ground noise is an issue here. I have 10 contiguous ground planes, and again, nothing else currently operating on this board except the UCD90120A and UCD9246E.

    4. High input impedance on the MON pin is definitely not a problem, as I am driving them directly from an INA214 current sense amplifier.

    I'd again like to emphasize that the theoretical measurement resolution on the particular rail that I provided data on is 0.12 mA, but I am seeing a resolution of 15 or 16 mA. This is 2 orders of magnitude worse that it should be. I think that either the UCD90120A firmware, or the Fusion Digital Software is dropping least significant bits, or truncating somewhere.

    I'd also like to note that I am seeing similar current measurement inaccuracies on output currents measured with the UCD9246E.

    Finally, I'd like to share the results of an experiment I did that may shed some light on this problem. I experimentally changed the "Iout Cal Gain" from 5000 to 5. The reported values were 1000 times greater than expected, of course, but after dividing the reported values by 1000, the accuracy was MUCH better as shown below.

    Gain Set to 5
    Electronic Load Measurement [A] Fusion Digital Reported Values Reported Values / 1000 Error
                             0.0196                    19.656            0.0197 0.29%
                             0.0495                    49.563            0.0496 0.13%
                             0.0990                    99.250            0.0993 0.25%
                             0.0990                    99.500            0.0995 0.51%
                             0.1991                  200.500            0.2005 0.70%
                             0.2994                  301.000            0.3010 0.53%
                             0.3982                  400.500            0.4005 0.58%
                             0.4985                  500.000            0.5000 0.30%

    This could be a viable work around, except that at with only 3 digits to the left of the decimal point reported by the Digital Fusion software, this would limit the current I could measure to 999 / 1000 = 0.999 amp.

  • Hello

    Thank you for the further test and update.

    If you have a current sensing at 100x gain, the IOUT CAL Gain shall be set to 10 instead of 5000 or 5.

    with a IOUT_CAL_GAIN =10mohms, the measured current by UCD9012A is = 1000/10 * the voltage on the MON pin.

    I checked the design, The reason is in order to save memory to provide large range detection, only 6 bit are used for fraction which is equal to 1/64 = 15.625mA. The IOUT resolution is 15.624mA. You test result also matches this.

    Regards

    Yihe

  • Thanks again Yihe.

    I have a 50 milli-ohm sense resistor and current sense amplifier with a gain of 100 (on this particular channel), so the gain should be 5000 milli-ohm. This was validated by the data in the first table I sent. With a load (as measured by external equipment) of 0.498 A, and the gain set to 5000 [milli-ohm], the Fusion Digital Power software reported a value of 0.499 [A].

    This software "design", using only 6 bits for the fraction, is quite problematic for me.  The part has a 12 bit ADC, and I was counting on that resolution, but the software is limiting me to only 6 bits. Is there any way we might request a software update to correct this?

    Thanks again,

    Tom 

  • Hello Tom

    As long as the value reported from GUI matches the result, the gain is good.

    We do have a 12bit ADC, but we only have 16 bits to represent the result, excluding the signed bit, only 15 bits can be used.

    For the current sensing, most customers need large current(couple hundreds), that's why the resolution is not so important for large current.

    At this point, the workaround you mentioned in the previous post would be the best solution.

    Regards

    Yihe

  • Hello

    We haven't heard you for sometime and assumed that this issue has been solved. Please reply if you need any further help.

    Thanks

    Yihe

  • Hello Yihe,

    This has certainly NOT been solved. The UCD90120A is advertised to have 12 bit resolution, and I was counting on that performance in my application. But due to the software implementation, I am only getting 6 bit resolution. Frankly, I don't think this is acceptable and am still looking to TI to provide a solution.

    Thank you,

    Tom

     

  • Hello Tom

    The implemented is fixed and we cannot change it.

    The workaround is to change the IOUT_GAIN to avoid the low current measurement .

    Regards

    Yihe