Steam oven temperature control methods, devices, equipment, storage media, and programs.

By dynamically determining the switching temperature threshold and executing the synchronous operation based on the thermal characteristic parameters of the heating mode, the problem of temperature instability in the switching phase of the steam oven is solved, achieving smooth temperature control and improving heating efficiency and food cooking effect.

CN123114149APending Publication Date: 2026-11-17GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611631150.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-21
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing steam ovens often fail to switch accurately from the open-loop heating stage to the closed-loop temperature maintenance stage, resulting in drastic temperature fluctuations, low heating efficiency, and negatively impacting food cooking results.

Method used

The switching temperature threshold is dynamically determined based on the thermal characteristic parameters of the heating mode, and the initial duty cycle is calculated through a linear function model at the switching time. Preset state synchronization operations are performed, including assigning the initial duty cycle to the output of the PID controller, synchronizing the integral term and clearing the derivative term, so as to achieve a smooth transition from open-loop heating to closed-loop temperature maintenance.

Benefits of technology

It effectively eliminates sudden output changes during switching, achieves a smooth temperature transition, and improves heating efficiency and cooking results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123114149A_ABST
    Figure CN123114149A_ABST
Patent Text Reader

Abstract

This application relates to a method, apparatus, device, storage medium, and program product for temperature control of a steam oven, including: acquiring the current temperature, target temperature, and heating mode of the oven cavity; determining a switching temperature threshold according to the thermal characteristic parameters of the heating mode; switching from open-loop heating control to closed-loop PID control when the current temperature reaches the switching temperature threshold; calculating the initial duty cycle according to a linear function model based on the current temperature, target temperature, and mode characteristic weight coefficients corresponding to the heating mode at the switching moment; assigning the initial duty cycle to the output of the PID controller, synchronizing the integral term to a matching level, and clearing the derivative term; correcting the initial duty cycle according to the temperature deviation under closed-loop PID control, and outputting a PWM signal to drive the heating element. Using the above-mentioned steam oven temperature control method, the switching timing and initial output are matched with the thermal characteristics of the heating mode, effectively eliminating sudden output changes at the moment of switching and achieving a smooth transition from heating to maintaining the current temperature.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of kitchen appliance technology, and in particular to a method, apparatus, equipment, storage medium, and program product for controlling the temperature of a steam oven. Background Technology

[0002] As a kitchen appliance integrating steaming, baking, and frying functions, the cooking effect of a steam oven largely depends on the accuracy and stability of its cavity temperature control. In related technologies, the heating process of a steam oven is typically divided into a heating phase and a temperature maintenance phase. During the heating phase, when the cavity temperature differs significantly from the target temperature, the control system drives the heating element at full power in an open-loop manner, causing the cavity temperature to rise rapidly. During the temperature maintenance phase, when the cavity temperature approaches the target temperature, the control system switches to closed-loop proportional-integral-derivative (PID) control. Based on the deviation between the cavity temperature and the target temperature, it adjusts the output power of the heating element through the duty cycle of the pulse width modulation (PWM) signal to maintain the cavity temperature near the target temperature.

[0003] When switching from the heating phase to the temperature maintenance phase, existing steam ovens typically use a fixed temperature threshold as the switching point. At the moment of switching, the output of the PID controller is usually reset to zero, or the initial output of the PID controller is set based on a fixed offset.

[0004] However, using a fixed temperature threshold as the switching point cannot adapt to the differences in thermal inertia between different heating modes, which can easily lead to inaccurate switching timing. For example, premature intervention in closed-loop control will reduce heating efficiency, while premature intervention can easily cause temperature overshoot. Furthermore, the output power during open-loop full-speed heating is much higher than the power required to maintain the target temperature. Resetting the output to zero or setting the initial value to a fixed offset at the moment of switching will cause the power of the heating element to drop sharply and cause a sudden drop in furnace temperature, or the initial value may be set too high, resulting in temperature overshoot.

[0005] The discontinuity in the output mentioned above will cause violent temperature fluctuations and response lag, which not only prolongs the time to reach steady state, but also affects the cooking effect of food. Summary of the Invention

[0006] Therefore, it is necessary to provide a steam oven temperature control method, device, equipment, storage medium, and program product that can adapt to the differences in thermal inertia under different operating conditions, ensure the intervention of closed-loop control at the optimal time, and effectively improve the accuracy of stage switching timing, in order to address the above-mentioned technical problems.

[0007] In a first aspect, this application provides a method for controlling the temperature of a steam oven, including:

[0008] Obtain the target temperature, heating mode, and current temperature of the oven cavity of the steam oven;

[0009] Based on the thermal characteristic parameters corresponding to the heating mode, the switching temperature threshold corresponding to the heating mode is determined; where, at the same target temperature, the switching temperature thresholds corresponding to different heating modes are different.

[0010] When the current temperature is greater than or equal to the switching temperature threshold, the control mode of the heating element of the steam oven is switched from open-loop heating control mode to closed-loop PID control mode.

[0011] When switching to closed-loop PID control mode, the initial duty cycle of closed-loop PID control mode is calculated according to the current temperature, target temperature and mode feature weight coefficient corresponding to the heating mode, based on the linear function model; where the linear function model is a function model composed of the linear superposition of deviation compensation term, mode compensation term and preset offset.

[0012] Perform a preset state synchronization operation based on the initial duty cycle; wherein, the preset state synchronization operation includes assigning the initial duty cycle to the output of the PID controller executing the closed-loop PID control mode, synchronizing the integral term of the PID controller with the initial duty cycle, and clearing the derivative term of the PID controller to zero.

[0013] Under closed-loop PID control, the initial duty cycle is corrected based on the deviation between the target temperature and the current temperature, and a PWM signal is output based on the corrected duty cycle to drive the heating element, so as to maintain the temperature of the furnace cavity at the target temperature.

[0014] In one embodiment, determining the switching temperature threshold corresponding to the heating mode based on the thermal characteristic parameters corresponding to the heating mode includes:

[0015] Obtain the heat capacity coefficient and heat dissipation rate coefficient corresponding to the heating mode;

[0016] The temperature margin corresponding to the heating mode is determined based on the heat capacity coefficient and the heat dissipation rate coefficient.

[0017] Determine the switching temperature threshold based on the target temperature and temperature margin.

[0018] In one embodiment, determining the temperature margin corresponding to the heating mode based on the heat capacity coefficient and the heat dissipation rate coefficient includes:

[0019] When the heat capacity coefficient is greater than the first preset coefficient threshold and the heat dissipation rate coefficient is less than the second preset threshold, the temperature margin is determined as the first temperature margin.

[0020] When the heat capacity coefficient is less than the first preset coefficient threshold and the heat dissipation rate coefficient is greater than the second preset coefficient threshold, the temperature margin is determined as the second temperature margin; wherein, the first temperature margin is less than the second temperature margin.

[0021] In one embodiment, the initial duty cycle of the closed-loop PID control mode is calculated according to a linear function model based on the current temperature, the target temperature, and the mode feature weighting coefficient corresponding to the heating mode, including:

[0022] The temperature deviation between the target temperature and the current temperature is proportionally calculated using the first proportional gain coefficient to obtain the deviation compensation term.

