A detection system, a control method, an electronic device and a storage medium for preventing overflow of a cooking device
Patent Information
- Application Number
- CN202610827179.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-09
- Publication Date
- 2026-08-21
AI Technical Summary
例如,采用电极探针式检测法,通过金属探针与液体接触形成导通回路来触发防溢,该方式结构简单,但探针长期接触汤汁易结垢或腐蚀,导致接触不良或误动作,且无法适用于油类、高粘度液体,存在一定的触电安全隐患,难以满足高端灶具对长寿命与高可靠性的要求
本申请提供一种用于烹饪设备防溢的检测系统,包括超声波传感器、第一温度采集装置、功率采集装置和控制装置,超声波传感器设置于烹饪器具的上方,用于向烹饪器具发射超声波信号,并接收超声波信号的回波信号;第一温度采集装置用于采集烹饪器具底部的温度信息;功率采集装置用于采集加热装置的加热功率信息;控制装置分别与加热装置、超声波传感器、第一温度采集装置和功率采集装置电连接,用于对回波信号分别进行特征提取和声速补偿,得到有效回波信号和有效回波信号对应的信号传播声速;并基于有效回波信号、信号传播声速、温度信息和加热功率信息控制加热装置的加热状态。通过采用非接触式的超声波检测,能够避免探测端与液面接触,进而避免导致探测端结垢或腐蚀,有利于提升设备寿命与可靠性;通过对回波信号进行特征提取,能够去除杂散干扰波,避免蒸汽影响超声波检测的准确性,并且通过对回波信号进行声速补偿,能够消除环境温度变化导致的检测误差;通过构建多条件融合判断逻辑,基于有效回波信号、信号传播声速、温度信息和加热功率信息共同控制加热装置的加热状态,能够防止蒸汽影响控制装置的防溢判断,并且能够识别溢锅前兆,并调节加热状态,降低溢锅风险,提升复杂烹饪环境下防溢控制的准确性与稳定性,适配各类烹饪场景。
Smart Images

