Skip to content

Commit 46db15b

Browse files
committed
Last PID parameter tuning
1 parent 23cd9db commit 46db15b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pwm-fan.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ LOGISTIC_b=10
3737
#PID_THERMAL_IDEAL=45
3838
# https://en.wikipedia.org/wiki/PID_controller#Loop_tuning
3939
PID_Kp=$((DEFAULT_PERIOD/100))
40-
PID_Ki=$((DEFAULT_PERIOD/500))
41-
PID_Kd=$((DEFAULT_PERIOD/300))
40+
PID_Ki=$((DEFAULT_PERIOD/1000))
41+
PID_Kd=$((DEFAULT_PERIOD/50))
4242
# path to the pwm dir in the sysfs interface
4343
PWMCHIP_ROOT='/sys/class/pwm/'
4444
# path to the thermal dir in the sysfs interface

0 commit comments

Comments
 (0)