Skip to content

Commit

Permalink
✨ THERMAL_PROTECTION_VARIANCE_MONITOR_PERIOD
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Mar 18, 2023
1 parent 85b3272 commit 85acc1b
Show file tree
Hide file tree
Showing 307 changed files with 8,598 additions and 919 deletions.
31 changes: 28 additions & 3 deletions config/default/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,35 @@

#if ANY(THERMAL_PROTECTION_HOTENDS, THERMAL_PROTECTION_BED, THERMAL_PROTECTION_CHAMBER, THERMAL_PROTECTION_COOLER)
/**
* Thermal Protection Variance Monitor - EXPERIMENTAL.
* Kill the machine on a stuck temperature sensor. Disable if you get false positives.
* Thermal Protection Variance Monitor - EXPERIMENTAL
* Kill the machine on a stuck temperature sensor.
*
* This feature may cause some thermally-stable systems to halt. Be sure to test it throughly under
* a variety of conditions. Disable if you get false positives.
*
* This feature ensures that temperature sensors are updating regularly. If sensors die or get "stuck",
* or if Marlin stops reading them, temperatures will remain constant while heaters may still be powered!
* This feature only monitors temperature changes so it should catch any issue, hardware or software.
*
* By default it uses the THERMAL_PROTECTION_*_PERIOD constants (above) for the time window, within which
* at least one temperature change must occur, to indicate that sensor polling is working. If any monitored
* heater's temperature remains totally constant (without even a fractional change) during this period, a
* thermal malfunction error occurs and the printer is halted.
*
* A very stable heater might produce a false positive and halt the printer. In this case, try increasing
* the corresponding THERMAL_PROTECTION_*_PERIOD constant a bit. Keep in mind that uncontrolled heating
* shouldn't be allowed to persist for more than a minite or two.
*
* Be careful to distinguish false positives from real sensor issues before disabling this feature. If the
* heater's temperature appears even slightly higher than expected after restarting, you may have a real
* thermal malfunction. Check the temperature graph in your host for any unusual bumps.
*/
//#define THERMAL_PROTECTION_VARIANCE_MONITOR // Detect a sensor malfunction preventing temperature updates
//#define THERMAL_PROTECTION_VARIANCE_MONITOR
#if ENABLED(THERMAL_PROTECTION_VARIANCE_MONITOR)
// Variance detection window to override the THERMAL_PROTECTION...PERIOD settings above.
// Keep in mind that some heaters heat up faster than others.
//#define THERMAL_PROTECTION_VARIANCE_MONITOR_PERIOD 30 // (s) Override all watch periods
#endif
#endif

#if ENABLED(PIDTEMP)
Expand Down
31 changes: 28 additions & 3 deletions config/examples/3DFabXYZ/Migbot/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,35 @@

#if ANY(THERMAL_PROTECTION_HOTENDS, THERMAL_PROTECTION_BED, THERMAL_PROTECTION_CHAMBER, THERMAL_PROTECTION_COOLER)
/**
* Thermal Protection Variance Monitor - EXPERIMENTAL.
* Kill the machine on a stuck temperature sensor. Disable if you get false positives.
* Thermal Protection Variance Monitor - EXPERIMENTAL
* Kill the machine on a stuck temperature sensor.
*
* This feature may cause some thermally-stable systems to halt. Be sure to test it throughly under
* a variety of conditions. Disable if you get false positives.
*
* This feature ensures that temperature sensors are updating regularly. If sensors die or get "stuck",
* or if Marlin stops reading them, temperatures will remain constant while heaters may still be powered!
* This feature only monitors temperature changes so it should catch any issue, hardware or software.
*
* By default it uses the THERMAL_PROTECTION_*_PERIOD constants (above) for the time window, within which
* at least one temperature change must occur, to indicate that sensor polling is working. If any monitored
* heater's temperature remains totally constant (without even a fractional change) during this period, a
* thermal malfunction error occurs and the printer is halted.
*
* A very stable heater might produce a false positive and halt the printer. In this case, try increasing
* the corresponding THERMAL_PROTECTION_*_PERIOD constant a bit. Keep in mind that uncontrolled heating
* shouldn't be allowed to persist for more than a minite or two.
*
* Be careful to distinguish false positives from real sensor issues before disabling this feature. If the
* heater's temperature appears even slightly higher than expected after restarting, you may have a real
* thermal malfunction. Check the temperature graph in your host for any unusual bumps.
*/
//#define THERMAL_PROTECTION_VARIANCE_MONITOR // Detect a sensor malfunction preventing temperature updates
//#define THERMAL_PROTECTION_VARIANCE_MONITOR
#if ENABLED(THERMAL_PROTECTION_VARIANCE_MONITOR)
// Variance detection window to override the THERMAL_PROTECTION...PERIOD settings above.
// Keep in mind that some heaters heat up faster than others.
//#define THERMAL_PROTECTION_VARIANCE_MONITOR_PERIOD 30 // (s) Override all watch periods
#endif
#endif

