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.

BQ40Z80EVM-020: BQ40Z80EVM-020

Part Number: BQ40Z80EVM-020
Other Parts Discussed in Thread: BQ40Z80, BQSTUDIO, EV2400, , BQ24600

Good morning,
I designed a BMS Board based on the BQ40Z80 IC. Despite using a schematic similar to the one provided in the BQ40Z80EVM manual and configuring the BQ40Z80 according to the register configuration instructions in the datasheet, my board establishes communication with BqStudio. However, it fails to execute Charging, Discharging, or even retrieve the battery state upon pressing the 'display' button. Consequently, I acquired the BQ40Z80EVM with the intent of replicating the configuration to identify whether the issue lies in the design or the configuration. Regrettably, the BQ40Z80EVM is experiencing communication issues with BqStudio, further complicating the troubleshooting process.

when attempting to connect  the Bq40z80EVM to a computer using either the on-board Ev2400 or an external EV2400 (ensuring that the jumpers are correctly configured as specified in the manual), there's no successful connection between the BQ40Z80EVM and BqStudio. I've tested this with an alternative computer, but the problem persists. Notably, my BqStudio 1.3.101 functions properly, indicating that the issue likely lies with the BQ40Z80EVM. I've attempted to bring the board out of Shutdown mode by following the manual's Wake-up instructions, yet I'm encountering the same connectivity problem. ( i thaught that mabe the BQ40z80Evm is in the shutdown mode so i did the wake-up to make sure).

What could be the solution to this problem? The BQ40z80EVM is brand new and has never successfully established communication.

thank you. 

  • Hello,

    How many cells are you attaching to the bq40z80EVM and please confirm that it matches the orientation below with the unused terminals shorted?

    Also, can you please tell me what configurations you are aiming to achieve, along with how they are configured on the EVM so I can attempt to recreate the issue?

    Regards,

    Anthony Baldino

  • Hi Anthony,

    Thank you for your response.

    I'm currently utilizing a 6-cell configuration based on the table provided. Regarding your second question, the BMS board I've designed serves the purpose of safeguarding the cells against overcurrent, overtemperature, overvoltage, undervoltage, etc., while also providing visibility into the battery level.

    I configured the registers as per the datasheet's instructions, intending to set them to their default values. Because, upon accessing BqStudio, I discovered that these values had not been adjusted to their default settings as specified in the datasheet.
     

    I can replicate the configuration I applied to my BMS board, export it, and send it to you so that you can recreate the issue.

    Best regards,

    Chahine SAKKA.

  • Hi Chahin,

    Understood, regarding the bq40z80EVM connection issue, can you tell me when you are holding the wake button upon start up? Occasionally, the wake button needs to be held as bqStudio during the loading screen with the device powered below to recognize:

    Can you tell me if there are any connections to PACK+ and PACK- as well?

    Please send me the .gg file of the configuration of the BMS board so I can look further into the issue.

    Regards,

    Anthony Baldino

  • Hi Anthony,

    I attempted to press and hold the "Wake" button during the loading screen, but the issue continues.

    The Pack+ and Pack- aren't connected as depicted in the image below.

    The .gg file for the configuration is attached herewith.

    Best Regards,

    Chahine SAKKA




    0755.config.gg.csv

  • Hi Chahin,

    If you are using the attached EV2400, the J18 configuration needs to be changed from EXT SMBD to EV2400 SMBD.

    Also, a shorted connection has to be made from the 6P to 7P connection points.

    Regards,

    Anthony Baldino

  • Hi Anthony, 

    Thank you for your response, 

    I modified the J18 configuration from EXT SMBD to EV2400 SMBD. Despite having attempted this before without success, this time I achieved a result, (I think because this time i held the 'Wake' button during the loading screen). However, the connection was only established for a few seconds.

    Consequently, I pressed the 'Wake' button again, as demonstrated in the attached video below. Yet, upon releasing the button, the connection was once again interrupted. and then the 'Wake' button no longer has any effect.

    Kind regards, 

    Chahine SAKKA


  • Hi Chahin,

    This is occurring due to the Cell Configuration register not being set to represent the amount of cells that are attached.

    It can be found and configured within the Data Memory -> Settings in bqstudio:

    Regards,

    Anthony Baldino

  • Hi Anthony,

    Thank you for your response.

    For my own BMS board, I am pretty sure that I configured the cell (06) correctly. However, I don't know why it didn't change when I exported the .gg file.

    Regarding the BQ40z80EVM, it shows a connection for only a few seconds, so I can't access the register configuration to set up the Cell Configuration Register. I read in the manual that the 'Wake' button connects 'PACK+' to 'BAT+' temporarily. I'm considering permanently connecting 'PACK+' to 'BAT+' with a wire because, while I'm holding the 'Wake' button, there's communication between the board and BqStudio. When I release it, the communication is interrupted (as shown in the video).

    The manual states that the 'Wake' button should be held to "temporarily" connect 'PACK+' to 'BAT+'. But it seems like these two pins should always be connected for communication, which is illogical because when we want to charge the cells, it becomes impossible for the 'PACK+' pin to be simultaneously connected to 'BAT+' and the charger or power supply. This could undoubtedly cause damage to the devices.

    So, could you please confirm if, for the BQ40z80EVM to work, the 'PACK+' and 'PACK-' pins should be permanently connected to a power source or charger? If so, what should I do if I want to use the BMS Board on a mobile tool that is not meant to be permanently connected to a charger?

    I really appreciate your cooperation.

    Best Regards,

    Chahin SAKKA

  • Hi Chahin,

    After the cell configuration is changed, is the device still entering sleep mode? Typically, once this configuration is done the device should stay awake without the connection between PACK+ and BAT+ unless there is another configuration issue.

    Regards,

    Anthony Baldino

  • Hi Anthony,

    Thank you for your response.

    The device is still entering sleep mode despite changing the cell configuration, so I believe there might be another configuration issue.

    I've been putting in my best effort to correctly configure the BQ40z80, but it seems I'm consistently overlooking something. Could you please return the .gg file configuration I sent you with some modifications? I referenced the datasheet for the configuration, but honestly, there are some registers and functionalities that I don't quite grasp.

    The BMS Board aims to safeguard the 6 cells from overtemperature (using only TS1), overcurrent, overvoltage, and undervoltage in both charging and discharging phases. Each cell has 3.87V and 3.95Wh. Additionally, there's a display button similar to the one in BQ40z80EVM-020 for capacity visualization.

    The BMS Board I designed mirrors the schematic provided in the BQ40z80EVM-020 Manual (excluding the PDSG option), so the pin configuration aligns with the BQ40z80EVM-020.

    I've attached the file representing the schematic of my BMS Board if you require it.

    I truly appreciate your cooperation and support; you've already aided me in establishing a connection between the BQ40z80EVM and the BqStudio. Thank you, Anthony. I genuinely rely on your help.

    Best Regards,

    Chahine SAKKA.

    BQ_EV_BoardSCHEMATICS.pdf

  • Hi Chahin,

    Understood, we are looking into the .gg file to see if there is another configuration issue.

    We are trying to recreate the issue on our bq40z80EVM. Is it possible to tell me what the voltage and current readings from each of the cells is from bqStudio?

    Regards,

    Anthony Baldino

  • Hi Anthony,

    Thank you for your response.

    I have attached two screenshots from BqStudio showing the voltage and current readings, as well as the register readings.

    Kind regards,

    Chahine SAKKA



  • Hi Chahine,

    We are looking into the conditions that would cause shutdown from the bq40z80 Technical Reference Manual.

    Is it possible for you to share a short log file of the gauge while it is awake in bqStudio so we can look more into the data?

    Regards,

    Anthony Baldino

  • Hi Anthony,

    you can find the log file below.

    In fact, there is good news: the BQ40z80EVM is no longer entering sleep mode and remains connected even when the pack+ and pack- aren't linked to a power supply. However, a new issue arose: the pack+ is now consistently connected to the BAT+ as if the 'Wake' button is continuously pressed. I'm unsure why this is happening. When attempting to apply voltage to pack+ and pack-, a short circuit occurs, which seems logical since the power supply is directly connected to the cells through PACK+ and PACK-.

    I'm eagerly awaiting your response on whether it's normal for pack+ to always be linked to bat+. If so, how can I effectively charge the cells?

    Best regards,

    Chahine SAKKA

    Wed Dec 20 08:52:21 WAT 2023
    
    Device Version Info = 4800_0_04
    BQZ Device Name = bq40z80
    BQZ Firmware Version = V0_04_BLD5
    
    Design Capacity = 4400
    Design Voltage = 14400
    Specification Info = 0x0031
    Manufacturer Date = 1980-1-1
    Serial Number = 0x0001
    Manufacturer Name = Texas Instruments
    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,2023-12-20 08:52:25,4.013,0x0187,300,10,0x6081,0,65535,65535,1,17.9,22582,0,0,100,22,11,457,2159,65535,65535,65535,4004,25200,0x00C0,0,-6395,-6395,-3045,-3045,91,0x0187,0x0000,0x04,0x0004,0xC0,0x1000,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3844,3447,3839,3779,3853,3823,0,20019,22654,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17.6,17.8,17.9,-273.2,-273.2,17.8,17.9,17.8,457,986,2159,4889,580,457,986,1702,3903,2159,4889,17.0,17.8,1000,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,17025,7872,14224,7968,11264,7568,8512,0,0,0,367,1232,1232,1232,1232,1232,1232,1232,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,95,750,1.0,1000,7872,14224,7968,11264,7568,8512,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3999,10517,1197,SUCCESS
    2,2023-12-20 08:52:29,8.012,0x0187,300,10,0x6081,0,65535,65535,1,17.8,22583,0,0,100,22,11,457,2159,65535,65535,65535,4004,25200,0x00C0,0,-6395,-6395,-3045,-3045,91,0x0187,0x0000,0x04,0x0004,0xC0,0x1000,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3843,3448,3839,3779,3853,3823,0,20022,22678,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17.7,17.9,17.9,-273.2,-273.2,17.9,17.9,17.9,457,986,2159,4889,580,457,986,1702,3903,2159,4889,17.0,17.9,1000,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,17029,7872,14224,7968,11264,7568,8512,0,0,0,367,1232,1232,1232,1232,1232,1232,1232,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,95,750,1.0,1000,7872,14224,7968,11264,7568,8512,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3999,10517,1178,SUCCESS
    3,2023-12-20 08:52:33,12.020,0x0187,300,10,0x6081,0,65535,65535,1,17.9,22583,0,0,100,22,11,457,2159,65535,65535,65535,4004,25200,0x00C0,0,-6395,-6395,-3045,-3045,91,0x0187,0x0000,0x04,0x0004,0xC0,0x1000,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3843,3447,3840,3779,3854,3822,0,20021,22679,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17.4,17.9,18.0,-273.2,-273.2,17.9,18.0,17.9,457,986,2159,4889,580,457,986,1702,3903,2159,4889,17.0,17.9,1000,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,17033,7872,14224,7968,11264,7568,8512,0,0,0,367,1232,1232,1232,1232,1232,1232,1232,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,95,750,1.0,1000,7872,14224,7968,11264,7568,8512,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3999,10517,1238,SUCCESS
    4,2023-12-20 08:52:37,16.021,0x0187,300,10,0x6081,0,65535,65535,1,17.9,22582,0,0,100,22,11,457,2159,65535,65535,65535,4004,25200,0x00C0,0,-6395,-6395,-3045,-3045,91,0x0187,0x0000,0x04,0x0004,0xC0,0x1000,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3843,3447,3839,3779,3853,3822,0,20021,22680,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17.8,17.8,17.9,-273.2,-273.2,17.8,17.9,17.8,457,986,2159,4889,580,457,986,1702,3903,2159,4889,17.0,17.8,1000,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,17037,7872,14224,7968,11264,7568,8512,0,0,0,367,1232,1232,1232,1232,1232,1232,1232,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,95,750,1.0,1000,7872,14224,7968,11264,7568,8512,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3999,10517,1193,SUCCESS
    5,2023-12-20 08:52:41,20.027,0x0187,300,10,0x6081,0,65535,65535,1,17.8,22583,0,0,100,22,11,457,2159,65535,65535,65535,4004,25200,0x00C0,0,-6395,-6395,-3045,-3045,91,0x0187,0x0000,0x04,0x0004,0xC0,0x1000,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3843,3447,3839,3779,3852,3823,0,20022,22679,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17.8,17.9,17.9,-273.2,-273.2,17.9,17.9,17.9,457,986,2159,4889,580,457,986,1702,3903,2159,4889,17.0,17.9,1000,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,17041,7872,14224,7968,11264,7568,8512,0,0,0,367,1232,1232,1232,1232,1232,1232,1232,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,95,750,1.0,1000,7872,14224,7968,11264,7568,8512,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3999,10517,1186,SUCCESS
    6,2023-12-20 08:52:45,24.053,0x0187,300,10,0x6081,0,65535,65535,1,17.9,22583,0,0,100,22,11,457,2159,65535,65535,65535,4004,25200,0x00C0,0,-6395,-6395,-3045,-3045,91,0x0187,0x0000,0x04,0x0004,0xC0,0x1000,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3843,3447,3838,3779,3853,3823,0,20021,22678,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17.4,17.9,18.0,-273.2,-273.2,17.9,18.0,17.9,457,986,2159,4889,580,457,986,1702,3903,2159,4889,17.0,17.9,1000,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,17045,7872,14224,7968,11264,7568,8512,0,0,0,367,1232,1232,1232,1232,1232,1232,1232,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,95,750,1.0,1000,7872,14224,7968,11264,7568,8512,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3999,10517,1173,SUCCESS
    7,2023-12-20 08:52:49,28.057,0x0187,300,10,0x6081,0,65535,65535,1,17.9,22583,0,0,100,22,11,457,2159,65535,65535,65535,4004,25200,0x00C0,0,-6395,-6395,-3045,-3045,91,0x0187,0x0000,0x04,0x0004,0xC0,0x1000,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3843,3447,3839,3779,3853,3822,0,20021,22679,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17.8,17.8,18.0,-273.2,-273.2,17.8,18.0,17.8,457,986,2159,4889,580,457,986,1702,3903,2159,4889,17.0,17.8,1000,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,17049,7872,14224,7968,11264,7568,8512,0,0,0,367,1232,1232,1232,1232,1232,1232,1232,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,95,750,1.0,1000,7872,14224,7968,11264,7568,8512,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3999,10517,1232,SUCCESS
    8,2023-12-20 08:52:53,32.053,0x0187,300,10,0x6081,0,65535,65535,1,17.9,22583,0,0,100,22,11,457,2159,65535,65535,65535,4004,25200,0x00C0,0,-6395,-6395,-3045,-3045,91,0x0187,0x0000,0x04,0x0004,0xC0,0x1000,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3843,3447,3838,3778,3853,3822,0,20023,22680,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17.8,17.9,17.9,-273.2,-273.2,17.9,17.9,17.9,457,986,2159,4889,580,457,986,1702,3903,2159,4889,17.0,17.9,1000,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,17053,7872,14224,7968,11264,7568,8512,0,0,0,367,1232,1232,1232,1232,1232,1232,1232,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,95,750,1.0,1000,7872,14224,7968,11264,7568,8512,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3999,10517,1223,SUCCESS
    9,2023-12-20 08:52:57,36.054,0x0187,300,10,0x6081,0,65535,65535,1,18.0,22583,0,0,100,22,11,457,2159,65535,65535,65535,4004,25200,0x00C0,0,-6420,-6420,-3057,-3057,91,0x0187,0x0000,0x04,0x0004,0xC0,0x1000,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3843,3447,3839,3778,3852,3822,0,20022,22678,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17.4,18.0,18.0,-273.2,-273.2,18.0,18.0,18.0,457,986,2159,4889,580,457,986,1702,3903,2159,4889,17.0,18.0,1000,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,17057,7872,14224,7968,11264,7568,8512,0,0,0,367,1232,1232,1232,1232,1232,1232,1232,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,95,750,1.0,1000,7872,14224,7968,11264,7568,8512,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3999,10517,1240,SUCCESS
    10,2023-12-20 08:53:01,40.058,0x0187,300,10,0x6081,0,65535,65535,1,18.0,22583,0,0,100,22,11,457,2159,65535,65535,65535,4004,25200,0x00C0,0,-6420,-6420,-3057,-3057,91,0x0187,0x0000,0x04,0x0004,0xC0,0x1000,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3843,3447,3839,3778,3853,3822,0,20021,22682,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17.7,17.9,18.0,-273.2,-273.2,17.9,18.0,17.9,457,986,2159,4889,580,457,986,1702,3903,2159,4889,17.0,17.9,1000,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,17061,7872,14224,7968,11264,7568,8512,0,0,0,367,1232,1232,1232,1232,1232,1232,1232,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,95,750,1.0,1000,7872,14224,7968,11264,7568,8512,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3999,10517,1187,SUCCESS
    11,2023-12-20 08:53:05,44.087,0x0187,300,10,0x6081,0,65535,65535,1,17.9,22582,0,0,100,22,11,457,2159,65535,65535,65535,4004,25200,0x00C0,0,-6420,-6420,-3057,-3057,91,0x0187,0x0000,0x04,0x0004,0xC0,0x1000,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3843,3447,3839,3778,3853,3823,0,20023,22680,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17.8,18.0,18.0,-273.2,-273.2,18.0,18.0,18.0,457,986,2159,4889,580,457,986,1702,3903,2159,4889,17.0,18.0,1000,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,17065,7872,14224,7968,11264,7568,8512,0,0,0,367,1232,1232,1232,1232,1232,1232,1232,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,95,750,1.0,1000,7872,14224,7968,11264,7568,8512,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3999,10517,1185,SUCCESS
    






  • Hi Chahine,

    I do not believe that this constant connection between Pack+ and BAT is normal. Seen from the schematic below, the only main connection between PACK+ and BAT is the wake button which is only meant to be a temporary connection for the configuration to be set.

    Regarding how the cells are charged, this is done through the FET system that is connected to the gauge that is also connected to the pack connections. There should be no contact between PACK+ and BAT in normal operations.

    As I look through the log file, is it possible for you to check the voltage passing through the wake button while being pressed and while not being pressed to see if there is a fault occurring?

    I will let you know if there is anything I find in the log file.

    Regards,

    Anthony Baldino

  • Hi Chahine,

    Is there a reason that the Cell 2 Voltage is about 300 mV less than the other cells?

    Regards,

    Anthony Baldino

  • Hi Anthony,

    Thank you for your response.

    The video attached shows the voltage across the 'Wake' button while pressing and releasing. Since it gives 0V, it means there is always a connection between PACK+ and BAT+. I will try to remove the button and see if there is a hardware problem in the button itself by testing the continuity with the multimeter between the button pads.

    While downloading the attached log file, I pressed the 'wake' button.

    Regarding Cell 2, I think it's been discharged. I measured it and got 3.0V instead of 3.87V. So, I will replace it.

    Please let me know if you need another log file with the new Cell 2.

    Best Regards,

    Chahine SAKKA






    Wed Dec 20 17:34:41 WAT 2023
    
    Device Version Info = 4800_0_04
    BQZ Device Name = bq40z80
    BQZ Firmware Version = V0_04_BLD5
    
    Design Capacity = 4400
    Design Voltage = 14400
    Specification Info = 0x0031
    Manufacturer Date = 1980-1-1
    Serial Number = 0x0001
    Manufacturer Name = Texas Instruments
    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,2023-12-20 17:34:45,4.003,0x0187,300,10,0x6081,0,65535,65535,1,21.6,22165,0,0,100,5,2,83,1762,65535,65535,65535,4358,24600,0x02C0,0,-4523,-4523,-2154,-2154,88,0x0187,0x0000,0x08,0x0004,0xC4,0x1004,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3840,3044,3836,3776,3851,3819,0,19656,22241,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21.1,21.6,21.6,-273.2,-273.2,21.6,21.6,21.6,83,172,1762,4030,116,74,157,1693,3889,1766,4044,20.5,21.6,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,5,0,5,14,5,7,5,5,0,26289,7904,15954,8000,11264,7552,8576,0,-1,-2,137,1248,1248,1248,1248,1248,1248,0,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,-1,137,1.0,1000,7904,15954,8000,11264,7552,8576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3854,8750,1257,SUCCESS
    2,2023-12-20 17:34:49,8.014,0x0187,300,10,0x6081,0,65535,65535,1,21.5,22165,0,0,100,5,2,83,1762,65535,65535,65535,4358,24600,0x02C0,0,-4486,-4486,-2136,-2136,88,0x0187,0x0000,0x08,0x0004,0xC4,0x1004,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3840,3044,3836,3776,3850,3819,0,19657,22238,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21.3,21.5,21.6,-273.2,-273.2,21.5,21.6,21.5,83,172,1762,4030,116,74,157,1693,3889,1766,4044,20.5,21.5,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,5,0,5,14,5,7,5,5,0,26293,7904,15954,8000,11264,7552,8576,0,-1,-2,137,1248,1248,1248,1248,1248,1248,0,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,-1,137,1.0,1000,7904,15954,8000,11264,7552,8576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3854,8750,1176,SUCCESS
    

  • Hi Chahine,

    Understood. Please tell me if the gauge wakes up normally with the new Cell 2 and the connection between PACK+ and BAT removed for the time being.

    If it does wake, please send me a log of the gauge so I can take a look.

    Regards,

    Anthony Baldino

  • Hi Anthony,

    Thank you for your response.

    I tested the voltage between PACK+ and PACK-, yielding 0V, indicating an interruption in the connection between PACK+ and BAT+. When I replaced the cell pack with fully charged cells and connected to BqStudio, I needed to press the 'wake' button to establish a connection. However, within two minutes or less, the connection was automatically interrupted, indicating a return of the initial problem.

    Please find the attached log file below.

    Kind Regards,

    Chahine SAKKA.

    Thu Dec 21 17:43:22 WAT 2023
    
    Device Version Info = 4800_0_04
    BQZ Device Name = bq40z80
    BQZ Firmware Version = V0_04_BLD5
    
    Design Capacity = 4400
    Design Voltage = 14400
    Specification Info = 0x0031
    Manufacturer Date = 1980-1-1
    Serial Number = 0x0001
    Manufacturer Name = Texas Instruments
    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,2023-12-21 17:43:26,4.016,0x0107,300,10,0x6081,0,65535,65535,1,23.3,23739,0,0,100,72,58,2531,3532,65535,65535,65535,4358,24600,0x00C0,0,-13169,-13169,-6271,-6271,88,0x0107,0x0000,0x08,0x0004,0xD0,0x0004,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3965,3912,3971,3960,3972,3961,0,21036,23797,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22.8,23.3,23.3,-273.2,-273.2,23.3,23.3,23.3,2531,5326,3532,7688,2707,2531,5326,1001,2362,3532,7688,23.3,23.2,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,5104,6304,4992,5216,4944,5216,0,0,0,0,1216,1216,1216,1216,1216,1216,0,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,0,0,1.0,1000,5104,6304,4992,5216,4944,5216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3854,8750,1182,SUCCESS
    2,2023-12-21 17:43:30,8.031,0x0107,300,10,0x6081,0,65535,65535,1,23.3,23739,0,0,100,72,58,2531,3532,65535,65535,65535,4358,24600,0x00C0,0,-13169,-13169,-6271,-6271,88,0x0107,0x0000,0x08,0x0004,0xD0,0x0004,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3965,3912,3971,3960,3972,3961,0,21036,23799,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23.1,23.2,23.3,-273.2,-273.2,23.3,23.3,23.3,2531,5326,3532,7688,2707,2531,5326,1001,2362,3532,7688,23.3,23.2,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,5104,6304,4992,5216,4944,5216,0,0,0,0,1216,1216,1216,1216,1216,1216,0,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,0,0,1.0,1000,5104,6304,4992,5216,4944,5216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3854,8750,1198,SUCCESS
    3,2023-12-21 17:43:34,12.038,0x0107,300,10,0x6081,0,65535,65535,1,23.1,23740,0,0,100,72,58,2531,3532,65535,65535,65535,4358,24600,0x00C0,0,-13169,-13169,-6271,-6271,88,0x0107,0x0000,0x08,0x0004,0xD0,0x0004,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3965,3913,3970,3960,3971,3960,0,21038,23801,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23.1,23.3,23.3,-273.2,-273.2,23.3,23.3,23.3,2531,5326,3532,7688,2707,2531,5326,1001,2362,3532,7688,23.3,23.1,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5104,6304,4992,5216,4944,5216,0,0,0,0,1216,1216,1216,1216,1216,1216,0,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,0,0,1.0,1000,5104,6304,4992,5216,4944,5216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3854,8750,1158,SUCCESS
    4,2023-12-21 17:43:38,16.045,0x0107,300,10,0x6081,0,65535,65535,1,23.3,23739,0,0,100,72,58,2531,3532,65535,65535,65535,4358,24600,0x00C0,0,-13169,-13169,-6271,-6271,88,0x0107,0x0000,0x08,0x0004,0xD0,0x0004,0x0210,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3965,3913,3970,3960,3972,3960,0,21035,23800,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22.9,23.3,23.3,-273.2,-273.2,23.3,23.3,23.3,2531,5326,3532,7688,2707,2531,5326,1001,2362,3532,7688,23.3,23.1,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,5104,6304,4992,5216,4944,5216,0,0,0,0,1216,1216,1216,1216,1216,1216,0,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,0,0,1.0,1000,5104,6304,4992,5216,4944,5216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3854,8750,1151,SUCCESS
    

  • Hi Chahine,

    Thank you for sending the log file. We will begin to look into it.

    Please expect a delay in responses due to US Holidays.

    Regards,

    Anthony Baldino

  • Dear Anthony,

    I trust this message finds you well.

    I would appreciate it if you could provide any updates regarding the BQ40z80/BQ40z80EVM.

    Thank you for your attention to this matter.

    Best regards,

    Chahine SAKKA

  • Hi Chahin,

    Can you please change these two registers to low and see if it effects the gauge going into shutdown? They can be found in Data Memory -> Power Configuration.

    Regards,

    Anthony Baldino

  • HI Anthony, 

    Thank you for your response.

    I beleive that is not the root cause. When checking the 'power config' register, I noticed that these two bits were already set to low, as depicted in the screenshot



    Regards,

    Chahine SAKKA

  • Hi Chahine,

    Can you please send us a log from the gauge of it being awake and entering shutdown with the log still running? We are trying to look into the registers right before the gauge enters shutdown to see what is changing on a deeper level.

    Regards,

    Anthony Baldino

  • Hi Anthony,

    You can find the log file below.

    Regards,

    Chahine SAKKA

    Tue Jan 09 09:07:59 WAT 2024
    
    Device Version Info = 4800_0_04
    BQZ Device Name = bq40z80
    BQZ Firmware Version = V0_04_BLD5
    
    Design Capacity = 4400
    Design Voltage = 14400
    Specification Info = 0x0031
    Manufacturer Date = 1980-1-1
    Serial Number = 0x0001
    Manufacturer Name = Texas Instruments
    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,2024-01-09 09:08:04,4.011,0x2D89,300,10,0x6081,0,65535,65535,1,18.2,15277,0,0,100,0,0,0,1023,65535,65535,65535,88,25200,0x02D0,0,-4200,-4200,-2000,-2000,88,0x2D89,0x0000,0x04,0x0001,0xD5,0x0004,0x0210,0x0000,0x4001,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3962,3790,0,3675,0,3824,0,12248,13523,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17.9,18.2,18.3,-273.2,-273.2,18.2,18.3,18.2,0,0,1023,2393,0,0,0,1023,2393,1023,2393,18.2,18.1,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,5104,6864,16384,6448,16384,5920,0,0,0,0,1296,1296,1296,1296,1296,1296,0,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,0,0,1.0,1000,5104,6864,16384,6448,16384,5920,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3854,8750,1160,SUCCESS
    2,2024-01-09 09:08:08,8.014,0x2D89,300,10,0x6081,0,65535,65535,1,18.2,15277,0,0,100,0,0,0,1023,65535,65535,65535,88,25200,0x02D0,0,-4200,-4200,-2000,-2000,88,0x2D89,0x0000,0x04,0x0001,0xD5,0x0004,0x0210,0x0000,0x4001,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3962,3783,0,3675,0,3828,0,12252,13522,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18.3,18.1,18.3,-273.2,-273.2,18.1,18.3,18.1,0,0,1023,2393,0,0,0,1023,2393,1023,2393,18.2,18.1,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,5104,6864,16384,6448,16384,5920,0,0,0,0,1296,1296,1296,1296,1296,1296,0,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,0,0,1.0,1000,5104,6864,16384,6448,16384,5920,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3854,8750,1151,SUCCESS
    3,2024-01-09 09:08:12,12.023,0x2D89,300,10,0x6081,0,65535,65535,1,18.1,15275,0,0,100,0,0,0,1023,65535,65535,65535,88,25200,0x02D0,0,-4200,-4200,-2000,-2000,88,0x2D89,0x0000,0x04,0x0001,0xD5,0x0004,0x0210,0x0000,0x4001,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3962,3783,0,3677,0,3826,0,12222,13520,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18.3,18.3,18.2,-273.2,-273.2,18.3,18.2,18.3,0,0,1023,2393,0,0,0,1023,2393,1023,2393,18.2,18.1,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,5104,6864,16384,6448,16384,5920,0,0,0,0,1296,1296,1296,1296,1296,1296,0,4400,4400,4400,4400,4400,4400,4400,0,0,0,0,0,0,0,0,0,1.0,1000,5104,6864,16384,6448,16384,5920,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3854,8750,1173,SUCCESS
    4,2024-01-09 09:08:16,16.024,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2831,ERROR : Please check C:\Users\ET2S-DEV\Desktop\BatteryManagementStudio\befshut.log.err
    5,2024-01-09 09:08:21,21.269,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2757,ERROR : Please check C:\Users\ET2S-DEV\Desktop\BatteryManagementStudio\befshut.log.err
    6,2024-01-09 09:08:29,29.610,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2663,ERROR : Please check C:\Users\ET2S-DEV\Desktop\BatteryManagementStudio\befshut.log.err
    

  • Hi Chahine,

    In the log file sent above, Cell 3 and Cell 5 are reading 0V. 

    Also, this log states that OpStatA is 0x02D89. This indicates that SDV is high, which means that shutdown is being induced by low battery stack voltage.

    Can you please confirm if this the same issue that keeps occurring?

    Regards,

    Anthony Baldino

  • HI Anthony,

    Thank you for your response.

    Upon changing the cell pack to a new, fully charged one, the issue of entering sleep mode has been resolved, and the SVD bit has returned to Low. However, the problem of the permanent connection between PACK+ and BAT+ has resurfaced. Consequently, charging the cells through the PACK+ and PACK- pins is not possible.

    Could you please confirm whether the SysPres should always be tied to PACK, as shown in the attached image?

    Best Regards,

    Chahine SAKKA

  • Hi Chahine,

    Based on the last log file you sent, you do not have FET_EN on which enables both the charge and discharge FETs to be used. Please enable this and try the charge again.

    Also, can you please check if there is a short occurring across the wake button?

    SysPres should be tied to pack during charge and discharge testing, or the NR bit can be changed to 1 and SysPres can be left open.

    Regards,

    Anthony Baldino

  • Hi Anthony,

    Following the disconnection between SysPres and PACK, and setting the NR bit to 1, the connection between the Board and BqStudio has been successfully established. This has resolved the issue of a persistent connection between PACK+ and BAT+, and the board has not entered sleep mode since then.

    Furthermore, there is no occurrence of a short across the wake button.

    Thank you for your cooperation, Anthony.

    Best regards,

    Chahine SAKKA

  • Hi Anthony,

    I trust this email finds you well.

    Over the past few days, I've been working on configuring the BQ40z80 mounted on my board. The primary goal of this board is to safeguard a pack of 6 cells, each with 3.87V and 3.95Wh, against Undervoltage, Overvoltage, Over-Current, and high temperature.

    Unfortunately, I haven't been successful in configuring it correctly. Despite spending months trying to comprehend all the registers, there always seems to be something missing. I appreciate your assistance in resolving the BqStudio connection issue, but there's still a challenge - the board is unable to manage the discharge and charge cycles of the cells. Specifically, there's a constant 23.7V present between PACK+ and PACK-.

    I have attached a file containing the .gg file, and a log file captured after the wake-up of the board. Could you please review and modify the .gg file to ensure proper charging and discharging of the cells?

    Your support in this matter is highly valued. I am relying on your expertise to overcome these configuration challenges.

    Thank you for your cooperation.

    Best regards,

    Chahine SAKKA

    BMS1.gg.csv

    Tue Jan 16 08:42:23 WAT 2024
    
    Device Version Info = 4800_0_04
    BQZ Device Name = bq40z80
    BQZ Firmware Version = V0_04_BLD5
    
    Design Capacity = 3450
    Design Voltage = 21600
    Specification Info = 0x0031
    Manufacturer Date = 1980-1-1
    Serial Number = 0x0039
    Manufacturer Name = Texas Instruments
    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,2024-01-16 08:42:28,4.007,0x0107,1000,10,0x6001,0,65535,65535,1,25.0,22702,0,0,1,74,42,1436,1953,65535,65535,65535,3321,24600,0x48C0,3,-2225,-2225,-1236,-1236,74,0x0107,0x0000,0x08,0x0004,0x50,0x0014,0x0318,0x0000,0x0000,0x0000,0x0000,0xFF7F,0x0000,0x0000,0x0000,3831,3868,3692,3696,3835,3782,0,23222,22101,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16.9,25.0,-53.5,-273.2,-273.2,25.0,-53.5,25.0,1436,2860,1953,4022,1707,1436,2860,517,1162,1953,4022,25.0,25.0,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,61,5568,4736,7632,7568,5440,6424,0,0,0,0,1536,2088,1652,1456,1000,2048,0,3188,3197,3196,3179,3176,3204,4400,0,0,0,0,0,0,0,0,0,0.34,100,5568,4736,7632,7568,5440,6424,0,65535,65535,0,10794,65535,65535,0,5568,4736,7632,7568,5440,6424,0,16384,2559,5402,1236,SUCCESS
    2,2024-01-16 08:42:32,8.016,0x0107,1000,10,0x6001,0,65535,65535,1,25.0,22703,0,0,1,74,42,1436,1953,65535,65535,65535,3321,24600,0x48C0,3,-2225,-2225,-1236,-1236,74,0x0107,0x0000,0x08,0x0004,0x50,0x0014,0x0318,0x0000,0x0000,0x0000,0x0000,0xFF7F,0x0000,0x0000,0x0000,3831,3868,3692,3696,3835,3781,0,23222,22099,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16.7,25.0,-53.5,-273.2,-273.2,25.0,-53.5,25.0,1436,2860,1953,4022,1707,1436,2860,517,1162,1953,4022,25.0,25.0,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,65,5568,4736,7632,7568,5440,6424,0,0,0,0,1536,2088,1652,1456,1000,2048,0,3188,3197,3196,3179,3176,3204,4400,0,0,0,0,0,0,0,0,0,0.34,100,5568,4736,7632,7568,5440,6424,0,65535,65535,0,10794,65535,65535,0,5568,4736,7632,7568,5440,6424,0,16384,2559,5402,1198,SUCCESS
    3,2024-01-16 08:42:36,12.024,0x0107,1000,10,0x6001,0,65535,65535,1,25.0,22704,0,0,1,74,42,1436,1953,65535,65535,65535,3321,24600,0x48C0,3,-2225,-2225,-1236,-1236,74,0x0107,0x0000,0x08,0x0004,0x50,0x0014,0x0318,0x0000,0x0000,0x0000,0x0000,0xFF7F,0x0000,0x0000,0x0000,3831,3868,3692,3696,3836,3782,0,23222,22102,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16.9,25.0,-53.5,-273.2,-273.2,25.0,-53.5,25.0,1436,2860,1953,4022,1707,1436,2860,517,1162,1953,4022,25.0,25.0,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,69,5568,4736,7632,7568,5440,6424,0,0,0,0,1536,2088,1652,1456,1000,2048,0,3188,3197,3196,3179,3176,3204,4400,0,0,0,0,0,0,0,0,0,0.34,100,5568,4736,7632,7568,5440,6424,0,65535,65535,0,10794,65535,65535,0,5568,4736,7632,7568,5440,6424,0,16384,2559,5402,1206,SUCCESS
    

  • Hi Chahine,

    At this point of the testing, are you still using the bq40z80 via the bq40z80EVM or on your own board?

    If this is on your own board, is it possible for us to check the hardware schematic to see if there is anything occurring on that side?

    Regards,

    Anthony Baldino

  • Hi Anthony,

    Thank you for your response.

    I have now transitioned to working with my own board. Please find the schematics in the attached file. It closely resembles the schematics of the BQ40z80EVM, with the main distinction being the PDGS Function. Notably, the component inside the red square in the attached screenshot was not utilized.

    For more detailed information, please review the schematics file attached.

    Additionally, I have installed a firmware that I found online, and you will find it in the attached file as well. If necessary, I am open to replacing the BQ40z80 IC with a new one.

    Kindly let me know if you require any additional files or information.

    Best regards,

    Chahine SAKKA


    4540.BQ_EV_BoardSCHEMATICS.pdf
    https://drive.google.com/drive/folders/1Owz_JqVhroj-31ytr6JcOcms2okd1Zzn?usp=sharing

  • Hi Chahine,

    Thank you for sending, we will look further into the hardware.

    but there's still a challenge - the board is unable to manage the discharge and charge cycles of the cells. Specifically, there's a constant 23.7V present between PACK+ and PACK-.

    Can you please go more into depth about what is being put across PACK+ and PACK- and how the gauge is responding to it? While looking into the .log file, FET_EN was on with CHG and DSG both being represented as active, which should proceed in charge and discharge being active.

    Regards,

    Anthony Baldino

  • Hi Anthony,

    Thank you for your prompt response.

    Please find attached the video illustrating the phenomenon. Notably, there is no direct connection to PACK+ and PACK-, yet a voltage of 22.7V persists across them. also, there is a continuity between PACK+ and BAT+, 

    Concerning CHG and DSG, I haven't been able to conduct a charge cycle as I'm unable to connect a power supply through PACK+ and PACK-.

    In the attached files, you'll find a screenshot depicting the registers. for example, The ASCDL bit of the "PF Alert A+B" signals a Short Circuit during Discharge latch. Consequently, I haven't attempted to discharge the cells. Additionally, the ASCCL bit indicates a Short Circuit during Charging.

    There is also other flags indicating other types of errors, which i beleive didn't exist in reality, 

    please let me know if you require any additional files or information.

    Kind regards,

    Chahine SAKKA



  • Hi Chahine,

    Regarding the current continuity across PACK+ and BAT+, is it possible for you to share the layout files for this design? Currently, I don't see any where in this schematic that could be causing this.

    Regards,

    Anthony Baldino

  • Hi Anthony,

    I hope this email finds you well. Please find the hardware design attached to this email. Additionally, I've included a screenshot of the design in case you encounter any issues opening the .PcbDoc file.

    Concerning the continuity across PACK+ and PACK-, it appears that this issue is not solely attributed to the hardware design, as a similar problem occurred with the BQ40z80EVM. I took the initiative to replace the BQ40z80 IC with a new one.  The "PF Alert A+B" high bits problem was resolved, and it was determined that a firmware I downloaded was causing the issue.

    However, the "COV" and "OCC1" bits remaining high. I suspect the "OverCurrent in Charge" bit may be related to the 23V across Pack+ and Pack-, but I haven't identified the cause of the "COV" bit.

    For your reference, I have attached the .gg file and Log file containing information from the system with the new BQ40z80 IC.

    Kind regards,

    Chahine SAKKA


    BQ_EV_Board.zip


    Mon Jan 22 09:18:48 WAT 2024
    
    Device Version Info = ffffffa5_ffffffff_ffffffa5
    BQZ Device Name = bq40z80
    BQZ Firmware Version = 0_04
    
    Design Capacity = 0
    Design Voltage = 38403
    Specification Info = 0xA009
    Manufacturer Date = 1980-1-1
    Serial Number = 0x0001
    Manufacturer Name = Texas Instruments
    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,2024-01-22 09:18:53,4.013,0x4983,300,37898,0x62DC,0,313,22229,-1359,25.2,22909,0,0,15,95,65535,29796,31490,65535,65535,65535,62514,62514,0x40E0,0,-3022,-3022,-1359,-1359,100,0x4983,0x0000,0x08,0x0001,0xC2,0x0814,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3759,3816,3871,3792,3841,3830,0,14388,12260,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19.6,25.2,-53.5,-273.2,-273.2,25.2,-53.5,25.2,29796,703,31490,4679,1212,29796,703,1694,3976,31490,4679,25.2,25.1,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,1655,12160,8832,7104,9856,7904,8288,0,0,0,7,1200,1200,1200,1200,1200,1200,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,0,7,1.0,1000,12160,8832,7104,9856,7904,8288,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4191,9533,1200,SUCCESS
    2,2024-01-22 09:18:57,8.022,0x4983,300,37898,0x62DC,0,313,22229,-1359,25.2,22910,0,0,15,95,65535,29796,31490,65535,65535,65535,62514,62514,0x00E0,0,-3022,-3022,-1359,-1359,100,0x4983,0x0000,0x08,0x0001,0xC2,0x0814,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3759,3816,3871,3792,3841,3830,0,14388,12260,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19.6,25.2,-53.5,-273.2,-273.2,25.2,-53.5,25.2,29796,703,31490,4679,1212,29796,703,1694,3976,31490,4679,25.2,25.1,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,1659,12160,8832,7104,9856,7904,8288,0,0,0,7,1200,1200,1200,1200,1200,1200,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,0,7,1.0,1000,12160,8832,7104,9856,7904,8288,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4191,9533,1174,SUCCESS
    3,2024-01-22 09:19:01,12.026,0x4983,300,37898,0x62DC,0,313,22229,-1359,25.2,22909,0,0,15,95,65535,29796,31490,65535,65535,65535,62514,62514,0x40E0,0,-3022,-3022,-1359,-1359,100,0x4983,0x0000,0x08,0x0001,0xC2,0x0814,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3759,3816,3871,3793,3840,3830,0,14389,12261,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19.6,25.2,-53.5,-273.2,-273.2,25.2,-53.5,25.2,29796,703,31490,4679,1212,29796,703,1694,3976,31490,4679,25.2,25.1,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,1663,12160,8832,7104,9856,7904,8288,0,0,0,7,1200,1200,1200,1200,1200,1200,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,0,7,1.0,1000,12160,8832,7104,9856,7904,8288,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4191,9533,1142,SUCCESS
    4,2024-01-22 09:19:05,16.032,0x4983,300,37898,0x62DC,0,313,22229,-1359,25.2,22908,0,0,15,95,65535,29796,31490,65535,65535,65535,62514,62514,0x40E0,0,-3022,-3022,-1359,-1359,100,0x4983,0x0000,0x08,0x0001,0xC2,0x0814,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3759,3816,3871,3792,3841,3830,0,14389,12261,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19.6,25.2,-53.5,-273.2,-273.2,25.2,-53.5,25.2,29796,703,31490,4679,1212,29796,703,1694,3976,31490,4679,25.2,25.1,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,1667,12160,8832,7104,9856,7904,8288,0,0,0,7,1200,1200,1200,1200,1200,1200,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,0,7,1.0,1000,12160,8832,7104,9856,7904,8288,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4191,9533,1134,SUCCESS
    5,2024-01-22 09:19:09,20.039,0x4983,300,37898,0x62DC,0,313,22229,-1359,25.3,22909,0,0,15,95,65535,29796,31490,65535,65535,65535,62514,62514,0x40E0,0,-3022,-3022,-1359,-1359,100,0x4983,0x0000,0x08,0x0001,0xC2,0x0814,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3759,3816,3871,3792,3841,3830,0,14389,12261,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19.6,25.2,-53.5,-273.2,-273.2,25.3,-53.5,25.3,29796,703,31490,4679,1212,29796,703,1694,3976,31490,4679,25.2,25.1,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,1671,12160,8832,7104,9856,7904,8288,0,0,0,7,1200,1200,1200,1200,1200,1200,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,0,7,1.0,1000,12160,8832,7104,9856,7904,8288,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4191,9533,1157,SUCCESS
    

    BMS2.gg.csv


     

  • Hi Chahine,

    Regarding the COV issue, I believe it is determined by the individual cell voltages. Seen below are your thresholds for this protection:

    Seen in the log file, your cells are around 3.75V. I believe you can change these values to get rid of these protections.

    Regarding the hardware, it is difficult to see if there is a continuity between PACK+ and PACK- to a line that could be causing this high voltage. Could you tell me if the voltage across PACK+/PACK- is the same as the total voltage from the cells?

    Regards,

    Anthony Baldino

  • Hi Anthony,

    I appreciate your quick response.

    Regarding the COV issue, I modified the value of Protection/COV registers, as indicated in the screenshot below. However, the COV flag persists.

    As for the PACK+ and PACK- problem, the voltage across PACK+ and PACK- is 22.02V, and the voltage across BAT+ and BAT- is 22.39V.

    I kindly remind you that this issue persists with the BQ40z80EVM board, indicating, in my opinion, that it is not hardware-related.

    Attached are the updated Log file and .gg Files with the new configuration for your reference.

    Thank you for your attention to this matter.

    Kind regards,

    Chahine SAKKA


    BMS2_2.gg.csv

    Tue Jan 23 11:52:30 WAT 2024
    
    Device Version Info = 4800_0_04
    BQZ Device Name = bq40z80
    BQZ Firmware Version = V0_04_BLD5
    
    Design Capacity = 2532
    Design Voltage = 23700
    Specification Info = 0xA009
    Manufacturer Date = 1980-1-1
    Serial Number = 0x0001
    Manufacturer Name = Texas Instruments
    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,2024-01-23 11:52:34,4.011,0x4983,300,37898,0x62DC,0,312,21939,-1377,25.2,22316,0,0,15,94,1157,29292,31372,65535,65535,65535,56170,56170,0x40E0,0,-9366,-9366,-4460,-4460,100,0x4983,0x0000,0x20,0x0011,0xC2,0x0815,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3748,3808,3722,3528,3690,3821,0,14021,11943,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21.1,25.2,-53.5,-273.2,-273.2,25.2,-273.2,25.2,29292,0,31372,4232,727,29292,-611,2080,4843,31372,4232,25.3,25.2,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,31578,12348,9048,11289,13851,12624,8451,0,0,0,106,1200,1200,1200,1200,1200,1200,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,0,431,1.0,1000,12416,9152,12544,14816,13312,8576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4191,9533,1143,SUCCESS
    2,2024-01-23 11:52:38,8.013,0x4983,300,37898,0x62DC,0,312,21939,-1377,25.2,22315,0,0,15,94,1157,29292,31372,65535,65535,65535,56170,56170,0x00E0,0,-9366,-9366,-4460,-4460,100,0x4983,0x0000,0x20,0x0011,0xC2,0x0815,0x0318,0x0000,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3747,3808,3722,3528,3690,3821,0,14021,11944,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21.1,25.2,-53.5,-273.2,-273.2,25.2,-273.2,25.2,29292,0,31372,4232,727,29292,-611,2080,4843,31372,4232,25.3,25.2,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,31582,12348,9048,11289,13851,12624,8451,0,0,0,106,1200,1200,1200,1200,1200,1200,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,0,431,1.0,1000,12416,9152,12544,14816,13312,8576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4191,9533,1162,SUCCESS
    3,2024-01-23 11:52:42,12.027,0x4983,300,37898,0x62DC,0,312,21939,-1377,25.2,22315,0,0,15,94,1157,29292,31372,65535,65535,65535,56170,56170,0x40E0,0,-9366,-9366,-4460,-4460,100,0x4983,0x0000,0x20,0x0011,0xC2,0x0815,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3747,3808,3722,3528,3690,3821,0,14021,11943,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21.2,25.2,-53.5,-273.2,-273.2,25.2,-273.2,25.2,29292,0,31372,4232,727,29292,-611,2080,4843,31372,4232,25.3,25.2,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,31587,12348,9048,11289,13851,12624,8451,0,0,0,106,1200,1200,1200,1200,1200,1200,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,0,431,1.0,1000,12416,9152,12544,14816,13312,8576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4191,9533,1209,SUCCESS
    4,2024-01-23 11:52:46,16.031,0x4983,300,37898,0x62DC,0,312,21939,-1377,25.2,22315,0,0,15,94,1157,29292,31372,65535,65535,65535,56170,56170,0x40E0,0,-9366,-9366,-4460,-4460,100,0x4983,0x0000,0x20,0x0011,0xC2,0x0815,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3747,3808,3722,3528,3690,3821,0,14021,11943,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21.1,25.2,-53.5,-273.2,-273.2,25.2,-273.2,25.2,29292,0,31372,4232,727,29292,-611,2080,4843,31372,4232,25.3,25.2,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,31591,12348,9048,11289,13851,12624,8451,0,0,0,106,1200,1200,1200,1200,1200,1200,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,0,431,1.0,1000,12416,9152,12544,14816,13312,8576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4191,9533,1208,SUCCESS
    

  • Hi Chahine,

    Sorry for the confusion regarding the PACK+/PACK- issue. I have received outside council regarding this issue and have been told this is the normal function of the gauge based on whether the FETs are on:

    If the FETs are active, the voltage across PACK+/PACK- will be representative of what is on the BAT line (22.4V in this situation). if charging is occurring with a charger attached to pack, this voltage will be greater than what is on the BAT line. When discharging, the voltage will be lower.

    If the FETS are not active, the voltage across PACK+/PACK- because the FETS should be closed.

    Please let me know if you are seeing abnormalities to this information on your board and we can address the issue from there.

    Regards,

    Anthony Baldino

  • HI Anthony,

    I hope this message finds you well.

    The PACK+ and PACK- issue has been resolved. However, when connecting to a charger board based on "BQ24600," I noticed that the cells keep charging until the voltage between BAT+ and BAT- reaches 23.95V instead of the expected 26V. (This is a separate matter that needs addressing later on).

    The main issue pertains to the configuration of the BQ40z80 IC. Despite a correct voltage reading (approximately 23V), the displayed percentage of charge has shifted to 0%. I am seeking your guidance on the specific register adjustment required to attain an accurate representation, aiming for approximately 91%, given that 23.9V equates to 91% of the expected 26V.

    Furthermore, the COV flag consistently registers as high. I suspect this may be linked to calibration, and I would appreciate your insights on this matter.

    I look forward to your guidance and expertise in resolving these issues.

    Thank you for your attention to this matter.

    Best Regards,

    Chahine SAKKA

  • Hi Chahine,

    The main issue pertains to the configuration of the BQ40z80 IC. Despite a correct voltage reading (approximately 23V), the displayed percentage of charge has shifted to 0%. I am seeking your guidance on the specific register adjustment required to attain an accurate representation, aiming for approximately 91%, given that 23.9V equates to 91% of the expected 26V.

    Is it possible to receive a log file of this occurring?

    I am assuming the .gg file you are using during this is the same as the BMS2_2.gg seen above.

    Regards,

    Anthony Baldino

  • Hi Anthony,

    I trust this email finds you well.

    I wanted to inform you that we recently encountered a short-circuit between the pack terminals. Consequently, we proceeded to reassemble a new board to rectify the issue. I'm pleased to report that the 0% percentage indication problem has been resolved; it now consistently reads 100%.

    Could you kindly guide me through the correct calibration procedure for the cells? Specifically, which registers should I configure to ensure accurate calibration?

    Furthermore, regarding the charging process, the cells should reach a maximum voltage of 4.45V. Which register should I configure for that? Is it "Gas Gauging/State/Cell1 Chg Voltage at EoC"?

    Additionally, I've observed that the COV bit consistently remains high. The cells I'm working with should ideally reach a maximum voltage of 4 volts.

    During charging, I noticed that the OCC1 bit and TCA bit are blinking intermittently.

    I have attached the log files(while relax and while charging) and the .gg file that I'm currently using for your reference.

    Thank you for your assistance and guidance.

    Best regards,

    Chahine SAKKA


    Fri Jan 26 11:47:51 WAT 2024
    
    Device Version Info = 4800_0_04
    BQZ Device Name = bq40z80
    BQZ Firmware Version = V0_04_BLD5
    
    Design Capacity = 2532
    Design Voltage = 23700
    Specification Info = 0xA009
    Manufacturer Date = 1980-1-1
    Serial Number = 0x0001
    Manufacturer Name = Texas Instruments
    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,2024-01-26 11:47:55,4.005,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,22188,-106,-103,100,100,0,0,0,0,0,65535,0,0,0x43E0,0,-4200,-4200,-2000,-2000,0,0x4987,0x0000,0x01,0x0011,0xE2,0x0014,0x0318,0x0004,0x0000,0x0000,0x0002,0x0000,0x0000,0x0000,0x0000,3310,3722,3754,3869,3850,3706,0,22661,21869,-99,-95,-105,-100,-110,-110,0,-33,-35,-39,-39,-42,-41,0,-244,-229,22.7,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,557,-503,-191,-156,-149,0,0,-53.5,-53.5,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,1,4,11,5,2,1,1,4,0,215,14422,7712,2752,0,800,6726,0,6,12,0,9248,9248,9248,9248,9248,9248,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,6,0,1.0,1000,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1248,SUCCESS
    2,2024-01-26 11:47:59,8.014,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,22189,-107,-104,100,100,0,0,0,0,0,65535,0,0,0x03E0,0,-4200,-4200,-2000,-2000,0,0x4987,0x0000,0x01,0x0011,0xE2,0x0014,0x0318,0x0000,0x0000,0x0000,0x0002,0x0000,0x0000,0x0000,0x0000,3311,3722,3754,3869,3850,3706,0,22663,21870,-95,-104,-102,-100,-107,-119,0,-31,-39,-38,-39,-41,-44,0,-240,-230,22.6,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,557,-503,-191,-156,-149,0,0,-53.5,-53.5,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,1,4,11,5,2,1,1,4,0,219,14422,7712,2752,0,800,6726,0,6,12,0,9248,9248,9248,9248,9248,9248,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,6,0,1.0,1000,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1178,SUCCESS
    3,2024-01-26 11:48:03,12.022,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,22203,-106,-103,100,100,0,0,0,0,0,65535,0,0,0x43E0,0,-4200,-4200,-2000,-2000,0,0x4987,0x0000,0x01,0x0011,0xE2,0x0014,0x0318,0x0004,0x0000,0x0000,0x0002,0x0000,0x0000,0x0000,0x0000,3314,3722,3754,3869,3850,3706,0,22662,21870,-88,-97,-101,-95,-111,-110,0,-29,-36,-38,-37,-43,-41,0,-220,-230,22.5,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,557,-503,-191,-156,-149,0,0,-53.5,-53.5,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,1,4,11,5,2,1,1,4,0,223,14422,7712,2752,0,800,6726,0,6,12,0,9248,9248,9248,9248,9248,9248,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,6,0,1.0,1000,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1184,SUCCESS
    4,2024-01-26 11:48:07,16.036,0x4983,300,37898,0x62DC,0,65535,65535,0,-53.5,22209,-99,-103,100,100,0,0,0,0,0,65535,0,0,0x43E0,0,-4200,-4200,-2000,-2000,0,0x4983,0x0000,0x01,0x0011,0xE2,0x0014,0x0318,0x0004,0x0000,0x0000,0x0002,0x0000,0x0000,0x0000,0x0000,3315,3722,3754,3869,3850,3706,0,22657,21488,-98,-95,-100,-99,-113,-108,0,-32,-35,-38,-38,-44,-40,0,-220,-229,22.5,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,557,-503,-191,-156,-149,0,0,-53.5,-53.5,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,1,4,11,5,2,1,1,4,0,227,14422,7712,2752,0,800,6726,0,6,12,1,9248,9248,9248,9248,9248,9248,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,6,1,1.0,1000,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1198,SUCCESS
    5,2024-01-26 11:48:11,20.051,0x4983,300,37898,0x62DC,0,65535,65535,0,-53.5,22209,-98,-103,100,100,0,0,0,0,0,65535,0,0,0x43E0,0,-4200,-4200,-2000,-2000,0,0x4983,0x0000,0x01,0x0011,0xE2,0x0014,0x0318,0x0004,0x0000,0x0000,0x0002,0x0000,0x0000,0x0000,0x0000,3317,3722,3754,3869,3850,3706,0,22664,21488,-93,-97,-95,-104,-115,-108,0,-31,-36,-36,-40,-44,-40,0,-218,-228,22.5,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,557,-503,-191,-156,-149,0,0,-53.5,-53.5,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,1,4,11,5,2,1,1,4,0,231,14422,7712,2752,0,800,6726,0,6,12,1,9248,9248,9248,9248,9248,9248,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,6,1,1.0,1000,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1153,SUCCESS
    6,2024-01-26 11:48:15,24.065,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,22186,-106,-103,100,100,0,0,0,0,0,65535,0,0,0x43E0,0,-4200,-4200,-2000,-2000,0,0x4987,0x0000,0x01,0x0011,0xE2,0x0014,0x0318,0x0004,0x0000,0x0000,0x0002,0x0000,0x0000,0x0000,0x0000,3310,3722,3754,3869,3850,3706,0,22656,21867,-101,-105,-99,-106,-107,-100,0,-33,-39,-37,-41,-41,-37,0,-238,-228,22.5,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,557,-503,-191,-156,-149,0,0,-53.5,-53.5,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,1,4,11,5,2,1,1,4,0,235,14422,7712,2752,0,800,6726,0,6,12,1,9248,9248,9248,9248,9248,9248,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,6,1,1.0,1000,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1202,SUCCESS
    7,2024-01-26 11:48:19,28.078,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,22208,-101,-102,100,100,0,0,0,0,0,65535,0,0,0x03E0,0,-4200,-4200,-2000,-2000,0,0x4987,0x0000,0x01,0x0011,0xE2,0x0014,0x0318,0x0000,0x0000,0x0000,0x0002,0x0000,0x0000,0x0000,0x0000,3313,3722,3754,3869,3850,3706,0,22664,21867,-106,-97,-95,-102,-106,-110,0,-35,-36,-36,-39,-41,-41,0,-220,-227,22.4,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,556,-504,-194,-156,-149,0,0,-53.5,-53.5,1000,1000,1000,1000,1000,1000,0,0,0,0,0,0,0,0,1,4,11,5,2,1,1,4,0,239,14422,7712,2752,0,800,6726,0,7,15,1,9248,9248,9248,9248,9248,9248,0,4700,4700,4700,4700,4700,4700,4700,0,0,0,0,0,0,0,7,1,1.0,1000,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1173,SUCCESS
    

    Fri Jan 26 17:20:10 WAT 2024
    
    Device Version Info = ffffffa5_ffffffff_ffffffa5
    BQZ Device Name = bq40z80
    BQZ Firmware Version = 0_04
    
    Design Capacity = 2532
    Design Voltage = 23700
    Specification Info = 0xA009
    Manufacturer Date = 1980-1-1
    Serial Number = 0x0001
    Manufacturer Name = Texas Instruments
    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,2024-01-26 17:20:14,4.007,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,25054,-100,-159,100,100,0,0,0,0,0,65535,0,0,0x43E0,65535,-3988,-3988,-1899,-1899,0,0x4987,0x0000,0x01,0x0011,0xC2,0x1094,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3774,4183,4262,4476,4450,4142,0,25776,24925,-2147,-2400,-2126,-2407,-2176,-2432,0,-810,-1004,-906,-1077,-968,-1007,0,-4387,-665,22.7,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,-5222,-6067,-11876,-158,-114,0,0,-53.5,-53.0,1577,587,0,0,0,849,0,-21,-439,-462,-47,-45,-393,0,1,4,1,15,15,15,15,15,0,8436,14422,7712,2752,0,800,6726,0,5725,12035,89,9248,9248,9248,9248,9248,9248,0,4200,4200,4200,4200,4200,4200,4200,0,0,0,0,0,0,0,5725,89,0.1,1004,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1189,SUCCESS
    2,2024-01-26 17:20:18,8.009,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,25269,-2145,-617,100,100,0,0,0,0,0,65535,0,0,0x43E0,65535,-3988,-3988,-1899,-1899,0,0x4987,0x0000,0x01,0x0011,0xC2,0x1094,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3783,4185,4264,4478,4452,4143,0,25786,24929,-2143,-2201,-2230,-2235,-2201,-2229,0,-811,-921,-951,-1001,-980,-923,0,-5349,-1561,22.7,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,-5224,-6069,-11881,-158,-114,0,0,-53.5,-49.8,1577,587,0,0,0,849,0,-21,-439,-462,-47,-45,-393,0,1,4,1,15,15,15,15,15,0,8440,14422,7712,2752,0,800,6726,0,5727,12040,89,9248,9248,9248,9248,9248,9248,0,4200,4200,4200,4200,4200,4200,4200,0,0,0,0,0,0,0,5727,89,0.1,1004,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1156,SUCCESS
    3,2024-01-26 17:20:22,12.016,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,25278,-2054,-966,100,100,0,0,0,0,0,65535,0,0,0x43E0,65535,-3988,-3988,-1899,-1899,0,0x4987,0x0000,0x01,0x0011,0xC2,0x1094,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3778,4186,4266,4480,4453,4145,0,25786,24931,-1958,-2169,-2178,-1994,-2182,-2030,0,-740,-908,-929,-893,-972,-841,0,-5049,-2617,22.7,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,-5227,-6072,-11887,-158,-114,0,0,-53.5,-45.9,1577,587,0,0,0,849,0,-21,-439,-462,-47,-45,-393,0,1,4,1,15,15,15,15,15,0,8444,14422,7712,2752,0,800,6726,0,5730,12046,89,9248,9248,9248,9248,9248,9248,0,4200,4200,4200,4200,4200,4200,4200,0,0,0,0,0,0,0,5730,89,0.1,1004,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1196,SUCCESS
    4,2024-01-26 17:20:26,16.029,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,25277,-1982,-1212,100,100,0,0,0,0,0,65535,0,0,0x43E0,65535,-3988,-3988,-1899,-1899,0,0x4987,0x0000,0x01,0x0011,0xC2,0x1094,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3794,4188,4266,4480,4455,4146,0,25795,24929,-2092,-1883,-2101,-2106,-1933,-2126,0,-794,-789,-896,-943,-861,-881,0,-4881,-3187,22.7,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,-5229,-6074,-11891,-158,-114,0,0,-53.5,-42.2,1577,587,0,0,0,849,0,-21,-439,-462,-47,-45,-393,0,1,4,1,15,15,15,15,15,0,8448,14422,7712,2752,0,800,6726,0,5732,12050,89,9248,9248,9248,9248,9248,9248,0,4200,4200,4200,4200,4200,4200,4200,0,0,0,0,0,0,0,5732,89,0.1,1004,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1179,SUCCESS
    5,2024-01-26 17:20:30,20.039,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,25285,-1923,-1381,100,100,0,0,0,0,0,65535,0,0,0x43E0,65535,-3988,-3988,-1899,-1899,0,0x4987,0x0000,0x01,0x0011,0xC2,0x1094,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3777,4188,4268,4480,4455,4147,0,25803,24934,-1805,-2028,-1881,-2038,-1961,-1996,0,-682,-849,-803,-913,-874,-828,0,-4734,-3579,22.7,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,-5231,-6076,-11895,-158,-114,0,0,-53.5,-39.3,1577,587,0,0,0,849,0,-21,-439,-462,-47,-45,-393,0,1,4,1,15,15,15,15,15,0,8452,14422,7712,2752,0,800,6726,0,5734,12054,89,9248,9248,9248,9248,9248,9248,0,4200,4200,4200,4200,4200,4200,4200,0,0,0,0,0,0,0,5734,89,0.1,1004,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1189,SUCCESS
    6,2024-01-26 17:20:34,24.045,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,25291,-1872,-1499,100,100,0,0,0,0,0,65535,0,0,0x43E0,65535,-3988,-3988,-1899,-1899,0,0x4987,0x0000,0x01,0x0011,0xC2,0x1094,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3795,4190,4268,4481,4455,4147,0,25800,24939,-1990,-1756,-1965,-1888,-1996,-1956,0,-755,-736,-839,-846,-889,-811,0,-4621,-3850,22.7,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,-5233,-6078,-11899,-158,-114,0,0,-53.5,-37.1,1577,587,0,0,0,849,0,-21,-439,-462,-47,-45,-393,0,1,4,1,15,15,15,15,15,0,8456,14422,7712,2752,0,800,6726,0,5736,12058,89,9248,9248,9248,9248,9248,9248,0,4200,4200,4200,4200,4200,4200,4200,0,0,0,0,0,0,0,5736,89,0.1,1004,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1228,SUCCESS
    7,2024-01-26 17:20:38,28.050,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,25295,-1834,-1578,100,100,0,0,0,0,0,65535,0,0,0x43E0,65535,-3988,-3988,-1899,-1899,0,0x4987,0x0000,0x01,0x0011,0xC2,0x1094,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3795,4190,4269,4482,4457,4148,0,25802,24936,-1948,-1767,-1951,-1923,-1802,-1965,0,-739,-740,-833,-862,-803,-815,0,-4539,-4032,22.7,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,-5235,-6080,-11904,-158,-114,0,0,-53.5,-35.5,1577,587,0,0,0,849,0,-21,-439,-462,-47,-45,-393,0,1,4,1,15,15,15,15,15,0,8460,14422,7712,2752,0,800,6726,0,5738,12063,89,9248,9248,9248,9248,9248,9248,0,4200,4200,4200,4200,4200,4200,4200,0,0,0,0,0,0,0,5738,89,0.1,1004,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1241,SUCCESS
    8,2024-01-26 17:20:42,32.051,0x4987,300,37898,0x62DC,0,65535,65535,0,-53.5,25298,-1799,-1629,100,100,0,0,0,0,0,65535,0,0,0x43E0,65535,-3988,-3988,-1899,-1899,0,0x4987,0x0000,0x01,0x0011,0xC2,0x1094,0x0318,0x0004,0x0002,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3796,4191,4270,4482,4457,4149,0,25807,24939,-1900,-1698,-1909,-1911,-1845,-1903,0,-721,-712,-815,-857,-822,-790,0,-4456,-4148,22.7,-53.5,-53.5,-273.2,-273.2,-53.5,-273.2,-53.5,0,0,0,0,-5237,-6082,-11908,-158,-114,0,0,-53.5,-53.5,1577,587,0,0,0,849,0,-21,-439,-462,-47,-45,-393,0,1,4,1,15,15,15,15,15,0,8464,14422,7712,2752,0,800,6726,0,5740,12067,89,9248,9248,9248,9248,9248,9248,0,4200,4200,4200,4200,4200,4200,4200,0,0,0,0,0,0,0,5740,89,0.1,1004,14422,7712,2752,0,800,6726,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1239,SUCCESS
    

    BMS3.gg.csv

  • Hi Chahine,

    Regarding the how to set the calibration, after the learning cycle has there been any issues observed? This would give us a better look into the exact parameters that need to be achieved for accurate gauging.

    For general calibration, these documents can be helpful:

    https://www.ti.com/lit/pdf/slua868 

    Section 3.3 of https://www.ti.com/lit/pdf/sluubz5 

    For setting the maximum voltage during charge being set, setting the Full Charge thresholds (FC) and the Valid Charge Termination thresholds (VCT) can assist. More information about these can be found in the bq40z80 TRM.

    I will look into the OCC and COV issues with the logs.

    Regards,

    Anthony Baldino

  • Hi Anthony,

    I hope this email finds you well.

    Regarding the calibration process. Could you kindly guide me on locating the ManufacturerData() register within BqStudio?

    Best regards,

    Chahine SAKKA

  • Hi Chahine,

    These values can be found by using the Advanced Comm SMB function in bqStudio.

    Using these values below, you can access different data:

    In the example below, I accessed 0xF081, where 81 F0 is written to 44 and read back from 44:

    Regards,

    Anthony Baldino