2024-12-07 09:52:46 +00:00
|
|
|
|
|
|
|
#include "abnormalManage.h"
|
|
|
|
#include "parameter.h"
|
|
|
|
#include "capture.h"
|
2024-12-10 10:29:05 +00:00
|
|
|
#include "checkTime.h"
|
2024-12-07 09:52:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void checkAbnormal(void)
|
|
|
|
{
|
2024-12-10 10:29:05 +00:00
|
|
|
// checkTimeInit();
|
2024-12-07 09:52:46 +00:00
|
|
|
/* 滤波 */
|
|
|
|
adcCaptureFir();
|
|
|
|
|
|
|
|
/* 转换 */
|
|
|
|
setChargCurrent();
|
|
|
|
setDischargCurrent();
|
|
|
|
setOutputVoltage();
|
|
|
|
setSolarInCircuitVoltage();
|
|
|
|
|
|
|
|
/* 判断异常状态 */
|
|
|
|
|
|
|
|
|
2024-12-10 10:29:05 +00:00
|
|
|
// checkAbnormalTime = getCheckTime();
|
2024-12-07 09:52:46 +00:00
|
|
|
}
|
|
|
|
|