Change max overshoot for Autotune to 55°C
If Temperature is higher then 255 °C stop Autotune
This commit is contained in:
parent
e206720abf
commit
1f11008dc8
1 changed files with 2 additions and 1 deletions
|
|
@ -466,9 +466,10 @@ void PID_autotune(int PIDAT_test_temp)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if(PIDAT_input > (PIDAT_test_temp + 25))
|
if((PIDAT_input > (PIDAT_test_temp + 55)) || (PIDAT_input > 255))
|
||||||
{
|
{
|
||||||
showString(PSTR("PID Autotune failed! Temperature to high\r\n"));
|
showString(PSTR("PID Autotune failed! Temperature to high\r\n"));
|
||||||
|
target_temp = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue