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.

BQ40Z50-R2: BQ40Z50-R5

Part Number: BQ40Z50-R2
Other Parts Discussed in Thread: BQPRODUCTION, BQSTUDIO, ADVANCED-BQMTESTER, BQMTESTER, BQ40Z50, MKST-3P-ALT-EV2300, , BQ40Z50EVM-561

Tool/software:

Hello ALL,

Someone can help me ?

I would like to program a .srec file for the jauge BQ40Z50-R5 jauge through BqProduction but it's not working and i don't understand why.

Attached, you will find screenshots of the configuration of the jauge with BqStudio. => Registers - Data Memory.

Then, you will find screenshots of the version of BqProduction, Station Setup, Select device and VTI config.

To finish, you will find the log file when i try to push on START.

Fisrt of all, i don't know if i need to connect the ADVANCED-BQMTESTER board evaluation just for a programming ?
Then i don't find in the device list the good reference of the jauge BQ40Z50-R5. I need to uploaded an other version of BqProduction ?
AT the end, i have no information inside the log file, what is the issue ?

Thanks for your responses.

  • Serial Number : Station Name : Test Number : Test Return Code: Timestamp
    
     -----------------------------------------------------
    
    Serial Number : Station Name : Test Number : Test Return Code: Timestamp
    
     -----------------------------------------------------
    
    

  • Hi Nicholas,

    To confirm, are you able to program the gauge when using bqStudio alone? 

    Fisrt of all, i don't know if i need to connect the ADVANCED-BQMTESTER board evaluation just for a programming ?
    Then i don't find in the device list the good reference of the jauge BQ40Z50-R5. I need to uploaded an other version of BqProduction ?

    You should not need the ADVANCED-BQMTESTER board for programming. As long as the gauge is connected through EV2300 and is communicating properly, which seems to be the case through the images you have sent, then the gauge should be able to be programmed.

    AT the end, i have no information inside the log file, what is the issue ?

    If possible, can you please share the log file given?

    Regards,

    Anthony Baldino

  • Hello Anthony,

    The finality of my project is to program a .srec file for the BQ40Z50-R5 gauge through BqProduction and without ADVANCED-BQMTESTER board.

    Yesterday, i find a solution to program my BQ40Z50-R5 gauge throught BqProduction but only with the ADVANCED-BQMTESTER board.
    And i seen a difference between the programing with BqStudio and i don't understand why.

    In the same condition and with the same .srec file, after a programing with BqStudio , i have VBAT = 8422V and BAT gain = 49107.

  • And with BqProduction i have VBAT = 4198V ant BAT gain = 24473.

  • So, first, i would like to understand why i haven't the same value for VBAT and VBAT Gain.

    And after, i would like to know the solution to program without the ADVANCED-BQMTESTER board.

  • So, first, i would like to understand why i haven't the same value for VBAT and VBAT Gain.

    And after, i would like to know the solution to program without the ADVANCED-BQMTESTER board with BqProduction.

  • Other question, if i would like to use bq Tester StationSetup, bq MultiStation Tester or  bqTester, how or where i find my reference gauge inside this software. I don't find it below

  • Hi Nicholas,

    So, first, i would like to understand why i haven't the same value for VBAT and VBAT Gain.

    BAT Gain is a calibration parameter that is altered when voltage calibration occurs, which could be why there is a difference between the value that bqProduction is producing compared to bqStudio.

    And after, i would like to know the solution to program without the ADVANCED-BQMTESTER board with BqProduction.

    I do not believe it is possible to program without the BQMTESTER using bqProduction, however there is calibration functionality available through using bqStudio. More about this can be found in the document below:

    https://www.ti.com/lit/an/slua734a/slua734a.pdf?ts=1717610764002&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FBQ40Z50 

    Other question, if i would like to use bq Tester StationSetup, bq MultiStation Tester or  bqTester, how or where i find my reference gauge inside this software

    I do not believe that bq40z50 is supported for bqTester.

    Regards,

    Anthony Baldino

  • Hello Anthony,

    I understand well that the VBAT Gain parameter is altered when you do a calibration but if i do only a programming with BqProduction in the same condition and with the same material compared with BqStudio this parameter is modify anyway.

    Moreover, when i do a voltage calibration with BqProduction in the same condition and with the same material compared with BqStudio, this parameter is modified and not just a little, he is multiplied by 2.

    BqStudio: VBAT=8.422V and BAT gain=49107.

    BqProduction: VBAT=4.198V and BAT gain=24473.

    I don't understand why ...

    I'm agree with you about the compatibilty of BQ40Z50 with BqTester, i finded this information on other forum answer.

    Indeed, i do the same actions with BqStudio and BqProduction(Programming, VTI Calibration) but BqProduction is a better industrial solution to use by an operator. So it's necessary for me to understand what is the problem with BAT-GAIN and VBat with BqProduction.

  • I tryed with a lot of combinaison of action, with or without programming, with or without Voltage Calibration, ..
    But, whatever the action executed with BqProduction, 1 or more at the same time and even which have nothing to do with the VBAT GAIN, this parameter is systematically modified by BqProduction.

    I don't understand why ??

  • Hi Nicolas,

    Moreover, when i do a voltage calibration with BqProduction in the same condition and with the same material compared with BqStudio, this parameter is modified and not just a little, he is multiplied by 2.

    BqStudio: VBAT=8.422V and BAT gain=49107.

    BqProduction: VBAT=4.198V and BAT gain=24473.

    Just to confirm, what is the true reading from the gauge? Is the calibration from bqStudio or bqProduction the correct reading?

    When you are communicating to bqProduction, is the bqmTester board being used?

    Typically for calibration, we recommend preforming 20 tests on 20 different boards, averaging the calibration values, and using those values for the .srec that is programmed to the rest of the devices.

    Regards,

    Anthony Baldino

  • Hello Anthony,

    The correct calibration and reading is on BqStudio via BqmTester.
    Yes, the BqmTester board is connect for the two software.

    I know that is necesary to do the calibration on 20 pieces but the value of calibration on BqProduction is too far compared by BqStudio.

  • Hi Nicolas,

    Would it be possible to share the .gg file of the gauge settings being used in both of these tests? I would like to check there to see if there is a potential reason for this issue within the gauge settings.

    Regards,

    Anthony Baldino

  • Hello Anthony,

    I don't use a .gg file to do the programming, i use an .srec file.
    I think, it's the same data inside ?  See below.

    => modify .txt by .srec

    agl v1r4_0.gg.gg.csvAGL_V1R4_0.txt

  • Hi Nicolas,

    The .gg file of the gauge can be pulled in bqStudio by going to Data Memory and clicking Export seen below:

    Regards,

    Anthony Baldino

  • Hello Anthony,

    Attached, you will find the .gg file.

    agl v1r4_0.gg.csv

  • Hi Nicolas,

    Thank you for sending the functional .gg file.

    Is it possible to share the .gg file of the gauge with the incorrect BAT calibration so we can compare the two?

    Regards,

    Anthony Baldino

  • Hello Anthony,

    Below you will find the .gg.csv file after programming by BqProduction.

    agl v1r4_0_FAIL.gg.csv

    I don't understand why but after configuring only a SRecord Programming in BqProduction, push Save Configuration and push Configure VTI, i execute a Start Test sequence and at the end of this sequence, after the srec programming message, a message Calibrating in progress appears.

  • One precision concerning the wiring of my Tests with BqProduction, the calibrating board HP495, the probe MKST-3P-ALT-EV2300 and my Gauge BQ40Z50.

    I use only 2 elements so my wiring is:

    Calibration Board HP495 to Gauge Board
    - Pack- vers Pack-
    - BATT- vers 1N
    - CELL- vers 1N
    - CELL1+ vers 1P
    - CELL2+ vers 2P
    - SMbus vers SMBus

    Refi+ and Refi- vers Multimetre

    And i tryed with or without connexion between Pack+ gauge to CELL2+ with the same result.

  • Hi Nicolas,

    One precision concerning the wiring of my Tests with BqProduction, the calibrating board HP495, the probe MKST-3P-ALT-EV2300 and my Gauge BQ40Z50.

    I use only 2 elements so my wiring is:

    Calibration Board HP495 to Gauge Board
    - Pack- vers Pack-
    - BATT- vers 1N
    - CELL- vers 1N
    - CELL1+ vers 1P
    - CELL2+ vers 2P
    - SMbus vers SMBus

    Refi+ and Refi- vers Multimetre

    And i tryed with or without connexion between Pack+ gauge to CELL2+ with the same result.

    Based on this, I believe that most of these connections are correct, however I am slightly unclear of the orientation of these matches. If the left is the calibration board and the right is the gauge board, then that would confirm that the B- and 1N connections of the calibration board are going to 1N of the gauge board, which is correct. Can you please confirm this?

    Can you also confirm whether 4P and 3P are left floating, and the orientation of the PACK+?

    Regards,

    Anthony Baldino

  • Hello Anthony,

    Fisrt, i confirm B- and 1N of Calibration Board go to 1N of my Gauge.

    Next, on my gauge, VC4, VC3 and VC2 are connected together.

    On Calibration board HP495, 4P, 3P and P+ are floating.

    So, Pack+ of my gauge is not connecting to the Calibration Board HP495. is it normal ?

  • Hi Anthony,

    Do you know if a VI for Labview existing to communicate through MKST-3P-ALT-EV2300 to the gauge BQ40Z50 ?

    I would like to try if it's possible to do the programming and calibration by commands line throught LabView.

  • Hi Nicolas,

    So, Pack+ of my gauge is not connecting to the Calibration Board HP495. is it normal ?

    I believe that P+ of the gauge should be connected to the P+ of the calibration board.

    Do you know if a VI for Labview existing to communicate through MKST-3P-ALT-EV2300 to the gauge BQ40Z50 ?

    I would like to try if it's possible to do the programming and calibration by commands line throught LabView.

    I do not believe there is any supported resources for Labview with the MKST-3P-ALT-EV2300 and bq40z50.

    Regards,

    Anthony Baldino

  • Hi anthony,

    I thinks it's not possible to connect P+ of the calibration board to my gauge because on P+ of the calibration board you have 14.7V and it's not compatible with my configuration with 2 elements.
    That's why I never connected it.

  • Have you analyse the 2 .gg files ?
    Have you seen something false ?

    I'm still searching a solution to do programing and calibration in mass prodction but at this moment, i haven't any solution.

    BqStudio working but he is not automatable.
    Bqproduction not working for the programming. (Pb with Vbat Gain)
    Commands Lines not working with LabView and MKST-3P-ALT-EV2300 pour la calibration VTI.

    I'm in a dead end.

  • Hi Nicholas,

    My current idea of what is occurring is that the calibration board for some reason is not recognizing one of the two cells, hence why the VBAT and BAT Gain are exactly one half of what is being measured from bqStudio. While checking the .gg file for both the correct and failing situation, both had a DA Config representing that the correct amount of cells is being configured to the gauge, however I believe there is somewhere in the process that is changing this.

    When the voltage calibration is being done in bqProduction, is it being specified that there are only two cells being used?

    BqStudio working but he is not automatable.
    Bqproduction not working for the programming. (Pb with Vbat Gain)
    Commands Lines not working with LabView and MKST-3P-ALT-EV2300 pour la calibration VTI.

    When it comes to automating production, the most common process I have seen is using the .bq.fs (same information as a .srec file, but has each write formatted) and programming a controller to automate the process of sending the contents within this file. More information about this can be found in the document below:

    https://www.ti.com/lit/pdf/slua801 

    Regards,

    Anthony Baldino 

  • Hello anthony,

    Sorry for this long time to response.

    I don't found any parameter or configuration to precise who many cell we use in BqProduction with calibration board HP495.

    After analys of all development solution with my collegues, we decide to try with to automate the programming and calibration in line command throught LabView and the probe "MSK-SAI-001"but this developement take a long time.

    Thanks for your help.

  • Hi Nicolas,

    Thank you for the update, please let us know if there are any other questions regarding the bq40z50-R2.

    Regards,

    Anthony Baldino

  • Hello Anthony,

    My managers don't validate the very long estimate time to develope the VI on LabView to communicate between LabView and my gauge by command line.

    Moreover, in the production factory, we already use the Bqproduction software, so everyone know how it works and it's allready instal on a lot of computer.

    Therefor, i need your helpand that of all your team, to resolve the issue with the programming and calibrating with BqProduction in particular with the VBAT Gain parametre.

    For call, here is my configuration:
    => PC(Win11-Pro) + MSK-SAI-001 + HP495 + BqProduction.

    Thanks in advanced for your help.

  • Hi,

    Anthony is OoO, please allow me some time to look into this.

    Thanks,

    Evan

  • Hi Evan,

    To resume the situation, i would like to calibrate and program the jauge "BQ40Z50" in automatic mode with BqProduction, HP495 calibrating Board and "MKS-SAI-001" probe.

    Unfortunately, it's not working because when i do VTI calibrating and/or programming the jauge, the parametre VBAT Gain is not good. (With Bqstudio VBAT-GAIN arround 49000 and VBAT voltage is good, With Bqproduction VBAT-GAIN arround 24500 and VBAT voltage is not good)
    When i do only programming or only current calibration or only temperature calibration, the parametre VBAT-GAIN is modified.

    I verifyed all my wiring and all my parameter in BqProduction with Anthony and it's not working and i don't know why...

    I really need your help.

    GILBERT Nicolas.

  • Hi Nicolas,

    Sorry for the delay, can you please tell me what the orientation of the current jumpers are on the calibration board and if any different orientation have been tried? If so, were there any differences in the VBAT parameter created by bqProduction?

    Regards,

    Anthony Baldino

  • Hi Anthony,

    I tried with the three config of current and i obtain the same result.

    In the 2 cases, i used the same configuration (Power supplies, Board calibration, SmBus probe, ...) because when you push on Configure VTI you have the voltages on Cell1, Cell2, Vbat, Vpack,... See pictures.

  • Anthony,

    I tried to used bqTester or bqTester StationSetup or bqMultiStation Tester but my gauge isn't compatible with this sofware on the other hand i see on the config windows that is possible to configure the number of cells. Which is not the case on bqproduction.

  • I tried with the evaluation board bq40z50evm-561 with the configuration of 3 cells and 4 cells and i have the same result, the parameter Vbat is not correct.

    I am convinced that the problem comes from the BqProduction software.

  • Hi Nicolas,

    I tried to used bqTester or bqTester StationSetup or bqMultiStation Tester but my gauge isn't compatible with this sofware on the other hand i see on the config windows that is possible to configure the number of cells.

    This is correct, I do not believe bqTester supports bq40z50.

    After looking more into the ADVANCED-BQMTESTER, I see that this only supports the standard bq40z50 firmware and not the bq40z50-R5 firmware since this tool is no longer supported. This could be leading to some data flash mapping issues due to the different versions. Has the original bq40z50 firmware been attempted to see if this is able to mitigate the issue?

    Regards,

    Anthony Baldino

  • Hi Anthony,

    No, the original firmware for bq40z50 gauge not been attempted because i need the last version of firmware to use some of the new parametres.

    So, if i understood well, the last solution to automate the programming and calibration of the BQ40z50 gauge which I have not yet tried is to do it on the command line but for this I need to develop a VI on Labview to communicate via the "MKS-SAI-001".

  • Hi Nicholas,

    So, if i understood well, the last solution to automate the programming and calibration of the BQ40z50 gauge which I have not yet tried is to do it on the command line but for this I need to develop a VI on Labview to communicate via the "MKS-SAI-001".

    I believe so, I will reference the differences between the data mapping of the original firmware and the bq40z50-R5 firmware see if there are differences that could be causing this.

    Regards,

    Anthony Baldino