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 SOC and remaining capacity always at 0

Other Parts Discussed in Thread: BQ34Z100

Hello, 

I try to use the BQ34Z100 with battery 3S6P (Sanyo Lithium ion battery UF553450Z). With the bq Evaluation software, i set parameters "flash data" following application notes. 

Sometimes parameters are about the battery and sometimes about cell inside the battery. So, I'm not sure to set correctly. i dont find AN very explicit.

I get good values of current, voltage and temperature but SOC, Remaining Capacity and Full charge Capacity are always at 0.

I sure, I completed a parameter with bad value

I haven't done charge/discharge cycle  yet . I don't understand how is C/5 or C/20 level. 

I join the .gg file . If you see something wrong, thanks for your feedback.

[Header]
bq EVSW Version = 0.9.90	
DeviceName = bq34z100 v0.06
Time = 26/06/2014 17:22:08	


[Safety(Configuration)]
OT Chg = 55.0
OT Chg Time = 2
OT Chg Recovery = 50.0
OT Dsg = 60.0
OT Dsg Time = 2
OT Dsg Recovery = 55.0
[Charge Inhibit Cfg(Configuration)]
Chg Inhibit Temp Low = 0.0
Chg Inhibit Temp High = 45.0
Temp Hys = 5.0
[Charge(Configuration)]
Suspend Low Temp = -5.0
Suspend High Temp = 45.0
[Charge Termination(Configuration)]
Taper Current = 100
Min Taper Capacity = 25
Cell Taper Voltage = 100
Current Taper Window = 40
TCA Set % = 99
TCA Clear % = 95
FC Set % = 100
FC Clear % = 98
DODatEOC Delta T = 10.0
[Data(Configuration)]
Rem Cap Alarm = 100
Initial Standby = -10
Initial MaxLoad = -500
Manuf Date = 01-janv-1980
Ser. Num. = 0001
Cycle Count = 2
CC Threshold = 6210
Design Capacity = 6900
Design Energy = 25530
SOH Load I = -400
TDD SOH Percent = 90
Cell Charge Voltage T1-T2 = 4200
Cell Charge Voltage T2-T3 = 4200
Cell Charge Voltage T3-T4 = 4100
Charge Current T1-T2 = 10
Charge Current T2-T3 = 50
Charge Current T3-T4 = 30
JEITA T1 = 0
JEITA T2 = 10
JEITA T3 = 45
JEITA T4 = 55
ISD Current = 10
ISD I Filter = 127
Min ISD Time = 7
Design Energy Scale = 1
Device Name = bq34z100
Manufacturer Name = Texas Inst.
Device Chemistry = LION
[Discharge(Configuration)]
SOC1 Set Threshold = 150
SOC1 Clear Threshold = 175
SOCF Set Threshold = 75
SOCF Clear Threshold = 100
Cell BL Set Volt Threshold = 3000
Cell BL Set Volt Time = 2
Cell BL Clear Volt Threshold = 3100
Cell BH Set Volt Threshold = 4230
Cell BH Volt Time = 2
Cell BH Clear Volt Threshold = 4100
[Manufacturer Data(Configuration)]
Pack Lot Code = 0000
PCB Lot Code = 0000
Firmware Version = 0000
Hardware Revision = 0000
Cell Revision = 0000
DF Config Version = 0000
[Integrity Data(Configuration)]
Static Chem DF Checksum = 7D9F
[Lifetime Data(Configuration)]
Lifetime Max Temp = 30.0
Lifetime Min Temp = 20.0
Lifetime Max Chg Current = 3619
Lifetime Max Dsg Current = -512
Lifetime Max Pack Voltage = 12276
Lifetime Min Pack Voltage = 3500
[Lifetime Temp Samples(Configuration)]
LT Flash Cnt = 5
[Registers(Configuration)]
Pack Configuration = 0961
Pack Configuration B = FF
Pack Configuration C = 30
LED_Comm Configuration = 00
Alert Configuration = 0000
Number of series cell = 3
[Lifetime Resolution(Configuration)]
LT Temp Res = 1.0
LT Cur Res = 100
LT V Res = 25
LT Update Time = 60
[LED Display(Configuration)]
LED Hold Time = 4
[Power(Configuration)]
Flash Update OK Cell Volt = 3429
Sleep Current = 10
FS Wait = 0

[Manufacturer Info(System Data)]
Block A 0 = 00
Block A 1 = 00
Block A 2 = 00
Block A 3 = 00
Block A 4 = 00
Block A 5 = 00
Block A 6 = 00
Block A 7 = 00
Block A 8 = 00
Block A 9 = 00
Block A 10 = 00
Block A 11 = 00
Block A 12 = 00
Block A 13 = 00
Block A 14 = 00
Block A 15 = 00
Block A 16 = 00
Block A 17 = 00
Block A 18 = 00
Block A 19 = 00
Block A 20 = 00
Block A 21 = 00
Block A 22 = 00
Block A 23 = 00
Block A 24 = 00
Block A 25 = 00
Block A 26 = 00
Block A 27 = 00
Block A 28 = 00
Block A 29 = 00
Block A 30 = 00
Block A 31 = 00

