Kiln Controller: Difference between revisions

From Traxel Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Raspberry_Pi]]
[[Category:Raspberry_Pi]]
= To Do =
* Temperature sensor volatility remains a problem, rendering the PID D term unusable.
** Implement a better smoothing function. Consider forward weighted moving average over significantly more than 10 terms.
** Look at the run from 2024-09-03 to find out the period of the high temperature swings.
** Look at the data from 2024-09-04 to find the noisiness at low temperature.
== Rebuild ==
=== Simulator ===
==== Log Reader ====
* Parse JSON ovenWatcher lines.
* Plot results in Jupyter notebook.
* Put this stuff on Kanban
* 2024-09-07: simulator v1 working
=== Sensor ===
* Docs: https://docs.circuitpython.org/projects/max31856/en/latest/
= Notes =
= Notes =
== CLI ==
<pre>
$ rsync -avz kiln-controller/ pi-kiln:./kiln-controller/ --exclude '*/profiles/*' --exclude '*__pycache__*'
$ pip install adafruit-circuitpython-bitbangio adafruit-circuitpython-max31856 RPi.GPIO
$ rsync -navz ./ pi-kiln:./kiln-minder/ --exclude='venv' --exclude='.git' --exclude='__pycache__'
</pre>
== Other ==
* Kiln Controller: https://digitalfire.com/url/3306
* Kiln Controller: https://digitalfire.com/url/3306
** https://github.com/jbruce12000/kiln-controller?tab=readme-ov-file
** https://github.com/jbruce12000/kiln-controller?tab=readme-ov-file
Line 19: Line 42:
** I2C Quad Buttons: https://www.adafruit.com/product/4980
** I2C Quad Buttons: https://www.adafruit.com/product/4980
** I2C Quad Encoder: https://www.adafruit.com/product/5752
** I2C Quad Encoder: https://www.adafruit.com/product/5752
** Cherry MX Keycaps: https://www.amazon.com/dp/B0D4LZQL6H
== Run 1 ==
== Run 1 ==
* Thermocouple response is very laggy.
* Thermocouple response is very laggy.
Line 25: Line 49:
* Rate throttle is aggressive, but necessary given laggy thermocouple.
* Rate throttle is aggressive, but necessary given laggy thermocouple.
* Temperature reading may be a bit on the low side (actual is 5 - 10f higher), though tough to say because of lag.
* Temperature reading may be a bit on the low side (actual is 5 - 10f higher), though tough to say because of lag.
== EMF Noise ==
* 44 - 53 degrees at 1832 (started at 44, increased to 53)
* 9.5 degrees at 1100 (a bit fuzzy, lots of pulsing)
* 80% power to maintain 1832


= Photos =
= Photos =

Latest revision as of 16:38, 11 October 2024

To Do

  • Temperature sensor volatility remains a problem, rendering the PID D term unusable.
    • Implement a better smoothing function. Consider forward weighted moving average over significantly more than 10 terms.
    • Look at the run from 2024-09-03 to find out the period of the high temperature swings.
    • Look at the data from 2024-09-04 to find the noisiness at low temperature.

Rebuild

Simulator

Log Reader

  • Parse JSON ovenWatcher lines.
  • Plot results in Jupyter notebook.
  • Put this stuff on Kanban
  • 2024-09-07: simulator v1 working

Sensor

Notes

CLI

$ rsync -avz kiln-controller/ pi-kiln:./kiln-controller/ --exclude '*/profiles/*' --exclude '*__pycache__*'
$ pip install adafruit-circuitpython-bitbangio adafruit-circuitpython-max31856 RPi.GPIO
$ rsync -navz ./ pi-kiln:./kiln-minder/ --exclude='venv' --exclude='.git' --exclude='__pycache__'

Other

Run 1

  • Thermocouple response is very laggy.
  • Clock doesn't run when temperature is outside range.
  • Laggy thermocouple means temperature overshoots.
  • Rate throttle is aggressive, but necessary given laggy thermocouple.
  • Temperature reading may be a bit on the low side (actual is 5 - 10f higher), though tough to say because of lag.

EMF Noise

  • 44 - 53 degrees at 1832 (started at 44, increased to 53)
  • 9.5 degrees at 1100 (a bit fuzzy, lots of pulsing)
  • 80% power to maintain 1832

Photos