kopia lustrzana https://github.com/jbruce12000/kiln-controller
- added git to requirements
- changed oven resistance in simulation so it can get hot enough to complete entire schedulepull/15/head
rodzic
a3243097c7
commit
85553ec9d6
|
|
@ -56,7 +56,7 @@ My controller plugs into the wall, and the kiln plugs into the controller.
|
|||
|
||||
Download [NOOBs](https://www.raspberrypi.org/downloads/noobs/). Copy files to an SD card. Install raspbian on RPi using NOOBs.
|
||||
|
||||
$ sudo apt-get install python3-pip python3-dev python3-virtualenv libevent-dev virtualenv
|
||||
$ sudo apt-get install python3-pip python3-virtualenv libevent-dev git virtualenv
|
||||
$ git clone https://github.com/jbruce12000/kiln-controller.git
|
||||
$ cd kiln-controller
|
||||
$ virtualenv -p python3 venv
|
||||
|
|
|
|||
12
config.py
12
config.py
|
|
@ -52,9 +52,13 @@ sensor_time_wait = 2
|
|||
########################################################################
|
||||
#
|
||||
# PID parameters
|
||||
pid_kp = 25 # Proportional 25
|
||||
pid_ki = 100 # Integration 100
|
||||
pid_kd = 100 # Derivative was 25
|
||||
#
|
||||
# These parameters work well with the simulated oven. You must tune them
|
||||
# to work well with your specific kiln. Note that the integral pid_ki is
|
||||
# inverted so that a smaller number means more integral action.
|
||||
pid_kp = 25 # Proportional
|
||||
pid_ki = 200 # Integral
|
||||
pid_kd = 200 # Derivative
|
||||
|
||||
|
||||
########################################################################
|
||||
|
|
@ -65,7 +69,7 @@ sim_t_env = 60.0 # deg C
|
|||
sim_c_heat = 100.0 # J/K heat capacity of heat element
|
||||
sim_c_oven = 5000.0 # J/K heat capacity of oven
|
||||
sim_p_heat = 5450.0 # W heating power of oven
|
||||
sim_R_o_nocool = 0.1 # K/W thermal resistance oven -> environment
|
||||
sim_R_o_nocool = 1.0 # K/W thermal resistance oven -> environment
|
||||
sim_R_o_cool = 0.05 # K/W " with cooling
|
||||
sim_R_ho_noair = 0.1 # K/W thermal resistance heat element -> oven
|
||||
sim_R_ho_air = 0.05 # K/W " with internal air circulation
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue