A method and system for controlling constant temperature of electric heating element

By initializing the operating parameters of the hardware module and the software PID control algorithm in the electric heater, calculating the temperature deviation and adjusting the PWM output of the electric heater, the problem of slow heating and fast heat dissipation of the electric heater is solved, and stable, fast and high temperature control is achieved. Accuracy.

CN115167114BActive Publication Date: 2024-09-20HUNAN JUSHEN ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210993207.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-18
Publication Date
2024-09-20
Estimated Expiration
2042-08-18

AI Technical Summary

Technical Problem

Electric heaters on the market have problems such as slow heating, fast heat dissipation, and inaccurate temperatures.

Method used

An electric heater constant temperature control method is adopted. By initializing the operating parameters of the hardware module, including the proportional control coefficient, integral control coefficient and differential control coefficient, the temperature deviation parameter is calculated, the PID output gain is calculated, and based on the gain and the PWM pulse width of the electric heater Output relationship to achieve constant temperature control. The hardware module includes a power management chip, temperature sensor, PID control timer and PWM timer, and uses software PID control algorithm for temperature regulation.

Benefits of technology

It achieves stable, fast and high reliability of temperature control, improves the accuracy of temperature control and user experience, and solves the problems of slow heating and fast heat dissipation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115167114B
    Figure CN115167114B
Patent Text Reader

Abstract

The present invention provides a method and system for controlling the constant temperature of a heating plate, and relates to the technical field of constant temperature control of a heating plate. In an embodiment of the present invention, the operating parameters of the hardware module of the heating plate are initialized; wherein the operating parameters include: a proportional control coefficient, an integral control coefficient, and a differential control coefficient; the deviation parameters of the set temperature and the current temperature are calculated according to the operating parameters; wherein the deviation parameters include: the difference between the historical deviation and the current deviation and the deviation; the PID output gain is calculated according to the deviation parameter; and according to the corresponding relationship between the PID output gain and the PWM pulse width output of the heating plate, the temperature of the heating plate is controlled to be constant.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric heaters, and in particular to a method and system for controlling the constant temperature of an electric heater. Background Art

[0002] With the rapid development of social economy, people need to monitor and control the temperature of various heating furnaces, reactors and boilers. Using single chip microcomputer to control them is not only convenient, simple and flexible, but also can greatly improve the technical indicators of the controlled temperature, thus effectively improving the quality of the product.

[0003] In today's society, the general public prefers small-sized and easy-to-carry electronic products. As a new type of electric heating product, electric heaters can fit more closely to the surface of the heated object when heating, effectively saving the volume of the product, compared with traditional metal electric heating products. At present, electric heaters have been widely used in various industries such as handheld outdoor insulation products, outdoor insulation and antifreeze, chemical equipment heating, pipeline antifreeze, and medical treatment. However, the electric heaters on the market generally have defects such as slow heating, fast heat dissipation, and inaccurate temperature. Summary of the invention

[0004] The present invention provides a method and system for controlling the constant temperature of an electric heater, which are used to solve the common defects of electric heaters on the market, such as slow heating, fast heat dissipation, and inaccurate temperature.

[0005] A method for controlling the constant temperature of an electric heater, comprising:

[0006] Initialize the operating parameters of the heater hardware module;

[0007] The operating parameters include: proportional control coefficient, integral control coefficient and differential control coefficient;

[0008] The deviation parameter between the set temperature and the current temperature is calculated according to the operating parameters; wherein,

[0009] The deviation parameters include: the sum of historical deviations, the difference between the current deviation and the deviation;

[0010] Calculate the PID output gain according to the deviation parameter;

[0011] According to the corresponding relationship between the PID output gain and the PWM pulse width output of the electric heater, the temperature of the electric heater is controlled to be constant.

[0012] Further: The hardware module includes: a power management chip, a temperature sensor, a temperature acquisition timer, a PID control timer, a battery and a PWM timer; wherein,

[0013] The power management chip is electrically connected to the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer respectively;

[0014] The power management chip is used to control the battery charging and discharging of the electric heater;

[0015] The temperature sensor is used to sense the temperature of the electric heater and generate a temperature sensing signal;

[0016] The temperature acquisition timer is used to regularly manage the temperature acquisition process according to the control instructions of the power management chip;

[0017] The PID control timer is used to control the constant temperature of the electric heater;

[0018] The PWM timer is used to send out a PWM pulse width signal to adjust the power of the electric heater;

[0019] The battery is used to provide electrical energy.

[0020] Further: the setting parameters include automatic setting parameters and user setting parameters: wherein,

[0021] The automatic parameter setting comprises the following steps:

