Kiln Controller: Difference between revisions

From Traxel Wiki
Jump to navigation Jump to search
Line 11: Line 11:
* Plot results in Jupyter notebook.
* Plot results in Jupyter notebook.
* Put this stuff on Kanban
* Put this stuff on Kanban
* 2024-09-07: simulator v1 working
=== Sensor ===
=== Sensor ===
* Docs: https://docs.circuitpython.org/projects/max31856/en/latest/
* Docs: https://docs.circuitpython.org/projects/max31856/en/latest/

Revision as of 18:23, 9 September 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.

Photos