docs: Provide more information on PID in Config_Reference.md

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2022-04-07 12:25:25 -04:00
parent 22297229b7
commit 5a409d5d31
1 changed files with 9 additions and 6 deletions

View File

@ -732,14 +732,17 @@ control:
# Control algorithm (either pid or watermark). This parameter must # Control algorithm (either pid or watermark). This parameter must
# be provided. # be provided.
pid_Kp: pid_Kp:
# Kp is the "proportional" constant for the pid. This parameter must
# be provided for PID heaters.
pid_Ki: pid_Ki:
# Ki is the "integral" constant for the pid. This parameter must be
# provided for PID heaters.
pid_Kd: pid_Kd:
# Kd is the "derivative" constant for the pid. This parameter must # The proportional (pid_Kp), integral (pid_Ki), and derivative
# be provided for PID heaters. # (pid_Kd) settings for the PID feedback control system. Klipper
# evaluates the PID settings with the following general formula:
# heater_pwm = (Kp*error + Ki*integral(error) - Kd*derivative(error)) / 255
# Where "error" is "requested_temperature - measured_temperature"
# and "heater_pwm" is the requested heating rate with 0.0 being full
# off and 1.0 being full on. Consider using the PID_CALIBRATE
# command to obtain these parameters. The pid_Kp, pid_Ki, and pid_Kd
# parameters must be provided for PID heaters.
#max_delta: 2.0 #max_delta: 2.0
# On 'watermark' controlled heaters this is the number of degrees in # On 'watermark' controlled heaters this is the number of degrees in
# Celsius above the target temperature before disabling the heater # Celsius above the target temperature before disabling the heater