[0022] The power management chip receives a user input of a heater start instruction to heat the heating object;

[0023] Setting a first operation cycle, and performing temperature detection based on a temperature sensor at preset time intervals during the first operation cycle to obtain multiple temperature values;

[0024] Accumulating the temperature values ​​according to a preset period to obtain an accumulated value, and calculating an average sensing value based on the accumulated value;

[0025] Using the average sensing value as the reference threshold value for each temperature detection in the next cycle;

[0026] The reference threshold value is used as an automatically set parameter.

[0027] Further: the initialization includes:

[0028] Respectively detecting the in-position status of the power management chip, the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer;

[0029] According to the in-place state, receiving real-time status signals of the temperature sensor, temperature acquisition timer, PID control timer and PWM timer through the power management chip;

[0030] According to the real-time status signal, it is determined whether there is a fluctuation parameter; wherein,

[0031] When there is fluctuating data, the power management chip, temperature sensor, temperature acquisition timer, PID control timer and PWM timer are reset and restarted as a whole;

[0032] When there is no fluctuation data, it is determined whether the real-time status signal exceeds a preset reference parameter, and when it does not exceed the reference parameter, an initial data value corresponding to the implementation status signal is determined, and the initial data is used as an initialization value.

[0033] Further: the calculation of the deviation parameter between the set temperature and the current temperature according to the operating parameter includes:

[0034] Calculating the deviation between the set temperature and the current temperature to determine the current deviation;

[0035] The current deviation is calculated multiple times within the same time interval, and the sum of the deviations calculated multiple times is determined as the sum of historical deviations; wherein,

[0036] The historical deviation is shown as follows:

[0037]

[0038] in, Indicates historical bias; Indicates the difference between the set temperature and the current temperature; Indicates the difference between the last set temperature and the current temperature; Indicates the difference between the last set temperature and the current temperature, and so on;

[0039] Determine the two closest deviations, calculate the adjacent deviations, and use the adjacent deviations as the deviation difference; wherein,

[0040] The difference in the deviations is expressed as follows:

[0041]

[0042] in, Indicates the difference in deviation.

[0043] Further: the PID output gain is calculated according to the deviation parameter, as shown in the following formula:

[0044]

[0045] in, Indicates PID output gain; represents the proportional control coefficient; represents the integral control coefficient; represents the differential control coefficient; Represents a constant, preventing = 0, the system is out of control.

[0046] Further: the method further comprises:

[0047] Step 1: Preset at least two constant monitoring cycles and determine the temperature record list for each cycle;

[0048] The plurality of temperature monitoring data in the temperature record list are sorted by time points to generate a temperature sequence, wherein a unique identification column where each temperature data in the temperature sequence is located stores a corresponding timestamp;

[0049] Step 2: Fit the temperature series of different monitoring periods to determine the fitting value;

[0050] According to the fitting value, determining the temperature constant difference rate of different monitoring periods;

[0051] According to the temperature constant difference rate, it is determined whether to readjust the constant state.

[0052] Further: the step of adjusting the power of the electric heater comprises:

[0053] Detecting the current operating voltage and operating current of the electric heater, and calculating the latest current output power according to the operating voltage and operating current;

[0054] Determining a constant temperature according to the PID control timer, and judging the required power of the electric heater based on the constant temperature;

[0055] Calculating the power change difference between the current output power and the required power;

[0056] If the power change difference is within the preset range, the product of the power change difference and the power change proportional factor is calculated to obtain the disturbance step size; wherein,

[0057] Calculating the disturbance step size using a variable step size disturbance observation algorithm, and initializing and setting a power change proportional factor when starting to execute the variable step size disturbance observation algorithm;

[0058] Determining a power correction parameter according to the change proportional factor and the current output power;

[0059] Power is regulated by the power management chip according to the power correction parameter.

[0060] Further: the method further comprises:

[0061] Get battery operating parameters;

[0062] According to the battery operating parameters, the remaining battery capacity SOC value is calculated by the power management chip;

[0063] Determine the energy supply status according to the corresponding relationship between the remaining battery power, the battery operating parameters and the energy supply status;

[0064] Determine the current output strategy based on the corresponding relationship between energy supply status and constant temperature control;

[0065] Determine the remaining time of constant temperature control according to the corresponding relationship between the remaining battery power, battery operating parameters and current output strategy;

[0066] When the remaining time is lower than a preset threshold, a low battery alarm is issued.

[0067] Further: the method further comprises:

[0068] Detect whether the constant temperature control is triggered;

[0069] After the constant temperature control is detected to be triggered, the output voltage of the battery is detected;

