Pārlūkot izejas kodu

1,修改放电CCV标定

LAPTOP-EG88H5BE\86151 3 gadi atpakaļ
vecāks
revīzija
a13d80a5e6

+ 1 - 1
src/EmbeddedCoder_src/BCUCal.c

@@ -93,7 +93,7 @@ const uint16_T socc_pct_battSocUp = 1000U;                   /* SOC上限值;
 const int16_T socm_I_chrgCor[3] = {50, 100, 150};            /* 充电CCV对应的电流数据; */
 const int16_T socm_I_disChrgCor[3] = {-300, -100, -60};      /* 放电CCV对应的电流数据; */
 const uint16_T socm_V_chrgCor[3] = {4160U, 4175U, 4188U};    /* 充电CCV对应的电压; */
-const uint16_T socm_V_disChrgCor[3] = {3310U, 3350U, 3368U}; /* 放电CCV对应的电压; */
+const uint16_T socm_V_disChrgCor[3] = {3215U, 3265U, 3280U}; /* 放电CCV对应的电压; */
 const uint16_T socc_pct_chrgCor = 980;                       /* 充电CCV对应的SOC; */
 const uint16_T socc_pct_disChrgCor = 50;                     /* 放电CCV对应的SOC; */
 const int16_T cmm_T_ChrgCurr[3] = {40, 60, 80};

+ 1 - 1
src/EmbeddedCoder_src/CDM.c

@@ -98,7 +98,7 @@ void CDM(void)
     }
     else
     {
-        cdmd_flg_deltOCVDisable = false;
+        cdmd_flg_deltOCVDisable = true;
     }
 	
     FirstRun_CDM = false;

+ 1 - 1
src/EmbeddedCoder_src/SOC.c

@@ -526,7 +526,7 @@ void SOC(void)
         overFlg = false;
         fulFlg = false;
         fulCntl = 0;
-		socd_V_disChrgCCV = look1_is16lu16n16tu16_binlcase(sfmd_I_curr,&socm_I_disChrgCor[0],&socm_V_disChrgCor[0],2U) + sfmd_I_curr * (cdmv_ohm_deltR[sfmd_idx_cellUMin]) * 0.001 * 0.1;
+		socd_V_disChrgCCV = look1_is16lu16n16tu16_binlcase(sfmd_I_curr,&socm_I_disChrgCor[0],&socm_V_disChrgCor[0],2U) + (int16_T)(int32_T)sfmd_I_curr * (cdmv_ohm_deltR[sfmd_idx_cellUMin]) * 0.001 * 0.1;
         if (sfmd_V_cellUMin <= socd_V_disChrgCCV)
         {
             lowCntl = (lowCntl + 1) > 250 ? 250 : (lowCntl + 1);