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.

BQ20Z655-R1: Some Problems about Creating Data Flash Parameters

Part Number: BQ20Z655-R1

 

 I am trying to configure data flash parameters for my 4s battery pack but I have some questions. Could you help me about that? You can see my data flash parameters on this link: 

[Header]
bq EVSW Version = 0.9.80	
DeviceName = bq20z655-R1 v0.03
Time = 2.03.2019 20:19:48	


[Voltage(1st Level Safety)]
LT COV Threshold = 4300
LT COV Recovery = 4100
ST COV Threshold = 4500
ST COV Recovery = 4300
HT COV Threshold = 4250
HT COV Recovery = 4000
COV Time = 2
CUV Threshold = 2300
CUV Time = 2
CUV Recovery = 2600
[Current(1st Level Safety)]
OC (1st Tier) Chg = 15000
OC (1st Tier) Chg Time = 2
OC Chg Recovery = 200
OC (1st Tier) Dsg = 14000
OC (1st Tier) Dsg Time = 2
OC Dsg Recovery = 300
OC (2nd Tier) Chg = 8000
OC (2nd Tier) Chg Time = 1
OC (2nd Tier) Dsg = 8000
OC (2nd Tier) Dsg Time = 1
Current Recovery Time = 8
AFE OC Dsg = 14
AFE OC Dsg Time = 0F
AFE OC Dsg Recovery = 5
AFE SC Chg Cfg = 00
AFE SC Dsg Cfg = 8A
AFE SC Recovery = 3
[Temperature(1st Level Safety)]
OT1 Chg Threshold = 72.0
OT1 Chg Time = 2
OT1 Chg Recovery = 65.0
OT2 Chg Threshold = 72.0
OT2 Chg Time = 2
OT2 Chg Recovery = 65.0
OT1 Dsg Threshold = 90.0
OT1 Dsg Time = 2
OT1 Dsg Recovery = 78.0
OT2 Dsg Threshold = 90.0
OT2 Dsg Time = 2
OT2 Dsg Recovery = 78.0
Hi Dsg Start Temp = 63.0
[Host Comm(1st Level Safety)]
Host Watchdog Timeout = 0

[Voltage(2nd Level Safety)]
LT SOV Threshold = 4400
ST SOV Threshold = 4600
HT SOV Threshold = 4500
SOV Time = 0
PF SOV Fuse Blow Delay = 0
SUV Threshold = 2000
SUV Time = 0
Rest CIM Current = 5
Rest CIM Fail Voltage = 1000
Rest CIM Time = 0
CIM Battery Rest Time = 1800
Rest CIM Check Voltage = 3000
Active CIM Fail Voltage = 1000
Active CIM Time = 0
Active CIM Check Voltage = 3000
PFIN Detect Time = 0
PF Min Fuse Blow Voltage = 8000
[Current(2nd Level Safety)]
SOC Chg = 10000
SOC Chg Time = 0
SOC Dsg = 10000
SOC Dsg Time = 0
[Temperature(2nd Level Safety)]
SOT1 Chg Threshold = 65.0
SOT1 Chg Time = 0
SOT2 Chg Threshold = 65.0
SOT2 Chg Time = 0
SOT1 Dsg Threshold = 75.0
SOT1 Dsg Time = 0
SOT2 Dsg Threshold = 75.0
SOT2 Dsg Time = 0
Open Thermistor = -33.3
Open Time = 0
[FET Verification(2nd Level Safety)]
FET Fail Limit = 20
FET Fail Time = 0
[AFE Verification(2nd Level Safety)]
AFE Check Time = 0
AFE Fail Limit = 0
AFE Fail Recovery Time = 20
AFE Init Retry Limit = 6
AFE Init Limit = 20
[Fuse Verification(2nd Level Safety)]
Fuse Fail Limit = 2
Fuse Fail Time = 0

