CN-121977699-A - High-precision false alarm prevention temperature measurement method, device, equipment and medium based on thermopile array
Abstract
The invention discloses a high-precision false alarm prevention temperature measurement method, device, equipment and medium based on a thermopile array, which comprises the steps of constructing smooth temperature through a sliding time window, executing S13 if no interference state exists, executing a preset step B1 if the interference state exists, executing S14 if the interference state exists, executing S15 if the interference state exists in a short-time temperature stable state, judging whether the pixel enters a quick dry heating state from a quick dry heating state, executing S16 if the interference state exists in the long-time temperature stable state, judging whether the pixel enters a slow dry heating state from a slow dry heating state, executing S17 if the interference state does not exist in the long-time temperature stable state, judging whether an alarm signal is sent out, if the real-time smooth temperature meets a preset temperature releasing condition, releasing the alarm state, and switching from a continuous monitoring mode to a low power consumption mode when the continuous temperature difference duration of a heat source meets a preset duration. The invention belongs to the field of dry combustion detection. The invention can improve the accuracy of dry combustion detection.
Inventors
- WEI JISHUI
- He Zaizhou
- CHEN YI
Assignees
- 成都安可信电子股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260408
Claims (19)
- 1. The high-precision false alarm prevention temperature measurement method based on the thermopile array is characterized by comprising the following steps of: S11, if the environmental temperature difference of the heat source is continuously greater than the preset T0 twice, switching from a low-power consumption mode to a continuous monitoring mode, acquiring real-time temperature and constructing smooth temperature by using a sliding time window, wherein the continuous monitoring mode aims at pixels; S12, inputting real-time temperature into the queue 1, judging the interference state of the pixel points when the number of the real-time temperature in the queue 1 reaches the preset number A1, and executing S13 if the interference state does not exist; S13, determining whether the pixel point is in a short-time temperature stable state or a long-time temperature stable state, if so, executing S14, and if so, executing S15; S14, judging whether the pixel point enters a rapid dry heating state from the rapid dry heating state after the pixel point enters the rapid dry heating state from the short-time temperature steady state, and executing S16 if the pixel point enters the rapid dry heating state from the rapid dry heating state; S15, judging whether the pixel point enters a slow dry heating state from the slow dry heating state after the pixel point enters the slow dry heating state from the long-time temperature steady state, and if so, executing S17; S16, judging whether to send out an alarm signal according to the real-time smooth temperature and a first preset temperature condition, wherein the first preset temperature condition is related to a rapid dry heating alarm state, and executing S18 if the first preset temperature condition is sent out; S17, judging whether to send out an alarm signal according to the real-time smooth temperature and a second preset temperature condition, wherein the second preset temperature condition is related to a slow dry heating warning state, and executing S18 if the second preset temperature condition is sent out; s18, after an alarm signal is sent out, if the real-time smooth temperature meets the preset condition of releasing the temperature, the alarm state is released; and S19, when the duration of the temperature difference of the heat source environment meets the preset duration, switching from the continuous monitoring mode to the low-power consumption mode.
- 2. The thermopile array-based high-precision false alarm prevention temperature measurement method of claim 1, wherein if the heat source environment temperature difference is continuously greater than a preset T0 twice, switching from a low power consumption mode to a continuous monitoring mode, acquiring a real-time temperature and constructing a smoothed temperature with a sliding time window, comprises: When in the low power consumption mode, the temperature sensor is controlled to be started every 30s, if the heat source environment temperature difference between two continuous times is larger than a preset T0, the continuous monitoring mode is switched to, and the temperature sensor in the continuous monitoring mode is started every 2 s; acquiring a plurality of real-time temperatures in a continuous monitoring mode; sequentially inputting the real-time temperatures into the queue 1 according to a time sequence, and taking the average temperature value of the queue 1 as a smooth temperature when the number of the real-time temperatures in the queue 1 reaches a preset number A1; The processing of queue 1 is continued with a sliding time window, resulting in several smoothed temperatures.
- 3. The method for measuring temperature based on the thermopile array according to claim 1, wherein real-time temperature is input to the queue 1, when the number of real-time temperatures in the queue 1 reaches a preset number A1, the pixel is judged as an interference state, if no interference state exists, S13 is executed, and if so, the preset step B1 is executed, including: If the absolute value of the difference between the real-time temperature at the current moment and the real-time temperature at the previous moment is larger than the preset T1, acquiring the difference Y1 and the real-time temperature X1 at the previous moment, and entering an interference state, otherwise executing S13; continuously acquiring the real-time temperature, and judging that the real-time temperature X1 is upward jump or downward jump if the absolute value of the difference value between the real-time temperature in 10s and the real-time temperature X1 is less than half of Y1; Initializing a queue 1 of pixel points corresponding to the real-time temperature X1 if the real-time temperature X1 jumps upwards, removing an interference state if the real-time temperature X1 jumps downwards, and executing S13; if the interference state cannot be removed within 10S, performing linear fitting on the real-time temperature within 10S, if the slope after fitting is smaller than a preset coefficient D1, initializing a queue 1 of the pixel point, and if the slope is larger than or equal to the preset coefficient D1, removing the interference state, and not executing S11-S19 on the pixel point within a preset time length N2.
- 4. The thermopile array-based high-precision false alarm prevention temperature measurement method according to claim 1, wherein determining whether the pixel point is in a short-time temperature plateau, if so, executing S14, comprises: Sequentially inputting a plurality of smooth temperatures into a queue 2, and counting once if the absolute value of the difference between the real-time temperature and the real-time temperature at the previous moment is larger than a preset T2 in the process; When the number of the smooth temperatures in the queue 2 reaches A2, determining the temperature average value and the temperature average change rate of the queue 2, and removing the first smooth temperature in the queue 2 if the temperature average value of the queue 2 is smaller than or equal to a preset T3 or the temperature average change rate of the queue 2 is larger than a preset coefficient D2; if the average temperature value of the queue 2 is larger than a preset T3, and the average temperature change rate of the queue 2 is smaller than or equal to a preset coefficient D2, entering a short-time temperature stable state; emptying all the smooth temperatures in the queue 2, and transferring all the smooth temperatures in the queue 2 to the queue 3; After removing the maximum value and the minimum value of the smoothed temperature in the queue 3, performing linear fitting and temperature averaging on the queue 3 to obtain a slope Y3min and a temperature average Y31min, and copying the smoothed temperature in the queue 3 to the queue 4 to execute S14.
- 5. The thermopile array-based high-precision false alarm prevention temperature measurement method according to claim 1, wherein determining whether the pixel is in a long-term temperature plateau, and if so, executing S15, comprises: When the number of real-time temperatures in the queue 1 reaches a preset number A1, sequentially inputting the smooth temperatures into the queue 6, wherein the number of the queue 6 which can be accommodated is A3; when the smooth temperature in the queue 6 reaches A3, determining the temperature average value of the queue 6 and the temperature difference between the smooth temperatures in the queue 6, and if the temperature average value of the queue 6 is smaller than or equal to a preset T4 or the temperature difference between the smooth temperatures in any queue 6 is larger than a preset T5, removing the first smooth temperature of the queue 6; if the average temperature value of the queue 6 is greater than a preset T4 and the temperature difference between the smooth temperatures in the queue 6 is less than or equal to a preset T5, entering a long-time temperature stable state; The linear fitting is performed on the queue 6 to obtain a slope Y4min, and S15 is performed after defining the last smoothed temperature in the queue 6 as Y41 min.
- 6. The method for high-precision anti-false alarm temperature measurement based on a thermopile array according to claim 4, wherein after the pixel enters a rapid dry heating alert state from a short-time temperature steady state, determining whether the pixel enters the rapid dry heating alert state from the rapid dry heating alert state, if so, executing S16, comprising: When the number of the smooth temperatures in the queue 3 reaches A4, a rapid dry heating warning state is entered; after entering a rapid dry heating warning state, if the absolute value of the difference between the real-time temperature and the real-time temperature at the previous moment is smaller than a preset T6, updating the queue 2 with the smooth temperature; Copying the smoothed temperature in the queue 2 into the queue 3; Removing the maximum value and the minimum value of the smooth temperature in the queue 3, and performing linear fitting to obtain a slope Y3 and a temperature average value Y31 of the queue 3 after the quick dry heating alert state is entered; If the updated temperature average value of the queue 2 is greater than a preset T7 and the temperature average change rate of the queue 2 is smaller than a preset coefficient D3, adding 1 to the first counter; if Y3 is less than Y3min, then let Y3min equal Y3, let Y31min equal Y31, and let queue 4 equal queue 3, and create queue 5; If the absolute value of the difference between the real-time temperature and the real-time temperature at the previous moment is greater than the preset T7, adding 1 to the second counter, when the count of the second counter is 2, emptying the queue 2, the queue 3 and the queue 4, resetting the fast dry heating warning state, resetting the second counter, skipping the pixel point, and executing S11-S19 on the other pixel point.
- 7. The method for detecting the temperature of the thermopile array based on the high-precision false alarm prevention as set forth in claim 5, wherein when the pixel point enters the slow dry-fire alert state from the long-term steady state, determining whether the pixel point enters the slow dry-fire alert state from the slow dry-fire alert state, if so, executing S17 includes: when the number of the smooth temperatures in the queue 6 reaches A4, a slow dry heating warning state is entered; After entering a slow dry heating warning state, performing linear fitting on the queue 6 to obtain a slope Y4 of the queue 6 and a final smooth temperature in the queue 6 is made to be Y41; if Y4 is less than Y4min, let Y4min equal Y4, let Y41min equal Y41, and build queue 7.
- 8. The high-precision anti-false alarm temperature measurement method based on thermopile array according to claim 6 or 7, further comprising, between S13 to S14: let Z3 be the difference between the smoothed temperature and the smoothed temperature at the previous time, and Z4 be the difference between the first real-time temperature and the last real-time temperature in the queue 1.
- 9. The method for high-precision anti-false alarm temperature measurement based on a thermopile array according to claim 8, wherein determining whether the pixel point enters a fast dry-fire state from a fast dry-fire alert state, if so, executing S16, further comprises: After entering a rapid dry heating warning state, when Y3 is not 0, Y3min is smaller than a preset coefficient D4, the first counter is larger than a preset number K1, and the second counter is smaller than or equal to a preset number K2, acquiring real-time temperature of any 8 adjacent pixel points around the pixel point; Comparing the real-time temperature of the adjacent pixel point with the real-time temperature of the last moment of the adjacent pixel point; if the real-time temperature of each adjacent pixel point is greater than the real-time temperature M1 times of the last moment of the adjacent pixel point and the real-time temperature of each adjacent pixel point is less than or equal to the real-time temperature M2 times of the pixel point, the position of the pixel point is the position of the heat source.
- 10. The method for high-precision anti-false alarm temperature measurement based on a thermopile array according to claim 9, wherein determining whether the pixel point enters a fast dry-fire state from a fast dry-fire alert state, if so, executing S16, further comprises: If the conditions are satisfied: z4 is greater than 0, Z3 is greater than Y3min which is P1 times greater than P, the pixel point is located at the position where the heat source is located, Y2 is greater than or equal to the maximum smoothing temperature in the queue 4, wherein Y2 is the smoothing temperature of the point at the current moment, or, Y3 is greater than or equal to 1, Y3 is greater than or equal to Y3min which is P1 times greater than or equal to Y3, the temperature difference between the real-time temperature of the pixel point and the real-time temperature at the last moment is smaller than a preset T8, and the temperature difference between the smooth temperature and Y31min is smaller than a preset T8; Sequentially inputting the smoothed temperatures into the queue 5 and resetting the third counter; if not, the count of the third counter is incremented by 1, and when the third counter is 2, the queue 5 is emptied and the third counter is reset.
- 11. The method for high-precision anti-false alarm temperature measurement based on a thermopile array according to claim 10, wherein determining whether the pixel point enters a fast dry-fire state from a fast dry-fire alert state, if so, executing S16, further comprises: If the conditions are satisfied: The smoothing temperature is greater than or equal to Y31min which is P2 times or, When the smooth temperature is greater than or equal to Y31min+W1 and the real-time temperature at the last moment are smaller than a preset T8, if Y6 is 0, the smooth temperature is assigned to Y6, and Y6 is the quick-drying temporary early warning temperature; otherwise, if the following conditions are satisfied: The smooth temperature is larger than Y6, the temperature difference between the smooth temperature and the smooth temperature at the last moment is larger than Y3min which is P1 times larger, the temperature difference between the smooth temperature and the smooth temperature at the last moment is larger than a preset T4, the temperature difference between the real-time temperature and the real-time temperature at the last moment is smaller than T4, the smooth temperature is assigned to Y6, and the count of the fourth counter is increased by 1; When the count of the fourth counter is 3, the quick dry heating state is entered.
- 12. The method for high-precision anti-false alarm temperature measurement based on a thermopile array according to claim 10, wherein determining whether the pixel point enters a fast dry-fire state from a fast dry-fire alert state, if so, executing S16, further comprises: When the number of smoothed temperatures in the queue 5 is equal to the preset number A6, a quick dry combustion state is entered.
- 13. The method for detecting the temperature of the thermopile array based on the high-precision false alarm prevention as set forth in claim 9, wherein when the pixel point enters the slow dry-fire alert state from the long-term steady state, determining whether the pixel point enters the slow dry-fire alert state from the slow dry-fire alert state, if so, executing S17 includes: When the position of the pixel point is the position of the heat source, the smoothing temperature is greater than or equal to Y41min, and Y4 is greater than or equal to a preset T6; Then the smoothed temperature is put in queue 7 and the fourth counter is reset; If not, the following conditions are satisfied: When the count of the four counters is equal to 3, the queue 7 is emptied and the fourth counter is reset; if the smooth temperature is greater than or equal to Y41min which is P3 times, assigning the smooth temperature to Y7 if Y7 is 0, wherein Y7 is a slow dry burning temporary early warning temperature; If not, the following conditions are satisfied: and when the smooth temperature is greater than Y7, assigning the smooth temperature to Y7, adding 1 to the count of the fifth counter, and when the fifth counter is 3, entering a slow dry-burning state.
- 14. The method for detecting the temperature of the thermopile array based on the high-precision false alarm prevention as set forth in claim 9, wherein when the pixel point enters the slow dry-fire alert state from the long-term steady state, determining whether the pixel point enters the slow dry-fire alert state from the slow dry-fire alert state, if so, executing S17 includes: When the number of smoothed temperatures in the queue 7 is equal to the preset number A7, a slow dry-fire state is entered.
- 15. The high-precision anti-false alarm temperature measurement method based on a thermopile array according to claim 11 or 12, comprising, after entering a fast dry-fire state: And if the smoothing temperature is greater than the maximum smoothing temperature in the queue 4 which is P4 times and is greater than the preset T9, sending an alarm signal.
- 16. The high-precision anti-false alarm temperature measurement method based on a thermopile array according to claim 13 or 14, wherein after entering a slow dry-fire state, the method comprises: And if the smoothing temperature is greater than the maximum smoothing temperature in the queue 4 which is P5 times and is greater than the preset T9, sending out an alarm signal.
- 17. The thermopile array-based high-precision false alarm prevention temperature measurement method according to claim 1, wherein, after sending the alarm signal, if the real-time smoothed temperature satisfies the release temperature preset condition, releasing the alarm state comprises: in the rapid dry heating state, if the smooth temperature is less than or equal to the maximum smooth temperature in the queue 4 of P4 times and the duration of less than or equal to the preset T9 is greater than N2, the alarm state is released; in the slow dry-combustion state, if the smoothed temperature is less than or equal to P5 times of the maximum smoothed temperature in the queue 4 and the duration of less than or equal to the preset T9 is greater than N2, the alarm state is released.
- 18. The thermopile array-based high-precision false alarm prevention temperature measurement method of claim 1, wherein when the duration of the temperature difference of the heat source environment meets the preset duration, switching from the continuous monitoring mode to the low power consumption mode comprises: And when the temperature difference of the heat source environment is less than or equal to the preset T0 and the duration is greater than N2, switching from the continuous monitoring mode to the low power consumption mode.
- 19. High accuracy prevents false alarm temperature measuring device based on thermopile array, its characterized in that includes: The first module is used for step S11, and comprises the steps of switching from a low-power consumption mode to a continuous monitoring mode if the environmental temperature difference of the heat source is continuously greater than a preset T0 twice, acquiring real-time temperature and constructing smooth temperature by using a sliding time window, wherein the continuous monitoring mode aims at pixels; The second module is used for inputting real-time temperature into the queue 1, judging the interference state of the pixel points when the number of the real-time temperature in the queue 1 reaches the preset number A1, and executing S13 if the interference state does not exist; A third module, configured to determine whether the pixel is in a short-time temperature stable state or a long-time temperature stable state, and execute S14 if the pixel is in the short-time temperature stable state, and execute S15 if the pixel is in the long-time temperature stable state; a fourth module, configured to, in step S14, determine whether the pixel point enters a fast dry-fire state from a fast dry-fire alert state after the pixel point enters the fast dry-fire alert state from a short-time temperature steady state, and if so, execute S16; a fifth module, configured to step S15, including determining whether the pixel point enters a slow dry-fire state from a slow dry-fire alert state after the pixel point enters the slow dry-fire alert state from a long-time temperature steady state, and if so, executing S17; A sixth module, configured to determine whether to send out an alarm signal according to the real-time smooth temperature and a first preset temperature condition, where the first preset temperature condition is related to a rapid dry-fire alarm state, and if so, execute S18; a seventh module, configured to determine whether to send out an alarm signal according to the real-time smooth temperature and a second preset temperature condition, where the second preset temperature condition is related to a slow dry-fire alert state, and if so, execute S18; An eighth module, configured to, after sending an alarm signal, release the alarm state if the real-time smoothed temperature meets a preset condition for releasing the temperature; And a ninth module, configured to switch from the continuous monitoring mode to the low power consumption mode when the duration of the temperature difference of the heat source environment meets the preset duration.
Description
High-precision false alarm prevention temperature measurement method, device, equipment and medium based on thermopile array Technical Field The invention relates to the field of dry combustion method detection, in particular to a high-precision false alarm prevention temperature measurement method, device and equipment based on a thermopile array and a medium. Background The dry burning prevention is a safety function for preventing the pot or the electric appliance from being continuously heated under the condition of no water or food materials by a temperature monitoring and automatic control technology. When the abnormal temperature rise (usually more than 290 ℃) of the bottom of the pot or the inside of the equipment is detected, the temperature sensing probe can trigger a power-off or air-off mechanism to extinguish flame or stop heating, so that fire, equipment damage or harmful substance generation are avoided. The problems of the existing dry burning prevention technology can be summarized into two aspects, namely strict sensor installation requirements, pertinence and lack of universality of dry burning prevention judgment logic. The former is influenced by the latter, and the sensor can be installed more flexibly only by improving the dry burning prevention algorithm. Therefore, in order to improve the accuracy of dry combustion method and reduce the installation requirement of the sensor, the invention provides a high-precision anti-false alarm temperature measurement method based on a thermopile array. Disclosure of Invention The invention solves the technical problem of inaccurate dry combustion detection in the prior art by providing the high-precision false alarm prevention temperature measurement method, the device, the equipment and the medium based on the thermopile array, and achieves the technical effect of improving the accuracy of dry combustion detection. In a first aspect, the present invention provides a high-precision anti-false alarm temperature measurement method based on a thermopile array, including: S11, if the environmental temperature difference of the heat source is continuously greater than the preset T0 twice, switching from a low-power consumption mode to a continuous monitoring mode, acquiring real-time temperature and constructing smooth temperature by using a sliding time window, wherein the continuous monitoring mode aims at pixels; S12, inputting real-time temperature into the queue 1, judging the interference state of the pixel points when the number of the real-time temperature in the queue 1 reaches the preset number A1, and executing S13 if the interference state does not exist; S13, determining whether the pixel point is in a short-time temperature stable state or a long-time temperature stable state, if so, executing S14, and if so, executing S15; S14, judging whether the pixel point enters a rapid dry heating state from the rapid dry heating state after the pixel point enters the rapid dry heating state from the short-time temperature steady state, and executing S16 if the pixel point enters the rapid dry heating state from the rapid dry heating state; S15, judging whether the pixel point enters a slow dry heating state from the slow dry heating state after the pixel point enters the slow dry heating state from the long-time temperature steady state, and if so, executing S17; S16, judging whether to send out an alarm signal according to the real-time smooth temperature and a first preset temperature condition, wherein the first preset temperature condition is related to a rapid dry heating alarm state, and executing S18 if the first preset temperature condition is sent out; S17, judging whether to send out an alarm signal according to the real-time smooth temperature and a second preset temperature condition, wherein the second preset temperature condition is related to a slow dry heating warning state, and executing S18 if the second preset temperature condition is sent out; s18, after an alarm signal is sent out, if the real-time smooth temperature meets the preset condition of releasing the temperature, the alarm state is released; and S19, when the duration of the temperature difference of the heat source environment meets the preset duration, switching from the continuous monitoring mode to the low-power consumption mode. Further, if the heat source environment temperature difference is continuously greater than the preset T0 twice, switching from the low power consumption mode to the continuous monitoring mode, and obtaining the real-time temperature and constructing the smooth temperature with the sliding time window, including: When in the low power consumption mode, the temperature sensor is controlled to be started every 30s, if the heat source environment temperature difference between two continuous times is larger than a preset T0, the continuous monitoring mode is switched to, and the temperature sensor in the continuous monitoring mode is star