BMS calibration