#if ENABLED(PIDTEMP)
Expand Down
31 changes: 28 additions & 3 deletions config/examples/ADIMLab/Gantry v1/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,35 @@

#if ANY(THERMAL_PROTECTION_HOTENDS, THERMAL_PROTECTION_BED, THERMAL_PROTECTION_CHAMBER, THERMAL_PROTECTION_COOLER)
/**
* Thermal Protection Variance Monitor - EXPERIMENTAL.
* Kill the machine on a stuck temperature sensor. Disable if you get false positives.
* Thermal Protection Variance Monitor - EXPERIMENTAL
* Kill the machine on a stuck temperature sensor.
*
* This feature may cause some thermally-stable systems to halt. Be sure to test it throughly under
* a variety of conditions. Disable if you get false positives.
*
* This feature ensures that temperature sensors are updating regularly. If sensors die or get "stuck",
* or if Marlin stops reading them, temperatures will remain constant while heaters may still be powered!
* This feature only monitors temperature changes so it should catch any issue, hardware or software.
*
* By default it uses the THERMAL_PROTECTION_*_PERIOD constants (above) for the time window, within which
* at least one temperature change must occur, to indicate that sensor polling is working. If any monitored
* heater's temperature remains totally constant (without even a fractional change) during this period, a
* thermal malfunction error occurs and the printer is halted.
*
* A very stable heater might produce a false positive and halt the printer. In this case, try increasing
* the corresponding THERMAL_PROTECTION_*_PERIOD constant a bit. Keep in mind that uncontrolled heating
* shouldn't be allowed to persist for more than a minite or two.
*
* Be careful to distinguish false positives from real sensor issues before disabling this feature. If the
* heater's temperature appears even slightly higher than expected after restarting, you may have a real
* thermal malfunction. Check the temperature graph in your host for any unusual bumps.
*/
//#define THERMAL_PROTECTION_VARIANCE_MONITOR // Detect a sensor malfunction preventing temperature updates
//#define THERMAL_PROTECTION_VARIANCE_MONITOR
#if ENABLED(THERMAL_PROTECTION_VARIANCE_MONITOR)
// Variance detection window to override the THERMAL_PROTECTION...PERIOD settings above.
// Keep in mind that some heaters heat up faster than others.
//#define THERMAL_PROTECTION_VARIANCE_MONITOR_PERIOD 30 // (s) Override all watch periods
#endif
#endif

#if ENABLED(PIDTEMP)
Expand Down
31 changes: 28 additions & 3 deletions config/examples/ADIMLab/Gantry v2/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,35 @@

