|
|
@@ -254,7 +254,13 @@ void check_voltage_state(void) {
|
|
|
}else{
|
|
|
//check sigle cell's voltage for discharger
|
|
|
_health.charger_over_voltage = _health.sigle_cell_over_voltage = 0;
|
|
|
-
|
|
|
+ if (abs(measure_value()->load_current) >= (MAX_HA/10.0f)) { //大于0.1C放电
|
|
|
+ _sigle_cell_discharger_lower_vol.max_count = 100;
|
|
|
+ _discharger_lower_voltage.max_count = 20;
|
|
|
+ }else { //小于0.1C放电多判断几次
|
|
|
+ _sigle_cell_discharger_lower_vol.max_count = 1000;
|
|
|
+ _discharger_lower_voltage.max_count = 200;
|
|
|
+ }
|
|
|
if ((bms_state_get()->cell_min_vol <= min_discharger_cell_vol[_health.is_work_temp_normal])){
|
|
|
if (judge_debounce(!_health.sigle_cell_lower_voltage, &_sigle_cell_discharger_lower_vol)){
|
|
|
_health.sigle_cell_lower_voltage = 1;
|