[IT Cfg(Gas Gauging)]
Load Select = 1
Load Mode = 1
Max Res Factor = 15
Min Res Factor = 3
Ra Filter = 500
Fast Qmax Start DOD % = 92
Fast Qmax End DOD % = 96
Fast Qmax Start Volt Delta = 200
Cell Terminate Voltage = 2750
Cell Term V Delta = 50
ResRelax Time = 200
User Rate-mA = 0
User Rate-Pwr = 0
Reserve Cap-mAh = 0
Reserve Energy = 0
Max Scale Back Grid = 4
Cell Max DeltaV = 200
Cell Min DeltaV = 0
Max Sim Rate = 2
Min Sim Rate = 20
Ra Max Delta = 44
Qmax Max Delta % = 5
Cell DeltaV Max Delta = 10
Fast Scale Start SOC = 10
Charge Hys V Shift = 40
[Current Thresholds(Gas Gauging)]
Dsg Current Threshold = 60
Chg Current Threshold = 75
Quit Current = 40
Dsg Relax Time = 60
Chg Relax Time = 60
Quit Relax Time = 1
Cell Max IR Correct = 400
[State(Gas Gauging)]
Qmax Cell 0 = 6900
Cycle Count = 0
Update Status = 04
Cell V at Chg Term = 1920
Avg I Last Run = -299
Avg P Last Run = -1131
Cell Delta Voltage = 2
T Rise = 20
T Time Constant = 1000

[OCVa Table(OCV Table)]
Chem ID = 0107

