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.

Strange results on TimeToEmpty and StateOfCharge measurement

Other Parts Discussed in Thread: BQ27510-G3, BQEVSW, BQSTUDIO, BQ34Z100-G1, BQ34Z100

Hello everybody,

I need your help on the following.

Our application has not a stable load, we are driving a brushless motor for 1s and stop it for one more second, and do it again all the time. We made the learning cycle as requested on stable load, everything was ok except at the end where some warnings appeared during the writing of certain value (?) but the golden file was finally created.

When we are making test, most of time everything is perfect - see the 4 first cycles on the file attached. But, sometimes - see the last cycle on the attached file, at the end of the cycle, the value given by the gauge stays stable during ~1h. On the example attached, the StateOfCharge does not move to 31% for ~1h, and the TimeToEmpty is changing a little bit during the same time. And suddenly, the values recover the correct values !!!...After one hour !

Is somebody understand what could happen ?

Where are reading the gauge every 1s, is it too much ?

Could we thing that the learning has wrote bad values somewhere ?

I really appreciate your help on that because the product is ready to launch and we need this function running perfectly.

Many thanks for your contribution

  • Fabien

    Which gauge are you using?

    Tom

  • Hi Tom,
    Sorry, it is the BQ27510-G3 component.
  • Fabien 

    It will be difficult to tell what is going on just from the graphs. Can you provide logs of the cycles ran and the gg file extracted from the gauge. Is this problem reproducible and do you see it on multiple devices?

    thanks

    Onyx

  • Hello Onyx,

    Please find attached the log file of the device. The sample time is 1 min. You will find %, TimeToEmpty and Battery voltage.

    Find also the .dfi file load into the gauge.

    Yes the problem is reproducible but we are not able to be predictable, we don't when it will append again - every 5, 6, x charge/discharge cycles. And also yes, it happens on several devices.

    Many thanks

    Log+DFI.zip

  • Hello everybody,

    Please find attached new data log with 6 consecutive bad cycles.

    This is really surprising, 6 consecutive bad cycles, and until now (on this same machine) everything is correct.

    What could happen ? It looks like during this time current is close to 0, but on the same way, at the end of the cycle the percent come again with a correct value (close to 0 but looks correct) ?

    See attached also a case tracked today where we can read the flash during the default (StateOfCharge is blocked to 89% for a long time). Things strange : The SOH Status = 20 !  StateOfHealth = 170 ! and regarding other machine RUP_DIS is at False - but i don't if it normal or not.

    Many thanks for your help

    OneEventsLog-20150720103346.zip

  • Hi Fabien,

    Do the SOH Status and State of Health values return to a reasonable value if you power-cycle the gauge? Also, I've noticed that the QEN bit in Control Status is set to 0 (that is, Impedance Track is NOT enabled). You can enable it by clicking on the Value field next to "Control" (under "Keep Scanning" in bqEVSW), entering "0021" and pressing Enter on your keyboard. This will activate Impedance Track as it's disabled by default.

    If possible, can you attach the .gg file from the software? That file contains the Data Flash memory settings in the gauge and will make troubleshooting easier. To do this, click on "Data Flash" in the left of bqEVSW, clicking "Read All", then use the "File" -> "Export..." menu to create the .gg file.

    Also, TI has newer software than bqEVSW for working with your fuel gauge, called bqSTUDIO. It's TI's latest evaluation software that provides much more functionality than bqEVSW; one example is that you can send device commands without needing to manually enter them like I explained above, or by using the I2C Pro panel.
  • Hi Jason,

    Many thanks for your help. 

    This is really surprising, we made new test and on 5 machines the problem occures at the same time about 6 cycles !

    If we disconnect the battery, power down and up the gauge, the value is correct and we can imagine to have 5 or 6 good cycles more.

    I notices that the QEN was not Set. We launch new cycles with it selected. We should have the result on 2 or 3 days (charge and discharge takes 12 hours each time).

    Do you think it could be the explanation ?

    This is really surprising, everything is correct and sudendly it fails !!!

    I will try to provide the data from the gauge.

  • Jason,

    Please find attached 3 .gg files zipped. 2 concerns the machine #7b before and after has been blocked et the #10b blocked as well.

    On the machine 7b, I put IT Enable on DataFlash to 1, but it does not change anything. It was to put QEN at 1, do you think it has the same effect as putting 0021 into the control status.

    Thanks

    GG Files.zip

  • Jason,

    Other question, is it also necessary to put the Gauge in sealed mode ? Because it did not do it !
  • Hi Fabien,

    Impedance Track should be enabled after sending the command 0x0021, and the same applies to manually changing IT Enable in the Data Flash to 1 then resetting the gauge with the command 0x0041.

    After doing a quick check on your attached files, I can't seem to find any huge issues in your configuration. That said, some values in 7B_blocked.gg don't look right (many values are listed as -1, such as the [Temp Model(Calibration)] section, perhaps from a glitchy I2C connection?

    As for putting the gauge into the SEALED state, there is no need to do so during development and test. The SEALED state is used in production battery packs to prevent unintended access to the gauge's Data Flash and certain device commands (for example, the IT_ENABLE command 0x0021 is blocked when in the SEALED state); this is to prevent the gauge from entering undesired states if corrupt I2C commands end up being sent to the gauge, it also provides some security against unauthorized access to the gauge's memory.

    Do you have a full data log captured from bqEVSW (so a log that includes data like the Flags and Control Status registers)? Looking at the Excel log you provided earlier, your Voltage column seems a bit unusual (it doesn't look like it's in mV or V units).

    Regards,
    Jason
  • Hi Jason,

    I appreciate your help on this so strange issue !!!

    We have another data, gauge fails at 6 cycles (charge/discharge) each time !

    The battery voltage on the excel file has to be divided by 10 to have the right voltage. This a 7 cells battery with a nominal at 25.2V.

    We will try to provide log with control status.

    Another assumption : test we ara doing is to keep the charge for 6h and the discharge during 6h also. After 6h charge is just complete. Same for the discharge. That's mean that relation times could be very small and may be absent on some cases. Do you think it could have an impact ?

    After fail, the gauge is not able to recover is correct state alone, we have to get out the battery to reset the component.

    I cannot understand how the calculation can stay to the same value ?

  • Hi Fabien,

    Now that you mentioned it, is there a particular reason you are using a single-cell gauge like the bq27510-G3 in a multi-cell configuration? It's not necessarily a bad thing to do this, but TI has a new gauge, the bq34z100-G1, that is explicitly designed to support single-cell and multi-cell configurations (so you can program that gauge so it knows it is being used in a 7-cell battery).

    Also, to clarify, are you running the cycles with no resting time in between (so once the discharge stops, the charging starts immediately)? Impedance Track needs the battery to "relax" for a while (about 1-5 hours), so that it can take a good open-circuit voltage measurement to update the Qmax and State of Charge readings.

    I'm not sure why the State of Charge readings stop updating after the sixth cycle, but it is hard to tell what is going on inside the gauge without detailed logs.

    Regards,

    Jason

  • Hi Jason,

    Yes we heard about the BQ34z100 but it was too late for this design. We planned to use it on a new product.

    Yes, the test we are doing (which is not really the current use - but it could happen) is to charge and discharge with sometimes 10min until 1hours between phases. So yes, that's mean that Qmax is not updated each time and perhaps never on some test, but it is not a real issue for us because even if Qmax is not updated, the accuracy of the result given is enough for us. Our problem is to have % blocked at the same level during a big part of the discharge, and the same after a new charge, and we don't know why, sometimes, it recovers his good level after a few cycles, but not all the time.

    Tell me if i'm wrong, if Qmax is not updated the risk is just to have a bad accuracy ? that's all ?

    We will try to log data from the gauge. "Control Status" every 1 minutes could be enough ?

    Thank you Jason

  • Fabien,
    The gauge does not have to update Qmax every cycle to maintain accuracy, but it should get updated every 1 to 2 months. The problem that you are seeing where the capacity does not change during the first part of discharge is due to the Passes Charge counter and the pack is probably over charged. The Passed Charge counter continues to increment after RM has reached FCC and the excess charge has to be decremented at the beginning of discharge before RM starts to count down. The Passed Charge will get cleared, if there are adequate rest periods and you should not see this.
    Tom

  • Hi Tom,

    Many thanks for this excellent contribution !

    I could understand the cause but not really the solution.
    Could you please informe more on the things to do to resolve this issue ?

    Thanks again