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.

BQ24161 STAT output pin

Other Parts Discussed in Thread: BQ24161, BQ27530-G1, BQ27530EVM, BQSTUDIO

I am using the bq24161 in a circuit.  I have a battery charge LED connected between the STAT pin and the DC IN pin via a 120 ohm resister.  The issues I am experiencing are:

  1.      The battery charging LED stays on even when charging is complete (100 % charge). 
  2.      The battery charging LED stays on when the charger is disconnected, but the device is powered on, and is resolved only by turning the Pod off and back on.

Any thought?

  • Hi Andrew,
    1. How are you testing that the battery is 100% charged?
    2. Could you be more precise on this condition? What do you mean by "the charger is disconnected but the device is powered on"?

    Make sure that the EN_STAT bit in register 02 is 1.
    Also, the datasheet suggests to connect the LED between the STAT pin and the DRV pin.

    Thanks,
    Sergio
  • Thanks for your response Sergio. I am testing that the battery is 100% charged by reading back the "stateOfCharge" value at location 0x2C/0x2D.
    When I stated that "the charger is disconnected but the device is powered on", I mean that power is being drawn from the battery, and the battery is not being charged. In other words, the external power supply is disconnected, the battery is connected, and power is being drawn from the battery by the product circuit.
  • Thanks for your response Sergio. I am testing that the battery is 100% charged by reading back the "stateOfCharge" value at location 0x2C/0x2D.
    When I stated that "the charger is disconnected but the device is powered on", I mean that power is being drawn from the battery, and the battery is not being charged. In other words, the external power supply is disconnected, the battery is connected, and power is being drawn from the battery by the product circuit.
    The EN_STAT bit is set.
    Unfortunately the LED does go between STAT and DC IN via a resister. Will this be the cause of the anomalous observations I noted in my original post?.
  • Hi Andrew,
    it is strange that when no input is applied, the LED is still on. Anyway it would be better to follow the guidelines on the datasheet.
    The fact that the LED is on when no input is applied leads me to think that the reverse boost prevention circuit is working: this mainly can happen if the battery voltage is higher than the battery regulation voltage.
    When this happens, the STAT pin might report that the battery is not charged.
    In order to double check that you could:
    - measure the VBAT voltage and the VBATREG setting
    - get the waveform at the SYS pin and see if it is like Fig. 16 in the datasheet.

    Sergio
  • Hi Sergio,

    Thanks again for your quick response. I am still seeing the charging LED lighted when the charger is disconnected from the device, and the device is powered from the battery.  I have attempted to address all of your comments and questions below:

    1. I have rewired the circuit so that the charging LED is wired between the STAT pin and the DRV pin via a 120 ohm resister.  

    2. I am not sure how to determine the VBATREG setting.  The BQ24161 is connected to a BQ27530-g1 which I communicate with via its I2C bus. The BQ27530 is reporting that the battery is 74% full and has a voltage of 3.942 volts.

    3. I took a look at Figure 16 of the datasheet and compared the waveforms to the SYS and BAT pins on the BQ24161 when the issue is exhibited.  The SYS pin looks about the same as the signal shown in Figure 16.  The BAT pin waveform looks almost identical to the SYS pin waveform, except that it may be slightly lower voltage in places (maybe a few 10s of millivolts).

    4. One other observation: the issue only exhibits when the battery is under higher loads (>400mA).

    Is there any other information I can provide that might shed light on the cause of this issue?

    With thanks, Andy.

  • Hi Andrew,

    I would highly recommend to go through the section 9.3.16.5 of the datasheet. It is pretty well explained why and what happens when the reverse boost prevention circuit is working.

    Let me know if you have further questions.

    Sergio

  • Sergio,

    Issue: When the charger is disconnected but the device is powered on (by which I mean that power is being drawn from the battery by a load, and the battery is not being charged) the charging LED is still lighted - STAT is still active.  The charging LED is placed between the STAT pin and the DRV pin via a 120 ohm resister.

    VBATREG is set at 4.2 volts (inc. offset).  The battery voltage can be as low as 3.7 volts yet the issue will still occur.  It only occurs at higher loads, and the load is pulsatile.    Section section 9.3.16.5 says the "The reverse current protection is only active when VBOVP > VBAT > VBATREG - VRCH."

    As VBAT is not greater than VBATREG, I don't think this should be the issue.  Also, although I see some dipping in the VSYS waveform, it is not 100 mV at a 1msec interval. It is at about 250 usec intervals.

    Therefore, from the description in section 9.3.16.5 of the datasheet, it seems unlikely that the Reverse Boost (Boost Back) Prevention Circuit is being activated.

    I'm still looking for some direction on resolving this issue, and look forward to hearing back from you.

    Andy

  • Hi Andrew,

    I see your point. Actually I might need to check in the lab.

    I will let you know as soon as I have something.

    In the meantime if you can send me the register setup and give me some information on the load (voltage and current) so that I can have the same set-up as you in the lab.

    Thanks.

    Sergio

  • Hi Sergio,

    The load is very high at about 5A peak triangular pulses from a baseline of about 100mA.  One cycle is 100mA for 130uS then a ramp up to 5A over 50uS, then a ramp down to 100mA over 100msecs.

    When I unplud (disconnect) the charger, the STAT pin stays active.

    I have included a zip file with:

    1. A copy of the programming file for the battery management circuit.  This programs the bq27530 which controls the bq24161.

    2. A snippet of the circuit showing the bq24161 and bq27530.

    Thanks again for your help.

    Regards, AndybattZip.zip

  • Hi Andrew,
    thanks for the material.
    Do you have by chance the EVM GUI? If you read the registers via I2C directly on the GUI (and you send me a screenshot of that) it might be easier for me.

    Thanks ,
    Sergio
  • 6562.ScreenShots.zipHi Sergio,

    I use TI GaugeStudio. I have attached screen shots from that (files b15 to b23).  I also have BQ Gas Guage Evaluation Software.  I have attached a screenshot from this (file b24).

    Regards, Andy

  • To confirm, you using the gauge to control the charger, correct? The gauge likely disables auto termination by the charger and disables charge when the battery voltage reaches regulation. When termination is disabled, the STAT pin does not turn off because the charger terminates.
  • Also, 120 ohm resistor is too small for STAT pull up. Abs max current into STAT pin is 10mA.
  • Hi Steve,
    I am not sure I fully understand what you are suggesting. But first to answer your question and respond to your comments:

    Your question: you using the gauge to control the charger, correct?
    My answer: Yes. As per the Texas Instruments document SLUUA09A titled "bq27530EVM with bq27530 Battery Management Unit Impedance Track™ Fuel Gauge and bq24161 2.5-A, DualInput, Switch-Mode Battery Charger for Single-Cell Applications"

    Your comment: The gauge likely disables auto termination by the charger and disables charge when the battery voltage reaches regulation. When termination is disabled, the STAT pin does not turn off because the charger terminates
    My response: Why would it work differently when a small load is applied as opposed to the larger load. Surely if this were the problem, it would be a problem whatever the load. As you know, this is only an issue when the high load (5A pulses) is applied. Also, why would TI recommend a configuration that doesn't fully support the STAT function? Perhaps I am missing your point. Please help me to understand.

    Your comment: Also, 120 ohm resistor is too small for STAT pull up. Abs max current into STAT pin is 10mA.
    My response: Good catch Sergio. I am changing that to 470 ohms. But I doubt that is the cause of this issue.

    Just to reiterate (I know you already know the problem, but just for completeness):
    1. The problem is that the charging LED stays ON when the charger has been disconnected, and the load is being supplied by the battery.
    2. This is NOT a problem if the load is light, but is a problem at the heavier loads (5A pulses - see earlier comments)

    Sergio - How did your bench testing go?

    Steve and Sergio - I look forward to your continued help.

    Andy

  • Andrew,

    Try connecting the LED from STAT to DRV with 1.5k. This way you can narrow down if the issue is with IN pin or STAT pin.

    Regards,
    Steven
  • I have changed the resister to 1.
    K5 as suggested. That has not made a difference. I'm not sure why 1k5 should be better than the 470ohm . The input should sink 10mA.
    As you can see from the earlier post it was already connected between DRV and STAT. But thanks for the suggestions.
  • Clearly this issue is related to the load characteristics. The STAT pin works as advertised when the load is low, and/or non-pulsatile, but doesn't work correctly with the high pulsatile load.
    Would someone at TI be able to run a test to duplicate the issue (using the same load characteristics and register settings) and recommend a solution?
    I have sixteen prototype devices all exhibiting this issue. Half these devices are out in the field. So a solution that can be implemented by register changes would be very well received.
    Given the length of this thread, I think some of the salient points are getting overlooked - for example, I've now changed the LED load resister twice, on two different TI recommendations, would it be better to start a new thread?
  • Hi Andrew,
    no need to start a new thread.
    I just received the board, so I will replicate your issue.
    I will let you know asap.
    Thanks.

    Sergio
  • Thanks Sergio.  I look forward to your response. Regards, Andy

  • Sergio,

    Do you have an idea when you might be able to respond to this query?

    Thanks, Andy

  • Hi Andrew,
    I apologize for the delay but the board that we had in the lab was damaged, so I ordered new ones this morning.
    I will keep you updated.
    Sorry again.

    Sergio
  • Hi Andrew,
    I got the board and I run some tests. I have to highlight that when input power is not applied DRV goes low, so in your case it is not possible that the STAT pin is ON. Could you confirm that the STAT pin is correctly connected to DRV? Also from the schematic you sent me it seems that it is not connected to DRV.
    Thanks.

    Sergio
  • Sergio,

    I confirm that it is wired correctly and that DRV is not low when the voltage to the IN pin is removed, when the load is as specified in earlier posts.  The schematic that was sent, was before the change to the wiring of the LED charging LED (please review earlier posts).

    I thought that you were going to preform the test with the SAME load and the SAME register settings.  It acts as you say when a lower or non-pulsitile load is applied.

    Andy

  • To confirm, DRV output is not available when the IC is powered from battery only so there is no voltage to turn on the LED, pulled up through resistor to DRV, when battery only is applied.

  • I am telling you that under the register configuration and the specific load described, there is a voltage at that pin.  

  • Hi Andrew,
    I have the lab setup ready but we don't use Gauge studio anymore. I would just need the .srec golden image file that you can generate on BqStudio (www.ti.com/.../BQSTUDIO ) , which is the software that we use at the moment.
    Once I have the srec file, I will run the same test as you.
    Thanks a lot.

    Sergio