CN114828304A - Temperature control method and device for electric heating plate - Google Patents

Temperature control method and device for electric heating plate Download PDF

Info

Publication number
CN114828304A
CN114828304A CN202210179058.1A CN202210179058A CN114828304A CN 114828304 A CN114828304 A CN 114828304A CN 202210179058 A CN202210179058 A CN 202210179058A CN 114828304 A CN114828304 A CN 114828304A
Authority
CN
China
Prior art keywords
target
temperature
oscillation
gain
deviation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210179058.1A
Other languages
Chinese (zh)
Inventor
廖平
王国军
张凯
邹伟
刘勇
吴征征
徐云波
胡强
张灵敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi Zengxin Technology Co ltd
Original Assignee
Jiangxi Zengxin Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangxi Zengxin Technology Co ltd filed Critical Jiangxi Zengxin Technology Co ltd
Priority to CN202210179058.1A priority Critical patent/CN114828304A/en
Publication of CN114828304A publication Critical patent/CN114828304A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B1/00Details of electric heating devices
    • H05B1/02Automatic switching arrangements specially adapted to apparatus ; Control of heating devices
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B1/00Details of electric heating devices
    • H05B1/02Automatic switching arrangements specially adapted to apparatus ; Control of heating devices
    • H05B1/0227Applications

Landscapes

  • Feedback Control In General (AREA)

Abstract

The invention discloses a temperature control method and a temperature control device for an electric heating plate, which relate to the technical field of livestock breeding equipment control, and are used for acquiring target sampling temperature acquired when PID (proportion integration differentiation) control is carried out on the electric heating plate according to target gain, wherein the current set temperature of the electric heating plate is the target temperature; the method comprises the steps that a first deviation value is obtained after collected target sampling temperature passes through a first-order filter; the collected target sampling temperature passes through a mean filter to obtain a second deviation value; carrying out oscillation curve fitting through the first deviation amount and the second deviation amount to obtain a target oscillation fitting curve, wherein the target oscillation fitting curve is used for reflecting the oscillation rule of the target sampling temperature; according to the invention, when the offset distance of the oscillation fitting curve is within the preset offset range, the fluctuation of the actual temperature obtained by sampling and the offset between the actual temperature and the target temperature are small, namely, the actual temperature obtained by PID control according to the target gain can accord with the target temperature, so that accurate temperature control can be realized.

Description

