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.

Battery status using bq27500, OEM

Other Parts Discussed in Thread: BQ27500, BQ27210, BQ27541, BQ27510

Hello

I'm developing a system similar to a security alarm. It will usually be AC powered, but sometimes it will be battery powered.

I have selected bq27500 for battery fuel gauging, but I don't know wether this is the best one or not, is it OK?

I thought using bq27500 would be very easy, just plug and play, but I have studied it and seems to require a lot of work, more than plug and play.

First, I need to create a golden data flash image file. I need a bq27500EVM kit, a computer with TI software and drivers, and some batteries to average. Do I need my custom board?

Then, I have to programm this golden image in every bq27500.

bq27500 is in the same PCB than microcontroller, display, keyboard, battery, etc. Microcontroller I2C bus is shared among bq27500, flash memory, and other devices, it does not have an outside connector, but there are test points.

How to do bq27500 in-system programming?, wich hardware do I need?, is it programmed with bq27500EVM kit?, is it strong enough to programm thousands?, do I need to develop firmware for the main microcontroller in order to programm bq27500?.

After programming, I hope the microcontroller firmware needed to know battery status is very simple, just read registers, is there any sample application with firmware?.

Thanks in advance

  • Hi
    I'm facing the same questions ...

    Did you get an answer ?

    Thanks

  • Howdy!

    I'm sorry this post got overlooked, but I'll try to answer now.

    First topic: Is the bq27500 gauge the right one for your application?  Probably, but I'll throw out another option that might work depending on your system and its requirements.  Another good choice is the bq27210 which only has 10 EEPROM values to configure but still requires some knowledge and characterization of your battery and system to choose them.  It's simpler and gives fine accuracy for new cells if properly configured.  It does have compensation for temperature and load variations, as well as a gain age factor.  It's considered a Compensated End-of Discharge Voltage (CEDV) gauge since it counts coulombs passing in and out of the battery while watching for the EDV voltage, but compensating this voltage for temp and current.  The bq275xx family with Impedance Track algorithm has higher accuracy, however, and maintains this accuracy better even as the cells age, across varying loads, temperatures, etc.  Since it's accurately tracking the internal impedance of the cell it can take this factor into account and provide much higher accuracy for the life of the cells.  Of the IT-based gauges (bq275xx family) we now have several products.  The bq27500 is our original and requires an external LDO.  The bq27510 integrates this LDO into the IC.  We have a chip-scale package version of the bq27500 called the bq27505.  All of these bq275xx mentioned so far are designed to reside on the system board and monitor removable (or nonremovable) battery packs.  We also offer the bq27541 which goes inside the battery pack, integrates the LDO feature, and has a SHA-1/HMAC authentication feature if you want to confirm your battery is not counterfeit.

    Questions for you:

    a) First, please confirm if you are using a Lithium-ion battery chemistry and one series cell (about 3.7V nominal).

    a) What is the battery configuration and capacity?

    b) What is your system's typical load profile from the battery?  How often will you be drawing current from the battery, for how long, and how much?  What's the typical current draw?  What's the peak current draw?  Short spikes of current draw or steady pulls?

    c) WIll you be recharging your battery or is it a primary cell?

     

    Second topic: How to create a golden image.

    Yes, you will need the bq27500 Evaluation Software (EVSW) and an EV2300 USB/I2C module.  The EV2300 can be ordered separately or is included when you order a bq27500 EVM.  The EVSW can be downloaded from the bq27500 product folder on ti.com.  If you go through the bqEASY wizard inside the EVSW it will guide you to create the golden image.  This can be done on a bq27500 EVM or on your custom board as long as you can communicate with the bq27500 by connecting the EV2300 I2C lines to it.  However, it's best if you do the calibration steps on some of your custom boards and then find out the average values from the dataflash, and use those averages in your golden image by manually entering them into dataflash during the golden image creation process.

     

    Third topic: How to program the golden image into every bq27500 in production.

    Two options:

    a) Use the PC and EV2300 to program every system you produce.  You'll need to have a reliable connection to the I2C bus from the EV2300.

    b) Most customers with high volumes use the host microcontroller to program the golden image into the bq27500.  We can take your golden image or DFI (binary) file and convert it to a text file that simply lists the I2C commands and data that the host will put on the I2C bus which will result in the programming of the bq27500.  Let us know once you reach this point and we'll get you going.

     

    Fourth topic: How to read the battery status.

    Yes, you can basically just send the I2C commands to read RAM or DataFlash locations.  The details are in the documentation, but we're also working on some sample code for the MSP430 and an app note that will be published next month.

     

    Best regards,

    David

  • I finally selected bq27510 because I had problems with bq27500 power supply.

    I have the 27500EVM but I haven't used it, I connect the EV2300 to my custom board.

    Could I send you my golden file to translate it into a command text file?, I'll send this file to the host microcontroller when the board is under test.

    Thank you

  • I'll contact you offline for this so you don't have to post your file publicly.

    -David

  • I was wondering if I could get example of commands to be send using I2C to write the DFI file at production.  I have been looking at the Going to Production With the bq2750x pdf file and the flow charts to write the DFI file but i'm not sure about the commands.