#if ANY(THERMAL_PROTECTION_HOTENDS, THERMAL_PROTECTION_BED, THERMAL_PROTECTION_CHAMBER, THERMAL_PROTECTION_COOLER)
/**
* Thermal Protection Variance Monitor - EXPERIMENTAL.
* Kill the machine on a stuck temperature sensor. Disable if you get false positives.
* Thermal Protection Variance Monitor - EXPERIMENTAL
* Kill the machine on a stuck temperature sensor.
*
* This feature may cause some thermally-stable systems to halt. Be sure to test it throughly under
* a variety of conditions. Disable if you get false positives.
*
* This feature ensures that temperature sensors are updating regularly. If sensors die or get "stuck",
* or if Marlin stops reading them, temperatures will remain constant while heaters may still be powered!
* This feature only monitors temperature changes so it should catch any issue, hardware or software.
*
* By default it uses the THERMAL_PROTECTION_*_PERIOD constants (above) for the time window, within which
* at least one temperature change must occur, to indicate that sensor polling is working. If any monitored
* heater's temperature remains totally constant (without even a fractional change) during this period, a
* thermal malfunction error occurs and the printer is halted.
*
* A very stable heater might produce a false positive and halt the printer. In this case, try increasing
* the corresponding THERMAL_PROTECTION_*_PERIOD constant a bit. Keep in mind that uncontrolled heating
* shouldn't be allowed to persist for more than a minite or two.
*
* Be careful to distinguish false positives from real sensor issues before disabling this feature. If the
* heater's temperature appears even slightly higher than expected after restarting, you may have a real
* thermal malfunction. Check the temperature graph in your host for any unusual bumps.
*/
//#define THERMAL_PROTECTION_VARIANCE_MONITOR // Detect a sensor malfunction preventing temperature updates
//#define THERMAL_PROTECTION_VARIANCE_MONITOR
#if ENABLED(THERMAL_PROTECTION_VARIANCE_MONITOR)
// Variance detection window to override the THERMAL_PROTECTION...PERIOD settings above.
// Keep in mind that some heaters heat up faster than others.
//#define THERMAL_PROTECTION_VARIANCE_MONITOR_PERIOD 30 // (s) Override all watch periods
#endif
#endif

#if ENABLED(PIDTEMP)
Expand Down
31 changes: 28 additions & 3 deletions config/examples/Alfawise/U20-bltouch/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,35 @@

#if ANY(THERMAL_PROTECTION_HOTENDS, THERMAL_PROTECTION_BED, THERMAL_PROTECTION_CHAMBER, THERMAL_PROTECTION_COOLER)
/**
* Thermal Protection Variance Monitor - EXPERIMENTAL.
* Kill the machine on a stuck temperature sensor. Disable if you get false positives.
* Thermal Protection Variance Monitor - EXPERIMENTAL
* Kill the machine on a stuck temperature sensor.
*
* This feature may cause some thermally-stable systems to halt. Be sure to test it throughly under
* a variety of conditions. Disable if you get false positives.
*
* This feature ensures that temperature sensors are updating regularly. If sensors die or get "stuck",
* or if Marlin stops reading them, temperatures will remain constant while heaters may still be powered!
* This feature only monitors temperature changes so it should catch any issue, hardware or software.
*
* By default it uses the THERMAL_PROTECTION_*_PERIOD constants (above) for the time window, within which
* at least one temperature change must occur, to indicate that sensor polling is working. If any monitored
* heater's temperature remains totally constant (without even a fractional change) during this period, a
* thermal malfunction error occurs and the printer is halted.
*
* A very stable heater might produce a false positive and halt the printer. In this case, try increasing
* the corresponding THERMAL_PROTECTION_*_PERIOD constant a bit. Keep in mind that uncontrolled heating
* shouldn't be allowed to persist for more than a minite or two.
*
* Be careful to distinguish false positives from real sensor issues before disabling this feature. If the
* heater's temperature appears even slightly higher than expected after restarting, you may have a real
* thermal malfunction. Check the temperature graph in your host for any unusual bumps.
*/
//#define THERMAL_PROTECTION_VARIANCE_MONITOR // Detect a sensor malfunction preventing temperature updates
//#define THERMAL_PROTECTION_VARIANCE_MONITOR
#if ENABLED(THERMAL_PROTECTION_VARIANCE_MONITOR)
// Variance detection window to override the THERMAL_PROTECTION...PERIOD settings above.
// Keep in mind that some heaters heat up faster than others.
//#define THERMAL_PROTECTION_VARIANCE_MONITOR_PERIOD 30 // (s) Override all watch periods
#endif
#endif

