|
|
@@ -25,7 +25,7 @@ static const float _discharger_gain[] = {1.0f/*>0
|
|
|
#define DEFALUT_MAX_COULOMB (MAX_HA * 3600.0f)
|
|
|
#define DEFALUT_MIN_COULOMB (25.0f * 3600.0f)
|
|
|
#define FULL_MAX_VOLTAGE_CHARGING (53500)//mV
|
|
|
-#define SIGAL_CELL_OV_MAX_PACK_VOL (53000)
|
|
|
+#define AGINT_TEST_MAX_VOLTAGE_CHARGING (53000) //mV
|
|
|
#define FULL_MAX_VOLTAGE (54000) //mV
|
|
|
#define FULL_MIN_CURRENT (500.0f) //mA
|
|
|
static double start_charger_coulomb = 0.0f; //开始充电时候的容量
|
|
|
@@ -377,7 +377,7 @@ static void soc_calibrate(uint8_t prev_charge_status){
|
|
|
if (chargering){//用ocv进行严格校准
|
|
|
if (_soc.capacity != 100){
|
|
|
if (!bms_work_is_normal()) {
|
|
|
- if ((bms_state_get()->pack_voltage >= FULL_MAX_VOLTAGE_CHARGING)){
|
|
|
+ if ((bms_state_get()->pack_voltage >= AGINT_TEST_MAX_VOLTAGE_CHARGING)){
|
|
|
_force_capacity_full();
|
|
|
push_event(Charger_Full, 12);
|
|
|
}else if (bms_health()->sigle_cell_over_voltage) {
|