You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cheap pressure sensors are prone to throwing trash data (they get shorted-out easily). We need to programmatically guard against this by setting duty cycle to 0% if this goes above a certain threshold.
Possible solution considerations:
Verify the mV reading against group head temperature?
Verify against total uptime & group head temperature
check span between last (n)number of readings and current. If span is greater than (n), cut power?
The text was updated successfully, but these errors were encountered:
mwood77
changed the title
Add safety guard against sensor errors
Add safety guard against error-prone sensor data
Jan 13, 2022
On boot, set constant INIT_TEMPERATURE as group head's current temp.
Compare previous pressure sensor input to current pressure sensor input (pressure in BAR)
If value difference is greater than 2.0, increment ERROR_COUNT (init @ 0).
If ERROR_COUNT is greater than or equal to 20 && current group head temperature is greater than INIT_TEMPERATURE + 10, set fail condition and shut off relay (turn off power).
INIT_TEMPERATURE + 10 is needed, as known good pressure sensors throw a large amount of unreliable data during initial power up/heating; it takes some time for the sensor to stabilize during the first 5 minutes of operation.
Cheap pressure sensors are prone to throwing trash data (they get shorted-out easily). We need to programmatically guard against this by setting duty cycle to 0% if this goes above a certain threshold.
Possible solution considerations:
The text was updated successfully, but these errors were encountered: