Temperature control method, control device and storage medium based on self-tuning
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-20
- Publication Date
- 2026-08-14
AI Technical Summary
[0004]为了克服上述缺陷,提出了本发明,以提供解决或至少部分地解决现有技术中的因长期使用参数无法适配从而影响用户使用体验的问题
[0016]在实施本发明的技术方案中,通过判断是否满足预设的修正系数自整定条件,对蒸烤箱进行智能自我校准,解决了蒸烤箱因长期使用、设备老化或环境变化,导致预设参数无法精确匹配设备实际运行状态的问题。通过本技术方案提高了老式烤箱温度控制的精度和效率,提升了用户体验,增强了设备的智能性和自适应性。
Smart Images

Figure CN117032337B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of temperature control, and specifically provides a temperature control method, control device, and storage medium based on self-tuning. Background Technology
[0002] With prolonged use, steam ovens may experience reduced efficiency and accuracy due to component aging, changes in environmental factors, and a gradual decline in the equipment's performance. This is particularly noticeable when achieving precise temperature control, as pre-set parameters may become inadequate for the actual operating conditions, preventing the oven from quickly and accurately reaching the user-defined target temperature and impacting the user experience.
[0003] Accordingly, a new temperature control solution is needed in this field to address the aforementioned problems. Summary of the Invention
[0004] In order to overcome the above-mentioned defects, the present invention is proposed to provide a solution or at least a partial solution to the problem in the prior art that the user experience is affected by the inability to adapt parameters after long-term use.
[0005] In a first aspect, the present invention provides a self-tuning-based temperature control method, the method comprising: applying to a heating device and determining whether a preset correction coefficient self-tuning condition is met; if the preset correction coefficient self-tuning condition is met, obtaining a second correction coefficient at a second target temperature; obtaining an initial duty cycle of the heating device at the second target temperature based on the second correction coefficient, the second target temperature, and the preset duty cycle fitting coefficient; and adjusting the current temperature of the heating device based on the initial duty cycle and using a proportional-integral-differential algorithm to make the current temperature reach the second target temperature.
[0006] As an alternative or supplement to the above solutions, in a method according to an embodiment of the present invention, determining whether a preset correction coefficient self-tuning condition is met includes: obtaining a preset duty cycle at a first target temperature and a first stable duty cycle stable at the first target temperature; determining whether to perform self-tuning on the correction coefficient based on the preset duty cycle and the first stable duty cycle; and / or, obtaining the usage time of the heating device, and determining whether to perform self-tuning on the correction coefficient based on the usage time of the heating device and a preset threshold.
[0007] As an alternative or supplement to the above solutions, in a method according to an embodiment of the present invention, obtaining the preset duty cycle at the first target temperature includes: obtaining a preset duty cycle fitting coefficient; and calculating the preset duty cycle of the heating device at the first target temperature based on the preset duty cycle fitting coefficient, a pre-stored first correction coefficient, and the first target temperature.
[0008] As an alternative or supplement to the above solutions, in a method according to an embodiment of the present invention, determining whether to self-tune the correction coefficient based on the preset duty cycle and the stable duty cycle includes: obtaining a first ratio based on the preset duty cycle and the stable duty cycle; when the first ratio is outside a preset threshold range, determining that self-tuning of the correction coefficient is required.
[0009] As an alternative or supplement to the above solutions, in a method according to an embodiment of the present invention, obtaining a second correction coefficient at a second target temperature includes: obtaining a second stable duty cycle of the heating device at a stable second target temperature; and obtaining a second correction coefficient based on the second stable duty cycle, the second target temperature, and a preset duty cycle fitting coefficient.
[0010] As an alternative or supplement to the above solutions, in a method according to an embodiment of the present invention, determining whether to self-tune the correction coefficient based on the current usage time of the heating device and a preset threshold includes: obtaining the current cumulative usage time of the heating device; determining whether the current cumulative usage time of the heating device is greater than a preset first time threshold; if it is greater than the preset first time threshold, determining that self-tuning of the correction coefficient is required; and / or, obtaining the initial system time and the current system time of the heating device; calculating the difference between the initial system time and the current system time to obtain a first difference; determining whether the first difference is greater than a preset second time threshold; if it is greater than the preset second time threshold, determining that self-tuning of the correction coefficient is required.
[0011] As an alternative or supplement to the above solutions, in a method according to an embodiment of the present invention, obtaining the second correction coefficient at the second target temperature includes determining the second correction coefficient based on the second stable duty cycle, the second target temperature, the preset duty cycle fitting coefficient, and the following formula: , where is the second stable duty cycle, is the second target temperature, a and b are preset duty cycle fitting coefficients, and is the second correction coefficient.
[0012] In a second aspect, a control device is provided, comprising a processor and a storage device, the storage device being adapted to store a plurality of computer programs, the computer programs being adapted to be loaded and run by the processor to perform the self-tuning-based temperature control method described in any of the above-described technical solutions.
[0013] In a third aspect, a computer-readable storage medium is provided, wherein a plurality of computer programs are stored therein, the computer programs being adapted to be loaded and run by a processor to perform the self-tuning-based temperature control method described in any of the above-described technical solutions.
[0014] In a fourth aspect, a heating device is provided, including a control device that operates to execute the self-tuning-based temperature control method described in any of the above-described technical solutions.
[0015] The above-described technical solutions of the present invention have at least one or more of the following beneficial effects:
[0016] In implementing the technical solution of this invention, the steam oven undergoes intelligent self-calibration by determining whether the preset correction coefficient self-tuning conditions are met. This solves the problem that preset parameters cannot accurately match the actual operating state of the steam oven due to long-term use, equipment aging, or environmental changes. This technical solution improves the accuracy and efficiency of temperature control in older ovens, enhances the user experience, and strengthens the intelligence and adaptability of the equipment. Attached Figure Description
[0017] The disclosure of this invention will become more readily understood with reference to the accompanying drawings. It will be readily understood by those skilled in the art that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of this invention. Furthermore, similar numbers in the drawings are used to denote similar components, wherein:
[0018] Figure 1 This is a schematic flowchart of the main steps of a self-tuning-based temperature control method according to an embodiment of the present invention;
[0019] Figure 2 This is a schematic flowchart of the minor steps of a self-tuning-based temperature control method according to an embodiment of the present invention;
[0020] Figure 3 This is a schematic flowchart of the minor steps of a self-tuning-based temperature control method according to an embodiment of the present invention;
[0021] Figure 4 This is a schematic flowchart of the minor steps of a self-tuning-based temperature control method according to an embodiment of the present invention;
[0022] Figure 5 This is a schematic flowchart of the minor steps of a self-tuning-based temperature control method according to an embodiment of the present invention;
[0023] Figure 6 This is a schematic flowchart of the minor steps of a self-tuning-based temperature control method according to an embodiment of the present invention;
[0024] Figure 7 This is a schematic flowchart of the minor steps of a self-tuning-based temperature control method according to an embodiment of the present invention;
[0025] Figure 8 This is a schematic flowchart of the minor steps of a temperature control method based on self-tuning according to an embodiment of the present invention. Detailed Implementation
[0026] Some embodiments of the present invention will now be described with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.
[0027] In the description of this invention, "module" and "processor" can include hardware, software, or a combination of both. A module can include hardware circuitry, various suitable sensors, communication ports, memory, and may also include software components, such as computer programs, or a combination of software and hardware. A processor can be a central processing unit, microprocessor, image processor, digital signal processor, or any other suitable processor. The processor has data and / or signal processing capabilities. The processor can be implemented in software, in hardware, or a combination of both. Non-transitory computer-readable storage media includes any suitable medium capable of storing computer programs, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The terms "at least one A or B" or "at least one of A and B" have a similar meaning to "A and / or B" and can include only A, only B, or A and B. The singular terms "a" or "this" can also include plural forms.
[0028] Example 1:
[0029] See appendix Figure 1 , Figure 1 This is a schematic flowchart illustrating the main steps of a self-tuning-based temperature control method according to an embodiment of the present invention. Figure 1 As shown, the temperature control method based on self-tuning in this embodiment of the invention mainly includes the following steps S10-S40.
[0030] Step S10: Determine whether the preset self-tuning conditions for the correction coefficient are met.
[0031] In this embodiment, the heating device used is a steam oven.
[0032] In one implementation, during long-term system operation, due to various reasons such as equipment aging, environmental changes, and usage frequency, the equipment parameters may deviate from the original factory settings. This can affect the equipment's performance and accuracy. Therefore, in this implementation, determining whether the preset correction coefficient self-tuning condition is met is used to determine whether the equipment's performance needs to be self-adjusted or optimized. If the preset correction coefficient self-tuning condition is met, the system will automatically adjust the equipment's operating parameters according to certain rules, thereby achieving optimal equipment performance.
[0033] In this embodiment, the subsequent self-tuning process is only required when a potential deviation in the device's performance is detected. This will help maintain the device in its optimal working state, improve its performance, and extend its service life.
[0034] In this embodiment, a judgment condition is provided: when a temperature control misalignment is detected, the judgment is made by comparing the predicted duty cycle with the actual duty cycle. If the ratio of the actual duty cycle to the preset duty cycle is too large or too small, it is determined that the temperature control performance of the device has deviated. In this embodiment, the judgment is made through steps S101-102. Figure 2 As shown, the details are as follows:
[0035] Step S101: Obtain the preset duty cycle at the first target temperature and the first stable duty cycle at the first target temperature.
[0036] In this embodiment, the preset duty cycle is the duty cycle calculated based on the preset duty cycle fitting coefficient, and the first stable duty cycle is the duty cycle at which the heating device stabilizes at the first target temperature.
[0037] In one implementation, the duty cycle is an important parameter for controlling the operation of heating equipment. It describes the ratio of the operating time of the heating system to the total time within a certain time period. In actual operation, to ensure that the equipment can accurately reach the set target temperature and remain stable after reaching that temperature, different preset duty cycles need to be set for different target temperatures.
[0038] In this embodiment, the system acquires a preset duty cycle at the first target temperature. Simultaneously, the system also acquires a first stable duty cycle when the device reaches and stabilizes at the first target temperature; this is obtained through actual measurements during device operation. By comparing the preset duty cycle and the actual stable duty cycle, it can be determined whether temperature control misalignment has occurred during device operation, i.e., whether there is a deviation between the actual and expected operating states of the device. If a deviation exists, the device's operating parameters need to be self-tuned to optimize its performance.
[0039] In this embodiment, the preset duty cycle is obtained through steps S101-1 to S101-2, such as... Figure 3 As shown, the details are as follows:
[0040] Step S101-1: Obtain the preset duty cycle fitting coefficients.
[0041] In this embodiment, the preset duty cycle fitting coefficient represents the relationship between the preset duty cycle and the target temperature.
[0042] In one implementation, these fitting coefficients, including a and b, are preset parameters that form a calculation formula Y = α × (a × Tset + b), where Y represents the preset duty cycle, Tset represents the set target temperature, and α is the first correction coefficient.
[0043] The preset duty cycle fitting coefficients are pre-stored in the device's memory and are read when this step is run.
[0044] Step S101-2: Based on the preset duty cycle fitting coefficient, the pre-stored first correction coefficient, and the first target temperature, calculate the preset duty cycle of the heating device at the first target temperature.
[0045] In one implementation, the first correction factor is a dynamic factor, and its factory setting varies for different devices. When the device starts operating, the first correction factor is typically set to a default value by the manufacturer. By changing this value, the overall calculations change, thereby adjusting and optimizing the system to improve the device's efficiency and accuracy.
[0046] The system calculates the preset duty cycle using the formula Y = α × (a × Tset + b), where Y is the preset duty cycle, α is the first correction coefficient, Tset is the first target temperature, and a and b are the preset duty cycle fitting coefficients, to obtain the preset duty cycle at the first target temperature.
[0047] The preset duty cycle is a theoretical duty cycle calculated based on a preset duty cycle fitting coefficient, a pre-stored first correction coefficient, and a first target temperature. It represents the duty cycle that the heating equipment should achieve under ideal conditions. This preset duty cycle is compared with the actually measured duty cycle to determine if there is a deviation in the equipment's operating performance. If the difference between the actual duty cycle and the preset duty cycle exceeds a preset threshold, the system will determine that the equipment needs to perform self-tuning to correct the deviation.
[0048] Step S102: Determine whether to self-tune the correction coefficient based on the preset duty cycle and the first stable duty cycle.
[0049] In this embodiment, the preset duty cycle is a theoretical duty cycle calculated based on the preset duty cycle fitting coefficient, the pre-stored first correction coefficient, and the first target temperature. It represents the duty cycle that the heating device should achieve under ideal conditions. The preset duty cycle can be considered as the theoretical operating state of the heating device at a specific target temperature. The first stable duty cycle, on the other hand, is the actual duty cycle measured after the device has been running stably for a period of time during actual operation. This duty cycle reflects the actual operating state of the device.
[0050] In one implementation, the system compares the two duty cycles. If the measured first stable duty cycle deviates from the preset duty cycle, and this deviation exceeds a preset threshold, the system determines that self-tuning of the correction coefficient is necessary. By self-tuning the correction coefficient, the deviation between the equipment's operating state and the theoretical preset state can be corrected, ensuring the equipment's heating effect and temperature control accuracy. This is a dynamic process; the system continuously adjusts the correction coefficient based on the equipment's actual operating data and state to adapt to changes in operating conditions and performance degradation. This self-tuning process helps maintain long-term stable operation of the equipment, improving heating efficiency and temperature control accuracy.
[0051] In this embodiment, the determination is made through steps S102-1 to S102-2, such as... Figure 4 As shown, the details are as follows:
[0052] Step S102-1: Based on the preset duty cycle and the stable duty cycle, obtain the first ratio.
[0053] In this embodiment, the first ratio is used for subsequent evaluation.
[0054] In one implementation, a quantitative method is provided to assess the gap between the device's operating state and its expected state.
[0055] The first ratio is: Stable duty cycle / Preset duty cycle.
[0056] The stable duty cycle reflects the actual operating state of the equipment at a specific target temperature. The preset duty cycle represents the duty cycle that the equipment should achieve at a specific target temperature under ideal conditions. The first ratio can be obtained by calculating the ratio of these two duty cycles.
[0057] This ratio can be understood as the deviation coefficient between the actual operating state and the ideal preset state. If the first ratio equals 1, it means that the actual operating state of the equipment is completely consistent with the preset state. If the first ratio is greater than 1, it means that the duty cycle of the actual operating state is higher than the preset duty cycle. If the first ratio is less than 1, it means that the duty cycle of the actual operating state is lower than the preset duty cycle, and it may be necessary to increase the operating intensity of the equipment or correct the preset duty cycle fitting coefficient.
[0058] Determining the first ratio provides important reference data for subsequent steps, helping the system make more accurate self-tuning decisions.
[0059] Step S102-2: When the first ratio is outside the preset threshold range, it is determined that the correction coefficient needs to be self-tuned.
[0060] In this embodiment, the threshold range is set in the system design phase, and it reflects the system's tolerance for deviations in device operation.
[0061] In one implementation, if the calculated first ratio is outside a preset threshold range, the system determines that self-tuning of the correction coefficient is necessary. For example, if the threshold range is set to 0.95 to 1.05, the system will only consider the device operating state to be close to the preset state and not require self-tuning if the first ratio falls within this range.
[0062] If the first ratio is lower than the lower threshold (e.g., 0.95 in the example), it indicates that the actual duty cycle of the device is lower than the preset duty cycle, which may require increasing the device's operating intensity or correcting the preset duty cycle fitting coefficient. Conversely, if the first ratio is higher than the upper threshold (e.g., 1.05 in the example), it indicates that the actual duty cycle of the device is higher than the preset duty cycle, which may require reducing the device's operating intensity or correcting the preset duty cycle fitting coefficient.
[0063] Therefore, in this step, the system judges the first ratio based on a preset threshold range to determine whether self-tuning of the correction coefficient is necessary. This self-tuning ensures that the equipment can adapt to actual operating conditions, thereby achieving more accurate temperature control.
[0064] Step S20: If it is determined that the preset correction coefficient self-tuning condition is met, then the second correction coefficient at the second target temperature is obtained.
[0065] In this embodiment, if the preset correction coefficient self-tuning conditions are met, the system will calculate the correction coefficient at the second target temperature according to the set self-tuning rules and parameters to obtain the required second correction coefficient.
[0066] In one implementation, a second correction coefficient at the second target temperature is obtained through steps S201-202, such as... Figure 5 As shown, the details are as follows:
[0067] Step S201: Obtain the second stable duty cycle of the heating device when it is stable at the second target temperature.
[0068] In this embodiment, the second target temperature is a preset temperature.
[0069] In one implementation, when the heating device reaches and stabilizes at the second target temperature, the system records the stable duty cycle of the heating device. By acquiring and analyzing the second stable duty cycle, the operating efficiency and status of the heating device at the second target temperature can be understood, thus providing important reference data for the next step of calculating the correction coefficient.
[0070] Step S202: Based on the second stable duty cycle, the second target temperature, and the preset duty cycle fitting coefficient, obtain the second correction coefficient.
[0071] In one implementation, the second correction coefficient is essentially an adjustment factor that describes the deviation between the actual duty cycle and the ideal duty cycle of the equipment during actual operation. After obtaining the second correction coefficient, it can be used to adjust the operating parameters of the equipment, making its operating state closer to the ideal state. This adjustment process can improve the operating efficiency and accuracy of the heating equipment, achieving the target temperature more precisely. Simultaneously, the second correction coefficient also adjusts and optimizes the operating state of the heating equipment at the second target temperature, thereby obtaining more accurate parameters, such as the initial duty cycle, in subsequent use.
[0072] This section further explains the correction factor. Originally, the correction factor in the initial duty cycle was used to correct the parameters of the existing heating device and the reference device. The PWM value of the reference device was obtained experimentally, and then the preset duty cycle fitting factor was calculated based on the fitting of the reference device at different target set temperatures. However, in practical applications, due to design and manufacturing differences between different models of heating devices, the PWM values of different models of heating devices may differ even at the same target set temperature. Performing separate measurements and calculations for each model of heating device would undoubtedly result in enormous experimental costs and time consumption.
[0073] To address this issue, a correction factor α is introduced to correct the PWM value obtained based on the reference device's correlation. In this embodiment, the correction factor α is set according to the proportional relationship between the actual PWM value of the target heating device in a steady state and the PWM value calculated by the reference device at the same temperature. Specifically, it is calculated by dividing the first duty cycle of the existing heating device by the second duty cycle of the reference device: α = first duty cycle / second duty cycle. This calculation method yields a correction factor that describes the proportional relationship between the duty cycles of the existing heating device and the reference device at the same target set temperature.
[0074] In this embodiment, the second correction coefficient based on the second target temperature is determined based on the second stable duty cycle, the second target temperature, the preset duty cycle fitting coefficient, and the following formula:
[0075] ,
[0076] in For the second stable duty cycle, Here, a represents the second target temperature, and b represents the preset duty cycle fitting coefficients. The second correction factor
[0077] Step S30: Based on the second correction coefficient, the second target temperature, and the preset duty cycle fitting coefficient, obtain the initial duty cycle of the heating device at the second target temperature.
[0078] In this embodiment, the initial duty cycle is the duty cycle of the heating device calculated at the second target temperature, which is used for subsequent control.
[0079] In one implementation, the initial duty cycle is calculated using the formula Y = α2 × (a × Tset2 + b). Here, Y is the initial duty cycle, α2 is the second correction coefficient, Tset2 is the set second target temperature, and a and b are preset duty cycle fitting coefficients.
[0080] In this embodiment, the initial duty cycle calculated using the second correction coefficient has higher accuracy and adaptability. Since it is derived based on the second correction coefficient, the second target temperature, and the preset duty cycle fitting coefficient, the initial duty cycle more accurately reflects the actual operating state of the heating equipment at a specific temperature. Furthermore, this calculation method takes into account potential performance deviations and aging conditions of the equipment, improving the adaptability of the initial duty cycle. This more accurate and adaptable initial duty cycle helps the heating equipment reach the set target temperature more precisely during actual operation, improving the equipment's operating efficiency and stability.
[0081] Step S40: Based on the initial duty cycle, the current temperature of the heating device is adjusted using a proportional-integral-differential algorithm to bring the current temperature to the second target temperature.
[0082] In this embodiment, the current temperature is the actual temperature of the oven read by a temperature sensor inside the heating device. In this embodiment, based on the obtained initial duty cycle, the current temperature of the heating device is precisely controlled in real time using a proportional-integral-differential algorithm.
[0083] In one implementation, the current temperature of the heating device is continuously and in real-time adjusted to ensure that it ultimately reaches the set target temperature precisely. This allows the user to set the device temperature as needed, and the device can automatically adjust the temperature to meet the user's requirements.
[0084] In this embodiment, the current temperature is controlled based on the initial duty cycle and using a proportional-integral-differential algorithm. Through meticulous adjustments, the internal temperature of the heating device can accurately reach the target temperature set by the user and remain stable at this temperature.
[0085] At the beginning of the adjustment phase, a preset initial integral value is given to the PID controller, which is the initial cumulative deviation value, or the initial duty cycle. This initial duty cycle is predicted and calculated based on the stable initial duty cycle of the heating equipment at the target temperature.
[0086] The adjustment phase can be divided into one or more stages. It should be noted that in actual operation, the temperature control process may be affected by many factors, such as the dynamic characteristics of the system, changes in ambient temperature, and user operation.
[0087] In this embodiment, to address different influences, the control system preferably divides the adjustment phase into multiple sub-phases, each with its own objectives and strategies. For example, in this embodiment, the adjustment phase has three sub-phases: a "rapid adjustment" phase, a "fine-tuning" phase, and a "maintaining stability" phase.
[0088] First, the system enters a "rapid adjustment" phase, where the controller parameters are set to relatively large values to quickly reduce the difference between the actual and target temperatures. After certain conditions are met, the system enters a "fine-tuning" phase, where the controller parameters are set to smaller values to reduce over-adjustment and oscillations in temperature. Finally, the system enters a "maintaining stability" phase, where the controller parameters are set to moderate values to maintain temperature stability.
[0089] In this embodiment, specifically, the initial duty cycle is introduced into the control through steps S501-502.
[0090] Step S501: Determine the initial value of the cumulative deviation in the proportional-integral-derivative algorithm based on the ratio of the initial duty cycle to the preset integral parameter.
[0091] In this embodiment, the cumulative deviation, also known as the integral term, represents the accumulation of all past deviation values.
[0092] In one implementation, the initial duty cycle of the device is multiplied by a preset integral parameter, and the result is the initial value of the cumulative deviation. This calculation process can be expressed as: Initial value of cumulative deviation = Initial duty cycle × Preset integral parameter.
[0093] Step S502: Based on the initial value of the cumulative deviation, the current temperature is controlled using a proportional-integral-differential algorithm.
[0094] In one implementation, the purpose of using an initial cumulative deviation value to regulate the current temperature is to prevent a large temperature rebound in the system when it first enters this stage, which would affect the steaming and baking effect.
[0095] Step S601: Determine whether the absolute value of the difference between the current temperature and the target temperature is less than or equal to the second preset threshold within a preset time period.
[0096] In this embodiment, both the preset duration and the second preset threshold can be flexibly set according to requirements.
[0097] Step S602: If yes, confirm that you have entered the stable phase.
[0098] When the temperature reaches a stable state, a different combination of proportional-integral-derivative (PID) parameters is used for temperature control compared to the control stage where the current temperature is controlled based on the proportional-integral-derivative (PID) algorithm. In this combination, at least one parameter has a value less than the corresponding parameter value in the control stage.
[0099] Similar to the adjustment phase, the stabilization phase can also have one or more sub-phases. Preferably, in this embodiment, the stabilization phase is divided into two smaller phases. Specifically, when the absolute value of the difference between the current temperature and the target temperature is less than or equal to a second preset threshold, temperature control is performed using a first proportional-integral-derivative parameter combination. In this phase, the proportional coefficient (P), integral coefficient (I), and derivative coefficient (D) are set to be smaller, mainly to minimize small temperature fluctuations, and the integral rate (EskAs) may be set to be smaller to reduce fluctuations.
[0100] When the absolute value of the difference between the current temperature and the target temperature is greater than a second preset threshold and less than or equal to a third preset threshold, temperature control is performed using a second proportional-integral-derivative (PID) parameter combination. In this combination, at least one parameter has a value greater than the corresponding parameter in the second PID parameter combination. During this stage, one or more of the proportional coefficient (P), integral coefficient (I), or derivative coefficient (D) will be appropriately increased to enable faster response and adjustment to temperature deviations. Simultaneously, the integral speed (EskAs) may be set relatively high for rapid regulation.
[0101] The stable phase is the final stage in the entire temperature control process. It's designed to maintain the oven temperature at the preset target temperature and prevent large temperature fluctuations. During this phase, the adjustment function of the PID controller is gradually weakened, especially the proportional (P) and derivative (D) controls, to avoid temperature oscillations caused by excessively rapid responses.
[0102] Here's an example. In the stabilization phase, assume the steam oven has reached the set temperature of 200°C and has already undergone precise temperature adjustments during the adjustment phase. The main goal of this stabilization phase is to ensure stable oven temperature and minimize temperature fluctuations.
[0103] The stable phase is divided into two sub-phases: Phase 1 and Phase 2.
[0104] Phase 1: Phase 1 begins when the actual temperature inside the oven deviates from the target temperature within a certain range, such as ±2°C. In this phase, the primary goal is to minimize small temperature fluctuations; therefore, the proportional (P), integral (I), and derivative (D) coefficients of the PID controller may be set relatively small. For example, P could be set to 0.5, I to 1, and D to 0. Simultaneously, to eliminate small steady-state temperature differences, the integral rate (EskAs) may be set relatively small, such as 0.1.
[0105] Phase 2: If the actual temperature inside the oven deviates from the target temperature by more than ±2°C but less than ±10°C, Phase 2 will be initiated. In this phase, a faster response and adjustment to the temperature deviation is required. Therefore, the proportional gain (P) and derivative gain (D) may be moderately increased, for example, P is set to 1, I to 1, and D to 0. Simultaneously, the integral gain (I) is set relatively large, such as 0.4.
[0106] These two stages will automatically switch based on the deviation between the actual temperature inside the oven and the target temperature, ensuring that the steam oven maintains a stable temperature throughout the cooking process.
[0107] This sophisticated control strategy enables the steam oven to maintain high precision and stable temperature control under various cooking conditions, thereby ensuring consistent cooking quality and food taste.
[0108] In this embodiment, before adjusting the current temperature based on the initial duty cycle and using the proportional-integral-differential algorithm, steps S701-702 are included, which are the heating stage of the heating device.
[0109] It should be noted that when the absolute value of the difference between the current temperature and the target temperature is greater than the third preset threshold, the system will return to the adjustment state.
[0110] Step S701: In response to the control command to heat to the target temperature, perform heating at full load power.
[0111] In one implementation, the main task of the system at this stage is to bring the heating device to the set temperature as quickly as possible. To achieve this goal, the heating element assembly used at this stage will operate at full power or maintain a high power to raise the temperature of the heating device to the target temperature as quickly as possible.
[0112] In this step, the system does not use a PID algorithm for control because speed is the most critical factor at this stage. This design aims to ensure the steam oven reaches the target temperature as quickly as possible. Therefore, the selected heating element combination will be activated and operate at maximum power to rapidly increase the internal temperature of the steam oven.
[0113] However, the specific strategy for fully opening the heating elements is controlled by the oven's "rapid heating" switch. If the "rapid heating" switch is on, the system will use the maximum power combination of heating elements to raise the temperature. If the "rapid heating" switch is off, the system will use the normal combination of heating elements to raise the temperature. But in either case, the goal at this stage is to raise the temperature as quickly as possible.
[0114] It should be noted that the heating phase ends when the current temperature of the heating device reaches the preset full-opening stop point. At this time, the current temperature will continue to rise due to inertia and then fall back. When the temperature condition meets the requirements of step S502, step S40 will be executed. The temperature setting of the full-opening stop point is positively correlated with the target temperature. In this embodiment, the relationship between the full-opening stop point and the target temperature is obtained in advance by fitting experimental data, and then the corresponding full-opening stop point is calculated based on the target temperature.
[0115] Step S702: Determine whether the absolute value of the difference between the current temperature and the target temperature is less than or equal to the first preset threshold.
[0116] In one implementation, this step is a condition for activating PID control, namely, the absolute value of the difference between the current temperature and the target temperature is less than or equal to a first preset threshold, indicating that the device temperature is approximately close to the target temperature. In this case, the system will proceed to the next step, which is to adjust the temperature based on the initial duty cycle and using a proportional-integral-derivative (PID) algorithm.
[0117] If the absolute value of the difference between the current temperature and the target temperature is less than or equal to the first preset threshold, then proceed to step S40.
[0118] Example 2:
[0119] Most of the techniques in this embodiment are the same as in Embodiment 1, except for the self-tuning condition of the correction coefficient. All other techniques are the same as in Embodiment 1 and will not be repeated here. Figure 6 As shown, the details are as follows:
[0120] The self-tuning condition of the correction coefficient in this embodiment is different from that in embodiment 1. Specifically, the heating equipment usage time is used to determine the correction coefficient in this embodiment.
[0121] Step S103: Obtain the usage time of the heating equipment.
[0122] In this embodiment, the usage time is the working time of the heating device.
[0123] In one embodiment, the heating device's internal timer or its connected control system is invoked to provide the cumulative operating time of the device from the start of the timer at the factory to the current time. In this embodiment, this usage time includes not only the operating time of the device during actual heating but also the time the device spends waiting to heat or maintaining a constant temperature.
[0124] In this embodiment, usage time is obtained either through the device's internal electronic counter or through software programming. For the internal electronic counter, the counter starts counting when the device starts running and continues until the device stops running, then the running time is accumulated into the total usage time. For the case where usage time is obtained through software programming, the device's operating status is monitored in real time. When the device is running, the software starts recording time; when the device stops running, the software stops recording time and accumulates that period into the total usage time.
[0125] In this embodiment, considering the possibility of power failure or sudden power outage, it is preferable that the usage time of the device is stored in a non-volatile storage device to prevent data loss.
[0126] Step S104: Determine whether to self-tune the correction coefficient based on the usage time of the heating equipment and the preset threshold.
[0127] In this embodiment, the preset threshold represents the usage time during which the device may begin to show performance changes. This threshold can be based on historical data, a recommended value from the device manufacturer, or obtained through experimental testing.
[0128] In one implementation, if the current usage time exceeds a preset threshold, the system will determine that the correction coefficient needs to be self-tuned. In this implementation, this determination is made through steps S104-1 to S104-3. Figure 7 As shown.
[0129] Step S104-1: Obtain the current cumulative usage time of the heating equipment.
[0130] Step S104-2: Determine whether the current cumulative usage time of the heating equipment is greater than the preset first time threshold.
[0131] Step S104-3: If the value is greater than the preset first time threshold, it is determined that the correction coefficient needs to be self-tuned.
[0132] If the cumulative usage time of the equipment exceeds the first time threshold, it means that the equipment may have reached a stage requiring inspection or maintenance. At this point, self-tuning of the correction coefficient is necessary to ensure more accurate equipment operation. The equipment's operating status and performance parameters may change due to prolonged use, and these changes may affect the accuracy of the correction coefficient.
[0133] If the cumulative usage time of the equipment does not exceed the first time threshold, it means that the equipment is still within its normal operating cycle, and the original correction coefficient remains valid. In this case, there is no need to perform self-tuning of the correction coefficient, and the current correction coefficient can continue to be used.
[0134] This method ensures timely self-tuning of correction coefficients when equipment performance may change, thereby guaranteeing equipment stability and efficiency. At the same time, it avoids unnecessary self-tuning when the equipment is operating normally, reducing system complexity and improving operational efficiency.
[0135] Example 3:
[0136] Most of the techniques in this embodiment are the same as those in Embodiment 2, the difference being the usage time. Otherwise, the techniques are the same as those in Embodiment 1, and will not be repeated here. Figure 8 As shown, the details are as follows:
[0137] Step S104-4: Obtain the initial system time and current system time of the heating equipment.
[0138] In this embodiment, the initial system time refers to the time when the heating device is first used, while the current system time is the current running time of the device. This time is updated in real time and corresponds to the actual operating status of the device.
[0139] In one implementation, the initial system time and the current system time are typically obtained through internal hardware or software, such as a built-in real-time clock (RTC) or the operating system's time service. These two time points are usually recorded in the device's internal memory for easy access and retrieval during device startup or operation.
[0140] Step S104-5: Based on the initial system time and the current system time, calculate the difference between the two to obtain the first difference.
[0141] In this embodiment, the system calculates the difference between the initial system time and the current system time, which is the first difference. The first difference reflects the cumulative usage time of the heating equipment and is used to determine whether the equipment has reached a preset threshold, thereby deciding whether self-tuning of the correction coefficient is required.
[0142] In one implementation, the system subtracts the current system time from the initial system time to calculate the elapsed time since the device started operating. This elapsed time, or first difference, is then compared with a preset second time threshold.
[0143] Step S104-6: Determine whether the first difference is greater than the preset second time threshold.
[0144] Step S104-7: If the time is greater than the preset second time threshold, it is determined that the correction coefficient needs to be self-tuned.
[0145] In one implementation, the performance of the heating equipment may be affected as the usage time increases, such as due to factors like component aging or changes in environmental factors leading to reduced heating efficiency or slower heating speed. Therefore, self-tuning of the correction coefficient can help the heating equipment maintain optimal operating conditions.
[0146] When the first difference exceeds the preset second time threshold, it indicates that the equipment has been running for a relatively long time, making self-tuning of the correction coefficient even more necessary. By self-tuning the correction coefficient, the heating equipment can adjust its parameters according to its actual usage and performance status, thereby ensuring the equipment's working efficiency and heating effect, improving its performance and lifespan, and enhancing the user experience.
[0147] It should be noted that although the steps in the above embodiments are described in a specific order, those skilled in the art will understand that in order to achieve the effects of the present invention, different steps do not necessarily have to be executed in such an order. They can be executed simultaneously (in parallel) or in other orders, and these variations are all within the scope of protection of the present invention.
[0148] Those skilled in the art will understand that all or part of the processes in the method of the above-described embodiment of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes other computer programs, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable storage medium can include any entity or device capable of carrying the computer program, a medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory, a random access memory, an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content included in the computer-readable storage medium can be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable storage medium does not include electrical carrier signals and telecommunication signals.
[0149] Furthermore, the present invention also provides a control device. In one embodiment of the control device according to the present invention, the control device includes a processor and a storage device. The storage device can be configured to store a program for executing the self-tuning-based temperature control method of the above-described method embodiments. The processor can be configured to execute the program in the storage device, which includes, but is not limited to, a program for executing the self-tuning-based temperature control method of the above-described method embodiments. For ease of explanation, only the parts related to the embodiments of the present invention are shown; for specific technical details not disclosed, please refer to the method section of the embodiments of the present invention. This control device can be a control device device comprising various electronic devices.
[0150] Furthermore, the present invention also provides a computer-readable storage medium. In one embodiment of the computer-readable storage medium according to the present invention, the computer-readable storage medium can be configured to store a program that performs the self-tuning-based temperature control method of the above-described method embodiments. This program can be loaded and run by a processor to implement the above-described self-tuning-based temperature control method. For ease of explanation, only the parts related to the embodiments of the present invention are shown; for specific technical details not disclosed, please refer to the method section of the embodiments of the present invention. The computer-readable storage medium can be a storage device comprising various electronic devices. Optionally, in the embodiments of the present invention, the computer-readable storage medium is a non-transitory computer-readable storage medium.
[0151] Furthermore, the present invention also provides a heating device, including a control device, which operates to execute the self-tuning-based temperature control method described in any of the above-described technical solutions.
[0152] Furthermore, it should be understood that since the various modules are only provided to illustrate the functional units of the device of the present invention, the physical devices corresponding to these modules may be the processor itself, or a part of the processor's software, hardware, or a combination of software and hardware. Therefore, the number of modules shown in the figures is merely illustrative.
[0153] Those skilled in the art will understand that the various modules in the device can be adaptively split or combined. Such splitting or combining of specific modules will not cause the technical solution to deviate from the principles of the present invention; therefore, the technical solutions after splitting or combining will fall within the protection scope of the present invention.
[0154] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after such changes or substitutions will all fall within the scope of protection of the present invention.
Claims
1. A self-tuning-based temperature control method, applied to heating equipment, characterized in that, include: Determine whether the preset self-tuning conditions for the correction coefficient are met; If the preset correction coefficient self-tuning condition is met, then the second correction coefficient at the second target temperature is obtained; Based on the second correction coefficient, the second target temperature, and the preset duty cycle fitting coefficient, the initial duty cycle of the heating device at the second target temperature is obtained; Based on the initial duty cycle, the current temperature of the heating device is adjusted using a proportional-integral-differential algorithm to bring the current temperature to the second target temperature. Wherein, the preset duty cycle fitting coefficient represents the relationship between the preset duty cycle and the second target temperature; The step of obtaining the initial duty cycle of the heating device at the second target temperature based on the second correction coefficient, the second target temperature, and the preset duty cycle fitting coefficient includes: According to the formula: Y = α² × (a × Tset² + b) The initial duty cycle Y is obtained, where α2 is the second correction coefficient, Tset2 is the second target temperature, and a and b are the preset duty cycle fitting coefficients; The step of obtaining the second correction coefficient at the second target temperature includes: Obtain the second stable duty cycle of the heating device at the second target temperature; According to the formula: , The second correction coefficient is obtained. ,in For the second stable duty cycle, denoted as the second target temperature, and a and b as preset duty cycle fitting coefficients.
2. The temperature control method based on self-tuning according to claim 1, characterized in that, Determine whether the preset self-tuning conditions for the correction coefficients are met, including: Obtain the preset duty cycle at the first target temperature and the first stable duty cycle at the first target temperature; Based on the preset duty cycle and the first stable duty cycle, determine whether to perform self-tuning on the correction coefficient; And / or, obtain the usage time of the heating device, and determine whether to self-tune the correction coefficient based on the usage time of the heating device and a preset threshold.
3. The temperature control method based on self-tuning according to claim 2, characterized in that, Obtaining the preset duty cycle at the first target temperature includes: Obtain the preset duty cycle fitting coefficients; Based on the preset duty cycle fitting coefficient, the pre-stored first correction coefficient, and the first target temperature, the preset duty cycle of the heating device at the first target temperature is calculated; The step of calculating the preset duty cycle of the heating device at the first target temperature based on the preset duty cycle fitting coefficient, the pre-stored first correction coefficient, and the first target temperature includes: According to the formula: Y = α × (a × Tset + b), The preset duty cycle Y at the first target temperature is obtained, where α is the first correction coefficient, a and b are both preset duty cycle fitting coefficients, and Tset is the first target temperature.
4. The temperature control method based on self-tuning according to claim 2, characterized in that, Determining whether to self-tune the correction coefficient based on the preset duty cycle and the stable duty cycle includes: Based on the preset duty cycle and the stable duty cycle, a first ratio is obtained; If the first ratio is outside the preset threshold range, it is determined that the correction coefficient needs to be self-tuned.
5. The temperature control method based on self-tuning according to claim 2, characterized in that, Determining whether to self-tune the correction coefficient based on the usage time of the heating equipment and a preset threshold includes: Obtain the current cumulative usage time of the heating equipment; Determine whether the current cumulative usage time of the heating device is greater than a preset first time threshold; If the value exceeds the preset first time threshold, it is determined that the correction coefficient needs to be self-tuned. And / or, obtain the initial system time and current system time of the heating equipment; Based on the initial system time and the current system time, the difference between the two is calculated to obtain the first difference; Determine whether the first difference is greater than a preset second time threshold; If the time value exceeds the preset second time threshold, it is determined that the correction coefficient needs to be self-tuned.
6. A control device comprising a processor and a storage device, said storage device being adapted to store a plurality of computer programs, characterized in that, The computer program is adapted to be loaded and run by the processor to perform the self-tuning-based temperature control method according to any one of claims 1 to 5.
7. A computer-readable storage medium storing a plurality of computer programs, characterized in that, The computer program is adapted to be loaded and run by a processor to perform the self-tuning-based temperature control method according to any one of claims 1 to 5.
8. A heating device, comprising a control device, characterized in that, The control device operates to perform the self-tuning-based temperature control method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Self-adaptive temperature control method for cooking equipment
CN113485482A
Electric oven and method for controlling temperature of inner container of electric oven
CN114271706A