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.

BQ34110: Help in Configuring Basic Gauge Parameters

Part Number: BQ34110
Other Parts Discussed in Thread: BQSTUDIO, , EV2400

Hi Team TI,

I'm working with a BQ34110 to monitor a 6000mAh 12.8v LiFePO4 battery pack.  The pack contains 4 cells in total and They are configured as 4 series cells.  I am using bqstudio and EV2400 to communicate.

The problem we are having in configuring the gauge to correctly monitor the remaining capacity and the Relative State of Charge(SOC).  I have set up the Voltage Divider parameter, calibrated the voltage and current, and I am getting accurate readings for both Current and Voltage from the battery pack.

Q1.  In bqstudio Design Capacity and Full Charge capacity is set to Default Value of 2200mAH. I need to change that to 6000mAH. Please suggest me how to configure these parameters.?

Q2. Also, Suggest me which are the other parameters I need to configure to get the accurate SOC.

  • Hi Manoj,

    In BQStudio, the Learned Full Charge Capacity parameter needs to be updated - it is under the Data Memory -> Fuel Gauging tab.

    There are actually many parameters you will need to set up for your specific battery. I developed a spreadsheet to make this easier that I am attaching. In the first tab, you fill out the basic information on your battery. This populates all of the parameters on the 2nd tab with a good starting point. The 3rd tab can be copied and imported directly into BQStudio in the Data Memory tab.

    /cfs-file/__key/communityserver-discussions-components-files/196/7178.bq34110_5F00_dataflash_5F00_notes_5F00_rev03_5F00_20181002.xlsx

    I also recommend looking at this app note to learn about configuring the CEDV parameters. http://www.ti.com/lit/an/slua924/slua924.pdf This app note is for a different device, but you will still want to follow the same steps. (Ignore the section on ChemID).

    I hope this is helpful,

    Matt

  • Hi Matt,

    Thanks for the reply.

    I have followed the procedure you explained and I have updated my parameters in Tab1 and I have copied Tab3 by saving it in .gg.csv file.

    But I'm getting an error message while importing that file. I have attached the screenshot of that. Also, I have attached our .gg file 

    What may be the issue?

    Attachments :

    /cfs-file/__key/communityserver-discussions-components-files/196/sn100bq34110.gg.xlsx

      

  • Hi Manoj,

    I am not sure what is causing this error, but here are a few suggestions:

    • The .gg file you attached is in .gg.xlsx format. The instructions say to copy and paste it into a text file (use a program like Notepad) and save it with the extension .gg.csv. If you save it in Excel, it may cause problems.
    • Make sure you are using the latest .bqz file for BQ34110. To do this, download the BQ34110 Firmware zip file from (http://www.ti.com/product/BQ34110/toolssoftware) and copy the .bqz file to this directory: C:\ti\BatteryManagementStudio\config
    • Use the latest version of BQStudio. From the BQStudio product folder (http://www.ti.com/tool/BQSTUDIO), download version 1.86.3. It is labeled as BQSTUDIOTEST, but it is the version that should be used. Sorry, I know this is confusing.

    I hope this helps,

    Matt

  • Hi Matt,

    We have followed the same procedure as mentioned above and Format issue is fixed.
    Below are the steps we are following.
    1. Verified that IC is in SEALED, UNSEALED or FULL ACCESS mode. It is in FULL ACCESS mode.


    2. We have Updated Application settings tab according to our Battery pack values as,
              Number of cells - 4
              Design Capacity - 6000 mAH
             Nominal Battery Cell Voltage - 3200 mV
             Charge Voltage - 3650 mV
             Minimum Voltage - 2400 mV
             Charge Taper Current - 50mA
                 And used the Output for BQstudio tab values for .gg.csv file. Below is the Attached .gg.csv file.
                 But clarification required is, Do I need to update the values of Nominal Battery Cell Voltage(12.8V), Charge Voltage(14.6V), Minimum Voltage(9.6V) of Battery pack or of Single Cells?

    /cfs-file/__key/communityserver-discussions-components-files/196/bq34110_5F00_import.txt

    3. Imported the .gg.csv file into Data Memory.
              3.1 Firstly, Imported the .gg.csv file. Got Error message as "Value is Beyond Maximum Value for Parameter Smoothing Start Voltage" (Value was 6000mV)
                    Then i have changed that to 3700mV. After that am not getting that error. What may be the reason?

                    

              3.2 Then Again Imported the file. But in both the cases Only a few parameters are writing and most of the parameters are not writing and giving Error message as "No parameter matched address" every time.

    4. Even tried writing Directly in BQSTUDIO -> Data Memory -> Gas Gauging -> Design Capacity. Showing Same error as above.

  • Hi Manoj,

    Please try updating to the latest version of bqStudio (bqstudiotest), verion 1.3.90b1.

    http://ti.com/tools/bqstudio

    Sincerely,
    Bryan Kahler
  • Hi,

    We are using the same version of BQSTUDIOTEST. Still the same issue. :(

  • Hi Manoj,

    With the device in the unsealed full access state, write block 0x000F to 00 to enter ROM mode. Try to read 0x0D from address 0xAA and 0x16. The device should respond at 0x16.

    Go to the programming tab and reprogram the SREC to the device.

    Firmware should execute and the device should now be responding at 0xAA.

    In data memory, set flash update ok volt to 0. Read all to ensure the value is taken properly.

    From here, please reconfigure your settings.

    Sincerely,
    Bryan Kahler
  • Hi Bryan,

    1. Do we need to write 0x0007 to MAC register (0x3E) , 0x00 to MACDATA (0x40) with Checksum to 0x60 and Data Length to 0x61. Is this the Procedure to Write??  Or is there any other WRITE procedure to enter ROM Mode??

    2. Now Flash Update Ok Voltage is Reading 2800mv from BQ34110. How to Set that to Zero??

    Regards,

    Manoj S

  • Hi Bryan,

    Thanks for your suggestions. Now I can able to Write into the Data Flash.

    In calibration, CC offset, Board offset, Voltage calibration and Temperature calibration is done and calibrated properly.

    But we are facing problem while calibrating current. Below are the steps we followed to calibrate current.

    1. We put our battery pack for charging.

    2. Written measured charging current(through multimeter) in Applied current.

    once we perform calibrate gauge, BQSTUDIO is giving an error as "Calibration - First two bytes of MAC response read from device does not match MAC command sent."

    is anything missing in our calibration procedure? What may be the problem? Please suggest.

    Regards

    Manoj S

  • Hi Manoj,

    Thank you for the screenshot - I haven't seen this issue before and will attempt replication in the lab.

    Could you please use a logic analyzer to record the commands sent and received?

    Sincerely,
    Bryan Kahler
  • Hi Bryan,

    Please find the attachment of file having commands sent and received for Current Calibration.

    Also we observed one weird scenario that Other Calibration is executing properly and Current calibration was failing in BQSTUDIOTEST (v1.3.86.3 b1).

    So we tried one more case by installing BQSTUDIO(v1.3.54.1). In this Software Current calibration was passed and calibrated to correct value for the first time. Again if we tried to calibrate the current it is failing and none of the calibration is executing.

    Note: attachment can be opened by saleae software.

    maccmds.zip

  • Hi Manoj,

    Thank you for the response.

    bqStudio has been updated again, the version is now greater than 1.3.86 (90 or greater) and may be obtained by clicking on the 'bqstudiotest' link at www.ti.com/.../bqstudio

    Are you able to replicate the current calibration failure in the latest version of bqStudio?

    Sincerely,
    Bryan Kahler
  • Hi Bryan

    Still facing the same problem.
  • Hi Bryan,

    Still facing the same problem.

    You can find I2C samples below while i was trying calibrate the current.

    2867.maccmds.zip

    Thank you.

  • Hi Manoj,

    A new version of bqStudio has been released. It is version 1.3.90 or greater. It can be downloaded by clicking on the 'bqstudiotest' button on the bqStudio tools page, found here: www.ti.com/.../bqstudio

    Please let me know if the issue persists after the upgrade.

    Sincerely,
    Bryan Kahler