Hello,
I'm trying to understand:
- How to run Current Calibration routine with bqStudio correctly
- What registers the current calibration actually changes
- How do calibrate "Board Offset" option
First, the EVM guide only has this confusing and potentially ambiguous statement about how to apply a test current:
"Connect and measure a 2-A current source from 1N (–) and PGND (+) to calibrate [...]"
- Is "2-A" a typo? Why is there a dash ("-") in there? It makes me think someone was trying to say "Apply a reverse current of 2A". Add the fact that we're told to enter "-2000" into the calibration field and that almost confirms my suspicions.
- Should the battery be disconnected for this step? Does that affect anything? The bq40z60 stops responding if I remove the main battery connection in my system.
- It was not immediately clear which way to apply the test current as it was not obvious that the "(-)" and "(+)" were referencing the applied current. Is this correct?
- Does the current calibration work with other currents? Other directions?
It would be easier to understand if there was redundancy in the documentation. Along the lines of: "Apply the test current across the battery's current sense resistor", or "Apply the test current such that the voltage at SRN is above the voltage at SRP."
Second, what register(s) does this set? Does this calibrate the AC current sense resistor as well?
I noticed that after current calibration, a pair of values was set that matched the resistance used in my circuit. These were "CC Gain" and "Capacity Gain" in "Data Memory" > "Calibration" > "Current". However, I used different resistances for the charger and battery current sense resistors. I'm guessing that "CC Gain" is for sensing current in CC charge mode and so have adjusted that to match what my AC current sense resistor should be.
Is there a procedure for separately calibrating the AC current sense? Does the calibration routine do anything more than just read a voltage value and divide by a current to calculate resistance? I could imagine that the calibration routine could be a little more complicated to also account for the internal gains and offsets for voltage measurements.
Finally, is bqStudio only intended to be used with an EVM? I'd like to use the "Board Offset calibration option" in my circuit. I've tried bqProduction but it is even more confusing. Is there some other way to achieve this?