[0023] Obtain the mode feature weight coefficients corresponding to the heating mode, and determine the mode compensation term based on the mode feature weight coefficients;

[0024] The initial duty cycle is obtained by linearly superimposing the deviation compensation term, the mode compensation term, and the preset offset.

[0025] In one embodiment, synchronizing the integral term of the PID controller with the initial duty cycle includes:

[0026] Obtain the proportional and derivative outputs of the PID controller at the moment it switches to closed-loop PID control mode;

[0027] Based on the initial duty cycle, proportional term output, and derivative term output, determine the synchronization value of the integral term, and adjust the integral term of the PID controller to the synchronization value.

[0028] In one embodiment, the method further includes:

[0029] Obtain the rate of temperature change in the furnace cavity;

[0030] If the rate of temperature change is greater than a preset rate of change threshold, reduce the initial duty cycle;

[0031] If the rate of temperature change is less than the preset rate of change threshold, increase the initial duty cycle.

[0032] In one embodiment, the method further includes:

[0033] Obtain the ambient temperature of the steam oven;

[0034] The initial duty cycle is compensated and corrected based on the ambient temperature.

[0035] Secondly, this application also provides a temperature control device for a steam oven, comprising:

[0036] The parameter acquisition module is used to acquire the target temperature, heating mode, and current temperature of the oven cavity of the steam oven.

[0037] The threshold determination module is used to determine the switching temperature threshold corresponding to the heating mode based on the thermal characteristic parameters corresponding to the heating mode; wherein, at the same target temperature, the switching temperature thresholds corresponding to different heating modes are different.

[0038] The switching module is used to switch the control mode of the heating element of the steam oven from open-loop heating control mode to closed-loop PID control mode when the current temperature is greater than or equal to the switching temperature threshold.

[0039] The duty cycle calculation module is used to calculate the initial duty cycle of the closed-loop PID control mode according to the current temperature, target temperature, and mode feature weight coefficient corresponding to the heating mode, based on a linear function model when switching to closed-loop PID control mode; wherein, the linear function model is a function model composed of the linear superposition of deviation compensation term, mode compensation term, and preset offset.

[0040] The state synchronization module is used to perform a preset state synchronization operation based on the initial duty cycle. The preset state synchronization operation includes assigning the initial duty cycle to the output of the PID controller that performs closed-loop PID control, synchronizing the integral term of the PID controller with the initial duty cycle, and clearing the derivative term of the PID controller to zero.

[0041] The control output module is used to correct the initial duty cycle based on the deviation between the target temperature and the current temperature under closed-loop PID control, and output a PWM signal to drive the heating element based on the corrected duty cycle, so as to maintain the temperature of the furnace cavity at the target temperature.

[0042] Thirdly, this application also provides a steam oven device, which includes an oven cavity, a heating element disposed in the oven cavity, a temperature sensor for detecting the current temperature of the oven cavity, a mode selection component for selecting a heating mode, and a controller.

[0043] The controller is connected to the temperature sensor, the mode selection component, and the heating element respectively, and is used to execute the steam oven temperature control method as described in the first aspect.

[0044] Fourthly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the steam oven temperature control method of the first aspect.

[0045] Fifthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the steam oven temperature control method of the first aspect.

[0046] Sixthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the steam oven temperature control method of the first aspect.

[0047] In summary, this application proposes a method, apparatus, device, storage medium, and program product for controlling the temperature of a steam oven, including: acquiring the current temperature, target temperature, and heating mode of the oven cavity; determining a switching temperature threshold based on the thermal characteristic parameters of the heating mode; switching from open-loop heating control to closed-loop PID control when the current temperature reaches the switching temperature threshold; calculating the initial duty cycle according to a linear function model based on the current temperature, target temperature, and the mode characteristic weighting coefficient corresponding to the heating mode at the switching moment; assigning the initial duty cycle to the output of the PID controller, synchronizing the integral term to a matching level, and clearing the derivative term; correcting the initial duty cycle according to the temperature deviation under closed-loop PID control, and outputting a PWM signal to drive the heating element. Using the above-mentioned steam oven temperature control method, the switching timing and initial output are matched with the thermal characteristics of the heating mode, effectively eliminating sudden output changes at the moment of switching and achieving a smooth transition from heating to maintaining the current temperature. Attached Figure Description

[0048] Figure 1 This is an application environment diagram of the steam oven temperature control method in one embodiment;

[0049] Figure 2 This is a flowchart illustrating a method for controlling the temperature of a steam oven in one embodiment;

[0050] Figure 3 This is a flowchart illustrating the step of determining the switching temperature threshold in one embodiment;

[0051] Figure 4 This is a flowchart illustrating the steps for calculating the initial duty cycle in one embodiment;

[0052] Figure 5 This is a flowchart illustrating the integration term synchronization step in one embodiment;

[0053] Figure 6 This is a flowchart illustrating the steps for correcting the initial duty cycle based on the rate of temperature change in one embodiment.

[0054] Figure 7 This is a flowchart illustrating the steps for compensating and correcting the initial duty cycle based on ambient temperature in one embodiment.

[0055] Figure 8 This is a structural block diagram of the temperature control device for a steam oven in one embodiment;

[0056] Figure 9 This is an internal structural diagram of a computer device in one embodiment.

[0057] Summary of attached image labels:

[0058] Heating element-110; Temperature sensor-120; Mode selection unit-130; Controller-140. Detailed Implementation

[0059] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0060] It should be noted that the terms "first," "second," etc., used in this application are only used to distinguish similar objects and are not used to limit order or importance. "Multiple" in this application refers to two or more. The "connection" in this application can be a direct connection or an indirect connection achieved through intermediate components.

[0061] In related technologies, steam ovens are prone to sudden temperature drops, temperature overshoots, or violent temperature fluctuations when switching from the open-loop heating stage to the closed-loop temperature maintenance stage. The causes include at least the following three aspects: First, the heat capacity and heat dissipation characteristics of the oven cavity vary significantly between different heating modes. In air fry mode, airflow disturbances are large, heat loss is rapid, and temperature fluctuations are sensitive. In bottom heating mode, heat accumulation is slow, and thermal inertia is high. Using a fixed temperature threshold as the switching point cannot accommodate this difference in thermal inertia, leading to inaccurate switching timing. Second, the output power during open-loop full-speed heating is much higher than the power required to maintain the target temperature. Resetting the PID controller output to zero will cause a sudden and significant drop in the heating element power, resulting in a sudden drop in oven cavity temperature. Setting the initial output based on a fixed offset will cause temperature overshoot due to the mismatch between the initial value and the actual heat balance requirements. Third, resetting the integral term of the PID controller to zero can easily lead to integral saturation. The discontinuity in the rate of temperature change at the switching moment will cause differential shocks. The combination of these two factors further exacerbates the discontinuity of the output, prolonging the time to reach steady state and affecting the cooking effect of the food.