#if ENABLED(PIDTEMP)
Expand Down
31 changes: 28 additions & 3 deletions config/examples/Alfawise/U20/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,35 @@

#if ANY(THERMAL_PROTECTION_HOTENDS, THERMAL_PROTECTION_BED, THERMAL_PROTECTION_CHAMBER, THERMAL_PROTECTION_COOLER)
/**
* Thermal Protection Variance Monitor - EXPERIMENTAL.
* Kill the machine on a stuck temperature sensor. Disable if you get false positives.
* Thermal Protection Variance Monitor - EXPERIMENTAL
* Kill the machine on a stuck temperature sensor.
*
* This feature may cause some thermally-stable systems to halt. Be sure to test it throughly under
* a variety of conditions. Disable if you get false positives.
*
* This feature ensures that temperature sensors are updating regularly. If sensors die or get "stuck",
* or if Marlin stops reading them, temperatures will remain constant while heaters may still be powered!
* This feature only monitors temperature changes so it should catch any issue, hardware or software.
*
* By default it uses the THERMAL_PROTECTION_*_PERIOD constants (above) for the time window, within which
* at least one temperature change must occur, to indicate that sensor polling is working. If any monitored
* heater's temperature remains totally constant (without even a fractional change) during this period, a
* thermal malfunction error occurs and the printer is halted.
*
* A very stable heater might produce a false positive and halt the printer. In this case, try increasing
* the corresponding THERMAL_PROTECTION_*_PERIOD constant a bit. Keep in mind that uncontrolled heating
* shouldn't be allowed to persist for more than a minite or two.
*
* Be careful to distinguish false positives from real sensor issues before disabling this feature. If the
* heater's temperature appears even slightly higher than expected after restarting, you may have a real
* thermal malfunction. Check the temperature graph in your host for any unusual bumps.
*/
//#define THERMAL_PROTECTION_VARIANCE_MONITOR // Detect a sensor malfunction preventing temperature updates
//#define THERMAL_PROTECTION_VARIANCE_MONITOR
#if ENABLED(THERMAL_PROTECTION_VARIANCE_MONITOR)
// Variance detection window to override the THERMAL_PROTECTION...PERIOD settings above.
// Keep in mind that some heaters heat up faster than others.
//#define THERMAL_PROTECTION_VARIANCE_MONITOR_PERIOD 30 // (s) Override all watch periods
#endif
#endif

#if ENABLED(PIDTEMP)
Expand Down
31 changes: 28 additions & 3 deletions config/examples/AliExpress/UM2pExt/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,35 @@