[Charge Temp Cfg(Charge Control)]
JT1 = 0.0
JT2 = 12.0
JT2a = 30.0
JT3 = 45.0
JT4 = 55.0
Temp Hys = 1.0
[Pre-Charge Cfg(Charge Control)]
Pre-chg Voltage Threshold = 1000
Pre-chg Recovery Voltage = 1100
Pre-chg Current = 2000
[Charge Cfg(Charge Control)]
LT Chg Voltage = 16800
LT Chg Current1 = 6500
LT Chg Current2 = 6500
LT Chg Current3 = 6500
ST1 Chg Voltage = 16800
ST1 Chg Current1 = 6500
ST1 Chg Current2 = 6500
ST1 Chg Current3 = 6500
ST2 Chg Voltage = 16800
ST2 Chg Current1 = 6500
ST2 Chg Current2 = 6500
ST2 Chg Current3 = 6500
HT Chg Voltage = 16800
HT Chg Current1 = 6500
HT Chg Current2 = 6500
HT Chg Current3 = 6500
Cell Voltage Threshold1 = 3900
Cell Voltage Threshold2 = 4000
Cell Voltage Thresh Hys = 10
[Termination Cfg.(Charge Control)]
Maintenance Current = 0
Taper Current = 100
Taper Voltage = 100
Current Taper Window = 40
TCA Set % = -1
TCA Clear % = 95
FC Set % = -1
FC Clear % = 98
[Cell Balancing Cfg(Charge Control)]
Min Cell Deviation = 123
[Charging Faults(Charge Control)]
Over Charging Voltage = 500
Over Charging Volt Time = 2
Over Charging Current = 500
Over Charging Curr Time = 2
Over Charging Curr Recov = 100
Depleted Voltage = 8000
Depleted Voltage Time = 2
Depleted Recovery = 8500
Over Charge Capacity = 600
Over Charge Recovery = 2
CMTO = 43200
PCMTO = 3600
Charge Fault Cfg = 00
[External Charge Control(Charge Control)]
Chg Inhibit Threshold = 10
Chg Inhibit Hold Time = 0

[Data(SBS Configuration)]
Rem Cap Alarm = 340
Rem Energy Alarm = 7340
Rem Time Alarm = 15
Init Battery Mode = 0081
Design Voltage = 14400
Spec Info = 0031
Manuf Date = 26-�ub-2019
Ser. Num. = 0001
Cycle Count = 5
CC Threshold = 5440
CC % = 80
CF MaxError Limit = 100
Design Capacity = 6800
Design Energy = 9790
Manuf Name = Battery
Device Name = battery
Device Chemistry = LION
[Configuration(SBS Configuration)]
TDA Set % = 6
TDA Clear % = 8
FD Set % = 0
FD Clear % = 5
TDA Set Volt Threshold = 10000
TDA Set Volt Time = 5
TDA Clear Volt = 10100
FD Set Volt Threshold = 10000
FD Volt Time = 5
FD Clear Volt = 10100

[Manufacturer Data(System Data)]
Pack Lot Code = 0000
PCB Lot Code = 0000
Firmware Version = 0000
Hardware Revision = 0000
Cell Revision = 0000
[Manufacturer Info(System Data)]
Manuf. Info 0 = 0123456789ABCDEF0123456789ABCDE
Manuf. Block 1 = 0123456789ABCDEF0123
Manuf. Block 2 = 0123456789ABCDEF0123
Manuf. Block 3 = 0123456789ABCDEF0123
[Lifetime Data(System Data)]
Lifetime Max Temp = 103.3
Lifetime Min Temp = -21.6
Lifetime Max Cell Voltage = 5428
Lifetime Min Cell Voltage = 0
Lifetime Max Pack Voltage = 17080
Lifetime Min Pack Voltage = 8608
Lifetime Max Chg Current = 4237
Lifetime Max Dsg Current = -11501
Lifetime Max Chg Power = 66620
Lifetime Max Dsg Power = -155080
Life Max AvgDsg Cur = -2000
Life Max AvgDsg Pow = -3022
Life Avg Temp = 16.4
[Lifetime Temp Samples(System Data)]
LT Temp Samples = 106653

[Registers(Configuration)]
Operation Cfg A = 6F0B
Operation Cfg B = 6468
Operation Cfg C = 1570
Permanent Fail Cfg = 0000
Permanent Fail Cfg 2 = 0000
Non-Removable Cfg = 0000
[AFE(Configuration)]
AFE.State_CTL = 00
SMB Sync Command = FF
SMB Sync Delay = 50

[LED Cfg(LED Support)]
LED Flash Period = 512
LED Blink Period = 1024
LED Delay = 100
LED Hold Time = 4
CHG Flash Alarm = 10
CHG Thresh 1 = 0
CHG Thresh 2 = 20
CHG Thresh 3 = 40
CHG Thresh 4 = 60
CHG Thresh 5 = 80
DSG Flash Alarm = 10
DSG Thresh 1 = 0
DSG Thresh 2 = 20
DSG Thresh 3 = 40
DSG Thresh 4 = 60
DSG Thresh 5 = 80
Sink Current = 3
LCD Freq = 35

[Power(Power)]
Flash Update OK Voltage = 7500
Shutdown Voltage = 7000
Shutdown Time = 10
Cell Shutdown Voltage = 1750
Cell Shutdown Time = 10
Charger Present = 3000
Sleep Current = 10
Bus Low Time = 5
Cal Inhibit Temp Low = 5.0
Cal Inhibit Temp High = 45.0
Sleep Voltage Time = 5
Sleep Current Time = 20
Wake Current Reg = 00
Sealed Ship Delay = 5

[IT Cfg(Gas Gauging)]
Load Select = 7
Load Mode = 0
Term Voltage = 10000
User Rate-mA = 0
User Rate-mW = 0
Reserve Cap-mAh = 0
Reserve Cap-mWh = 0
Ra Max Delta = 44
Max IR Correct = 400
Transient Factor Charge = 180
Transient Factor Discharge = 180
[Current Thresholds(Gas Gauging)]
Dsg Current Threshold = 90
Chg Current Threshold = 50
Quit Current = 10
Dsg Relax Time = 1
Chg Relax Time = 60
[State(Gas Gauging)]
Qmax Cell 0 = 6800
Qmax Cell 1 = 6800
Qmax Cell 2 = 6800
Qmax Cell 3 = 6800
Qmax Pack = 6800
Update Status = 02
Cell 0 Chg dod at EoC = 0
Cell 1 Chg dod at EoC = 0
Cell 2 Chg dod at EoC = 0
Cell 3 Chg dod at EoC = 0
Avg I Last Run = -2000
Avg P Last Run = -3022
Delta Voltage = 0
Max Avg I Last Run = -2000
Max Avg P Last Run = -3022