Figure CN122604222A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home appliance technology, specifically to a detection system, control method, electronic device, and storage medium for preventing overflow of cooking equipment. Background Technology
[0002] In the cooking process, preventing overflow is one of the core aspects of ensuring cooking safety. Currently, common liquid level monitoring and overflow control solutions mainly prevent overflow by detecting the liquid level height, but these methods all have certain limitations in practical applications. For example, the electrode probe detection method uses a metal probe to form a conductive circuit with the liquid to trigger the overflow prevention. This method has a simple structure, but the probe is prone to scaling or corrosion from prolonged contact with broth, leading to poor contact or malfunction. It is also unsuitable for oils and high-viscosity liquids, posing a certain risk of electric shock, and cannot meet the requirements of high-end cooktops for long life and high reliability. Some overflow prevention solutions use visual detection methods, based on images captured by cameras and using AI algorithms to identify the liquid level. This method is significantly affected by steam and fumes, has low reliability in high-temperature and high-humidity cooktop environments, and has a high system cost, making it difficult to widely apply. Some overflow prevention solutions use infrared sensing detection methods, using infrared sensors to detect changes in the reflection or absorption of infrared radiation by the liquid surface. However, this method is easily affected by ambient temperature fluctuations and fumes, has low measurement accuracy and poor stability, and has limited applicability in actual cooking environments. In addition, vibration detection methods are easily affected by external vibrations and lack stability; the anti-interference ability, adaptability and reliability of the above-mentioned methods in complex cooking environments need to be improved.
[0003] Therefore, existing anti-overflow solutions generally suffer from problems such as high misjudgment rate, poor environmental adaptability, insufficient reliability, short lifespan, or safety hazards. There is an urgent need for a technical solution that can stably, accurately, and in real time monitor liquid levels and achieve anti-overflow control in complex cooking environments. Summary of the Invention
[0004] To address the aforementioned problems in the prior art, this application provides a detection system, control method, electronic device, and storage medium for preventing overflow in cooking equipment. The specific technical solution is as follows: On one hand, this application provides a detection system for preventing overflow in cooking equipment, the cooking equipment including a heating device and cooking utensils, comprising: An ultrasonic sensor is disposed above the cooking appliance to emit ultrasonic signals to the cooking appliance and to receive the echo signals of the ultrasonic signals. A first temperature acquisition device is used to acquire temperature information from the bottom of the cooking appliance; A power acquisition device is used to acquire heating power information of the heating device. The control device is electrically connected to the heating device, the ultrasonic sensor, the first temperature acquisition device, and the power acquisition device. It is used to perform feature extraction and sound speed compensation on the echo signal to obtain the effective echo signal and the signal propagation speed corresponding to the effective echo signal; and to control the heating state of the heating device based on the effective echo signal, the signal propagation speed, the temperature information, and the heating power information.
[0005] In a possible implementation, the control device is specifically used for: The echo signal is amplified, and peak value extraction is performed based on the amplified echo signal to obtain the peak amplitude of the echo signal; When the peak amplitude is greater than or equal to a preset amplitude threshold, the peak amplitude is determined as the valid echo signal.
[0006] In a possible implementation, the control device is further specifically used for: Obtain the cooking mode of the cooking equipment; Based on the mapping relationship between multiple cooking modes and multiple amplitude thresholds, a preset amplitude threshold that matches the cooking mode is determined from the multiple amplitude thresholds.
[0007] In a possible implementation, the detection device further includes a second temperature acquisition device for acquiring the ambient temperature around the cooking equipment; The second temperature device is electrically connected to the control device, and the control device is further used for: The ambient temperature is input into the sound speed conversion model to calculate the signal sound speed, thereby obtaining the signal propagation sound speed. The sound speed conversion model is used to model the correspondence between the transmission speed of ultrasonic signals and the temperature in the transmission environment.
[0008] In a possible implementation, the control device is further configured to: Calculate the rate of temperature change within the first preset time period based on the temperature information within the first preset time period; When at least one of the effective echo signal and the speed of sound propagation indicates an abnormal rise in the liquid level, the temperature information is greater than or equal to a preset temperature threshold, the temperature change rate is greater than or equal to a preset change rate threshold, and the heating power information is greater than or equal to a preset power threshold, the actual heating power of the heating device is adjusted to the anti-overflow heating power.
[0009] In a possible implementation, the control device is further configured to acquire time information between emitting the ultrasonic signal and receiving the echo signal; The signal transmission distance is obtained based on the speed of sound propagating the signal and the time information; When the signal transmission distance decreases monotonically within a second preset time period, it is determined that the liquid level is rising abnormally.
[0010] In a possible implementation, the control device is further configured to: If the number of peaks in the effective echo signal within the preset echo time is greater than or equal to the preset number of peaks, it is determined that the liquid level is rising abnormally.
[0011] On the other hand, this application also provides a control method for a detection system, applied to the detection system for preventing overflow of cooking equipment described in the above embodiments. The cooking equipment includes a heating device and a cooking utensil. The detection system includes an ultrasonic sensor, a first temperature acquisition device, a power acquisition device, and a control device. The control method includes: During the cooking process of the cooking equipment, the echo signal received by the ultrasonic sensor, the temperature information collected by the first temperature acquisition device, and the heating power information collected by the power acquisition device are acquired. The echo signal is subjected to feature extraction and sound speed compensation, and the effective echo signal and the corresponding signal propagation sound speed are output. The heating state of the heating device is controlled based on the effective echo signal, the speed of sound propagating the signal, the temperature information, and the heating power information.
[0012] On the other hand, this application also provides an electronic device, including a processor and a memory, wherein the memory stores at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the control method of the detection system as described in the above embodiments.
[0013] On the other hand, this application also provides a computer-readable storage medium storing at least one instruction or at least one program, wherein the at least one instruction or the at least one program is loaded and executed by a processor to implement the control method of the detection system as described in the above embodiments.
[0014] Based on the above technical solution, this application has the following beneficial effects: This application provides a detection system for preventing overflow in cooking equipment, including an ultrasonic sensor, a first temperature acquisition device, a power acquisition device, and a control device. The ultrasonic sensor is disposed above the cooking appliance and is used to emit ultrasonic signals to the cooking appliance and receive the echo signals of the ultrasonic signals. The first temperature acquisition device is used to collect temperature information at the bottom of the cooking appliance. The power acquisition device is used to collect heating power information of the heating device. The control device is electrically connected to the heating device, the ultrasonic sensor, the first temperature acquisition device, and the power acquisition device respectively, and is used to perform feature extraction and sound velocity compensation on the echo signals to obtain the effective echo signal and the corresponding signal propagation sound velocity. Based on the effective echo signal, the signal propagation sound velocity, the temperature information, and the heating power information, the control device controls the heating state of the heating device. By employing non-contact ultrasonic detection, contact between the probe tip and the liquid surface can be avoided, thus preventing scaling or corrosion and improving equipment lifespan and reliability. Feature extraction of the echo signal removes stray interference waves, preventing steam from affecting the accuracy of ultrasonic detection. Furthermore, sound velocity compensation of the echo signal eliminates detection errors caused by ambient temperature changes. By constructing a multi-condition fusion judgment logic, the heating state of the heating device is controlled based on the effective echo signal, signal propagation sound velocity, temperature information, and heating power information. This prevents steam from affecting the anti-overflow judgment of the control device, identifies signs of impending overflow, adjusts the heating state, reduces the risk of overflow, and improves the accuracy and stability of anti-overflow control in complex cooking environments, making it suitable for various cooking scenarios. Attached Figure Description
[0015] To more clearly illustrate the technical solutions and advantages in the embodiments of this application 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 only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This application provides a control method for a detection system. Figure 2 Another control method for a detection system provided in this application embodiment; Figure 3 This application provides a schematic diagram of the hardware structure of an electronic device for implementing a detection system control method. Detailed Implementation
[0017] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0018] It should be noted that, in the description of this application, the following definitions shall apply unless a different definition is given elsewhere in the claims or this specification. All numerical values, whether or not explicitly indicated, are defined herein as being modified by the term "about". The term "about" generally refers to a range of numerical values that a person skilled in the art would consider equivalent to the stated values to produce substantially the same properties, functions, results, etc. A range of numerical values indicated by a low value and a high value is defined as including all numerical values within that range and all subranges included within that range.
[0019] It should be noted that in the description of this application, the terms "first," "second," etc., are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.
[0020] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0021] Existing technologies typically employ a single ultrasonic spill prevention method. Although this method is non-contact and requires no consumables, in cooking environments that generate large amounts of steam or fumes, such as steaming, boiling, and stir-frying, the water mist or oil fume particles formed by the steam will diffusely reflect the ultrasonic waves, resulting in chaotic echo signals and amplitude attenuation. This can lead to the misjudgment of steam as liquid, causing frequent power outages or spill prevention failures.
[0022] The following describes a detection system for preventing overflow in cooking equipment. The cooking equipment includes a heating device and cooking utensils. The detection system includes an ultrasonic sensor, a first temperature acquisition device, a power acquisition device, and a control device.
[0023] An ultrasonic sensor is positioned above the cooking appliance to emit ultrasonic signals and receive echo signals. A first temperature acquisition device collects temperature information from the bottom of the cooking appliance. A power acquisition device collects heating power information from the heating device. A control device is electrically connected to the heating device, ultrasonic sensor, first temperature acquisition device, and power acquisition device to perform feature extraction and sound velocity compensation on the echo signals to obtain the effective echo signal and the corresponding sound velocity. The control device controls the heating state of the heating device based on the effective echo signal, sound velocity, temperature information, and heating power information.
[0024] By employing non-contact ultrasonic detection, contact between the probe tip and the liquid surface can be avoided, thus preventing scaling or corrosion and improving equipment lifespan and reliability. Feature extraction of the echo signal removes stray interference waves, preventing steam from affecting the accuracy of ultrasonic detection. Furthermore, sound velocity compensation of the echo signal eliminates detection errors caused by ambient temperature changes. Compared to using a single ultrasonic detection method to determine overflow status, this application constructs a multi-condition fusion judgment logic. Based on the effective echo signal, signal propagation sound velocity, temperature information, and heating power information, it jointly controls the heating state of the heating device. This prevents steam from affecting the anti-overflow judgment of the control device, identifies signs of impending overflow, adjusts the heating state, reduces the risk of overflow, and improves the accuracy and stability of anti-overflow control in complex cooking environments, making it suitable for various cooking scenarios.
[0025] In a possible implementation, the ultrasonic sensor includes an ultrasonic probe with a frequency of 40 kHz, which is aimed at the center area of the cooking appliance to ensure maximum coverage of sound wave energy.
[0026] Specifically, the ultrasonic probe can generate high-frequency ultrasonic pulse signals and emit ultrasonic pulse trains consisting of 8-16 sine wave cycles. The ultrasonic pulse trains are reflected by the inside of the cooking appliance to form echo signals.
[0027] In a possible implementation, the first temperature acquisition device is used to acquire temperature information from the bottom of the cooking appliance. The temperature information is used to characterize the temperature value at the bottom of the cooking appliance and can be used to accurately determine the heating stage of the cooking appliance.
[0028] In a possible implementation, the power acquisition device is used to acquire heating power information of the heating device, and the heating power information is used to characterize the heating power value of the heating device.
[0029] In a possible implementation, the control device is specifically used to: amplify the echo signal; extract peak values based on the amplified echo signal to obtain the peak amplitude of the echo signal; and determine the peak amplitude as a valid echo signal when it is greater than or equal to a preset amplitude threshold. The preset amplitude threshold indicates the minimum peak amplitude in the echo signal that conforms to a valid echo signal. Understandably, peaks with amplitudes lower than the preset amplitude threshold are considered interference waves. Thus, by comparing the peak amplitude with the preset amplitude threshold, the control device can accurately identify invalid signals in the echo signal, avoiding the influence of low-amplitude and interference noise generated by steam, and improving the accuracy of ultrasonic detection.
[0030] Specifically, amplifying the echo signal includes: amplifying and filtering the echo signal to generate an amplified echo signal; in one example, the echo signal is amplified and filtered with a 40kHz bandpass filter to generate an amplified echo signal. Thus, amplifying the echo signal increases the signal amplitude and prevents signal loss; it effectively removes low-frequency vibration noise, high-frequency circuit noise, and other frequency acoustic interference from the cooking environment. In complex environments with significant steam and oil fume scattering interference, filtering effectively preserves the true liquid surface reflection echo signal, removing cluttered signals caused by scattering, which helps improve the signal-to-noise ratio and ensures the sensitivity of the detection system in complex kitchen environments.
[0031] In a possible implementation, the control device is further specifically used to: acquire the cooking mode of the cooking device; and, based on the mapping relationship between multiple cooking modes and multiple amplitude thresholds, determine a preset amplitude threshold that matches the cooking mode from among the multiple amplitude thresholds. The preset amplitude threshold is used to indicate the minimum peak amplitude of the echo signal that conforms to a valid echo signal. Understandably, different cooking modes will have different effects on the cooking environment; for example, a large amount of dense steam is generated in the steaming mode, causing scattering and attenuation of the ultrasonic signal. By matching the preset amplitude threshold, steam noise interference can be effectively filtered out, avoiding misjudgment by the detection system.
[0032] In some embodiments, the detection device further includes a second temperature acquisition device for acquiring the ambient temperature around the cooking equipment; the second temperature acquisition device is electrically connected to the control device, and the control device is further used to determine the cooking mode of the cooking equipment based on the ambient temperature.
[0033] Specifically, the control device is used to: confirm the cooking mode as the first cooking mode when the ambient temperature is greater than or equal to the first preset temperature; understandably, when the ambient temperature is greater than or equal to the first preset temperature, it indicates that the cooking environment is in a high-temperature condition, and the first cooking mode is used to indicate a cooking method in which the ambient temperature is high during the cooking process, and the first cooking mode can be a steaming mode.
[0034] In some embodiments, the detection device further includes an environmental sensor for collecting humidity data, which indicates the humidity of the cooking environment in which the cooking equipment is located; the control device is also used to: acquire humidity data; and determine the cooking mode of the cooking equipment based on the humidity data.
[0035] Specifically, the above-mentioned method of determining the cooking mode of a cooking device based on humidity data includes: when the humidity data is greater than or equal to a preset humidity threshold, confirming the cooking mode as a first cooking mode; when the humidity data is less than the preset humidity threshold, confirming the cooking mode based on the humidity change rate. Understandably, when the humidity data is greater than or equal to the preset humidity threshold, it indicates that the cooking environment is under high humidity conditions; the first cooking mode is used to indicate a cooking method that can continuously generate a large amount of steam during the cooking process. For example, the first cooking mode can be a steaming mode. When the humidity data is less than the preset humidity threshold, it indicates that the humidity in the cooking environment has not reached saturation, and the cooking mode can be matched using the characteristics of the humidity change rate.
[0036] In a possible implementation, a target cooking mode that matches the humidity change rate is selected from multiple preset cooking modes based on a first preset correspondence. The first preset correspondence represents the mapping relationship between multiple humidity change rates and multiple preset cooking modes.
[0037] Specifically, in the first preset correspondence, different humidity change rates correspond to different cooking modes.
[0038] Specifically, the first preset correspondence can be a mapping relationship between multiple humidity change rate ranges and multiple preset cooking modes. In the first preset correspondence, different humidity change rate ranges correspond to different preset cooking modes, and the values corresponding to the humidity change rate correspond to the same preset cooking mode within the same humidity change rate range.
[0039] In a possible implementation, the control device is further configured to: calculate the rate of change of humidity data within a third preset time period based on humidity data within that third preset time period; determine the cooking mode as a first cooking mode when the rate of change of humidity is greater than or equal to a first preset rate of change; determine the cooking mode as a second cooking mode when the rate of change of humidity is less than the first rate of change but greater than or equal to a second preset rate of change; and determine the cooking mode as a third cooking mode when the rate of change of humidity is less than the second preset rate of change. The first preset rate of change indicates the rate of change of humidity when humidity rises rapidly, and the second preset rate of change indicates the rate of change of humidity when humidity rises steadily. The first preset rate of change is greater than the second preset rate of change. It is understood that the first and second preset rates of change can be adjusted according to actual applications.
[0040] Specifically, the first cooking mode is used to indicate a cooking method that generates a large amount of steam during the cooking process. For example, the first cooking mode can be a steaming mode. The second cooking mode is used to indicate a cooking method in which the amount of steam steadily increases during the cooking process. For example, the second cooking mode can be a stewing mode. The third cooking mode is used to indicate a cooking method in which less steam is generated during the cooking process. For example, the third cooking mode can be a stir-frying mode.
[0041] In a possible implementation, the control device is further configured to: determine a preset amplitude threshold matching a cooking mode from a plurality of amplitude thresholds based on a second preset correspondence, wherein the second preset correspondence indicates the mapping relationship between the plurality of cooking modes and the plurality of amplitude thresholds. Understandably, different cooking modes correspond to different preset amplitude thresholds. By constructing a dynamic amplitude threshold, it is possible to match the effective echo signal to different cooking modes and cooking environments, effectively filter interference echoes caused by steam, and improve the accuracy of the detection system.
[0042] Specifically, the first cooking mode corresponds to a first preset amplitude threshold, the second cooking mode corresponds to a second preset amplitude threshold, and the third cooking mode corresponds to a third preset amplitude threshold; wherein the first preset amplitude threshold is greater than the second preset amplitude threshold, and the second preset amplitude threshold is greater than the third preset amplitude threshold. Preferably, the first preset amplitude threshold is 1.5-2 times the third preset amplitude threshold. Thus, in a cooking environment with minimal interference, selecting a smaller preset amplitude threshold ensures high sensitivity of the system to echo signals, enabling even weaker echo signals to be effectively captured, avoiding missed detections, and improving detection sensitivity.
[0043] In some embodiments, the cooking device includes a cooking mode selection module, through which the user can manually select the desired cooking method; a control device is electrically connected to the cooking mode selection module to acquire the cooking method selected by the user. Thus, the detection system can match a preset amplitude threshold based on the cooking mode manually selected by the user, improving the response speed and accuracy of the detection system.
[0044] In a possible implementation, the detection device further includes a second temperature acquisition device for acquiring the ambient temperature around the cooking equipment. The second temperature acquisition device is electrically connected to a control device, which is further configured to: input the ambient temperature into a sound velocity conversion model to calculate the signal sound velocity, thereby obtaining the signal propagation sound velocity. The sound velocity conversion model is used to model the correspondence between the transmission speed of the ultrasonic signal and the temperature in the transmission environment. By compensating for the echo signal using the sound velocity conversion model, measurement errors caused by changes in ambient temperature can be avoided, thus preventing any impact on the judgment of liquid level changes.
[0045] Specifically, the sound velocity conversion model is used to indicate a mathematical model describing a defined functional relationship between the speed of sound propagation in air and ambient temperature. In some embodiments, the sound velocity conversion model includes the following calculation formula: Where C is the speed of sound propagation in meters per second; 331.4 represents the speed of sound propagation in standard dry air at 0°C, in meters per second; Tv is the ambient temperature in Kelvin; and Tv / 273.15 represents the ratio of the ambient temperature to the freezing point. This sound speed conversion model allows for the correction of the sound speed to the ambient temperature to obtain the actual speed of sound propagation, eliminating the influence of ambient temperature changes on the actual sound speed.
[0046] In a possible implementation, the control device is further configured to: calculate the temperature change rate within a first preset time period based on the temperature information within the first preset time period; and adjust the actual heating power of the heating device to the anti-overflow heating power when at least one of the effective echo signal and the speed of sound propagation indicates an abnormal rise in the liquid level, the temperature information is greater than or equal to a preset temperature threshold, the temperature change rate is greater than or equal to a preset change rate threshold, and the heating power information is greater than or equal to a preset power threshold.
[0047] Specifically, the preset temperature threshold is used to indicate the boiling threshold. A temperature information greater than or equal to the preset temperature threshold indicates that the temperature at the bottom of the cooking appliance has reached the boiling temperature. The preset rate of change threshold is used to indicate the threshold for the rate of temperature rise. A temperature rate of change greater than or equal to the preset rate of change indicates that the temperature at the bottom of the cooking appliance is rising rapidly. When the temperature information is greater than or equal to the preset temperature threshold and the temperature rate of change is greater than or equal to the preset rate of change threshold, it proves that the cooking appliance is in a state of violent boiling.
[0048] Specifically, the preset power threshold is used to indicate the heating power threshold of the heating device. Heating power information greater than or equal to the preset power threshold indicates that the heating device is in a high-power heating state.
[0049] Understandably, when at least one of the following conditions is met—the effective echo signal and the speed of sound propagation indicating an abnormal rise in liquid level, the temperature information being greater than or equal to a preset temperature threshold, the temperature change rate being greater than or equal to a preset change rate threshold, and the heating power information being greater than or equal to a preset power threshold—it is proven that the cooking equipment meets the overflow condition. When only at least one of the following conditions is met—the effective echo signal and the speed of sound propagation indicating an abnormal rise in liquid level—but at least one of the following conditions is not met—the temperature information being greater than or equal to a preset temperature threshold, the temperature change rate being greater than or equal to a preset change rate threshold, and the heating power information being greater than or equal to a preset power threshold—it is determined that steam interference has occurred.
[0050] Thus, the multi-condition fusion judgment method provided in the above embodiments can effectively avoid the impact of steam interference on the accuracy of the detection system and improve the reliability of the detection results; it can adapt to complex cooking scenarios and meet the requirements of effective detection under different cooking conditions.
[0051] In a possible implementation, the control device is further configured to: calculate the temperature change rate within a first preset time period based on the temperature information within the first preset time period; and adjust the heating mode of the heating device to intermittent heating when at least one of the effective echo signal and the speed of sound propagation indicates an abnormal rise in the liquid level, the temperature information is greater than or equal to a preset temperature threshold, the temperature change rate is greater than or equal to a preset change rate threshold, and the heating power information is greater than or equal to a preset power threshold.
[0052] In a possible implementation, the control device is further configured to acquire time information between emitting the ultrasonic signal and receiving the echo signal; obtain the signal transmission distance based on the speed of sound and time information; and determine an abnormal rise in the liquid level when the signal transmission distance monotonically decreases within a second preset time period. Understandably, the signal transmission distance is used to indicate the distance between the ultrasonic sensor and the liquid surface; a decrease in the signal transmission distance indicates a rise in the liquid level. Thus, judging the liquid surface state based on the trend of liquid level changes within the second preset time period improves the reliability of liquid surface state detection.
[0053] Specifically, within a second preset time period, the ultrasonic sensor can repeatedly emit ultrasonic signals and receive echo signals. During this time, the control device can acquire multiple time-related data points and the corresponding signal transmission distances. If the signal transmission distance decreases monotonically within the second preset time period, indicating a continuous rise in the liquid level, it is determined to be an abnormal rise in the liquid level. Understandably, during cooking, the bubbles generated by boiling cause temporary changes in the signal transmission distance. Judging the liquid level state based on these dynamic changes helps avoid misjudgments.
[0054] In a possible implementation, the control device is further configured to: determine an abnormal rise in liquid level when the number of peaks in the effective echo signal within a preset echo time is greater than or equal to a preset number of peaks. The preset echo time indicates the analysis time window, the number of peaks indicates the number of peaks in the effective echo signal within that time window, and the preset number of peaks indicates a threshold for the number of peaks in the effective echo signal that can maintain a regular flow within that time window. Understandably, when overflow is about to occur or initially occurs, the liquid level will fluctuate violently due to the rapid generation and accumulation of a large number of bubbles; when the number of peaks in the effective echo signal within the preset echo time is greater than or equal to the preset number of peaks, it indicates that the effective echo signal has dense peaks within the preset echo time, and the liquid level fluctuates violently or foam accumulates. Determining this state as an abnormal rise in liquid level enables early warning.
[0055] In some embodiments, controlling the heating state of the heating device can be achieved by adjusting the actual heating power of the heating device to the anti-overflow heating power; specifically, the anti-overflow heating power can be 30%-50% of the rated power of the heating device.
[0056] In other embodiments, controlling the heating state of the heating device can be achieved by adjusting the heating mode of the heating device to intermittent heating.
[0057] On the other hand, this application also provides a control method for a detection system, please refer to... Figure 1 The diagram illustrates a control method flow chart of a detection system according to an embodiment of this application. This specification provides the method operation steps as shown in the embodiments, but based on conventional or non-inventive labor, more or fewer operation steps may be included. The order of steps listed in the embodiments is merely one possible execution order among many steps and does not represent a unique execution order. In actual implementation of the control method, it can be executed in the order shown in the embodiments or the accompanying drawings, or in parallel. The control method is applied to a detection system for preventing overflow of cooking equipment as described in the above embodiments. The cooking equipment includes a heating device and a cooking utensil. The detection system includes an ultrasonic sensor, a first temperature acquisition device, a power acquisition device, and a control device. The control method includes: S100: During the cooking process of the cooking equipment, the echo signal received by the ultrasonic sensor, the temperature information collected by the first temperature acquisition device, and the heating power information collected by the power acquisition device are acquired. S200: Performs feature extraction and sound speed compensation on the echo signal, and outputs the effective echo signal and the corresponding sound speed of the signal propagation; S300: Controls the heating state of the heating device based on the effective echo signal, signal propagation speed, temperature information, and heating power information.
[0058] The control method provided in the above embodiments can remove stray interference waves from the echo signal, avoid steam affecting the accuracy of the detection system, and eliminate detection errors caused by changes in ambient temperature by compensating for the sound velocity of the echo signal. By constructing a multi-condition fusion judgment logic, the heating state of the heating device can be controlled based on the effective echo signal, the sound velocity of the signal propagation, temperature information, and heating power information. This can prevent steam from affecting the anti-overflow judgment of the control device and can identify signs of impending overflow, reducing the risk of overflow.
[0059] In a possible implementation, S200 further includes: S201: Amplify the echo signal, extract the peak value based on the amplified echo signal, and obtain the peak amplitude of the echo signal; S202: When the peak amplitude is greater than or equal to the preset amplitude threshold, the peak amplitude is determined as a valid echo signal.
[0060] Specifically, the control methods also include: S400: Obtains the cooking mode of the cooking equipment; S500: Based on the mapping relationship between multiple cooking modes and multiple amplitude thresholds, determine the preset amplitude threshold that matches the cooking mode from multiple amplitude thresholds.
[0061] The system determines the corresponding preset amplitude threshold based on the cooking mode and filters valid echo signals based on the preset amplitude threshold, which helps to improve the accuracy and stability of anti-overflow control in complex cooking environments and adapts to a variety of different cooking scenarios.
[0062] Figure 2 This is a flowchart illustrating a preferred detection system control method according to an exemplary embodiment. Figure 2 As shown, the control method may include the following steps: S1: Select cooking mode; S2: Matches a preset amplitude threshold based on the cooking mode; S3: Acquire echo signal, temperature information, and heating power information; S4: Perform feature extraction and sound speed compensation on the echo signal according to the preset amplitude threshold, and output the effective echo signal and the corresponding signal propagation sound speed; S5: If a valid echo signal indicates an abnormal rise in the liquid level or the speed of sound propagation indicates an abnormal rise in the liquid level, proceed to S6; otherwise, proceed to S1. S6: Calculate the temperature change rate within the first preset time period based on the temperature information within the first preset time period; S7: If the temperature information is greater than or equal to the preset temperature threshold, proceed to S8; otherwise, proceed to S1. S8: When the temperature change rate is greater than or equal to the preset change rate threshold, proceed to S9; otherwise, proceed to S1. S9: When the heating power information is greater than or equal to the preset power threshold, proceed to S10; otherwise, proceed to S1. S10: Adjust the actual heating power of the heating device to the anti-overflow heating power.
[0063] As can be seen from the above embodiments, the solution provided by this application can dynamically match the preset amplitude threshold according to the cooking mode, and control the heating state of the heating device based on multiple conditions, thereby effectively filtering steam noise interference, preventing steam from affecting the overflow judgment of the control device, and improving the accuracy of overflow control.
[0064] Figure 3A schematic diagram of the hardware structure of an electronic device for implementing a smart kitchen appliance control method provided in an embodiment of this application is shown. The electronic device can participate in or include the apparatus or system provided in the embodiment of this application. An electronic device provided in this application includes a processor and a memory. The memory stores at least one instruction or at least one program segment. The processor loads and executes the aforementioned smart kitchen appliance control method.
[0065] like Figure 3 As shown, the electronic device 2 may include one or more (shown as 22a, 22b, ..., 22n in the figure) processors 22 (processors 22 may include, but are not limited to, processing devices such as microprocessors (MCUs) or programmable logic devices (FPGAs), memory 24 for storing data, and transmission devices 26 for communication functions. In addition, it may also include: a display, input / output interfaces (I / O interfaces), a universal serial bus (USB) port (which may be included as one of the ports in the I / O interface), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 3 The structure shown is for illustrative purposes only and does not limit the structure of the electronic device described above. For example, electronic device 2 may also include... Figure 3 The more or fewer components shown, or having the same Figure 3 The different configurations shown.
[0066] It should be noted that the aforementioned one or more processors 22 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be wholly or partially embodied in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or wholly or partially integrated into any other element within the electronic device 2 (or mobile device). As involved in the embodiments of this application, the data processing circuit serves as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).
[0067] The memory 24 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method described in the embodiments of this application. The processor 22 executes various functional applications and data processing by running the software programs and modules stored in the memory 24, thereby realizing the above-mentioned control method for a smart kitchen appliance. The memory 24 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 24 may further include memory remotely located relative to the processor 22, and these remote memories can be connected to the electronic device 2 via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0068] The transmission device 26 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the electronic device 2. In one example, the transmission device 26 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 26 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0069] The display can be, for example, a touchscreen liquid crystal display (LCD) that allows a user to interact with the user interface of the electronic device 2 (or mobile device).
[0070] This application also provides a computer-readable storage medium storing at least one instruction or at least one program segment, wherein the at least one instruction or the at least one program segment is loaded and executed by a processor to implement the above-described control method for intelligent kitchen appliances; optionally, the storage medium may be located at at least one network server among multiple network servers in a computer network; furthermore, the storage medium may include, but is not limited to, random access memory (RAM), read-only memory (ROM), non-volatile memory (NVM), USB flash drive, portable hard drive, disk storage device, flash memory device, other volatile solid-state storage devices, and other storage media capable of storing program code.
[0071] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the control methods provided in the various optional implementations described above.
[0072] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, and storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0073] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing the relevant hardware to implement them. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0074] The foregoing description has fully disclosed the specific embodiments of this application. It should be noted that any modifications made by those skilled in the art to the specific embodiments of this application do not depart from the scope of the claims. Accordingly, the scope of the claims of this application is not limited to the foregoing specific embodiments.
Claims
1. A detection system for preventing overflow in cooking equipment, the cooking equipment comprising a heating device and cooking utensils, characterized in that, include: An ultrasonic sensor is disposed above the cooking appliance to emit ultrasonic signals to the cooking appliance and to receive the echo signals of the ultrasonic signals. A first temperature acquisition device is used to acquire temperature information from the bottom of the cooking appliance; A power acquisition device is used to acquire heating power information of the heating device. The control device is electrically connected to the heating device, the ultrasonic sensor, the first temperature acquisition device, and the power acquisition device. It is used to perform feature extraction and sound speed compensation on the echo signal to obtain the effective echo signal and the signal propagation speed corresponding to the effective echo signal; and to control the heating state of the heating device based on the effective echo signal, the signal propagation speed, the temperature information, and the heating power information.
2. The detection system according to claim 1, characterized in that, The control device is specifically used for: The echo signal is amplified, and peak value extraction is performed based on the amplified echo signal to obtain the peak amplitude of the echo signal; When the peak amplitude is greater than or equal to a preset amplitude threshold, the peak amplitude is determined as the valid echo signal.
3. The detection system according to claim 2, characterized in that, The control device is also specifically used for: Obtain the cooking mode of the cooking equipment; Based on the mapping relationship between multiple cooking modes and multiple amplitude thresholds, a preset amplitude threshold that matches the cooking mode is determined from the multiple amplitude thresholds.
4. The detection system according to any one of claims 1-3, characterized in that, The detection device also includes a second temperature acquisition device, which is used to acquire the ambient temperature around the cooking equipment; The second temperature device is electrically connected to the control device, and the control device is further used for: The ambient temperature is input into the sound speed conversion model to calculate the signal sound speed, thereby obtaining the signal propagation sound speed. The sound speed conversion model is used to model the correspondence between the transmission speed of ultrasonic signals and the temperature in the transmission environment.
5. The detection system according to any one of claims 1-3, characterized in that, The control device is also used for: Calculate the rate of temperature change within the first preset time period based on the temperature information within the first preset time period; When at least one of the effective echo signal and the speed of sound propagation indicates an abnormal rise in the liquid level, the temperature information is greater than or equal to a preset temperature threshold, the temperature change rate is greater than or equal to a preset change rate threshold, and the heating power information is greater than or equal to a preset power threshold, the actual heating power of the heating device is adjusted to the anti-overflow heating power.
6. The detection system according to claim 5, characterized in that, The control device is also used to acquire time information between emitting the ultrasonic signal and receiving the echo signal; The signal transmission distance is obtained based on the speed of sound propagating the signal and the time information; When the signal transmission distance decreases monotonically within a second preset time period, it is determined that the liquid level is rising abnormally.
7. The detection system according to claim 5, characterized in that, The control device is also used for: If the number of peaks in the effective echo signal within the preset echo time is greater than or equal to the preset number of peaks, it is determined that the liquid level is rising abnormally.
8. A control method for a detection system, characterized in that, A detection system for preventing overflow of cooking equipment as described in any one of claims 1-7, wherein the cooking equipment includes a heating device and a cooking utensil, the detection system includes an ultrasonic sensor, a first temperature acquisition device, a power acquisition device, and a control device, and the control method includes: During the cooking process of the cooking equipment, the echo signal received by the ultrasonic sensor, the temperature information collected by the first temperature acquisition device, and the heating power information collected by the power acquisition device are acquired. The echo signal is subjected to feature extraction and sound speed compensation, and the effective echo signal and the corresponding signal propagation sound speed are output. The heating state of the heating device is controlled based on the effective echo signal, the speed of sound propagating the signal, the temperature information, and the heating power information.
9. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the control method of the detection system as described in claim 8.
10. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction or at least one program segment, which is loaded and executed by a processor to implement the control method of the detection system as described in claim 8.