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.

Getting started with bq27541-G1

Other Parts Discussed in Thread: BQ27541-G1, BQ27541-V200, BQEVSW, BQ27541

Hi there!

In our future product we plan to use the bq27541-G1 gas gauges. The IC will reside on the system PCB since the cell will be non-removable (by the end user).

We tried to figure out how to configure the bq27541-G1 for this scenario but we found the available information very confusing. This is why I hope to get some clarifications here.

Most confusing we find the diversity of software tools available: there is bqEVSW, GaugeStudio, bqEASY and bqCONFIG. Not all programs seem to be compatible with all gas gauges. And which program has to be used for which purpose during gas gauge calibration and configuration? Without having a physical prototype here at this time we cannot really test any of the mentioned programs. Situation becomes even more complicated with the subtle differences between bq27541-V200 and bq27541-G1, so we are unsure if the described calibration procedures (for the by27541-V200) are still valid for the bq27541-G1.

From my understanding, the steps needed for Gas Gauge Configuration are:

  1. Calibration (CC Offset, Voltage, Temperature, Current).
  2. Cell Chemistry Profile Programming
  3. IT Learning Cycle
  4. Generate Golden Image

Now I have some questions about how these steps should be done (and which software is needed).

  1. Looking at the Gauge Studio quick start guide, the Calibration procedure is embedded in Gauge Studio. Looks good an easy.
  2. Cell Chemistry Identification. We downloaded SLUC138, Mathcad Chemistry Selection Tool (Rev. BQ). Our Cell (SDI: ICR18650-26F) is found in the Chemistry Selection Table (ChemID: 1165). How do we program the chemistry information into our bq27541-G1? There is an AppNote (SLUA544, How to generate Golden Image…) where bqEASY is used for this task. Is this still the “tool of choice”?
  3. The Learning Cycle.In AppNote SLUA597 “Achieving The Successful Learning Cycle” the individual steps needed are clearly shown. However, this paper does not mention anything about the Tools (software) to use for this procedure. In the aforementioned SLUA544 it says, Learning Cycle can be performed automatically using bqEASY-Software. There is also a load circuit (controlled by EV2300 through a small relay) shown, which we are planning to use. Can you please confirm that this feature is still available for our bq27541-G1? Does the Gauge Studio have this procedure implemented or which of the EV software has to be used?
  4. Golden Image Generation.Same question as above, which tool can/should be used when talking about the bq27541-G1?

Besides these basic questions about getting started with the bq27541-G1 there are also a few design specific questions I could not answer myself from the datasheets. I hope someone can enlighten us here as well:

  1. What do we have to do if (during prototyping) the cell has to be removed from the gas gauge and is reconnected later? Do we have to reset the IT algorithm every time? If so, can this be issued by the host system microcontroller or do we have to go through the configuration process with the EV software (Gauge Studio) again?
  2. On the host system PCB where the bq27541-G1 will be placed, the charger IC is located, too. For safety reasons, this charger IC has to be connected to the cell’s thermocouple. So the cell’s thermocouple cannot be connected to the by27541-G1. What should we do in this case, use the internal temperature sensor for the IT algorithm? Adding a second thermocouple to the cell is not really an option.

I have the feeling as if you are merging all the former software tools (bqEVSW, bqEASY and bqCONFIG) into the new Gauge Studio. The current version really looks great and we are sure that this program will simplify working with the TI gas gauges in the future. But at the moment we are not sure if all features needed for (easy) configuration of the bq27541-G1 are already implemented.  I hope that you can clear up our confusion here a little bit.

I apologize for this heap of questions. But I think your answers will also help to guide other users / customers who are trying to get started with the bq27541-G1 and the available tools.

Thank you!

Best regards,

