A gas stove flame-out determination method and system
Patent Information
- Application Number
- CN202611181548.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-05
- Publication Date
- 2026-09-25
AI Technical Summary
[0003]但是,在现有技术中,热电偶熄火保护方案普遍采用单一固定阈值判定熄火状态,存在难以解决的技术矛盾:
[0020]鉴于上述,本说明书一些实施例提供的技术方案带来的有益效果至少包括:
Smart Images

Figure CN122813263A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of gas stove safety control technology, and in particular to a method and system for determining the flameout of a gas stove. Background Technology
[0002] The thermocouple flameout protection device for gas stoves is the mainstream safety protection structure for gas stoves. Its working principle is to generate a thermoelectric potential by heating the thermocouple through flame combustion. The magnitude of the thermoelectric potential corresponds to the flame intensity. When the thermocouple detects that the thermoelectric potential is lower than the set threshold, it triggers the solenoid valve to cut off the gas passage and prevent gas leakage from causing safety accidents.
[0003] However, in existing technologies, thermocouple flameout protection schemes generally use a single fixed threshold to determine the flameout state, which presents an intractable technical contradiction:
[0004] If a low flameout threshold is used, the response time of flameout protection varies greatly among different cookware. For empty pots and metal heat-conducting pots, the thermocouple thermoelectric potential drops quickly after the flameout, which can quickly trigger the protection. However, for slow-conducting earthenware pots and ceramic pots, heat continues to dissipate after the flameout, and the thermocouple thermoelectric potential drops extremely slowly. It often takes tens of seconds or even longer for the thermoelectric potential to fall below the threshold after the flameout, resulting in long-term gas leakage and posing a great safety hazard.
[0005] Using a higher flameout threshold can reduce the difference in response time between different cookware and ensure that slow-heating cookware such as casseroles can quickly trigger flameout protection. However, when the gas stove is burning at low flame, the electromotive force of the thermocouple itself is in a low range, very close to the threshold, which makes it very easy to misjudge. This can lead to the solenoid valve being accidentally shut off during normal combustion, causing abnormal flameout and affecting normal use by the user. Summary of the Invention
[0006] To address the problems existing in the prior art, embodiments of the present invention provide a method and system for determining the flameout of a gas stove.
[0007] Firstly, embodiments of this specification provide a method for determining the flameout of a gas stove, the method comprising:
[0008] Real-time acquisition of electromotive force data output by the thermocouple corresponding to the gas stove;
[0009] When the electromotive force data is lower than the first shutdown threshold, a shutdown determination is triggered. The shutdown determination includes: comparing the historical electromotive force data in the time window adjacent to the current collection point with the real-time collected electromotive force data, and determining that the electromotive force data shows a downward trend based on the comparison result, and the difference between the two is greater than the change threshold.
[0010] If the flameout determination passes, flameout protection is triggered; otherwise, flameout protection is triggered in response to the electromotive force data being lower than the second flameout threshold, where the second flameout threshold is less than the first flameout threshold.
[0011] Secondly, embodiments of this specification provide a gas stove flameout detection system, the system comprising:
[0012] The data acquisition module is used to acquire the electromotive force data output by the thermocouple corresponding to the gas stove in real time.
[0013] The first shutdown determination module is used to trigger a shutdown determination when the electromotive force data is lower than the first shutdown threshold. The shutdown determination includes: comparing the historical electromotive force data in the time window adjacent to the current collection point with the real-time collected electromotive force data, and determining that the electromotive force data shows a downward trend based on the comparison result, and the difference between the two is greater than the change threshold.
[0014] The second flameout determination module is used to trigger flameout protection if the flameout determination passes, and otherwise, to trigger flameout protection in response to the electromotive force data being lower than the second flameout threshold, wherein the second flameout threshold is less than the first flameout threshold.
[0015] Thirdly, embodiments of this specification provide an electronic device, including a processor and a memory;
[0016] The processor is connected to the memory;
[0017] The memory is used to store executable program code;
[0018] The processor runs a program corresponding to the executable program code stored in the memory to perform the methods described in one or more embodiments.
[0019] Fourthly, embodiments of this specification provide a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the above-described gas stove flameout determination method.
[0020] In view of the above, the beneficial effects of the technical solutions provided by some embodiments of this specification include at least the following:
[0021] In one or more embodiments of this specification, the electromotive force (EMF) data output by the thermocouple corresponding to the gas stove is collected in real time. In response to the EMF data falling below a first flameout threshold, a flameout determination is triggered. The flameout determination includes: comparing historical EMF data within the adjacent time window of the current collection point with the real-time collected EMF data; determining, based on the comparison result, that the EMF data shows a downward trend and the difference between the two is greater than a change threshold; if the flameout determination passes, flameout protection is triggered; otherwise, in response to the EMF data falling below a second flameout threshold, flameout protection is triggered, where the second flameout threshold is less than the first flameout threshold. By using two thresholds, combined with thermocouple EMF change trend determination, and a thermocouple flameout protection method with self-learning correction function, rapid response under different cookware conditions can be considered, while avoiding misjudgment of low-flame combustion conditions, thus improving the safety and reliability of the gas stove's flameout protection. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a flowchart of a gas stove flameout determination method provided in one embodiment of this specification.
[0024] Figure 2 This is a flowchart illustrating a self-learning correction process for a change threshold provided in one embodiment of this specification.
[0025] Figure 3 This is a data example flowchart for determining the flameout of a gas stove, provided in one embodiment of this specification.
[0026] Figure 4 This is a schematic diagram of the electromotive force changing over time in the case of a potless pot, a metal pot, or a clay pot, according to one embodiment of this specification.
[0027] Figure 5 This is a schematic diagram of the change of electromotive force over time under a small fire combustion condition, provided in one embodiment of this specification.
[0028] Figure 6 This is a schematic diagram of a gas stove flameout detection system provided in one embodiment of this specification.
[0029] Figure 7 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this specification. Detailed Implementation
[0030] The subject matter described herein will now be discussed with reference to exemplary embodiments. It should be understood that these embodiments are discussed merely to enable those skilled in the art to better understand and implement the subject matter described herein, and are not intended to limit the scope, applicability, or examples set forth in the claims. The function and arrangement of the elements discussed may be changed without departing from the scope of this specification. Various processes or components may be omitted, substituted, or added as needed in the various examples. For example, the described methods may be performed in a different order than described, and steps may be added, omitted, or combined. Furthermore, features described in some examples may be combined in other examples.
[0031] As used herein, the term "comprising" and its variations are open terms meaning "including but not limited to". The term "based on" means "at least partially based on". The terms "one embodiment" and "an embodiment" mean "at least one embodiment". The term "another embodiment" means "at least one other embodiment". The terms "first", "second", etc., may refer to different or the same objects. Other definitions, whether explicit or implicit, may be included below. Unless explicitly indicated by the context, the definition of a term shall remain consistent throughout the specification.
[0032] Please see Figure 1 , Figure 1 This document presents an overall flowchart of a gas stove flameout determination method provided in an embodiment of this specification.
[0033] like Figure 1 As shown, the gas stove flameout determination method includes at least the following steps:
[0034] Step S102: Real-time acquisition of electromotive force data output by the thermocouple corresponding to the gas stove.
[0035] Specifically, the execution subject in this embodiment is a gas stove. After the device is powered on, i.e., after the gas stove is ignited, the thermoelectric potential signal output by the thermocouple sensor on the gas stove is collected in real time. The data source of the thermoelectric potential signal is that the hot end of the thermocouple is located in the flame combustion zone, and the cold end is located at a reference point inside the stove. The flame combustion heats the hot end, generating a weak DC voltage signal proportional to the temperature difference.
[0036] For the acquisition of electromotive force (EMF) data, the EMF data output by the thermocouple can be read continuously. In this embodiment, it can also be set to periodic rolling data acquisition. For example, the acquisition module continuously acquires thermocouple EMF data without interruption at a preset acquisition period (e.g., 0.5 seconds). After each acquisition, the data is stored in a rolling updated data buffer. The buffer can adopt a first-in-first-out queue structure, always maintaining the data from the most recent N acquisitions (e.g., 10 acquisitions), sequentially denoted as u1, u2, u3…u 10 When new data enters the buffer, the oldest data (u1) is moved out of the buffer, other data are shifted forward by one position, and the new data becomes the latest u. 10 Deposit.
[0037] In practical implementation, when setting the preset sampling period (e.g., 0.5 seconds), the period should, on the one hand, be sufficiently short relative to the thermocouple's thermal inertia (on the order of seconds to tens of seconds) to capture the decreasing trend of the electromotive force without missing crucial changes due to excessively slow sampling. On the other hand, the preset sampling period should be sufficiently long relative to flame fluctuations or circuit noise (which are likely on the order of milliseconds) to produce a low-pass filtering effect, which can suppress the interference of high-frequency glitches on subsequent judgment algorithms.
[0038] Furthermore, the electromotive force data is collected continuously without distinguishing between combustion states, regardless of whether the gas stove is in normal combustion after successful ignition, a small flame with fluctuating flames, or a cooling process after accidental flameout, thus avoiding missed detections.
[0039] Step S104: In response to the electromotive force data being lower than the first shutdown threshold, a shutdown determination is triggered. The shutdown determination includes: comparing the historical electromotive force data within the time window adjacent to the current acquisition point with the real-time acquired electromotive force data, and determining, based on the comparison result, that the electromotive force data shows a downward trend and the difference between the two is greater than the change threshold.
[0040] Specifically, during the real-time acquisition of electromotive force (EMF) data, after each acquisition of the latest EMF data, it is compared with a preset first flameout threshold U1. U1 is a relatively high voltage threshold, and its setting value should be higher than the normal output voltage fluctuation range of the thermocouple when the gas stove is burning at its minimum stable flame. That is, during normal low-flame combustion, even if the flame is very small, the EMF should not be lower than U1 (or may accidentally touch U1 momentarily due to strong interference).
[0041] When the detected electromotive force (EMF) data falls below the first shutdown threshold U1, the system transitions from the data monitoring state to the shutdown determination state. Before the shutdown determination, data preparation includes extracting historical EMF data and real-time EMF data from the time window adjacent to the acquisition point. After acquiring several sets of periodic data, including real-time acquisition points, the data is categorized into earlier and later EMF data based on the acquisition time. The latest acquisition time in the earlier EMF data precedes the earliest acquisition time in the later EMF data.
[0042] After data segmentation, the earlier and later EMF data within corresponding time windows are grouped. The corresponding time window can be determined based on the acquisition period; for example, the first acquisition period of the earlier EMF data and the first acquisition period of the later EMF data can be set as the corresponding time window, and so on. The data acquired in each acquisition period is not limited to a single data point; multiple data points can also be collected. If multiple data points are used, outlier data can be filtered out, and the average value of the data within a single period can be calculated to eliminate the influence of outliers in the EMF data.
[0043] Taking the data collected in step S102 as an example, it includes the data collected in the most recent N times (e.g., 10 times), which are denoted as u1, u2, u3...u 10 The acquisition period is 0.5 seconds, and 10 data points can cover a time span of 4.5 seconds. The acquisition period should not be too long, ensuring that the sliding observation window accumulates the minimum number of sample points required to meet the confidence level for determining the downward trend. The minimum number of sample points, combined with the total acquisition period, should fall within the target time for flameout determination, allowing for rapid response and flameout protection within the target time. Conversely, the acquisition period should not be too short, suppressing interference such as high-frequency flame fluctuations and circuit thermal noise outside the sampling phase, avoiding noise-driven trend determination based on flame fluctuations. The upper and lower limits of the acquisition period are determined based on these two aspects. In this embodiment, the acquisition period can be set, but is not limited to, between 0.25 seconds and 0.75 seconds. For example, it can be set to 0.5 seconds. Then, the data points are divided into prior electromotive force (EMF) data and subsequent EMF data according to the acquisition time. For example, u1, u2, u3, u4, and u5 are acquired earlier and are classified as prior EMF data, while u6, u7, u8, u9, and u... 10 The data collected later is divided into subsequent electromotive force (EMF) data, and the real-time collected EMF data is the last collected data in the subsequent EMF data (u). 10 ).
[0044] Then, the preceding and subsequent electromotive force (EMF) data are grouped according to the corresponding time windows. Based on the example above, the groupings for the corresponding time windows could include u1, u6; u2, u7; u3, u8; u4, u9; u5, u6; u7, u8; u9, u9; u1, ...10 Within each group, the same time length (2.5 seconds) is covered. This overlapping design smooths out single-point noise, ensuring that subsequent judgments capture a consistent, continuous downward trend rather than instantaneous jumps.
[0045] Compare the prior and subsequent electromotive force (EMF) data within each group. Calculate the voltage change in different intervals across the five groups using the following formulas: Δu1=u1-u6, Δu2=u2-u7, Δu3=u3-u8, Δu4=u4-u9, Δu5=u5-u 10 At this point, Δu is calculated by subtracting the later electromotive force (EMF) data from the earlier EMF data. As the EMF decreases over time, the later data is less than the earlier data, and the difference Δu is positive. The larger the positive value, the greater the decrease.
[0046] After data preparation is completed, a shutdown determination is performed, which may include the following conditions:
[0047] Condition 1: Based on the comparison results, the electromotive force data shows a downward trend.
[0048] Specifically, the criteria for determining a downward trend can be Δu1>0, Δu2>0, Δu3>0, Δu4>0, Δu5>0 (voltages in all intervals continuously decrease), and the minimum value in the initial electromotive force (e.g., u5) is greater than the maximum value in the subsequent electromotive force (e.g., u6). That is, in all (five groups) intervals, the earlier data is greater than the later data, and the later electromotive force also shows a downward trend compared to the earliest electromotive force. In other words, within the buffer period, the voltage shows a unidirectional, continuous downward trend over multiple consecutive time windows, without any rebound or leveling off. To preserve the robustness of the scheme, the judgment criteria for all groups can be set to a preset proportion (e.g., 90%) to prevent misjudgments caused by abnormal fluctuations in a few groups.
[0049] Condition 2: The decrease in all groups is greater than the change threshold.
[0050] Specifically, the threshold values k1, k2, k3, k4, and k5 for the changes in group 1, group 2, group 3, group 4, and group 5 are obtained. When Δu1>k1, Δu2>k2, Δu3>k3, Δu4>k4, and Δu5>k5, the voltage change is consistently greater than the corresponding threshold value. This indicates that within multiple periodic windows, the thermocouple voltage not only continuously decreases, but the decrease in each observation window reaches a significant level sufficient to exclude normal combustion fluctuations. This suggests that the gas stove is not currently in a low-flame combustion state, but rather in a flameout state. The initial values of the aforementioned threshold values k1, k2, k3, k4, and k5 can be calibrated through laboratory bench experiments. The initial values will differ depending on the type of cookware and the heat coverage. When determining flameout in real time, these values can be adjusted according to the type of cookware and the heat coverage. When calibrating the threshold data, the values can be set in relation to the data acquisition period, the time interval between later data in the group and the real-time acquisition point, and the training correction data. Within the data acquisition cycle, the larger the cycle span, the greater the cumulative voltage drop during normal engine shutdown, and the corresponding threshold k should also increase accordingly. Groups closer to the real-time acquisition point respond more promptly to signal changes; for example, groups with closer time intervals (such as group 5, u5, u...) 10 (The endpoint is the current time), and its threshold k5 may need to consider the latest change characteristics of the signal separately. Because it reflects the downward trend of the latest time acquisition point, it can be given a slightly higher weight. For example, under all test conditions, the decrease of this group is smoothed separately to avoid abnormally high learning values caused by the user's action of turning off the stove (such as instantly removing the pot), which would affect the ability to detect the slow cooker turning off the stove.
[0051] Furthermore, the threshold for change in each group can be continuously modified online during the use of the gas stove. The specific flowchart for the self-learning correction of the threshold for change is shown below. Figure 2 As shown, during user operation, after the device is actively shut down, the system continuously collects data on the change in thermocouple electromotive force U. When the thermocouple voltage U drops below the U1 threshold, taking the above data example as an example, the voltage change rates Δu1~Δu5 corresponding to the five groups are calculated, and the change rate data of this group is stored. After multiple shutdowns and learning processes, the average value of the multiple stored change rates of the same group is calculated. Taking Δu1 as an example, the formula is as follows:
[0052] Δ =sum(1-n) / n,
[0053] Where n is the number of learning iterations, Δ For the average value of Δu1, taking k1 as an example, the corresponding corrected threshold for change is:
[0054] k1=β*Δ ,
[0055] In the formula, β is a preset multiplier, typically 0.7, but it can also be dynamically adjusted according to different groups, replacing the original initial threshold with the corrected k1; similarly, the above calculation is repeated for Δu2~Δu5 to complete the correction of the corresponding k2~k5 thresholds. The change threshold is compared and corrected with the decrease when the user actually turns off the stove, so that the system can adapt to the changes in electromotive force response caused by factors such as stove aging and changes in burner characteristics, overcoming the performance degradation problem of the fixed threshold scheme throughout its entire life cycle.
[0056] Step S106: If the flameout determination passes, flameout protection is triggered; otherwise, flameout protection is triggered in response to the electromotive force data being lower than the second flameout threshold, where the second flameout threshold is less than the first flameout threshold.
[0057] Specifically, based on the above-mentioned conditions one and two for flameout determination, when both conditions one and two are simultaneously met, the flameout state is determined to be established. The system immediately triggers the solenoid valve to cut off the gas passage, completing the flameout protection. The entire determination process, from the moment the electromotive force first falls below U1 to the triggering of protection, takes far less time than the delay of tens of seconds required to trigger protection after the casserole is extinguished in traditional solutions.
[0058] If any condition is not met, the flameout determination fails, and the system does not immediately cut off the gas supply, but continues to collect electromotive force (EMF) data. While continuously determining the flameout, the EMF data is compared with the second flameout threshold U2. The second flameout threshold U2 is less than the first flameout threshold U1, and its value is lower than the voltage output by the thermocouple under any normal combustion condition (including minimum flame), but greater than the residual voltage after the thermocouple has completely cooled. When the real-time EMF U drops below U2, regardless of whether the trend condition is met, the system immediately triggers the solenoid valve to cut off the gas supply. That is, U2 can eliminate the risk of missed detection due to parameter mismatch, extreme conditions, or noise interference under a single threshold scheme. This ensures the universality and robustness of the flameout protection algorithm in this embodiment.
[0059] In summary, the data instance process for determining the flameout of the gas stove in this embodiment can be as follows: Figure 3 As shown, in Figure 3 In this embodiment, based on the data example, after the gas stove is detected to be off, the thermocouple electromotive force data u is periodically collected and recorded as u1, u2, u3…u 10 When comparing the voltage to the first shutdown threshold, if the comparison passes, the voltage change is calculated, and it is checked whether there is a downward trend. This value is then compared with the corresponding change threshold. If the comparison passes, shutdown protection is initiated directly. If the comparison fails, monitoring continues, and the electromotive force data u is checked to see if it is lower than the second shutdown threshold. If it is lower than the second shutdown threshold, shutdown protection is activated.
[0060] In this embodiment, the actual workflow of the gas stove may include, but is not limited to, the following:
[0061] Scenario 1: When a metal pot or an empty pot is used for heating, the flame goes out. In this case, the electromotive force (EMF) data shows a rapid drop in voltage with a steep slope. After detecting that the EMF data is less than the first flameout threshold, the flameout determination condition is also met, and the protection is quickly triggered after the flameout.
[0062] Scenario 2: When the clay pot or ceramic pot is turned off, the voltage drops slowly, with a slope relatively gentler than in Scenario 1, but still greater than the change threshold. After detecting that the electromotive force data is less than the first shutdown threshold, the shutdown determination condition is also met, and the protection is triggered quickly after the flameout, much less than the tens of seconds in traditional solutions.
[0063] The schematic diagrams of the electromotive force changing with time in the two cases mentioned above can be shown as follows: Figure 4 As shown, in Figure 4 The study revealed the changes in thermocouple voltage U over time after the flame was extinguished, under conditions of no pot, metal pot, and earthenware pot. Before the thermocouple voltage U drops to U1, the flame decline is relatively large; after falling below U1, the decline slows down, with the degree of slowing varying depending on the type of cookware used and the usage scenario.
[0064] Scenario 3: The small flame is burning normally, with voltage fluctuating at a low level but not continuously decreasing. During detection, the electromotive force (EMF) data may fluctuate, sometimes falling below the first flameout threshold. However, the slope is gentle, so the flameout determination will not pass, nor will it fall below the second flameout threshold, meaning protection will not be triggered. This distinguishes between the "small flame burning" and "voltage drop after flameout," preventing abnormal flameout and ensuring normal user operation.
[0065] The schematic diagram of the electromotive force changing over time during normal combustion of a small fire can be shown as follows: Figure 5 As shown in the figure, the thermocouple electromotive force curve is close to U1, and even lower than U1 when data fluctuations occur, but its slope is gentle, so the flameout judgment will not pass. This prevents abnormal flameout from affecting normal user operation.
[0066] In this embodiment, a gas stove flameout determination method is provided. This method involves real-time acquisition of electromotive force (EMF) data output by the thermocouple corresponding to the gas stove. When the EMF data falls below a first flameout threshold, a flameout determination is triggered. The flameout determination includes comparing historical EMF data within a nearby time window with the real-time acquired EMF data. Based on the comparison result, it is determined that the EMF data shows a downward trend, and the difference between the two is greater than a change threshold. If the flameout determination passes, flameout protection is triggered. Conversely, if the EMF data falls below a second flameout threshold, flameout protection is triggered, where the second flameout threshold is less than the first flameout threshold. By using two thresholds, combining thermocouple EMF change trend determination, and a thermocouple flameout protection method with self-learning correction function, a rapid response under different cookware conditions can be considered, while avoiding misjudgment of low-flame combustion conditions, thus improving the safety and reliability of the gas stove flameout protection.
[0067] Please refer to the following. Figure 6 , Figure 6 A schematic diagram of a gas stove flameout detection system provided in an embodiment of this specification is shown. It should be noted that... Figure 6 The gas stove flameout detection system shown is used to execute this instruction manual. Figure 1 The methods shown in the embodiments are illustrated for ease of explanation, showing only the parts related to the embodiments of this specification. For specific technical details not disclosed, please refer to this specification. Figure 1 The example shown.
[0068] like Figure 6 As shown, the gas stove flameout detection system may include at least:
[0069] The acquisition module S602 is used to acquire the electromotive force data output by the thermocouple corresponding to the gas stove in real time.
[0070] The first shutdown determination module S604 is used to trigger a shutdown determination when the electromotive force data is lower than the first shutdown threshold. The shutdown determination includes: comparing the historical electromotive force data in the time window adjacent to the current collection point with the real-time collected electromotive force data, and determining that the electromotive force data shows a downward trend based on the comparison result, and the difference between the two is greater than the change threshold.
[0071] The second flameout determination module S606 is used to trigger flameout protection if the flameout determination passes, and otherwise, to trigger flameout protection in response to the electromotive force data being lower than the second flameout threshold, wherein the second flameout threshold is less than the first flameout threshold.
[0072] Those skilled in the art will clearly understand that the technical solutions of the embodiments in this specification can be implemented by means of software and / or hardware. In this specification, "unit" and "module" refer to software and / or hardware capable of independently performing or cooperating with other components to perform a specific function. The hardware may be, for example, a Field-Programmable Gate Array (FPGA), an Integrated Circuit (IC), etc.
[0073] Each processing unit and / or module in the embodiments of this specification can be implemented by an analog circuit that implements the functions described in the embodiments of this specification, or by software that executes the functions described in the embodiments of this specification.
[0074] See Figure 7 It shows a schematic diagram of the structure of an electronic device according to an embodiment of this specification, which can be used to implement... Figure 1 The method in the illustrated embodiment. (As shown) Figure 7 As shown, the electronic device 700 may include: at least one central processing unit 701, at least one network interface 704, user interface 703, memory 705, and at least one communication bus 702.
[0075] The communication bus 702 is used to enable communication between these components.
[0076] The user interface 703 may include a display screen and a camera. Optionally, the user interface 703 may also include a standard wired interface and a wireless interface.
[0077] The network interface 704 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0078] The processor 701 may include one or more processing cores. The processor 701 connects to various parts within the electronic device 700 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 705, and by calling data stored in the memory 705. Optionally, the processor 701 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 701 may integrate one or a combination of several of the following: a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), and a modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 701 and may be implemented as a separate chip.
[0079] The memory 705 may include random access memory (RAM) or read-only memory. Optionally, the memory 705 may include a non-transitory computer-readable storage medium. The memory 705 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 705 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 705 may also be at least one storage system located remotely from the aforementioned processor 701. Figure 7 As shown, the memory 705, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and program instructions.
[0080] exist Figure 7In the illustrated electronic device 700, the user interface 703 is mainly used to provide an input interface for the user and to acquire user input data; while the processor 701 can be used to call the image-based interactive application stored in the memory 705 and specifically perform the following operations:
[0081] Real-time acquisition of electromotive force data output by the thermocouple corresponding to the gas stove;
[0082] When the electromotive force data is lower than the first shutdown threshold, a shutdown determination is triggered. The shutdown determination includes: comparing the historical electromotive force data in the time window adjacent to the current collection point with the real-time collected electromotive force data, and determining that the electromotive force data shows a downward trend based on the comparison result, and the difference between the two is greater than the change threshold.
[0083] If the flameout determination passes, flameout protection is triggered; otherwise, flameout protection is triggered in response to the electromotive force data being lower than the second flameout threshold, where the second flameout threshold is less than the first flameout threshold.
[0084] As an optional embodiment of this specification, the comparison of historical electromotive force data within the adjacent time window of the current acquisition point with the real-time acquired electromotive force data includes:
[0085] Acquire several sets of periodic data, including real-time acquisition points, and divide them into prior electromotive force data and subsequent electromotive force data based on the data acquisition time.
[0086] The data are grouped based on the preceding and subsequent electromotive force (EMF) data within the corresponding time window, and the preceding and subsequent EMF data within each group are compared.
[0087] As an optional embodiment of this specification, the step of determining that the electromotive force data shows a downward trend based on the comparison results includes:
[0088] When the difference between the prior and subsequent electromotive force (EMF) data within a preset ratio group is greater than 0, and the minimum value of the prior EMF data is greater than the maximum value of the subsequent EMF data, the EMF data is determined to be in a downward trend.
[0089] As an optional embodiment of this specification, the difference between the two is greater than a change threshold, including:
[0090] Obtain the change threshold corresponding to each group, and detect whether the difference between the prior electromotive force data and the subsequent electromotive force data in each group is greater than the change threshold of the corresponding group.
[0091] If the difference between the earlier and later EMF data in each group is greater than the change threshold of the corresponding group, it is determined that the difference between the historical EMF data and the real-time collected EMF data is greater than the change threshold.
[0092] As an optional embodiment of this specification, the numerical setting of the threshold values for the change in different groups is based on: the data acquisition period, the time interval between the post-electromotive force data and the real-time acquisition point in the group, and the training correction data.
[0093] As an optional embodiment of this specification, the method further includes:
[0094] Collect daily ignition-off data of gas stoves, and calculate the voltage change of each group in several sets of periodic data after the electromotive force data falls below the first ignition-off threshold in the daily ignition-off data.
[0095] Based on the average voltage change rate in each group, and combined with a preset coefficient, the change threshold corresponding to each group is corrected.
[0096] As an optional embodiment of this specification, the method for setting the acquisition period of the periodic data includes:
[0097] The minimum number of sample points required to obtain the confidence level of the downward trend judgment is used to determine the upper limit of the collection period in combination with the target time of the engine shutdown judgment.
[0098] The lower limit of the acquisition period is determined based on flame fluctuation and circuit thermal noise suppression.
[0099] The data collection period is set based on the upper and lower limits of the period.
[0100] This specification also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0101] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this specification is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this specification. Furthermore, those skilled in the art should also understand that the embodiments described in this specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this specification.
[0102] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0103] In the embodiments provided in this specification, it should be understood that the disclosed system can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between systems or units may be electrical or other forms.
[0104] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0105] Furthermore, the functional units in the various embodiments of this specification can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0106] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this specification, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this specification. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0107] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0108] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
Claims
1. A method for determining the flameout of a gas stove, characterized in that, The method includes: Real-time acquisition of electromotive force data output by the thermocouple corresponding to the gas stove; When the electromotive force data is lower than the first shutdown threshold, a shutdown determination is triggered. The shutdown determination includes: comparing the historical electromotive force data in the time window adjacent to the current collection point with the real-time collected electromotive force data, and determining that the electromotive force data shows a downward trend based on the comparison result, and the difference between the two is greater than the change threshold. If the flameout determination passes, flameout protection is triggered; otherwise, flameout protection is triggered in response to the electromotive force data being lower than the second flameout threshold, where the second flameout threshold is less than the first flameout threshold.
2. The gas stove flameout determination method according to claim 1, characterized in that, The comparison of historical electromotive force data within the current acquisition point's adjacent time window with the real-time acquired electromotive force data includes: Acquire several sets of periodic data, including real-time acquisition points, and divide them into prior electromotive force data and subsequent electromotive force data based on the data acquisition time. The data are grouped based on the prior and subsequent electromotive force (EMF) data within the corresponding time window, and the prior and subsequent EMF data within each group are compared.
3. The gas stove flameout determination method according to claim 2, characterized in that, The determination that the electromotive force data shows a downward trend based on the comparison results includes: When the difference between the prior and subsequent electromotive force (EMF) data within a preset ratio group is greater than 0, and the minimum value of the prior EMF data is greater than the maximum value of the subsequent EMF data, the EMF data is determined to be in a downward trend.
4. The gas stove flameout determination method according to claim 2, characterized in that, The difference between the two being greater than the change threshold includes: Obtain the change threshold corresponding to each group, and detect whether the difference between the prior electromotive force data and the subsequent electromotive force data in each group is greater than the change threshold of the corresponding group. If the difference between the earlier and later EMF data in each group is greater than the change threshold of the corresponding group, it is determined that the difference between the historical EMF data and the real-time collected EMF data is greater than the change threshold.
5. The gas stove flameout determination method according to claim 4, characterized in that, The numerical basis for setting the threshold values for the change in different groups includes: the data acquisition period, the time interval between the post-electromotive force data and the real-time acquisition point in the group, and the training correction data.
6. The gas stove flameout determination method according to claim 5, characterized in that, The method further includes: Collect daily ignition-off data of gas stoves, and calculate the voltage change of each group in several sets of periodic data after the electromotive force data falls below the first ignition-off threshold in the daily ignition-off data. Based on the average voltage change rate in each group, and combined with a preset coefficient, the change threshold corresponding to each group is corrected.
7. The gas stove flameout determination method according to claims 1-6, characterized in that, The method for setting the acquisition period of the periodic data includes: The minimum number of sample points required to obtain the confidence level of the downward trend judgment is used to determine the upper limit of the collection period in combination with the target time of the engine shutdown judgment. The lower limit of the acquisition period is determined based on flame fluctuation and circuit thermal noise suppression. The data collection period is set based on the upper and lower limits of the period.
8. A gas stove flameout detection system, characterized in that, The system includes: The data acquisition module is used to acquire the electromotive force data output by the thermocouple corresponding to the gas stove in real time. The first shutdown determination module is used to trigger a shutdown determination when the electromotive force data is lower than the first shutdown threshold. The shutdown determination includes: comparing the historical electromotive force data in the time window adjacent to the current collection point with the real-time collected electromotive force data, and determining that the electromotive force data shows a downward trend based on the comparison result, and the difference between the two is greater than the change threshold. The second flameout determination module is used to trigger flameout protection if the flameout determination passes, and otherwise, to trigger flameout protection in response to the electromotive force data being lower than the second flameout threshold, wherein the second flameout threshold is less than the first flameout threshold.
9. An electronic device, comprising a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code stored in the memory to perform the method as described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method as described in any one of claims 1-7.