#if ANY(THERMAL_PROTECTION_HOTENDS, THERMAL_PROTECTION_BED, THERMAL_PROTECTION_CHAMBER, THERMAL_PROTECTION_COOLER)
/**
* Thermal Protection Variance Monitor - EXPERIMENTAL.
* Kill the machine on a stuck temperature sensor. Disable if you get false positives.
* Thermal Protection Variance Monitor - EXPERIMENTAL
* Kill the machine on a stuck temperature sensor.
*
* This feature may cause some thermally-stable systems to halt. Be sure to test it throughly under
* a variety of conditions. Disable if you get false positives.
*
* This feature ensures that temperature sensors are updating regularly. If sensors die or get "stuck",
* or if Marlin stops reading them, temperatures will remain constant while heaters may still be powered!
* This feature only monitors temperature changes so it should catch any issue, hardware or software.
*
* By default it uses the THERMAL_PROTECTION_*_PERIOD constants (above) for the time window, within which
* at least one temperature change must occur, to indicate that sensor polling is working. If any monitored
* heater's temperature remains totally constant (without even a fractional change) during this period, a
* thermal malfunction error occurs and the printer is halted.
*
* A very stable heater might produce a false positive and halt the printer. In this case, try increasing
* the corresponding THERMAL_PROTECTION_*_PERIOD constant a bit. Keep in mind that uncontrolled heating
* shouldn't be allowed to persist for more than a minite or two.
*
* Be careful to distinguish false positives from real sensor issues before disabling this feature. If the
* heater's temperature appears even slightly higher than expected after restarting, you may have a real
* thermal malfunction. Check the temperature graph in your host for any unusual bumps.
*/
//#define THERMAL_PROTECTION_VARIANCE_MONITOR // Detect a sensor malfunction preventing temperature updates
//#define THERMAL_PROTECTION_VARIANCE_MONITOR
#if ENABLED(THERMAL_PROTECTION_VARIANCE_MONITOR)
// Variance detection window to override the THERMAL_PROTECTION...PERIOD settings above.
// Keep in mind that some heaters heat up faster than others.
//#define THERMAL_PROTECTION_VARIANCE_MONITOR_PERIOD 30 // (s) Override all watch periods
#endif
#endif

#if ENABLED(PIDTEMP)
Expand Down
31 changes: 28 additions & 3 deletions config/examples/Anet/A2/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,35 @@

#if ANY(THERMAL_PROTECTION_HOTENDS, THERMAL_PROTECTION_BED, THERMAL_PROTECTION_CHAMBER, THERMAL_PROTECTION_COOLER)
/**
* Thermal Protection Variance Monitor - EXPERIMENTAL.
* Kill the machine on a stuck temperature sensor. Disable if you get false positives.
* Thermal Protection Variance Monitor - EXPERIMENTAL
* Kill the machine on a stuck temperature sensor.
*
* This feature may cause some thermally-stable systems to halt. Be sure to test it throughly under
* a variety of conditions. Disable if you get false positives.
*
* This feature ensures that temperature sensors are updating regularly. If sensors die or get "stuck",
* or if Marlin stops reading them, temperatures will remain constant while heaters may still be powered!
* This feature only monitors temperature changes so it should catch any issue, hardware or software.
*
* By default it uses the THERMAL_PROTECTION_*_PERIOD constants (above) for the time window, within which
* at least one temperature change must occur, to indicate that sensor polling is working. If any monitored
* heater's temperature remains totally constant (without even a fractional change) during this period, a
* thermal malfunction error occurs and the printer is halted.
*
* A very stable heater might produce a false positive and halt the printer. In this case, try increasing
* the corresponding THERMAL_PROTECTION_*_PERIOD constant a bit. Keep in mind that uncontrolled heating
* shouldn't be allowed to persist for more than a minite or two.
*
* Be careful to distinguish false positives from real sensor issues before disabling this feature. If the
* heater's temperature appears even slightly higher than expected after restarting, you may have a real
* thermal malfunction. Check the temperature graph in your host for any unusual bumps.
*/
//#define THERMAL_PROTECTION_VARIANCE_MONITOR // Detect a sensor malfunction preventing temperature updates
//#define THERMAL_PROTECTION_VARIANCE_MONITOR
#if ENABLED(THERMAL_PROTECTION_VARIANCE_MONITOR)
// Variance detection window to override the THERMAL_PROTECTION...PERIOD settings above.
// Keep in mind that some heaters heat up faster than others.
//#define THERMAL_PROTECTION_VARIANCE_MONITOR_PERIOD 30 // (s) Override all watch periods
#endif
#endif

#if ENABLED(PIDTEMP)
Expand Down
Loading

0 comments on commit 85acc1b

Please sign in to comment.