[R_a0(Ra Table)]
Cell0 R_a flag = FF55
Cell0 R_a 0 = 38
Cell0 R_a 1 = 41
Cell0 R_a 2 = 43
Cell0 R_a 3 = 44
Cell0 R_a 4 = 42
Cell0 R_a 5 = 42
Cell0 R_a 6 = 45
Cell0 R_a 7 = 48
Cell0 R_a 8 = 49
Cell0 R_a 9 = 52
Cell0 R_a 10 = 56
Cell0 R_a 11 = 64
Cell0 R_a 12 = 74
Cell0 R_a 13 = 128
Cell0 R_a 14 = 378
[R_a1(Ra Table)]
Cell1 R_a flag = FF55
Cell1 R_a 0 = 38
Cell1 R_a 1 = 41
Cell1 R_a 2 = 43
Cell1 R_a 3 = 44
Cell1 R_a 4 = 42
Cell1 R_a 5 = 42
Cell1 R_a 6 = 45
Cell1 R_a 7 = 48
Cell1 R_a 8 = 49
Cell1 R_a 9 = 52
Cell1 R_a 10 = 56
Cell1 R_a 11 = 64
Cell1 R_a 12 = 74
Cell1 R_a 13 = 128
Cell1 R_a 14 = 378
[R_a2(Ra Table)]
Cell2 R_a flag = FF55
Cell2 R_a 0 = 38
Cell2 R_a 1 = 41
Cell2 R_a 2 = 43
Cell2 R_a 3 = 44
Cell2 R_a 4 = 42
Cell2 R_a 5 = 42
Cell2 R_a 6 = 45
Cell2 R_a 7 = 48
Cell2 R_a 8 = 49
Cell2 R_a 9 = 52
Cell2 R_a 10 = 56
Cell2 R_a 11 = 64
Cell2 R_a 12 = 74
Cell2 R_a 13 = 128
Cell2 R_a 14 = 378
[R_a3(Ra Table)]
Cell3 R_a flag = FF55
Cell3 R_a 0 = 38
Cell3 R_a 1 = 41
Cell3 R_a 2 = 43
Cell3 R_a 3 = 44
Cell3 R_a 4 = 42
Cell3 R_a 5 = 42
Cell3 R_a 6 = 45
Cell3 R_a 7 = 48
Cell3 R_a 8 = 49
Cell3 R_a 9 = 52
Cell3 R_a 10 = 56
Cell3 R_a 11 = 64
Cell3 R_a 12 = 74
Cell3 R_a 13 = 128
Cell3 R_a 14 = 378
[R_a0x(Ra Table)]
xCell0 R_a flag = FFFF
xCell0 R_a 0 = 38
xCell0 R_a 1 = 41
xCell0 R_a 2 = 43
xCell0 R_a 3 = 44
xCell0 R_a 4 = 42
xCell0 R_a 5 = 42
xCell0 R_a 6 = 45
xCell0 R_a 7 = 48
xCell0 R_a 8 = 49
xCell0 R_a 9 = 52
xCell0 R_a 10 = 56
xCell0 R_a 11 = 64
xCell0 R_a 12 = 74
xCell0 R_a 13 = 128
xCell0 R_a 14 = 378
[R_a1x(Ra Table)]
xCell1 R_a flag = FFFF
xCell1 R_a 0 = 38
xCell1 R_a 1 = 41
xCell1 R_a 2 = 43
xCell1 R_a 3 = 44
xCell1 R_a 4 = 42
xCell1 R_a 5 = 42
xCell1 R_a 6 = 45
xCell1 R_a 7 = 48
xCell1 R_a 8 = 49
xCell1 R_a 9 = 52
xCell1 R_a 10 = 56
xCell1 R_a 11 = 64
xCell1 R_a 12 = 74
xCell1 R_a 13 = 128
xCell1 R_a 14 = 378
[R_a2x(Ra Table)]
xCell2 R_a flag = FFFF
xCell2 R_a 0 = 38
xCell2 R_a 1 = 41
xCell2 R_a 2 = 43
xCell2 R_a 3 = 44
xCell2 R_a 4 = 42
xCell2 R_a 5 = 42
xCell2 R_a 6 = 45
xCell2 R_a 7 = 48
xCell2 R_a 8 = 49
xCell2 R_a 9 = 52
xCell2 R_a 10 = 56
xCell2 R_a 11 = 64
xCell2 R_a 12 = 74
xCell2 R_a 13 = 128
xCell2 R_a 14 = 378
[R_a3x(Ra Table)]
xCell3 R_a flag = FFFF
xCell3 R_a 0 = 38
xCell3 R_a 1 = 41
xCell3 R_a 2 = 43
xCell3 R_a 3 = 44
xCell3 R_a 4 = 42
xCell3 R_a 5 = 42
xCell3 R_a 6 = 45
xCell3 R_a 7 = 48
xCell3 R_a 8 = 49
xCell3 R_a 9 = 52
xCell3 R_a 10 = 56
xCell3 R_a 11 = 64
xCell3 R_a 12 = 74
xCell3 R_a 13 = 128
xCell3 R_a 14 = 378

