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.

BQ40Z80: Learning cycle procedure values confirmation

Part Number: BQ40Z80
Other Parts Discussed in Thread: GPCCHEM, BQSTUDIO

Hello Team ,

i am using sony Lion cell battery for my learning cycle, US18650VTC5A .

Flashed the chemid  and  configure the paramters.

Could you please confirm whether these parameters are  enough for my learning cycel any updation is required or not ?

Charge term taper current : 140 MA

Dicharge current Threshold : This is the current threshold above which the gauge detects that it is in discharge mode :  30MA

Chg Current Threshold : This is the current above which the gauge detects that it is in charge mode  :         40 MA

Quit Current : This is the threshold that determines that the gauge enters relax mode : 15MA

Term voltage : 3x3v = 9v

Design Voltage : 3 * 3.6 v = 10.8 V

Design capacity : 2600 MAh *3 = 7800 MAh

  

  • Hello Mohan,

    Our guides for how to complete a learning cycle have all of the criteria for how to set these values based on the C rate, please use them as your guide: https://www.ti.com/lit/pdf/slua848

    Design capacity is only multiplied by the number of parallel cells.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt ,

    thanks for your reply.

    I just started the learning cycle , discharging is completed REST bit is set so i just put the charging after charging FC bit and VCT bit also set , then i put relax mode for the day.

    i here by attach my log , for your refernce , could you please verify whether up to the level my process is success or not. ? waited up to 2 hours REST bit is not set after 2 hours , hope it will set whether any mistake i did in the steps , please verify my logs and let me know.

    64157.log.zipBqlog.log

  • Hello Mohan,

    It looks like you did get a valid DOD0 update at fully discharged, but the gauge did not update at fully charged relaxed state. Make sure there is no current flowing in your system so the voltages can stabilize, in your log there is always 10mA discharge - that is not good for learning. It also doesn't look like you relaxed 2 hours after charge, the log stops at about 1.5hrs after charge, with the constant load you're applying you will probably need the full 2 hours for OCV.

    Make sure you are charging to the full voltage of the battery spec - not your system, otherwise you will not meet the 90% change in DOD needed for the first Qmax update.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt ,

    Friday i put the board for Relax mode after discharging while i came back on monday (Today ) mng  REST bit is set . but L status is not changed to 05, still it is in 04 (The battery dropped its charge to 11.5 V from 12.5). Eventhough i just started the battery put discharging (C/5 rate ) . After the discharging RELAX bit is set but L status not changed . Friday leaving time i took the PC so i cant log  the balance log . Today i just started from the dischagring state.

    I am sharing the logs with you . Could you please check and help me why the L status is not changing eventhough REST bit is set ??

    Could you please help me find out  what mistake i did in procedure ?

    Let me know is there any issue in my configured parameters.?   (now i completed discahrge - relax-charge-relax- doscharge- relax) procedure.

    Log.rar

    Charge term taper current : 140 MA

    Dicharge current Threshold : This is the current threshold above which the gauge detects that it is in discharge mode :  30MA

    Chg Current Threshold : This is the current above which the gauge detects that it is in charge mode  :         40 MA

    Quit Current : This is the threshold that determines that the gauge enters relax mode : 15MA

    Term voltage : 3x3v = 9v

    Design Voltage : 3 * 3.6 v = 10.8 V

    Design capacity : 2600 MAh  (serially connected 3 Cells)

  • Let me know why my Ra_Table is not updated properly.??  This is my BMS circuit diagram please identify the issue ,our project is in last phase

  • Hello Mohan,

    Update status from 0x04 to 0x05 indicates a Qmax update, not an Ra table update. For Qmax update you must have 90% change in DOD between the two relaxation periods when the gauge takes the OCV and updates DOD0. 

    The log is not a full log, I cannot determine any issues from it since it is only showing about 1.5 hours after discharging stopped.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt ,

    why my Ra table is not updated . Can you check my attached log , this is my 2 nd stage discharge cycle log. Could you please check and let me know why the Ra table is not updated in the charging cycle.

    8407.Log.rar

  • Hello Mohan,

    You must get a Qmax update before the Ra table will update, make sure to follow the learning cycle guide that is linked on the other threads. You are not following the correct procedure outlined in SLUA848.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt ,

    Please confirm the procedure . This is the procedure i am following if any correction is required let me know ?

    In first discharging when i am sending the RESET command VOK bit will clear automatically is that one will be any problem ?

     

    1. Flashed the ChemID
    2. Configure the parameters required for our learning cycle.

     

     

    Parameter

    Default value

    Changed Value

    Remarks

    IT Cfg

    Term Volatge

    8995

    9000

     

    Current Thresholds

    Dsg Current Threshold

    240

    30

     

    Current Thresholds

    Chg Current Threshold

    1000

    40

     

    Current Thresholds

    Quit Current

    100

    15

     

    Design

    Design Capacity mAh

    -32512

    2600

     

    Design

    Design Capacity cWh

    12544

    936

     

    Design

    Design Voltage

    768

    10800

    3.6 *3 = 10.8

    Termination Config

    Charge Term Taper Current

    1980

    140

     

     

    1. Started with Discharging procedure.  
    2. Send CHG_FET_TOGGLE and DSCHG_FET_TOGGLE Command until CHG and DCHG bit are red.
    3. Then send GAUGE_EN bit  IT status changed to 04
    4. Send RESET command  that time VOK bit is cleared and RDIS flag is set
    5. Connect the setup to load setup ( C/5 ration is taken as discharging Rate  2600Mah/5 = 0.520 Ma)
    6. Enable the DCHG_FET through the DCHG_FET_TOGGLE Command
    7. Discharge the battery until until the voltage at the top of stack reaches the Term Voltage and gauge report 0 %.
    8. FD bit is set when fully dichagred
    9. Turn off the DCHG_FET
    10. Relax mode (5 hours recommended)

        

    1. Wait until REST bit is set (we got the bit in within 1.5 hours)

     

    1. Put the battery in Charge Mode

     

    1. Set the power supply voltage as 12.6 V (4.2 *3 = 12.6v) and Current 1.3A (C/2 ratio recommended 2600/2)
    2. CHG_FET is on
    3. Wait until  the battery is report 100% and FC bit and VCK bit set  
    4. Turn off CHG_FET
    5. Put Relax mode (2hours recommended)
    6. Wait until REST bit is set
    7. IT status changed from 04 to 05

     

    1. Put  the battery is again in discharging and Relax mode again.
  • Hello Mohan,

    A reset will clear VOK since the DOD is no longer valid for Qmax.

    The procedure looks mostly correct, you do not need to manually control the FETs if you have the protections enabled and configured properly, you can just sent the FET_EN command and let the gauge control them.

    I'm not sure why, but the default values in your table are completely incorrect, I'm not sure if this is due to some kind of corruption or incorrect programming.

    Make sure you are charging to the max voltage for the batteries, not for your application, otherwise Qmax will not update since the gauge requires a 90% change in DOD.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt ,

    Thanks for your reply , the default which is after programmed the chemistry id , these values is updated .

    I hope these default values as updated as per my chemistry id of battery whether I need to change this one or not ? Can I kept it as same.?

    I have one more doubt what u meant you are charging the battery to max voltages not for your application , my battery capacity is 4.2   (3 cells are using ) 

    4.3 * 2 = 12.6 v  , let me know u are telling the battery need to charge up to 12.6 voltage  , am I right ?

    I will set 12.6v and 1.3 Amps in power supply and charging the battery  , my procedure is correct or not ?

    One more doubt in relax mode whether I need to turn off FET_EN bit  ? Or can I keep the FET_EN bit as high in  the entire learning cycle ?

    please reply  , it’s an urgent post

  • Hello Mohan,

    The values shouldn't be updated based on the chemistry ID you uploaded - they should be based on your actual battery. The chem ID matched with GPCCHEM may not have the same capacity as the chem ID programmed.

    Some applications will charge a cell capable of 4.4V to 4.2V instead to increase battery life. This will cause the learning to fail since the chem ID is based on the full range of the battery voltage. That is why I mentioned this since it's the most common reason for learning to fail.

    If you charge with 1.3A make sure you have the taper set to C/20 so the cells get charged to full.

    FET_EN can stay active the whole learning cycle, it does not have to be only one section. Just make sure you have configured and enabled the correct protections.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt ,

    whatever the cell is using Sony  US18650VTC5A , it’s chemistry id is 2161 is already available in BQStudio, I flashed the chemistry id , that time these values are updated. So I hope I don’t need to update these values. Can I keep these values same. 

  • I will make clear my questions  after the chemistry id flashing whatever the value is updated in my fuel gauge flash memory I don’t want to change for my learning cycle ??

    am I right ????

  • Hello Mohan,

    The battery has a max charge voltage of 4.2V, so your setting should be fine. It's terminate voltage is 2V though, so you may need to discharge lower than 3V in order to get 90% change in DOD.

    Uploading the chem ID shouldn't change anything in your data memory that you would need to edit. It should not modify the Chg Current Threshold, Dsg Current Threshold, ,Quit Current, etc. Only the Ra table and other hidden parameters that are proprietary. 

    Sincerely,

    Wyatt Keller

  • Hello Wyatt ,

    I started  learning cycle as per your instruction ,  but REST bit is not set after discharging , Could you please check the log and let me know what was the issue .

    Discharging_log.rar

  • Hello Mohan,

    There should be 0mA flowing when the cell is relaxing, you cannot have current flowing in your system when the cell voltage is trying to stabilize for an OCV measurement. From the log shared you have almost 20mA flowing when there should be none during relax state. The reason you're not getting the REST set is because you have quit current set to 15mA, but your relax current is 18mA - you never leave discharge mode. The gauge will not take an OCV while is discharge mode.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt ,

    Thanks for your reply, i have started the learning cycle  and the value is updated 0x06 in IT status .

    I have few questions regarding the learning cycle . for the below line for updating L status to 0x0E , can i need to do again one more Charging with C/2 ratio- 2 hours relax - Discharge - 5 hours relax  for updating L status to 0x0E. What is the usage for this ? 

    . "When the packs are deployed in the end equipment and a field update occurs, the LStatus() updates to 0x0E, which means that cell balancing has been enabled"

  • Hello Mohan,

    The intention is so the gauge will not start to cell balance until the pack has gotten a new Qmax update while in the field, this is to ensure is does the proper cell balancing. You should be able to get another Qmax by relaxing after the discharge, charging, then relaxing again. Another discharge isn't needed to get a field Qmax update.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt ,

    Thanks for the reply.  IT status  0x0E will update after the charging and 2 -hour relax ,but as per the belwo document need to do again discharging  ? what  procedure is need to follow for IT status change to 0x0E . Whether the charging and relax is enough or need to discharge also ? Could you please confirm.

    One more doubt  as per the below statementhow can i set the L status to  2 ??   whether it is necessary ????  whether this setting is necesaary for cycle count starts from 0. Could you please help me before exporting how can i set the L status to 2.

  • Hello Mohan,

    A normally Qmax is required after the initial learning for update status to go from 0x06 to 0x0E. All you need is a 37% change in DOD between two valid OCV measurements - the TRM outlines the conditions for a Qmax update so any time those are met then it will update, it does not require a discharge, the two OCVs can happen between a charge or discharge.

    Update status can be set to 2 if your host will send the IT enable command once it's deployed in the field. It's not a requirement. I would reset any lifetime data if it was on from learning along with the cycle count for the golden image as the guide recommends.

    Sincerely,

    Wyatt Keller

  • hello Wyatt ,

    sorry i didnt get you , after updationg 0x0E , can i export .srec file from our board  hope that one is my golden image . i can use that image for my other board also.

    i didn't get you how can i save the IT status as 2 before exporting the golden image . Could you please help me.

    if my understanding i wrong please correct it.

  • Hello Mohan,

    You should leave update status as 0x0E because the gauge will attempt to cell balance immediately. The gauge should have one Qmax update from the pack it is actually attached to, not the pack from the initial learning. This is just for optimal results.

    You can either leave update status at 0x06, or if you leave it at 0x02 then your host will need to send IT enable when it enters the field so the gauge starts running the actual impedance track algorithm.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt ,

    I need one immediate help from your side . Charging the L tstaus value changed to 0x05 , but after discharge relaxing it wont changed to 0x06.Could you please help why the issue was happened.Discharge L status is 0x055 hours relaxLog_23_12_18_16.gg.csv

  • Hello Mohan,

    It looked like from previous conversations you had completed learning, only one learning cycle is needed to create the golden image. If this is a new battery could you share the log along with the .gg from before and after?

    Sincerely,

    Wyatt Keller