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.

BQ40Z80: Relative state of charge

Part Number: BQ40Z80
Other Parts Discussed in Thread: BQSTUDIO, EV2400, GPCCHEM

Hi,

we built a battery pack based on two Samsung 18650-30Q in series. I configured the BMS with the chemical ID 2085 and all the other parameters should be in compliant with the specification of the batteries.

We have a strange behaviour on the relative state of charge that seems to be not in compliant with the real state of the battery. Hereafter the screenshot that show the RSoC to 100% with the battery not fully charged.

In that condition the BMS stops the charging (the OC flag pops up, you can see the log:

Thu Jan 20 14:51:13 CET 2022

Device Version Info = 4800_0_04
BQZ Device Name = bq40z80
BQZ Firmware Version = V0_04_BLD5

Design Capacity = 2950
Design Voltage = 7200
Specification Info = 0x0031
Manufacturer Date = 2020-10-1
Serial Number = 0x0003
Manufacturer Name = Dronus
Device Name = bq40z80
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,SoH,OpStatA,OpStatB,TempRange,ChgStat,GaugeStat,ITStat,MfgStat,SafetyAlertAB,SafetyStatAB,SafetyAlertCD,SafetyStatCD,PFAlertAB,PFStatAB,PFAlertCD,PFStatCD,CellVolt1,CellVolt2,CellVolt3,CellVolt4,CellVolt5,CellVolt6,CellVolt7,vBAT,vPACK,CellCurr1,CellCurr2,CellCurr3,CellCurr4,CellCurr5,CellCurr6,CellCurr7,CellPower1,CellPower2,CellPower3,CellPower4,CellPower5,CellPower6,CellPower7,Power,AvgPow,IntTemp,TS1Temp,TS2Temp,TS3Temp,TS4Temp,CellTemp,FETTemp,GaugeTemp,FltRemQ,FltRemE,FltFullChgQ,FltFullChgE,NoLoadRemCap,TrueRemQ,TrueRemE,InitialQ,InitialE,TrueFullChgQ,TrueFullChgE,T_sim,T_ambient,RaScale1,RaScale2,RaScale3,RaScale4,RaScale5,RaScale6,RaScale7,CompRes1,CompRes2,CompRes3,CompRes4,CompRes5,CompRes6,CompRes7,PackGrid,LStatus,CellGrid1,CellGrid2,CellGrid3,CellGrid4,CellGrid5,CellGrid6,CellGrid7,StateTime,DOD0_1,DOD0_2,DOD0_3,DOD0_4,DOD0_5,DOD0_6,DOD0_7,DOD0 Passed Q,DOD0 Passed E,DOD0 Time,DODEOC_1,DODEOC_2,DODEOC_3,DODEOC_4,DODEOC_5,DODEOC_6,DODEOC_7,QMax1,QMax2,QMax3,QMax4,QMax5,QMax6,QMax7,QMaxDOD0_1,QMaxDOD0_2,QMaxDOD0_3,QMaxDOD0_4,QMaxDOD0_5,QMaxDOD0_6,QMaxDOD0_7,QMaxPassedQ,QMaxTime,Tk,Ta,RawDOD_1,RawDOD_2,RawDOD_3,RawDOD_4,RawDOD_5,RawDOD_6,RawDOD_7,CBTime1,CBTime2,CBTime3,CBTime4,CBTime5,CBTime6,CBTime7,CBDOD_1,CBDOD_2,CBDOD_3,CBDOD_4,CBDOD_5,CBDOD_6,CBDOD_7,CBTotalDODChg,SOH_FC_Q,SOH_FC_E,LogRowTime(ms),LogStatus
1,2022-01-20 14:51:17,4.011,0x6981,300,10,0x0001,0,65535,65535,1,25.6,7787,0,0,1,100,67,1963,1963,65535,65535,65535,0,0,0x00C0,28,-7649,-4526,-11800,-6746,95,0x6981,0x2000,0x08,0x0004,0x50,0x1014,0x0038,0x0000,0x0000,0x0000,0x0040,0x0000,0x0000,0x0000,0x0000,3894,3893,0,0,0,0,0,7814,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25.0,25.5,196.4,-273.2,-273.2,25.5,25.0,25.5,1963,0,1963,0,4033,2669,1812,1413,968,1963,0,26.4,20.5,1000,1000,0,0,0,0,0,703,710,0,0,0,0,0,1,14,1,1,0,0,0,0,0,2589,7616,7648,0,0,0,0,0,-2119,-4764,755,1184,904,0,0,0,0,0,3600,3590,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,-2119,755,1.68,260,7616,7648,0,0,0,0,0,0,0,0,0,0,0,0,7616,7648,0,0,0,0,0,16384,2799,1995,1162,SUCCESS
2,2022-01-20 14:51:21,8.011,0x6981,300,10,0x0001,0,65535,65535,1,25.5,7787,0,0,1,100,67,1963,1963,65535,65535,65535,0,0,0x00C0,28,-7649,-4526,-11800,-6746,95,0x6981,0x2000,0x08,0x0004,0x50,0x1014,0x0038,0x0000,0x0000,0x0000,0x0040,0x0000,0x0000,0x0000,0x0000,3894,3893,0,0,0,0,0,7815,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25.0,25.5,196.1,-273.2,-273.2,25.5,24.8,25.5,1963,0,1963,0,4033,2669,1812,1413,968,1963,0,26.4,20.5,1000,1000,0,0,0,0,0,703,710,0,0,0,0,0,1,14,1,1,0,0,0,0,0,2593,7616,7648,0,0,0,0,0,-2119,-4764,755,1184,904,0,0,0,0,0,3600,3590,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,-2119,755,1.68,260,7616,7648,0,0,0,0,0,0,0,0,0,0,0,0,7616,7648,0,0,0,0,0,16384,2799,1995,1177,SUCCESS
3,2022-01-20 14:51:25,12.021,0x6981,300,10,0x0001,0,65535,65535,1,25.5,7787,0,0,1,100,67,1963,1963,65535,65535,65535,0,0,0x00C0,28,-7649,-4526,-11800,-6746,95,0x6981,0x2000,0x08,0x0004,0x50,0x1014,0x0038,0x0000,0x0000,0x0000,0x0040,0x0000,0x0000,0x0000,0x0000,3894,3893,0,0,0,0,0,7815,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25.0,25.5,196.4,-273.2,-273.2,25.5,25.0,25.5,1963,0,1963,0,4033,2669,1812,1413,968,1963,0,26.4,20.5,1000,1000,0,0,0,0,0,703,710,0,0,0,0,0,1,14,1,1,0,0,0,0,0,2597,7616,7648,0,0,0,0,0,-2119,-4764,755,1184,904,0,0,0,0,0,3600,3590,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,-2119,755,1.68,260,7616,7648,0,0,0,0,0,0,0,0,0,0,0,0,7616,7648,0,0,0,0,0,16384,2799,1995,1184,SUCCESS
4,2022-01-20 14:51:29,16.022,0x6981,300,10,0x0001,0,65535,65535,1,25.5,7787,0,0,1,100,67,1963,1963,65535,65535,65535,0,0,0x00C0,28,-7649,-4526,-11800,-6746,95,0x6981,0x2000,0x08,0x0004,0x50,0x1014,0x0038,0x0000,0x0000,0x0000,0x0040,0x0000,0x0000,0x0000,0x0000,3894,3893,0,0,0,0,0,7815,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25.0,25.5,196.4,-273.2,-273.2,25.5,25.0,25.5,1963,0,1963,0,4033,2669,1812,1413,968,1963,0,26.4,20.5,1000,1000,0,0,0,0,0,703,710,0,0,0,0,0,1,14,1,1,0,0,0,0,0,2601,7616,7648,0,0,0,0,0,-2119,-4764,755,1184,904,0,0,0,0,0,3600,3590,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,-2119,755,1.68,260,7616,7648,0,0,0,0,0,0,0,0,0,0,0,0,7616,7648,0,0,0,0,0,16384,2799,1995,1181,SUCCESS
5,2022-01-20 14:51:33,20.037,0x6981,300,10,0x0001,0,65535,65535,1,25.5,7787,0,0,1,100,67,1963,1963,65535,65535,65535,0,0,0x00C0,28,-7649,-4526,-11800,-6746,95,0x6981,0x2000,0x08,0x0004,0x50,0x1014,0x0038,0x0000,0x0000,0x0000,0x0040,0x0000,0x0000,0x0000,0x0000,3894,3893,0,0,0,0,0,7815,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25.0,25.5,196.4,-273.2,-273.2,25.5,25.0,25.5,1963,0,1963,0,4033,2669,1812,1413,968,1963,0,26.4,20.5,1000,1000,0,0,0,0,0,703,710,0,0,0,0,0,1,14,1,1,0,0,0,0,0,2605,7616,7648,0,0,0,0,0,-2119,-4764,755,1184,904,0,0,0,0,0,3600,3590,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,-2119,755,1.68,260,7616,7648,0,0,0,0,0,0,0,0,0,0,0,0,7616,7648,0,0,0,0,0,16384,2799,1995,1198,SUCCESS
 .

After the reset, the reset the RSoC returns to a “normal” value and the battery restart the charging. (See the RSoc after reset)

I attached also the parameters. Where is the configuration problem?

0172.Data memory.gg.csv