[0070] When the detected value of the output voltage is a positive voltage value, the state of the battery is determined to be a discharge state, and the low battery alarm is activated according to the discharge state.

[0071] A constant temperature control system for an electric heater, comprising:

[0072] Initialization module: used to initialize the operating parameters of the heating plate hardware module;

[0073] The operating parameters include: proportional control coefficient, integral control coefficient and differential control coefficient;

[0074] Deviation calculation module: used to calculate the deviation parameter between the set temperature and the current temperature according to the operating parameters; wherein,

[0075] The deviation parameters include: the sum of historical deviations, the difference between the current deviation and the deviation;

[0076] PID gain calculation module: used to calculate the PID output gain according to the deviation parameter;

[0077] Constant temperature control module: used to control the temperature of the heating plate to be constant according to the corresponding relationship between the PID output gain and the PWM pulse width output of the heating plate.

[0078] The beneficial effects of the present invention are as follows: the present invention is a method and system for controlling the constant temperature of an electric heater, including a control method and a control system. The electric heater heating device can closely fit the surface of the heated object, effectively reducing the volume of the product; the software PID control algorithm is used to achieve constant temperature control without additional hardware costs; the temperature control system is stable, fast, and highly reliable, effectively solving the defects of slow heating and fast heat dissipation; when the electric heater is heated, it has the advantages of high temperature control accuracy, small fluctuation, and real-time monitoring of temperature, which improves the user experience and safety of use.

[0079] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.

[0080] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0082] Figure 1 A method flow chart of a method for controlling constant temperature of an electric heater according to an embodiment of the present invention;

[0083] Figure 2 This is a functional block diagram of the PID algorithm control in an embodiment of the present invention;

[0084] Figure 3 PID algorithm execution flow chart of the embodiment of the present invention;

[0085] Figure 4 The figure is a schematic diagram of a constant temperature control circuit of an electric heater in an embodiment of the present invention;

[0086] Figure 5 4-A is a diagram showing the principle of a constant temperature control circuit of an electric heater in an embodiment of the present invention;

[0087] Figure 6 FIG4-B is a diagram showing the principle of a constant temperature control circuit of an electric heater in an embodiment of the present invention. DETAILED DESCRIPTION

[0088] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0089] As attached Figure 1As shown, a method for controlling the constant temperature of a heating element comprises:

[0090] Initialize the operating parameters of the heater hardware module;

[0091] The operating parameters include: proportional control coefficient, integral control coefficient and differential control coefficient;

[0092] The deviation parameter between the set temperature and the current temperature is calculated according to the operating parameters; wherein,

[0093] The deviation parameters include: the sum of historical deviations, the difference between the current deviation and the deviation;

[0094] Calculate the PID output gain according to the deviation parameter;

[0095] According to the corresponding relationship between the PID output gain and the PWM pulse width output of the electric heater, the temperature of the electric heater is controlled to be constant.

[0096] The principle of the above technical solution is: Figure 1 As shown, the present invention can determine the current temperature through the operating parameters of the hardware of the electric heater itself, and then perform constant temperature adjustment according to the difference between the current temperature and the set temperature. In this process, the present invention can realize PID constant temperature control and dynamic temperature adjustment through the temperature difference.

[0097] The present invention uses a DC-DC chip to boost the battery voltage to a fixed 5V output. Compared with the conventional solution that uses the battery for direct output, the output power of the electric heater does not change with the battery voltage, so that the entire control system is more stable and has a small fluctuation amplitude; a 12-bit high-precision ADC module integrated inside the MCU is used to sample the NTC temperature, and a software filtering algorithm is used to improve the accuracy and reliability of the constant temperature system control, and the temperature of the electric heater is monitored in real time, and a safe temperature threshold is set. If the temperature reaches the safe temperature alarm threshold, the electric heater is controlled to be turned off, thereby improving the safety and stability of the product; based on the PID control algorithm, the MCU can quickly calculate the PWM output value and act on the electric heater to achieve a fast response to the set temperature.

[0098] The beneficial effects of the above technical solution are: the present invention is a method and system for controlling the constant temperature of an electric heater, including a control method and a control system; the electric heater heating device is used, which can closely fit the surface of the heated object and effectively reduce the volume of the product; the software PID control algorithm is used to achieve constant temperature control without the need for additional hardware costs; the temperature control system is stable, fast, and highly reliable, and effectively solves the defects of slow heating and fast heat dissipation; when the electric heater is heated, it has the advantages of high temperature control accuracy, small fluctuation amplitude, and real-time monitoring of temperature, thereby improving user experience and safety of use.

