diff --git a/Hyt2/APP/Device/device_Other/device_heat.c b/Hyt2/APP/Device/device_Other/device_heat.c index 6a2b189..7a8b0fc 100644 --- a/Hyt2/APP/Device/device_Other/device_heat.c +++ b/Hyt2/APP/Device/device_Other/device_heat.c @@ -485,7 +485,7 @@ static char ptz_heat_data_collect_task() { ptz_heat_collect_adc1_task(); - if ( g_ptz.electric_current > 4.0 ) //过流 + if ( g_ptz.electric_current > 5.5 ) //过流 { overCurrTime++; } @@ -503,7 +503,7 @@ static char ptz_heat_data_collect_task() } else { - if ( g_ptz.electric_current < 2.0 ) //电流恢复正常 + if ( g_ptz.electric_current < 3.5 ) //电流恢复正常 { currTime++; } diff --git a/Hyt2/APP/Service/service_statusmonitor.c b/Hyt2/APP/Service/service_statusmonitor.c index 69ee057..949d03a 100644 --- a/Hyt2/APP/Service/service_statusmonitor.c +++ b/Hyt2/APP/Service/service_statusmonitor.c @@ -36,7 +36,7 @@ static char ptz_temp_volt_current_fault_detect_task() hori_fault = 0; } - if(V_ADC_Collect.Phase_curr_V >= PHASE_CURRENT ||V_ADC_Collect.Phase_curr_U >= PHASE_CURRENT ||V_ADC_Collect.Phase_curr_W >= PHASE_CURRENT ) + if(V_ADC_Collect.Phase_curr_V >= PHASE_CURRENT_VERT ||V_ADC_Collect.Phase_curr_U >= PHASE_CURRENT_VERT ||V_ADC_Collect.Phase_curr_W >= PHASE_CURRENT_VERT ) {//ת⣬ֹתջϵϼ⣬̨⡣ if ( g_ptz.fault_detect.Phase_curr_V != FAULT ) { diff --git a/Hyt2/APP/Service/service_statusmonitor.h b/Hyt2/APP/Service/service_statusmonitor.h index af650af..db0c25e 100644 --- a/Hyt2/APP/Service/service_statusmonitor.h +++ b/Hyt2/APP/Service/service_statusmonitor.h @@ -107,7 +107,7 @@ #define PTZ_VOLT_DETECT_MIN 18.0//30.0 //ֵ - #define PTZ_CURRENT_DETECT 5.5//5.0 + #define PTZ_CURRENT_DETECT 7.0//5.0 //ֵ #define PTZ_HALL_DETECT 30//30 @@ -115,6 +115,7 @@ //ֵ // #define PHASE_CURRENT 5.0 #define PHASE_CURRENT 10.0 + #define PHASE_CURRENT_VERT 20.0 #endif //L6235Dϸ̨