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.

BQ34z100EVM No display of state of charge

Other Parts Discussed in Thread: BQ34Z100EVM, BQ34Z100, GPCCHEM, BQ34Z100-G1

Hello!

I am using the BQ34z100EVM on a Li-polymer pack (2S4P) of 24Ah and have following problems:

In DataRAM

  1. “Full charge capacity” and “remaining capacity” is fixed on 954mAh ?
  2. State of charge is fixed on 100% unaffected of discharge level?
  3. All 10 LED’s is active ON at the EVM!
  4. Reads the correct values for “Voltage”, “Average current”, “Temperature”, “Current” and “passed charge”

 

It seems to measure correct, but will not display the state of charge! What do I do wrong?

 

Br, Niels

  • Please export a senc file from the device and I will check the setup.
  • Thanks Thomas! for your quick response!

    /Niels

    [Header]
    bq EVSW Version = 0.9.90
    DeviceName = bq34z100 v0.06
    Time = 30-08-2016 16:52:01


    [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 = 55.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 = 30-aug-2016
    Ser. Num. = 0001
    Cycle Count = 0
    CC Threshold = 900
    Design Capacity = 24000
    Design Energy = 28800
    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 = 4200
    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 = 6
    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 = 2800
    Cell BL Set Volt Time = 2
    Cell BL Clear Volt Threshold = 2900
    Cell BH Set Volt Threshold = 4300
    Cell BH Volt Time = 2
    Cell BH Clear Volt Threshold = 4200
    [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 = 0000
    [Lifetime Data(Configuration)]
    Lifetime Max Temp = 30.0
    Lifetime Min Temp = 20.0
    Lifetime Max Chg Current = 0
    Lifetime Max Dsg Current = 0
    Lifetime Max Pack Voltage = 3200
    Lifetime Min Pack Voltage = 3500
    [Lifetime Temp Samples(Configuration)]
    LT Flash Cnt = 0
    [Registers(Configuration)]
    Pack Configuration = 0161
    Pack Configuration B = FF
    Pack Configuration C = 30
    LED_Comm Configuration = 00
    Alert Configuration = 0000
    Number of series cell = 2
    [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 = 2800
    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 = 0
    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 = 3000
    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 = 24000
    Cycle Count = 0
    Update Status = 00
    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 = 105
    Cell0 R_a 1 = 100
    Cell0 R_a 2 = 113
    Cell0 R_a 3 = 143
    Cell0 R_a 4 = 98
    Cell0 R_a 5 = 97
    Cell0 R_a 6 = 108
    Cell0 R_a 7 = 89
    Cell0 R_a 8 = 86
    Cell0 R_a 9 = 85
    Cell0 R_a 10 = 87
    Cell0 R_a 11 = 90
    Cell0 R_a 12 = 110
    Cell0 R_a 13 = 647
    Cell0 R_a 14 = 1500
    [R_a0x(Ra Table)]
    xCell0 R_a flag = FFFF
    xCell0 R_a 0 = 105
    xCell0 R_a 1 = 100
    xCell0 R_a 2 = 113
    xCell0 R_a 3 = 143
    xCell0 R_a 4 = 98
    xCell0 R_a 5 = 97
    xCell0 R_a 6 = 108
    xCell0 R_a 7 = 89
    xCell0 R_a 8 = 86
    xCell0 R_a 9 = 85
    xCell0 R_a 10 = 87
    xCell0 R_a 11 = 90
    xCell0 R_a 12 = 110
    xCell0 R_a 13 = 647
    xCell0 R_a 14 = 1500

    [Data(Calibration)]
    CC Gain = 9.508
    CC Delta = 9.49
    CC Offset = -0.65
    Board Offset = -0.3
    Int Temp Offset = 0.0
    Ext Temp Offset = -1.3
    Voltage Divider = 8500
    [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
  • Niels
    It looks like you have not updated the chemistry data in the data flash. Do you know which ChemID should be selected for your cell? If not, you can use our online GPCCHEM tool to try to find a good match. This should help with the FCC and RM values, although they will still be off until you have run the optimization cycle. Sometimes the shift register do not get cleared out and the LED light. You can try power cycling the EVM to see if this helps. You do not currently have the device configured to display the SOC on the LEDs.

    Tom
  • Great Tom!

    its works now on the PC, but I still do not have any indication on the four LED's on the EVM!

    I have placed the four jumpers on A,B, C, and D and also the jumper on J1 are placed!

    I have set the LED_Comm Configuration flag to F3 (Data flash), as I will have the four LED active all the time.

    Any suggestions what can be the problem?

    Thanks for your fast response!

    Br, Niels

  • Niels

    If you are using the shift register and four LEDs, then you will need to ony place the jumper on the EXT jumper position and the LED Configuration register to 33. If you are trying to use the four LED mode where the LEDs are driven directly from the device, then you will not be able to use the I2C communications port. You will have to use HDQ.

    Tom

  • Tom

    Thanks a lot for your great and fast support!

    I can come further with the design now.

    Have a great day!

    Niels

  • Tom

    1. When I use the shift register and set the LED Configuration register to 33 I get five aktive LED (LED5-9) should it not be four with 25% charge level om each LED? 
    2. I find it hard to find a clear explanation of what each of the 10LED's (LED0-9) stands for and what combination I can use, can you help help me out on that?
    3. If I change from I2C to HDQ8 I can not go back to I2C again! Do that means that I have to by a new EVM if I will use the I2C again?

    Thanks for your time!

    /Niels

  • I think that the gauge sends commands to light the LED selection + 1, but only four LEDs are populated on your board. The percentages associated with the four LEDs should be correct.

    The SOC will be divided by the number of LEDs. e.g. every 10% for 10 LEDs, every 25% for 4 LEDs.

    You have the temporary option to switch to HDQ mode on the bq34z100-G1, but it is permanent on the older bq34z100. (The one that you are using.) you can update your device to the bq34z100-G1 and the firmware is available on the product website. See page 42 of the bq34z100-G1 TRM for information on switching to HDQ mode.
  • Thanks Tom!

    /Niels

  • Hi again Tom!

    I now switch to the HDQ mode on my EV-board in order to use the four LEDs for the SOC display, in a constant aktive mode!

    I have the com up and running and the SOC are shown the correct value in the EV-software, but I do not have the right LED readout?

    I have set the LED_Comm Config in the flash register to 0C (LED mode 2) as listed in the datasheet, but this set the wrong LED readout!

    What do I do wrong?

    Best regards,

    Niels

  • Niels,
    The sentence, "Bits 0, 1, 2 are a code for one of five modes. 0 = No LED, 1 = Single LED, 2 = Four LEDs, 3 = External LEDs with I2C comm, 4 = External LEDs with HDQ comm", is not referring to bits 0, 1, 2 ... in the register. Four LED mode with constant on will be command 0A. (bits 1 and 4) It would be set to 0C, when four LEDs with the external shift register and constant on.
    Tom
  • Thanks Tom,

    I can see it is working with the 0A command, but where is this described in the datasheet?

    /Niels

  • Niels
    The description is with the LED/COMM Configuration table, but the bit definitions can be confusing. External LEDs means using the shif register to drive the LEDs.
    Tom
  • Tom
    I need your support again!
    I am making the same battery pack with a new 34z100EVM and have all up an running as last time, but have the same problem with the four LED bar. The SW shows correct 100% SOC but I have only light in LED-D and LED-C!

    I have attach my config file and hope you can see if any setup problems cource this?

    [Header]
    bq EVSW Version = 0.9.90
    DeviceName = bq34z100HDQ v0.06
    Time = 21-12-2016 16:38:15


    [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 = 55.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 = 21-dec-2016
    Ser. Num. = 0001
    Cycle Count = 1
    CC Threshold = 900
    Design Capacity = 24000
    Design Energy = 28800
    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 = 4200
    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 = 6
    Device Name = bq34z100
    Manufacturer Name = Texas Inst.
    Device Chemistry = 0100
    [Discharge(Configuration)]
    SOC1 Set Threshold = 150
    SOC1 Clear Threshold = 175
    SOCF Set Threshold = 75
    SOCF Clear Threshold = 100
    Cell BL Set Volt Threshold = 2800
    Cell BL Set Volt Time = 2
    Cell BL Clear Volt Threshold = 2900
    Cell BH Set Volt Threshold = 4300
    Cell BH Volt Time = 2
    Cell BH Clear Volt Threshold = 4200
    [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 = 0
    Lifetime Max Dsg Current = 0
    Lifetime Max Pack Voltage = 3200
    Lifetime Min Pack Voltage = 3500
    [Lifetime Temp Samples(Configuration)]
    LT Flash Cnt = 0
    [Registers(Configuration)]
    Pack Configuration = 0161
    Pack Configuration B = FF
    Pack Configuration C = 30
    LED_Comm Configuration = 0A
    Alert Configuration = 0000
    Number of series cell = 2
    [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 = 2800
    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 = 0
    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 = 3000
    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 = 24000
    Cycle Count = 0
    Update Status = 00
    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 = 105
    Cell0 R_a 1 = 100
    Cell0 R_a 2 = 113
    Cell0 R_a 3 = 143
    Cell0 R_a 4 = 98
    Cell0 R_a 5 = 97
    Cell0 R_a 6 = 108
    Cell0 R_a 7 = 89
    Cell0 R_a 8 = 86
    Cell0 R_a 9 = 85
    Cell0 R_a 10 = 87
    Cell0 R_a 11 = 90
    Cell0 R_a 12 = 110
    Cell0 R_a 13 = 647
    Cell0 R_a 14 = 1500
    [R_a0x(Ra Table)]
    xCell0 R_a flag = FFFF
    xCell0 R_a 0 = 105
    xCell0 R_a 1 = 100
    xCell0 R_a 2 = 113
    xCell0 R_a 3 = 143
    xCell0 R_a 4 = 98
    xCell0 R_a 5 = 97
    xCell0 R_a 6 = 108
    xCell0 R_a 7 = 89
    xCell0 R_a 8 = 86
    xCell0 R_a 9 = 85
    xCell0 R_a 10 = 87
    xCell0 R_a 11 = 90
    xCell0 R_a 12 = 110
    xCell0 R_a 13 = 647
    xCell0 R_a 14 = 1500

    [Data(Calibration)]
    CC Gain = 9.722
    CC Delta = 9.703
    CC Offset = -0.67
    Board Offset = -0.33
    Int Temp Offset = 0.0
    Ext Temp Offset = 0.0
    Voltage Divider = 55200
    [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
  • Hi Tom,

    After reconnected the power and made a charge cylcle it works now!

    So you do not have to spend time on my question above :-)

    Have a great new year!

    /Niels