A method for analyzing and controlling operation data of an intelligent cooking device
By constructing the operating trajectory of the cooking equipment and comparing it with the reference trajectory, the cooking mismatch state is identified and adjusted. The stable operation of the intelligent cooking equipment is achieved by using a PID controller, which solves the problems of instability and consistency of the equipment under dynamic conditions and improves the cooking effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU ZHISHAN CLOUD CHAIN TECH CO LTD
- Filing Date
- 2026-04-07
- Publication Date
- 2026-06-23
AI Technical Summary
Existing smart cooking equipment suffers from instability and inconsistent results due to factors such as the type of ingredients, changes in ambient temperature, and equipment aging.
By continuously acquiring the operating status indicators of the cooking equipment, constructing an operating status trajectory and comparing it with a reference status trajectory, identifying cooking mismatch states, and using a PID controller for feedback adjustment to ensure that the operating status returns to the reference state.
It improves the stability of the cooking process and the consistency of results, and can adapt to differences in ingredients and environmental changes under dynamic conditions, maintaining stable operation of the equipment.
Smart Images

Figure CN121995806B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of automation control, specifically to a method for analyzing and controlling the operation data of an intelligent cooking device. Background Technology
[0002] One of the core goals of intelligent cooking equipment is to achieve a stable and repeatable cooking process. Different dishes often go through different stages during cooking, such as heating, cooking, and braising. Physical processes like pot temperature, steam pressure, and water evaporation all affect how the ingredients are heated and the cooking effect. Therefore, the industry commonly uses programmed management of equipment operating parameters to keep the cooking process stable within a certain range, thereby reducing fluctuations in cooking results caused by differences in human experience. Simultaneously, with the application of sensor technology and embedded control technology, some devices can also collect data such as temperature and pressure during operation, providing basic information for monitoring and controlling the equipment's operating status.
[0003] However, from the perspective of the overall technological level of the industry, automated cooking equipment still has certain limitations. The thermal and steam states inside the pot typically exhibit continuous changes during actual cooking, influenced by various factors such as the type of food, initial temperature, amount of ingredients, moisture content, and the thermal inertia of the equipment. Because these factors have significant uncertainties in actual operating environments, the changes in the pot's state vary under different cooking conditions. Furthermore, cooking equipment is also affected by various external factors during long-term operation, such as changes in ambient temperature, equipment aging, and batch-to-batch differences in ingredients. These factors all influence the thermal state and steam environment inside the pot, thus affecting the stability of equipment operation and the consistency of cooking results.
[0004] The information disclosed in this background section is intended only to enhance the understanding of the overall background of this application and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention
[0005] The technical problem to be solved by this application is to overcome the defects of the prior art and provide a method for analyzing and controlling the operation data of intelligent cooking equipment. By dynamically analyzing the operation status of the cooking process and making feedback adjustments, the stability of the cooking process and the consistency of the cooking results are improved.
[0006] To solve the above-mentioned technical problems, this application provides the following technical solution:
[0007] A method for analyzing and controlling the operational data of an intelligent cooking device includes the following steps:
[0008] Continuously acquire the operating status indicators of the cooking equipment and obtain the reference status parameters for the current cooking stage;
[0009] The operating status trajectory of the cooking equipment is constructed based on the operating status indicators, and the reference status trajectory of the current cooking stage is constructed based on the reference status parameters.
[0010] Based on the running state trajectory and the reference state trajectory, identify whether there is a cooking mismatch in the current cooking stage;
[0011] If a cooking mismatch exists in the current cooking stage, the operating parameters of the cooking equipment are adjusted in feedback until the cooking state return conditions are met; otherwise, the operating parameters are kept at the preset values for the current cooking stage until the current cooking stage ends.
[0012] As a preferred embodiment of the operation data analysis and control method of the intelligent cooking device described in this application, wherein: the operation status index is either cooking temperature or cooking pressure;
[0013] The reference state parameters for any cooking stage include the stage duration, m progress anchors, the target state index corresponding to each progress anchor, and the state deviation bandwidth corresponding to each progress anchor; m is a positive integer.
[0014] The duration of the stage refers to the total duration of the cooking stage from start to finish.
[0015] Any progress anchor point represents a progress value of the cooking stage, ranging from 0 to 1; any progress value corresponds to a moment after the start of the cooking stage, and the progress value is represented by the ratio of the cumulative duration of the cooking stage at the corresponding moment to the stage duration; the cumulative duration is the time difference between the corresponding moment and the start moment of the cooking stage;
[0016] The target status index corresponding to any progress anchor point represents the target value of the operation status index when the cooking stage reaches the progress value corresponding to the progress anchor point.
[0017] The state deviation bandwidth corresponding to any progress anchor point represents the maximum allowable difference between the running state indicator and the target state indicator when the cooking stage reaches the progress value corresponding to the progress anchor point.
[0018] As a preferred embodiment of the operational data analysis and control method for an intelligent cooking device described in this application, the method for constructing the operational state trajectory of the cooking device is as follows:
[0019] After the cooking stage begins, the time difference between each moment and the start time of the cooking stage is calculated to obtain the cumulative duration of each moment. The progress value of each moment is calculated based on the cumulative duration and the stage duration. The running status trajectory is constructed based on the progress value of each moment and the running status indicators. The running status trajectory is a sequence of running status indicators, specifically including the running status indicators corresponding to each progress value, and the running status indicators are arranged in ascending order of the corresponding progress values.
[0020] As a preferred embodiment of the operation data analysis and control method for an intelligent cooking device described in this application, wherein: the reference state trajectory for any cooking stage includes the target state curve;
[0021] The target state curve includes the target state index corresponding to each progress value of the corresponding cooking stage; the method for constructing the target state curve is as follows: based on the target state index of any two adjacent progress anchor points, the target state curve segment between the two progress anchor points is obtained by cubic spline interpolation; the target state curve segment includes the target state value corresponding to each progress value between the two progress anchor points; all target state curve segments are spliced together to form the target state curve.
[0022] As a preferred embodiment of the operation data analysis and control method for an intelligent cooking device described in this application, the reference state trajectory for any cooking stage further includes a first deviation curve and a second deviation curve.
[0023] The first deviation curve includes a first deviation index corresponding to each progress value of the corresponding cooking stage; the method for constructing the target state curve is as follows: calculate the first deviation index corresponding to each progress anchor point respectively; the first deviation index corresponding to any progress anchor point is the sum of the target state index of the progress anchor point and the state deviation bandwidth; based on the first deviation index corresponding to each progress anchor point, obtain the first deviation curve by cubic spline interpolation;
[0024] The second deviation curve includes a second deviation index corresponding to each progress value of the corresponding cooking stage; the method for constructing the target state curve is as follows: calculate the second deviation index corresponding to each progress anchor point respectively; the second deviation index corresponding to any progress anchor point is the difference between the target state index and the state deviation bandwidth of the progress anchor point; based on the second deviation index corresponding to each progress anchor point, obtain the first deviation curve by cubic spline interpolation.
[0025] As a preferred embodiment of the operational data analysis and control method for an intelligent cooking device described in this application, the method for identifying whether a cooking mismatch exists in the current cooking stage specifically includes:
[0026] Based on the running state trajectory and the reference state trajectory, calculate the state deviation and trend deviation of each progress value in the current cooking stage.
[0027] For any progress value in the current cooking stage, calculate the product of the state deviation and the trend deviation, and use it as the trend evolution variable of the corresponding progress value.
[0028] Obtain the state deviation threshold for the current cooking stage; if the absolute value of the state deviation of at least K consecutive progress values is greater than the state deviation threshold, and the trend evolution of the at least K consecutive progress values is greater than 0, then there is a cooking mismatch state in the current cooking stage; K is a positive integer.
[0029] As a preferred embodiment of the operational data analysis and control method for an intelligent cooking device described in this application, the method for calculating the state deviation of any progress value in the current cooking stage is as follows:
[0030] Based on the running status trajectory and the reference status trajectory, the running status index, target status index, first deviation index and second deviation index corresponding to any progress value are extracted respectively.
[0031] Calculate the difference between the operating status index and the target status index, and use it as the status deviation index of the corresponding progress value;
[0032] Setting a reference deviation index based on the state deviation index includes: if the state deviation index is greater than 0, the reference deviation index is the difference between the first deviation index corresponding to the progress value and the target state index; otherwise, the reference deviation index is the difference between the target state index corresponding to the progress value and the second deviation index.
[0033] The ratio of the state deviation index to the reference deviation index is calculated and used as the state deviation amount of the corresponding progress value.
[0034] As a preferred embodiment of the operational data analysis and control method for an intelligent cooking device described in this application, the method for calculating the trend deviation of any progress value in the current cooking stage is as follows:
[0035] Mark any progress value as the target progress value;
[0036] On the running status trajectory, a status observation window is set with the target progress value as the endpoint; the status observation window contains n consecutive progress values; n is a positive integer.
[0037] Calculate the average rate of change of the operating status index within the status observation window, and use it as the rate of change of the target progress value.
[0038] On the target state curve, a target observation window is set with the target progress value as the endpoint; the target observation window contains n consecutive progress values.
[0039] Calculate the average rate of change of the target status index within the target observation window, and use it as the target rate of change of the target progress value.
[0040] The difference between the rate of change of the state and the rate of change of the target state is calculated and used as the trend deviation of the target progress value.
[0041] As a preferred embodiment of the operation data analysis and control method for an intelligent cooking device described in this application, the operation parameters of the cooking device include heating power and pressure relief parameters;
[0042] The feedback adjustment of the operating parameters of the cooking equipment includes adjusting the corresponding operating parameters through a PID controller to suppress the state deviation index.
[0043] The input of the PID controller includes a state deviation index of the progress value at any given time, and the output is the adjustment amount of the operating parameters at the corresponding time. At any given time, the operating parameters are adjusted by the adjustment amount of the operating parameters.
[0044] As a preferred embodiment of the operational data analysis and control method for an intelligent cooking device described in this application, the method for determining whether the cooking state regression condition is met is as follows:
[0045] If the absolute value of the state deviation of at least N consecutive progress values is less than the state deviation threshold, and the trend evolution variable of the at least N consecutive progress values is less than 0, then the cooking state regression condition is satisfied; N is a positive integer.
[0046] Compared with the prior art, the beneficial effects achieved by this application are as follows:
[0047] This application constructs an operating status trajectory from the actual operating status indicators collected by the equipment and compares and analyzes it with the reference status trajectory of the corresponding cooking stage. This allows for continuous evaluation of the deviation between the current operating status and the target status throughout the entire cooking stage. It can promptly detect the difference between the status change and the expected status during the cooking process, thereby providing a basis for adjusting the subsequent control strategy and enabling the cooking process to maintain stable operation under dynamic conditions.
[0048] This application incorporates both state deviation and trend deviation during the state assessment process to comprehensively judge the current operating state. State deviation reflects the degree of deviation of the operating state from the target state, while trend deviation reflects the development trend of this deviation over a short period. By simultaneously considering numerical deviation and changing trends, it is possible to more accurately distinguish between short-term fluctuations and continuous deviations, thereby improving the accuracy of identifying abnormal cooking conditions and reducing misjudgments caused by instantaneous disturbances.
[0049] After identifying the mismatch, the controller adjusts the equipment's operating parameters to gradually bring the operating state back to the reference state trajectory. This allows the equipment to maintain a stable operating state even when affected by differences in ingredients or changes in the environment, thereby improving the adaptability of the cooking process. Attached Figure Description
[0050] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments 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. Wherein:
[0051] Figure 1 A flowchart illustrating a method for analyzing and controlling the operational data of an intelligent cooking device provided in this application. Detailed Implementation
[0052] The technical solution of this application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments and specific features in the embodiments are detailed descriptions of the technical solution of this application, rather than limitations thereof. In the absence of conflict, the embodiments and technical features in the embodiments can be combined with each other.
[0053] This embodiment describes a method for analyzing and controlling the operational data of an intelligent cooking device, referring to... Figure 1 The method includes the following steps:
[0054] Continuously acquire the operating status indicators of the cooking equipment and obtain the reference status parameters for the current cooking stage;
[0055] The operating status indicators are either cooking temperature or cooking pressure.
[0056] Cooking temperature is the temperature inside the pot, collected by a temperature sensor located inside the pot of the cooking appliance, and is used to characterize the cooking thermal state inside the pot. Cooking pressure is the steam pressure inside the pot, collected by a pressure sensor located inside the pot or on the lid, and is used to characterize the pressure state inside the pot in a closed or semi-closed cooking environment.
[0057] The reference state parameters for any cooking stage include the stage duration, m progress anchors, the target state index corresponding to each progress anchor, and the state deviation bandwidth corresponding to each progress anchor; m is a positive integer.
[0058] The duration of the stage refers to the total duration of the cooking stage from start to finish.
[0059] Any progress anchor point represents a progress value of the cooking stage, ranging from 0 to 1; any progress value corresponds to a moment after the start of the cooking stage, and the progress value is represented by the ratio of the cumulative duration of the cooking stage at the corresponding moment to the stage duration; the cumulative duration is the time difference between the corresponding moment and the start moment of the cooking stage;
[0060] For example, if the duration of any cooking stage is 10 minutes, then after 10 minutes of cooking, the process will automatically switch to the next cooking stage; after 5 minutes of cooking, the cumulative duration will be 5 minutes, and the progress value at that moment will be the ratio of 5 minutes to 10 minutes, which is 0.5.
[0061] The target status index corresponding to any progress anchor point represents the target value of the operation status index when the cooking stage reaches the progress value corresponding to the progress anchor point.
[0062] For example, regarding cooking temperature, let the duration of the cooking stage be 10 minutes; let the target state index corresponding to the progress anchor point 0.3 be 200℃, which means that when the progress value of the cooking stage reaches 0.3, that is, 3 minutes after the start of the cooking stage, the cooking temperature needs to reach 200℃.
[0063] The state deviation bandwidth corresponding to any progress anchor point represents the maximum allowable difference between the running status index and the target status index when the cooking stage reaches the progress value corresponding to the progress anchor point.
[0064] For example, regarding cooking temperature, setting the state deviation bandwidth corresponding to the progress anchor point 0.3 to 5℃ means that when the progress value of the cooking stage reaches 0.3, the cooking equipment should maintain the cooking temperature within the range of ±5℃ of the target state index.
[0065] In this embodiment, the entire cooking process is divided into several continuous time segments according to the recipe's execution flow. Each time segment is a cooking stage, and each cooking stage has a different processing purpose. In the standardized recipe, each cooking stage has preset execution standards, including preset values for reference state parameters and cooking equipment operating parameters, to achieve repeatable and high-precision processing objectives in each cooking stage. In some implementations, the cooking stages are set as follows: For most intelligent cooking processes, they can be uniformly divided into four categories: preheating stage, ingredient introduction stage, stable cooking stage, and cooking end stage. The preheating stage corresponds to the heating process when the equipment is unloaded; the ingredient introduction stage corresponds to the process of establishing effective heat transfer and steam release after the ingredients have just entered the pot; the stable cooking stage corresponds to the main cooking process; and the end stage corresponds to the state convergence process before the end of cooking, such as reducing sauce and simmering.
[0066] Taking the ingredient introduction stage of a closed stewing recipe as an example, some reference state parameters are set as follows. The goal of this stage is to establish a stable steam environment within a short period after the ingredients are added, allowing the pot to transition from an initial heated state to a stable cooking state. The duration of this stage can be set to 120 seconds. For cooking temperature, four progress anchor points are set, with corresponding progress values of 0, 0.25, 0.6, and 1.0, respectively. The target state indicators corresponding to these four progress anchor points are 105℃, 118℃, 128℃, and 135℃, respectively. The temperature in this stage does not simply rise rapidly, but rather steadily increases while establishing the steam environment. For cooking pressure, four progress anchor points are set, the same as for cooking temperature. The target state indicators corresponding to these four progress anchor points are gauge pressures of 0 kPa, 4 kPa, 10 kPa, and 16 kPa, respectively. This indicates that the control goal of this stage is to gradually establish a high-pressure environment.
[0067] The operating status trajectory of the cooking equipment is constructed based on the operating status indicators, and the reference status trajectory of the current cooking stage is constructed based on the reference status parameters.
[0068] The method for constructing the operating status trajectory of cooking equipment is as follows:
[0069] After the cooking stage begins, the time difference between each moment and the start time of the cooking stage is calculated to obtain the cumulative duration of each moment. The progress value of each moment is calculated based on the cumulative duration and the stage duration. The running status trajectory is constructed based on the progress value of each moment and the running status indicators. The running status trajectory is a sequence of running status indicators, specifically including the running status indicators corresponding to each progress value, and the running status indicators are arranged in ascending order of the corresponding progress values.
[0070] The reference state trajectory for any cooking stage includes the target state curve, the first deviation curve, and the second deviation curve;
[0071] The target state curve includes the target state index corresponding to each progress value of the corresponding cooking stage; the method for constructing the target state curve is as follows: based on the target state index of any two adjacent progress anchor points, the target state curve segment between the two progress anchor points is obtained by cubic spline interpolation; the target state curve segment includes the target state value corresponding to each progress value between the two progress anchor points; all target state curve segments are spliced together to form the target state curve.
[0072] During automatic cooking, the target state curve for each cooking stage reflects the thermal and evaporation states that the cooking equipment should achieve under standard conditions. When the actual operating state deviates from this target state curve, it indicates that the current heat input, moisture evaporation, or steam environment formation process is inconsistent with the standard cooking mechanism. Without adjustment, this can easily lead to problems such as insufficient cooking, excessive evaporation, or temperature runaway.
[0073] The first deviation curve includes a first deviation index corresponding to each progress value of the corresponding cooking stage; the method for constructing the target state curve is as follows: calculate the first deviation index corresponding to each progress anchor point respectively; the first deviation index corresponding to any progress anchor point is the sum of the target state index and the state deviation bandwidth of the progress anchor point; based on the first deviation index corresponding to each progress anchor point, the first deviation curve is obtained by cubic spline interpolation.
[0074] The second deviation curve includes a second deviation index corresponding to each progress value of the corresponding cooking stage; the method for constructing the target state curve is as follows: calculate the second deviation index corresponding to each progress anchor point respectively; the second deviation index corresponding to any progress anchor point is the difference between the target state index and the state deviation bandwidth of the progress anchor point; based on the second deviation index corresponding to each progress anchor point, obtain the first deviation curve by cubic spline interpolation.
[0075] In this embodiment, similar to the establishment of the target state curve, the first deviation curve and the second deviation curve are also piecewise fitted. That is, firstly, the curve segment between any two adjacent progress anchor points is fitted using cubic spline interpolation, and then all curve segments are spliced together to form a complete curve. In actual cooking processes, whether it is temperature or pressure, the changes are usually a continuous process of gradual acceleration or deceleration, such as the thermal inertia effect during the heating phase or the steam accumulation process during the pressure building phase. This embodiment uses piecewise cubic spline interpolation, establishing a cubic polynomial function between every two adjacent progress anchor points, so that the function value and derivative of the entire curve remain continuous at the progress anchor points, thus forming a smooth curve. This method can naturally express the characteristics of temperature or pressure changes, making the fitted reference state trajectory close to the actual temperature or pressure change process.
[0076] Based on the running state trajectory and the reference state trajectory, identify whether there is a cooking mismatch in the current cooking stage;
[0077] Identifying whether a cooking mismatch exists in the current cooking stage includes:
[0078] Based on the running state trajectory and the reference state trajectory, calculate the state deviation and trend deviation of each progress value in the current cooking stage.
[0079] The method for calculating the state deviation of any progress value in the current cooking stage is as follows:
[0080] Based on the running status trajectory and the reference status trajectory, the running status index, target status index, first deviation index and second deviation index corresponding to any progress value are extracted respectively.
[0081] Calculate the difference between the operating status index and the target status index, and use it as the status deviation index of the corresponding progress value;
[0082] Setting a reference deviation index based on the state deviation index includes: if the state deviation index is greater than 0, the reference deviation index is the difference between the first deviation index corresponding to the progress value and the target state index; otherwise, the reference deviation index is the difference between the target state index corresponding to the progress value and the second deviation index.
[0083] The ratio of the state deviation index to the reference deviation index is calculated and used as the state deviation amount of the corresponding progress value.
[0084] In this embodiment, the reference deviation index is a reference deviation related to the state deviation bandwidth, which is used to normalize the state deviation index so that the state deviation indexes at different progress values in the same cooking stage are comparable and can share the same state deviation threshold.
[0085] The method for calculating the trend deviation of any progress value at the current cooking stage is as follows:
[0086] Mark any progress value as the target progress value;
[0087] On the running status trajectory, a status observation window is set with the target progress value as the endpoint; the status observation window contains n consecutive progress values; n is a positive integer.
[0088] Calculate the average rate of change of the operating status index within the status observation window, and use it as the rate of change of the target progress value.
[0089] On the target state curve, a target observation window is set with the target progress value as the endpoint; the target observation window contains n consecutive progress values.
[0090] Calculate the average rate of change of the target status index within the target observation window, and use it as the target rate of change of the target progress value.
[0091] The difference between the rate of change of the state and the rate of change of the target state is calculated and used as the trend deviation of the target progress value.
[0092] In one implementation, n is set as follows: n is set based on the sampling period of the operating status indicator, such that the time range covered by n consecutive progress values is 3 seconds; for example, if an operating status indicator is collected every 1 second, then n is set to 3. In this case, the rate of change of the operating status indicator or the target status indicator is the change in the corresponding observation window divided by 3 seconds. Both the status observation window and the target observation window contain n consecutive progress values, and the last progress value among the n progress values is the target progress value. During heating, if the trend deviation is greater than 0, it indicates that the actual temperature rise rate at the target progress value is greater than the preset temperature rise rate of the target state curve.
[0093] For any progress value in the current cooking stage, calculate the product of the state deviation and the trend deviation, and use it as the trend evolution variable of the corresponding progress value.
[0094] It should be noted that when calculating the product of the state deviation and the trend deviation to obtain the trend evolution variable, the trend deviation is dimensionless; the resulting trend evolution variable is a dimensionless value, and this scheme only focuses on its positive or negative sign.
[0095] Obtain the state deviation threshold for the current cooking stage; if the absolute value of the state deviation of at least K consecutive progress values is greater than the state deviation threshold, and the trend evolution of the at least K consecutive progress values is greater than 0, then there is a cooking mismatch state in the current cooking stage; K is a positive integer.
[0096] Those skilled in the art can set the specific value of the state deviation threshold and K based on actual needs. In one embodiment, the state deviation threshold is 0.8, and K is set as follows: K is set based on the sampling period of the running status index, so that the time range covered by K consecutive progress values is 10 seconds; for example, if a running status index is collected every 1 second, then K is set to 10.
[0097] In actual operation, operational status indicators are often affected by system inertia and external disturbances, resulting in short-term deviations. However, their trends tend to revert to the target state curve on their own. This application calculates the trend evolution variable of the operational status indicator relative to the target state curve within a short time window to characterize whether the deviation of the operational status indicator has been amplified or reduced in the near term. The principle is to consider both numerical and trend dimensions simultaneously to determine whether the current trajectory of the operational status indicator continues to deviate from the target state curve or is converging towards it. When the trend evolution variable is positive, it indicates that the deviation is currently amplifying, and the operational status indicator is deviating from the target state curve; when the trend evolution variable is negative, it indicates that the deviation is currently reducing, and the system state is reverting to the target state curve on its own.
[0098] If a cooking mismatch exists in the current cooking stage, the operating parameters of the cooking equipment are adjusted in feedback until the cooking state return conditions are met; otherwise, the operating parameters are kept at the preset values for the current cooking stage until the current cooking stage ends.
[0099] The operating parameters of the cooking equipment include heating power and pressure relief parameters;
[0100] The feedback adjustment of the operating parameters of the cooking equipment includes adjusting the corresponding operating parameters through a PID controller to suppress the state deviation index.
[0101] The input of the PID controller includes a state deviation index of the progress value at any given time, and the output is the adjustment amount of the operating parameters at the corresponding time. At any given time, the operating parameters are adjusted by the adjustment amount of the operating parameters.
[0102] Optionally, a first PID controller and a second PID controller are set separately. Each PID controller processes the input state deviation index according to preset proportional coefficient, integral coefficient, and derivative coefficient, and calculates the output, i.e., the adjustment amount of the operating parameter. By continuously calculating the adjustment amount of the operating parameter through the PID controller and adjusting the operating parameter, the state deviation index can gradually approach 0, and the change trend of the operating state index can gradually return to the target state curve. When the operating state index is cooking temperature, the first PID controller inputs the state deviation index of cooking temperature and outputs the adjustment amount of heating power; when the operating state index is cooking pressure, the second PID controller inputs the state deviation index of cooking pressure and outputs the adjustment amount of pressure relief parameter. Among them, the pressure relief parameter can be implemented as the opening degree of the pressure relief valve or the pressure relief cycle; the opening degree of the pressure relief valve refers to the opening angle or opening ratio of the electrically controlled pressure relief valve or exhaust valve, and the steam flow rate is adjusted by changing the valve opening degree; the pressure relief cycle refers to the repetition frequency of the pressure relief action within a certain time period, such as opening several times within a control cycle to adjust the steam release rate.
[0103] Those skilled in the art can set or adjust the specific settings of the PID controller based on actual needs. In one embodiment, the proportional coefficient of the first PID controller is 2.0, the integral coefficient is 0.08, and the derivative coefficient is 0.5. The first PID controller is used for cooking temperature control. This set of parameters is suitable for scenarios where the temperature has a certain thermal inertia and the heating power adjustment is relatively gradual. The proportional coefficient is used to quickly respond to the current temperature deviation; the integral coefficient is small to gradually eliminate continuous deviations and avoid excessive integral action leading to temperature overshoot; the derivative coefficient is used to suppress oscillations caused by rapid temperature changes. The proportional coefficient of the second PID controller is 1.2, the integral coefficient is 0.04, and the derivative coefficient is 0.8. The second PID controller is used for cooking pressure control. This set of parameters is suitable for scenarios where the pressure is sensitive to pressure relief actions. The proportional coefficient is slightly smaller than that for temperature control to avoid excessively drastic pressure relief actions; the integral coefficient is further reduced to avoid repeated fluctuations in pressure during the return process due to integral accumulation; the derivative coefficient is relatively large to enhance the ability to suppress pressure change trends, making the cooking pressure more smoothly close to its reference trajectory.
[0104] The method for determining whether the cooking state regression conditions are met is as follows:
[0105] If the absolute value of the state deviation of at least N consecutive progress values is less than the state deviation threshold, and the trend evolution variable of the at least N consecutive progress values is less than 0, then the cooking state regression condition is satisfied; N is a positive integer.
[0106] Those skilled in the art can set the value of N based on actual needs. In one implementation, N is set to be equal to K. The above-mentioned cooking state regression conditions not only require that the running state trajectory has approached the target state curve, but also require that its trend of change no longer deviates outward, but shows a trend of continuous convergence towards the running state trajectory, and remains stable in a short period of time, thereby avoiding misjudgment that the cooking state has returned due to instantaneous fluctuations.
[0107] It should be noted that the preset values of the operating parameters in the current cooking stage are reference values specified in the standardized recipe. In some implementations, examples of preset values for some operating parameters are as follows: For a stable cooking stage of a recipe, the processing goal is to maintain the heat state inside the pot within a range suitable for continuous cooking. The recipe pre-stores preset values for operating power, such as 70% of the rated power, with a control cycle of 1 second. If PID feedback regulation is implemented, the heating power is adjusted once per second based on the output of the PID controller. When the cooking state return condition is met, the PID feedback control ends. If the operating parameters differ significantly from their preset values at this point, the operating parameters can be gradually adjusted over multiple control cycles to smoothly transition to the preset values. This prevents frequent adjustments of the actuator caused by long-term continuous PID control, such as periodic fluctuations in heating power or frequent operation of the pressure relief valve, thereby improving system stability and reducing energy fluctuations.
[0108] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0109] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of protection of this application, and these forms are all within the protection scope of this application.
Claims
1. A method for analyzing and controlling the operation data of an intelligent cooking device, characterized in that: Includes the following steps: Continuously acquire the operating status indicators of the cooking equipment and obtain the reference status parameters for the current cooking stage; The operating status indicator is either cooking temperature or cooking pressure. The reference state parameters for any cooking stage include the stage duration, m progress anchors, the target state index corresponding to each progress anchor, and the state deviation bandwidth corresponding to each progress anchor; m is a positive integer. The duration of the stage refers to the total duration of the cooking stage from start to finish. Any progress anchor point represents a progress value in the cooking stage, ranging from 0 to 1; Each progress value corresponds to a moment after the start of the cooking stage. The progress value is represented by the ratio of the cumulative duration of the cooking stage at the corresponding moment to the total duration of the stage. The cumulative duration is the time difference between the corresponding moment and the start moment of the cooking stage. The target status index corresponding to any progress anchor point represents the target value of the operation status index when the cooking stage reaches the progress value corresponding to the progress anchor point. The state deviation bandwidth corresponding to any progress anchor point represents the maximum allowable difference between the running status index and the target status index when the cooking stage reaches the progress value corresponding to the progress anchor point. The operating status trajectory of the cooking equipment is constructed based on the operating status indicators, and the reference status trajectory of the current cooking stage is constructed based on the reference status parameters. Based on the running state trajectory and the reference state trajectory, identify whether there is a cooking mismatch in the current cooking stage; If there is a cooking mismatch in the current cooking stage, the operating parameters of the cooking equipment will be adjusted in feedback until the cooking state return conditions are met. Otherwise, the operating parameters will remain at the preset values for the current cooking stage until the current cooking stage ends.
2. The method for analyzing and controlling the operation data of an intelligent cooking device as described in claim 1, characterized in that: The method for constructing the operating status trajectory of cooking equipment is as follows: After the cooking stage begins, the time difference between each moment and the start time of the cooking stage is calculated to obtain the cumulative duration of each moment. The progress value of each moment is calculated based on the cumulative duration and the stage duration. The running status trajectory is constructed based on the progress value of each moment and the running status indicators. The running status trajectory is a sequence of running status indicators, specifically including the running status indicators corresponding to each progress value, and the running status indicators are arranged in ascending order of the corresponding progress values.
3. The method for analyzing and controlling the operation data of an intelligent cooking device as described in claim 2, characterized in that: The reference state trajectory for any cooking stage includes the target state curve; The target state curve includes the target state index corresponding to each progress value of the corresponding cooking stage; the method for constructing the target state curve is as follows: based on the target state index of any two adjacent progress anchor points, the target state curve segment between the two progress anchor points is obtained by cubic spline interpolation; the target state curve segment includes the target state value corresponding to each progress value between the two progress anchor points; all target state curve segments are spliced together to form the target state curve.
4. The method for analyzing and controlling the operation data of an intelligent cooking device as described in claim 3, characterized in that: The reference state trajectory for any cooking stage also includes a first deviation curve and a second deviation curve; The first deviation curve includes a first deviation index corresponding to each progress value of the corresponding cooking stage; the method for constructing the target state curve is as follows: calculate the first deviation index corresponding to each progress anchor point respectively; the first deviation index corresponding to any progress anchor point is the sum of the target state index of the progress anchor point and the state deviation bandwidth; based on the first deviation index corresponding to each progress anchor point, obtain the first deviation curve by cubic spline interpolation; The second deviation curve includes a second deviation index corresponding to each progress value of the corresponding cooking stage; the method for constructing the target state curve is as follows: calculate the second deviation index corresponding to each progress anchor point respectively; the second deviation index corresponding to any progress anchor point is the difference between the target state index and the state deviation bandwidth of the progress anchor point; based on the second deviation index corresponding to each progress anchor point, obtain the first deviation curve by cubic spline interpolation.
5. The method for analyzing and controlling the operation data of an intelligent cooking device as described in claim 4, characterized in that: Identifying whether a cooking mismatch exists in the current cooking stage includes: Based on the running state trajectory and the reference state trajectory, calculate the state deviation and trend deviation of each progress value in the current cooking stage. For any progress value in the current cooking stage, calculate the product of the state deviation and the trend deviation, and use it as the trend evolution variable of the corresponding progress value. Obtain the state deviation threshold for the current cooking stage; if the absolute value of the state deviation of at least K consecutive progress values is greater than the state deviation threshold, and the trend evolution of the at least K consecutive progress values is greater than 0, then there is a cooking mismatch state in the current cooking stage; K is a positive integer.
6. The method for analyzing and controlling the operation data of an intelligent cooking device as described in claim 5, characterized in that: The method for calculating the state deviation of any progress value in the current cooking stage is as follows: Based on the running status trajectory and the reference status trajectory, the running status index, target status index, first deviation index and second deviation index corresponding to any progress value are extracted respectively. Calculate the difference between the operating status index and the target status index, and use it as the status deviation index of the corresponding progress value; Setting a reference deviation index based on the state deviation index includes: if the state deviation index is greater than 0, the reference deviation index is the difference between the first deviation index corresponding to the progress value and the target state index; otherwise, the reference deviation index is the difference between the target state index corresponding to the progress value and the second deviation index. The ratio of the state deviation index to the reference deviation index is calculated and used as the state deviation amount of the corresponding progress value.
7. The method for analyzing and controlling the operation data of an intelligent cooking device as described in claim 6, characterized in that: The method for calculating the trend deviation of any progress value at the current cooking stage is as follows: Mark any progress value as the target progress value; On the running status trajectory, a status observation window is set with the target progress value as the endpoint; the status observation window contains n consecutive progress values; n is a positive integer. Calculate the average rate of change of the operating status index within the status observation window, and use it as the rate of change of the target progress value. On the target state curve, a target observation window is set with the target progress value as the endpoint; the target observation window contains n consecutive progress values. Calculate the average rate of change of the target status index within the target observation window, and use it as the target rate of change of the target progress value. The difference between the rate of change of the state and the rate of change of the target state is calculated and used as the trend deviation of the target progress value.
8. The method for analyzing and controlling the operation data of an intelligent cooking device as described in claim 7, characterized in that: The operating parameters of the cooking equipment include heating power and pressure relief parameters; The feedback adjustment of the operating parameters of the cooking equipment includes adjusting the corresponding operating parameters through a PID controller to suppress the state deviation index. The input of the PID controller includes a state deviation index of the progress value at any given time, and the output is the adjustment amount of the operating parameters at the corresponding time. At any given time, the operating parameters are adjusted by the adjustment amount of the operating parameters.
9. The method for analyzing and controlling the operation data of an intelligent cooking device as described in claim 8, characterized in that: The method for determining whether the cooking state regression conditions are met is as follows: If the absolute value of the state deviation of at least N consecutive progress values is less than the state deviation threshold, and the trend evolution variable of the at least N consecutive progress values is less than 0, then the cooking state regression condition is satisfied; N is a positive integer.