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.

BQ34Z100-G1: Unable to rectify errors when uploaded data files @ http://www.ti.com/tool/GPCRB 

Part Number: BQ34Z100-G1
Other Parts Discussed in Thread: GPCRB, GPCCHEM, GPCCEDV, BQ34110, , GPCRA0, BQSTUDIO, EV2400

Your Gauging Parameter Calculator report is here.
Texas Instruments
Thank you for your interest in the Gauging Parameter Calculator from TI.
There was an error in processing your report. The specific error encountered is:

The following errors were reported by the calculation engine:
Error: low temperature file has no rest after discharge current for OCVpoint is -0.006
Error: negative low temperature resistance observed, R=-19.4547168463698 usually caused by wrong chem ID selection 0


Please see the Gauging Parameter Calculator for information about the file format and the procedure for creating the input zip file. Should you want to resubmit or need assistance with the Gauging Parameter Calculator, please reference the sites below:

• Go to Gauging Parameter Calculator to re-submit.
• Visit TI E2E™ Community on Battery Fuel Gauges or the Gauging Parameter Calculator.
• TI Battery Management Homepage

Thank you for using TI's Gauging Parameter Calculator for Battery Fuel Gauges.

I had uploaded the following files config.txt • roomtemp.csv • lowtemp.csv • gg.csv on the link http://www.ti.com/tool/GPCRB 

with rest period after discharge (in cold)?

wrjhygwejgrjwgerjgw e hgrjgwejgrhjwww.ti.com/.../GPCRBsdsdsfrtrwetrethewrwe

Your Gauging Parameter Calculator report is here.
https://ci6.googleusercontent.com/proxy/vRUmYFdTcwQg4WwiyQaNrkK4ZFsOZR9nIwBUdQWWi3SNHv88mEjQyqfpexOyd_VsEbXBIJTfsC9RGhCNZOdkEQ=s0-d-e1-ft#http://www.ti.com/corp/graphics/spacer.gif
Texas Instruments
Thank you for your interest in the Gauging Parameter Calculator from TI.
There was an error in processing your report. The specific error encountered is:

The following errors were reported by the calculation engine:
Error: low temperature file has no rest after discharge current for OCVpoint is -0.006
Error: negative low temperature resistance observed, R=-19.4547168463698 usually caused by wrong chem ID selection 0


Please see the Gauging Parameter Calculator for information about the file format and the procedure for creating the input zip file. Should you want to resubmit or need assistance with the Gauging Parameter Calculator, please reference the sites below:
• Go to Gauging Parameter Calculator to re-submit.
• Visit TI E2E™ Community on Battery Fuel Gauges or the Gauging Parameter Calculator.
• TI Battery Management Homepage

