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: How to find state of health for a lead acid battery step by step , Using fuel gauge BQ34Z100-G1

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

Dear , I'm a high school student in Pakistan and i'm working on a project to find state of health and other characteristics of a lead acid battery. I have successfully ordered and received the TI BQ34Z100-G1 IC . But the problem is I don't know the further procedure step by step how to use this IC to connect to a lead acid battery and find the different specifications. If you could please help me step by step how to interface this ic with the lead acid battery and detail about every other component required and the procedure to find state of health of a battery in a simple way i would be really greatfull

  • Hi Abdullah,

    First please read EVM guide and datasheet of bq34z100 in TI website.

    Then download bqstudio. Try to use EVM guide to help you with hardware connection, and use datasheet to help you about how to use bqstudio.

    If you have some questions during your using, you could post here.

    Thanks.

    Best regards,

    Sammi Shang

  • Thank you very much for the reply Sammi . The problem is , its very difficult to get something ordered from TI in Pakistan . But somehow now i obtained just the bq34z100- G1 IC . I dont have the evm Module that supports it . I need the guideline just by using this IC , how i could find the state of health of my battery . Hope you would understand
  • Also , The examples given in the data sheet , are of lithium ion cells , where as my project is specifically on lead acid batteries. Please if you help me in this regard .
  • Hi Abdullah,

    It seems you need to design schematic by yourself. You could refer the EVM schematic.
    The state of health equals FCC/Qmax. You could read out these parameters in bqstudio. FCC is the full charged capacity when terminate charging, and Qmax is the updated parameters after self-learning cycle.
    BQ34z100 support lead acid battery.
    Thanks.

    Best regards,
    Sammi
  • Dear Sammi ,

    Sorry for bothering again , but as i explained , i just have the IC , how do i connect it to a pc , without the module , for reading out parameters in bqstudio . Quite confused :/
  • Hi Abdullah,

    You need I2C communicate with PC. Do you design the schematic by yourself?

    Best regards,
    Sammi Shang
  • Dear Saami ,

    Yes i want to design the schematic myself , but i need your help in designing it for a lead acid battery, also i have very little knowledge about this. if you could please help me with the schematic and also with the i2c communication with pc ? what i need is a step by step easy approach
  • Dear Sammi ,

    Can i make an i2c communication between just the ic and a micro-controller such as arduino , Can i somehow get the output readings this way ?
  • Hi Abdullah,

    I think it is OK to try to communicate IC with micro-controller, you could get the output readings through send some commends. The commends insruction are all in datasheet.

    Thanks.

    Best regards,
    Sammi
  • Dear Sammi ,

    During my communication of IC with micro-controller i had the following problems , if you could explain how to resolve these :
    IC : BQ34Z100-G1

    Pin 4 BAT : what is meant by Translated Battery Voltage Input . We are using 12v lead acid battery battery ,how do i translate this into our pin 4.
    Pin 5 : CE . Is this pin active high or active low ? if its active high , should we connect it to 5 V or battery voltage ( 12V in our case ).
    Pin 9 :SRP : Please explain this and where to connect this .Could not understand this. Also what is meant by “BAT connection “.
    Pin 10 : SRN : Please explain this and where and how to connect this . Also what is meant by “PACK connection”. And how where to connect this
    P5/HDQ Pin 12 : Please explain purpose of this pin and where is to be connected.


    Thanks !
  • Please update my request status :/
  • Hi Saad,

    Please read the bq34z100EVM user's guide and datasheet.

  • Dear Sir ,

    I have already read the datasheet and user guide. The problem is , i'm not using the EVM evaluation module. I'm directly connecting the IC with a micro controller (I2C communication) . Giving direct inputs to the pins of the ic and getting an out put on the pc through the arduino micro controller .

    Now i specifically need to ask you about these pins that i mentioned, because i've gone through everything and still not understand about these pins like what should be connected with them !


    Pin 4 BAT : what is meant by Translated Battery Voltage Input . We are using 12v lead acid battery battery ,how do i translate this into our pin 4.

    Pin 5 : CE . Is this pin active high or active low ? if its active high , should we connect it to 5 V or battery voltage ( 12V in our case ).

    Pin 9 :SRP : Please explain this and where to connect this .Could not understand this. Also what is meant by “BAT connection “.

    Pin 10 : SRN : Please explain this and where and how to connect this . Also what is meant by “PACK connection”. And how where to connect this

    P5/HDQ Pin 12 : Please explain purpose of this pin and where is to be connected.

    Please just help me out what and where to connect these pins . Thankyou.
  • Hi Saad,

    Even if you're not using the EVM, please look at the schematic on the EVM user's guide to see how the device needs to be connected. It will clarify the questions you have if  you follow the EVM connections in the user's guide. Also the datasheet answers the questions you're asking above.

    Saad Abdullah said:

    Pin 4 BAT : what is meant by Translated Battery Voltage Input . We are using 12v lead acid battery battery ,how do i translate this into our pin 4. VBAT max voltage is 5V using the internal divider to reduce the voltage to 1V. With 12V battery you will need a resister divider of 300k between BAT+ and BAT pin of bq34z100-G1 and 16.5k between BAT pin of bq34z100-G1 and BAT- (see EVM user's guide pg 19).

    Pin 5 : CE . Is this pin active high or active low ? if its active high , should we connect it to 5 V or battery voltage ( 12V in our case ). It's active high. If there's a bar over the name it's active low. It should be connected to the REGIN pin, which shouldn't exceed 4.5V (see EVM user's guide pg 19)

    Pin 9 :SRP : Please explain this and where to connect this .Could not understand this. Also what is meant by “BAT connection “.  Need 10-mOhm between SRP and SRN pins for measuring current (see EVM user's guide pg 19)

    Pin 10 : SRN : Please explain this and where and how to connect this . Also what is meant by “PACK connection”. And how where to connect this Explained above. SRN could be connected to PACK- (see EVM user's guide pg 19).

    P5/HDQ Pin 12 : Please explain purpose of this pin and where is to be connected. This is a one wire communication protocol. It's not needed, since you're using I2C communication with the micro (see EVM user's guide pg 19)

     

    Please refer to this document along with the datasheet about I2C communication with micro.

    www.ti.com/.../slua790.pdf

  • Dear Sir ,

    Attached is my schemetic that i'm using . The code I'm using , and the results im getting . Results are garbage values.

    I'm connecting my gauge ic with an arduino mega and getting outputs on pc.

    Please tell me what i'm doing wrong because i'm getting garbage values.

    Thankyou!
  • Hi Saad,
    Make sure you have pull-up resistors (10k tpyical) on SCL and SAD lines, as for arduino code, there are many sources for such code on the web, try searching and you will defiantly find one that you can modify for your case.
    Regards,
    Haidar
  • dear sir ,

    i will do that , in the meanwhile please tell me that if my remaining schematic is okay , and the arduino code i sent you , if its fine ? . Also why am i getting such garbage values ?
  • Hi Saad,

    Have you started by first connecting the device with an EV2300/2400 and using bqStudio to configure and evaluate the device performance and operation?  The device needs certain parameters configured and setup before it will give you the best results.  You have to start by using an EV2300 or EV2400 and connecting it with bqStudio, then by using the TRM (technical reference manual) you can understand how to setup the internal parameters.  Given your background, I don't think you can start by programming via a separate uC, that should be done after you first have the system configured and operating properly using an EV2300/2400 and bqStudio.


    Thanks,


    Terry

  • Terry ,


    If you go back a little in my thread , i clearly mentioned that , i "only" have the bq34z100g1 ic and don't have any module or anything else.

    What im doing is that im directly doing a I2c communication between the ic and my arduino mega micro-controller , from the micro controller im getting the output on my screen . I just uploaded all my schematics and arduino code and the output . Please see that and tell me why am i getting garbage values and what is wrong that im doing.

    thanks.
  • Hi Saad,

    Given the level of questions you are asking, I think you are trying to jump too far too quickly. I don't believe you will be able to get the device properly configured unless you start out using an EV2300/2400 and bqStudio first. I appreciate that you are in high school and trying to minimize your investment needed to get a system running with this gauge, but I don't think it will be practical for you without taking this approach. This device is fairly complex, it includes capability to gauge everything from a single-cell to multi-cell Li-ion, Li-polymer, NiMH, or lead-acid battery packs, so it requires configuration for your specific purpose. You may find many of the default settings may be more applicable for a Li-ion system and will not be appropriate for your lead-acid system.

    Thanks,

    Terry