这组参数,在低温模式下,每次切换两度时,表现良好

check
Zeng wei (曾威) 2 years ago
parent a069d3e151
commit eb19dede90

@ -60,10 +60,10 @@ void PID_Init()
pid.hd_h = 0;
pid.h_base_h = 0;
pid.hp_l = 3;
pid.hp_l = 4.5;
pid.hi_l = 0.01;
pid.hd_l = 0;
pid.h_base_l = 53;
pid.h_base_l = 10;
pid.hp = 0;
pid.hi = 0;
@ -226,10 +226,10 @@ void PID_Calc() // pid calc
DelEk = pid.Ek - pid.Ek_prev; // The difference between the last two deviations
// no integral when the deviation is too large
if (pid.now_tem < pid.set_tem - 3) {
pid.SEk = 0;
}
// // no integral when the deviation is too large
// if (pid.now_tem < pid.set_tem - 5) {
// pid.SEk = 0;
// }

Loading…
Cancel
Save