diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-11-11 22:37:24 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-11-11 22:37:24 +0300 |
commit | 33d35875f7db384b38e4f601982e15aea699b9cb (patch) | |
tree | b4a3261dfcb98d167730dbf9b46d99dbe337649b /src/Heating/LocalHeater.h | |
parent | 3ff79b7a2b314db6dce1f6ccf4dfffdd84a0901e (diff) |
Improvements to new heater tuning and feedforward
Diffstat (limited to 'src/Heating/LocalHeater.h')
-rw-r--r-- | src/Heating/LocalHeater.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Heating/LocalHeater.h b/src/Heating/LocalHeater.h index 5cad973b..b1ccdfcb 100644 --- a/src/Heating/LocalHeater.h +++ b/src/Heating/LocalHeater.h @@ -95,8 +95,9 @@ private: static constexpr unsigned int TuningHeaterSettleCycles = 2; static constexpr unsigned int MinTuningHeaterCycles = 5; static constexpr unsigned int MaxTuningHeaterCycles = 30; - static constexpr float TuningHysteresis = 3.0; - static constexpr float TuningPeakTempDrop = 0.5; // must be well below TuningHysteresis + static constexpr float TuningHysteresis = 5.0; + static constexpr float TuningPeakTempDrop = 2.0; // must be well below TuningHysteresis + static constexpr float FeedForwardMultiplier = 1.3; // how much we over-compensate feedforward to allow for heat reservoirs during tuning }; #endif /* SRC_LOCALHEATER_H_ */ |