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.

AutoCycle BQStudio

Other Parts Discussed in Thread: EV2400, BQ40Z50, BQ78350, BQSTUDIO, BQ40Z60, GPCCHEM, GPCRA0

Do not search any discription of using AutoCycle in Battery Management Studio 1.3.40.

I made circuit what control charger and load in 2 pin mode. Then I select appropriate controlling pin, it turn on/off charger or load.

When I start AutoCycle it is only fixed  condition of selected pins.

Required some discription of logic operation. How it works?

  • Evgeniy,
    Which gauge device are you working with and are you using the EV2300 or the EV2400 adapter?
    Tom
  • I am using EV2300. I2C_VOUT for load enable and I2C_SDA pin for charger enable. I'm working with bq40z50.

    Then I select at menu AutoCycle>>2 Pin Contorl>>Enable Load - it works, and AutoCycle>>2 Pin Contorl>>Enable Charger - it works too.

    But AutoCycle>>Start AutoCycle only keep selected state of load and charger.

    How to use AutoCycle?

  • I found that the program could not switch the I2C outputs, but it could switch the HDQ output in the AutoCycle mode.
  • I need a description of the logic of the program in the AutoCycle mode, even for HDQ output.

  • Evgeniy, I'm facing the same problem, however i'm using the BQ78350.

    How did you solve it?

  • I've never been able to control charging and discharging (for Autocycle or Learning Cycle) via bqStudio with an EV2400 as inferred in bqStudio for automation. My current setup is bqStudio 1.3.45, EV2400 w/ 0.18 firmware. None of the EV2400 outputs toggle (I2C | HDQ [VOUTx].
    bqStudio will always report "Communications error" or "Error in setting pin voltage" or "EV2X00 operation specified is not supported"

    Questions:
    Is bqStudio able to control the EV2400 with these operations?
    Is there any documentation on how to setup, control and run Autocycle or Learning Cycle?
  • I have the same problem.
    bq Studio 1.3.42
    EV2400
    bq40Z60 eval board
    Learning Cycel "automated mode" not possible
    Error: "EV2X00 operation specified is not supported"
    @ ThomasCosby - no idea?
  • Hermann,
    The Autocycle feature is not supported using the EV2400, but i found it to work using the EV2300.
    Tom
  • THX - we will buy a ev2300

  • I have not solved this problem. I switch cycles manually, but I set the remote access server, and can switch between cycles is the working time from home.

  • Hello,

    Same problem with EV2300 and BQ40Z60.

    I wan't to make a Automated learning cycle.

    So I test output pin for verify voltage :

    I2C.VOUT is OK (toggle beetween 0 and 5Vdc)

    I2C.SDA & SCL don't toggle (always about 0V)

    HDQ.HDQ don't toggle (always 3.3Vdc)

    Is the EV2300 able to do automated learning cycle??

    Regards,

  • Dear Team,

    could you please help this customer?

    Thanks a lot in advance for your help.

    Best regards,

    Massimiliano De Cristofaro
    Application Support Engineer - Power Management
    ASKTEXAS DiamondLane – EMEA Distribution Support
    Texas Instruments Deutschland
  • Dear team,

    any news?

    Thanks a lot.

    Best regards,
    Massimiliano
  • I've find a method for learning battery to the BQ40Z60 :

    Configure the dataflash with appropriate parameters suitable for customer's application; configure pack's chemistry and perform calibration.
    Activate impedance track.
    Charge the pack to charge termination.
    Allow the pack to rest until the REST flag sets.
    Discharge the pack at a C/10 to C/5 rate to the Termination Voltage.
    Allow the pack to rest until the REST flag sets. Qmax should update and Update Status should increment to 05.
    Fully charge the pack to charge termination.
    Allow the pack to rest until the REST flag sets.
    Discharge the pack at a C/10 to C/5 rate to the Termination Voltage.
    Allow the pack to rest until the REST flag sets. The Ra table should update and Update Status should increment to 06.

    On BQ40Z50 forum :
    e2e.ti.com/.../1546915

    But I'm still interested in automated learning cycle with EV2300, because i could use it for battery endurance test.

    Regards,

    Hubert
  • Hubert

    The optimization cycle procedure looks good. I tested the Automated control signals on the bench and found the I2C:VOUT and HDQ:HDQ options to work, but the I2C:SCL and I2C:SDA signals did not toggle. I will submit as error report to the tools team. I am not sure why the HDQ:HDQ output does not toggle on your EV2300. Are you sure that you are looking at pin 3 on the HDQ connector? Pin 4 (VCC) does remain at 3V. What version of bqStudio are you using? I am using v1.3.52.

    Tom

  • Hello Tom,

    I've retried on V1.3.52 (1st post was on older version).
    Same result, I2C.VOUT toggle between 0 and 5V.
    HDQ.HDQ (pin3) stay at 3.3V, as HDQ.VCC (pin4) does.
    I've also tried to change between load and charge control pin, in case of bug in BQstudio : don't change anything.

    Could be an EV2300 Firmware issue?
    Don't find some update on TI website...

    Rgds,

    Hubert
  • my version is 3.1c...
    So seems to be quite old.
  • You could try updating the EV2300 firmware. Onyx posted the updater on this link.

    e2e.ti.com/.../1954464
  • OK... but the problem is that I need a 2nd EV2300 for updating the 1st one... :S
    I'll check with my FAE, if he can lend me one...
  • Waiting a solution for automated cycle, I'm following your procedure : e2e.ti.com/.../1546915
    So I could evaluate other function (Gauging, cell balance,...).

    How many time does it take to go in rest?
    (Seems to be 10min after full charge, but it's been more than 45min since full discharge).

    Could those rest delay be modified with bqStudio?
    (I've modified in Data Memory-> Gas Gauging - > Current Threshold : "Dsg Relax Time" to 10s and "Chg Relax Time" to 60s, but don't seems to be that...)
  • Hello Tom,

    First, my FAE send me an other EV2300, so I could try to upgrade FW next week.

    Then, my board don't seems to go in rest state after waiting a night+morning (state time is more than 81000s). So I can't finish the manual learning cycle.

    You'll find a brief log and .srec here:

    5545.bqstudio config.zip

    Last, I have a doubt for the final product, when reading your learning method.

    Does this learning have to be done on each board ?

    Or is it possible to do the learning on one board, then making a firmware that we can use on other board, so they keep the learning of the 1st one?

    The problem is that the pack output current is less than C/10 (C=500mA, Current=24mA). And the product is aimed at never be completely discharged...

    Regards,

    Hubert

  • Hebert

    I have not used the Learning Cycle plug-in in bqStudio, so I cannot comment as to how well it works. I would recommend using the procedure that I presented in this e2e posting.

    You just have to run this procedure on one pack and then create a Golden file to use to program packs in production.


    You will have to meet the C/10 discharge requirements for Ra table learning to occur and you will have to do full discharges during the Optimization cycle for it to pass.


    I have a concern about using the bq40z60 for low charging current applications. The low charging current regulation accuracy is not too good on the charger. Have you verified that the charger runs properly with your setup?

  • Tom,

    It's what I'm trying to do at the moment : following your BQ40Z50 procedure.
    points 1 to 5 are OK.
    Now, I've been waiting for the point 6 ("Allow the pack to rest until the REST flag sets. Qmax should update and Update Status should increment to 05") since yesterday... but no REST flag..?
    Is there something I've missed?
    It's why I've asked those questions about rest time.

    Good news, so it's OK for production with golden image!
    (question : golden image is same or different than firmware (.srec file)?)

    24mA is the current of the system.
    The charging current is fixed to 350mA and seems to be sufficiently regulated (I can send you a log if you want..?).

    Hubert
  • The REST flag should have set by now. Please send the log file and I will check it.
  • I've posted it 3 message up (a zip file with a brief log and the .srec)
  • Unfortunately, that log data does not provide much help. You should log continuously when running the optimization cycle to provide data to analyze a problem. The data can also be used to verify that you have a good ChemID match as a poor match will also cause the cycle to fail. Do you have a log file for the full optimization cycle?
  • I've not run a log through the entire process.

    Just run some log at relevant moment (5 log in the zip file, the first is 160823_01 (charging at 300mA) the last is 160826_05) :

    3487.bqstudio config.zip

    I'll try to run a full log on Monday.

    Rgds,

  • I tried piecing two of the files together to get a complete run and submitted it to the GPCCHEM tool, but the discharge rate was too high and the tool rejected the data.
  • It was about C/4 and need to be between C/10 and C/5, I'm right?
    So I will run a new complete test Monday with good discharge rate.

    My battery supplier has confirmed me that it's a standard lithium battery (LiCoO2 cathode/ graphitized carbon).
    So It seems that it's OK with default Chem ID.
    But default chemID for bqstudio is 0x0100 and for BQ40Z60 it is 0x1210.
    What is the good default chemID for running my next run? (precedent run was with bqstudio default=0x0100).

    Rgds,
  • It is not that easy to guess what ChemID will work for your cell. You can run the GPCCHEM test with any ChemID loaded, but the optimization cycle has to be run with a ChemID that is a good match for your cells. If you collect the charge-rest-discharge-rest data for the optimization cycle and it fails, then that data can be used to submit to the GPCCHEM tool to find a ChemID and it can also be submitted to the GPCRA0 tool to calculate the Ra table and Qmax without rerunning the optimization cycle.
  • I have not used the Learning Cycle plug-in, but I think that it looks for the OCVTAKEN flag to determine the length of the rest period.
  • Hello Tom,

    I've done the GPCCHEM test and had the test result in attachment.

    If I understand the report, I have 2 choice :

    - use the ChemID 1245 with 3.21% of deviation

    - send the cell to dallas for new ChemID with less than 3% deviation.


    Nota : this time the rest flag was ok for charging and discharging.

    Rgds,

    160831 - cycle ChemID - PD502540-report.zip

    160831 - cycle ChemID - PD502540.zip

  • That ChemID result would be considered marginal. You could try discharging at a C/10 rate to see whether it can find a better match. You can also send cells in for characterization. Please provide an email address and I can send the information to submit cells.
  • Hello Tom,

    First, it's OK for the EV2300 : with new FW, the 2 output HDQ.HDQ and I2C.VOUT are OK for controlling 2 relays.
    I don't achieve the learning cycle because of a "[QEN: not set] [RUP_DIS / RDIS Not clear]" problem... I will try to resolve that problem later.

    I've compared 5 (identical BOM) prototype boards and it seems that there is some current accuracy problem, as you talk about on your "Aug 26, 2016 3:39 PM" post.

    It seems that the current is +/-40mA. It's not a big problem for 350mA charging current, but it is for 35mA precharge current...
    So I'm trying to put some bigger sens resistors. For measuring pack current, it seems that 50mOhms should be a good value and for charge current 100mOhms.
    But first problem is that I'm not allowed to put more than 37mOhms in BQstudio Data Memory -> Calibration -> CC Gain.

    What are the sens resistors maximum value?
    Do you have some advise for low current application?

    Regards,

    Hubert