Daniel

  • I wish you luck with this as it is a similar task to the one I have been attempting with the bq27531 and the quality of the documentation (especially the TRMs) is woeful!

    I definitely advise buying the Evaluation modules as it is absolutely necessary to use them to generate the Golden Image - there simply isn't enough documentation to allow you to do this solely on your target board.

    I found that bqCONFIG provided most of the things I needed - though getting a version that works is a bit of a challenge. The versions on the family support pages wouldn't connect to the I2C EVM and I doubt TI have fixed this yet. I eventually tracked down a 1.5.5.0 version posted in the forums. I do advise downloading it and running it to prove to yourself that you have the software necessary.

    bqConfig has a step-by-step process for generating the Golden Image, including a step to enter the chemistry ID.

    The next challenge is to get that Golden File into chips on your board. If you can bring out the I2C bus from your board so it can be driven from the MSP430 EVM module, it is relatively easy to program the values to the chip. Hold in mind that this will be part of your production process so you will need to connect it to the MSP430 for every board you make; don't rely on tacking a couple of wires onto the bus!

    It is possible to write your own software to program the Golden Image into the chip but TI simply won't publish the boot-flash documentation. There are some misleading flow-charts describing the operation but these are not a good starting point - if an error is made the chip is ruined. Other forum members have put sniffers on the I2C bus with the EVM to backward-engineer the process and you'll find a few helpful posts on that in the forums.

    Another stumbling point is the SEAL/UNSEAL operation. This is very poorly documented in the TRMs and seems to catch a lot of people out if the postings on the forum are anything to judge by.

    The UNSEALING is achieved by writing the key as a command in the control() register.... it's rather like having the key as a special ADDRESS you write to instead of writing special DATA to a well-known address. It is vital that the keys not have values used by any other command in the control operation - this is made extra tricky because TI don't tell us all the commands that are used in the control register! You must also make sure that the keys are different - if you make them the same it is impossible to write them both! In summary - don't change them until you've become an expert!

    On one of your questions, regarding the thermister... I do not understand why one might think that the temperature of the drive-chip is more safety-critical than the temperature of a Li battery given the failure modes of these cells. The on-chip temperature measurement is really only applicable to batteries that INCORPORATE the chip (so they are effectively measuring the cell temperature) - but you have said that your chip is on the host board. I would very strongly suggest reviewing your design in this regard!

    The very best of luck!

    Joe

  • Ah, I'm sorry, on the thermister question... I wonder if you meant that the thermister incorporated in the cell is being connected to the charge controller, so that controller is responsible for stopping the charge current if the cell gets too hot?

    This is a fair thing to do if you don't trust the bq27541 to be as good as the charger chip at this safety critical task. In this case using the internal thermal device will give you some small measure of improvement in charger control as you might reasonably judge that normally the cells will be at ambient temperature, which will be registered by the chip. You will degrade some of the features of the chip in extending battery life but it will be difficult to suggest which design choice is better, trusting the bq27541 v. degraded battery life.

  • Hi Joe,

    Thanks for your reply... although I feel even more worried about our decision choosing the bq27541-G1 now...

    First of all, you are right; I might not have made the connection scheme of the thermistor clear enough. So there is a thermistor directly glued to the cell. Monitoring the cell temperature is done by the Charger IC which will reduce charge / discharge current during thermal overload conditions. As far as I know, the bq27541-G1 does not have any safety features integrated that could limit the current. This is why we definitely want the charger IC to monitor the cell temperature directly. So you are probably right and we have to sacrifice some Impedance Track accuracy and use the Gas Gauge's internal thermistor.

    By the way: what to do with the thermistor input on the bq27541 when using the internal thermistor only? Can it be left floating? I could not find an answer in the datasheet.

    You are right, testing the device features using an EVM should be first step… but there is no EVM with the bq27541-G1. The only EVM available has the bq27541 populated and my distributor tells me it is an End-of-Life product. That’s why we refrain from buying this outdated EVM. So we put lots of effort into designing a target board that also provides us the possibility for easy connection of the EV2300 and an external load circuit to perform the learning cycle. That’s why we should be able to program the Golden Image into the chip with the EV2300 and hopefully won’t need to use our host system to do so.

    Thanks for pointing out the dangers of the Sealing commands! Will keep that in mind until it becomes imminent.

    The bqCONFIG version you mentioned, did it give you the ability to perform the automated learning cycle?

    Thank you!

    Best regards,

    Daniel

  • The bq27541 does seem to have functionality to control the charging based on temperature - with over- and under-temperature limits.

    "The bq27541-G1 uses temperature to monitor the battery-pack environment, which is used for fuel gauging and cell protection functionality."

    I wish the documentation was clearer as to what this does exactly, and it will depend on how you are controlling the cell too, but the internal schematic suggests that the FETs in negative line could be turning off the charge current if the temperature is outside of specified range and I would expect this of a cell controller... It would be so nice if the TRM said such things explicitly! It would be so nice to be able to tell customers that their devices won't catch fire because the TI chip will turn the current off if it gets hot...

    I know the EVM isn't quite the same as the chip you're going to use but with such limited documentation you might need to try things to see what they do!

    The bqCONFIG I have does perform the learning cycle but doesn't perform auto chemistry selection - which is ok for you as you're cell is already listed!

  • I think you are referring to the Typical Application circuit on the first page of the datasheet (showing a complete pack), where external FETs and an additional protector IC are shown? Because I cannot find any hints that the bq27541 has internal FETs to cut current flow.

    Joe Skaife said:

    The bqCONFIG I have does perform the learning cycle but doesn't perform auto chemistry selection - which is ok for you as you're cell is already listed!

    These are good news for me. At least we know that there definitely is a working way to configure and program the bq27541-G1. Then we will stick with the bq27541 for now and perhaps we even buy this outdated EVM for further testing...

    It would be great to get some information from the TI-staff at this point!
    Perhaps there is a new EVM for the bq27541-G1 planned? And to repeat the questions from my opening post: what is the recommended procedure for configuring the bq27541-G1 and which tools should be used? Can you give us some kind of roadmap for the Gauge Studio and the other programs (like EVSW, bqEASY, bqCONFIG,...)?

    Can you at least give me a link for downloading the bqCONFIG version known working with the bq27541-G1?

    Thanks!


    Best regards,

    Daniel

  • We have a working prototype with the bq27541-G1 now.

    Configuration and chemistry selection was already done but we have a problem with the learning cycle:

    our charger uses a fast charging current of 1A. As soon as the charging current is reduced to 200 mA the charger "tops-off" for another 15 seconds and then cuts off (charging current = 0 mA). With the default settings the bq27541-g1 does not detect the full charge condition (FC not set during learning cycle).

    Can you please give us some hints on how to configure "Chg. Current Threshold" and "Taper Current" in this case? Should the Taper Current be set to well above the cut-off current of our charger, to 225 mA for example?

    After the learning cycle failed during the charging phase, how should the gas gauge be reset? Do we have to disable IT first before we restart the learning cycle? Anything else we have to do?

    Another question is related to the thermal influence on the gas gauging algorithm:

    our design has to use the internal temperature sensor of the bq27541-g1 but the gauge is located next to the linear charger. During fast charge phase the charger IC naturally heats up and so does the gauge. The internal sensor shows temperatures > 50 °C during fast charge.

    The cell on the other hand is only lightly loaded during device operation and also the charging current of 1A is well below the maximum fast charge current allowed. So the cell itself does not noticeably heat up during operation.

    What do you suggest in this situation? Can the thermal influence in the gauging algorithm be deactivated? Does it affect gauging performance at all?

    Thanks

    Daniel

  • The gauge taper current needs to be higher than the charger taper current in order for valid termination to occur. A good rule of thumb is to set the gauge taper between 10% and 20% higher than the maximum charger taper. Chg Current Threshold can be left at default for this case.

    There isn't a way to disable temperature influence on the gauging algorithm. While accuracy might be affected in this situation, it may not be that bad. The accuracy effects at higher temperature aren't as noticeable as they are at lower temperatures, so the usable capacity at 25C is often very similar to that at 50C.

  • Thank you Chase,

    these are good news.

    What about the "Safety Configuration Parameters" like OT Chg, OT Chg Recovery etc., are those relevant for the gauging algorithm or can we use default values here?

    To recover from a failed learning cycle, are there any special actions required (like disabling IT / resetting RAM)?

    best regards,

    Daniel

  • The Safety parameters won't affect gauging. They just set flags to notify the host of a problem.

    To recover from a failed learning cycle, you can write Update Status back to 00, then send the IT enable command. To change Update Status, you need to export a GG file, change Update Status in the file, and then import the GG file.

  • Thank you, Chase.

    We were able to complete a successful Learning Cycle and Gauging seems to work fine now!

    best regards,
    Daniel