Temperature control method and device for electric heating plate
Technical Field
The invention relates to the technical field of livestock breeding equipment control, in particular to a temperature control method and a temperature control device of an electric hot plate.
Background
In the rapidly developing contemporary livestock industry; the automation requirements of large-scale and standardized breeding are gradually increased; the resistance of piglets is weak, the requirement on temperature is higher, and the electric heating plate is a good heating device, so that the temperature is stably and uniformly heated, and the animal welfare is greatly improved; the temperature control device and the control method of the electric heating plate are important for enabling the temperature of the electric heating plate to rise stably; its main reflection parameters include safety, functionality, stability, etc.; in consideration of the industry requirements from various aspects, the temperature controller of the electric heating plate with comprehensive functions, visual expression and stable performance is developed.
The existing temperature control of the electric heating plate is controlled by a temperature control switch and a voltage regulating module, the temperature regulation only has on and off signals or is roughly regulated by the voltage regulating module, the control is not accurate, and the overshoot phenomenon exists; in addition, the switching signal is adopted for direct control, and frequent switching affects the service life of the relay.
Disclosure of Invention
In order to solve the problems of the prior art, the invention provides a temperature control method and a temperature control device for an electric heating plate. In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a temperature control method of an electric heating plate controls the temperature of the electric heating plate through a PID controller, and comprises the following steps:
acquiring a target sampling temperature acquired when PID control is carried out on the electric heating plate according to a target gain, wherein the current set temperature of the electric heating plate is the target temperature;
the method comprises the steps that a first deviation value is obtained after collected target sampling temperature passes through a first-order filter;
the collected target sampling temperature passes through a mean filter to obtain a second deviation value;
carrying out oscillation curve fitting through the first deviation amount and the second deviation amount to obtain a target oscillation fitting curve, wherein the target oscillation fitting curve is used for reflecting the oscillation rule of the target sampling temperature;
and under the condition that the offset distance of the target oscillation fitting curve is within a preset deviation range, determining a PID control parameter corresponding to the target temperature according to the target gain and the target oscillation fitting curve, wherein the offset distance of the target oscillation fitting curve is used for indicating the fluctuation condition of the target sampling temperature.
Preferably, under the condition that the offset distance is not within the preset deviation range, the target gain is adjusted according to the offset distance, and the step of obtaining the target sampling temperature acquired when the electric heating plate is subjected to the PID control according to the target gain is returned to be executed until the offset distance is within the preset deviation range or the target gain cannot be continuously adjusted.
Preferably, when the target gain cannot be continuously adjusted, the PID control parameter corresponding to the target temperature is determined according to a target gain corresponding to an offset distance closest to the preset offset range and a target oscillation fitting curve corresponding to an offset distance closest to the preset offset range.
Preferably, the obtaining the second deviation amount after passing the acquired target sampling temperature through a mean filter includes:
and inputting the target sampling temperature into the mean value filter for integration to obtain the second deviation value.
Preferably, the fitting of the oscillation curve through the first deviation amount and the second deviation amount to obtain the target oscillation fitting curve includes:
calculating the difference value of the first deviation amount and the second deviation amount to obtain a deviation amount deviation value;
carrying out oscillation curve fitting on the deviation value to obtain the target oscillation fitting curve;
the preset deviation range is [ T-a, T + a ], a is a preset constant, and T is the target temperature;
the adjusting the target gain according to the offset distance comprises:
if the offset distance is smaller than T-a, increasing the target gain;
and if the offset distance is larger than T + a, reducing the target gain.
Preferably, the increasing the target gain includes:
increasing the target gain by a preset variation gain; or adjusting the target gain between the target gain and a maximum gain by a bisection method;
the reducing the target gain comprises:
reducing the target gain by a preset variation gain; or adjusting the target gain between the target gain and a minimum gain by a bisection method.
Preferably, the control method further includes:
obtaining a current regulation value according to the first deviation amount, the second deviation amount and the parameter combination of the PID controller, wherein the current regulation value comprises the following steps:
the parameter combination of the PID controller comprises a proportional parameter, an integral parameter and a differential parameter;
and calculating the product of the first deviation amount and the proportional parameter, the product of the second deviation amount and the integral parameter and the sum of the products of the deviation amount deviation value and the differential parameter to obtain the current regulation and control value.
The present invention also provides a temperature control device of an electric heating plate, the control device comprising:
the temperature sampling module is used for acquiring target sampling temperature acquired when PID control is carried out on equipment according to target gain, and the current set temperature of the electric heating plate is the target temperature;
the first-order filter module is used for processing the acquired target sampling temperature to obtain a first deviation value;
the mean filter module is used for processing the acquired target sampling temperature to obtain a second deviation value;
the curve fitting module is used for performing oscillation curve fitting through the first deviation amount and the second deviation amount to obtain a target oscillation fitting curve, and the target oscillation fitting curve is used for reflecting the oscillation rule of the target sampling temperature;
and the parameter determining module is used for determining the PID control parameter corresponding to the target temperature according to the target gain and the target oscillation fitting curve under the condition that the offset distance of the target oscillation fitting curve is within a preset offset range, wherein the offset distance of the target oscillation fitting curve is used for indicating the fluctuation condition of the target sampling temperature.
The present invention also provides a computer apparatus comprising: a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is used for realizing the temperature control method of the electric heating plate when running the computer program.
The present invention also provides a computer storage medium comprising: when the executable program is executed by the processor, the temperature control method of the electric heating plate is realized.
The invention has the beneficial effects that:
the invention improves the general PID adjusting algorithm by introducing the differential coefficient in a mode of automatically adjusting the differential coefficient according to the input quantity by utilizing the filtering technology. When the sampling amount shakes up and down near the target amount, the differential coefficient tends to a small value due to the filter action, whereas when the execution amount shakes up and down away from the target amount, the differential coefficient tends to a large value. Thereby gradually reducing the differential coefficient in the process where the execution amount approaches the target amount, improving the responsiveness of the controller. Meanwhile, when the offset distance of the oscillation fitting curve is within a preset deviation range, the fluctuation of the actual temperature obtained by sampling and the deviation between the actual temperature and the target temperature are small, namely the actual temperature obtained by PID control according to the target gain can be consistent with the target temperature, so that accurate temperature control can be realized; and the PID control parameters corresponding to the target temperature can be quickly determined by the mode of fitting the oscillation curve based on the sampling temperature and determining the offset distance of the oscillation fitting curve.
Drawings
FIG. 1 is a flowchart of a method for controlling temperature of an electric heating plate according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a method for controlling temperature of an electric heating plate according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hardware structure of a computer device according to an embodiment of the present invention.
The attached drawings are marked as follows: 1-a memory; 2-a processor.
Detailed Description
The present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In the embodiment of the present invention, the application scenarios of the control method may be as follows: and (4) checking drawings in an electronic approval system in the construction industry. It can be understood that, in the prior art, the temperature of the electric heating plate is controlled by a temperature control switch and a voltage regulating module, the temperature regulation is only carried out by an on-off signal or roughly regulated by the voltage regulating module, the control is not accurate, and the overshoot phenomenon exists; in addition, the switching signal is adopted for direct control, and frequent switching affects the service life of the relay.
Based on this, how to realize that the temperature of intelligent accurate control electric plate is in the technical problem that needs to solve urgently in required scope.
The technical scheme of the invention is further elaborated by combining the drawings and the specific embodiments in the specification.
Fig. 1 is a flowchart of a method for controlling temperature of an electric heating plate according to an embodiment of the present invention, and as shown in fig. 1, the method for controlling temperature of an electric heating plate includes:
s1: acquiring a target sampling temperature acquired when PID control is carried out on the electric heating plate according to a target gain, wherein the current set temperature of the electric heating plate is the target temperature;
s2: the method comprises the steps that a first deviation value is obtained after collected target sampling temperature passes through a first-order filter;
s3: the collected target sampling temperature passes through a mean value filter to obtain a second deviation value;
s4: carrying out oscillation curve fitting through the first deviation amount and the second deviation amount to obtain a target oscillation fitting curve, wherein the target oscillation fitting curve is used for reflecting the oscillation rule of the target sampling temperature;
s5: and under the condition that the offset distance of the target oscillation fitting curve is within a preset deviation range, determining a PID control parameter corresponding to the target temperature according to the target gain and the target oscillation fitting curve, wherein the offset distance of the target oscillation fitting curve is used for indicating the fluctuation condition of the target sampling temperature.
It should be noted that the temperature of the electric heating plate can be measured by a temperature sensor.
The current set temperature of the electric heating plate is the target temperature. The target temperature is a desired temperature, and may be understood as a temperature required/desired by a temperature control system for performing temperature control, and the temperature control system is a system for performing temperature control, and may be any temperature control system of a device having a temperature control function. In a particular implementation scenario, the target temperature may be a temperature set by a user
The target temperature can be any set temperature in the temperature control system. Specifically, the temperature change range of the temperature control system may be determined according to the characteristics of the temperature control system, where the temperature change range includes a maximum set temperature and a minimum set temperature, and then the temperature change range of the temperature control system is divided according to a specific temperature control requirement to obtain a plurality of set temperatures, and then one of the set temperatures is selected as the target temperature from the plurality of set temperatures. In a specific implementation manner, the temperature variation range of the temperature control system can be divided in an equal division manner to obtain a plurality of set temperatures. Taking the temperature variation range of [50, 100] as an example, the temperature variation range may be divided into 50 °, 75 °, and 100 ° at intervals of 75 °, and the set temperatures may be 50 °, 75 °, and 100 °, respectively.
In some possible embodiments, a plurality of set temperatures corresponding to the temperature control system may be sorted, and the set temperatures may be selected as the target temperatures in sequence. Taking the set temperatures of 50 °, 75 ° and 100 ° as examples, 50 ° may be selected as the target temperature, 75 ° may be selected as the target temperature, and finally 100 ° may be selected as the target temperature, and the PID control parameter corresponding to 100 ° may be determined. Alternatively, the set temperature may be selected as the target temperature in other manners.
In the embodiment of the present invention, the target gain is an oscillation gain, and refers to a gain when the temperature control system performs temperature control based on a PID control manner, so that the actual temperature obtained by control forms oscillation, which reflects the amplification factor of the output signal compared with the input signal in the temperature control system. The target gain may be obtained empirically.
In the embodiment of the invention, the target sampling temperature is the sampling temperature when the set temperature is at the target temperature and PID control is carried out according to the target gain, and can be understood as the temperature actually reached by the temperature control system by adopting the PID control parameter corresponding to the target gain to carry out temperature control, wherein the PID control according to the target gain refers to the temperature control according to the PID parameter corresponding to the target gain. In a specific implementation scenario, the target sampling temperature may be an actual temperature of the electric heating plate collected by the temperature collector/temperature sensor.
In the specific implementation, after the set temperature of the electric heating plate temperature control system is set as the target temperature, whether the current temperature of the temperature control system is lower than the preset temperature or not can be judged, and if the current temperature of the temperature control system is higher than the preset temperature, heat dissipation is carried out until the current temperature of the temperature control system is lower than or equal to the preset temperature; and after the current temperature of the temperature control system is less than or equal to the preset temperature, setting the gain of the temperature control system as a target gain, setting the PID control parameter corresponding to the temperature control system as the PID control parameter corresponding to the target gain for temperature control, and acquiring the operating temperature of the temperature control system through a temperature collector/temperature sensor to be used as the target sampling temperature corresponding to the target temperature under the target gain. Therefore, the obtained target sampling temperature can be ensured to be obtained based on PID control, so that the accuracy of PID control can be better measured.
According to the embodiment of the invention, a first deviation value is obtained after the collected target sampling temperature passes through a first-order filter; the acquired semaphore is passed through a mean value filter to obtain a second deviation value; and obtaining a current regulation value according to the current first deviation amount, the current second deviation amount and the parameter combination of the PID controller. The invention realizes the reasonable introduction of differential quantity in the closed-loop temperature control of the electric heating plate, thereby enhancing the transient response capability of the temperature control system.
The embodiment of the invention carries out oscillation curve fitting through the first deviation amount and the second deviation amount, wherein the oscillation curve fitting is carried out according to the first deviation amount and the second deviation amount to obtain the target oscillation fitting curve, namely after the target sampling temperature is in periodic oscillation (similar to periodic oscillation), curve fitting is carried out based on the oscillation rule of the target sampling temperature to obtain the target oscillation fitting curve reflecting the oscillation rule of the target sampling temperature.
The oscillation curve fitting can be performed based on a sine curve fitting or cosine curve fitting mode, and a target oscillation fitting curve is obtained. And the target oscillation fitting curve obtained by fitting is a sine fitting curve or a cosine fitting curve.
Specifically, under the condition of performing oscillation curve fitting based on a sine curve fitting mode, sine curve fitting can be performed on the target sampling temperature to obtain a sine fitting curve;
specifically, under the condition of performing oscillation curve fitting based on a cosine curve fitting mode, cosine curve fitting can be performed on the target sampling temperature to obtain a cosine fitting curve;
an oscillation fitting curve reflecting the oscillation rule of the target sampling temperature can be obtained through a sine curve fitting or cosine curve fitting mode, so that the deviation of the target sampling temperature compared with the target temperature can be determined according to the deviation degree of the oscillation fitting curve, and the accuracy of PID control can be further measured; by fitting the temperature difference between the actual temperature and the target temperature, the target oscillation fitting curve obtained by fitting can more intuitively reflect the fluctuation of the actual temperature and the deviation condition between the actual temperature and the target temperature.
In a specific implementation, after the gain of the temperature control system is set as the target gain and the temperature control system operates for a period of time, when the target sampling temperature is in periodic oscillation (similar to periodic oscillation), the oscillation curve fitting may be performed based on the target sampling temperature in a periodic oscillation (similar to periodic oscillation) state, and the fitting manner may be as described above. After the gain of the temperature control system is set as the target gain, the amplitude of the target sampling temperature can be monitored, and if the amplitude of the target sampling temperature is monitored to be periodically changed, the target sampling temperature is determined to be periodically oscillated. It is understood that, in the case where the set temperature of the apparatus is the target temperature, when the detected temperature fluctuates in the vicinity of the target temperature, the amplitude of the target sampling temperature may be considered to exhibit a periodic variation; the fluctuation range can be + -5 deg.C, + -4 deg.C, + -3 deg.C, + -2 deg.C, + -1 deg.C, etc., which is not limited in this application.
In the embodiment of the invention, the offset distance of the target oscillation fitting curve is used for indicating the offset degree of the target oscillation fitting curve, namely reflecting the fluctuation condition of the target sampling temperature. If the target oscillation fitting curve is obtained by fitting the temperature difference between the target sampling temperature and the target temperature, and the absolute value of the offset distance of the target oscillation fitting curve is smaller, the smaller the offset degree of the oscillation fitting curve is, the smaller the fluctuation and the deviation of the target sampling temperature compared with the target temperature are, and the more accurate and stable the PID control is; the larger the absolute value of the offset of the target oscillation fitting curve is, the higher the offset degree of the target oscillation fitting curve is, the larger the fluctuation of the target sampling temperature and the deviation of the target sampling temperature compared with the target temperature are, and the less accurate and stable the PID control is. If the target oscillation fitting curve is obtained by fitting the target sampling temperature, and the absolute value of the difference value between the offset distance of the target oscillation fitting curve and the target temperature is smaller, the smaller the offset degree of the oscillation fitting curve is, the smaller the fluctuation of the target sampling temperature and the deviation of the target sampling temperature is, and the more accurate and stable the PID control is; the larger the absolute value of the difference between the offset of the target oscillation fitting curve and the target temperature is, the higher the offset degree of the target oscillation fitting curve is, the smaller the fluctuation of the target sampling temperature and the deviation of the target sampling temperature compared with the target temperature are, and the less accurate and stable the PID control is.
In the embodiment of the invention, the preset deviation range is a reference deviation range set for measuring the deviation degree of the target oscillation fitting curve, and if the deviation distance of the target oscillation fitting curve is within the preset deviation range, the PID control is accurate enough; and if the offset distance of the target oscillation fitting curve is not within the preset deviation range, the PID control is not accurate enough. The preset deviation range can be set according to the accuracy required by the temperature control system in an actual scene and a fitting object.
In one possible embodiment, the preset deviation range may be set to [ T-a, T + a ] or [ -a, a ], a being a preset constant, and T being the target temperature. If the target oscillation fitting curve is obtained by fitting the temperature difference between the target sampling temperature and the target temperature, the preset deviation range is [ -a, + a ], and if the target oscillation fitting curve is obtained by fitting the target sampling temperature, the preset deviation range is [ T-a, T + a ]. The higher the accuracy required by the temperature control system, the smaller a, and the lower the accuracy required by the temperature system, the larger a. Of course, the preset deviation range may be set in other situations, and the preset deviation range is not limited by the present invention.
According to the embodiment of the invention, when the offset distance of the oscillation fitting curve is within the preset deviation range, the fluctuation of the actual temperature obtained by sampling and the deviation between the actual temperature and the target temperature are small, namely the actual temperature obtained by PID control according to the target gain can be consistent with the target temperature, so that accurate temperature control can be realized; and the PID control parameters corresponding to the target temperature can be quickly determined by the mode of carrying out oscillation curve fitting based on the sampling temperature and determining the offset distance of the oscillation fitting curve.
In the embodiment of the invention, under the condition that the preset deviation range is [ T-a, T + a ], if the offset distance of the target oscillation fitting curve is smaller than T-a, it indicates that the target oscillation fitting curve is shifted downwards, the target gain is insufficient, and the target oscillation fitting curve needs to be shifted upwards, and then the target gain is increased; if the offset distance of the target oscillation fitting curve is larger than T + a, the target oscillation fitting curve deviates upwards, the target gain is over-sufficient, the target oscillation fitting curve needs to be moved downwards, and the target gain is reduced. Similarly, under the condition that the preset deviation range is [ -a, a ], if the offset distance of the target oscillation fitting curve is smaller than-a, the target gain is increased; and if the offset distance of the target oscillation fitting curve is larger than a, reducing the target gain.
In the process of increasing or decreasing the target gain, the target gain may be increased or decreased based on a dichotomy, that is, an adjustable interval of the target gain is first determined, then an intermediate value (i.e., an average of two end point values) of the adjustable interval is selected as an adjustment value to be adjusted, then the intermediate value is used as one end point of the adjustable interval, according to the adjusted condition, one of the two original end points of the adjustable interval is used as the other end point of the adjustable interval, the adjustable interval is reduced and updated, and the iteration is performed until the offset distance of the target oscillation fitting curve is within a preset deviation range, or the difference between the two end points of the adjustable interval is smaller than a preset difference.
Optionally, in the process of increasing the target gain or decreasing the target gain, the target gain may also be increased by a preset variation gain, or the target gain may be decreased by a preset variation gain, where the preset variation gain may be set according to specific situations.
Alternatively, in the case where the target gain cannot be continuously adjusted (e.g., the aforementioned adjustable interval is small enough, the aforementioned adjustable interval has been used up, or no other adjustable value exists, etc.), a target oscillation fitting curve with the offset closest to the preset deviation range may be determined, and the PID control parameter corresponding to the target temperature may be determined according to the target gain corresponding to the target oscillation fitting curve with the offset closest to the preset deviation range and the target oscillation fitting curve with the offset closest to the preset deviation range.
According to the embodiment of the invention, the current regulation and control value is obtained according to the first deviation, the second deviation and the parameter combination of the PID controller, and the method comprises the following steps:
the parameter combination of the PID controller comprises a proportional parameter, an integral parameter and a differential parameter;
and calculating the product of the first deviation amount and the proportional parameter, the product of the second deviation amount and the integral parameter and the sum of the products of the deviation amount deviation value and the differential parameter to obtain the current regulation and control value.
As shown in fig. 2, an embodiment of the present invention further provides a temperature control device for an electric heating plate, where the temperature control device includes:
the temperature sampling module is used for acquiring target sampling temperature acquired when PID control is carried out on equipment according to target gain, and the current set temperature of the electric heating plate is the target temperature;
the first-order filter module is used for processing the acquired target sampling temperature to obtain a first deviation value;
the mean filter module is used for processing the acquired target sampling temperature to obtain a second deviation value;
the curve fitting module is used for performing oscillation curve fitting through the first deviation amount and the second deviation amount to obtain a target oscillation fitting curve, and the target oscillation fitting curve is used for reflecting the oscillation rule of the target sampling temperature;
and the parameter determining module is used for determining a PID control parameter corresponding to the target temperature according to the target gain and the target oscillation fitting curve under the condition that the offset distance of the target oscillation fitting curve is within a preset offset range, wherein the offset distance of the target oscillation fitting curve is used for indicating the fluctuation condition of the target sampling temperature.
Here, it should be noted that: the above description of the temperature control device for the electric heating plate is similar to the above description of the temperature control method for the electric heating plate, and the description of the beneficial effects of the method is omitted for brevity. For the technical details that are not disclosed in the embodiment of the present invention applied to the electric heating plate control device, please refer to the description of the embodiment of the temperature control method applied to the electric heating plate of the present invention.
As shown in fig. 3, an embodiment of the present invention further provides a computer device, which includes a memory 1, a processor 2, and computer instructions stored on the memory 1 and executable on the processor 2; the processor 2 implements the steps of the temperature control method applied to the electric hot plate when executing the instructions.
In some embodiments, memory 1 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 1 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
And the processor 2 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 2. The Processor 2 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1, and the processor 2 reads the information in the memory 1 and completes the steps of the method in combination with the hardware thereof.
In some embodiments, the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Yet another embodiment of the present invention provides a computer-readable storage medium storing an executable program which, when executed by the processor 2, implements the steps of the temperature control method applied to the electric heating panel. For example, as one or more of the methods shown in fig. 1.
In some embodiments, the computer storage medium may include: a U-disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: the technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
Finally, only specific embodiments of the present invention have been described in detail above. The invention is not limited to the specific embodiments described above. Equivalent modifications and substitutions by those skilled in the art are also within the scope of the present invention. Accordingly, equivalent alterations and modifications are intended to be included within the scope of the invention, without departing from the spirit and scope of the invention.