[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_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

[Data(Calibration)]
CC Gain = 10.802
CC Delta = 10.781
CC Offset = -0.68
Board Offset = -2.52
Int Temp Offset = 0.0
Ext Temp Offset = 0.0
Voltage Divider = 14421
[Current(Calibration)]
Deadband = 5

[Codes(Security)]
Sealed to Unsealed = 36720414
Unsealed to Full = FFFFFFFF
Authen Key3 = 01234567
Authen Key2 = 89ABCDEF
Authen Key1 = FEDCBA98
Authen Key0 = 76543210

In the .gg files, i thing the "Cell V at Chg Term " shall be 4200 

Best regard

Baptiste

  • All of the parameters in the bq34z100 are cell based. Your gg file shows that the Cell V at Chg Term = 1920, so this would indicates that the pack may not have been fully charged. I would set the FC Set parameter to -1, so that the FC flag does not set until the charge termination criteria have been met. Your Flash Update OK Cell Volt = 3429, so the flash memory will not update when the cell voltage is lower than this. You have a 3S configuration, so I would set this parameter to 2000mV.

    C/5 and C/20 indicate the current that you should use. e.g. Your Design Capacity = 6900mAh, so a C/5 current = 6900/5 = 1380mA.

    If you have log data, then please send it and I will check to see if I can find any other areas of concern.

  • Thanks for your answer.

    So, design Capacity  at 6900mAh(6*1150mAh) and design Energy at 25530mWh (6900mAh*11.1V/3) are good? The battery is 3S6P.

    And The data "Lifetime Max Pack  Voltage" at 12276 is wrong?

    The battery is charged with a controller(LTC4012) and the final battery voltage is about 12.5V. I don't understand the value Cell V at Chg Term at 1920. I think, i should get 4167. Can i update the value manually?

    I'm sorry, I don't undestand the FC action.

    I m going to try Your Flash Update OK Cell Volt at 2000mV

    To discharge the battery at C/5 or C/20, i apply load with 1380mA or 345mA.  Every time, have I to do a full discharge of the battery?

    I have not got log data. 

  • You Design Capacity and Design Energy calculations are correct.

    The Lifetime Max Pack Voltage may be correct.

    You cannot update the Cell V at Chg Term manually. It should get set at charge termination, so something must have gone wrong for it to get set to 1920mV.

    If you set the FC Set parameter to -1, then the FC flag does not get set until the device has detected charge termination. You can use this to know that the pack is fully charged.

    You should fully discharge the pack during the optimization cycle, but it is not required during normal operating cycles.

  • Hello Thomas,

    I have done one discharge/charge cycle and I can get the SOC, Remaining Cap and FCC but  the FC flag has not appeared.

    The battery loaded, I get a SOC of 85% and the remaining is not equal to FCC ( 5897mAh and 6831mAh)

    The battery charger controller has been designed to set 12.3V ( instead of 12.6V : 3*4200mV) and the final current was around 342mA. To get a full charge of 100% and set the FC flag, have I to change many parameter ( Taper current, ...)

    6354.logging_140701.xlsx

    Thanks

  • Baptiste,

    The VOK was not set during the charge, so a Qmax update may not occur during the rest period. It should have set at the beginning of charge,if a qualified rest period had occurred. Was the OCVTAKEN flag set before you started charging? Your Taper Current parameter is set to 100mA and the charging current stopped at 340mA, so the charge termination criteria was not met. This is required for the device to force RM = FCC.

    Tom

  • Tom,

    I have set the taper current at 450mA, because the final load current is around 340mA. When i charge the battery , the SOC grows too quickly. I get 90% after 5minutes of charge...

    So, i have set the taper current at 350mA. I'm charging the battery and it feel better. I waiting the end of the charge to check . I sent the command IT enable 0021 and i have got QEN and VOK set

    which value of taper current is appropriate? With a value at 350mA, i fear  that this value is not always reached.

    Before start charging, i didn't see OCVTAKEN

    Baptiste

  • We typically recommend setting the Taper Current to C/100. Some people set the threshold to C/20 to C/50. The lower the value will allow the pack to charge fuller.

  • Tom,

    I ve change the Taper current at 350mA and the final load current is lower than it but the FC flag didn't appear.

    In the data sheet, i can see: "The bq34z100 detects charge termination when (1) during two consecutive periods of Current Taper Window, the AverageCurrent() is < Taper Current and (2) during the same periods, the accumulated change in capacity > 0.25 mAh /Taper Current Window and (3) Voltage() > Charging Voltage - Charging Taper Voltage."

    I think the first and second points are ok for me, but i m not sure about the third. How is calculated the Charge voltage? because I ve got a charge voltage at 12600mV and Cell Taper Voltage at 100mV and my battery voltage is around 12300mV at full charge.

    I tried with taper current at 400mA and Cell Taper Voltage at 400mV and i have got the FC flag ;o)

    The SOC has changed to 99%.The RM was not set to the FCC but the reverse and the Flag CHG has disappeared.

    [Header]
    bq EVSW Version = 0.9.90	
    DeviceName = bq34z100 v0.06
    Time = 02/07/2014 18:44:38	
    
    
    [Safety(Configuration)]
    OT Chg = 55.0
    OT Chg Time = 2
    OT Chg Recovery = 50.0
    OT Dsg = 60.0
    OT Dsg Time = 2
    OT Dsg Recovery = 55.0
    [Charge Inhibit Cfg(Configuration)]
    Chg Inhibit Temp Low = 0.0
    Chg Inhibit Temp High = 45.0
    Temp Hys = 5.0
    [Charge(Configuration)]
    Suspend Low Temp = 0.0
    Suspend High Temp = 45.0
    [Charge Termination(Configuration)]
    Taper Current = 400
    Min Taper Capacity = 2
    Cell Taper Voltage = 400
    Current Taper Window = 40
    TCA Set % = 99
    TCA Clear % = 95
    FC Set % = -1
    FC Clear % = 98
    DODatEOC Delta T = 10.0
    [Data(Configuration)]
    Rem Cap Alarm = 100
    Initial Standby = -10
    Initial MaxLoad = -500
    Manuf Date = 01-janv-1980
    Ser. Num. = 0001
    Cycle Count = 2
    CC Threshold = 6210
    Design Capacity = 6900
    Design Energy = 25530
    SOH Load I = -400
    TDD SOH Percent = 90
    Cell Charge Voltage T1-T2 = 4200
    Cell Charge Voltage T2-T3 = 4200
    Cell Charge Voltage T3-T4 = 4100
    Charge Current T1-T2 = 10
    Charge Current T2-T3 = 50
    Charge Current T3-T4 = 30
    JEITA T1 = 0
    JEITA T2 = 10
    JEITA T3 = 45
    JEITA T4 = 55
    ISD Current = 10
    ISD I Filter = 127
    Min ISD Time = 7
    Design Energy Scale = 1
    Device Name = bq34z100
    Manufacturer Name = Texas Inst.
    Device Chemistry = LION
    [Discharge(Configuration)]
    SOC1 Set Threshold = 150
    SOC1 Clear Threshold = 175
    SOCF Set Threshold = 75
    SOCF Clear Threshold = 100
    Cell BL Set Volt Threshold = 3000
    Cell BL Set Volt Time = 2
    Cell BL Clear Volt Threshold = 3100
    Cell BH Set Volt Threshold = 4230
    Cell BH Volt Time = 2
    Cell BH Clear Volt Threshold = 4100
    [Manufacturer Data(Configuration)]
    Pack Lot Code = 0000
    PCB Lot Code = 0000
    Firmware Version = 0000
    Hardware Revision = 0000
    Cell Revision = 0000
    DF Config Version = 0000
    [Integrity Data(Configuration)]
    Static Chem DF Checksum = 7D9F
    [Lifetime Data(Configuration)]
    Lifetime Max Temp = 30.3
    Lifetime Min Temp = 20.0
    Lifetime Max Chg Current = 4120
    Lifetime Max Dsg Current = -3937
    Lifetime Max Pack Voltage = 12333
    Lifetime Min Pack Voltage = 3500
    [Lifetime Temp Samples(Configuration)]
    LT Flash Cnt = 13
    [Registers(Configuration)]
    Pack Configuration = 0961
    Pack Configuration B = FF
    Pack Configuration C = 30
    LED_Comm Configuration = 00
    Alert Configuration = 0000
    Number of series cell = 3
    [Lifetime Resolution(Configuration)]
    LT Temp Res = 1.0
    LT Cur Res = 100
    LT V Res = 25
    LT Update Time = 60
    [LED Display(Configuration)]
    LED Hold Time = 4
    [Power(Configuration)]
    Flash Update OK Cell Volt = 2000
    Sleep Current = 10
    FS Wait = 0
    
    [Manufacturer Info(System Data)]
    Block A 0 = 00
    Block A 1 = 00
    Block A 2 = 00
    Block A 3 = 00
    Block A 4 = 00
    Block A 5 = 00
    Block A 6 = 00
    Block A 7 = 00
    Block A 8 = 00
    Block A 9 = 00
    Block A 10 = 00
    Block A 11 = 00
    Block A 12 = 00
    Block A 13 = 00
    Block A 14 = 00
    Block A 15 = 00
    Block A 16 = 00
    Block A 17 = 00
    Block A 18 = 00
    Block A 19 = 00
    Block A 20 = 00
    Block A 21 = 00
    Block A 22 = 00
    Block A 23 = 00
    Block A 24 = 00
    Block A 25 = 00
    Block A 26 = 00
    Block A 27 = 00
    Block A 28 = 00
    Block A 29 = 00
    Block A 30 = 00
    Block A 31 = 00
    
    [IT Cfg(Gas Gauging)]
    Load Select = 1
    Load Mode = 1
    Max Res Factor = 15
    Min Res Factor = 3
    Ra Filter = 500
    Fast Qmax Start DOD % = 92
    Fast Qmax End DOD % = 96
    Fast Qmax Start Volt Delta = 200
    Cell Terminate Voltage = 2750
    Cell Term V Delta = 50
    ResRelax Time = 200
    User Rate-mA = 0
    User Rate-Pwr = 0
    Reserve Cap-mAh = 0
    Reserve Energy = 0
    Max Scale Back Grid = 4
    Cell Max DeltaV = 200
    Cell Min DeltaV = 0
    Max Sim Rate = 2
    Min Sim Rate = 20
    Ra Max Delta = 44
    Qmax Max Delta % = 5
    Cell DeltaV Max Delta = 10
    Fast Scale Start SOC = 10
    Charge Hys V Shift = 40
    [Current Thresholds(Gas Gauging)]
    Dsg Current Threshold = 60
    Chg Current Threshold = 75
    Quit Current = 40
    Dsg Relax Time = 60
    Chg Relax Time = 60
    Quit Relax Time = 1
    Cell Max IR Correct = 400
    [State(Gas Gauging)]
    Qmax Cell 0 = 6899
    Cycle Count = 2
    Update Status = 05
    Cell V at Chg Term = 4200
    Avg I Last Run = -299
    Avg P Last Run = -1131
    Cell Delta Voltage = 2
    T Rise = 20
    T Time Constant = 1000
    
    [OCVa Table(OCV Table)]
    Chem ID = 0107
    
    [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_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
    
    [Data(Calibration)]
    CC Gain = -10.433
    CC Delta = 0
    CC Offset = -0.69
    Board Offset = -0.09
    Int Temp Offset = 0.0
    Ext Temp Offset = 0.0
    Voltage Divider = 14412
    [Current(Calibration)]
    Deadband = 5
    
    [Codes(Security)]
    Sealed to Unsealed = 36720414
    Unsealed to Full = FFFFFFFF
    Authen Key3 = 01234567
    Authen Key2 = 89ABCDEF
    Authen Key1 = FEDCBA98
    Authen Key0 = 76543210
    

    About the FCset%, it is at -1. Have I to do something with this parameter?

  • You can set the RMFCC bit to 1 in the Pack Cfg A Register to force RM to FCC at Charge Termination. You can leave FC Set% = -1 to set the FC bit at charge termination in normal operation.

  • Hello Tom,

    I have finished  battery calibration and now it feels good.

    Thanks for your help

    Baptiste