From 26e46dd77a8d8a16e19acfdbfdd9e1c44059115e Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Thu, 8 Jul 2021 22:23:01 -0700 Subject: [PATCH] relax heater PI --- firmware/heater_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/heater_control.cpp b/firmware/heater_control.cpp index 4baedfc..6558870 100644 --- a/firmware/heater_control.cpp +++ b/firmware/heater_control.cpp @@ -78,7 +78,7 @@ static HeaterState GetNextState(HeaterState state, float sensorEsr) return state; } -static Pid heaterPid(0.003f, 0.01f, 1, HEATER_CONTROL_PERIOD); +static Pid heaterPid(0.003f, 0.005f, 0.6f, HEATER_CONTROL_PERIOD); static float GetDutyForState(HeaterState state, float heaterEsr) {