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-G1: Bq34z100 evm - How to configure for lead acid batteries?

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

I am using bq34z100EVM for monitoring 12 V Lead Acid battery from Leoch (LP12-9.0 (12V8.6AH)). The evm seem to be pre-programmed for monitoring 1 cell Li-ion batteries. When I connect a lead acid battery to the evm I get measurements as shown in the below screenshot.  It shows battery voltage as  585mV and 0% charge even when the batteries are fully charged.  I understand from the datasheet SLUSBZ5B that we need to make some changes to the data flash configuration data  for the gauge to start measuring correctly.  However, I am unsure as to the changes that needs to be made to adapt the baord for Lead acid battery measurements.

1) I have configured the evm hardware with J5 set to measure >5 and J2 configured for 16V. I am using EV2300 to interface it with the PC. And I am using BqStudio V 1.3.86

2) What are the parameters that need to be changed using BqStudio so that I could re-cofigure the evm to work with Lead Acid batteries?

3) I am unclear about certain parameters like no of cells. For lead acid is it by default more than 1? 

3) Can TI provide me with a standard gg.csv file specific for Lead acid batteries to start off with. I know I may have to do some calibration id to get the closest Chem-id for better accuracy.

4) I have also attached the current data configuration file gg.csv file exported from the evm.

   

  • Hi Sreejaya,

    Please step through all of Section 8 of the datasheet including section 8.2.2.1 Step-by-Step Design Procedure of the datasheet for application configuration advice.

    1) Good. This is Step 3. Please ensure you have followed Steps 1 and 2 prior to this step. The only modification I would make here is to wait to set the number of series cells until hafter you have updated the value of Voltage Divider in Step 3.

    2) Please step through all of Section 8. Table 27 includes Additional Chemistry-Related Configuration parameters

    3) The chem-id selection process is in step 6 of this procedure. Unfortunately, there isn't currently a standard gg.csv file for Lead Acid batteries attached to this device. Thank you for the feedback, having a standard lead acid gg.csv is a wonderful idea and would be great to include as part of the device collateral.

    4) I don't see the attachment.

    Please let me know if you run into any issues stepping through section 8.2.2.1 of the datasheet.

    Sincerely,
    Bryan Kahler
  • Hi Bryan,

      Thank you for your reply. Based on your suggestions I set the following parameters :

    Design capacity                        : 8600mAh

    Design Energy                            : 15480mWh ( As it is a lead acid battery I assume they have 6 series cell and based

                                                               on their datasheet per cell voltage is 1.8V . So  (8600*1.8)mWh

    Cell Charge Voltage

    T1-T2, T2-T3, T3-T4                 : 1800mV  (I am unsure how to get these value so i have put per cell voltage values here)

    No of cells                                   : 6 ( I assume its default in lead acid batteries)

    voltage divider                         :18879mV (this was auto set  by the gauge during calibration)

    Flash update OK                      :  2800mV (this is just a low threshold i have set. As per the formula it is 4450mV)

    cc gain                                         : 10.123 and 10.127 ( i left the default values as they are as I am using the EVM module right now)

    load select                                 : set to default

    cell terminate voltage           : 2750 v (default val)

    quit current                               :  40mA ( default)

    qmax                                           : 8600mAh

    chem id                                      : 0804

    Taper current                         : 100mA

    min Taper capacity, cell taper voltage , current taper window , Pb temp comp, pb reduction rate are set to defualts as I do not know how to compute them.

    voltage calibration done. I have not performed optimization cycle or chem id selection  process using mathcard program.

    Currently gauge reads the battery voltage and temp accurately but SOC is always 0% even at full charge. Please let me know if I have chosen the right value and what are the steps missing to get accurate SOC.

    Note: my battery is not connected to any load at the moment. I have uploaded my gg file and here is the link to the specific lead acid battery that we are using :   

    leoch-lead-acid.txt
    * Texas Instruments Data Flash File
    * File created Thu Jul 19 16:14:18 2018
    *
    * Device Number 100
    * Firmware Version 0.16
    * Build Number not available
    * Order Number not available
    *
    * bqz Device Number 100
    * bqz Firmware Version 0.16
    * bqz Build Number 17
    *
    * Field Order: Class name, Subclass name, Parameter name, Parameter Value, Display Units
    "Configuration","Safety","OT Chg","55.0","1degC"
    "Configuration","Safety","OT Chg Time","2","Seconds"
    "Configuration","Safety","OT Chg Recovery","50.0","1degC"
    "Configuration","Safety","OT Dsg","60.0","1degC"
    "Configuration","Safety","OT Dsg Time","2","Seconds"
    "Configuration","Safety","OT Dsg Recovery","55.0","1degC"
    "Configuration","Charge Inhibit Cfg","Chg Inhibit Temp Low","0","1degC"
    "Configuration","Charge Inhibit Cfg","Chg Inhibit Temp High","45.0","1degC"
    "Configuration","Charge Inhibit Cfg","Temp Hys","5.0","1degC"
    "Configuration","Charge","Suspend Low Temp","-5.0","1degC"
    "Configuration","Charge","Suspend High Temp","55.0","1degC"
    "Configuration","Charge","Pb EFF Efficiency","100","%"
    "Configuration","Charge","Pb Temp Comp","24.960","%"
    "Configuration","Charge","Pb Drop Off Percent","96","%"
    "Configuration","Charge","Pb Reduction Rate","10.000","%"
    "Configuration","Charge Termination","Taper Current","100","mAmp"
    "Configuration","Charge Termination","Min Taper Capacity","25","mAmpHr"
    "Configuration","Charge Termination","Cell Taper Voltage","100","mVolt"
    "Configuration","Charge Termination","Current Taper Window","40","Seconds"
    "Configuration","Charge Termination","TCA Set %","99","Percent"
    "Configuration","Charge Termination","TCA Clear %","95","Percent"
    "Configuration","Charge Termination","FC Set %","100","Percent"
    "Configuration","Charge Termination","FC Clear %","98","Percent"
    "Configuration","Charge Termination","DODatEOC Delta T","10.0","1degC"
    "Configuration","Charge Termination","NiMH Delta Temp","3.0","1degC"
    "Configuration","Charge Termination","NiMH Delta Temp Time","180","Seconds"
    "Configuration","Charge Termination","NiMH Hold Off  Time","100","Seconds"
    "Configuration","Charge Termination","NiMH Hold Off Current","240","mAmp"
    "Configuration","Charge Termination","NiMH Hold Off  Temp","25.0","1degC"
    "Configuration","Charge Termination","NiMH Cell Negative Delta Volt","17","mVolt"
    "Configuration","Charge Termination","NiMH Cell Negative Delta Time","16","Seconds"
    "Configuration","Charge Termination","NiMH Cell Neg Delta Qual Volt","4200","mVolt"
    "Configuration","Data","Manufacture Date","1980-1-1","Day + Mo*32 + (Yr -1980)*256"
    "Configuration","Data","Serial Number","0001","hex"
    "Configuration","Data","Cycle Count","0","Count"
    "Configuration","Data","CC Threshold","900","mAmpHr"
    "Configuration","Data","Max Error Limit","100","%"
    "Configuration","Data","Design Capacity","8600","MilliAmpHour"
    "Configuration","Data","Design Energy","15480","MilliWattHour"
    "Configuration","Data","SOH Load I","-400","MilliAmp"
    "Configuration","Data","Cell Charge Voltage T1-T2","1800","mV"
    "Configuration","Data","Cell Charge Voltage T2-T3","1800","mV"
    "Configuration","Data","Cell Charge Voltage T3-T4","1800","mV"
    "Configuration","Data","Charge Current T1-T2","10","Percent"
    "Configuration","Data","Charge Current  T2-T3","50","Percent"
    "Configuration","Data","Charge Current  T3-T4","30","Percent"
    "Configuration","Data","JEITA T1","0","degC"
    "Configuration","Data","JEITA T2","10","degC"
    "Configuration","Data","JEITA T3","45","degC"
    "Configuration","Data","JEITA T4","55","degC"
    "Configuration","Data","Design Energy Scale","1","Number"
    "Configuration","Data","Device Name","bq34z100-G1","-"
    "Configuration","Data","Manufacturer Name","Texas Inst.","-"
    "Configuration","Data","Device Chemistry","LION","-"
    "Configuration","Discharge","SOC1 Set Threshold","150","mAh"
    "Configuration","Discharge","SOC1 Clear Threshold","175","mAh"
    "Configuration","Discharge","SOCF Set Threshold","75","mAh"
    "Configuration","Discharge","SOCF Clear Threshold","100","mAh"
    "Configuration","Discharge","Cell BL Set Volt Threshold","2800","mVolt"
    "Configuration","Discharge","Cell BL Set Volt Time","2","Seconds"
    "Configuration","Discharge","Cell BL Clear Volt Threshold","2900","mVolt"
    "Configuration","Discharge","Cell BH Set Volt Threshold","4300","mVolt"
    "Configuration","Discharge","Cell BH Volt Time","2","Seconds"
    "Configuration","Discharge","Cell BH  Clear Volt Threshold","4200","mVolt"
    "Configuration","Discharge","Cycle Delta","0.05","%"
    "Configuration","Manufacturer Data","Pack Lot Code","0000","hex"
    "Configuration","Manufacturer Data","PCB Lot Code","0000","hex"
    "Configuration","Manufacturer Data","Firmware Version","0000","hex"
    "Configuration","Manufacturer Data","Hardware Revision","0000","hex"
    "Configuration","Manufacturer Data","Cell Revision","0000","hex"
    "Configuration","Manufacturer Data","DF Config Version","0000","hex"
    "Configuration","Lifetime Data","Lifetime Max Temp","30.0","1degC"
    "Configuration","Lifetime Data","Lifetime Min Temp","20.0","1degC"
    "Configuration","Lifetime Data","Lifetime Max Chg Current","0","mAmp"
    "Configuration","Lifetime Data","Lifetime Max Dsg Current","0","mA"
    "Configuration","Lifetime Data","Lifetime Max Pack Voltage","160","20mV"
    "Configuration","Lifetime Data","Lifetime Min Pack Voltage","175","20mV"
    "Configuration","Lifetime Temp Samples","LT Flash Cnt","0","Count"
    "Configuration","Registers","Pack Configuration","09d9","flags"
    "Configuration","Registers","Pack Configuration B","af","flags"
    "Configuration","Registers","Pack Configuration C","37","flags"
    "Configuration","Registers","LED_Comm Configuration","00","flags"
    "Configuration","Registers","Alert Configuration","0000","flags"
    "Configuration","Registers","Number of series cell","6","num"
    "Configuration","Lifetime Resolution","LT Temp Res","1.0","1degC"
    "Configuration","Lifetime Resolution","LT Cur Res","100","mA"
    "Configuration","Lifetime Resolution","LT V Res","1","20mV"
    "Configuration","Lifetime Resolution","LT Update Time","60","Seconds"
    "Configuration","LED Display","LED Hold Time","4","Num"
    "Configuration","Power","Flash Update OK Cell Volt","2800","mVolt"
    "Configuration","Power","Sleep Current","10","mAmp"
    "Configuration","Power","FS Wait","0","Seconds"
    "System Data","Manufacturer Info","Block A 0","00","hex"
    "System Data","Manufacturer Info","Block A 1","00","hex"
    "System Data","Manufacturer Info","Block A 2","00","hex"
    "System Data","Manufacturer Info","Block A 3","00","hex"
    "System Data","Manufacturer Info","Block A 4","00","hex"
    "System Data","Manufacturer Info","Block A 5","00","hex"
    "System Data","Manufacturer Info","Block A 6","00","hex"
    "System Data","Manufacturer Info","Block A 7","00","hex"
    "System Data","Manufacturer Info","Block A 8","00","hex"
    "System Data","Manufacturer Info","Block A 9","00","hex"
    "System Data","Manufacturer Info","Block A 10","00","hex"
    "System Data","Manufacturer Info","Block A 11","00","hex"
    "System Data","Manufacturer Info","Block A 12","00","hex"
    "System Data","Manufacturer Info","Block A 13","00","hex"
    "System Data","Manufacturer Info","Block A 14","00","hex"
    "System Data","Manufacturer Info","Block A 15","00","hex"
    "System Data","Manufacturer Info","Block A 16","00","hex"
    "System Data","Manufacturer Info","Block A 17","00","hex"
    "System Data","Manufacturer Info","Block A 18","00","hex"
    "System Data","Manufacturer Info","Block A 19","00","hex"
    "System Data","Manufacturer Info","Block A 20","00","hex"
    "System Data","Manufacturer Info","Block A 21","00","hex"
    "System Data","Manufacturer Info","Block A 22","00","hex"
    "System Data","Manufacturer Info","Block A 23","00","hex"
    "System Data","Manufacturer Info","Block A 24","00","hex"
    "System Data","Manufacturer Info","Block A 25","00","hex"
    "System Data","Manufacturer Info","Block A 26","00","hex"
    "System Data","Manufacturer Info","Block A 27","00","hex"
    "System Data","Manufacturer Info","Block A 28","00","hex"
    "System Data","Manufacturer Info","Block A 29","00","hex"
    "System Data","Manufacturer Info","Block A 30","00","hex"
    "System Data","Manufacturer Info","Block A 31","00","hex"
    "Gas Gauging","IT Cfg","Load Select","1","Number"
    "Gas Gauging","IT Cfg","Load Mode","0","Number"
    "Gas Gauging","IT Cfg","Res Current","10","mAmp"
    "Gas Gauging","IT Cfg","Max Res Factor","50","num"
    "Gas Gauging","IT Cfg","Min Res Factor","1","num"
    "Gas Gauging","IT Cfg","Ra Filter","500","num"
    "Gas Gauging","IT Cfg","Min PassedChg NiMH-LA 1st Qmax","50","%"
    "Gas Gauging","IT Cfg","Maximum Qmax Change","100","%"
    "Gas Gauging","IT Cfg","Cell Terminate Voltage","2750","mVolt"
    "Gas Gauging","IT Cfg","Cell Term V Delta","200","mVolt"
    "Gas Gauging","IT Cfg","ResRelax Time","500","Seconds"
    "Gas Gauging","IT Cfg","User Rate-mA","0","MilliAmp"
    "Gas Gauging","IT Cfg","User Rate-Pwr","0","mW/cW"
    "Gas Gauging","IT Cfg","Reserve Cap-mAh","0","MilliAmpHour"
    "Gas Gauging","IT Cfg","Reserve Energy","0","mWh/cWh"
    "Gas Gauging","IT Cfg","Max Scale Back Grid","4","num"
    "Gas Gauging","IT Cfg","Cell Min DeltaV","0","mVolt"
    "Gas Gauging","IT Cfg","Ra Max Delta","15","%"
    "Gas Gauging","IT Cfg","Design Resistance","42","mOhms"
    "Gas Gauging","IT Cfg","Reference Grid","4","-"
    "Gas Gauging","IT Cfg","Qmax Max Delta %","10","mAmpHour"
    "Gas Gauging","IT Cfg","Max Res Scale","32000","Num"
    "Gas Gauging","IT Cfg","Min Res Scale","1","Num"
    "Gas Gauging","IT Cfg","Fast Scale Start SOC","10","%"
    "Gas Gauging","IT Cfg","Charge Hys V Shift","40","mVolt"
    "Gas Gauging","IT Cfg","Smooth Relax Time","1000","s"
    "Gas Gauging","Current Thresholds","Dsg Current Threshold","60","mAmp"
    "Gas Gauging","Current Thresholds","Chg Current Threshold","75","mAmp"
    "Gas Gauging","Current Thresholds","Quit Current","40","mAmp"
    "Gas Gauging","Current Thresholds","Dsg Relax Time","60","Seconds"
    "Gas Gauging","Current Thresholds","Chg Relax Time","60","Seconds"
    "Gas Gauging","Current Thresholds","Cell Max IR Correct","400","mV"
    "Gas Gauging","State","Qmax Cell 0","8600","mAmpHr"
    "Gas Gauging","State","Cycle Count","0","num"
    "Gas Gauging","State","Update Status","00","num"
    "Gas Gauging","State","Cell V at Chg Term","4200","mVolt"
    "Gas Gauging","State","Avg I Last Run","-299","mAmp"
    "Gas Gauging","State","Avg P Last Run","-1131","MilliWattHour"
    "Gas Gauging","State","Cell Delta Voltage","2","mVolt"
    "Gas Gauging","State","T Rise","20","Num"
    "Gas Gauging","State","T Time Constant","1000","Num"
    "Ra Tables","Ra0 Table","Ra Flag","ff55","Hex"
    "Ra Tables","Ra0 Table","Ra 0","105","Num"
    "Ra Tables","Ra0 Table","Ra 1","100","Num"
    "Ra Tables","Ra0 Table","Ra 2","113","Num"
    "Ra Tables","Ra0 Table","Ra 3","143","Num"
    "Ra Tables","Ra0 Table","Ra 4","98","Num"
    "Ra Tables","Ra0 Table","Ra 5","97","Num"
    "Ra Tables","Ra0 Table","Ra 6","108","Num"
    "Ra Tables","Ra0 Table","Ra 7","89","Num"
    "Ra Tables","Ra0 Table","Ra 8","86","Num"
    "Ra Tables","Ra0 Table","Ra 9","85","Num"
    "Ra Tables","Ra0 Table","Ra 10","87","Num"
    "Ra Tables","Ra0 Table","Ra 11","90","Num"
    "Ra Tables","Ra0 Table","Ra 12","110","Num"
    "Ra Tables","Ra0 Table","Ra 13","647","Num"
    "Ra Tables","Ra0 Table","Ra 14","1500","Num"
    "Ra Tables","Ra0x Table","Ra Flag","ffff","Hex"
    "Ra Tables","Ra0x Table","Ra 0","105","Num"
    "Ra Tables","Ra0x Table","Ra 1","100","Num"
    "Ra Tables","Ra0x Table","Ra 2","113","Num"
    "Ra Tables","Ra0x Table","Ra 3","143","Num"
    "Ra Tables","Ra0x Table","Ra 4","98","Num"
    "Ra Tables","Ra0x Table","Ra 5","97","Num"
    "Ra Tables","Ra0x Table","Ra 6","108","Num"
    "Ra Tables","Ra0x Table","Ra 7","89","Num"
    "Ra Tables","Ra0x Table","Ra 8","86","Num"
    "Ra Tables","Ra0x Table","Ra 9","85","Num"
    "Ra Tables","Ra0x Table","Ra 10","87","Num"
    "Ra Tables","Ra0x Table","Ra 11","90","Num"
    "Ra Tables","Ra0x Table","Ra 12","110","Num"
    "Ra Tables","Ra0x Table","Ra 13","647","Num"
    "Ra Tables","Ra0x Table","Ra 14","1500","Num"
    "Calibration","Data","CC Gain","10.123","mohm"
    "Calibration","Data","CC Delta","10.147","mohm"
    "Calibration","Data","CC Offset","-1484","num"
    "Calibration","Data","Board Offset","0","num"
    "Calibration","Data","Int Temp Offset","0","degC"
    "Calibration","Data","Ext Temp Offset","0","degC"
    "Calibration","Data","Voltage Divider","18879","mVolt"
    "Calibration","Current","Deadband","5","mAmp"
    "Security","Codes","Sealed to Unsealed","36720414","hex"
    "Security","Codes","Unsealed to Full","ffffffff","hex"
    "Security","Codes","Authen Key3","01234567","hex"
    "Security","Codes","Authen Key2","89abcdef","hex"
    "Security","Codes","Authen Key1","fedcba98","hex"
    "Security","Codes","Authen Key0","76543210","hex"
    

  • Hi Sreejaya,

    The chemID will need to be programmed. To determine the chemID, the mathCAD program no longer has to be used as we have a newer online tool, the GPCCHEM tool, found here: http://www.ti.com/tool/gpcchem

    For acid please modify the Flash Update OK to ~900-1200 mV.

    cc gain will update when you perform current calibration using bqStudio, but the defaults are usually close to the EVM.

    Please update the cell termination voltage to match that of your cell (single cell value). The default is for li-ion cells.

    Please follow the steps listed on the PDF of the GPCCHEM tool, but allow for longer periods for your battery to rest after full charge (5 hours instead of 2).

    Sincerely,
    Bryan Kahler
  • Thanks Bryan. I changed the Flash Update OK value to 900mV and Cell Termination voltage to 1600mv and now Soc shows about 75% charge for a fully charged battery. I am yet to do the Chem id test. Please help me with the following:

    1) Cell Termination voltage  for now I have assumed a random value (1600mV)  as I am not able to understand the right value from the battery spec. Please help me identify the value from the spec. 

    2) if I have to modify the registers for another setup with 3 of the same 12V batteries connected in series what are the necessary changes that I need to make in these registers?

    -Sreejaya V

  • Hi Sreejaya,

    1) This value may be too low and is set based upon maximum current discharge of the application and battery curves. Some lead acid batteries have a terminate voltage around 1800 mV.

    2) The only value that should change is Series from 6 to 3.

    Sincerely,
    Bryan Kahler
  • Hi Sreejaya V,

    Haven't heard back since this answer was suggested - hope the issue is resolved. If not, please let us know.

    If this answer resolved the issue, please hit the green 'resolved' button to help improve question/answer searchability on the forums. Thank you!

    Sincerely,
    Bryan Kahler