[0062] To address the aforementioned issues, this application provides a method for controlling the temperature of a steam oven. This method abandons fixed switching temperature thresholds and dynamically determines the threshold based on the thermal characteristic parameters of the current heating mode, ensuring that the intervention timing of the closed-loop PID control matches the thermal inertia of the heating mode. At the switching moment, the initial duty cycle of the closed-loop PID control is calculated using a linear function model based on the current temperature, target temperature, and the mode characteristic weighting coefficients corresponding to the heating mode, ensuring that the initial output matches the current thermal balance requirement. Furthermore, a preset state synchronization operation is performed based on the initial duty cycle. This means that not only is the initial duty cycle assigned to the PID controller's output, but the integral term is also synchronized with the initial duty cycle, and the derivative term is cleared to zero. This achieves implicit alignment between the internal state variables of the PID controller and the actual physical process state, thereby completing a seamless transition from open-loop heating control to closed-loop temperature maintenance control.

[0063] In one embodiment, such as Figure 1 As shown, a steam oven is provided, including an oven cavity, a heating element 110, a temperature sensor 120, a mode selection component 130, and a controller 140. The oven cavity is used to hold food to be cooked. The heating element 110 is disposed in the oven cavity and is used to heat the oven cavity under the drive of the controller 140. The temperature sensor 120 is disposed in the oven cavity and is used to detect the current temperature of the oven cavity. The mode selection component 130 is used to allow the user to select a heating mode and sends the mode information corresponding to the selected heating mode to the controller 140. The controller 140 is connected to the temperature sensor 120, the mode selection component 130, and the heating element 110, respectively, and is used to execute the steam oven temperature control method of the embodiments of this application.

[0064] In this embodiment, the steam oven also includes an ambient temperature sensor connected to the controller 140 to detect the ambient temperature of the steam oven. In this embodiment, the controller 140 is connected to the heating element 110 via a power drive circuit to control the output power of the heating element 110 according to the duty cycle of the PWM signal. By integrating the controller 140, temperature sensor 120, mode selection component 130, and heating element 110 into a single unit, temperature acquisition, mode selection, control quantity calculation, and power output are completed in a closed loop within the same device.

[0065] It should be noted that the execution subject in this application embodiment is the controller 140. The controller 140 can be implemented by an embedded control chip, a microcontroller, a digital signal processor, a programmable logic controller, or an application-specific integrated circuit. This application does not limit this.

[0066] In one embodiment, such as Figure 2 As shown, a method for controlling the temperature of a steam oven is provided, which can be applied to... Figure 1Taking controller 140 as an example, the explanation includes the following steps S201-S206:

[0067] S201, obtain the target temperature, heating mode, and current temperature of the oven cavity of the steam oven.

[0068] In this embodiment, the target temperature refers to the cooking temperature that the user sets through the settings interface of the steam oven, and the temperature they expect the oven cavity to maintain. It should be noted that the actual value of the target temperature can be determined based on the user's actual needs when using the steam oven in a real-world application scenario.

[0069] In this embodiment, the heating mode refers to the current heating method of the oven cavity. Different heating methods result in different heat capacity and heat dissipation characteristics of the cavity. For example, heating modes include air fry mode, hot air grilling mode, bottom heating mode, and other heating modes. The heat capacity and heat dissipation characteristics of the cavity differ under these three modes. It should be noted that the actual type of heating mode can be determined based on the type of oven and the specific application scenario.

[0070] In this embodiment, the current temperature of the oven cavity refers to the temperature inside the oven cavity detected in real time by the temperature sensor.

[0071] In this embodiment, the controller can determine the target temperature and heating mode through the mode selection information and target temperature selection information returned by the mode selection component, and collect the current temperature through a temperature sensor installed inside the furnace cavity or on the furnace cavity wall. It should be noted that the methods for collecting the target temperature, heating mode, and current furnace cavity temperature can be configured according to the needs of the actual application scenario.

[0072] S202, determine the switching temperature threshold corresponding to the heating mode based on the thermal characteristic parameters corresponding to the heating mode.

[0073] In this embodiment, thermal characteristic parameters refer to parameters that reflect the thermal characteristics of the furnace cavity under the heating mode. Specifically, thermal characteristic parameters may include the heat capacity coefficient and the heat dissipation rate coefficient. The heat capacity coefficient is used to characterize the furnace cavity's ability to store heat under the heating mode, and the heat dissipation rate coefficient is used to characterize the rate at which the furnace cavity dissipates heat to the outside under the heating mode.

[0074] In this embodiment, the switching temperature threshold refers to the critical temperature at which the open-loop heating control switches to closed-loop PID control. Specifically, at the same target temperature, different heating modes correspond to different switching temperature thresholds. For example, the switching temperature threshold for the bottom heating mode, which has high thermal inertia and slow heat dissipation, is higher than that for the air blast heating mode, which has low thermal inertia and fast heat dissipation. In practical applications, the bottom heating mode, due to its slow heat accumulation, requires fine control to intervene only when the current temperature is closer to the target temperature. Therefore, setting a larger switching temperature threshold can avoid premature intervention in the open-loop heating method, which would reduce heating efficiency. On the other hand, the air blast mode, due to airflow disturbances causing extremely rapid heat loss and sensitive temperature fluctuations, requires early intervention in PID control to prevent overshoot. Therefore, setting a smaller switching temperature threshold ensures that closed-loop control is established before the temperature deviates significantly from the target.

[0075] S203, when the current temperature is greater than or equal to the switching temperature threshold, the control mode of the heating element of the steam oven is switched from open-loop heating control mode to closed-loop PID control mode.

[0076] In this embodiment, the open-loop heating control method refers to a control method in which the controller drives the heating element with a fixed duty cycle and does not adjust the temperature based on the actual temperature of the furnace cavity.

[0077] Closed-loop PID control refers to a control method in which the controller calculates the output based on the deviation between the target temperature and the current temperature using proportional, integral, and derivative operations, and then adjusts the output power of the heating element by controlling the duty cycle of the PWM signal.

[0078] In this embodiment, the control logic for switching the heating element control mode can be adapted to the type of steam oven equipment in the actual application scenario, and is not limited here.

[0079] Based on the above steps, the steam oven temperature control method provided in this embodiment determines the switching temperature threshold corresponding to the heating mode according to the thermal characteristic parameters corresponding to the heating mode. Different heating modes correspond to different switching temperature thresholds at the same target temperature, so that the intervention timing of the closed-loop PID control mode changes with the difference in thermal inertia of the heating modes. Heating modes with large thermal inertia and slow heat dissipation only intervene when the current temperature is quite close to the target temperature, while heating modes with small thermal inertia and fast heat dissipation intervene earlier, thereby intervening in closed-loop control at the optimal time, taking into account both heating efficiency and prevention of temperature overshoot.

[0080] S204, when switching to closed-loop PID control mode, calculate the initial duty cycle of closed-loop PID control mode according to the current temperature, target temperature and mode feature weight coefficient corresponding to the heating mode, based on the linear function model.

[0081] In this embodiment, the mode feature weighting coefficient refers to the weighting coefficient corresponding to the heating mode, which is used to compensate for the inherent differences in power consumption and thermal inertia of different heating modes.

[0082] The initial duty cycle refers to the PWM duty cycle calculated according to the linear function model at the moment of switching to closed-loop PID control, which is used to directly assign the value to the output of the PID controller. Its physical meaning is the power level required to maintain the current thermal equilibrium state.

