diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-07-06 13:27:05 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-07-06 13:47:10 -0400 |
commit | b0ee323e2e01ba2084bea8de733f16474f1167eb (patch) | |
tree | 754f64b85226918a2a136789bfc5aebe6838cb37 /config/example.cfg | |
parent | 32175bc66ae9cbc7ddbf604740f8c51fdee2b6e3 (diff) | |
download | kutter-b0ee323e2e01ba2084bea8de733f16474f1167eb.tar.gz kutter-b0ee323e2e01ba2084bea8de733f16474f1167eb.tar.xz kutter-b0ee323e2e01ba2084bea8de733f16474f1167eb.zip |
heater: Introduce smooth_time config option; remove pid_deriv_time
Add generic temperature smoothing to the Heater class. This is useful
to avoid min_extrude_temp and verify_heater errors due to measurement
noise.
Rename the pid_deriv_time config option to smooth_time so that the
smoothing amount need only be specified once.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example.cfg')
-rw-r--r-- | config/example.cfg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/example.cfg b/config/example.cfg index dd4b7d28..cf02bf19 100644 --- a/config/example.cfg +++ b/config/example.cfg @@ -161,6 +161,10 @@ sensor_pin: analog13 #adc_voltage: 5.0 # The ADC comparison voltage. This parameter is only valid when the # sensor is an AD595 or "PT100 INA826". The default is 5 volts. +#smooth_time: 2.0 +# A time value (in seconds) over which temperature measurements will +# be smoothed to reduce the impact of measurement noise. The default +# is 2 seconds. control: pid # Control algorithm (either pid or watermark). This parameter must # be provided. @@ -173,10 +177,6 @@ pid_Ki: 1.08 pid_Kd: 114 # Kd is the "derivative" constant for the pid. This parameter must # be provided for PID heaters. -#pid_deriv_time: 2.0 -# A time value (in seconds) over which the derivative in the pid -# will be smoothed to reduce the impact of measurement noise. The -# default is 2 seconds. #pid_integral_max: # The maximum "windup" the integral term may accumulate. The default # is to use the same value as max_power. |