57 lines
1.8 KiB
C
57 lines
1.8 KiB
C
#ifndef CONFIG_PARAMETER_
|
||
#define CONFIG_PARAMETER_
|
||
|
||
#include "comm_types.h"
|
||
|
||
|
||
|
||
// /* 第一段保护的延时时间(单位100uS) */
|
||
// const uint32_t firstStageProtectionDelay = 2; // 200uS
|
||
// /* 第一段保护的电流(单位A) */
|
||
// const float_t firstStageProtectionCurr = 50.0f;
|
||
|
||
// /* 第二段保护的延时时间(单位100uS) */
|
||
// const uint32_t secondStageProtectionDelay = 50000; // 5S
|
||
// /* 第二段保护的电流(单位A) */
|
||
// const float_t secondStageProtectionCurr = 30.0f;
|
||
|
||
// /* 第三段保护的延时时间(单位100uS) */
|
||
// const uint32_t thirdStageProtectionDelay = 1200000; // 120S
|
||
// /* 第三段保护的电流(单位A) */
|
||
// const uint32_t thirdStageProtectionCurr = 35.0f;
|
||
|
||
// /* 检测回路阻抗时的充电电流要大于该值(单位A) */
|
||
// const float_t checkLoopImpedanceChargCurr = 10.0f;
|
||
|
||
|
||
// /* 第三段保护的延时时间(单位100uS) */
|
||
// const uint32_t lowInputLoadDetectionDelay = 30; // 120S
|
||
|
||
|
||
/* 第一段保护的延时时间(单位100uS) */
|
||
#define firstStageProtectionDelay 2 // 200uS
|
||
/* 第一段保护的电流(单位A) */
|
||
#define firstStageProtectionCurr 50.0f
|
||
|
||
/* 第二段保护的延时时间(单位100uS) */
|
||
#define secondStageProtectionDelay 50000 // 5S
|
||
/* 第二段保护的电流(单位A) */
|
||
#define secondStageProtectionCurr 30.0f
|
||
|
||
/* 第三段保护的延时时间(单位100uS) */
|
||
#define thirdStageProtectionDelay 1200000 // 120S
|
||
/* 第三段保护的电流(单位A) */
|
||
#define thirdStageProtectionCurr 35.0f
|
||
|
||
/* 检测回路阻抗时的充电电流要大于该值(单位A) */
|
||
#define checkLoopImpedanceChargCurr 10.0f
|
||
|
||
/* 输入功率较低延时(单位100uS) */
|
||
#define lowInputLoadDetectionDelay 30 // 120S
|
||
/* 输入功率较低延时电流(单位A) */
|
||
#define lowInputLoadDetectionVolt 10.0f
|
||
|
||
|
||
|
||
#endif
|