[0083] Based on the above steps, the steam oven temperature control method provided in this embodiment calculates the initial duty cycle according to the current temperature, target temperature and mode feature weighting coefficient at the switching moment using a linear function model. This allows the PID controller to have a power output reference that matches the current thermal balance requirements at the moment of connection, without having to accumulate from zero. This eliminates the power surge at the moment of switching, avoids the sudden drop in oven temperature caused by zeroing the output, and avoids the temperature overshoot caused by setting a fixed offset.

[0084] S205, perform a preset state synchronization operation based on the initial duty cycle; wherein, the preset state synchronization operation includes assigning the initial duty cycle to the output of the PID controller executing the closed-loop PID control mode, synchronizing the integral term of the PID controller with the initial duty cycle, and clearing the derivative term of the PID controller to zero.

[0085] In this embodiment, the preset state synchronization operation refers to a set of operations performed at the switching moment to make the internal state of the PID controller consistent with the actual physical process state. It includes the processing of the output, integral term and derivative term of the PID controller.

[0086] Specifically, the state synchronization operation of the PID controller output is to assign the initial duty cycle to the output of the PID controller executing the closed-loop PID control mode. That is, the initial duty cycle is directly used as the output variable value of the PID controller at the switching moment, instead of letting it accumulate from zero.

[0087] The state synchronization operation of the integral term of the PID controller is to synchronize the integral term of the PID controller with the initial duty cycle. That is, instead of clearing and resetting the integral term, the historical accumulated value of the integral term is adjusted to a level that matches the initial duty cycle, so that the total output of the PID controller is equivalent to the initial duty cycle.

[0088] The state synchronization operation of the derivative term of the PID controller is to clear the derivative term of the PID controller to zero, that is, to force the derivative term to zero, so as to avoid the derivative shock caused by the discontinuity of the rate of temperature change at the switching moment.

[0089] S206, under closed-loop PID control, corrects the initial duty cycle based on the deviation between the target temperature and the current temperature, and outputs a PWM signal to drive the heating element based on the corrected duty cycle, so as to maintain the temperature of the furnace cavity at the target temperature.

[0090] In this embodiment, the controller drives the heating element in an open-loop heating control mode during the heating phase and continuously reads the output of the temperature sensor to obtain the current temperature. When the current temperature is greater than or equal to the switching temperature threshold, the controller determines that the furnace cavity has entered the temperature maintenance phase and switches the control mode of the heating element from the open-loop heating control mode to the closed-loop PID control mode.

[0091] At the switching moment, the controller calculates the initial duty cycle according to a linear function model and performs preset state synchronization operation based on the initial duty cycle, so that the PID controller outputs power equivalent to the heat balance requirement at that moment the instant it enters closed-loop control. Subsequently, the controller corrects the initial duty cycle in closed-loop PID control mode based on the deviation between the target temperature and the current temperature, and outputs a PWM signal to drive the heating element according to the corrected duty cycle, so that the temperature of the furnace cavity smoothly approaches and is maintained near the target temperature.

[0092] Based on the above steps, since the initial duty cycle is not only assigned to the output of the PID controller during the preset state synchronization operation, but also the integral term is synchronized with the initial duty cycle and the derivative term is cleared to zero, the integral accumulation level inside the PID controller and the initial state of the derivative channel are aligned with the actual physical process state at the switching moment. This avoids integral saturation caused by clearing and resetting the integral term and the derivative shock caused by the discontinuity of the temperature change rate at the switching moment. Compared with related technologies that use a fixed temperature threshold as the switching point and clear the output of the PID controller to zero at the moment of switching or set the initial output based on a fixed offset, the steam oven temperature control method provided in this embodiment matches the switching timing, initial output, and internal state with the thermal characteristics of the heating mode, achieving a smooth transition from open-loop heating to closed-loop temperature maintenance control.

[0093] In one embodiment, the step of obtaining the heating mode in S201 above includes: receiving a mode selection instruction acting on the steam oven; and determining the current heating mode of the oven cavity as an air fry mode, a hot air grill mode, or a bottom heating mode according to the mode selection instruction.

[0094] In this embodiment, the mode selection command refers to the command triggered by the user through the mode selection component, which can be a mode knob, a touch button, or the interactive interface of the display screen.

[0095] Specifically, different heating modes correspond to different thermal characteristic parameters. For example, in air frying mode, airflow turbulence is large and heat loss is rapid. In hot air grilling mode, hot air circulation makes the temperature distribution relatively uniform. In bottom heating mode, heat accumulates slowly from bottom to top and has high thermal inertia. In practical applications, the calculation of switching temperature thresholds and initial duty cycles is adapted to the thermal characteristics of various heating modes, improving the applicability and controllability of the solution in different cooking scenarios.

[0096] In this embodiment, after receiving the mode selection instruction, the controller can also cache the determined heating mode in the form of an identifier along with the target temperature, so that the mode feature weight coefficient can be directly queried using the identifier at the switching time.

[0097] In one embodiment, such as Figure 3 As shown, in step S202 above, the switching temperature threshold corresponding to the heating mode is determined based on the thermal characteristic parameters corresponding to the heating mode, including the following steps S301 to S303.

[0098] S301, obtain the heat capacity coefficient and heat dissipation rate coefficient corresponding to the heating mode.

[0099] S302, determine the temperature margin corresponding to the heating mode based on the heat capacity coefficient and the heat dissipation rate coefficient.

[0100] S303 determines the switching temperature threshold based on the target temperature and temperature margin.

[0101] In this embodiment, the controller pre-stores the heat capacity coefficient and heat dissipation rate coefficient corresponding to different heating modes. The heat capacity coefficient characterizes the ability of the furnace cavity and its internal medium to store heat under that heating mode. The heat dissipation rate coefficient characterizes the rate at which heat is dissipated to the outside under that heating mode.

[0102] In this embodiment, the temperature margin refers to the difference between the target temperature and the switching temperature threshold. Therefore, after determining the temperature margin, the switching temperature threshold can be obtained by subtracting the temperature margin from the target temperature. The temperature margin is determined by the heat capacity coefficient and heat dissipation rate coefficient corresponding to the heating mode. This allows for simultaneous consideration of the heat storage rate during the heating phase and the heat loss rate during the temperature maintenance phase, thereby enabling a more accurate calculation of the switching temperature threshold.

[0103] In this embodiment, the temperature margin can be determined by the heat capacity coefficient and the heat dissipation rate coefficient using a preset thermal response function. Specifically, the formula for calculating the temperature margin is:

[0104]

[0105] in, Heating mode The corresponding temperature margin, The coefficient of heat capacity, This is the heat dissipation rate coefficient. This is the preset thermal response function.

[0106] In one example, with a target temperature of 180 degrees Celsius, the temperature margin for the air fry mode can be 8 degrees Celsius, the temperature margin for the hot air grill mode can be 5 degrees Celsius, and the temperature margin for the bottom heating mode can be 3 degrees Celsius. In this embodiment, the heat capacity coefficient, the heat dissipation rate coefficient, and the target temperature can all be read from the controller's memory.

