reflow-oven-control-sw/doc/source/firmware/safety/index.rst

26 lines
1.1 KiB
ReStructuredText
Raw Permalink Normal View History

2020-08-03 21:13:04 +02:00
.. _firmware_safety:
Safety Controller
=================
The safety controller is the software component that monitors the overall condition of the reflow controller,
and stops the output driver in case of an error.
Severe error flags, like a drifting reference voltage, stop the PID controller and force the output to zero.
The controller stays in a usable state. After the errors have been cleared, normal operation may continue.
On the other hand, fatal errors like an over-temperature error, or memory problem, lead to the activation of the :ref:`safety_panic`,
which forces the output zero, but does not allow any further interaction.
2020-09-05 18:02:03 +02:00
On top of this, a :ref:`backup_ram` is implemented. It stores permantent errors, which are reset at a restart. On top of that, it stores the :ref:`backup_ram_boot_flags`,
which are used to retain boot information across resets, for example to communicate with the firmware updater etc. The RAM also contains entries, that allow overrides of flag weights and persistance.
2020-08-03 21:13:04 +02:00
.. toctree::
:maxdepth: 3
2020-08-03 21:13:04 +02:00
flags
backup-ram
error-handling
startup-tests
stack-checking