~mrp/EC155_controller

5af29cdc — Mark Penner 2 years ago main
add .gitignore
2354f45e — Mark Penner 3 years ago
adjust sample time shorter for quicker response when turning pump on

measured loop time was around 500 ms, so trying that for sample time
44162648 — Mark Penner 3 years ago
edit readme
e87278b4 — Mark Penner 3 years ago
Add LICENSE
0eed1703 — Mark Penner 4 years ago
edit and add to readme.md, cleanup and fine-tune EC155Controller.ino
6956d365 — Mark Penner 4 years ago
set different p_gain for idle vs. pump on, retune PID, bugfix

bugfix: heater_pwm was a uint8_t but would roll over when there were high
	or negative errors. changed it to int16_t to handle larger or
	negative numbers.
46589d70 — Mark Penner 4 years ago
various small improvements and refactorings

* print "Initializing..." and check for NaN from the thermocouple while initializing in setup()
* initialize p_gain instead of calculating it from p_band every loop
* set set_temp[0] to 0 when potentiometer is fully CCW
* don't reset i_term when crossing 0 error (that made it oscillate because the needed bias got deleted when it got to setpoint)
* display the time the pump is on in seconds instead of minutes:seconds
* rename some constants and variables
6185fe6a — Mark Penner 4 years ago
compute PID output only once per sample, integrate error and integral weight together
a47bf2bf — Mark Penner 4 years ago
change heater control to be on 100% when pump is on, retune PID to be less agressive
d73e4dba — Mark Penner 4 years ago
add derivative term, initial PID tuning
b0f0bd62 — Mark Penner 4 years ago
add integration, now it is a PI controller
0b4f92b7 — Mark Penner 4 years ago
code cleanup and bug fixes
b30e90e3 — Mark Penner 4 years ago
modify SSR holder to 3d print more reliably
3b493d92 — Mark Penner 4 years ago
add 3d printable SSR holder
f189ab65 — Mark Penner 4 years ago
move schematic to its own directory
9e88fb76 — Mark Penner 4 years ago
initial readme.md
e7d77dcb — Mark Penner 4 years ago
update schematic: change pump ssr from zero-cross to random-fire
480c3d40 — Mark Penner 4 years ago
make corrections and clarifications to schematic
6a921af8 — Mark Penner 4 years ago
change integer variables to exact-width
99f81084 — Mark Penner 4 years ago
finish schematic
Next
Do not follow this link