[0107] Based on the above steps, a method for determining the switching temperature threshold is provided. This method determines the temperature margin by using the heat capacity coefficient and heat dissipation rate coefficient of the heating mode, and then determines the switching temperature threshold by using the target temperature and the temperature margin. This ensures that the temperature at the switching moment is jointly determined by the heat storage capacity and heat dissipation rate of the heating mode, rather than taking a fixed value. This avoids premature intervention and reduced heating efficiency in heating modes with high thermal inertia and slow heat dissipation, and prevents overshoot by intervening early in heating modes with low thermal inertia and fast heat dissipation. Compared to related technologies that use a fixed temperature threshold, this embodiment uses coefficients with clear physical meaning as inputs, making the direction of change of the switching temperature threshold predictable and calibrable.

[0108] In one embodiment, determining the temperature margin corresponding to the heating mode based on the heat capacity coefficient and the heat dissipation rate coefficient in S302 includes: determining the temperature margin as a first temperature margin when the heat capacity coefficient is greater than a first preset coefficient threshold and the heat dissipation rate coefficient is less than a second preset coefficient threshold; and determining the temperature margin as a second temperature margin when the heat capacity coefficient is less than the first preset coefficient threshold and the heat dissipation rate coefficient is greater than the second preset coefficient threshold; wherein the first temperature margin is less than the second temperature margin.

[0109] In this embodiment, the first preset coefficient threshold and the second preset coefficient threshold refer to the judgment thresholds used to distinguish between two types of working conditions: large thermal inertia and slow heat dissipation of the furnace cavity and small thermal inertia and fast heat dissipation.

[0110] A heat capacity coefficient greater than a first preset threshold and a heat dissipation rate coefficient less than a second preset threshold correspond to a heating mode with high thermal inertia and slow heat dissipation, such as a bottom heating mode. In a heating mode with high thermal inertia and slow heat dissipation, because heat accumulates slowly, the system allows the current temperature to be closer to the target temperature before engaging fine control. At this time, the temperature margin is set to the smaller first temperature margin, and the switching temperature threshold is set to be slightly lower than the target temperature.

[0111] A heat capacity coefficient less than the first preset threshold and a heat dissipation rate coefficient greater than the second preset threshold correspond to a heating mode with low thermal inertia and rapid heat dissipation, such as an air blast mode. In a heating mode with low thermal inertia and rapid heat dissipation, heat loss is extremely rapid due to airflow disturbances and temperature fluctuations are sensitive. The system needs to intervene in closed-loop PID control in advance to prevent overshoot. At this time, a larger second temperature margin is taken, and the switching temperature threshold is significantly lower than the target temperature.

[0112] In this embodiment, the heating mode with thermal characteristics between the two types mentioned above, such as the hot air grilling mode, can have a temperature margin that is the intermediate value between the first temperature margin and the second temperature margin. In this embodiment, the specific values ​​of each threshold and each temperature margin can be determined by product design and experimental calibration, and this application does not limit them.

[0113] Based on the above steps, this embodiment provides a method for determining temperature margin. By determining the range of heat capacity coefficient and heat dissipation rate coefficient, the thermal inertia characteristics of the heating mode are quantified into comparable temperature margins. Modes with high thermal inertia are assigned smaller temperature margins, and modes with low thermal inertia are assigned larger temperature margins. This ensures that the direction of change in the switching temperature threshold is consistent with the actual thermal behavior of the furnace cavity, thus ensuring that the appropriate intervention point is reached for both types of significantly different heating modes, avoiding the use of a single threshold to account for two opposing thermal behaviors. Compared to the approach of setting thresholds separately according to the name of the heating mode without a unified judgment basis, this embodiment uses range relationships as the criterion, making the correspondence between the mode and the temperature margin supported by experimental data.

[0114] In one embodiment, such as Figure 4 As shown, in step S204 above, the initial duty cycle of the closed-loop PID control mode is calculated according to the current temperature, the target temperature, and the mode feature weight coefficient corresponding to the heating mode, and the linear function model, including the following steps S401 to S403.

[0115] S401, use the first proportional gain coefficient to perform a proportional calculation on the temperature deviation between the target temperature and the current temperature to obtain the deviation compensation term.

[0116] S402, obtain the mode feature weight coefficients corresponding to the heating mode, and determine the mode compensation term based on the mode feature weight coefficients.

[0117] S403, linearly superimpose the deviation compensation term, the mode compensation term, and the preset offset to obtain the initial duty cycle.

[0118] In this embodiment, the first proportional gain coefficient reflects the system's sensitivity to the difference between the current temperature and the target temperature, determining how much additional reference power is needed for each degree Celsius difference. If the current temperature is significantly lower than the target temperature, the deviation compensation term contributes more, providing higher base power to maintain the trend of rapidly approaching the target temperature. As the current temperature approaches the target temperature, the contribution of the deviation compensation term decreases, preventing excessive power from causing momentary overshoot.

[0119] The mode feature weighting coefficient is used to compensate for the inherent power consumption and thermal inertia differences under different heating modes, and is determined by the current heating mode.

[0120] The preset offset represents the minimum reference power required for the system to maintain basic functionality under ideal conditions, and is used to eliminate zero drift caused by hardware nonlinearity. The linear function model refers to a function model whose main components are the linear operational terms of temperature deviation and mode feature weighting coefficients, plus the preset offset.

[0121] In this embodiment, the linear function model is a function model composed of the linear superposition of a deviation compensation term, a mode compensation term, and a preset offset. The initial duty cycle can be calculated according to the following linear function model:

[0122]

[0123] in, Indicates the target temperature. This indicates the current temperature at the time of switching. Indicates the initial duty cycle. This represents the first proportional gain coefficient. The feature weight coefficients represent the pattern features. Characteristic quantities representing heating modes This indicates the preset offset. The deviation compensation item is... The mode compensation item is... Both and the preset offset The initial duty cycle is obtained by linear superposition. .

[0124] In this embodiment, the specific values ​​of the first proportional gain coefficient, the mode feature weight coefficient, and the preset offset can be determined by product design and experimental calibration. The specific expression form of the heating mode feature quantity is not limited, as long as the linear function model includes the linear term for compensating for temperature deviation, the linear term for compensating for mode, and the superposition of the offset.

[0125] Based on the above steps, this embodiment obtains the deviation compensation term by proportionally calculating the temperature deviation using a first proportional gain coefficient, determines the mode compensation term using a mode feature weight coefficient, and linearly superimposes the two with a preset offset. This allows the initial duty cycle to simultaneously carry two pieces of information: the degree to which the current temperature approaches the target and the inherent power consumption level of the heating mode. Thus, at the moment of switching, the heating element is driven with power equivalent to the current thermal balance requirement, so that the PID controller only needs to handle minor dynamic disturbances after being connected. Compared to clearing the PID controller output to zero at the moment of switching or setting the initial output based on a fixed offset, this embodiment avoids sudden temperature drops and temperature overshoots caused by mismatch between the initial value and the actual thermal balance requirement.

[0126] In one embodiment, in step S205 above, the initial duty cycle is assigned to the output of the PID controller performing closed-loop PID control, which is the value calculated in step S403 above. Directly copied to the output variable of the PID controller This ensures that the controller has a reasonable power output reference immediately upon connection.

[0127] In one embodiment, such as Figure 5 As shown, in step S205 above, synchronizing the integral term of the PID controller with the initial duty cycle includes the following steps S501 to S502.

