An Electric Cooker Power Control Method and System Based on PID Adaptive Control
Through the electric fire stove power control method based on PID adaptive control, the PID parameters and power input of the electric fire stove are dynamically adjusted, which solves the problems of multi-power adaptability and dynamic power control of the electric fire stove, and realizes the stability and efficiency improvement of the electric fire stove under different power supply methods.
Patent Information
- Application Number
- CN202510502969.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2045-04-22
AI Technical Summary
The existing power control scheme of electric thermal stoves fails to fully consider the needs of multi-power adaptability and power dynamic control, resulting in unstable plasma arc activation and low combustion efficiency under power supply of mains, storage batteries and new energy vehicle batteries.
The power control method of electric fire stove based on PID adaptive control is adopted. By obtaining the temperature changes and power input of the cooker in real time, the PID parameters are dynamically adjusted, and combined with the power smoothing mechanism, the stability and efficiency of the electric fire stove under different power supply methods are achieved.
The stability and efficiency of electric thermal stove power control under the power supply mode of mains, storage batteries and new energy vehicles has been improved, adapting to changes in various power supply conditions, and ensuring the efficient operation of electric thermal stove in different application scenarios.
Smart Images

Figure CN120010234B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power control of electric stoves, and particularly to a power control method and system for an electric stove based on PID adaptive control. Background Art
[0002] The electric stove adopts low-temperature plasma technology and cooks through a plasma torch that outputs stable power at multiple points. The working principle of the electric stove relies on activating an arc by electrifying, further ionizing air to generate ions, and finally achieving stable combustion. Currently, the control method of the electric stove is relatively simple, and the power control lacks self-adaptability. Under different power supply conditions such as mains power supply, mobile battery power supply, and new energy vehicle battery power supply, the electric stove will be affected by factors such as voltage fluctuations and power limitations during the power-on stage, resulting in problems such as unstable activation of the plasma arc and low combustion efficiency.
[0003] The existing power control schemes for electric stoves do not fully consider the multi-power adaptability and power dynamic control requirements of electric stoves. Therefore, there is an urgent need for a power control scheme for electric stoves that can adapt to multiple power supply methods. Summary of the Invention
[0004] The present invention provides a power control method and system for an electric stove based on PID adaptive control, which can be applied to multiple power supply methods such as mains power, battery, and new energy vehicle battery, and improve the stability and efficiency of the electric stove in different application scenarios.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] In the first aspect, the present invention provides a power control method for an electric stove based on PID adaptive control, and the method includes:
[0007] Based on the actual temperature change of the cookware set on the electric stove obtained in real time during the cooking process and the actual power input of the electric stove, determine the cookware heat capacity of the cookware at the current moment and the heat capacity change rate relative to the previous moment;
[0008] Based on the adaptive PID control algorithm, dynamically adjust the PID parameters of the electric stove according to the cookware heat capacity and the heat capacity change rate;
[0009] Determine the power adjustment value of the electric stove according to the adjusted PID parameters and the current temperature error of the electric stove; the current temperature error is the difference between the preset target temperature and the actual temperature of the cookware at the current moment;
[0010] Determine the current calculated power input according to the historical power input of the electric stove at the previous moment and the power adjustment value;
[0011] Based on the power smoothing mechanism, determine the target power input according to the historical power input and the current calculated power input.
[0012] In a possible implementation manner, the PID parameters include a proportional gain parameter; based on the adaptive PID control algorithm, dynamically adjusting the PID parameters of the induction cooker according to the cookware heat capacity and the heat capacity change rate specifically includes:
[0013] Based on the first formula, dynamically adjust the proportional gain parameter of the induction cooker according to the cookware heat capacity;
[0014] The specific form of the first formula is:
[0015] ;
[0016] Wherein, ;
[0017] represents the adjusted proportional gain parameter, represents the preset proportional gain reference value, represents the preset maximum proportional gain, represents the preset heat capacity intermediate value, represents the preset steepness parameter of the control curve, represents the cookware heat capacity at the current moment.
[0018] In a possible implementation manner, the PID parameters further include an integral gain parameter; based on the adaptive PID control algorithm, dynamically adjusting the PID parameters of the induction cooker according to the cookware heat capacity and the heat capacity change rate specifically includes:
[0019] Based on the second formula, dynamically adjust the integral gain parameter of the induction cooker according to the cookware heat capacity;
[0020] The specific form of the second formula is:
[0021] ;
[0022] Wherein, ;
[0023] represents the adjusted integral gain parameter, represents the preset integral gain reference value, and respectively represent the preset heat capacity minimum value and the preset heat capacity maximum value, and respectively represent and the corresponding preset minimum integral gain value and preset maximum integral gain value.
[0024] In a possible implementation, the PID parameters further include a differential gain parameter; based on the adaptive PID control algorithm, dynamically adjusting the PID parameters of the electric stove according to the cookware heat capacity and the heat capacity change rate specifically includes:
[0025] Based on the third formula, dynamically adjusting the differential gain parameter of the electric stove according to the cookware heat capacity and the heat capacity change rate;
[0026] The specific form of the third formula is:
[0027] ;
[0028] wherein, ;
[0029] represents the adjusted differential gain parameter, represents a preset differential gain reference value; is a first preset function negatively correlated with the cookware heat capacity, the value of which decreases as the cookware heat capacity increases; is a second preset function positively correlated with the heat capacity change rate of the cookware, the value of which increases as the heat capacity change rate of the cookware increases.
[0030] In a possible implementation, determining the power adjustment value of the electric stove according to the adjusted PID parameters and the current temperature error of the electric stove specifically includes:
[0031] Based on the fourth formula, determining the power adjustment value of the electric stove according to the adjusted proportional gain parameter, integral gain parameter, differential gain parameter, and the current temperature error of the electric stove;
[0032] The specific form of the fourth formula is:
[0033] ;
[0034] wherein, represents the power adjustment value at the current moment , , and respectively represent the adjusted proportional gain parameter, integral gain parameter, and differential gain parameter at the current moment , represents the current temperature error corresponding to the current moment , represents any moment within the integration interval [0, t].
[0035] In a possible implementation, based on the actual temperature change of the cookware on the induction cooker obtained in real time during the cooking process and the actual power input of the induction cooker, the cookware heat capacity at the current moment and the heat capacity change rate relative to the previous moment are determined. Specifically, it includes:
[0036] Based on the fifth formula, according to the non-linear relationship between the actual temperature change of the cookware on the induction cooker obtained in real time during the cooking process and the actual power input of the induction cooker, the cookware heat capacity at the current moment is determined; the fifth formula is specifically:
[0037] ;
[0038] Wherein, represents the cookware heat capacity at the current moment, represents any moment within the integration interval , , represents the actual power input of the induction cooker at the moment of , represents the actual temperature change rate of the cookware temperature at the moment of , represents the preset sliding window time length;
[0039] Based on the sixth formula, the heat capacity change rate of the cookware at the current moment relative to the previous moment is determined; the sixth formula is specifically:
[0040] ;
[0041] Wherein, represents the heat capacity change rate, represents the cookware heat capacity at the previous moment, represents the time interval between the previous moment and the current moment.
[0042] In a possible implementation, based on the power smoothing mechanism, the target power input is determined according to the historical power input and the current calculated power input. Specifically:
[0043] Based on the seventh formula, the target power input is determined according to the historical power input and the current calculated power input; the seventh formula is specifically:
[0044] ;
[0045] Wherein, ;
[0046] Wherein, represents the target power input, represents the historical power input, Represents the current calculated power input; Represents the dynamic adjustment smoothing factor, Represents the preset maximum adjustment value, Represents the preset adjustment parameter.
[0047] In a second aspect, the present invention provides an electric cooker power control system based on PID adaptive control, and the system includes:
[0048] A first processing unit, configured to determine the cookware heat capacity of the cookware at the current moment and the heat capacity change rate relative to the previous moment according to the actual temperature change of the cookware set on the electric cooker and the actual power input of the electric cooker obtained in real time during the cooking process;
[0049] A second processing unit, configured to dynamically adjust the PID parameters of the electric cooker based on the adaptive PID control algorithm according to the cookware heat capacity and the heat capacity change rate;
[0050] A third processing unit, configured to determine the power adjustment value of the electric cooker according to the adjusted PID parameters and the current temperature error of the electric cooker; the current temperature error is the difference between the preset target temperature and the actual temperature of the cookware at the current moment;
[0051] A fourth processing unit, configured to determine the current calculated power input according to the historical power input of the electric cooker at the previous moment and the power adjustment value;
[0052] A fifth processing unit, configured to determine the target power input based on the power smoothing mechanism according to the historical power input and the current calculated power input.
[0053] In a possible implementation manner, when the PID parameters include a proportional gain parameter, the second processing unit is configured to execute:
[0054] Dynamically adjust the proportional gain parameter of the electric cooker according to the cookware heat capacity based on the first formula;
[0055] The specific form of the first formula is:
[0056] ;
[0057] Wherein, ;
[0058] Represents the adjusted proportional gain parameter, Represents the preset proportional gain reference value, Represents the preset maximum proportional gain, Represents the preset heat capacity intermediate value, Represents the preset steepness parameter of the control curve, Indicates the heat capacity of the cookware at the current moment.
[0059] In a possible implementation, when the PID parameters further include an integral gain parameter, the second processing unit is further configured to perform:
[0060] Based on the second formula, dynamically adjust the integral gain parameter of the induction cooker according to the heat capacity of the cookware;
[0061] The specific form of the second formula is:
[0062] ;
[0063] Wherein, ;
[0064] represents the adjusted integral gain parameter, represents a preset integral gain reference value, and respectively represent a preset minimum heat capacity value and a preset maximum heat capacity value, and respectively represent and the corresponding preset minimum integral gain value and preset maximum integral gain value.
[0065] In a possible implementation, when the PID parameters further include a differential gain parameter, the second processing unit is further configured to perform:
[0066] Based on the third formula, dynamically adjust the differential gain parameter of the induction cooker according to the heat capacity of the cookware and the heat capacity change rate;
[0067] The specific form of the third formula is:
[0068] ;
[0069] Wherein, ;
[0070] represents the adjusted differential gain parameter, represents a preset differential gain reference value; is a first preset function negatively correlated with the heat capacity of the cookware, whose value decreases as the heat capacity of the cookware increases; is a second preset function positively correlated with the heat capacity change rate of the cookware, whose value increases as the heat capacity change rate of the cookware increases.
[0071] In a possible implementation, the third processing unit is specifically configured to perform:
[0072] Based on the fourth formula, determine the power adjustment value of the electric cooker according to the adjusted proportional gain parameter, integral gain parameter, derivative gain parameter, and the current temperature error of the electric cooker.
[0073] The specific form of the fourth formula is:
[0074] ;
[0075] Wherein, represents the power adjustment value at the current moment , , and respectively represent the adjusted proportional gain parameter, integral gain parameter, and derivative gain parameter at the current moment , represents the current temperature error corresponding to the current moment , represents any moment within the integration interval [0, t].
[0076] In a possible implementation, the first processing unit is specifically configured to execute:
[0077] Based on the fifth formula, determine the pan heat capacity of the cookware at the current moment according to the non-linear relationship between the actual temperature change of the cookware set on the electric cooker and the actual power input of the electric cooker obtained in real time during the cooking process; the specific form of the fifth formula is:
[0078] ;
[0079] Wherein, represents the pan heat capacity at the current moment, represents any moment within the integration interval , , represents the actual power input of the electric cooker at the moment , represents the actual temperature change rate of the cookware at the moment , represents the preset sliding window time length;
[0080] Determine the rate of change of the pan heat capacity of the cookware at the current moment relative to the heat capacity at the previous moment based on the sixth formula; the specific form of the sixth formula is:
[0081] ;
[0082] Wherein, represents the rate of change of heat capacity, represents the heat capacity of the cookware at the previous moment, represents the time interval between the previous moment and the current moment.
[0083] In a possible implementation manner, the fifth processing unit is specifically configured to execute:
[0084] Based on the seventh formula, determine the target power input according to the historical power input and the current calculated power input; the seventh formula is specifically:
[0085] ;
[0086] wherein, ;
[0087] wherein, represents the target power input, represents the historical power input, represents the current calculated power input; represents the dynamic adjustment smoothing factor, represents the preset maximum adjustment value, represents the preset adjustment parameter.
[0088] In a third aspect, the present invention provides an electronic device, which includes a processor and a memory. At least one instruction, at least one program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the PID adaptive control-based electric stove power control method described in any one of the above.
[0089] In a fourth aspect, the present invention provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the PID adaptive control-based electric stove power control method described in any one of the above.
[0090] In the practical application of the electric stove power control method based on PID adaptive control provided by the embodiments of the present invention, first, the pan heat capacity and the heat capacity change rate are dynamically estimated according to the actual temperature change of the pan and the actual power input of the electric stove obtained in real time during the actual cooking process; second, the PID parameters of the electric stove are dynamically adjusted based on the adaptive PID control algorithm according to the determined pan heat capacity and heat capacity change rate; third, the difference between the preset target temperature and the actual temperature of the pan at the current moment is used as the current temperature error, and the power adjustment value of the electric stove is determined according to the current temperature error and the adjusted PID parameters; then, the current calculated power input is determined according to the historical power input of the electric stove at the previous moment and the power adjustment value; finally, the historical power input and the current calculated power input are smoothed by using the power smoothing mechanism to obtain the target power input. According to the actual temperature change of the pan set on the electric stove and the actual power input of the electric stove obtained in real time during the cooking process, the present invention dynamically estimates the pan heat capacity and the heat capacity change rate of the pan on the electric stove. The present invention uses the adaptive PID control algorithm to dynamically adjust the PID parameters of the electric stove according to the calculated pan heat capacity and heat capacity change rate to achieve precise control of the power input from different power supply devices to the electric stove; the present invention uses the power smoothing mechanism to reduce the fluctuation of the power input and make the power input more stable; therefore, the present invention can be applied to various power supply methods such as commercial power, storage batteries, and new energy vehicle batteries, improving the stability and efficiency of the electric stove in different application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0091] Figure 1 It is a flowchart of the steps of an electric stove power control method based on PID adaptive control provided by the embodiments of the present invention;
[0092] Figure 2 It is a block diagram of the structure of an electric stove power control system based on PID adaptive control provided by the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0093] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0094] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present disclosure, unless otherwise specified, the meaning of "a plurality" is two or more. Additionally, the use of "based on" or "according to" is meant to be open and inclusive, because a process, step, calculation, or other action based on or according to one or more of the stated conditions or values may, in practice, be based on additional conditions or values beyond those stated.
[0095] To address the problem that existing electric stove power control schemes do not fully consider the multi-power adaptability of electric stoves and the demand for power dynamic control, embodiments of the present invention provide an electric stove power control method and system based on PID adaptive control.
[0096] As Figure 1 shown, in a first aspect, embodiments of the present invention provide an electric stove power control method based on PID adaptive control, the method comprising:
[0097] Step 101, determine the cookware heat capacity at the current moment of the cookware and the heat capacity change rate relative to the previous moment according to the actual temperature change of the cookware set on the electric stove obtained in real time during the cooking process and the actual power input of the electric stove.
[0098] Among them, the actual temperature of the cookware can be monitored in real time by a temperature sensor; the actual power input of the electric stove refers to the power input to the electric stove by power supply methods such as mains electricity, a storage battery, and a new energy vehicle battery, and can be monitored in real time by a power meter.
[0099] The cookware heat capacity can be determined by the ratio of the total heat input within a preset time period to the average heat capacity of the cookware within the preset time period, where the total heat input within the preset time period can be obtained by integrating the actual power input acquired within the preset time period, and the average heat capacity within the preset time period can be obtained by integrating the actual temperature change rate within the preset time period.
[0100] The heat capacity change rate is used to reflect the dynamic change speed of the cookware heat capacity and is determined by the ratio between the cookware heat capacity change value and the change time.
[0101] Step 102, based on the adaptive PID control algorithm, dynamically adjust the PID parameters of the electric stove according to the cookware heat capacity and the heat capacity change rate.
[0102] Among them, the adaptive PID control algorithm is a control algorithm that can automatically adjust the parameters of the PID controller to cope with the dynamic changes of the system and the changes of environmental conditions. The PID controller is widely used in industrial control systems and optimizes the system performance by adjusting the control parameters. The PID controller consists of three parts: proportional (P), integral (I), and derivative (D) to achieve precise control. Among them, the proportional (P) makes fine adjustments according to the current error, the integral (I) makes adjustments according to the accumulated error, and the derivative (D) makes adjustments according to the changing trend of the error.
[0103] In the embodiment of the present invention, the three parts of proportional (P), integral (I), and derivative (D) are respectively controlled by the proportional gain , integral gain and derivative gain through three parameters to meet the control requirements of different cooking stages. The dynamic control of the proportional gain and integral gain is realized according to the heat capacity of the cookware; the dynamic control of the derivative gain is realized according to the heat capacity and the heat capacity change rate of the cookware.
[0104] Specifically, in the low heat capacity stage of the induction cooker, that is, the rapid heating stage of the induction cooker, a larger proportional gain is adopted to quickly respond to the temperature change of the cookware; in the high heat capacity stage of the induction cooker, that is, the heat preservation stage of the induction cooker, a smaller proportional gain is adopted to avoid temperature overshoot.
[0105] In the low heat capacity stage of the induction cooker, the integral gain is reduced to weaken the integral effect and avoid integral saturation; in the high heat capacity stage of the induction cooker, the integral gain is enhanced to eliminate the steady-state error.
[0106] When the heat capacity change rate is large in the low heat capacity stage of the induction cooker, the derivative gain is appropriately increased to suppress overshoot; when the heat capacity change rate is small in the high heat capacity stage of the induction cooker, the derivative gain is appropriately reduced to reduce the influence of noise. Among them, a large heat capacity change rate means that the induction cooker is rapidly heating up, and a small heat capacity change rate means that the temperature of the induction cooker tends to be stable.
[0107] Step 103: Determine the power adjustment value of the induction cooker according to the adjusted PID parameters and the current temperature error of the induction cooker.
[0108] Among them, the current temperature error is the difference between the preset target temperature and the actual temperature of the cookware at the current moment.
[0109] Specifically, based on the adaptive PID control algorithm, according to the dynamically adjusted proportional gain , integral gain , differential gain and the current temperature error, the power adjustment value of the induction cooker can be calculated.
[0110] Step 104: Determine the current calculated power input according to the historical power input and the power adjustment value of the induction cooker at the previous moment.
[0111] Specifically, the sum of the historical power input of the induction cooker at the previous moment and the calculated power adjustment value is used as the current calculated power input.
[0112] Step 105: Based on the power smoothing mechanism, determine the target power input according to the historical power input and the current calculated power input.
[0113] Among them, the power smoothing mechanism refers to a control strategy that reduces the power fluctuations in the power system through a series of technical or management means to ensure stable and reliable energy supply.
[0114] In this embodiment, by introducing the power smoothing mechanism, the sudden change of power input caused by the control cooking stage switching or external interference is avoided, thereby affecting the stability of the induction cooker cooking process.
[0115] Specifically, the smoothed target power input is calculated by weighted summing the historical power input and the current calculated power input.
[0116] In the practical application of the induction cooker power control method based on PID adaptive control provided by the embodiment of the present invention, first, the actual temperature change of the cookware and the actual power input of the induction cooker obtained in real time during the actual cooking process are used to dynamically estimate the heat capacity and the heat capacity change rate of the cookware; secondly, the PID parameters of the induction cooker are dynamically adjusted based on the adaptive PID control algorithm according to the determined heat capacity and heat capacity change rate of the cookware; thirdly, taking the difference between the preset target temperature and the actual temperature of the cookware at the current moment as the current temperature error, the power adjustment value of the induction cooker is determined according to the current temperature error and the adjusted PID parameters; then, the current calculated power input is determined according to the historical power input and the power adjustment value of the induction cooker at the previous moment; finally, the power smoothing mechanism is used to smooth the historical power input and the current calculated power input to obtain the target power input.
[0117] Based on the actual temperature change of the cookware set on the electric stove obtained in real time during the cooking process and the actual power input of the electric stove, the present invention dynamically estimates the heat capacity and the heat capacity change rate of the cookware on the electric stove. The present invention adopts an adaptive PID control algorithm to dynamically adjust the PID parameters of the electric stove according to the calculated heat capacity and heat capacity change rate of the cookware, so as to achieve precise control of the power input from different power supply devices to the electric stove; the present invention adopts a power smoothing mechanism to reduce the fluctuation of the power input and make the power input more stable; therefore, the present invention can be applied to various power supply methods such as commercial power, storage batteries, and new energy vehicle batteries, and improve the stability and efficiency of the electric stove in different application scenarios.
[0118] Further, when the PID parameters include a proportional gain parameter, based on the adaptive PID control algorithm, the dynamic adjustment of the PID parameters of the electric stove according to the heat capacity and heat capacity change rate of the cookware specifically includes:
[0119] Based on the first formula, dynamically adjust the proportional gain parameter of the electric stove according to the heat capacity of the cookware.
[0120] The first formula is specifically:
[0121] ;
[0122] Wherein, ;
[0123] represents the adjusted proportional gain parameter; represents the preset proportional gain reference value, that is, the initial proportional gain when the dynamic change of the cookware heat capacity is not considered; represents the preset maximum proportional gain; represents the heat capacity of the cookware at the current moment.
[0124] represents the preset heat capacity intermediate value, which is the demarcation point between low heat capacity and high heat capacity.
[0125] represents the preset steepness parameter of the control curve, which determines the sensitivity of.
[0126] Further, when the PID parameters further include an integral gain parameter, based on the adaptive PID control algorithm, the dynamic adjustment of the PID parameters of the electric stove according to the heat capacity and heat capacity change rate of the cookware specifically includes:
[0127] Based on the second formula, dynamically adjust the integral gain parameter of the electric stove according to the heat capacity of the cookware.
[0128] The second formula is specifically:
[0129] ;
[0130] Among them, ;
[0131] represents the adjusted integral gain parameter; represents the preset integral gain reference value, that is, the initial integral gain when the dynamic change of the cookware heat capacity is not considered.
[0132] and respectively represent the preset minimum heat capacity value and the preset maximum heat capacity value, which are used to define the range of the cookware heat capacity; and respectively represent and the corresponding preset minimum integral gain value and the preset maximum integral gain value.
[0133] Through this linear function, maintains a lower value in the low heat capacity stage to prevent excessive integral accumulation, and gradually increases in the high heat capacity stage to improve the steady-state accuracy.
[0134] Furthermore, when the PID parameters also include the differential gain parameter, based on the adaptive PID control algorithm, the dynamic adjustment of the PID parameters of the induction cooker according to the cookware heat capacity and the heat capacity change rate specifically includes:
[0135] Based on the third formula, the differential gain parameter of the induction cooker is dynamically adjusted according to the cookware heat capacity and the heat capacity change rate;
[0136] The third formula is specifically:
[0137] ;
[0138] Among them, ;
[0139] represents the adjusted differential gain parameter, represents the preset differential gain reference value.
[0140] is the first preset function negatively correlated with the cookware heat capacity, the value of which decreases as the cookware heat capacity increases; is the second preset function positively correlated with the heat capacity change rate of the cookware, the value of which increases as the heat capacity change rate of the cookware increases.
[0141] Furthermore, the power adjustment value of the induction cooker is specifically determined according to the adjusted PID parameters and the current temperature error of the induction cooker:
[0142] Based on the fourth formula, determine the power adjustment value of the electric stove according to the adjusted proportional gain parameter, integral gain parameter, derivative gain parameter, and the current temperature error of the electric stove.
[0143] The specific form of the fourth formula is:
[0144] ;
[0145] Wherein, represents the power adjustment value at the current moment , , and respectively represent the adjusted proportional gain parameter, integral gain parameter, and derivative gain parameter at the current moment , represents the current temperature error corresponding to the current moment , represents an arbitrary moment within the integration interval [0, t].
[0146] Furthermore, during the actual cooking process, operations such as the evaporation of the liquid in the cookware or the addition of ingredients will cause dynamic changes in the heat capacity of the cookware. To dynamically estimate the heat capacity of the cookware, the present invention establishes a dynamic model of the heat capacity of the cookware changing with time through the non-linear relationship between the actual temperature change of the cookware and the actual power input of the electric stove.
[0147] According to the actual temperature change of the cookware set on the electric stove and the actual power input of the electric stove obtained in real time during the cooking process, determine the heat capacity of the cookware at the current moment and the rate of change of the heat capacity relative to the previous moment, specifically including:
[0148] Based on the fifth formula, determine the heat capacity of the cookware at the current moment according to the non-linear relationship between the actual temperature change of the cookware set on the electric stove and the actual power input of the electric stove obtained in real time during the cooking process.
[0149] The specific form of the fifth formula is:
[0150] ;
[0151] Wherein, represents the heat capacity of the cookware at the current moment, is the reference time point for calculating the heat capacity of the cookware.
[0152] is the integration variable representing an arbitrary moment within the integration interval , .
[0153] represents the actual power input of the electric stove at the moment, represents the actual temperature change rate of the cookware at the moment; represents the preset sliding window time length, which is used to smooth noise and dynamically capture the change in the heat capacity of the cookware.
[0154] Based on the sixth formula, determine the change rate of the heat capacity of the cookware at the current moment relative to the heat capacity at the previous moment; the sixth formula is specifically:
[0155] ;
[0156] where, represents the change rate of heat capacity, represents the heat capacity of the cookware at the previous moment, represents the time interval between the previous moment and the current moment.
[0157] Furthermore, based on the power smoothing mechanism, determine the target power input according to the historical power input and the current calculated power input, specifically:
[0158] Based on the seventh formula, determine the target power input according to the historical power input and the current calculated power input; the seventh formula is specifically:
[0159] ;
[0160] where, ;
[0161] where, represents the target power input, represents the historical power input, represents the current calculated power input; represents the dynamic adjustment smoothing factor, represents the preset maximum adjustment value.
[0162] That is to say, the design principle of the dynamic adjustment smoothing factor is that when the heat capacity changes rapidly, is smaller, allowing the power input to change rapidly; when the heat capacity changes slowly, is larger, making the power change more smoothly.
[0163] represents the preset adjustment parameter, which is a preset constant. When the change rate of heat capacity is large, is reduced, and vice versa, is increased.
[0164] The power control method of the electric stove based on PID adaptive control of the present invention can automatically switch the power input control strategy based on the changes of the pan heat capacity and the heat capacity change rate at different stages of the cooking process. Specifically, during the pan preheating stage, high power is controlled for rapid heating; during the stage when the pan approaches the preset target temperature, the power is appropriately reduced to achieve precise temperature control; during the pan insulation stage, low power is used to maintain the temperature.
[0165] The power control method of the electric stove based on PID adaptive control of the present invention adopts an adaptive PID control algorithm to dynamically adjust the power input of the electric stove, realizing precise start control of the electric stove power.
[0166] The power control method of the electric stove based on PID adaptive control of the present invention smooths the power output through a smoothing factor, and can also set overcurrent, undervoltage and temperature protection mechanisms to ensure the safe and stable operation of the electric stove.
[0167] The power control method of the electric stove based on PID adaptive control of the present invention establishes a dynamic model of the pan heat capacity changing with time through the non-linear relationship between the actual temperature change of the pan and the actual power input of the electric stove, thereby realizing the dynamic estimation of the pan heat capacity and the heat capacity change rate. Furthermore, based on the pan heat capacity and the heat capacity change rate, the adaptive dynamic adjustment of the electric stove power input is realized based on the adaptive PID control algorithm, ensuring the efficient and stable operation of the electric stove.
[0168] As Figure 2 shown, in the second aspect, the embodiment of the present invention provides a power control system of an electric stove based on PID adaptive control. The system includes:
[0169] The first processing unit 201 is used to determine the pan heat capacity of the pan at the current moment and the heat capacity change rate relative to the previous moment according to the actual temperature change of the pan set on the electric stove and the actual power input of the electric stove obtained in real time during the cooking process;
[0170] The second processing unit 202 is used to dynamically adjust the PID parameters of the electric stove based on the adaptive PID control algorithm according to the pan heat capacity and the heat capacity change rate;
[0171] The third processing unit 203 is used to determine the power adjustment value of the electric stove according to the adjusted PID parameters and the current temperature error of the electric stove; the current temperature error is the difference between the preset target temperature and the actual temperature of the pan at the current moment;
[0172] The fourth processing unit 204 is used to determine the current calculated power input according to the historical power input of the electric stove at the previous moment and the power adjustment value;
[0173] The fifth processing unit 205 is configured to determine a target power input based on a power smoothing mechanism according to a historical power input and a current calculated power input.
[0174] Further, when the PID parameters include a proportional gain parameter, the second processing unit 202 is configured to perform:
[0175] Dynamically adjust the proportional gain parameter of the induction cooker according to the cookware heat capacity based on a first formula;
[0176] The first formula is specifically:
[0177] ;
[0178] Wherein, ;
[0179] represents the adjusted proportional gain parameter, represents a preset proportional gain reference value, represents a preset maximum proportional gain, represents a preset heat capacity intermediate value, represents a preset steepness parameter of the control curve, represents the cookware heat capacity at the current moment.
[0180] Further, when the PID parameters further include an integral gain parameter, the second processing unit 202 is further configured to perform:
[0181] Dynamically adjust the integral gain parameter of the induction cooker according to the cookware heat capacity based on a second formula;
[0182] The second formula is specifically:
[0183] ;
[0184] Wherein, ;
[0185] represents the adjusted integral gain parameter, represents a preset integral gain reference value, and respectively represent a preset heat capacity minimum value and a preset heat capacity maximum value, and respectively represent and corresponding preset minimum integral gain value and preset maximum integral gain value.
[0186] Further, when the PID parameters further include a derivative gain parameter, the second processing unit 202 is further configured to perform:
[0187] Based on the third formula, the differential gain parameter of the electric stove is dynamically adjusted according to the heat capacity of the cookware and the heat capacity change rate.
[0188] The specific form of the third formula is:
[0189] ;
[0190] Wherein, ;
[0191] represents the adjusted differential gain parameter, represents the preset differential gain reference value; is a first preset function negatively correlated with the heat capacity of the cookware, and its value decreases as the heat capacity of the cookware increases; is a second preset function positively correlated with the heat capacity change rate of the cookware, and its value increases as the heat capacity change rate of the cookware increases.
[0192] Furthermore, the third processing unit 203 is specifically configured to execute:
[0193] Based on the fourth formula, the power adjustment value of the electric stove is determined according to the adjusted proportional gain parameter, integral gain parameter, differential gain parameter and the current temperature error of the electric stove.
[0194] The specific form of the fourth formula is:
[0195] ;
[0196] Wherein, represents the current time of the power adjustment value, , and respectively represent the adjusted proportional gain parameter, integral gain parameter and differential gain parameter at the current time , represents the current time corresponding current temperature error, represents any time within the integration interval [0, t].
[0197] Furthermore, the first processing unit 201 is specifically configured to execute:
[0198] Based on the fifth formula, according to the non-linear relationship between the actual temperature change of the cookware set on the electric stove and the actual power input of the electric stove obtained in real time during the cooking process, the heat capacity of the cookware at the current time is determined; The specific form of the fifth formula is:
[0199] ;
[0200] Among them, represents the heat capacity of the cookware at the current moment, represents the integration interval , represents any moment within, represents the actual power input of the induction cooker at moment, represents the actual temperature change rate of the cookware temperature at moment, represents the preset sliding window time length;
[0201] Based on the sixth formula, determine the change rate of the heat capacity of the cookware at the current moment relative to the heat capacity at the previous moment; the sixth formula is specifically:
[0202] ;
[0203] Among them, represents the change rate of heat capacity, represents the heat capacity of the cookware at the previous moment, represents the time interval between the previous moment and the current moment.
[0204] Furthermore, the fifth processing unit 205 is specifically configured to execute:
[0205] Based on the seventh formula, determine the target power input according to the historical power input and the current calculated power input; the seventh formula is specifically:
[0206] ;
[0207] Among them, ;
[0208] Among them, represents the target power input, represents the historical power input, represents the current calculated power input; represents the dynamic adjustment smoothing factor, represents the preset maximum adjustment value, represents the preset adjustment parameter.
[0209] The induction cooker power control system based on PID adaptive control provided by the embodiments of the present invention is used to execute the above-mentioned induction cooker power control method based on PID adaptive control, so it can achieve the same effect as the above-mentioned induction cooker power control method based on PID adaptive control.
[0210] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0211] In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor and a memory. At least one instruction, at least one program, a code set, or an instruction set is stored in the memory, and the at least one instruction, at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the method for controlling the power of an electric stove based on PID adaptive control in the embodiments of the present invention.
[0212] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or an instruction set is stored, and the at least one instruction, at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the method for controlling the power of an electric stove based on PID adaptive control in the embodiments of the present invention.
[0213] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present invention are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid-state disk (SSD)).
[0214] The above is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A power control method for an electric stove based on PID adaptive control, characterized in that, Including: Based on the actual temperature change of the cookware on the induction cooker obtained in real time during the cooking process and the actual power input of the induction cooker, determine the heat capacity of the cookware at the current moment and the heat capacity change rate relative to the previous moment; Based on the adaptive PID control algorithm, dynamically adjust the PID parameters of the induction cooker according to the heat capacity of the cookware and the heat capacity change rate; Determine the power adjustment value of the induction cooker according to the adjusted PID parameters and the current temperature error of the induction cooker; the current temperature error is the difference between the preset target temperature and the actual temperature of the cookware at the current moment; Determine the current calculated power input according to the historical power input of the induction cooker at the previous moment and the power adjustment value; Based on the power smoothing mechanism, determine the target power input according to the historical power input and the current calculated power input.
2. The power control method of the electric stove based on PID adaptive control according to claim 1, wherein, The PID parameters include the proportional gain parameter; based on the adaptive PID control algorithm, dynamically adjusting the PID parameters of the induction cooker according to the heat capacity of the cookware and the heat capacity change rate specifically includes: Based on the first formula, dynamically adjust the proportional gain parameter of the induction cooker according to the heat capacity of the cookware; The first formula is specifically: ; Among them, ; represents the adjusted proportional gain parameter, represents the preset proportional gain reference value, represents the preset maximum proportional gain, represents the preset heat capacity intermediate value, represents the preset steepness parameter of the control curve, represents the heat capacity of the cookware at the current moment.
3. The power control method of the electric stove based on PID adaptive control according to claim 2, characterized in that, The PID parameters further include the integral gain parameter; based on the adaptive PID control algorithm, dynamically adjusting the PID parameters of the induction cooker according to the heat capacity of the cookware and the heat capacity change rate specifically includes: Based on the second formula, dynamically adjust the integral gain parameter of the induction cooker according to the heat capacity of the cookware; The second formula is specifically: ; Among them, ; represents the adjusted integral gain parameter, represents the preset integral gain reference value, and respectively represent the preset minimum heat capacity value and the preset maximum heat capacity value, and respectively represent and the corresponding preset minimum integral gain value and the preset maximum integral gain value.
4. The power control method of the electric stove based on PID adaptive control according to claim 3, characterized in that, The PID parameters further include the derivative gain parameter; based on the adaptive PID control algorithm, dynamically adjusting the PID parameters of the induction cooker according to the heat capacity of the cookware and the heat capacity change rate specifically includes: Based on the third formula, dynamically adjust the derivative gain parameter of the induction cooker according to the heat capacity of the cookware and the heat capacity change rate; The third formula is specifically: ; Among them, ; represents the adjusted differential gain parameter, represents the preset differential gain reference value; is the first preset function negatively correlated with the heat capacity of the cookware, and its value decreases as the heat capacity of the cookware increases; is the second preset function positively correlated with the rate of change of the heat capacity of the cookware, and its value increases as the rate of change of the heat capacity of the cookware increases.
5. The power control method of an electric stove based on PID adaptive control according to claim 4, characterized in that Determining the power adjustment value of the induction cooker according to the adjusted PID parameters and the current temperature error of the induction cooker is specifically: Based on the fourth formula, determine the power adjustment value of the induction cooker according to the adjusted proportional gain parameter, integral gain parameter, derivative gain parameter and the current temperature error of the induction cooker; The fourth formula is specifically: ; Among them, represents the power adjustment value at the current moment , , and respectively represent the adjusted proportional gain parameter, integral gain parameter, and derivative gain parameter at the current moment , represents the current temperature error corresponding to the current moment , represents any moment within the integration interval [0, t].
6. The power control method of the electric stove based on PID adaptive control according to claim 1, wherein Based on the actual temperature change of the cookware on the induction cooker obtained in real time during the cooking process and the actual power input of the induction cooker, determining the heat capacity of the cookware at the current moment and the heat capacity change rate relative to the previous moment specifically includes: Based on the fifth formula, determine the heat capacity of the cookware at the current moment according to the non-linear relationship between the actual temperature change of the cookware on the induction cooker obtained in real time during the cooking process and the actual power input of the induction cooker; the fifth formula is specifically: ; Among them, represents the heat capacity of the cookware at the current moment, represents the integration interval , at any moment within, represents the actual power input of the induction cooker at moment, represents the actual temperature change rate of the cookware at moment, represents the preset sliding window time length; Determine the heat capacity change rate of the cookware at the current moment relative to the previous moment based on the sixth formula; the sixth formula is specifically: ; Among them, represents the heat capacity change rate, represents the heat capacity of the cookware at the previous moment, represents the time interval between the previous moment and the current moment.
7. The power control method of the electric stove based on PID adaptive control according to claim 1, wherein Based on the power smoothing mechanism, determining the target power input according to the historical power input and the current calculated power input is specifically: Based on the seventh formula, determine the target power input according to the historical power input and the current calculated power input; the specific seventh formula is: ; Among them, ; Among them, represents the target power input, represents the historical power input, represents the current calculated power input; represents the dynamic adjustment smoothing factor, represents the preset maximum adjustment value, represents the preset adjustment parameter; represents the heat capacity change rate of the cookware.
8. A power control system for an electric stove based on PID adaptive control, characterized in that, Including: A first processing unit, configured to determine the pan heat capacity of the pan set on the electric stove in real time during the cooking process and the heat capacity change rate relative to the previous moment according to the actual temperature change of the pan and the actual power input of the electric stove; A second processing unit, configured to dynamically adjust the PID parameters of the electric stove based on an adaptive PID control algorithm according to the pan heat capacity and the heat capacity change rate; A third processing unit, configured to determine the power adjustment value of the electric stove according to the adjusted PID parameters and the current temperature error of the electric stove; the current temperature error is the difference between the preset target temperature and the actual temperature of the pan at the current moment; A fourth processing unit, configured to determine the current calculated power input according to the historical power input of the electric stove at the previous moment and the power adjustment value; A fifth processing unit, configured to determine the target power input based on a power smoothing mechanism according to the historical power input and the current calculated power input.
9. An electronic device, characterized in that, The electronic device includes a processor and a memory. At least one instruction, at least one program, a code set, or an instruction set is stored in the memory. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the electric stove power control method based on PID adaptive control according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, At least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the electric stove power control method based on PID adaptive control according to any one of claims 1-7.
Citation Information
Patent Citations
Temperature-adjustable intelligent heater and control method therefor
CN104825052A
Intelligent temperature control algorithm suitable for live pig transport vehicle drying system
CN116301096A