Skip to content

Commit 635fc1b

Browse files
committed
Moved FeedForwardMultiplier in here from RRF and Duet3Expansion projects
1 parent 26c4731 commit 635fc1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/RRF3Common.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ constexpr float DefaultBedTemperatureLimit = 125.0; // Celsius
5959
constexpr float DefaultHotEndFanTemperature = 45.0; // Temperature at which a thermostatic hot end fan comes on
6060
constexpr float ThermostatHysteresis = 1.0; // How much hysteresis we use to prevent noise turning fans on/off too often
6161
constexpr float BadErrorTemperature = 2000.0; // Must exceed any reasonable temperature limit including DefaultHotEndTemperatureLimit
62-
constexpr uint32_t DefaultHeaterFaultTimeout = 10 * 60 * 1000; // How long we wait (in milliseconds) for user intervention after a heater fault before shutting down
62+
constexpr float FanFeedForwardMultiplier = 0.7; // how much we under- or over-compensate feedforward to allow for heat reservoirs during tuning
6363

6464
// Heating model default parameters. For the chamber heater, we use the same values as for the bed heater.
6565
// These parameters are about right for an E3Dv6 hot end with 30W heater, cooling time constant is about 140 seconds with the fan off
@@ -75,6 +75,7 @@ constexpr float DefaultBedHeaterCoolingRateExponent = 1.35;
7575
constexpr float DefaultBedHeaterDeadTime = 10.0;
7676

7777
// Parameters used to detect heating errors
78+
constexpr uint32_t DefaultHeaterFaultTimeout = 10 * 60 * 1000; // How long we wait (in milliseconds) for user intervention after a heater fault before shutting down
7879
constexpr float DefaultMaxHeatingFaultTime = 5.0; // How many seconds we allow a heating fault to persist
7980
constexpr float AllowedTemperatureDerivativeNoise = 0.12; // How much fluctuation in the averaged temperature derivative we allow
8081
constexpr float MaxAmbientTemperature = 45.0; // We expect heaters to cool to this temperature or lower when switched off

0 commit comments

Comments
 (0)