[0128] S501, obtain the proportional term output and derivative term output of the PID controller when it switches to closed-loop PID control mode.

[0129] S502 determines the synchronization value of the integral term based on the initial duty cycle, proportional term output, and derivative term output, and adjusts the integral term of the PID controller to the synchronization value.

[0130] In this embodiment, the total output of the PID controller is obtained by superimposing the proportional term output, integral term output, and derivative term output. The synchronization value of the integral term refers to the value that the integral term should take to make the total output of the PID controller equal to the initial duty cycle. For example, if the proportional term output at the switching moment is... The output of the differential term is The initial duty cycle is Then the synchronization value of the integral term can be determined as .

[0131] In this embodiment, the proportional term output and the derivative term output can be read by the controller from the calculation result of the PID controller at the switching moment. In this embodiment, after the integral term is adjusted to the synchronization value, its subsequent accumulation continues in the original manner without additional restrictions.

[0132] Based on the above steps, by using the proportional and derivative outputs at the switching moment as known quantities, and by back-calculating the synchronization value of the integral term from the initial duty cycle and adjusting it to that value, the integral accumulation within the PID controller is made commensurate with the actual required output level at the instant of switching. This ensures that the initial duty cycle is output immediately upon connection, while avoiding integral saturation caused by accumulating from zero. Compared to resetting the integral term to zero at the moment of switching, this embodiment aligns the internal states using algebraic relationships, eliminating the need for an additional transition phase.

[0133] In one embodiment, such as Figure 6 As shown, the steam oven temperature control method also includes the following steps S601 to S603.

[0134] S601, obtain the rate of temperature change in the furnace cavity.

[0135] S602, when the temperature change rate is greater than the preset change rate threshold, the initial duty cycle is reduced.

[0136] S603, when the temperature change rate is less than the preset change rate threshold, increases the initial duty cycle.

[0137] Specifically, the rate of temperature change refers to the amount of change in the current temperature per unit time. It can be determined by the controller continuously sampling the output of the temperature sensor and then using the temperature difference and time difference between adjacent sampling times. The preset rate of change threshold is a threshold used to distinguish between a heating rate that is too fast and too slow.

[0138] In this embodiment, if the temperature change rate is greater than the preset change rate threshold, it indicates that the heating rate is fast and the furnace cavity stores a lot of heat, which poses a risk of overshoot due to inertia. At this time, the initial duty cycle is reduced to offset this risk.

[0139] If the temperature change rate is less than the preset change rate threshold, it indicates that the heating rate is slow and the furnace cavity has little heat storage. In this case, the initial duty cycle should be increased to ensure sufficient heat input.

[0140] In this embodiment, the above correction is to introduce a feedforward correction amount related to the rate of temperature change into the initial duty cycle, so that the initial duty cycle is more closely aligned with the actual thermodynamic state at the switching moment.

[0141] In this embodiment, the controller can sample the output of the temperature sensor at a higher frequency during the heating phase to obtain a reliable rate of temperature change before the switching moment. In one example, the sampling period can be 100 milliseconds. It should be noted that the sampling period can be configured according to the needs of the actual application scenario. In this embodiment, the increase or decrease in the initial duty cycle can be related to the degree to which the rate of temperature change exceeds a preset rate of change threshold.

[0142] Based on the above steps, by reducing the initial duty cycle when the temperature change rate exceeds a preset threshold and increasing it when it is less than a threshold, the initial duty cycle reflects not only the temperature deviation and the inherent power consumption of the heating mode, but also the speed of the heating process, i.e., the amount of heat already accumulated in the oven cavity. This suppresses overshoot in situations with a fast heating rate and high heat accumulation, and replenishes heat in situations with a slow heating rate and low heat accumulation. This method is particularly suitable for high-power, rapid cooking scenarios. Combined with the aforementioned method of calculating the initial duty cycle by mode, it makes the output at the moment of switching closer to the actual thermodynamic state.

[0143] In one embodiment, such as Figure 7 As shown, the steam oven temperature control method also includes the following steps S701 to S702.

[0144] S701, obtain the ambient temperature of the steam oven.

[0145] S702 compensates and corrects the initial duty cycle based on the ambient temperature.

[0146] In this embodiment, ambient temperature refers to the temperature of the external environment in which the steam oven is located. It can be detected by an ambient temperature sensor installed in the steam oven, or it can be set by the user or obtained from an external device.

[0147] This embodiment compensates for the initial duty cycle based on the ambient temperature because the lower the ambient temperature, the faster the furnace cavity dissipates heat to the environment, and the higher the power required to maintain the same furnace cavity temperature. In practical applications, the initial duty cycle is appropriately increased when the ambient temperature is low and appropriately decreased when the ambient temperature is high, in order to reduce the impact of heat loss caused by the furnace cavity dissipating heat to the environment on temperature control.

[0148] In this embodiment, the compensation correction can be achieved by multiplying the difference between the ambient temperature and the reference ambient temperature by a preset temperature compensation coefficient. In one example, the reference ambient temperature can be 25 degrees Celsius. In this embodiment, the ambient temperature can be updated at a preset period to adapt to seasonal and kitchen temperature changes.

[0149] Based on the above steps, this embodiment obtains the ambient temperature and compensates for the initial duty cycle accordingly. This allows the initial duty cycle to further account for the difference in heat loss caused by the furnace cavity dissipating heat to the environment as the ambient temperature changes. Therefore, even when the ambient temperature deviates from the reference value, the output at the moment of switching can still match the actual heat dissipation load, suppressing temperature fluctuations during the switching process. This method, combined with calculating the initial duty cycle according to the heating mode and correcting the initial duty cycle according to the rate of temperature change, ensures that the initial duty cycle closely matches the actual thermodynamic state from three aspects: the inherent power consumption of the mode, the heating process, and external heat dissipation.

[0150] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0151] Based on the same inventive concept, this application also provides a steam oven temperature control device for implementing the steam oven temperature control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more embodiments of the steam oven temperature control device provided below can be found in the limitations of the steam oven temperature control method described above, and will not be repeated here.

[0152] In one embodiment, such as Figure 8 As shown, a temperature control device 800 for a steam oven is provided, including: a parameter acquisition module 810, a threshold determination module 820, a switching module 830, a duty cycle calculation module 840, a status synchronization module 850, and a control output module 860, wherein:

[0153] The parameter acquisition module 810 is used to acquire the target temperature, heating mode, and current temperature of the oven cavity of the steam oven.

[0154] The threshold determination module 820 is used to determine the switching temperature threshold corresponding to the heating mode based on the thermal characteristic parameters corresponding to the heating mode; wherein, at the same target temperature, the switching temperature thresholds corresponding to different heating modes are different.

[0155] The switching module 830 is used to switch the control mode of the heating element of the steam oven from open-loop heating control mode to closed-loop PID control mode when the current temperature is greater than or equal to the switching temperature threshold.

[0156] The duty cycle calculation module 840 is used to calculate the initial duty cycle of the closed-loop PID control mode according to the current temperature, target temperature and mode feature weight coefficient corresponding to the heating mode, based on a linear function model when switching to closed-loop PID control mode.

