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: Learning Cycle Problems

Part Number: BQ34Z100
Other Parts Discussed in Thread: GPCCHEM

I have 16 Lithium Polymer cells connected in series with a BQ34Z100 fuel gauge.  I have tried to run a number of learning cycles using Battery Management Studio 1.3.54 trying many of the suggestions I have read on this forum but I have been unable to get the Max Error and Update Status values to change.  My process is as follows: -

Configure the BQ34Z100

Discharge pack to terminate voltage at approx C/6

Let it relax for >5 hours

Send "IT Enable" command (QEN and VOK are set)

Charge pack to full capacity (FC is set)

Let it relax for >5 hours (at this point Max Error and Update Status do not change)

Discharge pack to terminate voltage at approx C/6 (at this point Max Error and Update Status do not change)

Can you suggest what I am doing wrong?  I have saved a log file from Battery Management Studio that I can send along with further details of my config.  Is there a way I can send it privately without posting on the forum?

  • Hi MJ
    Did you set your design capacity for your pack correctly. can you attach your log and gg files from the gauge on here for analysis so i can tell you why learning is likely failing.
    thanks
    Onyx
  • Thanks Onyx.  Files attached.

    * Texas Instruments Data Flash File
    * File created Thu Oct 12 18:01:28 2017
    *
    * Device Number 100
    * Firmware Version 0.16
    * Build Number not available
    * Order Number not available
    *
    * bqz Device Number 100
    * bqz Firmware Version 0.16
    * bqz Build Number 17
    *
    * Field Order: Class name, Subclass name, Parameter name, Parameter Value, Display Units
    "Configuration","Safety","OT Chg","55.0","1degC"
    "Configuration","Safety","OT Chg Time","2","Seconds"
    "Configuration","Safety","OT Chg Recovery","50.0","1degC"
    "Configuration","Safety","OT Dsg","60.0","1degC"
    "Configuration","Safety","OT Dsg Time","2","Seconds"
    "Configuration","Safety","OT Dsg Recovery","55.0","1degC"
    "Configuration","Charge Inhibit Cfg","Chg Inhibit Temp Low","0","1degC"
    "Configuration","Charge Inhibit Cfg","Chg Inhibit Temp High","45.0","1degC"
    "Configuration","Charge Inhibit Cfg","Temp Hys","5.0","1degC"
    "Configuration","Charge","Suspend Low Temp","-5.0","1degC"
    "Configuration","Charge","Suspend High Temp","55.0","1degC"
    "Configuration","Charge","Pb EFF Efficiency","100","%"
    "Configuration","Charge","Pb Temp Comp","24.960","%"
    "Configuration","Charge","Pb Drop Off Percent","96","%"
    "Configuration","Charge","Pb Reduction Rate","10.000","%"
    "Configuration","Charge Termination","Taper Current","250","mAmp"
    "Configuration","Charge Termination","Min Taper Capacity","25","mAmpHr"
    "Configuration","Charge Termination","Cell Taper Voltage","100","mVolt"
    "Configuration","Charge Termination","Current Taper Window","40","Seconds"
    "Configuration","Charge Termination","TCA Set %","99","Percent"
    "Configuration","Charge Termination","TCA Clear %","95","Percent"
    "Configuration","Charge Termination","FC Set %","100","Percent"
    "Configuration","Charge Termination","FC Clear %","98","Percent"
    "Configuration","Charge Termination","DODatEOC Delta T","10.0","1degC"
    "Configuration","Charge Termination","NiMH Delta Temp","3.0","1degC"
    "Configuration","Charge Termination","NiMH Delta Temp Time","180","Seconds"
    "Configuration","Charge Termination","NiMH Hold Off  Time","100","Seconds"
    "Configuration","Charge Termination","NiMH Hold Off Current","240","mAmp"
    "Configuration","Charge Termination","NiMH Hold Off  Temp","25.0","1degC"
    "Configuration","Charge Termination","NiMH Cell Negative Delta Volt","17","mVolt"
    "Configuration","Charge Termination","NiMH Cell Negative Delta Time","16","Seconds"
    "Configuration","Charge Termination","NiMH Cell Neg Delta Qual Volt","4200","mVolt"
    "Configuration","Data","Manufacture Date","1980-1-1","Day + Mo*32 + (Yr -1980)*256"
    "Configuration","Data","Serial Number","0001","hex"
    "Configuration","Data","Cycle Count","8","Count"
    "Configuration","Data","CC Threshold","900","mAmpHr"
    "Configuration","Data","Max Error Limit","100","%"
    "Configuration","Data","Design Capacity","8000","MilliAmpHour"
    "Configuration","Data","Design Energy","14800","MilliWattHour"
    "Configuration","Data","SOH Load I","-400","MilliAmp"
    "Configuration","Data","Cell Charge Voltage T1-T2","3900","mV"
    "Configuration","Data","Cell Charge Voltage T2-T3","3900","mV"
    "Configuration","Data","Cell Charge Voltage T3-T4","3900","mV"
    "Configuration","Data","Charge Current T1-T2","10","Percent"
    "Configuration","Data","Charge Current  T2-T3","50","Percent"
    "Configuration","Data","Charge Current  T3-T4","30","Percent"
    "Configuration","Data","JEITA T1","0","degC"
    "Configuration","Data","JEITA T2","10","degC"
    "Configuration","Data","JEITA T3","45","degC"
    "Configuration","Data","JEITA T4","55","degC"
    "Configuration","Data","Design Energy Scale","1","Number"
    "Configuration","Data","Device Name","bq34z100-G1","-"
    "Configuration","Data","Manufacturer Name","Texas Inst.","-"
    "Configuration","Data","Device Chemistry","LION","-"
    "Configuration","Discharge","SOC1 Set Threshold","150","mAh"
    "Configuration","Discharge","SOC1 Clear Threshold","175","mAh"
    "Configuration","Discharge","SOCF Set Threshold","75","mAh"
    "Configuration","Discharge","SOCF Clear Threshold","100","mAh"
    "Configuration","Discharge","Cell BL Set Volt Threshold","2800","mVolt"
    "Configuration","Discharge","Cell BL Set Volt Time","2","Seconds"
    "Configuration","Discharge","Cell BL Clear Volt Threshold","2900","mVolt"
    "Configuration","Discharge","Cell BH Set Volt Threshold","4300","mVolt"
    "Configuration","Discharge","Cell BH Volt Time","2","Seconds"
    "Configuration","Discharge","Cell BH  Clear Volt Threshold","4200","mVolt"
    "Configuration","Discharge","Cycle Delta","0.05","%"
    "Configuration","Manufacturer Data","Pack Lot Code","0000","hex"
    "Configuration","Manufacturer Data","PCB Lot Code","0000","hex"
    "Configuration","Manufacturer Data","Firmware Version","0000","hex"
    "Configuration","Manufacturer Data","Hardware Revision","0000","hex"
    "Configuration","Manufacturer Data","Cell Revision","0000","hex"
    "Configuration","Manufacturer Data","DF Config Version","0000","hex"
    "Configuration","Lifetime Data","Lifetime Max Temp","30.0","1degC"
    "Configuration","Lifetime Data","Lifetime Min Temp","20.0","1degC"
    "Configuration","Lifetime Data","Lifetime Max Chg Current","1006","mAmp"
    "Configuration","Lifetime Data","Lifetime Max Dsg Current","-1457","mA"
    "Configuration","Lifetime Data","Lifetime Max Pack Voltage","1599","20mV"
    "Configuration","Lifetime Data","Lifetime Min Pack Voltage","175","20mV"
    "Configuration","Lifetime Temp Samples","LT Flash Cnt","124","Count"
    "Configuration","Registers","Pack Configuration","09d8","flags"
    "Configuration","Registers","Pack Configuration B","af","flags"
    "Configuration","Registers","Pack Configuration C","37","flags"
    "Configuration","Registers","LED_Comm Configuration","00","flags"
    "Configuration","Registers","Alert Configuration","0000","flags"
    "Configuration","Registers","Number of series cell","8","num"
    "Configuration","Lifetime Resolution","LT Temp Res","1.0","1degC"
    "Configuration","Lifetime Resolution","LT Cur Res","100","mA"
    "Configuration","Lifetime Resolution","LT V Res","1","20mV"
    "Configuration","Lifetime Resolution","LT Update Time","60","Seconds"
    "Configuration","LED Display","LED Hold Time","4","Num"
    "Configuration","Power","Flash Update OK Cell Volt","2800","mVolt"
    "Configuration","Power","Sleep Current","10","mAmp"
    "Configuration","Power","FS Wait","0","Seconds"
    "System Data","Manufacturer Info","Block A 0","00","hex"
    "System Data","Manufacturer Info","Block A 1","00","hex"
    "System Data","Manufacturer Info","Block A 2","00","hex"
    "System Data","Manufacturer Info","Block A 3","00","hex"
    "System Data","Manufacturer Info","Block A 4","00","hex"
    "System Data","Manufacturer Info","Block A 5","00","hex"
    "System Data","Manufacturer Info","Block A 6","00","hex"
    "System Data","Manufacturer Info","Block A 7","00","hex"
    "System Data","Manufacturer Info","Block A 8","00","hex"
    "System Data","Manufacturer Info","Block A 9","00","hex"
    "System Data","Manufacturer Info","Block A 10","00","hex"
    "System Data","Manufacturer Info","Block A 11","00","hex"
    "System Data","Manufacturer Info","Block A 12","00","hex"
    "System Data","Manufacturer Info","Block A 13","00","hex"
    "System Data","Manufacturer Info","Block A 14","00","hex"
    "System Data","Manufacturer Info","Block A 15","00","hex"
    "System Data","Manufacturer Info","Block A 16","00","hex"
    "System Data","Manufacturer Info","Block A 17","00","hex"
    "System Data","Manufacturer Info","Block A 18","00","hex"
    "System Data","Manufacturer Info","Block A 19","00","hex"
    "System Data","Manufacturer Info","Block A 20","00","hex"
    "System Data","Manufacturer Info","Block A 21","00","hex"
    "System Data","Manufacturer Info","Block A 22","00","hex"
    "System Data","Manufacturer Info","Block A 23","00","hex"
    "System Data","Manufacturer Info","Block A 24","00","hex"
    "System Data","Manufacturer Info","Block A 25","00","hex"
    "System Data","Manufacturer Info","Block A 26","00","hex"
    "System Data","Manufacturer Info","Block A 27","00","hex"
    "System Data","Manufacturer Info","Block A 28","00","hex"
    "System Data","Manufacturer Info","Block A 29","00","hex"
    "System Data","Manufacturer Info","Block A 30","00","hex"
    "System Data","Manufacturer Info","Block A 31","00","hex"
    "Gas Gauging","IT Cfg","Load Select","1","Number"
    "Gas Gauging","IT Cfg","Load Mode","0","Number"
    "Gas Gauging","IT Cfg","Res Current","10","mAmp"
    "Gas Gauging","IT Cfg","Max Res Factor","50","num"
    "Gas Gauging","IT Cfg","Min Res Factor","1","num"
    "Gas Gauging","IT Cfg","Ra Filter","500","num"
    "Gas Gauging","IT Cfg","Min PassedChg NiMH-LA 1st Qmax","50","%"
    "Gas Gauging","IT Cfg","Maximum Qmax Change","100","%"
    "Gas Gauging","IT Cfg","Cell Terminate Voltage","3100","mVolt"
    "Gas Gauging","IT Cfg","Cell Term V Delta","200","mVolt"
    "Gas Gauging","IT Cfg","ResRelax Time","500","Seconds"
    "Gas Gauging","IT Cfg","User Rate-mA","0","MilliAmp"
    "Gas Gauging","IT Cfg","User Rate-Pwr","0","mW/cW"
    "Gas Gauging","IT Cfg","Reserve Cap-mAh","0","MilliAmpHour"
    "Gas Gauging","IT Cfg","Reserve Energy","0","mWh/cWh"
    "Gas Gauging","IT Cfg","Max Scale Back Grid","4","num"
    "Gas Gauging","IT Cfg","Cell Min DeltaV","0","mVolt"
    "Gas Gauging","IT Cfg","Ra Max Delta","15","%"
    "Gas Gauging","IT Cfg","Design Resistance","42","mOhms"
    "Gas Gauging","IT Cfg","Reference Grid","4","-"
    "Gas Gauging","IT Cfg","Qmax Max Delta %","10","mAmpHour"
    "Gas Gauging","IT Cfg","Max Res Scale","32000","Num"
    "Gas Gauging","IT Cfg","Min Res Scale","1","Num"
    "Gas Gauging","IT Cfg","Fast Scale Start SOC","10","%"
    "Gas Gauging","IT Cfg","Charge Hys V Shift","40","mVolt"
    "Gas Gauging","IT Cfg","Smooth Relax Time","1000","s"
    "Gas Gauging","Current Thresholds","Dsg Current Threshold","60","mAmp"
    "Gas Gauging","Current Thresholds","Chg Current Threshold","75","mAmp"
    "Gas Gauging","Current Thresholds","Quit Current","40","mAmp"
    "Gas Gauging","Current Thresholds","Dsg Relax Time","60","Seconds"
    "Gas Gauging","Current Thresholds","Chg Relax Time","60","Seconds"
    "Gas Gauging","Current Thresholds","Cell Max IR Correct","400","mV"
    "Gas Gauging","State","Qmax Cell 0","8000","mAmpHr"
    "Gas Gauging","State","Cycle Count","0","num"
    "Gas Gauging","State","Update Status","04","num"
    "Gas Gauging","State","Cell V at Chg Term","3995","mVolt"
    "Gas Gauging","State","Avg I Last Run","-299","mAmp"
    "Gas Gauging","State","Avg P Last Run","-1131","MilliWattHour"
    "Gas Gauging","State","Cell Delta Voltage","2","mVolt"
    "Gas Gauging","State","T Rise","20","Num"
    "Gas Gauging","State","T Time Constant","1000","Num"
    "Ra Tables","Ra0 Table","Ra Flag","ff55","Hex"
    "Ra Tables","Ra0 Table","Ra 0","20","Num"
    "Ra Tables","Ra0 Table","Ra 1","24","Num"
    "Ra Tables","Ra0 Table","Ra 2","28","Num"
    "Ra Tables","Ra0 Table","Ra 3","32","Num"
    "Ra Tables","Ra0 Table","Ra 4","26","Num"
    "Ra Tables","Ra0 Table","Ra 5","29","Num"
    "Ra Tables","Ra0 Table","Ra 6","30","Num"
    "Ra Tables","Ra0 Table","Ra 7","32","Num"
    "Ra Tables","Ra0 Table","Ra 8","33","Num"
    "Ra Tables","Ra0 Table","Ra 9","33","Num"
    "Ra Tables","Ra0 Table","Ra 10","36","Num"
    "Ra Tables","Ra0 Table","Ra 11","41","Num"
    "Ra Tables","Ra0 Table","Ra 12","64","Num"
    "Ra Tables","Ra0 Table","Ra 13","91","Num"
    "Ra Tables","Ra0 Table","Ra 14","148","Num"
    "Ra Tables","Ra0x Table","Ra Flag","ffff","Hex"
    "Ra Tables","Ra0x Table","Ra 0","20","Num"
    "Ra Tables","Ra0x Table","Ra 1","24","Num"
    "Ra Tables","Ra0x Table","Ra 2","28","Num"
    "Ra Tables","Ra0x Table","Ra 3","32","Num"
    "Ra Tables","Ra0x Table","Ra 4","26","Num"
    "Ra Tables","Ra0x Table","Ra 5","29","Num"
    "Ra Tables","Ra0x Table","Ra 6","30","Num"
    "Ra Tables","Ra0x Table","Ra 7","32","Num"
    "Ra Tables","Ra0x Table","Ra 8","33","Num"
    "Ra Tables","Ra0x Table","Ra 9","33","Num"
    "Ra Tables","Ra0x Table","Ra 10","36","Num"
    "Ra Tables","Ra0x Table","Ra 11","41","Num"
    "Ra Tables","Ra0x Table","Ra 12","64","Num"
    "Ra Tables","Ra0x Table","Ra 13","91","Num"
    "Ra Tables","Ra0x Table","Ra 14","148","Num"
    "Calibration","Data","CC Gain","3.852","mohm"
    "Calibration","Data","CC Delta","3.845","mohm"
    "Calibration","Data","CC Offset","-1460","num"
    "Calibration","Data","Board Offset","-10","num"
    "Calibration","Data","Int Temp Offset","0","degC"
    "Calibration","Data","Ext Temp Offset","0","degC"
    "Calibration","Data","Voltage Divider","47559","mVolt"
    "Calibration","Temp Model","Ext Coef 1","20982","Seconds"
    "Calibration","Temp Model","Ext Coef 2","-13836","Seconds"
    "Calibration","Temp Model","Ext Coef 3","5202","Seconds"
    "Calibration","Temp Model","Ext Coef 4","233.7","sec"
    "Calibration","Temp Model","Ext Min AD","12909","Seconds"
    "Calibration","Current","Deadband","5","mAmp"
    "Security","Codes","Sealed to Unsealed","36720414","hex"
    "Security","Codes","Unsealed to Full","ffffffff","hex"
    "Security","Codes","Authen Key3","01234567","hex"
    "Security","Codes","Authen Key2","89abcdef","hex"
    "Security","Codes","Authen Key1","fedcba98","hex"
    "Security","Codes","Authen Key0","76543210","hex"
    

    4212.LOG_20171012.log

  • Hi MJ
    you are charging to 3.9V per cell. Is that the max voltage stipulated in teh cell data sheet? You need to charge to the max and discharge to the min stipulated in the cell data sheet. You need to have atleast 90% of design capacity passed charge for learning to be successful< make sure your design capacity is correct. Set FC set to -1.

    I would recommend starting your learning cycle with a discharge. so follow the procedure below
    -issue IT enable.
    -issue reset
    -discharge to empty (min voltage of cell in cell DS) using c/7
    -rest 5 hours
    -charge to full at c/2
    -rest two hours
    -discharge to empty at c/7
    -rest 5 hours


    After learning completes you can adjust your charge voltage back to 3.9V per cell and issue a reset command.

    thanks
    Onyx
  • Hi Onyx,

    For other reasons I was only charging to 3.9V and I thought the learning cycle would adjust capacity accordingly.  I will now change my process to charge and discharge to the max and min as per your steps above.

    For the rest/relax time, is there any problem if this time is greater than 5 hours (I will rest overnight)?

     

  • No there is no problem if the relax time is greater than 5 hours
    thanks
    Onyx
  • Hi Onyx,

    I have adjusted the parameters as you suggested but now I don't see the FC bit set. I will check the parameters and run the cycle again.

    In the meantime can you tell from my previous log files if I have a compatible chemistry selected? I tried to use the online tool from but I didn't get any response.
  • Hi MJ,
    Pls attach the files you were submitting to gpcchem on here so i take a look .

    With regards to FC, pls review the conditions for FC to get set and make sure you are meeting all of them. You can attach your log and new gg file so i take a look as well

    thanks
    Onyx
  • Thanks Onyx. I reviewed my parameters based on your suggestions and now achieved a valid learning cycle.