|
@@ -191,7 +191,7 @@ void MC_Protect_RotorLock_Process(uint16_t BusCurrent, TrueOrFalse_Flag_Struct_t
|
|
|
if(p_MC_ErrorCode->ERROR_Bit.Protect_LockRotor == 0)
|
|
|
{
|
|
|
//堵转保护检测
|
|
|
- //一级电流堵转:电流大于2.5A,超时8s
|
|
|
+ //一级电流堵转:电流大于2.5A,超时5s
|
|
|
//二级电流堵转:电流大于7.5A,超时3s
|
|
|
if(IsStopFlag == FALSE)
|
|
|
{
|
|
@@ -210,7 +210,7 @@ void MC_Protect_RotorLock_Process(uint16_t BusCurrent, TrueOrFalse_Flag_Struct_t
|
|
|
Protect_2st_TimeCnt = HAL_GetTick();
|
|
|
}
|
|
|
}
|
|
|
- if(((HAL_GetTick() - Protect_1st_TimeCnt) > 8000) ||
|
|
|
+ if(((HAL_GetTick() - Protect_1st_TimeCnt) > 5000) ||
|
|
|
((HAL_GetTick() - Protect_2st_TimeCnt) > 3000))
|
|
|
{
|
|
|
p_MC_ErrorCode->ERROR_Bit.Protect_LockRotor = 1;
|