[0099] Further: The hardware module includes: a power management chip, a temperature sensor, a temperature acquisition timer, a PID control timer, a battery and a PWM timer; wherein,

[0100] The power management chip is electrically connected to the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer respectively;

[0101] The power management chip is used to control the battery charging and discharging of the electric heater;

[0102] The temperature sensor is used to sense the temperature of the electric heater and generate a temperature sensing signal;

[0103] The temperature acquisition timer is used to regularly manage the temperature acquisition process according to the control instructions of the power management chip;

[0104] The PID control timer is used to control the constant temperature of the electric heater;

[0105] The PWM timer is used to send out a PWM pulse width signal to adjust the power of the electric heater;

[0106] The battery is used to provide electrical energy.

[0107] The principle of the above technical solution is: Figure 4 , 5 As shown in FIG. 6 , the hardware model of the present invention includes a power management chip U2, a temperature sensor RT1, a temperature acquisition timer J1, a PID control timer Q1, a battery and a PWM timer. These devices are used for charging and discharging and temperature sensing, thereby realizing PID control and achieving constant temperature. The PWM timer is built into the power management chip. The battery is a built-in battery connected through the VOUT and VDD ports.

[0108] The beneficial effect of the above technical solution is that the hardware device of the present invention can perform timing control, obtain operating parameters according to time, and the obtained parameters are more accurate.

[0109] Further: the setting parameters include automatic setting parameters and user setting parameters: wherein,

[0110] The automatic parameter setting comprises the following steps:

[0111] The power management chip receives the user's input of the electric heater start instruction, and heats the heating object; optionally, the user's electric heater start instruction is received through U2, and then the electric heater heats the object to be heated.

[0112] A first operating cycle is set, and in the first operating cycle, temperature detection is performed based on a temperature sensor at preset time intervals to obtain multiple temperature values; optionally, the present invention will perform intermittent temperature detection within the operating cycle to generate multiple temperature values.

[0113] The temperature values ​​are accumulated according to a preset period to obtain an accumulated value, and an average sensing value is calculated based on the accumulated value; optionally, the present invention calculates the average value of the temperature within a period to achieve mean temperature sensing, and the average temperature value is used as a reference threshold value to achieve automatic setting of parameters.

[0114] Using the average sensing value as the reference threshold value for each temperature detection in the next cycle;

[0115] The reference threshold value is used as an automatically set parameter.

[0116] The principle of the above technical solution is that when the present invention automatically sets parameters, it automatically calculates the average temperature according to the preset operation cycle in the startup state, and uses the average temperature as the automatically set reference threshold value.

[0117] The beneficial effect of the above technical solution is that it can realize automatic temperature adjustment and control without the user setting the temperature.

[0118] Further: the initialization includes:

[0119] Respectively detecting the in-position status of the power management chip, the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer;

[0120] Optionally, the present invention can determine the real-time status of the power management chip, the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer to determine whether the electronic components of the heating plate are operating normally.

[0121] According to the in-place state, receiving real-time status signals of the temperature sensor, temperature acquisition timer, PID control timer and PWM timer through the power management chip;

[0122] When it is determined that all electronic devices are operating normally, the real-time status signal of each electronic device will be received through the power management chip area. This signal is the operation signal of each electronic device, that is, the current and voltage signal.

[0123] According to the real-time status signal, it is determined whether there is a fluctuation parameter; wherein,

[0124] When there is fluctuating data, the power management chip, temperature sensor, temperature acquisition timer, PID control timer and PWM timer are reset and restarted as a whole;

[0125] When there is no fluctuation data, it is determined whether the real-time status signal exceeds a preset reference parameter, and when it does not exceed the reference parameter, an initial data value corresponding to the implementation status signal is determined, and the initial data is used as an initialization value.

[0126] Determine whether there are fluctuation parameters. The fluctuation parameters are determined based on the reference threshold value. Therefore, rapid fluctuation judgment can be achieved. The purpose of initialization is to more easily determine the fluctuation standards of various electronic devices. After the heater is started, it will be more accurately detected whether there is an operating fluctuation of the electronic device.

[0127] The principle of the above technical solution is that the present invention will initialize the hardware device and initialize the status of the hardware device. During the initialization process, if the real-time status of the hardware device does not change, the unchanged real-time parameters can be used as initialization parameters to set the initial standard.

[0128] The beneficial effect of the above technical solution is that more precise constant temperature control can be achieved under initialization.

[0129] Further: the calculation of the deviation parameter between the set temperature and the current temperature according to the operating parameter includes:

[0130] Calculating the deviation between the set temperature and the current temperature to determine the current deviation;