[0157] The state synchronization module 850 is used to perform a preset state synchronization operation based on the initial duty cycle; wherein, the preset state synchronization operation includes assigning the initial duty cycle to the output of the PID controller performing closed-loop PID control, synchronizing the integral term of the PID controller with the initial duty cycle, and clearing the derivative term of the PID controller to zero.

[0158] The control output module 860 is used to correct the initial duty cycle based on the deviation between the target temperature and the current temperature under closed-loop PID control, and output a PWM signal to drive the heating element based on the corrected duty cycle, so as to maintain the temperature of the furnace cavity at the target temperature.

[0159] In one embodiment, the threshold determination module 820 is further configured to obtain the heat capacity coefficient and heat dissipation rate coefficient corresponding to the heating mode; determine the temperature margin corresponding to the heating mode based on the heat capacity coefficient and heat dissipation rate coefficient; and determine the switching temperature threshold based on the target temperature and the temperature margin.

[0160] In one embodiment, the threshold determination module 820 is further configured to determine the temperature margin as the first temperature margin when the heat capacity coefficient is greater than the first preset coefficient threshold and the heat dissipation rate coefficient is less than the second preset threshold.

[0161] When the heat capacity coefficient is less than the first preset coefficient threshold and the heat dissipation rate coefficient is greater than the second preset coefficient threshold, the temperature margin is determined as the second temperature margin; wherein, the first temperature margin is less than the second temperature margin.

[0162] In one embodiment, the duty cycle calculation module 840 is further configured to perform a proportional calculation on the temperature deviation between the target temperature and the current temperature using a first proportional gain coefficient to obtain a deviation compensation term; obtain the mode feature weight coefficient corresponding to the heating mode, and determine the mode compensation term based on the mode feature weight coefficient; and linearly superimpose the deviation compensation term, the mode compensation term, and the preset offset to obtain the initial duty cycle.

[0163] In one embodiment, the state synchronization module 850 is further configured to acquire the proportional term output and the derivative term output of the PID controller at the moment when it switches to closed-loop PID control mode.

[0164] Based on the initial duty cycle, proportional term output, and derivative term output, determine the synchronization value of the integral term, and adjust the integral term of the PID controller to the synchronization value.

[0165] In one embodiment, the duty cycle calculation module 840 is also used to obtain the temperature change rate of the furnace cavity;

[0166] If the rate of temperature change is greater than a preset rate of change threshold, reduce the initial duty cycle;

[0167] If the rate of temperature change is less than the preset rate of change threshold, increase the initial duty cycle.

[0168] In one embodiment, the duty cycle calculation module 840 is also used to obtain the ambient temperature of the steam oven;

[0169] The initial duty cycle is compensated and corrected based on the ambient temperature.

[0170] In summary, this embodiment provides a temperature control device for a steam oven. Through the coordinated operation of the parameter acquisition module 810, threshold determination module 820, switching module 830, duty cycle calculation module 840, state synchronization module 850, and control output module 860, the timing of intervention of the closed-loop PID control mode changes with the thermal characteristics of the heating mode. The output at the moment of switching is based on the initial duty cycle calculated by the linear function model. The internal state of the PID controller is synchronized with the initial duty cycle, thereby eliminating the sudden output change, integral saturation, and differential impact at the moment of switching, and realizing a smooth transition from open-loop heating to closed-loop temperature maintenance control.

[0171] The various modules in the temperature control device of the steam oven described above can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0172] In one embodiment, a steam oven apparatus is also provided, which can be as follows: Figure 1 The steam oven shown includes an oven cavity, a heating element 110 disposed in the oven cavity, a temperature sensor 120 for detecting the current temperature of the oven cavity, a mode selection component 130 for selecting a heating mode, and a controller 140. The controller 140 is connected to the temperature sensor 120, the mode selection component 130, and the heating element 110 respectively, and is used to execute the steam oven temperature control method of any of the above embodiments.

[0173] In this embodiment, the steam oven also includes an ambient temperature sensor connected to the controller. The sensor detects the ambient temperature of the steam oven and uses this temperature to compensate and correct the initial duty cycle. In this embodiment, the controller is connected to the heating element via a power drive circuit to control the output power of the heating element according to the duty cycle of the PWM signal.

[0174] The aforementioned steam oven equipment, through its controller executing the aforementioned steam oven temperature control method, ensures that the intervention timing and initial output of the closed-loop PID control mode match the thermal characteristics of the heating mode. This eliminates the sudden output change when switching from open-loop heating control to closed-loop temperature maintenance control, achieving a smooth transition from heating to temperature maintenance, thus improving cooking results and user experience. The process of controlling the oven cavity temperature can be found in the above description of the steam oven temperature control method, and will not be repeated here.

[0175] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 9 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a method for controlling the temperature of a steam oven. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0176] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0177] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0178] Obtain the target temperature, heating mode, and current temperature of the oven cavity of the steam oven;

[0179] Based on the thermal characteristic parameters corresponding to the heating mode, the switching temperature threshold corresponding to the heating mode is determined; where, at the same target temperature, the switching temperature thresholds corresponding to different heating modes are different.

[0180] When the current temperature is greater than or equal to the switching temperature threshold, the control mode of the heating element of the steam oven is switched from open-loop heating control mode to closed-loop PID control mode.

[0181] When switching to closed-loop PID control mode, the initial duty cycle of closed-loop PID control mode is calculated according to the current temperature, target temperature and mode feature weight coefficient corresponding to the heating mode, based on the linear function model.

[0182] Perform a preset state synchronization operation based on the initial duty cycle; wherein, the preset state synchronization operation includes assigning the initial duty cycle to the output of the PID controller executing the closed-loop PID control mode, synchronizing the integral term of the PID controller with the initial duty cycle, and clearing the derivative term of the PID controller to zero.

[0183] Under closed-loop PID control, the initial duty cycle is corrected based on the deviation between the target temperature and the current temperature, and a PWM signal is output based on the corrected duty cycle to drive the heating element, so as to maintain the temperature of the furnace cavity at the target temperature.

[0184] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0185] Obtain the target temperature, heating mode, and current temperature of the oven cavity of the steam oven;

[0186] Based on the thermal characteristic parameters corresponding to the heating mode, the switching temperature threshold corresponding to the heating mode is determined; where, at the same target temperature, the switching temperature thresholds corresponding to different heating modes are different.

[0187] When the current temperature is greater than or equal to the switching temperature threshold, the control mode of the heating element of the steam oven is switched from open-loop heating control mode to closed-loop PID control mode.

[0188] When switching to closed-loop PID control mode, the initial duty cycle of closed-loop PID control mode is calculated according to the current temperature, target temperature and mode feature weight coefficient corresponding to the heating mode, based on the linear function model.

[0189] Perform a preset state synchronization operation based on the initial duty cycle; wherein, the preset state synchronization operation includes assigning the initial duty cycle to the output of the PID controller executing the closed-loop PID control mode, synchronizing the integral term of the PID controller with the initial duty cycle, and clearing the derivative term of the PID controller to zero.

[0190] Under closed-loop PID control, the initial duty cycle is corrected based on the deviation between the target temperature and the current temperature, and a PWM signal is output based on the corrected duty cycle to drive the heating element, so as to maintain the temperature of the furnace cavity at the target temperature.

