A temperature control method, a computer-readable storage medium, and an electronic device.
By acquiring the load parameters and target temperature within the heating equipment and using parameter adjustment coefficients to correct the PID parameters, the problem of inaccurate temperature control under different loads in the heating equipment is solved, thus achieving refined temperature control.
Patent Information
- Application Number
- CN202310892483.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-20
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-07-20
AI Technical Summary
In existing technologies, heating equipment using PID algorithms for temperature control fails to make fine adjustments for different loads, resulting in an inability to achieve precise temperature control.
By acquiring the current load parameters and target temperature within the heating equipment, the pre-stored PID parameters are corrected using parameter adjustment coefficients to obtain the target corrected PID parameters. In the temperature control stage, a proportional-integral-derivative algorithm is used for temperature control.
It enables precise temperature control for different loads, improving the accuracy and efficiency of temperature control.
Smart Images

Figure CN117008655B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of temperature control technology, and specifically provides a temperature control method, a computer-readable storage medium, and an electronic device. Background Technology
[0002] Heating equipment is widely used in current technology, and temperature control of heating equipment is typically achieved using PID (Proportional Integral Differential) algorithms. When using PID algorithms for temperature control, it is usually necessary to find suitable control parameters to achieve fast and accurate temperature control.
[0003] In related technologies, when using PID algorithms for temperature control, it is usually necessary to find suitable PID parameters, such as proportional, integral, and derivative parameters, through trial and error. This is complex, inconvenient, and does not allow for fine-tuning of control parameters for different loads. For example, some ovens may have recipe options, but different recipes may correspond to the same heating mode and use the same PID parameters, making it impossible to achieve fine-tuned temperature control based on recipe type. Summary of the Invention
[0004] The present invention aims to solve the above-mentioned technical problems, namely, to solve the problem that existing technologies do not allow for fine adjustment of control parameters for different loads, thus failing to achieve fine temperature control for different loads.
[0005] In a first aspect, the present invention provides a temperature control method applied to a heating device, the method comprising:
[0006] Obtain the current load parameters and target temperature within the heating equipment;
[0007] Obtain the parameter adjustment coefficient corresponding to the current load parameter and correct the pre-stored PID parameter based on the parameter adjustment coefficient to obtain the target corrected PID parameter;
[0008] During the temperature control phase, a proportional-integral-derivative algorithm is used to control the temperature based on the target temperature and the target corrected PID parameters, so as to stabilize the current temperature to the target temperature.
[0009] In some embodiments, obtaining the parameter adjustment coefficient corresponding to the current load parameter includes:
[0010] Based on the pre-stored table of load parameters and parameter adjustment coefficients, determine the parameter adjustment coefficient corresponding to the current load parameters.
[0011] In some embodiments, the relationship table between the load parameters and parameter adjustment coefficients is constructed through the following steps:
[0012] Obtain the pre-stored no-load duty cycle at the target temperature;
[0013] Obtain the actual load duty cycle of the heating device when it reaches the target temperature under at least one test load parameter;
[0014] Based on the ratio of the actual load duty cycle to the no-load duty cycle, a parameter adjustment coefficient corresponding to the test load parameter is obtained, and a relationship table between the load parameter and the parameter adjustment coefficient is constructed based on the at least one test load parameter and the parameter adjustment coefficient corresponding to the test load parameter.
[0015] In some embodiments, the method further includes:
[0016] Obtain the no-load duty cycle corresponding to the target temperature when the heating device is set at the factory and store the no-load duty cycle;
[0017] or,
[0018] Obtain the actual no-load duty cycle of the heating device at the target temperature and store the actual no-load duty cycle.
[0019] In some embodiments, the pre-stored PID parameters are corrected based on the parameter adjustment coefficient to obtain the target corrected PID parameters, including:
[0020] The control sensitivity is at least corrected based on the parameter adjustment coefficients;
[0021] The target modified PID parameters are obtained based at least on the modified control sensitivity.
[0022] In some embodiments, obtaining the target modified PID parameters based at least on the modified control sensitivity includes:
[0023] Based on the modified control sensitivity, at least one of the modified proportional parameter, integral parameter, and derivative parameter is obtained;
[0024] The target modified PID parameter is obtained based on at least one of the modified proportional parameter, integral parameter, and derivative parameter.
[0025] In some embodiments, correcting the control sensitivity based on the parameter adjustment coefficient includes:
[0026] The control sensitivity and initial duty cycle are corrected based on the parameter adjustment coefficients.
[0027] The process of obtaining the target modified PID parameters based at least on the modified control sensitivity includes:
[0028] The target modified PID parameters are obtained based on the modified control sensitivity and the modified initial duty cycle.
[0029] In some embodiments, the method further includes:
[0030] During the heating phase, the overshoot fitting coefficient corresponding to the current load parameters is obtained;
[0031] Temperature control is performed based on the overshoot fitting coefficient.
[0032] In some embodiments, obtaining the overshoot fitting coefficients corresponding to the current load parameters includes:
[0033] Acquire at least three sets of historical load heating data for the heating device under the current load parameters, wherein the historical load heating data includes the historical load full-load stop point and the historical load overshoot;
[0034] By performing linear fitting on the at least three sets of historical load heating data using the least squares method, the overshoot fitting coefficient corresponding to the current load parameters is obtained.
[0035] In some embodiments, obtaining the current load parameters within the heating device includes obtaining the current recipe type and / or ingredient size within the heating device.
[0036] In a second aspect, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the temperature control method described in any of the preceding claims.
[0037] In a third aspect, the present invention provides an electronic device comprising:
[0038] At least one processor;
[0039] And, a memory communicatively connected to the at least one processor;
[0040] The memory stores a computer program, which, when executed by the at least one processor, implements the temperature control method described above.
[0041] Solution 1. A temperature control method, characterized in that it is applied to a heating device, the method comprising:
[0042] Obtain the current load parameters and target temperature within the heating equipment;
[0043] Obtain the parameter adjustment coefficient corresponding to the current load parameter and correct the pre-stored PID parameter based on the parameter adjustment coefficient to obtain the target corrected PID parameter;
[0044] During the temperature control phase, a proportional-integral-derivative algorithm is used to control the temperature based on the target temperature and the target corrected PID parameters, so as to stabilize the current temperature to the target temperature.
[0045] Solution 2. The method according to Solution 1, characterized in that, obtaining the parameter adjustment coefficient corresponding to the current load parameter includes:
[0046] Based on the pre-stored table of load parameters and parameter adjustment coefficients, determine the parameter adjustment coefficient corresponding to the current load parameters.
[0047] Solution 3. The method described in Solution 2, characterized in that the relationship table between the load parameters and parameter adjustment coefficients is constructed through the following steps:
[0048] Obtain the pre-stored no-load duty cycle at the target temperature;
[0049] Obtain the actual load duty cycle of the heating device when it reaches the target temperature under at least one test load parameter;
[0050] Based on the ratio of the actual load duty cycle to the no-load duty cycle, a parameter adjustment coefficient corresponding to the test load parameter is obtained, and a relationship table between the load parameter and the parameter adjustment coefficient is constructed based on the at least one test load parameter and the parameter adjustment coefficient corresponding to the test load parameter.
[0051] Solution 4. The method according to Solution 3, characterized in that the method further includes:
[0052] Obtain the no-load duty cycle corresponding to the target temperature when the heating device is set at the factory and store the no-load duty cycle;
[0053] or,
[0054] Obtain the actual no-load duty cycle of the heating device at the target temperature and store the actual no-load duty cycle.
[0055] Solution 5. The method according to Solution 1, characterized in that, based on the parameter adjustment coefficient, the pre-stored PID parameters are corrected to obtain the target corrected PID parameters, including:
[0056] The control sensitivity is at least corrected based on the parameter adjustment coefficients;
[0057] The target modified PID parameters are obtained based at least on the modified control sensitivity.
[0058] Solution 6. The method according to Solution 5, characterized in that obtaining the target modified PID parameters based at least on the modified control sensitivity includes:
[0059] Based on the modified control sensitivity, at least one of the modified proportional parameter, integral parameter, and derivative parameter is obtained;
[0060] The target modified PID parameter is obtained based on at least one of the modified proportional parameter, integral parameter, and derivative parameter.
[0061] Solution 7. The method according to Solution 5, characterized in that, at least the correction of control sensitivity based on the parameter adjustment coefficient includes:
[0062] The control sensitivity and initial duty cycle are corrected based on the parameter adjustment coefficients.
[0063] The process of obtaining the target modified PID parameters based at least on the modified control sensitivity includes:
[0064] The target modified PID parameters are obtained based on the modified control sensitivity and the modified initial duty cycle.
[0065] Solution 8. The method according to any one of Solutions 1 to 7, characterized in that the method further comprises:
[0066] During the heating phase, the overshoot fitting coefficient corresponding to the current load parameters is obtained;
[0067] Temperature control is performed based on the overshoot fitting coefficient.
[0068] Solution 9. The method according to Solution 8, characterized in that, obtaining the overshoot fitting coefficient corresponding to the current load parameter includes:
[0069] Acquire at least three sets of historical load heating data for the heating device under the current load parameters, wherein the historical load heating data includes the historical load full-load stop point and the historical load overshoot;
[0070] By performing linear fitting on the at least three sets of historical load heating data using the least squares method, the overshoot fitting coefficient corresponding to the current load parameters is obtained.
[0071] Solution 10. The method according to Solution 1, characterized in that, obtaining the current load parameters in the heating device includes obtaining the current recipe type and / or ingredient size in the heating device.
[0072] Scheme 11. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, which, when executed by a processor, implements the temperature control method described in any one of Schemes 1 to 10.
[0073] Solution 12. An electronic device, characterized in that it comprises:
[0074] At least one processor;
[0075] And, a memory communicatively connected to the at least one processor;
[0076] The memory stores a computer program, which, when executed by the at least one processor, implements the temperature control method as described in any one of schemes 1 to 10.
[0077] By employing the above technical solution, this invention can acquire the current load parameters and target temperature within the heating equipment; acquire the parameter adjustment coefficient corresponding to the current load parameters and correct the pre-stored PID parameters based on the parameter adjustment coefficient to obtain the target corrected PID parameters; during the temperature control stage, a proportional-integral-derivative algorithm is used to control the temperature based on the target temperature and the target corrected PID parameters to stabilize the current temperature to the set temperature. This method, by correcting the pre-stored PID parameters based on the parameter adjustment coefficient, can obtain the target corrected PID parameters corresponding to the current load parameters, enabling fine-tuning of PID parameters for different loads, thereby achieving the beneficial effect of fine-tuned temperature control for different loads. Attached Figure Description
[0078] The preferred embodiments of the present invention are described below with reference to the accompanying drawings, in which:
[0079] Figure 1 This is a schematic diagram of the main steps of the temperature control method provided in the embodiments of the present invention;
[0080] Figure 2 This is a schematic flowchart of the method for constructing a table relating load parameters and parameter adjustment coefficients provided in an embodiment of the present invention;
[0081] Figure 3 This is a schematic flowchart of the method for determining target modified PID parameters provided in an embodiment of the present invention;
[0082] Figure 4 This is a schematic diagram of the temperature control method provided in a preferred embodiment of the present invention;
[0083] Figure 5 This is a schematic diagram of the electronic device structure provided in an embodiment of the present invention. Detailed Implementation
[0084] 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.
[0085] As described in the background section, in related technologies, when using PID algorithms for temperature control, the same PID parameters are typically used for different load parameters, such as recipes, making it impossible to achieve fine-grained temperature control for different load parameters. In view of this, the present invention provides a temperature control method that, by correcting pre-stored PID parameters based on parameter adjustment coefficients, obtains target corrected PID parameters corresponding to the current load parameters. This allows for fine-grained adjustment of PID parameters for different loads, thereby achieving the beneficial effect of fine-grained temperature control.
[0086] See Figure 1 As shown, Figure 1 This is a schematic flowchart of the main steps of the temperature control method provided in this embodiment of the invention, which can be applied to heating equipment, including:
[0087] Step S11: Obtain the current load parameters and target temperature within the heating equipment;
[0088] Step S12: Obtain the parameter adjustment coefficient corresponding to the current load parameters and correct the pre-stored PID parameters based on the parameter adjustment coefficient to obtain the target corrected PID parameters;
[0089] Step S13: In the temperature control stage, the proportional-integral-derivative algorithm is used to control the temperature based on the target temperature and the target corrected PID parameters, so as to stabilize the current temperature to the target temperature.
[0090] In some embodiments, obtaining the current load parameters within the heating device in step S11 may include obtaining the current recipe type and / or ingredient size within the heating device.
[0091] In some embodiments, the recipe type can be obtained by acquiring the recipe information entered by the user or the selected preset recipe option, and used as the current load parameter.
[0092] In some embodiments, the size of the food can be identified by an image acquisition device on the heating device or obtained based on user input, and the size of the food can be used as the current load parameter.
[0093] In some embodiments, obtaining the target temperature of the heating device in step S11 can be done in response to an operation that sets a temperature for the user, using the user-set temperature as the target temperature.
[0094] In some embodiments, obtaining the parameter adjustment coefficient corresponding to the current load parameter in step S12 can specifically involve determining the parameter adjustment coefficient corresponding to the current load parameter based on a pre-stored table of load parameters and parameter adjustment coefficients.
[0095] In some embodiments, see Figure 2 As shown, the relationship table between load parameters and parameter adjustment coefficients can be constructed through the following steps:
[0096] Step S21: Obtain the pre-stored no-load duty cycle at the target temperature;
[0097] Step S22: Obtain the actual load duty cycle corresponding to the heating equipment reaching the target temperature under at least one test load parameter;
[0098] Step S23: Based on the ratio of the actual load duty cycle to the no-load duty cycle, obtain the parameter adjustment coefficient corresponding to the test load parameter, and construct a relationship table between the load parameter and the parameter adjustment coefficient based on at least one test load parameter and the parameter adjustment coefficient corresponding to the test load parameter.
[0099] In some embodiments, before performing step S21, the method provided by the present invention may further include:
[0100] Obtain the no-load duty cycle corresponding to the target temperature set by the factory of the heating equipment and store the no-load duty cycle;
[0101] or,
[0102] Obtain the actual no-load duty cycle of the heating equipment at the target temperature and store the actual no-load duty cycle.
[0103] Accordingly, step S21 can specifically involve obtaining the pre-stored factory-set no-load duty cycle of the heating device, or obtaining the actual no-load duty cycle of the heating device. Obtaining the actual no-load duty cycle of the heating device at the target temperature avoids the problem of the heating device's performance changing over time compared to its factory setting. The actual no-load duty cycle is more consistent with the actual control process than the factory-set no-load duty cycle.
[0104] In some embodiments, step S22 may specifically involve obtaining the duty cycle corresponding to the heating device reaching a steady state at the target temperature under at least one test load parameter, and using it as the actual load duty cycle.
[0105] In some embodiments, the test load parameters can correspond one-to-one with the parameter adjustment coefficients. In step S23, a table showing the relationship between load parameters and parameter adjustment coefficients can be constructed based on the test load parameters and the corresponding parameter adjustment coefficients.
[0106] It should be noted that in some embodiments, load parameter and parameter adjustment coefficient relationship tables can be constructed separately for multiple different target temperatures.
[0107] In some embodiments, see Figure 3 The step S12, which involves correcting the pre-stored PID parameters based on the parameter adjustment coefficient to obtain the target corrected PID parameters, may include:
[0108] Step S31: Correct the control sensitivity at least based on the parameter adjustment coefficient;
[0109] Step S32: Obtain the target modified PID parameters based at least on the modified control sensitivity.
[0110] In this embodiment of the invention, control sensitivity represents the change in initial duty cycle for every 1°C change in target temperature under no-load conditions. Under load conditions, the initial duty cycle required to increase by 1°C for every 1°C increase in target temperature is relatively larger than that required under no-load conditions; therefore, control sensitivity under load conditions is also greater than that under no-load conditions. Furthermore, the initial duty cycle and control sensitivity differ for different load parameters.
[0111] In this embodiment of the invention, the PID parameters are linearly related to the control sensitivity and the initial duty cycle. Considering that the control sensitivity and the initial duty cycle will be different for different load parameters, the target modified PID parameters can be obtained by modifying the control sensitivity and / or the initial duty cycle for different load parameters.
[0112] In some embodiments, step S31 may be to select to correct the control sensitivity and / or the initial duty cycle according to preset conditions. The preset conditions may be set based on the control sensitivity and / or the initial duty cycle. For example, the corresponding threshold may be set based on the values of the control sensitivity and / or the initial duty cycle as the preset conditions for starting the correction. Alternatively, the corresponding threshold may be set based on the numerical relationship between the control sensitivity and the initial duty cycle, such as a multiple relationship or a numerical difference relationship. The preset conditions are not limited to the example here, and those skilled in the art can flexibly set them according to actual needs.
[0113] The following explanation uses the numerical relationship between control sensitivity and initial duty cycle as an example to illustrate the preset conditions. In some embodiments, when the ratio of initial duty cycle to control sensitivity is less than a first threshold or greater than a second threshold, wherein the second threshold is greater than the first threshold, the first preset condition is considered met. In this case, only the control sensitivity is corrected based on the parameter adjustment coefficient. In some embodiments, the corrected control sensitivity can be obtained by multiplying the parameter adjustment coefficient and the control sensitivity.
[0114] In some preferred embodiments, step S31 may specifically involve selecting to correct both the control sensitivity and the initial duty cycle according to preset conditions. These preset conditions may be set based on the control sensitivity and / or the initial duty cycle. For example, corresponding thresholds may be set based on the values of the control sensitivity and / or the initial duty cycle as preset conditions for starting correction. Alternatively, corresponding thresholds may be set based on the numerical relationship between the control sensitivity and the initial duty cycle, such as a multiple relationship or a numerical difference relationship, as conditions for starting correction.
[0115] As an example, preset conditions can be set based on the numerical relationship between control sensitivity and initial duty cycle. In some embodiments, when the ratio of initial duty cycle to control sensitivity is greater than a third threshold and less than a fourth threshold, the second preset condition is considered met. At this time, the control sensitivity and initial duty cycle can be corrected based on parameter adjustment coefficients. The third threshold can be greater than or equal to the first threshold, and the fourth threshold can be less than or equal to the second threshold. In some embodiments, the corrected control sensitivity can be obtained by multiplying the parameter adjustment coefficient and control sensitivity; the corrected initial duty cycle can be obtained by multiplying the parameter adjustment coefficient and initial duty cycle; and the target corrected PID parameter can be obtained based on the corrected control sensitivity and the corrected initial duty cycle.
[0116] In some embodiments, when only the control sensitivity is corrected based on the parameter adjustment coefficient, step S32 may specifically be as follows:
[0117] Based on the modified control sensitivity, at least one of the modified proportional parameter, integral parameter, and derivative parameter is obtained;
[0118] The target corrected PID parameter is obtained based on at least one of the corrected proportional parameter, integral parameter, and derivative parameter.
[0119] In other embodiments, when the control sensitivity and initial duty cycle are corrected based on the parameter adjustment coefficient, the target corrected PID parameters can be obtained based on the corrected control sensitivity and the corrected initial duty cycle.
[0120] In some embodiments, at least one of the corrected proportional parameter, integral parameter, and derivative parameter can be obtained based on the corrected control sensitivity and the corrected initial duty cycle. The target corrected PID parameter is obtained based on at least one of the corrected proportional parameter, integral parameter, and derivative parameter, thereby obtaining the target corrected PID parameter corresponding to the load parameter.
[0121] In some embodiments, step S13 may specifically be: obtaining the pre-stored initial duty cycle corresponding to the target temperature, converting the pre-stored initial duty cycle, determining the initial value of the integral parameter corresponding to the first adjustment; and using a PID algorithm to regulate the temperature of the heating device based on the initial value of the integral parameter and the target correction PID parameter, so that the current temperature is stabilized to the target temperature.
[0122] In some embodiments, the pre-stored initial duty cycle can be the duty cycle corresponding to the heating device reaching a steady state at the target temperature when it is in an unloaded state, or it can be the actual duty cycle corresponding to the heating device reaching a steady state at the target temperature during use.
[0123] In other embodiments, step S13 may further be specifically:
[0124] Obtain the pre-stored initial duty cycle corresponding to the target temperature, and correct it using the parameter adjustment coefficient corresponding to the current load parameters to obtain the corrected pre-stored initial duty cycle;
[0125] The corrected pre-stored initial duty cycle is converted to determine the initial value of the corrected integral parameter for the first adjustment. Based on the initial value of the corrected integral parameter and the target corrected PID parameter, the PID algorithm is used to regulate the temperature of the heating equipment so that the current temperature is stabilized to the target temperature.
[0126] The above describes a temperature control method provided by an embodiment of the present invention. This method can be applied to heating equipment and can acquire the current load parameters and target temperature within the heating equipment. It acquires the parameter adjustment coefficient corresponding to the current load parameters and corrects pre-stored PID parameters based on the parameter adjustment coefficient to obtain target corrected PID parameters. During the temperature control phase, a proportional-integral-derivative (PID) algorithm is used to control the temperature based on the target temperature and the target corrected PID parameters, so that the current temperature stabilizes to the set temperature. This method, by correcting pre-stored PID parameters based on the parameter adjustment coefficient, can obtain target corrected PID parameters corresponding to the current load parameters. This allows for fine-tuning of PID parameters for different loads, thereby achieving the beneficial effect of fine-tuned temperature control for different loads.
[0127] In some embodiments, the temperature control method provided by the present invention may further include a heating stage. In order to achieve more effective and accurate temperature control for different load parameters, the correlation coefficient of the heating stage may be adjusted, as described below.
[0128] See Figure 4 As shown, Figure 4 This is a schematic flowchart of a temperature control method provided in a preferred embodiment of the present invention, which can be applied to heating equipment, including:
[0129] Step S41: Obtain the current load parameters and target temperature within the heating equipment;
[0130] Step S42: Obtain the parameter adjustment coefficient corresponding to the current load parameters and correct the pre-stored PID parameters based on the parameter adjustment coefficient to obtain the target corrected PID parameters;
[0131] Step S43: During the heating phase, obtain the overshoot fitting coefficients corresponding to the current load parameters;
[0132] Step S44: Control the temperature rise based on the overshoot fitting coefficient;
[0133] Step S45: In the temperature control stage, the proportional-integral-derivative algorithm is used to control the temperature based on the target temperature and the target corrected PID parameters, so as to stabilize the current temperature to the target temperature.
[0134] Steps S41, S42, and S45 can be implemented in the same way as steps S11-S13. For the sake of brevity, they will not be described in detail here. Please refer to the description above for details.
[0135] In some embodiments, during the heating phase, in order to reduce the heating time, the heating components in the heating device can be controlled to operate at full power.
[0136] Step S43 can be achieved through the following steps:
[0137] Acquire at least three sets of historical load heating data for the heating equipment under the current load parameters. The historical load heating data includes the historical load full-load stop point and the historical load overshoot.
[0138] By performing linear fitting on at least three sets of historical load heating data using the least squares method, the overshoot fitting coefficients corresponding to the current load parameters are obtained.
[0139] The historical load full-start stop point can be the temperature at which heating stops during the historical heating phase under the current load. The historical load overshoot corresponds to the historical load full-start stop point. The historical load overshoot is the temperature rise relative to the historical load full-start stop point after heating stops at the historical load full-start stop point, due to measurement lag in the temperature measuring device or other reasons.
[0140] In some embodiments, step S44 may specifically involve determining the full-load stop point based on the current load parameters, the target temperature, and the overshoot fitting coefficient corresponding to the current load parameters, and stopping heating when the temperature inside the heating device reaches the full-load stop point.
[0141] By controlling the heating equipment to stop heating when the temperature reaches the full-load stop point, the temperature inside the heating equipment will continue to rise by the corresponding load overshoot, thereby reaching the target temperature. Because the temperature will still fluctuate after reaching the target temperature, the temperature regulation phase begins.
[0142] It should be noted that steps S43 and S44 corresponding to the heating stage can be executed after step S41 and before step S45. This embodiment only shows that step S43 is executed after S42, and does not impose any special restrictions on the execution order of S43 and S44 with S42.
[0143] The above describes a temperature control method provided by a preferred embodiment of the present invention. This method involves: acquiring the current load parameters and the target temperature of the heating device; acquiring the parameter adjustment coefficient corresponding to the current load parameters and correcting pre-stored PID parameters based on the parameter adjustment coefficient to obtain target corrected PID parameters; during the heating phase, acquiring the overshoot fitting coefficient corresponding to the current load parameters and performing heating control based on the overshoot fitting coefficient; and during the temperature regulation phase, using a proportional-integral-derivative algorithm based on the target temperature and the target corrected PID parameters to regulate the temperature and stabilize the current temperature to the set temperature. This method can achieve the same results as described above. Figure 1 The same beneficial effects as the corresponding embodiments are achieved, and by controlling the temperature rise based on the overshoot fitting coefficient corresponding to the current load parameters during the heating stage, the accuracy of temperature control for different load parameters can be further improved.
[0144] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments 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 computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable storage medium can include any entity or device capable of carrying the computer program code, 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.
[0145] In another aspect, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the temperature control method described in any of the above embodiments. This computer-readable storage medium may 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.
[0146] Another aspect of the present invention provides an electronic device that may include at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program that, when executed by the at least one processor, implements the temperature control method described in any of the above embodiments.
[0147] See Figure 5 As shown, Figure 5 The example shows a configuration where memory 51 and processor 52 are connected via a bus, and both memory 51 and processor 52 are configured with only one instance.
[0148] In other embodiments, the electronic device may include multiple memories 51 and multiple processors 52. The program executing the temperature control method of any of the above embodiments may be divided into multiple subroutines, each of which may be loaded and run by a processor to perform different steps of the temperature control method of the above method embodiments. Specifically, each subroutine may be stored in a different memory 51, and each processor 52 may be configured to execute programs in one or more memories 51 to jointly implement the temperature control method of the above method embodiments.
[0149] In other embodiments, the present invention also provides a steam oven, which includes a steam oven body and the aforementioned electronic equipment. The steam oven can implement the temperature control methods of any of the above embodiments and achieve the same beneficial effects as the same embodiments.
[0150] In some embodiments, the steam oven may also include a temperature sensor disposed within the steam oven.
[0151] 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 temperature control method characterized by, Applied to heating equipment, the method includes: Obtain the current load parameters and target temperature within the heating device. The current load parameters include the current recipe type and / or ingredient size within the heating device. Obtain the parameter adjustment coefficient corresponding to the current load parameter and correct the pre-stored PID parameter based on the parameter adjustment coefficient to obtain the target corrected PID parameter; obtaining the parameter adjustment coefficient corresponding to the current load parameter includes: determining the parameter adjustment coefficient corresponding to the current load parameter according to the pre-stored load parameter and parameter adjustment coefficient relationship table; correcting the pre-stored PID parameter based on the parameter adjustment coefficient to obtain the target corrected PID parameter includes: correcting at least the control sensitivity based on the parameter adjustment coefficient; obtaining the target corrected PID parameter based at least on the corrected control sensitivity; wherein, the corrected control sensitivity is obtained by multiplying the parameter adjustment coefficient and the control sensitivity; the control sensitivity represents the change in the initial duty cycle for every 1°C change in the target temperature under no-load conditions, and the PID parameter has a linear relationship with the control sensitivity and the initial duty cycle; the load parameter and parameter adjustment coefficient relationship table is constructed through the following steps: Obtain the pre-stored no-load duty cycle at the target temperature; Obtain the actual load duty cycle corresponding to the heating device reaching the target temperature under at least one test load parameter; Based on the ratio of the actual load duty cycle to the no-load duty cycle, the parameter adjustment coefficient corresponding to the test load parameter is obtained, and a relationship table between the load parameter and the parameter adjustment coefficient is constructed based on the at least one test load parameter and the parameter adjustment coefficient corresponding to the test load parameter. During the temperature control phase, a proportional-integral-derivative algorithm is used to control the temperature based on the target temperature and the target corrected PID parameters, so as to stabilize the current temperature to the target temperature.
2. The method according to claim 1, characterized in that, The method further includes: Obtain the no-load duty cycle corresponding to the target temperature when the heating device is set at the factory and store the no-load duty cycle; or, Obtain the actual no-load duty cycle of the heating device at the target temperature and store the actual no-load duty cycle.
3. The method according to claim 1, characterized in that, The process of obtaining the target modified PID parameters based at least on the modified control sensitivity includes: Based on the modified control sensitivity, at least one of the modified proportional parameter, integral parameter, and derivative parameter is obtained; The target modified PID parameter is obtained based on at least one of the modified proportional parameter, integral parameter, and derivative parameter.
4. The method according to claim 1, characterized in that, Correcting the control sensitivity based on the aforementioned parameter adjustment coefficient includes at least the following: The control sensitivity and initial duty cycle are corrected based on the parameter adjustment coefficients. The process of obtaining the target modified PID parameters based at least on the modified control sensitivity includes: The target modified PID parameters are obtained based on the modified control sensitivity and the modified initial duty cycle.
5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: During the heating phase, the overshoot fitting coefficient corresponding to the current load parameters is obtained; Temperature control is performed based on the overshoot fitting coefficient.
6. The method according to claim 5, characterized in that, The process of obtaining the overshoot fitting coefficients corresponding to the current load parameters includes: Acquire at least three sets of historical load heating data for the heating device under the current load parameters, wherein the historical load heating data includes the historical load full-load stop point and the historical load overshoot; By performing linear fitting on the at least three sets of historical load heating data using the least squares method, the overshoot fitting coefficient corresponding to the current load parameters is obtained.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the temperature control method according to any one of claims 1 to 6.
8. An electronic device, characterized in that, include: At least one processor; And, a memory communicatively connected to the at least one processor; The memory stores a computer program, which, when executed by the at least one processor, implements the temperature control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Steam oven heating control method and device and steam oven
CN112426056A
Control parameter adjustment method and device, electronic equipment and storage medium
CN114415497A