[0131] The current deviation is calculated multiple times within the same time interval, and the sum of the deviations calculated multiple times is determined as the sum of historical deviations; wherein,

[0132] The historical deviation is shown as follows:

[0133]

[0134] in, Indicates historical bias; Indicates the difference between the set temperature and the current temperature; Indicates the difference between the last set temperature and the current temperature; Indicates the difference between the last set temperature and the current temperature, and so on;

[0135] Determine the two closest deviations, calculate the adjacent deviations, and use the adjacent deviations as the deviation difference; wherein,

[0136] The difference in the deviations is expressed as follows:

[0137]

[0138] in, Indicates the difference in deviation.

[0139] The principle of the above technical solution is: Figure 2 and attached Figure 3 As shown, the temperature deviation can be determined by calculating the deviation, thereby realizing the gain calculation of PID control. Through the gain calculation, it is possible to;

[0140] The beneficial effect of the above technical solution is that the gain of PID control is calculated through deviation data.

[0141] Further: the PID output gain is calculated according to the deviation parameter, as shown in the following formula:

[0142]

[0143] in, Indicates PID output gain; Proportional control coefficient; represents the integral control coefficient; represents the differential control coefficient; Represents a constant, preventing = 0, the system is out of control.

[0144] The principle of the above technical solution is: the output PWM pulse width is calculated by software PID control algorithm To achieve power control of the heater, so that the temperature can be kept constant at the set value.

[0145] The beneficial effect of the above technical solution is: controlling the temperature to be constant and preventing the temperature from getting out of control.

[0146] Further: the method further comprises:

[0147] Step 1: Preset at least two constant monitoring cycles and determine the temperature record list for each cycle;

[0148] The plurality of temperature monitoring data in the temperature record list are sorted by time points to generate a temperature sequence, wherein a unique identification column where each temperature data in the temperature sequence is located stores a corresponding timestamp;

[0149] Optionally, the present invention may preset a constant monitoring cycle, determine the temperature through the monitoring cycle, and then record the temperature to generate a temperature list. The temperature in the temperature list will be recorded regularly through a timestamp. Regular storage can more quickly determine whether the temperature at that moment is abnormal.

[0150] Step 2: Fit the temperature series of different monitoring periods to determine the fitting value;

[0151] According to the fitting value, determining the temperature constant difference rate of different monitoring periods;

[0152] According to the temperature constant difference rate, it is determined whether to readjust the constant state.

[0153] Optionally, the present invention collects temperatures of multiple monitoring cycles and generates multiple temperature sequences; through these multiple temperature sequences, the constant temperature difference of different cycles is determined, and through the constant temperature difference, constant regulation of different cycles is achieved through the constant difference to ensure that the temperature difference in each cycle is not large.

[0154] The principle of the above technical solution is that: the present invention can set multiple monitoring cycles, and judge whether the constant temperature state is stable by fitting the temperature sequences within multiple monitoring cycles, which is also a method for verifying PID constant temperature control.

[0155] The beneficial effect of the above technical solution is that it can perform constant temperature control calibration after PID constant temperature control.

[0156] In an optional embodiment, the fitting calculation includes the following steps:

[0157] Step 1: Determine the temperature sequence for multiple cycles ; ; is a positive integer; is the number of cycles;

[0158] Step 2: Perform pairwise fitting calculations on temperature series of different periods to determine the fitting values ​​of any two periods:

[0159]

[0160] in, is the fitting value of any two periods; Represents the total number of temperature values ​​monitored at different time intervals in each cycle; Indicates Temperature series of cycles; Indicates Temperature sequence of any period other than periods; Represents any value; The maximum value of ; is a positive real number.

[0161] Step 3: Generate a set of fitting values ​​based on any two period fitting values ​​and determine the mean of the fitting values;

[0162]

[0163]

[0164]

[0165] is the total number of fitted values; For the fitted values; , Is a positive integer.

[0166] Step 4: Determine the temperature constant difference rate based on the fitting mean; the temperature constant difference rate is the comparison value between any two period fitting values ​​and the fitting value mean.

[0167] Further: the step of adjusting the power of the electric heater comprises:

[0168] Detecting the current operating voltage and operating current of the electric heater, and calculating the latest current output power according to the operating voltage and operating current;

[0169] Optionally, the present invention monitors the operating data of the electric heater to determine the real-time operating output power of the electric heater, that is, the operating power generated when heat is generated.

[0170] Determining a constant temperature according to the PID control timer, and judging the required power of the electric heater based on the constant temperature;

[0171] Optionally, the present invention can determine the power required to generate the temperature, that is, the driving power of the electric heater, during the constant temperature control process.

