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.

BQ27426: Regarding bqStudio configuration

Part Number: BQ27426
Other Parts Discussed in Thread: BQSTUDIO

Hi Team,

Customer is using our bq27426 and tried to config CC gain and CC delta by bqStudio.

But seems like they encounted errors when config CC gain and CC delta. Could you please help to check and advise? Thanks.


We are using bq27426 and performing current calibration using bqStudio.

During calibration across multiple DUTs, we observed consistent results:

  • CC Gain converges around 0.0757 ~ 0.0777 (average ~0.076)
  • CC Delta converges around ~90k

However, when attempting to manually modify CC Gain or CC Delta in
Data Memory → Calibration → CC Cal, the write is blocked in all cases:

1. Direct editing in the bqStudio UI
An error message such as “Value is beyond minimum value defined for parameter”
is shown and the write is rejected.

 

2. Export → modify CSV → Import
The import fails and the parameters are not written.

 

Additionally, after attempting to modify CC Gain, any further attempt to modify
CC Delta results in a

“No acknowledge from device”
message, indicating the write is rejected at the device level.

As a result, CC Gain and CC Delta cannot be manually modified through any bqStudio interface.

Please refer to the attached screenshots:

  • Unable to modify CC Gain
    Unable_to_modify_CC_Gain.png
  • Unable to modify CC Delta
    Unable_to_modify_CC_Delta.png

Best regards,

Terry

  • Hello,

    This question has been assigned within the team and will be reviewed and followed up with a application engineer when possible. In the meantime please attach any associated .log/.gg files associated with the projects

    Thank you,
    Alan 

  • This is because bqStudio applies min/max thresholds to CC gain and all other parameters if you want to manually change them. If the calibration function calculates values outside this range then bqStudio will not enforce these thresholds.

    Are you using a very large sense resistor?

    You can read the 4 bytes for CC gain directly from data memory using advanced comm, which gives you the 4 bytes that correspond to the CC gain floating point value which was generated by calibration. And you can then write these 4 bytes back to a gauge in advanced comm (using the data memory write access sequence described in the TRM). This circumvents the min/max limitations.

  • Hi Dominik, 

    Ann account can't reply you. Please check our test. 

    1. How to read/write using Advanced Comm?

    I referred to Table 6-1 Extended Commands and Section 7.4.5.2.1 Coulomb Counter Sense Resistor (CC) Offset, Gain, Delta in the TRM, and followed the steps below in the Advanced Comm interface to try reading CC Offset, CC Gain, and CC Delta.

    a. Start Register = 61, Bytes to Write = 00 → Write
    b. Start Register = 3E, Bytes to Write = 69 00 → Write (Subclass 105)
    c. Start Register = 3F, Bytes to Write = 00 → Write (Block offset 0)
    d. Start Register = 40, Bytes to Write = empty → Read, Number of Bytes to Read = 32

    The following data was read back:
    00 00 0B D6 7D 1A F7 4D 91 30 51 20 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    How should this data be interpreted?
    Are there any issues with the steps above?

    2. Are you using a very large sense resistor?

    This is a follow-up question.

    During calibration, a DC loader was used to apply a 1 A current.
    After calibration, the CC Gain was approximately 0.2194, and CC Delta was 261754.4063.

    After applying the calibrated gauge table to our product with a 1S3P battery configuration, we found that the current reported by the gauge was approximately 3× higher than the actual measured current.
    Therefore, during calibration, the applied current was divided by 3 (i.e., 333 mA), which resulted in a much smaller CC Gain value.

    This behavior also seems unusual to us.
    Do you have any suggestions on this?

    cc   

  • CC Gain is at offset 4. The data from your example is 7D 1A F7 4D. This is the 4-byte hexadecimal representation of a Xemics format floating point number and equals 0.0756670013.
    The gauge automatically calculates CC Delta so you can ignore this. All you have to do is set CC Gain.

    You can convert between Xemics float and hex with this spreadsheet: 5504.Float.xlsm

    Writing values is a bit more complicated as you have to calculate a check-sum. You can either follow the example in the TRM https://www.ti.com/lit/ug/sluubb0/sluubb0.pdf, 4.1 Data Memory Parameter Update Example or use a whole block update as described in https://www.ti.com/lit/SLUA801

  • Calibration is independent of number of parallel cells. The gauge simply measures the voltage drop over the sense resistor and bqStudio calculates a CC Gain factor which converts the 16-bit integer result from the CC ADC to current in mA.

    There must be a calibration setup problem on your side where the current is off by a factor of 3.

  • Hi Dominik,

    Thank for your help, we can figure it now.

    We are currently using a gauge table provided by TI FAE based on ChemID 2141 as the baseline.
     
    Under the same sense resistor configuration, we performed calibration with a 1A load applied through the sense resistor, and no scaling(e.g. /3) was applied during calibration.
     
    After calibration, the changes in CC Gain/CC Delta appear reasonable and self-consistent.
    However, in system level, we still observe that the current reported by the gauge is slightly higher than expected.
     
    We would like to ask for your help to review whether, assuming the calibration itself is correct, the current-related parameters (e.g. current thresholds, taper rate, quit current) are configured
    appropriately, or if there might be any implicit assumptions or usage scenarios that we may have overlooked.
     
    For reference, we have attached:
    • "The original gauge table provied by TI FAE(ChemID 2141)"
    • "The calibration gauge table(1A calibration, no scaling)"
    • "Comparison between the original and calibration tables"
    Only calibration-related fields were updated; the chemistry data remains unchanged. 

    Original_TI_FAE_ChemID2141.csv Calibrated_CC_1A_NoScaling_ChemID2141.csv

    cc   
  • A CC Gain of 0.054 seems low. What sense resistor are you using?

    VatChgTerm depends on the measured voltage when the gauge detects charge terminations. It looks reasonable but I'd have to see the voltage measurement when the current drops below the current given by Taper Rate.

  • Thanks, this answers my question