heaters: Change default smooth_time from 2 seconds to 1 second

A larger smooth_time results in a slower reaction time for the PID.
This increased delay can cause temperature oscillations with high
power heaters.  Many boards produce good results without any
smoothing.  So, it seems a smooth_time of 1 second is a better
default.

Reported by @ReXT3D.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2021-09-01 12:54:25 -04:00
parent af3622544d
commit c84956befe
3 changed files with 7 additions and 3 deletions

View File

@@ -707,10 +707,10 @@ sensor_pin:
# The resistance (in ohms) of the pullup attached to the thermistor.
# This parameter is only valid when the sensor is a thermistor. The
# default is 4700 ohms.
#smooth_time: 2.0
#smooth_time: 1.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.
# is 1 seconds.
control:
# Control algorithm (either pid or watermark). This parameter must
# be provided.