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.

BQ40Z50 RunTimeToEmpty() calculation details

Expert 7280 points

Dear team,

Could you please give us some more details regarding what is returned by RunTimeToEmpty() call ?

From http://www.ti.com/lit/ug/sluua43a/sluua43a.pdf , I don't know if the value is taking into account the LoadMode parameter (=1 for constant power) or if the result is always the result of remaining capacity (mAh) divided by current rate of discharge (mA) ?

If this is the case, then the best way to get an estimation of run time would be to get the remaining capacity (cWh) and current rate of discharge (mW) and divide it in the MCU, right ?

Please feel free to give me a call or take this conversation offline if you need some more details!

All the best,

PA

  • PS: Also, is there any link between BatteryMode() CAPM and the IT Configuration Load Mode 0 (constant current) or 1 (constant power) ?
  • Hello Pierre-Alexandre,

    The IT gauge must be used in the load mode that best matches the application. The load mode impacts the gauge algorithm that runs and the accuracy. I would recommend using load mode = 1 (constant power), if that best matches the application. This will most likely impact the RunTimeToEmpty() parameter calculation, but not necessarily the RemainingCapacity(). CAPM setting will affect the display of RemainingCapacity(), but should impact the RunTimeToEmpty().

    So in your case it would be RunTimeToEmpty() in min = RemainingCapacity() in cWh  * 60/ Power() in cW.

  • Thanks a lot Damian,

    If I read you correctly, LoadMode should impact RunTImeToEmpty, and CAPM should not ?

    I'll get back to you after some tests are done.

    Best regards,
    PA
  • Hi PA,

    Also check your load select settings as well. For constant power, load select settings 0-6 are good. Pick the option that best suite the application. 

  • Hello Damian,

    Thank you! Yes, I already checked this parameter, it was ok.

    FYI, some more tests showed that changing CAPM to 1 modified the result of RunTimeToEmpty().

    RunTimeToEmpty()[min] = 60/10 * RemainingCap() [cWh] / Power()[mWh].

    Still, the result is somehow optimistic, but it's close enough.

    Thanks again,

    All the best,

    PA

  • Hello Pierre-Alexandre,

    Thanks for the feedback. It's better to report  RemainingCap() in the selected load mode.