Thank you for using TI's Gauging Parameter Calculator for Battery Fuel Gauges.

  • Hi PR,

    Can you please let us know the files that you are sending? There might be somethign wrong with the files themselves. What changes have you done already to try to fix this issue?

    Thanks

    Miguel
  • Hi PR,

    I looked at your files, they are both the same. However i was able to find out a few things that are off.

    It seems the error you are getting is due to the battery not relaxing with sufficient enough time. It seems that it relaxed for about 60s before it was discharged. You will have to re run the testing and upload the the GPCRB tool. Also make sure that you are not chaning the gg file. Start with the default srec file and only add the CHEMID for your cell then export as a gg file and that is the file to use in your zip file.

  • 0358.GPC_FG2_leared stauts_files_06_29_2018.zipI had uploaded new files in GPC tool.  I recived the following error :

    Your Gauging Parameter Calculator report is here.

    Texas Instruments

    Thank you for your interest in the Gauging Parameter Calculator from TI.

    There was an error in processing your report. The specific error encountered is:

    Error: Computation was not successful, but the specific reason was not identified.

          Please check that all files are prepared according to the documentation.

          The support personnel have been informed

    Please see the Gauging Parameter Calculator for information about the file format and the procedure for creating the input zip file. Should you want to resubmit or need assistance with the Gauging Parameter Calculator, please reference the sites below:

    • Go to Gauging Parameter Calculator to re-submit.

    • Visit TI E2E™ Community on Battery Fuel Gauges or the Gauging Parameter Calculator.

    • TI Battery Management Homepage

    Thank you for using TI's Gauging Parameter Calculator for Battery Fuel Gauges.

  • Hi PR,

    I am sorry for the delay. I checked your log but i still see the same data. I don't see that you have rested long enough. Did you retake the data as we suggested?

    Thanks

    Miguel
  • Hi P R,

    It has been a while since we have heard back from you. I'm hoping you have resolved the issue. If not, please let me know!

    Sincerely,
    Bryan Kahler
  • Hi P R,

    The log files included above are for the GPCCEDV tool, however, the config file is for the GPCCHEM tool.

    If you are trying to determine the CEDV coefficients for use in a CEDV gauge, such as the bq34110, please modify your config.txt. For example (this values will vary):

    NumCellSeries=6
    CellTermV=3000
    ChemType=1
    VoltageColumn=1
    CurrentColumn=3
    TemperatureColumn=2
    ElapsedTimeColumn=0
    FitMaxSOC%=12
    FitMinSOC%=6
    LearnSOC%=7

    For more information about the gpccedv tool, please refer to the documentation at http://www.ti.com/tool/gpccedv and www.ti.com/.../sluub45b.pdf



    If you are trying to determine the chemID of your system, for use in an IT gauge, such as the bq34z100-G1, please use the GPCCHEM tool.  For example the config.txt file (values will vary) should be along the lines of:

    ProcessingType=2
    NumCellSeries=2
    ElapsedTimeColumn=0
    VoltageColumn=1
    CurrentColumn=2
    TemperatureColumn=3

    In addition, the data log should be roomtemp_rel_dis_rel.csv


    For more information about the gpcchem tool, please refer to the documentation at http://www.ti.com/tool/gpcchem and www.ti.com/.../sluub45b.pdf

    Sincerely,
    Bryan Kahler

  • Hi PR,

    Thank you for the amended files. The issue seems to be with the gg.csv file.

    Please program the CHEMID into a blank gg.csv file that is not learned.

    To do so:
    1) Save you current SREC for posterity ;)
    2) Program the default SREC to the device.
    3) Program your CHEMID to the device using the Chemistry tab
    4) Export the GG.CSV file from the gauge.

    Sincerely,
    Bryan Kahler
  • Earlier I had uploaded the gg file with default setting ,following is the reply that I received. Can you please tell me if after blanking the fuel gauge and programing the CHEMID (as per your recommendation)how could the fuel gauge know if the Battery is 4s3P without calibration?

    Barsukov, Yevgen <e-barsoukov2@ti.com>
    Jul 2
    to me
    Something is wrong with your voltage column.



    The value is 577, and number of serial cells is 4. This does not convert to any known cell voltage range.



    Voltage needs to be either in V or in mV.



    Regards,
    Yevgen
  • Hi PR,

    The config.txt file instructs the tool as to the number of series cells. The number of parallel cells does not need to be known as it is just increased capacity, which is determined from the logs.

    The reason you include a fresh, unlearned chemID is so the gpcrb tool may optimize the parameters, as described in: www.ti.com/.../sluubd0.pdf

    You will then take the output from the tool, flash the gauge with it and then load your data flash settings.

    Sincerely,
    Bryan Kahler
  • Hi Bryan,

    I work with PR at Wabtec.

    Qsns
    1. Is issue with gg.csv file only? Is it safe to assume 6 sets of data collected over room, -40C and +50C good?
    2. Can we send you new gg.csv file quickly using below instructions? Without collecting new captures at room, -40C and +50C that takes weeks?

    For gg.csv:
    1) Save you current SREC for posterity ;)
    2) Program the default SREC to the device.
    3) Program your CHEMID to the device using the Chemistry tab
    4) Export the GG.CSV file from the gauge.

    Padam Swar
  • Hi Padam,

    >>1. Is issue with gg.csv file only? Is it safe to assume 6 sets of data collected over room, -40C and +50C good?

    To best answer this, lets back up just a second and discuss the Gauging Parameter Calculator (GPC) suite of tools. There are several GPC tools, each with a specific purpose:

    1. gpcCEDV - Determines the Compensated End of Discharge Voltage (CEDV) parameters for your cell. Used with CEDV gauges. Requires a zip archive consisting of: 6 logs in total at 3 temperatures and a config file.
    2. gpcCHEM - Determines the chemID match for your cell. Used with Impedance Track (IT) gauges. Requires a zip archive consisting of: 1 log at room temperature and a config file.
    3. gpcRA0 - Optimizes gauging parameters for IT gauges with respect to increased room temperature and high rate discharge performance. Requires a zip archive consisting of: 1 log of discharge at system-typical high rate, a fresh gg.csv file with only the chemID programmed and a config file.
    4. gpcRB - Optimizes gauging parameters for IT gauges with respect to increased low temperature performance. Requires a zip archive consisting of: 1 log of discharge at room temperature, 1 log of discharge at low temperature, a fresh gg.csv file with only the chemID programmed and a config file.

    The 6 sets of data do not need to be collected for the GPCRB tool.

    >>2. Can we send you new gg.csv file quickly using below instructions? Without collecting new captures at room, -40C and +50C that takes weeks?

    6 logs do not need to be taken for the GPCRB tool. A full charge, rest, discharge, rest log is required at low and at room temp for the GPCRB tool.

    The link to the GPCRB tool page is here: http://www.ti.com/tool/gpcrb

    The link to the GPCRB tool user manual is here: www.ti.com/.../sluubd0

    Please follow the steps therein. The config.txt file requirements differ between all of the tools. If you have any questions, please let me know.

    Sincerely,
    Bryan Kahler
  • Hi Brian,

    Understood. I will request Antonio to setup a call to give background info, our previous exchanges with your colleagues at TI.

    Regarding statement "a fresh gg.csv file with only the chemID programmed"

    Is this statement relevant for "gg.csv" file only? If yes, I would like to keep discharge data but resend  zip file with new gg.csv file.

    Can two sets of discharge data be from a fuel gauge that has undergone calibration, learning process and approx. 40 cycles? 

    • roomtemp.csv

    • lowtemp.csv

    Padam

  • Hi PR,

    Have you done what Bryan has mentioned above?

    Thanks
  • Hi Padam,

    The roomtemp and lowtemp log files are simply reported Voltage, Current, Temperature and Timestamp. A gauge that has undergone calibration connected to EV2400 or EV2300 and a PC running bqStudio can be used to collect these logs, or another logging tool such as an Arbin or a Maccor.

    40 cycles should not be a problem.

    Sincerely,
    Bryan Kahler
  • Bryan,

    I resubmitted GPCRB zip file with newly extracted gg.csv file (after SREC file erase and Chem ID 400 program). Received below email from TI server

    The following errors were reported by the calculation engine:
    Error: negative room temperature resistance observed, R=-2.16030142033643 usually caused by wrong chem ID selection

    Also attached are zip files submitted to TI and GPCRB report file.

    Any thoughts on root cause?

    Regards

    Padam

    Wabtec_GPCRB_BQ34Z100G1_Aug6.zipWabtec_GPCRB_BQ34Z100G1_Aug6-report.zip

  • Hi Padam,

    Please let the cell soak for 2 hours at the lower temperature before beginning the test.

    Sincerely,
    Bryan Kahler
  • Hi Bryan,

    Soaked for approx. 2.5hrs and recaptured new low temp discharge data.

    Got same error. See attached.

    The following errors were reported by the calculation engine:
    Error: negative room temperature resistance observed, R=-2.16030142033643 usually caused by wrong chem ID selection

    Wabtec_GPCRB_BQ34Z100G1_Aug10.zipWabtec_GPCRB_BQ34Z100G1_Aug10-report.zip

    Padam

  • Hi Padam,

    Please try using the gpcchem tool to determine the chemID (to see if the value changes). Then, program the chemID result on top of your gauge with the settings for your application. Please do not learn the pack after this step. Then, export the gg.csv file and use this new gg.csv file with your upload.

    If the issue still persists after these steps, please send the error again as you have done above.

    Sincerely,
    Bryan Kahler
  • Bryan,

    Will do. Does attached GG file and below excerpt mean that FuelGauge hasn't not learned? Is this acceptable initial condition before collecting data for GPCCHEM?


    Cycle Count 0 num
    Update Status 0 num

    I erased my FuelGauge using default SREC file, calibrated voltage divider etc but did not enter Chem ID. Charge and discharge tests are in progress for GPCCHEM.

    Padam

    Aug13_GG_file_at_beginning of GPCCHEM Capture.gg.csv.zip

  • Hi Padam,

    The gauge does not need to be learned to use the GPCCHEM tool. The GPCCHEM tool needs to be supplied with a timestamped voltage, current, temperature (VIT) log of the battery cell during a discharge cycle. The full instructions for taking this log can be found here: www.ti.com/.../slva725

    For this log, the gauge is simply being utilized as a VIT logger. Please ensure the device is properly reading voltage and current. The SOC measurement shown in bqStudio may be incorrect - this is expected as the device is not yet set up for gauging. Once the log is submitted to the GPCCHEM tool, the GPCCHEM tool will return a chemID to program into the device. At this point, the gauge need to be configured for IT gauging, as described in the device datasheet.

    Sincerely,
    Bryan Kahler
  • Bryan,

     

    The following errors were reported by the calculation engine:
    Error: negative room temperature resistance observed, R=-2.16030142033643 usually caused by wrong chem ID selection

    Same old error seen after below steps

      • Erased fuel gauge by programming default SREC
      • Configured correct voltage divider and calibration offset so that Fuel Gauge reads voltage and current accurately
      • With Max Error 100% and Cycle Count 0, started log capture of charge, relax > 5hrs, discharge at 450mA (C/10), relax  > 5hrs
      • Submitted zip file to TI GPC server, received Chem ID 0446 (looks wacky to me in terms of Capacity, 0446 points to AVNET 12500mAh, my battery capacity is 4500mAh)
      • Programmed Chem ID 0446, got new gg.csv file (prior to Aug 14 we were using Chem ID 400)
      • Resubmitted my old log capture from Aug 14 with the exception of new gg.csv file

     

    Any thoughts on this? I think we should have a call to go over this.  

     

    Regards,

    Padam

     

    Aug14_Wabtec_GPC-report.zipAug14_Wabtec_GPC.zip

     

    August_16_2018_Wabtec_GPCRB.zip

     

  • Hi Padam,

    Thank you for the update. I received your information and will provide an update on Tuesday. If the answer is not definitive, we will set up a call to discuss in depth.

    Sincerely,
    Bryan Kahler
  • Hi Padam,

    The issue is cased by a high current leak when current should be zero, resulting voltage decreasing when the battery should be at rest in the room temperature file.

    Please modify the test setup so there is no leakage current, allowing voltage to relax during rest.

    At low temp this doesn't to seem to be a problem, however, there is another issue: at low temp the discharge rate is too high so there is only a 50% DOD drop at termination due to the cell voltage springing back (increasing heavily) because of the high discharge rate after termination voltage is met. 90% DOD is called for so make sure to reduce the discharge rate for the low temperature test.

    Sincerely,
    Bryan Kahler
  • "The issue is cased by a high current leak when current should be zero, resulting voltage decreasing when the battery should be at rest in the room temperature file.

    Please modify the test setup so there is no leakage current, allowing voltage to relax during rest."

    Padam >> Using attached "roomtemp.csv" file, can you please point to rows that indicate there is high leakage current?

    I see voltage drop during 2-hr relaxation period while current is 0.  Is this your hint that there is high leakage current?

    Isn't this a normal behavior of LiFePO4 or any Lithium battery therefore a need for relax interval6153.roomtemp.zip?

  • Hi Padam,
    It is not normal for the voltage to drop during relaxation, so there must be some leakage path slowly draining your battery. A common issue is that the load might not be completely disconnected or isolated, even though you have it off. What equipment do you have connected during the relaxation? The equipment might be "off" but not have high impedance and therefore could still be slowly draining your battery. Try to fully disconnect it and see if the voltage stabilizes.
  • During relaxation immediately after charge, only thing connected to battery is FuelGauge EVM from TI which is connected to EV2400 -> USB -> PC. (voltage seems to drop 1V in first 2 hrs, stabilizes completely in approx. 4 hrs)

    During relaxation immediately after discharge, two things connected to battery are

    1.  FuelGauge EVM from TI which is connected to EV2400 -> USB -> PC

    2.  CBA IV battery load  -> USB -> PC (voltage seems to rise 1V in first 2 hrs, stabilizes completely in approx. 4 hrs)

    Both behavior are counter-intuitive. If there was parasitic path I would expect voltage to drop further in second case - relaxation immediately after discharge.

  • Hi Padam,

    Please try repeating the test with a battery and remove the load after discharging.

    Sincerely,
    Bryan Kahler
  • Re-ran tests with two sets of FuelGauges and batteries. Got below results. Any thoughts on why R=-23

    Relax period before and after discharging is 24hrs in both cases.

    1. Original battery and fuel gauge for last 3-4 months (FG3, BATT5).

    The following errors were reported by the calculation engine:
    Error: negative low temperature resistance observed, R=-23.0298819036048 usually caused by wrong chem ID selection

    2. New battery and new fuel gauge (FG51, BATT 51)

    Thank you for your interest in the Gauging Parameter Calculator from TI. Please find attached the Gauging Parameter Calculator report that was based on your Gauging Parameter Calculator input zip file submission.

    GPC report.txt  
    Warning: Rb level detected as 1. No Rb tweak available for Rb1 level. Please check if gg file was exported after ID programming  

     

    Sept12_2018_FG3_BATT5-report.zipSept12_2018_FG3_BATT5.zipSept12_2018_FG51_BATT51-report.zipSept12_2018_FG51_BATT51.zip

  • Hi Padam,

    Thank you for files. I will analyze and the issue and update this thread before Tuesday.

    Sincerely,
    Bryan Kahler
  • Hi Padam,

    For both tests, the RA Tables do not appear to be that of chemID 0400.

    Please program the gg.csv file with a fresh chemID 0400 before using the tool.

    The incorrect values input to the tool are given below:

    "Ra Tables","Ra0 Table","Ra Flag","ff55","Hex"
    "Ra Tables","Ra0 Table","Ra 0","24","Num"
    "Ra Tables","Ra0 Table","Ra 1","24","Num"
    "Ra Tables","Ra0 Table","Ra 2","25","Num"
    "Ra Tables","Ra0 Table","Ra 3","36","Num"
    "Ra Tables","Ra0 Table","Ra 4","23","Num"
    "Ra Tables","Ra0 Table","Ra 5","26","Num"
    "Ra Tables","Ra0 Table","Ra 6","31","Num"
    "Ra Tables","Ra0 Table","Ra 7","30","Num"
    "Ra Tables","Ra0 Table","Ra 8","30","Num"
    "Ra Tables","Ra0 Table","Ra 9","30","Num"
    "Ra Tables","Ra0 Table","Ra 10","28","Num"
    "Ra Tables","Ra0 Table","Ra 11","27","Num"
    "Ra Tables","Ra0 Table","Ra 12","28","Num"
    "Ra Tables","Ra0 Table","Ra 13","25","Num"
    "Ra Tables","Ra0 Table","Ra 14","25","Num"
    "Ra Tables","Ra0x Table","Ra Flag","ffff","Hex"
    "Ra Tables","Ra0x Table","Ra 0","24","Num"
    "Ra Tables","Ra0x Table","Ra 1","24","Num"
    "Ra Tables","Ra0x Table","Ra 2","25","Num"
    "Ra Tables","Ra0x Table","Ra 3","36","Num"
    "Ra Tables","Ra0x Table","Ra 4","23","Num"
    "Ra Tables","Ra0x Table","Ra 5","26","Num"
    "Ra Tables","Ra0x Table","Ra 6","31","Num"
    "Ra Tables","Ra0x Table","Ra 7","30","Num"
    "Ra Tables","Ra0x Table","Ra 8","30","Num"
    "Ra Tables","Ra0x Table","Ra 9","30","Num"
    "Ra Tables","Ra0x Table","Ra 10","28","Num"
    "Ra Tables","Ra0x Table","Ra 11","27","Num"
    "Ra Tables","Ra0x Table","Ra 12","28","Num"
    "Ra Tables","Ra0x Table","Ra 13","25","Num"
    "Ra Tables","Ra0x Table","Ra 14","25","Num"

    Sincerely,
    Bryan Kahler
  • Bryan

    I have two setups - two different ChemIDs, otherwise identical. Looks like below config got something meaningful after resubmitting with new gg.csv

    FG51, BATT51, Chem ID 0400

    Qsns

    1. Does report and GG_out look accurate?

    2. What is expected from chemdat12_id400 file?

    3. Does this at all mean Chem ID 0400 is a better match?

    Sept20_2018_FG51_BATT51-report.zipSept20_2018_FG51_BATT51.zip

  • Second setup - FG3, BATT5, Chem ID 0446

    August 14 GPC report said Chem ID 0446 (see thread above)

    Error: Computation was not successful, but the specific reason was not identified.

          Please check that all files are prepared according to the documentation.

          The support personnel have been informed

    Qsns

    1. Does this at all mean Chem ID 0446 is wrong?5432.Aug14_Wabtec_GPC-report.zipSept20_2018_FG3_BATT5-report.zipSept20_2018_FG3_BATT5.zip

  • Hi Padam,

    With respect to FG51, BATT51, ChemID 0400

    In bqStudio, navigate to the Chemistry screen and click on the button shown below to program the chemdat to the device:

    Further instructions may be found in this document:

    http://www.ti.com/lit/ug/sluubd0/sluubd0.pdf

    After updating your gauge with these new parameters as described in the document above, please test the SOC performance.  If you have any questions, please let me know!

    Sincerely,

    Bryan Kahler

  • With respect to FG51, BATT51, ChemID 0400

    1. FG accepts new ChemDAT file "chemdat12_ID400"

    2. FG does not accept gg_out.csv file. When Import>Write All is pressed, bqStudio says "Parameter value does not match type and data format.: Gas Gauging. State. T Rise"

    3. Changed laptop, tried new image of gg_out.csv, same error.

    4. Erased FG51 using default SREC file, programmed Chem ID 400, programmed ChemDAT file "chemdat12_ID400", imported gg_out.csv, same error. See attached.

    5. Exported gg.csv from FG (Step 4) to compare with gg_out.csv from TI. Differences in below parameters are seen

    - CC offset

    - Deadband

    - Lifetime max, min temp

    - Lifetime max dsg current

    - LT Flash Cnt

    - Flash update ok cell volt

    - Sleep current

    - T Rise

    - Ra0 table/Ra Flag

    - Ra0x table/Ra Flag

    Sept28_program_fg_51.zip

  • Hi Padam,

    Thank you for the update. As a workaround, please open both gg.csv files in a text editor and hand copy the values exported by the tool into your gauge's gg.csv file. Please ensure that the values adhere to the same format as those values that are being replaced.

    Sincerely,
    Bryan Kahler
  • Hi Bryan

    I can change many parameters manually but cannot change below parameters

    1.T Rise  (when set to -15.21, it throws an error and jumps back to 20)

    2. Ra0 flag (when set to 0055, it jumps back to ff55)

    3. Ra0x flag (when set to 0000, it jumps back to ffff)

    4. CC offset (when set to -1609its jumps around -1612 to -1608 but never gets to -1609)

    Padam

  • Hi Padam,

    For 4, CC Offset is not user configurable. The gauge modifies this value automatically (which explains the jumping behavior).

    For 1-3, these should be able to be set. Please ensure voltage divider is set properly and that flash update OK voltage is set low so writes to dataflash are not prevented.

    If the issue persists, please send me the files in addition to your SREC so I may analyze them locally.

    Sincerely,
    Bryan Kahler
  • I cannot change below parameters even after changing Flash Update Voltage from 3200mV to 2800mV. 4s3p Battery is connected to charger 14.4V.

    1.T Rise  (when set to -15.21, it throws an error and jumps back to 20)

    2. Ra0 flag (when set to 0055, it jumps back to ff55)

    3. Ra0x flag (when set to 0000, it jumps back to ffff)

    Attached are SREC files and other GPCRB files from TI server.

    TI Oct11.zip

  • Hi Padam,

    Thank you for the data. The T Rise value should not be negative and is indicative of a thermistor not measuring the cell temperature.

    Please ensure:

    1) The fan in the temp chamber is not blowing directly on the thermistor. An enclosure for the device or even a piece of cardboard may be used to block airflow directly to the thermistor.
    2) The thermistor is secured to the cells.
    3) If internal temp sensor is being used, please ensure the device is in an enclosure and located near the cells. Measuring cell temp and not ambient is paramount.

    With these modifications, please rerun the logs and resubmit to the GPCRB tool.

    Sincerely,
    Bryan Kahler