[Device Status Data(PF Status)]
Saved PF Flags 1 = 0000
Saved PF Flags 2 = 0000
Fuse Flag = 00
PF Voltage = 0
PF C4 Voltage = 0
PF C3 Voltage = 0
PF C2 Voltage = 0
PF C1 Voltage = 0
PF Current = 0
PF Temperature = 0.0
PF Batt Stat = 00
PF RC-mAh = 0
PF RC-10mWh = 0
PF Chg Status = 0000
PF Safety Status 1 = 0000
PF Safety Status2 = 0000
Saved 1st PF Flags 1 = 0000
Saved 1st PF Flags 2 = 0000
[AFE Regs(PF Status)]
AFE Status = 00
AFE Output = 00
AFE State = 00
AFE Function = 00
AFE Cell Select = 00
AFE OLV = 00
AFE OLT = 00
AFE SCC = 00
AFE SCD = 00

[Data(Calibration)]
CC Gain = 0.009
CC Delta = 0.009
Ref Voltage = 1226.75
AFE Pack Gain = 703.95
CC Offset = -0.273
Board Offset = -27.4
Int Temp Offset = 0.0
Ext1 Temp Offset = 0.0
Ext2 Temp Offset = 0.0
[Config(Calibration)]
CC Current = 3000
Voltage Signal = 16800
Temp Signal = 298.0
CC Offset Time = 250
ADC Offset Time = 32
CC Gain Time = 250
Voltage Time = 1984
Temperature Time = 32
Cal Mode Timeout = 300
[Temp Model(Calibration)]
Ext Coef 1 = -28285
Ext Coef 2 = 20848
Ext Coef 3 = -7537
Ext Coef 4 = 401.2
Ext Min AD = 0
Ext Max Temp = 401.2
Int Coef 1 = 0
Int Coef 2 = 0
Int Coef 3 = -11136
Int Coef 4 = 575.4
Int Min AD = 0
Int Max Temp = 575.4
[Current(Calibration)]
Filter = 239
Deadband = 3
CC Deadband = 10.0

  1. For termination:

Could you please check the following data?(Note that 100mA charging cut-off current)

    1. Taper Current=100mA
    2. Discharge Current Threshold= 90mA
    3. Charge Current Threshold=90mA
    4. Quit Current= 10mA

 

  1. CONTROL for Cell Balancing:

How can I check the cell balancing function if it works? I would like to be sure and I would like check this function. Can I use [CB]flag for that?

 

  1. For gg Files:

Could you please check my gg files(2s and 4s configuration)? As you can see, update status is 0x0E and min cell deviation is 1350 for 2serial configuration. But cell balancing function is not working( CB flag = Low). How can I solve this problem? I know that I have to do learning cycle for my data that’s why I will do it. But now I would like to do test for cell balancing function as soon as possible. Therefore I’m using gg file that have a update status=0x0E. Do you have any example gg file for testing? If it possible could you please provide me example data with internal or external cell balancing function. If not, could you fix my data?

 

  1. For Balancing:

Reference for min cell deviation value: http://www.ti.com/lit/an/slua420a/slua420a.pdf  .

Could you please check my values?

  1. Internal Balancing: For 4 serial configuration with internal cell balancing, cell filter resistors are 100 ohm that’s why min cell deviation value is 1350 s/mAh
  2. External Balancing: For 4 serial configuration with external cell balancing, cell filter resistors are 1k ohm and balancing resistors are 50ohm that’s why min cell deviation value is 130 s/mAh. I’m calculating as below:

 

R= 50 ohm + Rswithingmosfet = approximately 52 ohm

DF:MinCellDeviation = R × 3.6/(V × D) = 52 x 3,6/(3,6 x 0,4) = 130 s/mAh