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.

BQ20Z95: Set-up, Calibration and Production

Part Number: BQ20Z95

Hello,

We have a few older BMS designs that use the bq20z95 gauge. We are using bqEVSW to program the bq20z95.

1. Can you provide a latest reference *.gg file for bq20z95 for a 4S battery pack of a given capacity, (configured per SBS v1.1 to work with a Smart Charger) ?

2. Can you provide a reference to program the bq20z95 gauge parameters, including CHEM-ID etc. using the Data-Flash/Pro option (preferably not using bqEasy) ?

3. Once the gauge is programmed and calibrated, including a learning cycle with a test production battery, can you provide the process flow for setting up and transferring the *.gg file and data-flash memory to all the production batteries ? 

4. Do all the production batteries also have to go through a learning cycle, or can the same learning parameters from the test battery be transferred to all the production batteries ? (with the same learning parMax. Error, QMax and Update Status etc. ?) Please advise the process.

Thank you !

  • Hello Kailash,

    You can download the latest default firmware with default parameters on the product page for this gauge, we recommend then setting up your parameters and exporting the .gg.

    You can reference the programming documents on the product page to use bqEASY or bqEVSW to program the gauge, or you can use your own MCU to program the gauge.

    This is the document that should be referenced: https://www.ti.com/lit/pdf/slua355

    Only one learning cycle needs to be performed, the learning cycle parameters (Qmax and ra table) will be updated in the golden image that should be made for production.

    If you are starting a new project we do not recommend using older gauges (like the BQ20z95) We mostly supply these gauges for legacy projects like medical that take a lot of time to get certified. Most of the tools are no longer supported and we can provide limited help.

    Sincerely,

    Wyatt Keller 

  • Hi Wyatt,

    Thanks. Actually, we plan to use bqEVSW to program the bq20z95 gauge for the test and production batteries, and not use our MCU. (We are assuming bq20z95 is still only supported by bqEVSW and not by bqStudio). 

    Can you explain in detail (or point to a document) how to set up the golden image file for the test production battery (or golden battery), and how to use this golden image file to program the production batteries, using bqEVSW/bqEASY ? Is this done simply by exporting the final *.gg file of the test battery, and then importing the *.gg file for each production battery ? How about the DataFlash/ROM parameters that store the learning cycle parameters (Qmax, Ra, Max Error, Update Status) etc.? Are all these copied over in this process to the production batteries ? 

    Yes, we are using the bq20z95 to support our legacy products. For our latest products for 4S, we are using bq4050/bq40z50. 

    Thanks. 

  • Hello Kailash,

    That's correct the BQ20z95 is not supported in any of the new software like bqStudio.

    I attached a document in the last post that discusses the golden image creation and programming the gauge. This should be your main reference for production.

    The .gg file will contain some of the DF, it will not contain the chemistry ID. You would need to use the DFI file to transfer everything in DF.

    Sincerely,

    Wyatt Keller

  • Hi Wyatt,

    The document you linked, SLUA355, shows how to save the golden image DFI and write it to the production targets using VB6 code. However, we would like to do the same without using code, using bqEVSW/bqEasy, if possible. (Similar to how *.srec file is read/written using bqStudio). Can you point us to the document that shows how to do this using bqEVSW/bqEasy for production ?

    Thanks.

  • Hi Wyatt,

    Happy New Year ! Waiting for your reply to our previous post: how to create and save a golden image DFI or srec/senc file using bqEVSW, without using any VB code ? And how to write this golden file to the production targets using bqEVSW ? 

    Thanks !

  • Hello Kailash,

    Sorry for the holiday delays.

    You can use bqEASY to program the DFI files and read them, this is a legacy gauge which does not have much support, let me check if we have any other production tools for programming.

    Sincerely,

    Wyatt Keller

  • Hi Wyatt,

    Ok, thanks - please let us know. Meanwhile, few additional questions:

    1.  In the bqEVSW Pro screen, what is the "srec programming" field and "Program" for ? Is this for reading from or writing to a target ?

    2. Also, can you provide the default .srec/.senc firmware file of the bq20z95 gauge and how to flash the gauge with this ? We couldn't find this in the product page.

    3. Can we use an imported golden *.gg file + Chem_ID + calibration parameters for programming the production targets ? Are there any other DF constants that would be missing from the *.gg golden file that necessitates us to use a DFI/.srec file as the golden image file ?

    4. How to read the default/set Chem_ID file ? What is the sequence of commands to be used to read the ChemID ?

    Thanks ! 

  • Hello Kailash,

    The bqEVSW can only program the srec, you can only pull the .senc file, which is essentially the same information in a different format.

    We cannot provide firmware on the forum do to export controls, you can use the bqEVSW to export the .senc file.

    Yes you can use that method, that will not update the firmware, so if all your gauges run the same firmware that will work fine.

    The command to read the chemistry ID is in the TRM: A.1.1.6 Chemistry ID(0x0008)

    Sincerely,

    Wyatt Keller

  • Hi Wyatt,

    OK. Can you provide the link to the latest default firmware for bq20z95DBT ? We couldn't find it on the product page.

    Please provide instructions/link on how to load the default firmware using bqEVSW ?

    Thanks !

  • Hello Kailash,

    You can program the default data flash to the gauge, it's in the data flash tab in the data flash section at the top of the GUI, select the view defaults then write all. Then use the pro page to pull the .senc file. This will be the default image for the firmware that is running on the gauge.

    Sincerely,

    Wyatt Keller