[0172] Calculating the power change difference between the current output power and the required power;

[0173] Optionally, the present invention calculates the difference between the operating power and the driving operating power, and can determine the power consumed during the operation of the circuit;

[0174] If the power change difference is within the preset range, the product of the power change difference and the power change proportional factor is calculated to obtain the disturbance step size; wherein,

[0175] Calculating the disturbance step size using a variable step size disturbance observation algorithm, and initializing and setting a power change proportional factor when starting to execute the variable step size disturbance observation algorithm;

[0176] Optionally, the present invention will determine the lost power through a preset range, that is, the range of the lost power, and obtain a disturbance step length. The disturbance step length is used to determine the time of power loss caused by external interference during the loss process; the external interference may be an external magnetic field, an external unstable ambient temperature, and external component connection interference.

[0177] Determining a power correction parameter according to the change proportional factor and the current output power;

[0178] Optionally, through external interference, it can be determined what the output power is if a temperature that needs to be maintained constantly is to be reached, so that a power correction parameter can be determined and the parameters can be adjusted according to the power correction parameter.

[0179] Power is regulated by the power management chip according to the power correction parameter.

[0180] The principle of the above technical solution is that: the present invention requires power adjustment for constant temperature control. During power adjustment, the real-time output power is determined by the operating current and the operating voltage, and then the required power of the electric heater is calculated under the constant temperature state when the constant temperature is reached. Then, the constant temperature power is corrected and adjusted according to the required power to achieve power control.

[0181] The beneficial effect of the above technical solution is that it can achieve power regulation, thereby controlling the power to reach a constant temperature state.

[0182] Further: the method further comprises:

[0183] Get battery operating parameters;

[0184] According to the battery operating parameters, the remaining battery capacity SOC value is calculated by the power management chip;

[0185] Optionally, the present invention can determine the remaining power of the battery through the battery operating parameters, that is, the output power, output voltage and output current of the battery connected to the heating plate when heat control is performed.

[0186] Determine the energy supply status according to the corresponding relationship between the remaining battery power and the battery operating parameters;

[0187] Optionally, the present invention can determine the battery operating parameters generated when determining the battery function through the remaining power and the battery operating parameters, and can also determine whether the battery is supplying energy or not.

[0188] Determine the current output strategy based on the corresponding relationship between energy supply status and constant temperature control;

[0189] Optionally, the present invention can judge the battery output power value based on the energy supply status and constant temperature control, that is, the energy supply parameters and constant temperature data, and the remaining power of the battery, and determine the battery current output strategy through the battery output power value.

[0190] Determine the remaining time of constant temperature control according to the corresponding relationship between the remaining battery power, battery operating parameters and current output strategy;

[0191] Optionally, after the current output strategy is determined, it is possible to determine in real time how long it will take for the battery to run out of power, and then issue a low-battery alarm before the battery runs out of power.

[0192] When the remaining time is lower than a preset threshold, a low battery alarm is issued.

[0193] The principle of the above technical solution is that when the electric heater of the present invention is driven by a battery, because the battery power has a certain limit, it is possible to calculate how long the battery can last based on the battery power and issue an alarm when the battery power is low.

[0194] The beneficial effect of the above technical solution is to prevent the failure of constant temperature control due to insufficient power.

[0195] Further: the method further comprises:

[0196] Detect whether the constant temperature control is triggered;

[0197] After the constant temperature control is detected to be triggered, the output voltage of the battery is detected;

[0198] When the detected value of the output voltage is a positive voltage value, the state of the battery is determined to be a discharge state, and the low battery alarm is activated according to the discharge state.

[0199] The optional present invention will determine whether the constant temperature control is triggered. If the constant temperature control state is in a triggered state and in a discharge state, the energy supply of the low power alarm of the electric heater will be started.

[0200] The principle of the above technical solution is that the present invention can also start the low battery alarm function by judging the battery status after the constant temperature control is triggered.

[0201] The beneficial effect of the above technical solution is to realize low battery monitoring alarm.

[0202] A constant temperature control system for electric heaters, characterized by comprising:

[0203] Initialization module: used to initialize the operating parameters of the heating plate hardware module;

[0204] The operating parameters include: proportional control coefficient, integral control coefficient and differential control coefficient;

[0205] Deviation calculation module: used to calculate the deviation parameter between the set temperature and the current temperature according to the operating parameters; wherein,

[0206] The deviation parameters include: the sum of historical deviations, the difference between the current deviation and the deviation;

[0207] PID gain calculation module: used to calculate the PID output gain according to the deviation parameter;

