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-R1: Learning cycle

Part Number: BQ40Z50-R1
Other Parts Discussed in Thread: BQ40Z50
vishwaradhya G

Hello Steven

with the srec your shared we made a pretty good improvements but still facing few more issue 

We found that charging current fluctuates between 500ma to 1A very frequently (charging through DC regulated power supply).how to resolve this issue.

Some how with the same fluctuating current battery charged fully 5 hours,and kept for discharging with constant load of 10 ohms.we absorb that discharge was perfect and looking forwrd to set [vok] and [rdis] registers after fully discLerning_cyc_log.zipharged,but this not happened.

  • Hi, Vish

        Can you please provide the log file during charging so that I can check which bits are actually affecting the charging.

        Please make sure the NTC is installed and the temperature is measured correctly

  • Wed Oct 30 11:07:08 IST 2019
    
    Device Name = bq40z50R3
    Firmware Version = V3_09_BLD0073
    
    Design Capacity = 4400
    Design Voltage = 3700
    Specification Info = 0x0031
    Manufacturer Date = 1980-1-1
    Serial Number = 0x0001
    Manufacturer Name = Texas Instruments
    Device Name = bq40z50-R3
    Device Chemistry = LION
    
    Sample,DateTime,ElapsedTime,ManufAccess,RemCapAlarm,RemTimeAlarm,BattMode,@Rate(@),@TimeFull,@TimeEmpty,@RateOK,Temperature,Voltage,Current,AvgCurr,MaxErr,RSOC,ASOC,RemCap,FullChgCap,RunTimeEmty,AvgTimeEmty,AvgTimeFull,ChgCurr,ChgVolt,BattStat,CycleCnt,MaxTurboPwr,SusTurboPwr,MaxTurboCurr,SusTurboCurr,TurboRhf,TurboVx,TurboQpass,TurboIsim,TurboVloadCell1,TurboVloadCell2,TurboVloadCell3,TurboVloadCell4,TurboVloadStack,TurboVloadSystem,TurboReffCell1,TurboReffCell2,TurboReffCell3,TurboReffCell4,TurboReffStack,TurboReffSystem,TurboSPPCCell1,TurboSPPCCell2,TurboSPPCCell3,TurboSPPCCell4,TurboSPPCStack,TurboSPPCSystem,TurboRhfCell,SoH,OpStatA,OpStatB,TempRange,ChgStat,GaugeStat,ITStat,MfgStat,SafetyAlertAB,SafetyStatAB,SafetyAlertCD,SafetyStatCD,PFAlertAB,PFStatAB,PFAlertCD,PFStatCD,CellVolt1,CellVolt2,CellVolt3,CellVolt4,vBAT,vPACK,CellCurr1,CellCurr2,CellCurr3,CellCurr4,CellPower1,CellPower2,CellPower3,CellPower4,Power,AvgPow,IntTemp,TS1Temp,TS2Temp,TS3Temp,TS4Temp,CellTemp,FETTemp,GaugeTemp,UnCompCellVolt1,UnCompCellVolt2,UnCompCellVolt3,UnCompCellVolt4,FiltCellVolt1,FiltCellVolt2,FiltCellVolt3,FiltCellVolt4,FiltCellCurr1,FiltCellCurr2,FiltCellCurr3,FiltCellCurr4,FiltTemp,FltRemQ,FltRemE,FltFullChgQ,FltFullChgE,NoLoadRemCap,TrueRemQ,TrueRemE,InitialQ,InitialE,TrueFullChgQ,TrueFullChgE,T_sim,T_ambient,RaScale1,RaScale2,RaScale3,RaScale4,CompRes1,CompRes2,CompRes3,CompRes4,PackGrid,LStatus,CellGrid1,CellGrid2,CellGrid3,CellGrid4,StateTime,DOD0_1,DOD0_2,DOD0_3,DOD0_4,DOD0 Passed Q,DOD0 Passed E,DOD0 Time,DODEOC_1,DODEOC_2,DODEOC_3,DODEOC_4,QMax1,QMax2,QMax3,QMax4,QMaxDOD0_1,QMaxDOD0_2,QMaxDOD0_3,QMaxDOD0_4,QMaxPassedQ,QMaxTime,Tk,Ta,RawDOD_1,RawDOD_2,RawDOD_3,RawDOD_4,CBTime1,CBTime2,CBTime3,CBTime4,CBDOD_1,CBDOD_2,CBDOD_3,CBDOD_4,CBTotalDODChg,BalStat,SOH_FC_Q,SOH_FC_E,AccumT,AccumQ,LogRowTime(ms),LogStatus
    1,2019-10-30 11:07:12,4.032,0x0187,300,10,0x6081,0,65535,65535,1,26.6,3628,671,672,100,13,12,515,4258,65535,65535,353,4004,4200,0x0080,0,0,0,0,0,0,0,-26,-2000,3420,0,0,0,3420,3420,0,0,0,0,0,0,-32767,-32767,-32767,-32767,-32767,-2000,0,98,0x0187,0x0000,0x10,0x0004,0x90,0x1018,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3628,0,0,0,3766,3801,670,0,0,0,243,0,0,0,244,244,23.8,26.5,26.6,26.6,26.8,26.6,-273.2,26.6,3630,0,0,0,3627,0,0,0,671,0,0,0,26.6,516,172,4258,1556,636,516,172,3768,1393,4258,1556,26.6,26.5,1000,0,0,0,0,0,0,0,0,4,0,0,0,0,137,14112,0,0,0,-26,-9,0,80,0,0,0,4400,4400,4400,4400,14112,0,0,0,-26,0,1.0,1000,14112,0,0,0,0,0,0,0,0,0,0,0,0,0,4292,1603,0,0,1515,SUCCESS
    2,2019-10-30 11:07:16,8.029,0x0187,300,10,0x6081,0,65535,65535,1,26.6,3628,672,672,100,13,12,516,4258,65535,65535,353,4004,4200,0x0080,0,0,0,0,0,0,0,-26,-2000,3420,0,0,0,3420,3420,0,0,0,0,0,0,-32767,-32767,-32767,-32767,-32767,-2000,0,98,0x0187,0x0000,0x10,0x0004,0x90,0x1018,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3628,0,0,0,3766,3801,670,0,0,0,243,0,0,0,244,244,23.8,26.5,26.6,26.6,26.8,26.6,-273.2,26.6,3631,0,0,0,3627,0,0,0,671,0,0,0,26.6,516,173,4258,1556,636,516,172,3768,1393,4258,1556,26.6,26.5,1000,0,0,0,0,0,0,0,0,4,0,0,0,0,141,14112,0,0,0,-26,-9,0,80,0,0,0,4400,4400,4400,4400,14112,0,0,0,-26,0,1.0,1000,14112,0,0,0,0,0,0,0,0,0,0,0,0,0,4292,1603,0,0,1495,SUCCESS
    3,2019-10-30 11:07:20,12.029,0x0187,300,10,0x6081,0,65535,65535,1,26.6,3628,671,672,100,13,12,517,4258,65535,65535,353,4004,4200,0x0080,0,0,0,0,0,0,0,-27,-2000,3420,0,0,0,3420,3420,0,0,0,0,0,0,-32767,-32767,-32767,-32767,-32767,-2000,0,98,0x0187,0x0000,0x10,0x0004,0x90,0x1018,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3628,0,0,0,3766,3801,666,0,0,0,242,0,0,0,244,244,23.8,26.5,26.6,26.6,26.8,26.6,-273.2,26.6,3631,0,0,0,3627,0,0,0,670,0,0,0,26.6,517,173,4258,1556,637,517,172,3768,1393,4258,1556,26.6,26.5,1000,0,0,0,0,0,0,0,0,4,0,0,0,0,145,14112,0,0,0,-27,-9,0,80,0,0,0,4400,4400,4400,4400,14112,0,0,0,-27,0,1.0,1000,14112,0,0,0,0,0,0,0,0,0,0,0,0,0,4292,1603,0,0,1489,SUCCESS
    4,2019-10-30 11:07:24,16.030,0x0187,300,10,0x6081,0,65535,65535,1,26.6,3628,671,672,100,13,12,518,4258,65535,65535,353,4004,4200,0x0080,0,0,0,0,0,0,0,-28,-2000,3421,0,0,0,3421,3421,0,0,0,0,0,0,-32767,-32767,-32767,-32767,-32767,-2000,0,98,0x0187,0x0000,0x10,0x0004,0x90,0x1018,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3628,0,0,0,3764,3801,667,0,0,0,242,0,0,0,243,244,23.8,26.6,26.6,26.6,26.8,26.6,-273.2,26.6,3631,0,0,0,3627,0,0,0,670,0,0,0,26.6,518,173,4258,1556,638,518,173,3768,1393,4258,1556,26.6,26.5,1000,0,0,0,0,0,0,0,0,4,0,0,0,0,149,14112,0,0,0,-28,-10,0,80,0,0,0,4400,4400,4400,4400,14112,0,0,0,-28,0,1.0,1000,14112,0,0,0,0,0,0,0,0,0,0,0,0,0,4292,1603,0,0,1417,SUCCESS
    5,2019-10-30 11:07:28,20.029,0x0187,300,10,0x6081,0,65535,65535,1,26.6,3628,671,672,100,13,12,518,4258,65535,65535,353,4004,4200,0x0080,0,0,0,0,0,0,0,-29,-2000,3421,0,0,0,3421,3421,0,0,0,0,0,0,-32767,-32767,-32767,-32767,-32767,-2000,0,98,0x0187,0x0000,0x10,0x0004,0x90,0x1018,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3628,0,0,0,3765,3801,666,0,0,0,242,0,0,0,243,244,23.8,26.6,26.6,26.6,26.8,26.6,-273.2,26.6,3629,0,0,0,3627,0,0,0,670,0,0,0,26.6,519,174,4258,1556,639,519,173,3768,1393,4258,1556,26.6,26.5,1000,0,0,0,0,0,0,0,0,4,0,0,0,0,153,14112,0,0,0,-29,-10,1,80,0,0,0,4400,4400,4400,4400,14112,0,0,0,-29,1,1.0,1000,14112,0,0,0,0,0,0,0,0,0,0,0,0,0,4292,1603,0,0,1414,SUCCESS
    6,2019-10-30 11:07:32,24.030,0x0187,300,10,0x6081,0,65535,65535,1,26.6,3628,671,672,100,13,12,519,4258,65535,65535,353,4004,4200,0x0080,0,0,0,0,0,0,0,-29,-2000,3421,0,0,0,3421,3421,0,0,0,0,0,0,-32767,-32767,-32767,-32767,-32767,-2000,0,98,0x0187,0x0000,0x10,0x0004,0x90,0x1018,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3629,0,0,0,3765,3802,670,0,0,0,243,0,0,0,244,243,23.8,26.6,26.6,26.6,26.8,26.6,-273.2,26.6,3631,0,0,0,3627,0,0,0,670,0,0,0,26.6,519,174,4258,1556,639,519,173,3768,1393,4258,1556,26.6,26.5,1000,0,0,0,0,0,0,0,0,4,0,0,0,0,157,14112,0,0,0,-29,-10,1,80,0,0,0,4400,4400,4400,4400,14112,0,0,0,-29,1,1.0,1000,14112,0,0,0,0,0,0,0,0,0,0,0,0,0,4292,1603,0,0,1453,SUCCESS
    7,2019-10-30 11:07:36,28.030,0x0187,300,10,0x6081,0,65535,65535,1,26.6,3629,668,671,100,13,12,520,4258,65535,65535,353,4004,4200,0x0080,0,0,0,0,0,0,0,-30,-2000,3422,0,0,0,3422,3422,0,0,0,0,0,0,-32767,-32767,-32767,-32767,-32767,-2000,0,98,0x0187,0x0000,0x10,0x0004,0x90,0x1018,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3629,0,0,0,3765,3802,671,0,0,0,244,0,0,0,244,243,23.8,26.6,26.6,26.6,26.8,26.6,-273.2,26.6,3631,0,0,0,3628,0,0,0,669,0,0,0,26.6,520,174,4258,1556,640,520,174,3768,1393,4258,1556,26.6,26.5,1000,0,0,0,0,0,0,0,0,4,0,0,0,0,161,14112,0,0,0,-30,-11,1,80,0,0,0,4400,4400,4400,4400,14112,0,0,0,-30,1,1.0,1000,14112,0,0,0,0,0,0,0,0,0,0,0,0,0,4292,1603,0,0,1477,SUCCESS
    8,2019-10-30 11:07:40,32.030,0x0187,300,10,0x6081,0,65535,65535,1,26.6,3629,669,671,100,13,12,521,4258,65535,65535,353,4004,4200,0x0080,0,0,0,0,0,0,0,-31,-2000,3420,0,0,0,3420,3420,0,0,0,0,0,0,-32767,-32767,-32767,-32767,-32767,-2000,0,98,0x0187,0x0000,0x10,0x0004,0x90,0x1018,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3629,0,0,0,3766,3802,670,0,0,0,243,0,0,0,243,243,23.8,26.6,26.6,26.7,26.9,26.6,-273.2,26.6,3631,0,0,0,3628,0,0,0,669,0,0,0,26.6,521,174,4258,1556,641,521,174,3768,1393,4258,1556,26.6,26.5,1000,0,0,0,0,0,0,0,0,4,0,0,0,0,165,14112,0,0,0,-31,-11,1,80,0,0,0,4400,4400,4400,4400,14112,0,0,0,-31,1,1.0,1000,14112,0,0,0,0,0,0,0,0,0,0,0,0,0,4292,1603,0,0,1487,SUCCESS
    
    Attached log files while charging,what is NTC ? is their any options for settings charging and discharging C ratings?

  • Hi, Vish

        Your log file is pretty short and I do not observe any jump on the current, can you send a longer log file which logs the current when the it is jumping up or jumping down?

  • Vish

       Can you attach a log file with longer logging period as you attached for the first time

  • Vish

        Please click the button marked in below figure to log the charge discharge data

  • Can you just give me a settings after the proper chemical ID selection.which are the parameters and flags i need to set for Single cell battery of SDI ICR18650-26JM.

  • With the screenshot of 1st cycle of learning cycle only FD bit after full discharged,the vok and rdis bits are not cleared,this is the issue am facing please give solution for This.

  • Vish

        I see you have already sent IT enable command.

        1:Please make sure the correct chem ID have been programmed to target device before you do the learning cycle

        2:When you do the learning cycle, please charge the battery to full with FC bit set, then disconnect charger and load and let the battery relax for 2 hours

        3: Make sure the VOK and RDIS clear before discharge, then discharge the battery with c/5 when the voltage is below 3v

        4: Relax for 5 hours. Check whether the Qmax is updated, update status is 5 

        6: Repeat above 1-4 steps again. the ra table should be updated and the update status should be 6.

        For above result, you need to make sure the RDIS is clear before discharge, if this bit is cleared before discharge, then a log file for the whole charge, relax and discharge process is needed for further analyzing.

  • During initial discharged our battery pack is not discharged to FD voltage means i fixed a 2900v,only battery percentage is comes to 0% but voltage is 3890v What is the main reason for this.i attached log files and snapshot for your reference.31oct.log

  • During initial discharged our battery pack is not discharged to FD voltage means i fixed a 2900v,only battery percentage is comes to 0% but voltage is 3890v What is the main reason for this.i attached log files and snapshot for your reference.0640.31oct.log

  • Hi, Vish

        I noticed that the Qmax has changed to 230mAh from at the row of sample #350, please make sure the IT enable command is sent at appropriate opportunity, which means the battery has been fully relaxed, to make this assured, you need firstly make sure the bits QEN, GAUGE_EN and ITEN are cleared, then await 5 hours with disconnected to any charger or load, then send IT enable command, after which you will be able to see QEN, GAUGE_EN and ITEN are all set.

        I also noticed that the Voltage changes weirdly at the beginning with charging current applied and decaying, looks like you are charging the battery with 4.2v charging voltage, but it is strange why the voltage goes down while the current is tapering in the figure below, please make sure there are not other load attaching to the cell and draw current from the cell with sense resistor bypassed.

        Please also make sure your charging voltage aligns with the chemical ID you programmed to the bq40z50, I know many batteries need to be charged with 4.4v charging voltage.