autotune PID. Limit fan speed.

This commit is contained in:
Adam Bissen 2024-09-16 21:35:26 -05:00
parent 42561ed825
commit 81cd860bea

View File

@ -55,10 +55,10 @@ filament_diameter: 1.750
heater_pin: P2.7 heater_pin: P2.7
sensor_type: Generic 3950 sensor_type: Generic 3950
sensor_pin: P0.24 sensor_pin: P0.24
control: pid #control: pid
pid_Kp: 22.2 #pid_Kp: 22.2
pid_Ki: 1.08 #pid_Ki: 1.08
pid_Kd: 114 #pid_Kd: 114
min_temp: 0 min_temp: 0
max_temp: 280 max_temp: 280
@ -66,15 +66,16 @@ max_temp: 280
heater_pin: P2.5 heater_pin: P2.5
sensor_type: Generic 3950 sensor_type: Generic 3950
sensor_pin: P0.23 sensor_pin: P0.23
control: pid #control: pid
pid_Kp: 148.74 #pid_Kp: 148.74
pid_Ki: 29.72 #pid_Ki: 29.72
pid_Kd: 496.3 #pid_Kd: 496.3
min_temp: 0 min_temp: 0
max_temp: 80 max_temp: 80
[fan] [fan]
pin: P2.3 pin: P2.3
max_power: 0.60
[mcu] [mcu]
serial: /dev/serial/by-id/usb-Klipper_lpc1768_0A30000407083DAF4C46665CC22000F5-if00 serial: /dev/serial/by-id/usb-Klipper_lpc1768_0A30000407083DAF4C46665CC22000F5-if00
@ -107,7 +108,7 @@ spi_software_sclk_pin: P0.4
diag1_pin: !P1.29 diag1_pin: !P1.29
run_current: 0.800 run_current: 0.800
stealthchop_threshold: 0 stealthchop_threshold: 0
driver_SGT: 26 # -64 is most sensitive value, 63 is least sensitive driver_SGT: 25 # -64 is most sensitive value, 63 is least sensitive
[tmc2130 stepper_y] [tmc2130 stepper_y]
cs_pin: P1.15 cs_pin: P1.15
@ -117,7 +118,7 @@ spi_software_sclk_pin: P0.4
diag1_pin: !P1.27 diag1_pin: !P1.27
run_current: 0.800 run_current: 0.800
stealthchop_threshold: 0 stealthchop_threshold: 0
driver_SGT: 23 # -64 is most sensitive value, 63 is least sensitive driver_SGT: 22 # -64 is most sensitive value, 63 is least sensitive
[tmc2130 stepper_z] [tmc2130 stepper_z]
cs_pin: P1.10 cs_pin: P1.10
@ -193,4 +194,22 @@ samples: 2
[force_move] [force_move]
enable_force_move: True enable_force_move: True
[verify_heater extruder]
max_error: 150
[include mainsail.cfg] [include mainsail.cfg]
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 28.258
#*# pid_ki = 1.095
#*# pid_kd = 182.267
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 74.602
#*# pid_ki = 1.559
#*# pid_kd = 892.424