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 20% led never turns off

Other Parts Discussed in Thread: BQ34Z100, BQ2050, BQSTUDIO, BQ40Z50, BQ3050, BQ34Z100-G1

Hi,

We are using bq34z100 gas gauge IC for 4s2p liion cells. I am facing a problem that 20% LED never turns off even when SOC becomes 0% and BAT-LO gets set. I have done the optimization cycle and gas gauge has updated to 06. Previously we used bq2050 IC which turned off 20% LED when EDVF got set so we expect similar result from this IC also . Is there any setting for this ?If yes please let me know about it since I am not able to find any information from datasheet.

  • We should be able to find a configuration where all LEDs are off at 0% SOC. Please send your gg file and I can check it on Monday.
  • This is my gg file

    [Header]
    bq EVSW Version = 0.9.90
    DeviceName = bq34z100 v0.06
    Time = 05/14/2015 02:26:05 PM
    [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 = 200
    Current Taper Window = 40
    TCA Set % = -1
    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 = 12-May-2015
    Ser. Num. = 0001
    Cycle Count = 0
    CC Threshold = 4590
    Design Capacity = 5100
    Design Energy = 21420
    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 = 2800
    Cell BL Set Volt Time = 2
    Cell BL Clear Volt Threshold = 2900
    Cell BH Set Volt Threshold = 4250
    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 = 6C1B
    [Lifetime Data(Configuration)]
    Lifetime Max Temp = 31.7
    Lifetime Min Temp = 20.0
    Lifetime Max Chg Current = 2508
    Lifetime Max Dsg Current = -2520
    Lifetime Max Pack Voltage = 16824
    Lifetime Min Pack Voltage = 3500
    [Lifetime Temp Samples(Configuration)]
    LT Flash Cnt = 43
    [Registers(Configuration)]
    Pack Configuration = 0970
    Pack Configuration B = F9
    Pack Configuration C = 30
    LED_Comm Configuration = 43
    Alert Configuration = 0000
    Number of series cell = 4
    [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 = 2348
    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 = 3200
    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 = 4600
    Cycle Count = 0
    Update Status = 06
    Cell V at Chg Term = 4201
    Avg I Last Run = -615
    Avg P Last Run = -2339
    Cell Delta Voltage = 4
    T Rise = 20
    T Time Constant = 1000
    [OCVa Table(OCV Table)]
    Chem ID = 0109
    [R_a0(Ra Table)]
    Cell0 R_a flag = 0055
    Cell0 R_a 0 = 66
    Cell0 R_a 1 = 71
    Cell0 R_a 2 = 72
    Cell0 R_a 3 = 109
    Cell0 R_a 4 = 91
    Cell0 R_a 5 = 81
    Cell0 R_a 6 = 109
    Cell0 R_a 7 = 144
    Cell0 R_a 8 = 162
    Cell0 R_a 9 = 155
    Cell0 R_a 10 = 172
    Cell0 R_a 11 = 282
    Cell0 R_a 12 = 944
    Cell0 R_a 13 = 2981
    Cell0 R_a 14 = 9698
    [R_a0x(Ra Table)]
    xCell0 R_a flag = FFFF
    xCell0 R_a 0 = 86
    xCell0 R_a 1 = 92
    xCell0 R_a 2 = 102
    xCell0 R_a 3 = 127
    xCell0 R_a 4 = 88
    xCell0 R_a 5 = 79
    xCell0 R_a 6 = 100
    xCell0 R_a 7 = 102
    xCell0 R_a 8 = 104
    xCell0 R_a 9 = 103
    xCell0 R_a 10 = 101
    xCell0 R_a 11 = 116
    xCell0 R_a 12 = 147
    xCell0 R_a 13 = 460
    xCell0 R_a 14 = 1500
    [Data(Calibration)]
    CC Gain = 12.988
    CC Delta = 12.963
    CC Offset = -0.72
    Board Offset = -1.92
    Int Temp Offset = 0.0
    Ext Temp Offset = 0.0
    Voltage Divider = 21307
    [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
  • I also see that when bqstudio shows SOC under 20% the 20% led is on and when SOC becomes 20% then both 20% & 40% led light up.Similar with all other ranges also.I know bq2050 used to show 20% when voltage level was above EDV1 and 20% would blink when EDV1 reaches and 20% turns off when EDVF reached. Can something similar be done with bq34z100 ,since I am trying to replace bq2050 with bq34z100.
  • Hi Tom,

    Did you find any setting to turn off 20% led when 0% SOC is reached?
  • It looks like the lower LED is always lit. You can connect your LEDs to the second though sixth outputs on the shift register and use the reporting sequence that you want. The LED Configuration register is still set to 43.

  • Thanks Tom,

    I will try this and see if it works.

    But if you could have implemented the blinky led near End of discharge it would have been great,it gives a good indication that battery is going to finish.It would be great if you would consider this function to be implemented in future software updates.
    It really is very helpful when we use the LED's only to check the SOC.
  • Hi Tom,

    I tried as you said but there is still problems.

    Now 20% led is off till SOC is below 20% and lit up when SOC becomes 20% , when battery is discharged 20% led turns off when SOC becomes 19% and similar with all other ranges i.e 100% led will be lit only when SOC is 100% and 100% led will turn off immediately when SOC becomes 99% this is problematic . 100% led should be on till SOC is between 80% to 100% range which happens with the original circuit.

    What I want is 20% led should turn off when SOC becomes 0% or some level that could be set and not when SOC becomes less than 20%.

    Can you workout a way in which 20% led will turn off when 0% SOC is reached or at some settable level?

    Hope you reply fast.
  • Those are the options for the LED state of charge display on this device. Our other devices offer more flexibility in setting the thresholds and display, but this one is less flexible.
  • Can you suggest the other devices?
  • You are using a 4S configuration, so most of our Impedance Track and CEDV gauges should support your cells. You could use the bq40z50 as an IT option or the bq3050 as a CEDV option.
  • We dont want a complete BMS solution we only want SOC indicator . Are there any such IC's with Impedance track and only SOC indication.
  • bq34z100 is not a complete BMS solution, just a gauge. Sorry that the LED isn't performing as you expect. Are you sure that you have the number of LED's set correctly. It can be confusing because you set the number of LEDs as N-1.
  • Yes I am sure I have set the no of LED's correctly its 43 as given in datasheet for 5 LED with I2C communication. Is there any chance that this problem will be rectified in future software updates so I can continue with current chip and update the chip later to solve this problem and is there any chance of new Gas Gauge IC be to be launched within this year?
  • I can enter it in the customer request database. Sounds like what you want is a sixth state of "all off" when the RSOC hits some low value. Right now I think its defined to be one led for 0~20%, two leds for 21% ~ 40%, three leds for 41% ~ 60%, four leds for 61% ~ 80% ~ and five leds for 81% ~ 100%. I'm guessing that this is what most people would prefer. How would you define your preference?

  • Yes I want a state where all led's will be off which could be set on some low SOC like below 5% or at some remaining capacity value. Something similar to bq2050 in which on reaching EDV1 value 20% led used to blink which really gives a good indication of end of battery and on reaching EDVF value all led's turned off.
  • Also are there any new Gas Gauge IC with Impedance Track to be released this year?
  • We will release new devices this year and some will use IT gauging, but they will be more similar to the bq40z50 than the bq34z100-G1. Does the bq2050 still work okay for your application?
  • Yes it does but we wanted to remove the learning cycle that each pack has to go through so we switched to bq34z100 but unfortunately its not working for us.