[0208] Constant temperature control module: used to control the temperature of the heating plate to be constant according to the corresponding relationship between the PID output gain and the PWM pulse width output of the heating plate.

[0209] The principle of the above technical solution is that the present invention can determine the current temperature through the operating parameters of the hardware of the electric heater itself, and then perform constant temperature adjustment according to the difference between the current temperature and the set temperature. In this process, the present invention can realize PID constant temperature control and dynamic temperature adjustment through the temperature difference.

[0210] The present invention uses a DC-DC chip to boost the battery voltage to a fixed 5V output. Compared with the conventional solution that uses the battery for direct output, the output power of the electric heater does not change with the battery voltage, so that the entire control system is more stable and has a small fluctuation amplitude; a 12-bit high-precision ADC module integrated inside the MCU is used to sample the NTC temperature, and a software filtering algorithm is used to improve the accuracy and reliability of the constant temperature system control, and the temperature of the electric heater is monitored in real time, and a safe temperature threshold is set. If the temperature reaches the safe temperature alarm threshold, the electric heater is controlled to be turned off, thereby improving the safety and stability of the product; based on the PID control algorithm, the MCU can quickly calculate the PWM output value and act on the electric heater to achieve a fast response to the set temperature.

[0211] The beneficial effects of the above technical solution are: the electric heater heating device can fit tightly to the surface of the heated object, effectively reducing the volume of the product; the software PID control algorithm is used to achieve constant temperature control without additional hardware costs; the temperature control system is stable, fast, and highly reliable, effectively solving the defects of slow heating and fast heat dissipation; when the electric heater is heating, it has the advantages of high temperature control accuracy, small fluctuation amplitude, and real-time temperature monitoring, which improves user experience and safety of use.

[0212] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for controlling the constant temperature of a heating element, characterized in that: include: Initialize the operating parameters of the heater hardware module; The hardware module includes: a power management chip, a temperature sensor, a temperature acquisition timer, a PID control timer, a battery and a PWM timer; wherein the power management chip is electrically connected to the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer respectively; the power management chip is used to control the battery charging and discharging of the electric heater; the temperature sensor is used to sense the temperature of the electric heater and generate a temperature sensing signal; the temperature acquisition timer is used to manage the temperature acquisition process according to the control instructions of the power management chip; the PID control timer is used to control the constant temperature of the electric heater; the PWM timer is used to send a PWM pulse width signal to adjust the power of the electric heater; the battery is used to provide electrical energy; The initialization includes: respectively detecting the in-place status of the power management chip, the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer; according to the in-place status, receiving the real-time status signals of the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer through the power management chip; judging whether there is a fluctuation parameter according to the real-time status signal; wherein, when there is fluctuation data, the power management chip, the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer are reset as a whole and restarted; when there is no fluctuation data, judging whether the real-time status signal exceeds a preset reference parameter, and when it does not exceed the reference parameter, determining the initial data value corresponding to the implementation status signal, and using the initial data value as the initialization value; The operating parameters include: proportional control coefficient, integral control coefficient and differential control coefficient; The deviation parameter between the set temperature and the current temperature is calculated according to the operating parameters; wherein, The deviation parameters include: the sum of historical deviations, the difference between the current deviation and the deviation; Calculate the PID output gain according to the deviation parameter; According to the corresponding relationship between the PID output gain and the PWM pulse width output of the electric heater, the temperature of the electric heater is controlled to be constant.

2. A method for controlling the constant temperature of a heating element as claimed in claim 1, characterized in that: The setting parameters include automatic setting parameters and user setting parameters: The automatic parameter setting comprises the following steps: The power management chip receives a user input of a heater start instruction to heat the heating object; Setting a first operation cycle, and performing temperature detection based on a temperature sensor at preset time intervals during the first operation cycle to obtain multiple temperature values; Accumulating the temperature values ​​according to a preset period to obtain an accumulated value, and calculating an average sensing value based on the accumulated value; Using the average sensing value as the reference threshold value for each temperature detection in the next cycle; The reference threshold value is used as an automatically set parameter.

3. A method for controlling the constant temperature of a heating element as claimed in claim 1, characterized in that: The step of calculating the deviation parameter between the set temperature and the current temperature according to the operating parameter comprises: Calculating the deviation between the set temperature and the current temperature to determine the current deviation; The current deviation is calculated multiple times within the same time interval, and the sum of the deviations calculated multiple times is determined as the sum of historical deviations; wherein, The historical deviation is shown as follows: in, Indicates historical bias; Indicates the difference between the set temperature and the current temperature; Indicates the difference between the last set temperature and the current temperature; Indicates the difference between the last set temperature and the current temperature, and so on; Determine the two closest deviations, calculate the adjacent deviations, and use the adjacent deviations as the deviation difference; wherein, The difference in the deviations is expressed as follows: in, Indicates the difference in deviation.

