Changed extreme PID control from 5to 8 degrees.

Mon, 24 Jul 2017 22:55:28 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 24 Jul 2017 22:55:28 +0200
changeset 524
bd1ea64ae484
parent 523
eca3813c21ee
child 525
5855abe0e82c

Changed extreme PID control from 5to 8 degrees.

thermferm/thermferm.c file | annotate | diff | comparison | revisions
--- a/thermferm/thermferm.c	Sun Jul 23 12:12:58 2017 +0200
+++ b/thermferm/thermferm.c	Mon Jul 24 22:55:28 2017 +0200
@@ -1631,7 +1631,7 @@
 			/*
 			 * Prevent extreme heating
 			 */
-			if ((unit->mode == UNITMODE_BEER) && ((unit->air_temperature / 1000.0) > (unit->PID_heat->Input + 5.0))) {
+			if ((unit->mode == UNITMODE_BEER) && ((unit->air_temperature / 1000.0) > (unit->PID_heat->Input + 8.0))) {
 			    unit->PID_heat->OutP = 0.0;
 			}
 			if (debug)
@@ -1648,7 +1648,7 @@
 			/*
 			 * Prevent extreme cooling
 			 */
-			if ((unit->mode == UNITMODE_BEER) && ((unit->air_temperature / 1000.0) < (unit->PID_cool->Input - 5.0))) {
+			if ((unit->mode == UNITMODE_BEER) && ((unit->air_temperature / 1000.0) < (unit->PID_cool->Input - 8.0))) {
 			    unit->PID_cool->OutP = 0.0;
 			}
 			/*

mercurial