[0191] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0192] Obtain the target temperature, heating mode, and current temperature of the oven cavity of the steam oven;

[0193] Based on the thermal characteristic parameters corresponding to the heating mode, the switching temperature threshold corresponding to the heating mode is determined; where, at the same target temperature, the switching temperature thresholds corresponding to different heating modes are different.

[0194] When the current temperature is greater than or equal to the switching temperature threshold, the control mode of the heating element of the steam oven is switched from open-loop heating control mode to closed-loop PID control mode.

[0195] When switching to closed-loop PID control mode, the initial duty cycle of closed-loop PID control mode is calculated according to the current temperature, target temperature and mode feature weight coefficient corresponding to the heating mode, based on the linear function model.

[0196] Perform a preset state synchronization operation based on the initial duty cycle; wherein, the preset state synchronization operation includes assigning the initial duty cycle to the output of the PID controller executing the closed-loop PID control mode, synchronizing the integral term of the PID controller with the initial duty cycle, and clearing the derivative term of the PID controller to zero.

[0197] Under closed-loop PID control, the initial duty cycle is corrected based on the deviation between the target temperature and the current temperature, and a PWM signal is output based on the corrected duty cycle to drive the heating element, so as to maintain the temperature of the furnace cavity at the target temperature.

[0198] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0199] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0200] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for controlling the temperature of a steam oven, characterized in that, The method includes: Obtain the target temperature, heating mode, and current temperature of the oven cavity of the steam oven; Based on the thermal characteristic parameters corresponding to the heating mode, the switching temperature threshold corresponding to the heating mode is determined; wherein, at the same target temperature, the switching temperature thresholds corresponding to different heating modes are different; When the current temperature is greater than or equal to the switching temperature threshold, the control mode of the heating element of the steam oven is switched from open-loop heating control mode to closed-loop PID control mode. When switching to the closed-loop PID control mode, the initial duty cycle of the closed-loop PID control mode is calculated according to the current temperature, the target temperature, and the mode feature weight coefficient corresponding to the heating mode, based on a linear function model; wherein, the linear function model is a function model composed of the linear superposition of deviation compensation term, mode compensation term, and preset offset. Perform a preset state synchronization operation based on the initial duty cycle; wherein, the preset state synchronization operation includes assigning the initial duty cycle to the output of the PID controller executing the closed-loop PID control mode, synchronizing the integral term of the PID controller with the initial duty cycle, and clearing the derivative term of the PID controller to zero; Under the closed-loop PID control mode, the initial duty cycle is corrected according to the deviation between the target temperature and the current temperature, and a PWM signal is output according to the corrected duty cycle to drive the heating element so as to maintain the temperature of the furnace cavity at the target temperature.

2. The method according to claim 1, characterized in that, The step of determining the switching temperature threshold corresponding to the heating mode based on the thermal characteristic parameters corresponding to the heating mode includes: Obtain the heat capacity coefficient and heat dissipation rate coefficient corresponding to the heating mode; The temperature margin corresponding to the heating mode is determined based on the heat capacity coefficient and the heat dissipation rate coefficient. The switching temperature threshold is determined based on the target temperature and the temperature margin.

3. The method according to claim 2, characterized in that, The step of determining the temperature margin corresponding to the heating mode based on the heat capacity coefficient and the heat dissipation rate coefficient includes: When the heat capacity coefficient is greater than a first preset coefficient threshold and the heat dissipation rate coefficient is less than a second preset threshold, the temperature margin is determined as the first temperature margin. When the heat capacity coefficient is less than the first preset coefficient threshold and the heat dissipation rate coefficient is greater than the second preset coefficient threshold, the temperature margin is determined as the second temperature margin; wherein, the first temperature margin is less than the second temperature margin.

4. The method according to claim 1, characterized in that, The step of calculating the initial duty cycle of the closed-loop PID control mode according to a linear function model based on the current temperature, the target temperature, and the mode feature weight coefficient corresponding to the heating mode includes: The temperature deviation between the target temperature and the current temperature is proportionally calculated using a first proportional gain coefficient to obtain the deviation compensation term. Obtain the mode feature weight coefficient corresponding to the heating mode, and determine the mode compensation term based on the mode feature weight coefficient; The initial duty cycle is obtained by linearly superimposing the deviation compensation term, the mode compensation term, and the preset offset.

5. The method according to any one of claims 1 to 4, characterized in that, Synchronizing the integral term of the PID controller with the initial duty cycle includes: Obtain the proportional term output and derivative term output of the PID controller at the moment when it switches to the closed-loop PID control mode; Based on the initial duty cycle, the proportional term output, and the derivative term output, the synchronization value of the integral term is determined, and the integral term of the PID controller is adjusted to the synchronization value.

6. The method according to any one of claims 1 to 4, characterized in that, The method further includes: Obtain the rate of temperature change of the furnace cavity; If the temperature change rate is greater than a preset change rate threshold, the initial duty cycle is reduced. If the temperature change rate is less than the preset change rate threshold, the initial duty cycle is increased.

7. The method according to any one of claims 1 to 4, characterized in that, The method further includes: Obtain the ambient temperature of the steam oven; The initial duty cycle is compensated and corrected based on the ambient temperature.

8. A temperature control device, characterized in that, The device includes: The parameter acquisition module is used to acquire the target temperature, heating mode, and current temperature of the oven cavity of the steam oven. The threshold determination module is used to determine the switching temperature threshold corresponding to the heating mode based on the thermal characteristic parameters corresponding to the heating mode; wherein, at the same target temperature, the switching temperature thresholds corresponding to different heating modes are different; The switching module is used to switch the control mode of the heating element of the steam oven from open-loop heating control mode to closed-loop PID control mode when the current temperature is greater than or equal to the switching temperature threshold. The duty cycle calculation module is used to calculate the initial duty cycle of the closed-loop PID control mode according to the current temperature, the target temperature, and the mode feature weight coefficient corresponding to the heating mode, based on a linear function model when switching to the closed-loop PID control mode; wherein, the linear function model is a function model composed of the linear superposition of deviation compensation term, mode compensation term, and preset offset. A state synchronization module is used to perform a preset state synchronization operation according to the initial duty cycle; wherein, the preset state synchronization operation includes assigning the initial duty cycle to the output of the PID controller executing the closed-loop PID control mode, synchronizing the integral term of the PID controller with the initial duty cycle, and clearing the derivative term of the PID controller to zero. The control output module is used to correct the initial duty cycle according to the deviation between the target temperature and the current temperature under the closed-loop PID control mode, and output a PWM signal to drive the heating element according to the corrected duty cycle so as to maintain the temperature of the furnace cavity at the target temperature.

9. A steam oven, characterized in that, The steam oven includes an oven cavity, a heating element disposed in the oven cavity, a temperature sensor for detecting the current temperature of the oven cavity, a mode selection component for selecting a heating mode, and a controller; The controller is connected to the temperature sensor, the mode selection component, and the heating element respectively, and is used to execute the steam oven temperature control method as described in any one of claims 1 to 7.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the steam oven temperature control method according to any one of claims 1 to 7.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the steam oven temperature control method according to any one of claims 1 to 7.

12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the steam oven temperature control method according to any one of claims 1 to 7.