A method and device for automatically controlling the working state of an oven
By using Gaussian mixed training model and sensor in the oven to obtain the parameters of baked food, automatically calculate the baking index and generate reminder instructions, the problem that traditional ovens require users to observe repeatedly, and the effect of automatically preventing food from being scorched is achieved.
Patent Information
- Application Number
- CN202411982880.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2044-12-31
AI Technical Summary
During the baking process, traditional ovens require users to observe repeatedly to prevent food from being scorched. However, due to the fast pace of life, it is difficult for users to observe continuously, resulting in food being scorched or baked.
An automatic control method for working state of the oven is adopted. By obtaining the preset initial parameters of baked food, color sensor, digital infrared temperature sensor and clock module, a Gaussian mixed training model is constructed, the estimated baking function is derived, the baking index is calculated, and a reminder instruction is generated based on the baking difference value to prevent food from being scorched.
It can prevent food from burning without continuous observation by users, improve the convenience of the oven, and effectively avoid the occurrence of burning food.
Smart Images

Figure CN119396009B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of control technology, and more specifically, particularly relates to a method and device for automatically controlling the working state of an oven. Background Art
[0002] As a commonly used cooking appliance in the kitchen, the oven is widely popular due to its convenience and versatility. The oven can not only realize the traditional baking function, but also has a variety of cooking modes such as baking, thawing, stewing, etc., which meet the cooking needs of different users. However, with the increasing frequency of oven use, users' demand for intelligent and automated operation of ovens is also increasing. Traditional ovens often lack feedback mechanisms in terms of working status control. The baking process of the oven often requires users to observe repeatedly to prevent food from burning. However, due to the fast pace of life of most users, it is difficult to continuously observe the oven, which easily leads to problems of food being burnt or burnt. Summary of the invention
[0003] In order to solve the above technical problems, the present invention provides a method and device for automatically controlling the working state of an oven, so as to solve the problem in the prior art that, during the baking process of a traditional oven, the user often needs to observe the oven repeatedly to prevent the food from being burnt. However, due to the fast pace of life of most users, it is difficult for them to observe the oven continuously, which easily leads to the technical problem of food being burnt or burnt.
[0004] The purpose and effect of the method and device for automatically controlling the working state of an oven of the present invention are achieved by the following specific technical means:
[0005] A method for automatically controlling the working state of an oven comprises the following steps:
[0006] S100: obtaining preset initial parameters for baking food, and judging the working stability of the oven based on the Routh criterion;
[0007] S200: If the oven is not working stably, a fault instruction is generated, wherein the fault instruction is used to instruct maintenance and repair of the oven;
[0008] If the oven works stably, a first parameter in a plurality of different unit times is obtained based on a color sensor, wherein the first parameter is the color intensity of the baked food received by the color sensor again after the light source light beam generated by the color sensor irradiates the baked food and is reflected; a second parameter in a plurality of different unit times is obtained based on a digital infrared temperature sensor, wherein the second parameter is the temperature value of the baked food; and a third parameter in a plurality of different unit times is obtained based on a clock module, wherein the third parameter is the heating time of the oven;
[0009] S300: constructing a Gaussian mixture training model, performing calculations based on the first parameter, the second parameter, and the third parameter in a plurality of different unit times, and deriving an objective function through iterative calculations, wherein the objective function is an estimated baking function of the baked food, and the estimated baking function is used to simulate the fluctuation amplitude of the estimated baking degree in the baking chamber;
[0010] S400: Compare the estimated baking function with the first parameter, the second parameter and the third parameter in the current unit time to obtain a baking index, where the baking index is used to measure the estimated baking degree of the baked food in the baking chamber, and subtract the baking index from the preset initial parameter to determine a baking difference;
[0011] S500: If the baking difference is greater than a preset threshold, a reminder instruction is generated, the reminder instruction is used to instruct the oven to be turned off;
[0012] If the baking difference is less than the preset threshold, the iterative calculation is continued based on the Gaussian mixture training model.
[0013] As a further solution of the present invention, the first parameter in multiple different unit times is obtained based on the color sensor, the second parameter in multiple different unit times is obtained based on the digital infrared temperature sensor, and the third parameter in multiple different unit times is obtained based on the clock module. The first parameter, the second parameter and the third parameter in multiple different unit times are standardized to eliminate dimensional differences. A first array is obtained based on the first parameter in multiple different unit times, a second array is obtained based on the second parameter in multiple different unit times, and a third array is obtained based on the third parameter in multiple different unit times. The first array, the second array and the third array are imported into the Gaussian mixture training model for iterative calculation. When the calculation process meets the preset conditions, the objective function is derived, and the objective function is an estimated baking function of the baked food.
[0014] As a further solution of the present invention, the baking index is obtained based on the comparison between the estimated baking function and the first parameter, the second parameter and the third parameter in the current unit time. The calculation formula of the baking index is:
[0015] ;
[0016] In the formula, is the estimated baking function of the baked food, is the third parameter in the current unit time, is the first parameter in the current unit time, is the second parameter in the current unit time, is the baking index, wherein K is a constant.
[0017] As a further solution of the present invention, the color sensor includes a signal receiving end, and the signal receiving end can receive output frequencies of three colors: red, green, and blue. The first parameter in a plurality of different unit times is obtained based on the color sensor, and the first parameter is the color intensity of the baked food received by the color sensor again after the light source light beam generated by the color sensor irradiates the baked food and is reflected, including:
[0018] A red output frequency, a green output frequency and a blue output frequency are obtained based on the signal receiving end, and the first parameter within a single unit time is determined based on the red output frequency, the green output frequency and the blue output frequency.
[0019] As a further solution of the present invention, a distance at which the light beam generated by the color sensor irradiates the grilled food and is received by the signal receiving end after reflection is obtained, and the first parameter within a single unit time is determined based on the distance, the red output frequency, the green output frequency, and the blue output frequency after normalization calculation, wherein the first parameter within a single unit time satisfies:
[0020] ;
[0021] In the formula, , and are the red output frequency, the green output frequency and the blue output frequency after normalization calculation, is the first parameter in a single unit time, and L is the distance that the light source light beam generated by the color sensor irradiates the grilled food and is received by the signal receiving end after being reflected.
[0022] As a further solution of the present invention, the red output frequency, the green output frequency and the blue output frequency are normalized, and the calculation formula for the normalization is:
[0023] ;
[0024] ;
[0025] ;
[0026] In the formula, , and They are respectively the red output frequency, the green output frequency and the blue output frequency which have not been normalized.
[0027] As a further solution of the present invention, a Routh table is established based on the second-order system transfer function of the oven, and the stability of the oven is determined based on the Routh table.
[0028] An automatic control device for the working state of an oven, comprising:
[0029] A preset unit, the preset unit is used to obtain preset initial parameters for grilling food;
[0030] A judging unit, wherein the judging unit judges the working stability of the oven based on the Routh criterion;
[0031] A first instruction unit, the first instruction unit is used to generate a fault instruction. If the oven works unstably, the fault instruction is generated, and the fault instruction is used to instruct maintenance and repair of the oven;
[0032] An acquisition unit, the acquisition unit is used to acquire a first parameter, a second parameter and a third parameter in a plurality of different unit times. If the oven works stably, the first parameter, the second parameter and the third parameter in a plurality of different unit times are acquired. The acquisition unit includes a clock module, a digital infrared temperature sensor and a color sensor. The color sensor includes a signal receiving end. The first parameter in a plurality of different unit times is acquired based on the color sensor, the second parameter in a plurality of different unit times is acquired based on the digital infrared temperature sensor, and the third parameter in a plurality of different unit times is acquired based on the clock module.
[0033] a second instruction unit, wherein the second instruction is used to generate a reminder instruction, and when the baking difference value is greater than a preset threshold, a reminder instruction is generated, wherein the reminder instruction is used to instruct to turn off the oven;
[0034] The oven has a baking cavity for accommodating baked food, the color sensor is arranged directly above the baking cavity, and the baked food is accommodated in the baking cavity.
[0035] An electronic device, comprising:
[0036] At least one processor; and at least one memory communicatively connected to the processor; wherein the memory stores instructions executable by at least one of the processors, and the instructions are executed by at least one of the processors.
[0037] Compared with the prior art, the present invention has the following beneficial effects:
[0038] 1. First, obtain the preset initial parameters of the baked food, and obtain the first parameter, the second parameter and the third parameter in multiple different unit times based on the color sensor, the digital infrared temperature sensor and the clock module; then construct a Gaussian mixture training model, and derive the estimated baking function based on the first parameter, the second parameter and the third parameter in multiple different unit times; then compare the first parameter, the second parameter and the third parameter in the current unit time with the estimated baking function to obtain the baking index, and subtract the baking index from the preset initial parameter to determine the baking difference; finally, if the baking difference is greater than the preset threshold, generate a reminder instruction, which is used to instruct to turn off the oven. If the baking difference is less than the preset threshold, continue to iterate the calculation based on the Gaussian mixture training model; the oven can remind the user through the reminder instruction before the food is burnt, so that the user does not need to repeatedly observe the food in the oven, which effectively avoids the occurrence of food burns and improves convenience.
[0039] 2. Before the oven works, the working stability of the oven can be judged based on the Routh criterion. If the oven works unstably, a fault instruction is generated. The fault instruction is used to instruct the maintenance and repair of the oven. The fault instruction can not only be used to instruct the user to maintain and repair the oven in time, but also effectively prevent the user from continuing to use the oven when there is a fault, thereby avoiding further damage caused by improper use, ensuring the user's safety, and allowing the user to avoid potential safety hazards; if the oven works stably, it works normally. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 The invention discloses a flow chart of the steps of an automatic control method and device for the working state of an oven. DETAILED DESCRIPTION
[0041] The following is a further detailed description of the embodiments of the present invention in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the technical solutions of the present invention, but cannot be used to limit the scope of protection of the present invention.
[0042] As attached Figure 1 As shown:
[0043] The present invention provides an automatic control method for the working state of an oven, which is applicable to an oven and comprises the following steps:
[0044] S100: Obtaining preset initial parameters of baked food, the preset initial parameters are the baking degree values of the baked food from undercooked to fully cooked when being baked in the oven, judging the working stability of the oven based on the Routh criterion, establishing a Routh table based on the second-order system transfer function of the oven, judging the stability of the oven based on the Routh table, and establishing the second-order system transfer function of the oven through the color sensor, clock module, clock module and other components of the oven, wherein the second-order system transfer function can be described as:
[0045] ;
[0046] in, is the second-order system transfer function of the oven, is the system gain, is the natural frequency (rad / s), is the damping ratio;
[0047] Specifically, let the second-order system transfer function be , the characteristic equation of the transfer function of the second-order system is , establish the Routh table for the characteristic equation of the second-order system transfer function:
[0048] ;
[0049] According to the Routh criterion, all the elements in the first column of the Routh table must be positive to confirm stability. In the above Routh table, since all the elements are positive, it is stable, thus judging the working stability of the oven.
[0050] S200: If the oven is not working stably, a fault instruction is generated. The fault instruction is used to instruct the user to perform maintenance and repair on the oven. The fault instruction can not only instruct the user to perform maintenance and repair on the oven in a timely manner, but also effectively prevent the user from continuing to use the oven when there is a fault, thereby preventing further damage caused by improper use, ensuring the user's safety and allowing the user to avoid potential safety hazards.
[0051] If the oven works stably, a first parameter in multiple different unit times is obtained based on the color sensor, and the multiple different unit times are 1s, 2s, 3s...Ns, respectively. The first parameter is the color intensity of the baked food received by the color sensor again after the light source light beam generated by the color sensor irradiates the baked food and is reflected. The color sensor is a device that can detect the color of an object and convert it into a corresponding frequency signal. The baked food will change color as the oven bakes, and the color change of the baked food is related to the degree of baking of the baked food. Therefore, the color intensity of the baked food received by the color sensor again after the light source light beam generated by the color sensor irradiates the baked food and is reflected can be used as a more important monitoring indicator. The degree of baking of the baked food can be known through real-time measurement of the color intensity.
[0052] The color sensor includes a signal receiving end, which is a photodiode array in the color sensor. The light reflected by the color sensor from the baked food passes through the signal receiving end. The signal receiving end can sense light of different wavelengths and output signals of different frequencies according to the intensity of the received light. For each color, including red, green and blue, a frequency value proportional to the color intensity can be calculated. The first parameter, which is the color intensity of the baked food, can be obtained through the red output frequency, the green output frequency and the blue output frequency. Based on the changes in the red output frequency, the green output frequency and the blue output in different unit times, the first parameters in multiple different unit times can be obtained. By analyzing the color intensity of the baked food, the degree of baking of the baked food in the oven can be understood.
[0053] The color sensor is arranged directly above the baking cavity, but not in the baking cavity, to prevent the high temperature in the baking cavity from damaging the color sensor when the oven is working. The color sensor can detect the color intensity of the food baked in the baking cavity and obtain the first parameter based on the color sensor.
[0054] When the color sensor acquires the first parameter, based on the above-mentioned signal receiving end, the output frequencies of the three colors of red, green and blue can be received. Based on the signal receiving end, the red output frequency, green output frequency and blue output frequency can be obtained. Based on the red output frequency, green output frequency and blue output frequency, the first parameter in a single unit time can be determined. Based on the changes of the red output frequency, green output frequency and blue output frequency in different unit times, the first parameters in multiple different unit times can be obtained. Before calculating the first parameter, the red output frequency, green output frequency and blue output frequency are normalized for comparison and analysis, which can significantly improve the calculation speed. The normalization calculation formula for the red output frequency, green output frequency and blue output frequency is:
[0055] ;
[0056] ;
[0057] ;
[0058] In the formula, , and They are the red output frequency, green output frequency and blue output frequency after normalization calculation, , and They are respectively the red output frequency, green output frequency and blue output frequency without normalization calculation.
[0059] After completing the normalization processing of the red output frequency, the green output frequency, and the blue output frequency, since the light source beam will attenuate when irradiating the baked food and reflecting, it is necessary to obtain the distance of the light source beam generated by the color sensor irradiating the baked food and being received by the signal receiving end after reflection. After obtaining the distance, the first parameter in a single unit time is determined based on the obtained distance and the normalized red output frequency, green output frequency, and blue output frequency. The calculation formula of the first parameter in a single unit time is:
[0060] ;
[0061] In the formula, , and They are the red output frequency, green output frequency and blue output frequency after normalization calculation, is the first parameter in a single unit time, L is the distance that the light source light beam generated by the color sensor irradiates the baked food and is received by the signal receiving end after reflection, and the first parameter in a single unit time is obtained by the calculation formula of the first parameter in a single unit time.
[0062] Based on the digital infrared temperature sensor, a second parameter in multiple different unit times is obtained. The second parameter is the temperature value of the baked food. The digital infrared temperature sensor can measure the temperature of the baked food to obtain the second parameter. The digital infrared temperature sensor is a device that can convert infrared radiation into electrical signals. The digital infrared temperature sensor is arranged in the baking cavity. Temperature is also a relatively important detection indicator. The temperature is positively correlated with the baking degree of the baked food baked in the oven. The higher the temperature, the higher the baking degree of the baked food in the oven. Based on the change of temperature in different unit times, the second parameters in multiple different unit times can be obtained. By analyzing the temperature value of the baked food, the baking degree of the baked food in the oven can be understood.
[0063] Based on the clock module, a third parameter in multiple different unit times is obtained, and the third parameter is the heating time of the oven. The heating time can be timed through the clock module. It can be understood that as the heating time increases, the degree of baking of the baked food in the oven will also increase. Based on the change of the heating time in different unit times, the third parameters in multiple different unit times can be obtained. By analyzing the heating time, the degree of baking of the baked food can be understood.
[0064] S300: obtaining a first parameter in a plurality of different unit times based on a color sensor, obtaining a second parameter in a plurality of different unit times based on a digital infrared temperature sensor, obtaining a third parameter in a plurality of different unit times based on a clock module, and performing standardization processing on the first parameter, the second parameter, and the third parameter to eliminate dimensional differences, so as to facilitate calculation by a Gaussian mixture training model and make the data more referenceable;
[0065] Constructing a Gaussian mixture training model, the Gaussian mixture training model is used to obtain a target function according to a first parameter, a second parameter, and a third parameter, that is, an estimated baking function of baked food, obtaining a first array based on the first parameter in multiple different unit times, obtaining a second array based on the second parameter in multiple different unit times, and obtaining a third array based on the third parameter in multiple different unit times, importing the first array, the second array, and the third array into the Gaussian mixture training model, and in the process of model training generation, combining the first array, the second array, and the third array into a high-dimensional input data matrix. The model can perform deep learning in combination with relevant data in the high-dimensional input data matrix, analyze the potential distribution characteristics of the data, and thus make predictions in the application;
[0066] Assume the high-dimensional input data matrix is:
[0067] = ;
[0068] in, … express The first parameter feature data in different unit time is used as the first Gaussian distribution component in the Gaussian mixture training model. … express The second parameter feature data in different unit time is used as the second Gaussian distribution component in the Gaussian mixture training model. … express The third parameter feature data in different unit time is used as the third Gaussian distribution component in the Gaussian mixture training model;
[0069] Assume that the Gaussian mixture training model is ;in, For the The mean vector of Gaussian distribution components, For the The covariance matrix of the Gaussian components, is a high-dimensional input data matrix, , so that the training process of the Gaussian mixture training model can be realized through the probability density function, that is:
[0070] ;
[0071] in, For the The weights of the Gaussian distribution components are obtained through the probability density function, which is the target function, that is, the estimated baking function. The Gaussian mixture training model can be optimized through the maximum expectation algorithm, thereby improving the accuracy of the Gaussian mixture training model.
[0072] By importing the first parameter, the second parameter and the third parameter in multiple different unit times into the Gaussian training model, through iterative calculation, the objective function derived by the Gaussian mixture training model meets the preset conditions. When the objective function calculated by the Gaussian mixture training model converges, the iterative calculation is stopped and the objective function is derived. The calculation formula of the baking index is:
[0073] ;
[0074] It can be understood that when calculating this formula, the limit must exist and be finite, so the objective function, that is, the estimated baking function The estimated baking function is used to simulate the fluctuation amplitude of the estimated baking degree in the baking chamber.
[0075] Since there is a relatively complex mathematical relationship between the Gaussian mixture training model and the objective function, and the mutual influence relationship between them cannot be accurately expressed using current mathematical parameters, a fuzzy algorithm is adopted. Based on this, iterative calculations can be performed through artificial intelligence or large models to more accurately determine the relationship between them.
[0076] S400: After the Gaussian mixture model derives the target function based on the first parameter, the second parameter and the third parameter, that is, the estimated baking function, the estimated baking function is compared with the first parameter, the second parameter and the third parameter in the current unit time to obtain the baking index. The calculation formula of the baking index is:
[0077] ;
[0078] in, is a constant, is the system gain when the oven is working, is the estimated baking function for baked food, is the third parameter in the current unit time, is the first parameter in the current unit time, is the second parameter in the current unit time, The baking index is used to measure the estimated baking degree of the food baked in the baking chamber. The baking index is subtracted from the preset initial parameter to determine the baking difference.
[0079] S500: If the baking difference is greater than a preset threshold, a reminder instruction is generated, which is used to instruct the oven to be turned off and the baked food to be taken out; if the baking difference is less than the preset threshold, iterative calculation based on the Gaussian mixture training model continues.
[0080] An automatic control device for the working state of an oven, comprising:
[0081] A preset unit, the preset unit is used to obtain preset initial parameters for baking food;
[0082] A judgment unit, the judgment unit judges the working stability of the oven based on the Routh criterion;
[0083] A first instruction unit, the first instruction unit is used to generate a fault instruction. If the oven works unstably, a fault instruction is generated, and the fault instruction is used to instruct maintenance and repair of the oven;
[0084] An acquisition unit, the acquisition unit is used to acquire a first parameter, a second parameter and a third parameter in a plurality of different unit times. If the oven works stably, the first parameter, the second parameter and the third parameter in a plurality of different unit times are acquired. The acquisition unit includes a clock module, a digital infrared temperature sensor and a color sensor. The color sensor includes a signal receiving end. The color sensor can be a TCS3200D color sensor of Shenzhen Hongwei Microelectronics Co., Ltd. The first parameter in a plurality of different unit times is acquired based on the color sensor. The digital infrared temperature sensor can be a KEYENCE FT-H40K, which can operate in an environment of 0-1350 degrees Celsius and can operate normally in a baking chamber. The second parameter in a plurality of different unit times is acquired based on the digital infrared temperature sensor. The clock module can be a DS1037ZN of Shenzhen Taike Semiconductor Co., Ltd. The third parameter in a plurality of different unit times is acquired based on the clock module.
[0085] A second instruction unit, the second instruction is used to generate a reminder instruction. When the baking difference value is greater than a preset threshold, a reminder instruction is generated, and the reminder instruction is used to instruct to turn off the oven;
[0086] The oven has a baking cavity for accommodating baked food. The color sensor is arranged right above the baking cavity, and the baked food is accommodated in the baking cavity.
[0087] An automatic control device for the working state of an oven proposed in an embodiment of the present invention first obtains preset initial parameters for baking food, and judges the working stability of the oven based on the Routh criterion; if the oven is not working stably, a fault instruction is issued, and the fault instruction is used to instruct the oven to be maintained and repaired; if the oven is working stably, a first parameter, a second parameter and a third parameter in multiple different unit times are obtained based on a color sensor, a digital infrared temperature sensor and a clock module; then a Gaussian mixture training model is constructed, and an estimated baking function is derived based on the first parameter, the second parameter and the third parameter in multiple different unit times; then the first parameter, the second parameter and the third parameter in the current unit time are compared with the estimated baking function to obtain a baking index, and the baking index is subtracted from the preset initial parameter to determine a baking difference; finally, if the baking difference is greater than a preset threshold, a reminder instruction is generated, and the reminder instruction is used to instruct the oven to be turned off; if the baking difference is less than the preset threshold, iterative calculation is continued based on the Gaussian mixture training model; the oven can remind the user through the reminder instruction before the food is burnt, so that the user does not need to repeatedly observe the food in the oven, effectively avoiding the occurrence of food burns, and improving convenience.
[0088] Based on the same inventive concept, an embodiment of the present application also proposes an electronic device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute an automatic control method for the working state of an oven according to an embodiment of the present invention.
[0089] In addition, to achieve the above-mentioned purpose, an embodiment of the present application further proposes a computer-readable storage medium, which stores a computer program containing a preset threshold value. When the computer program is executed by a processor, the automatic control method of the working state of the oven in the embodiment of the present application is implemented.
[0090] The following is a detailed introduction to the various components of electronic equipment:
[0091] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FRGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the electronic device, and can execute various functions of the electronic device by running or executing software programs stored in the memory and calling data stored in the memory.
[0092] The memory is used to store the software program for executing the solution of the present invention, and the execution is controlled by the processor. The specific implementation method can refer to the above method embodiment and will not be repeated here.
[0093] Optionally, the memory may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc-read-only memory (CD-ROM) or other optical disc storage, optical disc storage, magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto; the memory may be integrated with the processor, or may exist independently and be coupled to the processor through an interface circuit of the electronic device, and this is not specifically limited in the embodiments of the present invention.
[0094] In addition, the technical effects of the electronic device can refer to the technical effects of the data transmission method described in the above method embodiment, and will not be repeated here.
[0095] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by a wireless (such as infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0096] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0097] It should be understood that in the embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0098] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for automatically controlling the working state of an oven, characterized in that: The following steps are included: S100: obtaining preset initial parameters for baking food, and judging the working stability of the oven based on the Routh criterion; S200: If the oven is not working stably, a fault instruction is generated, wherein the fault instruction is used to instruct maintenance and repair of the oven; If the oven works stably, a first parameter in a plurality of different unit times is obtained based on the color sensor, where the first parameter is the color intensity of the baked food received by the color sensor again after the light source light beam generated by the color sensor irradiates the baked food and is reflected; Acquire a second parameter in a plurality of different unit times based on a digital infrared temperature sensor, the second parameter being the temperature value of the baked food; acquire a third parameter in a plurality of different unit times based on a clock module, the third parameter being the heating time of the oven; S300: constructing a Gaussian mixture training model, performing calculation based on the first parameter, the second parameter, and the third parameter in a plurality of different unit times, and deriving an objective function through iterative calculation, wherein the objective function is an estimated baking function of the baked food, and the estimated baking function is used to simulate the fluctuation amplitude of the estimated baking degree in the baking chamber; S400: Compare the estimated baking function with the first parameter, the second parameter and the third parameter in the current unit time to obtain a baking index, where the baking index is used to measure the estimated baking degree of the baked food in the baking chamber, and subtract the baking index from the preset initial parameter to determine a baking difference; S500: if the baking difference is greater than a preset threshold, generating a reminder instruction, wherein the reminder instruction is used to instruct to turn off the oven; If the baking difference is less than the preset threshold, the iterative calculation is continued based on the Gaussian mixture training model.
2. The method for automatically controlling the working state of an oven according to claim 1, characterized in that: The first parameter in multiple different unit times is obtained based on the color sensor, the second parameter in multiple different unit times is obtained based on the digital infrared temperature sensor, and the third parameter in multiple different unit times is obtained based on the clock module. The first parameter, the second parameter and the third parameter in multiple different unit times are standardized to eliminate dimensional differences. A first array is obtained based on the first parameter in multiple different unit times, a second array is obtained based on the second parameter in multiple different unit times, and a third array is obtained based on the third parameter in multiple different unit times. The first array, the second array and the third array are imported into the Gaussian mixture training model for iterative calculation. When the calculation process meets the preset conditions, the objective function is derived, and the objective function is an estimated baking function of the baked food.
3. The method for automatically controlling the working state of an oven according to claim 2, characterized in that: The baking index is obtained based on the comparison between the estimated baking function and the first parameter, the second parameter and the third parameter in the current unit time. The calculation formula of the baking index is: In the formula, is the estimated baking function of the baked food, is the independent variable in the estimated baking function, β3 is the third parameter in the current unit time, β1 is the first parameter in the current unit time, β2 is the second parameter in the current unit time, S is the baking index, and K is a constant.
4. The method for automatically controlling the working state of an oven according to claim 1, characterized in that: The color sensor includes a signal receiving end, and the signal receiving end can receive output frequencies of three colors: red, green, and blue. The first parameter in a plurality of different unit times is obtained based on the color sensor. The first parameter is the color intensity of the baked food received by the color sensor again after the light source light beam generated by the color sensor irradiates the baked food and is reflected, including: A red output frequency, a green output frequency and a blue output frequency are obtained based on the signal receiving end, and the first parameter within a single unit time is determined based on the red output frequency, the green output frequency and the blue output frequency.
5. The method for automatically controlling the working state of an oven according to claim 4, characterized in that: The distance at which the light beam generated by the color sensor irradiates the grilled food and is received by the signal receiving end after being reflected is obtained, and the first parameter within a single unit time is determined based on the distance, the red output frequency, the green output frequency, and the blue output frequency after normalization calculation, wherein the first parameter within a single unit time satisfies: Wherein, R', G' and B' are the red output frequency, the green output frequency and the blue output frequency after normalization calculation, respectively, and X n is the first parameter in a single unit time, and L is the distance that the light source light beam generated by the color sensor irradiates the grilled food and is received by the signal receiving end after being reflected.
6. The method for automatically controlling the working state of an oven according to claim 5, characterized in that: The red output frequency, the green output frequency and the blue output frequency are normalized, and the calculation formula for the normalization is: In the formula, f R 、f G With f B They are respectively the red output frequency, the green output frequency and the blue output frequency which have not been normalized.
7. The method for automatically controlling the working state of an oven according to claim 1, characterized in that: A Routh table is established based on the second-order system transfer function of the oven, and the stability of the oven is determined based on the Routh table.
8. An automatic control device for the working state of an oven, characterized in that: include: A preset unit, the preset unit is used to obtain preset initial parameters for grilling food; A judging unit, wherein the judging unit judges the working stability of the oven based on the Routh criterion; A first instruction unit, the first instruction unit is used to generate a fault instruction. If the oven works unstably, the fault instruction is generated, and the fault instruction is used to instruct maintenance and repair of the oven; an acquisition unit, the acquisition unit is used to acquire a first parameter, a second parameter and a third parameter in a plurality of different unit times. If the oven works stably, the first parameter, the second parameter and the third parameter in a plurality of different unit times are acquired. The first parameter is the color intensity of the baked food received by the color sensor again after the light source light beam generated by the color sensor irradiates the baked food and is reflected. The second parameter is the temperature value of the baked food. The third parameter is the heating time of the oven. The acquisition unit includes a clock module, a digital infrared temperature sensor and a color sensor. The color sensor includes a signal receiving end. The first parameter in a plurality of different unit times is acquired based on the color sensor. The second parameter in a plurality of different unit times is acquired based on the digital infrared temperature sensor. The third parameter in a plurality of different unit times is acquired based on the clock module. a second instruction unit, wherein the second instruction is used to generate a reminder instruction, and when the baking difference value is greater than a preset threshold value, a reminder instruction is generated, wherein the reminder instruction is used to instruct to turn off the oven, and the baking difference value is a value obtained by subtracting the baking index from a preset initial parameter; The oven has a baking cavity for accommodating baked food, the color sensor is arranged directly above the baking cavity, and the baked food is accommodated in the baking cavity.
Citation Information
Patent Citations
Control method and apparatus, computer storage medium and bread maker
CN110716428A
Intelligent control method of intelligent cooking system and intelligent cooking system
CN115451436A