Claims (10)

1. A temperature control method of an electric heating plate controls the temperature of the electric heating plate through a PID controller, and is characterized in that: the method comprises the following steps:
acquiring a target sampling temperature acquired when PID control is carried out on the electric heating plate according to a target gain, wherein the current set temperature of the electric heating plate is the target temperature;
the method comprises the steps that a first deviation value is obtained after collected target sampling temperature passes through a first-order filter;
the collected target sampling temperature passes through a mean filter to obtain a second deviation value;
carrying out oscillation curve fitting through the first deviation amount and the second deviation amount to obtain a target oscillation fitting curve, wherein the target oscillation fitting curve is used for reflecting the oscillation rule of the target sampling temperature;
and under the condition that the offset distance of the target oscillation fitting curve is within a preset deviation range, determining a PID control parameter corresponding to the target temperature according to the target gain and the target oscillation fitting curve, wherein the offset distance of the target oscillation fitting curve is used for indicating the fluctuation condition of the target sampling temperature.
2. The control method according to claim 1, characterized in that:
and under the condition that the offset distance is not within the preset deviation range, adjusting the target gain according to the offset distance, and returning to the step of acquiring the target sampling temperature acquired when the PID control is carried out on the electric heating plate according to the target gain until the offset distance is within the preset deviation range or the target gain cannot be continuously adjusted.
3. The control method according to claim 2, characterized in that:
and under the condition that the target gain cannot be continuously adjusted, determining the PID control parameter corresponding to the target temperature according to the target gain corresponding to the offset distance closest to the preset deviation range and the target oscillation fitting curve corresponding to the offset distance closest to the preset deviation range.
4. The control method according to any one of claims 1 to 3, characterized in that:
after the acquired target sampling temperature passes through the mean filter, obtaining a second deviation value comprises the following steps:
and inputting the target sampling temperature into the mean value filter for integration to obtain the second deviation value.
5. The control method according to claim 1, characterized in that:
carrying out oscillation curve fitting through the first deviation amount and the second deviation amount to obtain a target oscillation fitting curve, wherein the target oscillation fitting curve comprises the following steps:
calculating the difference value of the first deviation amount and the second deviation amount to obtain a deviation amount deviation value;
carrying out oscillation curve fitting on the deviation value to obtain the target oscillation fitting curve;
the preset deviation range is [ T-a, T + a ], a is a preset constant, and T is the target temperature;
the adjusting the target gain according to the offset distance comprises:
if the offset distance is smaller than T-a, increasing the target gain;
and if the offset distance is larger than T + a, reducing the target gain.
6. The control method according to claim 5, characterized in that:
the increasing the target gain comprises:
increasing the target gain by a preset variation gain; or adjusting the target gain between the target gain and a maximum gain by a bisection method;
the reducing the target gain comprises:
reducing the target gain by a preset variation gain; or adjusting the target gain between the target gain and a minimum gain by a bisection method.
7. The control method according to claim 1, characterized in that:
further comprising:
obtaining a current regulation value according to the first deviation amount, the second deviation amount and the parameter combination of the PID controller, wherein the current regulation value comprises the following steps:
the parameter combination of the PID controller comprises a proportional parameter, an integral parameter and a differential parameter;
and calculating the product of the first deviation amount and the proportional parameter, the product of the second deviation amount and the integral parameter and the sum of the products of the deviation amount deviation value and the differential parameter to obtain the current regulation and control value.
8. The utility model provides a temperature control device of electric plate which characterized in that:
the control device includes:
the temperature sampling module is used for acquiring target sampling temperature acquired when PID control is carried out on equipment according to target gain, and the current set temperature of the electric heating plate is the target temperature;
the first-order filter module is used for processing the acquired target sampling temperature to obtain a first deviation value;
the mean filter module is used for processing the acquired target sampling temperature to obtain a second deviation value;
the curve fitting module is used for performing oscillation curve fitting through the first deviation amount and the second deviation amount to obtain a target oscillation fitting curve, and the target oscillation fitting curve is used for reflecting the oscillation rule of the target sampling temperature;
and the parameter determining module is used for determining the PID control parameter corresponding to the target temperature according to the target gain and the target oscillation fitting curve under the condition that the offset distance of the target oscillation fitting curve is within a preset offset range, wherein the offset distance of the target oscillation fitting curve is used for indicating the fluctuation condition of the target sampling temperature.
9. A computer device, comprising: a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is configured to implement the method of temperature control of an electric hot plate according to any one of claims 1 to 7 when running the computer program.
10. A computer storage medium, comprising: the executable program is executed by a processor to realize the temperature control method of the electric heating plate according to any one of claims 1 to 7.
CN202210179058.1A 2022-02-25 2022-02-25 Temperature control method and device for electric heating plate Pending CN114828304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210179058.1A CN114828304A (en) 2022-02-25 2022-02-25 Temperature control method and device for electric heating plate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210179058.1A CN114828304A (en) 2022-02-25 2022-02-25 Temperature control method and device for electric heating plate

