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: please check the dfi file, and how to make gg file.

Part Number: BQ20Z95

Hello TI experts,

my customer made *.dfi file, the result of learning cycle in bq Evaluation software.

now they want to make gg file for mass production.

at a glance, i can program this dfi file in bqEASY, 1B step. i choose dfi file and program dataflash image. (is it right?)

then I move to Data Flash menu, and export to gg file on upper file menu. (is it right?)

please check this step is right or not.

and before these setps I want to check this dfi file is good or bad. i tried to see the contents using notepad or word, but i could not see anything.

C3_0950_0150_GOLDEN.zip

Please check these issues. Thanks.

Best regards,

Chase

  • Hello Chase,

    You can refer to the app note on going to production with the bq20zxx gauges: www.ti.com/.../slua355b.pdf

    The .gg file can be edited in notepad, the DFI file is a binary file, if you export the .DFI from a good gauge there should not be anything that would make it a bad file.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    finally we got gg file.

    could you check this gg file whether it is suitable or not?

    i also attach the specification of battery.

    Best regards,

    Chase

    EGEN.pdf

    C3 210210.zip

  • Hello Chase,

    The .gg file looks normal, doesn't appear to be corrupted. I did notice your Ra tables have some really large resistances, have you completed a learning cycle on this pack? Was it a new pack?

    The default settings are fine for most applications, you will have to edit the protections/battery specifics for your application. I will not be able to verify these for you.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    1. I completed learning cycle on this pack. and actually it is not a new pack. it assembled completely once, and be written previous gg file(have some problems with SOC jump). and we start again learning cycle in bqSW program with default dfi file.

    2. i searched my previous post with you, i could not find about Ra tables have large resistances. could you explain more about this?

    3. protections/battery specifics what you said means like undervoltage/overvoltage protection and capacity, charging current and so on?

    Best regards,

    Chase

  • Hello Chase,

    In your .gg file the Ra table has the largest Ra values I've seen:

    [R_a0(Ra Table)]
    Cell0 R_a flag = 0000
    Cell0 R_a 0 = 841
    Cell0 R_a 1 = 869
    Cell0 R_a 2 = 1091
    Cell0 R_a 3 = 973
    Cell0 R_a 4 = 969
    Cell0 R_a 5 = 1409
    Cell0 R_a 6 = 6666
    Cell0 R_a 7 = 7724
    Cell0 R_a 8 = 8159
    Cell0 R_a 9 = 9161
    Cell0 R_a 10 = 9653
    Cell0 R_a 11 = 12521
    Cell0 R_a 12 = 16198
    Cell0 R_a 13 = 17591
    Cell0 R_a 14 = 17591

    It looks like not all the Ra values were updated, did you upload a golden image or just run a learning cycle after the pack had been in the field?

    Right, anything that is based on your system like undervoltage, overvoltage, overcurrent, etc.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    thank you for your reply.

    in fact i just run a learning cycle after the pack had been in the field.

    and that pack had previous golden image(that have a problem with SOC calculation).

    anyway if it looks like not all the Ra values were updated, should we do learning cycle from the beginning? or do i have another way to fix it?

    if yes, can you guide me about the expected range of Ra values?

    Thank you in advance.

    Best regards,

    Chase

  • Hello Chase,

    I would recommend uploading the original golden image to the gauge again when a new battery is connected to reset all the parameters.

    Here's some values that are more common for the gauges:

    103 2^-10ohm
    174 2^-10ohm
    179 2^-10ohm
    190 2^-10ohm
    193 2^-10ohm
    158 2^-10ohm
    165 2^-10ohm
    172 2^-10ohm
    167 2^-10ohm
    164 2^-10ohm
    205 2^-10ohm
    247 2^-10ohm
    289 2^-10ohm
    665 2^-10ohm
    908 2^-10ohm

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    i am sorry that i have too many questions, cause this is the first time of my learning cycle, both me and my customer.

    1. what do you mean "original golden image"? is it the golden image which i first uploaded to my battery?

    if so, i think there is also have a problem with Ra tables. please check the file below.

    C3_150325.zip

    2. if i modify some parameters in gg file such as CUV threshold, CUV recovery, Cell Shutdown Voltage, then should I do learning cycle again from the beginning? or just modify and upload it directly to the battery?

    3. is there any default gg file that have only initial data of the pack, and default Ra table? how can I get it?

    please check this issue. Thanks.

    Best regards,

    Chase

  • Hello Chase,

    Yes it would be the original file uploaded to the gauge, I'm assuming this packs has been in production since the gauge is older and the bq40z50-r3 is the newer equivalent gauge.

    You don't need to rerun the learning cycle, the learning cycle just updated he Ra and Qmax values.

    You should be able to upload a default DF configuration in the evaluation software.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    Thank you for your reply.

    1. could you explain more about Ra tables? what is the function of Ra table and what would go wrong if all Ra tables are not updated?

    if you have a document about it, please attach it.

    2. can I make a golden pack with only basic parameter (voltage, current, cell structure, etc) and default DFI file, without learning cycles?

    Best regards,

    Chase

  • Hello Chase,

    You can reference the material we have on Impedance Track. The Ra table is important for how we calculate the capacity of the cells. SLUA450 is a good reference.

    The learning cycle is require for proper gauging.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    long time no see.

    my customer did another learning cycles again, and made new gg file.

    could you check this gg file is good or not?

    C3_210303.zip

    and i check the Ra tables you said, it definitely changed(actually all values are reduced) after 2 learning cycles from default values.

    but i still don't know, how can I verify that all Ra values are not updated? can you give me some advice for this?

    and I have one question, can I rest more time after the value is changed enough for nest step during leaning cycle?

    cause as you know, learning cycles need a lot of time, especially in the end of each step we have to wait to see the changes of some parameters, and need more time if that time is middle of the night. we can start next step in the morning.

    please check these issues. Thanks.

    Best regards,

    Chase

  • Hello Chase,

    It looks like cell3 resistance values have updated but the others are the same as before. Do you have any logs of the learning cycle/schematic of the connections?

    It's strange that only one cell has updated.

    It is okay to let it relax longer than specified, that's just the minimum.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    Here is my log during learning cycle. could you Please check it?

    EGEN_210304.zip

    Best regards,

    Chase

  • Hello Chase,

    The learning cycle looks successful, MaxError is set to 1% meaning both the Qmax and Ra updated. You can use the Ra table calculated for the single cell in place for the other cells as well, or they will update over time.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    we are still in testing with latest gg file, but have some troubles.

    1. we tried several times to get chemistry id, but we had each different id we have tried. what do you think is the reason? and can I use anything of them? (we got 1169, 1229, 3589, 2032. they have different capacity.)

    2. after I write latest gg file, each cell capacity is like the picture below;

    after 2 hours later, the cell capacity changed. not similar, each have so different values.

    why is it happen? did I something wrong while I do my learning cycle?

    3. last time you said about using Ra table  for single cell to another. is it mean that I can copy the Ra table to another cell with same value?

    4. how did you calculate MaxError set to 1%? is it from learning cycle data or gg file?

    5. this is silly question, but i am asking you. we have just 3 cells in serial. but I can see the Cell0, 1, 2, 3 in gg file. is it normal?

    I am sorry for too many questions. please understand that this is our first learning cycle.

    Best regards,

    Chase

  • Hello Chase,

    You should use the chem ID recommended by the GPCCHEM tool. It should only recommend 1 chem ID with the best match, this should be used.

    Your cells are very imbalanced, they should not become that imbalanced from 2 hours of rest, do you have a load on the pack?

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    1. of course I got one chem ID if I upload same data, but I did several learning cycles to make gg file in bq evaluation software (old version), they have little different results each. and every learning cycle got different chem ID. i am little confused what should I use,

    2. I did not connect the load on the pack. just upload new gg file, and rest 2 hours. what should I doubt? schematic or the process of learning cycle? or something else? 

    3. could you answer for rest of my questions?

  • Hello Chase,

    The learning cycle is done after the chem ID is found, the data submitted for the chem ID is different than the learning cycle and should be completed before the learning cycle. During the learning cycle the chem ID found by GPCCHEM should be uploaded.

    The .gg file does not contain the chem ID data, that needs to be within the .senc, .srec, or bq.fs.

    Your cells should not be that unbalanced from one cycle, there may be something wrong with your connections.

    MaxError is reset after Qmax and Ra, check the TRM for the conditions.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    I made new gg file with my customer. could you check this gg file is okay?

    EGEN_210406.zip

    I also attach chemID report. please check it too.

    EGEN_210325-report.zip

    Best regards,

    Chase

  • Hello Chase,

    The chem ID report looks like a good match.

    It is hard to check a .gg file for all your settings because it depends heavily on your application. As I mentioned previously it is strange that not all the cell Ra tables updated, if they are all new cells those should've been updated as well, you can set the other cells to the same values as in Ra table for cell 3 to make sure everything starts with similar resistance.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    Thanks to your support.

    you mean that I can use R_a3 (Ra Table) for all the Ra Tables?

    [R_a3(Ra Table)]
    Cell3 R_a flag = FF55
    Cell3 R_a 0 = 88
    Cell3 R_a 1 = 91
    Cell3 R_a 2 = 102
    Cell3 R_a 3 = 99
    Cell3 R_a 4 = 97
    Cell3 R_a 5 = 103
    Cell3 R_a 6 = 107
    Cell3 R_a 7 = 124
    Cell3 R_a 8 = 131
    Cell3 R_a 9 = 147
    Cell3 R_a 10 = 155
    Cell3 R_a 11 = 201
    Cell3 R_a 12 = 260
    Cell3 R_a 13 = 413
    Cell3 R_a 14 = 1068

    Can I apply this values to Cell0~2 and xCell0~2? all the same values?

    how about each R_a flag? should I leave this value as its original value? or should I change it all the same as FF55 which mentioned the table above?

    please check this issue. Thanks

    Best regards,

    Chase

  • Hello Chase,

    The only way some of the cell tables could be this high is from trace resistance or interconnect resistance which seems unlikely. It should be applied to all the tables if all the cells are new. The gauge will re-learn the values if they are slightly different for the specific cell.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    I am very sorry, but I cannot understand clearly what you said.

    you mean that I can use R_a3 (Ra Table) for all the Ra Tables? or should I do learning cycle from the beginning?

    please check this issue. Thanks.

    Best regards,

    Chase

  • Hello Chase,

    Yes, fill in the other table values with the cell 3 table, the gauge will learn the resistances further in the field.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    I am sorry, I have one more question.

    how about the R_a flag in each field? should I enter the same value as cell 3 value(FF55)? or should it remain as each original value?

    Best regards,

    Chase

  • Hello Chase,

    Leave the flags as-is. The flags indicate which resistance table is active in the algorithm and don't need to be modified.

    Sincerely,

    Wyatt Keller 

  • Hello Wyatt,

    we tested the modified gg file as you suggested, the capacity seems about half compared to normal. (about 1318mAh)

    left picture is writing modified gg file(capacity is 1318mAh), right picture is writing gg file which just set the default, not did learning cycle. (stopped right before learning cycle, and made gg file - capacity is 2459mAh)

    could you advice something for this matter?

    Best regards,

    Chase

  • Hello Chase,

    When you changed the Ra values the FCC dropped? The one with more capacity is with the higher Ra values?

    Reducing the Ra values should increase FCC because there is less resistive losses during discharge. FCC is based on a simulation using application current and Ra values.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    When you changed the Ra values the FCC dropped? The one with more capacity is with the higher Ra values?

    => yes, I changed Ra values as you mentioned, and wrote it to new battery, FCC dropped as the screenshot.

    Can you guess what is the reason?

    Best regards,
    Chase

  • Hello Chase,

    Something else must've occurred, with lower Ra values the FCC should not decrease. When you perform a cycle afterwards does it correct to the expected operation?

    As I mentioned before it should be fine to use the values right after the learning cycle you did, the Ra values will get updated as the battery cycles.

    Sincerely,

    Wyatt Keller