4. A method for controlling the constant temperature of a heating element as claimed in claim 1, characterized in that: The PID output gain is calculated according to the deviation parameter, as shown in the following formula: in, Indicates PID output gain; represents the proportional control coefficient; represents the integral control coefficient; represents the differential control coefficient; Represents a constant, preventing = 0, the system is out of control.

5. A method for controlling the constant temperature of a heating element as claimed in claim 1, characterized in that: The method further comprises: Step 1: Preset at least two constant monitoring cycles and determine the temperature record list for each cycle; The plurality of temperature monitoring data in the temperature record list are sorted by time points to generate a temperature sequence, wherein a unique identification column where each temperature data in the temperature sequence is located stores a corresponding timestamp; Step 2: Fit the temperature series of different monitoring periods to determine the fitting value; According to the fitting value, determining the temperature constant difference rate of different monitoring periods; According to the temperature constant difference rate, it is determined whether to readjust the constant state.

6. A method for controlling constant temperature of a heating element as claimed in claim 1, characterized in that: The step of adjusting the power of the electric heater comprises: Detecting the current operating voltage and operating current of the electric heater, and calculating the latest current output power according to the operating voltage and operating current; Determining a constant temperature according to the PID control timer, and judging the required power of the electric heater based on the constant temperature; Calculating the power change difference between the current output power and the required power; If the power change difference is within the preset range, the product of the power change difference and the power change proportional factor is calculated to obtain the disturbance step size; wherein, Calculating the disturbance step size using a variable step size disturbance observation algorithm, and initializing and setting a power change proportional factor when starting to execute the variable step size disturbance observation algorithm; Determining a power correction parameter according to the change proportional factor and the current output power; Power is regulated by the power management chip according to the power correction parameter.

7. A method for controlling constant temperature of a heating element as claimed in claim 1, characterized in that: The method further comprises: Get battery operating parameters; According to the battery operating parameters, the remaining battery capacity SOC value is calculated by the power management chip; Determine the energy supply status according to the corresponding relationship between the remaining battery power, the battery operating parameters and the energy supply status; Determine the current output strategy based on the corresponding relationship between energy supply status and constant temperature control; Determine the remaining time of constant temperature control according to the corresponding relationship between the remaining battery power, battery operating parameters and current output strategy; When the remaining time is lower than a preset threshold, a low battery alarm is issued; Detect whether the constant temperature control is triggered; After the constant temperature control is detected to be triggered, the output voltage of the battery is detected; When the detected value of the output voltage is a positive voltage value, the state of the battery is determined to be a discharge state, and the low battery alarm is activated according to the discharge state.

8. A constant temperature control system for a heating element, characterized in that: include: Initialization module: used to initialize the operating parameters of the heating plate hardware module; The hardware module includes: a power management chip, a temperature sensor, a temperature acquisition timer, a PID control timer, a battery and a PWM timer; wherein the power management chip is electrically connected to the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer respectively; the power management chip is used to control the battery charging and discharging of the electric heater; the temperature sensor is used to sense the temperature of the electric heater and generate a temperature sensing signal; the temperature acquisition timer is used to manage the temperature acquisition process according to the control instructions of the power management chip; the PID control timer is used to control the constant temperature of the electric heater; the PWM timer is used to send a PWM pulse width signal to adjust the power of the electric heater; the battery is used to provide electrical energy; The initialization includes: respectively detecting the in-place status of the power management chip, the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer; according to the in-place status, receiving the real-time status signals of the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer through the power management chip; judging whether there is a fluctuation parameter according to the real-time status signal; wherein, when there is fluctuation data, the power management chip, the temperature sensor, the temperature acquisition timer, the PID control timer and the PWM timer are reset as a whole and restarted; when there is no fluctuation data, judging whether the real-time status signal exceeds a preset reference parameter, and when it does not exceed the reference parameter, determining the initial data value corresponding to the implementation status signal, and using the initial data value as the initialization value; The operating parameters include: proportional control coefficient, integral control coefficient and differential control coefficient; Deviation calculation module: used to calculate the deviation parameter between the set temperature and the current temperature according to the operating parameters; wherein, The deviation parameters include: the sum of historical deviations, the difference between the current deviation and the deviation; PID gain calculation module: used to calculate the PID output gain according to the deviation parameter; Constant temperature control module: used to control the temperature of the heating plate to be constant according to the corresponding relationship between the PID output gain and the PWM pulse width output of the heating plate.