Publications (1)

Publication Number Publication Date
CN114828304A true CN114828304A (en) 2022-07-29

Family

ID=82528734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210179058.1A Pending CN114828304A (en) 2022-02-25 2022-02-25 Temperature control method and device for electric heating plate

Country Status (1)

Country Link
CN (1) CN114828304A (en)

Similar Documents

Publication Publication Date Title
CN114246478B (en) Instant heating machine and control method thereof
EP3320411B1 (en) Temperature control method and apparatus
CN106766222B (en) The supply water temperature adjusting method and device of heat pump water-heating machine
US10697650B2 (en) Automatic balance valve control
EP2725434A1 (en) Feedback control method, feedback control apparatus, and feedback control program
CN113885602B (en) Method and device for improving temperature control stability
CN114828304A (en) Temperature control method and device for electric heating plate
CN112984702B (en) Control method of fixed-frequency air conditioner, fixed-frequency air conditioner and storage medium
CN114183769B (en) Control method and control device for gas proportional valve
US20200003431A1 (en) Pulse Modulated Heating, Ventilation, and Air Conditioning (HVAC) Control
JP6526148B2 (en) Temperature control device and method
JPWO2016142991A1 (en) Temperature control system and temperature control method
US10739017B2 (en) Determination of hydronic valve opening point
CN116461299A (en) Temperature regulation parameter determination method and device, electronic equipment and storage medium
EP3349074B1 (en) Control device, control method, and control program for tuning an amount of operation of a device
CN114688696B (en) Control method, device and system for dehumidification and heat compensation of constant temperature and humidity air conditioning unit
Amato et al. Laboratory test of commercial smart radiator thermostats when used for load shifting
CN115220485A (en) Humidity control method, device and system and storage medium
CN116880606A (en) Temperature control method and control device based on self-learning duty cycle
CN117008654A (en) Temperature control method, control device and storage medium
CN116439581A (en) Oven temperature control method and device and oven
CN116880607A (en) Temperature control method and device based on duty ratio and storage medium
CN115429007A (en) Split type electronic atomization device and temperature control method thereof
CN115143518A (en) Heating facility, control method and system thereof, and storage medium
CN116989443A (en) Self-learning feedback calibration method and device for regional energy heating and cooling system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination