This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ34Z100-G1: resRelax Time

Part Number: BQ34Z100-G1
Other Parts Discussed in Thread: BQSTUDIO

I have the same question - what is the resRelax time?  

I have a fast discharge application and am having dificulty with Ra Table updates

  • Hi Reed,

    These are private parameters. 

    ResRelax Time (default = 50s) describes how a specific cell settles for capacity simulation purposes.

    SecRelaxTime (default = 30s). The gauge takes cell resistance measurements during discharge every
    SecRelaxTime seconds. It will perform a linear regression through all measurements when DOD crosses a grid
    point.

    PrimeRelaxTime (default = 500s). The gauge will not start measuring cell resistance until this time has passed in
    discharge state.

    Regards,
    Jose Couso

  • In some cases our full discharge will be completed in under 500 seconds.  In the case of discharge longer then 500 seconds, the pack will be deep into DOD before the first Ra table update occurs - past early grid points.     how do you suggest we tweak these parameters to ensure Ra updates occur.   

  • Hi Reed,

    You can write and read from this parameters in data memory. Please provide BQZ file you are using and I will tell you the exact location in data memory.
    Or you can provide the following three.


    Looks like lowering PrimeRelaxTime might be helpful in your application.

    Regards,
    Jose Couso

  • * Texas Instruments Data Flash File
    * File created Mon Sep 18 11:55:03 2023
    *
    * Device Number is not available.
    * Firmware Version is not available.
    * Build Number is not available.
    * Order Number not available.
    *
    * bqz Device Number 100
    * bqz Firmware Version 0.16
    * bqz Build Number 17
    *
    * Field Order: Class name  Subclass name  Parameter name  Parameter Value  Display Units
    Configuration Safety OT Chg 55 1degC
    Configuration Safety OT Chg Time 2 Seconds
    Configuration Safety OT Chg Recovery 50 1degC
    Configuration Safety OT Dsg 60 1degC
    Configuration Safety OT Dsg Time 2 Seconds
    Configuration Safety OT Dsg Recovery 55 1degC
    Configuration Charge Inhibit Cfg Chg Inhibit Temp Low 0 1degC
    Configuration Charge Inhibit Cfg Chg Inhibit Temp High 45 1degC
    Configuration Charge Inhibit Cfg Temp Hys 5 1degC
    Configuration Charge Suspend Low Temp -5 1degC
    Configuration Charge Suspend High Temp 55 1degC
    Configuration Charge Pb Temp Comp 24.96 %
    Configuration Charge Pb Reduction Rate 10 %
    Configuration Charge Termination Taper Current 28 mAmp
    Configuration Charge Termination Min Taper Capacity 3 mAmpHr
    Configuration Charge Termination Cell Taper Voltage 100 mVolt
    Configuration Charge Termination Current Taper Window 40 Seconds
    Configuration Charge Termination TCA Set % 99 Percent
    Configuration Charge Termination TCA Clear % 95 Percent
    Configuration Charge Termination FC Set % 100 Percent
    Configuration Charge Termination FC Clear % 98 Percent
    Configuration Charge Termination DODatEOC Delta T 10 1degC
    Configuration Charge Termination NiMH Delta Temp 3 1degC
    Configuration Charge Termination NiMH Delta Temp Time 180 Seconds
    Configuration Charge Termination NiMH Hold Off  Time 100 Seconds
    Configuration Charge Termination NiMH Hold Off Current 240 mAmp
    Configuration Charge Termination NiMH Hold Off  Temp 25 1degC
    Configuration Charge Termination NiMH Cell Negative Delta Volt 17 mVolt
    Configuration Charge Termination NiMH Cell Negative Delta Time 16 Seconds
    Configuration Charge Termination NiMH Cell Neg Delta Qual Volt 4200 mVolt
    Configuration Data Manuf  Date ######## Day + Mo*32 + (Yr -1980)*256
    Configuration Data Ser. Num. 002d hex
    Configuration Data Cycle Count 31 Count
    Configuration Data CC Threshold 1000 mAmpHr
    Configuration Data Max Error Limit 100 %
    Configuration Data Design Capacity 1272 MilliAmpHour
    Configuration Data Design Energy 4815 MilliWattHour
    Configuration Data SOH Load I -2888 MilliAmp
    Configuration Data Cell Charge Voltage T1-T2 4300 mV
    Configuration Data Cell Charge Voltage T2-T3 4300 mV
    Configuration Data Cell Charge Voltage T3-T4 4300 mV
    Configuration Data Charge Current T1-T2 10 Percent
    Configuration Data Charge Current  T2-T3 50 Percent
    Configuration Data Charge Current  T3-T4 30 Percent
    Configuration Data JEITA T1 0 degC
    Configuration Data JEITA T2 10 degC
    Configuration Data JEITA T3 45 degC
    Configuration Data JEITA T4 55 degC
    Configuration Data Design Energy Scale 9 Number
    Configuration Data Device Name SB Rogue1 -
    Configuration Data Manufacturer Name Texas Inst. -
    Configuration Data Device Chemistry LION -
    Configuration Discharge SOC1 Set Threshold 150 mAh
    Configuration Discharge SOC1 Clear Threshold 175 mAh
    Configuration Discharge SOCF Set Threshold 75 mAh
    Configuration Discharge SOCF Clear Threshold 100 mAh
    Configuration Discharge Cell BL Set Volt Threshold 2800 mVolt
    Configuration Discharge Cell BL Set Volt Time 2 Seconds
    Configuration Discharge Cell BL Clear Volt Threshold 2900 mVolt
    Configuration Discharge Cell BH Set Volt Threshold 4400 mVolt
    Configuration Discharge Cell BH Volt Time 2 Seconds
    Configuration Discharge Cell BH  Clear Volt Threshold 4350 mVolt
    Configuration Discharge Cycle Delta 0.05 %
    Configuration Manufacturer Data Pack Lot Code 0 hex
    Configuration Manufacturer Data PCB Lot Code 0 hex
    Configuration Manufacturer Data Firmware Version 0 hex
    Configuration Manufacturer Data Hardware Revision 0 hex
    Configuration Manufacturer Data Cell Revision 0 hex
    Configuration Manufacturer Data DF Config Version 0 hex
    Configuration Integrity Data Static Chem DF Checksum 743c Number
    Configuration Lifetime Data Lifetime Max Temp 57.5 1degC
    Configuration Lifetime Data Lifetime Min Temp 19.8 1degC
    Configuration Lifetime Data Lifetime Max Chg Current 1380 mAmp
    Configuration Lifetime Data Lifetime Max Dsg Current -3418 mA
    Configuration Lifetime Data Lifetime Max Pack Voltage 1290 20mV
    Configuration Lifetime Data Lifetime Min Pack Voltage 980 20mV
    Configuration Lifetime Temp Samples LT Flash Cnt 30 Count
    Configuration Registers Pack Configuration 29c1 flags
    Configuration Registers Pack Configuration B af flags
    Configuration Registers Pack Configuration C 37 flags
    Configuration Registers LED_Comm Configuration 0 flags
    Configuration Registers Alert Configuration 0 flags
    Configuration Registers Number of series cell 6 num
    Configuration Lifetime Resolution LT Temp Res 1 1degC
    Configuration Lifetime Resolution LT Cur Res 100 mA
    Configuration Lifetime Resolution LT V Res 1 20mV
    Configuration Lifetime Resolution LT Update Time 60 Seconds
    Configuration LED Display LED Hold Time 4 Num
    Configuration Power Flash Update OK Cell Volt 2800 mVolt
    Configuration Power Sleep Current 10 mAmp
    Configuration Power FS Wait 5 Seconds
    System Data Manufacturer Info Block A 0 0 hex
    System Data Manufacturer Info Block A 1 0 hex
    System Data Manufacturer Info Block A 2 0 hex
    System Data Manufacturer Info Block A 3 0 hex
    System Data Manufacturer Info Block A 4 0 hex
    System Data Manufacturer Info Block A 5 0 hex
    System Data Manufacturer Info Block A 6 0 hex
    System Data Manufacturer Info Block A 7 0 hex
    System Data Manufacturer Info Block A 8 0 hex
    System Data Manufacturer Info Block A 9 0 hex
    System Data Manufacturer Info Block A 10 0 hex
    System Data Manufacturer Info Block A 11 0 hex
    System Data Manufacturer Info Block A 12 0 hex
    System Data Manufacturer Info Block A 13 0 hex
    System Data Manufacturer Info Block A 14 0 hex
    System Data Manufacturer Info Block A 15 0 hex
    System Data Manufacturer Info Block A 16 0 hex
    System Data Manufacturer Info Block A 17 0 hex
    System Data Manufacturer Info Block A 18 0 hex
    System Data Manufacturer Info Block A 19 0 hex
    System Data Manufacturer Info Block A 20 0 hex
    System Data Manufacturer Info Block A 21 0 hex
    System Data Manufacturer Info Block A 22 0 hex
    System Data Manufacturer Info Block A 23 0 hex
    System Data Manufacturer Info Block A 24 0 hex
    System Data Manufacturer Info Block A 25 0 hex
    System Data Manufacturer Info Block A 26 0 hex
    System Data Manufacturer Info Block A 27 0 hex
    System Data Manufacturer Info Block A 28 0 hex
    System Data Manufacturer Info Block A 29 0 hex
    System Data Manufacturer Info Block A 30 0 hex
    System Data Manufacturer Info Block A 31 0 hex
    Gas Gauging IT Cfg Load Select 6 Number
    Gas Gauging IT Cfg Load Mode 1 Number
    Gas Gauging IT Cfg Max Res Factor 15 num
    Gas Gauging IT Cfg Min Res Factor 1 num
    Gas Gauging IT Cfg Ra Filter 800 num
    Gas Gauging IT Cfg Min PassedChg NiMH-LA 1st Qmax 50 %
    Gas Gauging IT Cfg Maximum Qmax Change 30 %
    Gas Gauging IT Cfg Cell Terminate Voltage 3500 mVolt
    Gas Gauging IT Cfg Cell Term V Delta 200 mVolt
    Gas Gauging IT Cfg ResRelax Time 500 Seconds
    Gas Gauging IT Cfg User Rate-mA 0 MilliAmp
    Gas Gauging IT Cfg User Rate-Pwr 6778 mW/cW
    Gas Gauging IT Cfg Reserve Cap-mAh 0 MilliAmpHour
    Gas Gauging IT Cfg Reserve Energy 0 mWh/cWh
    Gas Gauging IT Cfg Max Scale Back Grid 4 num
    Gas Gauging IT Cfg Cell Min DeltaV 0 mVolt
    Gas Gauging IT Cfg Ra Max Delta 15 %
    Gas Gauging IT Cfg Design Resistance 52 mOhms
    Gas Gauging IT Cfg Reference Grid 4 -
    Gas Gauging IT Cfg Qmax Max Delta % 10 mAmpHour
    Gas Gauging IT Cfg Max Res Scale 5000 Num
    Gas Gauging IT Cfg Min Res Scale 200 Num
    Gas Gauging IT Cfg Fast Scale Start SOC 10 %
    Gas Gauging IT Cfg Charge Hys V Shift 40 mVolt
    Gas Gauging IT Cfg Smooth Relax Time 1000 s
    Gas Gauging Current Thresholds Dsg Current Threshold 7 mAmp
    Gas Gauging Current Thresholds Chg Current Threshold 7 mAmp
    Gas Gauging Current Thresholds Quit Current 5 mAmp
    Gas Gauging Current Thresholds Dsg Relax Time 60 Seconds
    Gas Gauging Current Thresholds Chg Relax Time 60 Seconds
    Gas Gauging Current Thresholds Cell Max IR Correct 400 mV
    Gas Gauging State Qmax Cell 0 1252 mAmpHr
    Gas Gauging State Cycle Count 31 num
    Gas Gauging State Update Status 6 num
    Gas Gauging State Cell V at Chg Term 4298 mVolt
    Gas Gauging State Avg I Last Run -2999 mAmp
    Gas Gauging State Avg P Last Run -1263 MilliWattHour
    Gas Gauging State Cell Delta Voltage 7 mVolt
    Gas Gauging State T Rise 20 Num
    Gas Gauging State T Time Constant 1000 Num
    Ra Table R_a0 R_a0 Flag 0 Hex
    Ra Table R_a0 R_a0 0 44 Num
    Ra Table R_a0 R_a0 1 47 Num
    Ra Table R_a0 R_a0 2 56 Num
    Ra Table R_a0 R_a0 3 78 Num
    Ra Table R_a0 R_a0 4 48 Num
    Ra Table R_a0 R_a0 5 38 Num
    Ra Table R_a0 R_a0 6 42 Num
    Ra Table R_a0 R_a0 7 80 Num
    Ra Table R_a0 R_a0 8 80 Num
    Ra Table R_a0 R_a0 9 80 Num
    Ra Table R_a0 R_a0 10 80 Num
    Ra Table R_a0 R_a0 11 2 Num
    Ra Table R_a0 R_a0 12 1 Num
    Ra Table R_a0 R_a0 13 2 Num
    Ra Table R_a0 R_a0 14 0 Num
    Ra Table R_a0x R_a0x Flag 55 Hex
    Ra Table R_a0x R_a0x 0 44 Num
    Ra Table R_a0x R_a0x 1 47 Num
    Ra Table R_a0x R_a0x 2 56 Num
    Ra Table R_a0x R_a0x 3 78 Num
    Ra Table R_a0x R_a0x 4 48 Num
    Ra Table R_a0x R_a0x 5 38 Num
    Ra Table R_a0x R_a0x 6 42 Num
    Ra Table R_a0x R_a0x 7 88 Num
    Ra Table R_a0x R_a0x 8 88 Num
    Ra Table R_a0x R_a0x 9 88 Num
    Ra Table R_a0x R_a0x 10 88 Num
    Ra Table R_a0x R_a0x 11 2 Num
    Ra Table R_a0x R_a0x 12 1 Num
    Ra Table R_a0x R_a0x 13 2 Num
    Ra Table R_a0x R_a0x 14 0 Num
    Calibration Data CC Gain 4.616 mohm
    Calibration Data CC Delta 4.607 mohm
    Calibration Data CC Offset -1316 num
    Calibration Data Board Offset -13 num
    Calibration Data Int Temp Offset 0 degC
    Calibration Data Ext Temp Offset 0 degC
    Calibration Data Voltage Divider 29877 mVolt
    Calibration Current Deadband 5 mAmp
    Security Codes Sealed to Unsealed 0 hex
    Security Codes Unsealed to Full 0 hex
    Security Codes Authen Key3 0 hex
    Security Codes Authen Key2 0 hex
    Security Codes Authen Key1 0 hex
    Security Codes Authen Key0 0 hex
  • Hello Reed,

    Please see the memory locations attached. 




    Regards,
    Jose Couso

  • Hi Jose,

    I was able to do more testing and watched real time as RA table updates were made during during discharge.  The discharge progressed to Grid Number 7  (SOC about 33%) on the Ra table, when the cell voltage began to quickly drop below the term voltage (due to low cell health on one cell) - the Bq40z100 set the SOC to 0% and it looks like grid point 8 on the Ra table was updated and FCC dropped to a value close to the energy that was pulled out during the discharge (all good to this point).

    However, the next morning(after the battery relaxed overnight) The full charge capacity jumped back up to the previous, value before the discharge (way more energy than is acutally available in the pack).

    My question is:

    1. in cases where the term voltage is reached early due to a weak cell, prior to the later Ra table grid points being hit (SOC 33% in my case), how do the RA table updates occur for those later grid points?

    2.  Any thoughts on how to prevent the FCC from jumping back up after relax, after term voltage is reached?

    Reed 

  • Hi Reed,

    1- If the "later" grid points are not reached, then they will not be updated. The gauge runs simulations at each grid point.

    2- Set RELAX_JUMP_OK = 0 and RELAX_SMOOTH_OK = 0 flags in your PACK Configuration C Register. See below
      


    Regards,
    Jose Couso

  • Hello Jose,

    What is the best way to use BqStudio to write these values?  I tried using the direction for using advanced comms in BQ studio to write flash blocks with a checksum, but was unable to get the flash writes to take.  Can I use a CSV file to import?  

  • Hi Reed,

    Please reference to this document. It should address your question.

    https://www.ti.com/lit/an/slua790/slua790.pdf


    Regards,
    Jose Couso

  • Hi Jose - this is the guide I have been following, however, I cannot seem to get the 34z100 to accept my data write.  Can you please look at this byte sequence?

    value to change "Prime Relax Time" subclass 0x50 block 0, offset 2
    old value: 500 0x01F4
    new value: 60 0x003C

    reading existing block

    write 0x00 to 0x61
    write 0x50 to 0x3E (Subclass address of 0x50)
    write 0x00 to 0x3f (select page block 0)
    read 32 bytes from 0x40
    result: 06 01 01 F4 00 1E 00 3C 0E 10 00 0A 46 05 0F 01 0F 01 90 00 64 46 50 0A 0E E7 0E 94 01 90 00 64
    01 F4 is the value i am interested in changing to 00 3C

    write new block:
    06 01 00 3C 00 1E 00 3C 0E 10 00 0A 46 05 0F 01 0F 01 90 00 64 46 50 0A 0E E7 0E 94 01 90 00 64
    Checksum calculation: 32 bytes add to: 0x0540 - !0x0540 = 0xFABF , last byte = BF

    write 0x00 to 0x61
    write 0x50 to 0x3E (Subclass address of 0x50)
    write 0x00 to 0x3f (select page block 0)
    write 32 bytes to 0x40
    06 01 00 3C 00 1E 00 3C 0E 10 00 0A 46 05 0F 01 0F 01 90 00 64 46 50 0A 0E E7 0E 94 01 90 00 64
    write 0xBF to 0x60 (checksum)


    When I do a read again, I get the old values

    Can you please review the above and tell me what I am doing wrong?

  • I was able to get it to work  - thanks

  • No problem.  I am closing this thread. 

    Regards,
    Jose Couso