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 - bqEval Software - remaining capacity/full charge capacity error

Other Parts Discussed in Thread: BQ34Z100EVM, BQEVSW, BQ24630

Hi,

I just bought the BQ34Z100EVM to monitor my 3.2V 10Ah LiFePO4 battery. I set the chem to ID 0415 (It is not the same manufacturer as the battery I have but same Ah), the Qmax Cell to 10000mAh. 

I am having issues with this board.

1) If the battery goes below 2.8V the flags SOC1, SOCF become red and remaining capacity becomes 0 and full charge capacity becomes some kind of arbitrary number. With these flags on and the battery is being charged the SOC1 and SOCF flags stay on and remaining cap and full charge stay the same. They won't read properly anymore until I unplug the battery, do a 0041 (reset) then plug it back in. Afterwards the numbers are correct.

2) I have a load between 160mA to 700mA on the battery, the average current is correct remaining cap and full charge cap are correct at the beginning. After some time, something happens and I have 2 different scenarios.

1) Full charge is correct, remaining cap is a very low number and incorrect. Looking at the log there was some error then remaining cap value became incorrect

2) Full charge becomes some arbitrary number and remaining cap becomes 0

3) if I do a 0041 (reset) function while the fuel gauge is monitoring the battery, I get incorrect remaining cap and full charge cap values.

4) Passed Charge seems to be resetting itself as well. What is this value supposed to represent?

Attached is the excel file, please look at row 3415. 

2185.run_down_V2.xls

I also attached two pictures of the program reporting correct values for remaining cap and full charge and another picture when it goes bad.

Below is the configuration section and the gas gauge section.

Thanks,

Cris

  • Cris

    Can you export a gg file from your pack so I can check the parameters?
    Thanks

    Tom

  • How do I export a gg file?

    Thanks,

    Cris

  • Cris

    You can go to the Data Flash screen, press the Read All button, go to the File pull-down menu and export the gg file.

    Regards
    Tom

  • Thanks Tom, attached is the gg file. You will have to rename the extension to "gg". 

    [Header]
    bq EVSW Version = 0.9.90	
    DeviceName = bq34z100 v0.06
    Time = 7/31/2013 8:13:43 AM	
    
    
    [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 = 550
    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-Jan-1980
    Ser. Num. = 0001
    Cycle Count = 0
    CC Threshold = 9000
    Design Capacity = 10000
    Design Energy = 5400
    SOH Load I = -400
    TDD SOH Percent = 90
    Cell Charge Voltage T1-T2 = 3600
    Cell Charge Voltage T2-T3 = 3600
    Cell Charge Voltage T3-T4 = 3600
    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 = 1000
    Cell BL Set Volt Time = 2
    Cell BL Clear Volt Threshold = 1100
    Cell BH Set Volt Threshold = 4000
    Cell BH Volt Time = 2
    Cell BH Clear Volt Threshold = 3900
    [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 = 6760
    [Lifetime Data(Configuration)]
    Lifetime Max Temp = 30.0
    Lifetime Min Temp = 20.0
    Lifetime Max Chg Current = 0
    Lifetime Max Dsg Current = -714
    Lifetime Max Pack Voltage = 3672
    Lifetime Min Pack Voltage = 2551
    [Lifetime Temp Samples(Configuration)]
    LT Flash Cnt = 10
    [Registers(Configuration)]
    Pack Configuration = 0161
    Pack Configuration B = FF
    Pack Configuration C = 30
    LED_Comm Configuration = 00
    Alert Configuration = 0000
    Number of series cell = 1
    [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 = 2800
    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 = 10000
    Cycle Count = 0
    Update Status = 04
    Cell V at Chg Term = 3500
    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 = 0415
    
    [R_a0(Ra Table)]
    Cell0 R_a flag = FF55
    Cell0 R_a 0 = 17
    Cell0 R_a 1 = 20
    Cell0 R_a 2 = 27
    Cell0 R_a 3 = 22
    Cell0 R_a 4 = 21
    Cell0 R_a 5 = 24
    Cell0 R_a 6 = 24
    Cell0 R_a 7 = 35
    Cell0 R_a 8 = 45
    Cell0 R_a 9 = 46
    Cell0 R_a 10 = 50
    Cell0 R_a 11 = 54
    Cell0 R_a 12 = 61
    Cell0 R_a 13 = 123
    Cell0 R_a 14 = 3382
    [R_a0x(Ra Table)]
    xCell0 R_a flag = FFFF
    xCell0 R_a 0 = 17
    xCell0 R_a 1 = 20
    xCell0 R_a 2 = 27
    xCell0 R_a 3 = 22
    xCell0 R_a 4 = 21
    xCell0 R_a 5 = 24
    xCell0 R_a 6 = 24
    xCell0 R_a 7 = 35
    xCell0 R_a 8 = 45
    xCell0 R_a 9 = 46
    xCell0 R_a 10 = 50
    xCell0 R_a 11 = 54
    xCell0 R_a 12 = 61
    xCell0 R_a 13 = 123
    xCell0 R_a 14 = 3382
    
    [Data(Calibration)]
    CC Gain = 10.124
    CC Delta = 10.147
    CC Offset = -0.71
    Board Offset = 0
    Int Temp Offset = 0.0
    Ext Temp Offset = 0.0
    Voltage Divider = 5000
    [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
    

    Regards,

    Cris

  • Cris,

    I have reviewed your log file and gg file and have a few questions.

    • Is the current calibrated to 1X? If so, there is a lot of drop in this cell for a discharge current that is less than 500mA . What discharge current do you plan to use in normal operation? Why is the current varying during the optimization cycle?
    • Was the cell fully charged before starting the discharge? The FC bit is not set in the Flags register.
    • I would set the Flash Update OK voltage to 2V for your setup.
    • I would disable FConvEn in the Operation Configuration B register during the optimization cycle. 
    • What happened at line 3415 in you log file? It looks like the device may have been reset.
    • What is the part number for your cell and how did you select ChemID 415 for the setup?

    Regards
    Tom

  • Hi Tom,

    1) I believe the current is calibrated to 1X yes. The current is varying because I connected one of our devices to it which varies in current draw from 140mA to 700mA depending on the state of the software.

    2) The cell was fully charged before I started this test. The log file doesn't reflect that because I had to start and stop the log file since it did not save the previous file due to folder permission restrictions on Windows.

    3) I'll change the Flash Update voltage to 2V.

    4) I don't know what happened at line 3415, this seems to happen at random times. It happened twice yesterday, after which I get strange numbers in the remaining cap and full charge cap values. I was hoping you would be able to suggest something. Is it normal that if the device resets during discharge, the remaining cap and full charge cap value don't make any sense?

    5) The part number is lfp-8790160-5c it is a 3.2V LiFePO4 10Ah battery from AA Portable Power Corp, below is the datasheet. ChemID 415 is LiFePO4 and the same Ah rating.

    http://www.batteryspace.com/prod-specs/5309.pdf

    Regards,

    Cris

  • Cris

    Part of the problem may be that the cell is not fully charged. This cell is supposed to be charged to 3.8V and the recommended charging current is 2A. I would charge it at 2A and reduce the Taper Current to 200mA. I would also verify that the ChemID matches the cell. You can run a charge/discharge profile and I can check it with a Mathcad program.

    Here is the process to collect the data for my analysis.
     
    • You will need to monitor the cell voltage, cell temperature, current and set the time to log every 1 second.
    • Charge the pack to full and allow it to taper to a C/100 taper current.
    • Let it rest for at least 4 hours, then discharge it at a C/10 rate to discharge complete.
    • Let it rest for about 4 hours.
    • Send the log file to me and I will run it on the Mathcad tool to search for a ChemID match.

    Regards

    Tom

  • Tom,

    Can I use the Fuel Gauge for the cell voltage, cell temperature and current?

    I'll charge the pack and allow it to taper to 100mA.

    Thanks,

    Cris

  • Cris,

    Yes, you can monitor the cell voltage, temperature and current using the bqEVSW logging feature. Please attach a thermistor to the cell.

    Tom

  • Tom,

    The battery is at 88% of the charge, do you want me to discharge it first at C/10 then start your step by step process with charging/discharging?

    I have a charger that I bought with the battery that is supposed to go up to 3A charging but according to the fuel cell it is only charging at 467mA. I also have a BQ24630 EVM but am having issues with that as well to get the constant current charge and voltage charge.

    I have posted something 6 days ago but no one got back to me on how to fix that issue. I am experiencing the same problem on the EVM and my own design.

    http://e2e.ti.com/support/power_management/battery_management/f/179/t/280412.aspx

    I am getting another charger EVM from Linear today but I was hoping to get the TI charger working, not sure if you can help or know someone that can.

    I don't have anyway to produce the proper data you need at the moment.

    Cris

  • Cris,

    You do not have to discharge the cell. You can charge it to full, let it rest for 4 hours. Then issue a reset (41) command and an IT Enable (21) command before you start the discharge.

    Tom

  • Tom,

    As soon as I get something that will charge the battery, I will post the log file.

    Do you want me to turn on/off any other register settings?

    Thanks,

    Cris

  • I think that the other settings should be okay.

  • Hi Tom,

    To what level do you want me to discharge the battery to?

    Regards,

    Cris

  • CF,

    You need to discharge to the Cell Term Voltage.

    Tom

  • CF/Tom,


    I'm using this cell also.

    Was a ChemID ever determined for it?

    Thanks,

    Tom

  • I deal with a lot of ChemID cases, so I am not sure whether Cris sent a cell in for characterization. I can check the database, if you have a part number. You can also collect discharge data and we can check with Mathcad.

  • Thanks. It's an AA Portable 8790160-5C, LiFePO4, 10Ah.

  • It does not look like that cell was submitted for characterization. If you are interested in submitting cells for characterization, then please provide an email address and I will contact you.