CN113867440A - Heating temperature control method based on pid algorithm - Google Patents

Heating temperature control method based on pid algorithm Download PDF

Info

Publication number
CN113867440A
CN113867440A CN202111176745.XA CN202111176745A CN113867440A CN 113867440 A CN113867440 A CN 113867440A CN 202111176745 A CN202111176745 A CN 202111176745A CN 113867440 A CN113867440 A CN 113867440A
Authority
CN
China
Prior art keywords
water inlet
coefficient
temperature
actual
relation
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
CN202111176745.XA
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.)
Sichuan Changhong Precision Electronic Technology Co ltd
Sichan Ai Chance Technology Co ltd
Original Assignee
Sichuan Changhong Precision Electronic Technology Co ltd
Sichan Ai Chance 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 Sichuan Changhong Precision Electronic Technology Co ltd, Sichan Ai Chance Technology Co ltd filed Critical Sichuan Changhong Precision Electronic Technology Co ltd
Priority to CN202111176745.XA priority Critical patent/CN113867440A/en
Publication of CN113867440A publication Critical patent/CN113867440A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D23/00Control of temperature
    • G05D23/19Control of temperature characterised by the use of electric means
    • G05D23/20Control of temperature characterised by the use of electric means with sensing elements having variation of electric or magnetic properties with change of temperature

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention relates to the technical field of temperature control, and provides a pid algorithm-based heating temperature control method for facilitating heating temperature control, which comprises the following steps: step S1, determining the relation f (t) between the water inlet temperature and the coefficient Kp; step S2, determining the relation Z (lp) between the water inlet flow rate and the coefficient Kp and the relation T (Li) between the water inlet flow rate and the coefficient Ti; step S3, detecting the actual water inlet temperature and the actual water inlet flow when heating starts; step S4, determining an actual coefficient Kp according to the actual water inlet temperature, f (t), Z (lp), and determining an actual coefficient Ti according to the actual water inlet flow and T (Li); and step S5, transmitting the actual coefficient Kp and the actual coefficient Ti into the pid heating control algorithm module for heating control. By adopting the mode, the situation that the temperature exceeds the safety range can be effectively avoided.

Description

Heating temperature control method based on pid algorithm
Technical Field
The invention relates to the technical field of temperature control, in particular to a pid algorithm-based heating temperature control method.
Background
Along with the improvement of living standard, the intelligent closestool lid has walked into millions of families, wherein instant heating type closestool receives market favor because it can avoid the bacterium to breed in the water storage tank, but because the nature of instant heating type self flowing water heating and the requirement of national standard need reach higher temperature in a few seconds of water, consequently the heater just needs to export higher power at the initial stage of heating, and in addition china's width has great difference in different regional quality of water, temperature, voltage etc. lead to leaving water temperature to surpass the safe range of regulation easily, can also cause personnel's injury in the serious time.
Disclosure of Invention
In order to facilitate the control of the heating temperature, the invention provides a heating temperature control method based on a pid algorithm.
The technical scheme adopted by the invention for solving the problems is as follows:
the heating temperature control method based on the pid algorithm comprises the following steps:
step S1, determining the relation f (t) between the water inlet temperature and the coefficient Kp;
step S2, determining the relation Z (lp) between the water inlet flow rate and the coefficient Kp and the relation T (Li) between the water inlet flow rate and the coefficient Ti;
step S3, detecting the actual water inlet temperature and the actual water inlet flow when heating starts;
step S4, determining an actual coefficient Kp according to the actual water inlet temperature, f (t), Z (lp), and determining an actual coefficient Ti according to the actual water inlet flow and T (Li);
and step S5, transmitting the actual coefficient Kp and the actual coefficient Ti into the pid heating control algorithm module for heating control.
Further, the step S1 includes:
step S11, fixing the water inlet flow as F1, and manually calling a group of parameters M under the condition of low water inlet temperature1
Step S12, adopting the same water inlet flow rate to manually adjust another group of parameters M under the condition of high water inlet temperature2
Step S13, according to the low water inlet temperature, M1High water entry temperature and M2And acquiring the relation f (t) between the inlet water temperature and the coefficient Kp.
Further, the low inlet water temperature is in a range of 2-6 ℃, and the high inlet water temperature is in a range of 27-30 ℃.
Further, the low water inlet temperature is 5 ℃ and the high water inlet temperature is 30 ℃.
Further, z (lp) and t (li) are piecewise functions.
Further, the step S2 includes:
step S21, fixing the temperature of the inlet water, and manually adjusting a group of parameters M at a flow rate of F1+ X3
Step S22, manually calling another group of parameters M at the flow rate of F1-Y under the same water inlet temperature4
Step S23, according to F1 and M1F1+ X and M3Obtaining a relation Z between the inflow rate and a coefficient Kp1(Lp) and the relationship T between the inflow and the coefficient Ti1(Li);
Step S24, according to F1 and M1F1-Y and M4Obtaining a relation Z between the inflow rate and a coefficient Kp2(Lp) and the relationship T between the inflow and the coefficient Ti2(Li)。
Further, the step S4 includes:
step S41, acquiring a Kp value according to the actual water inlet temperature and f (t);
step S42, obtaining an actual coefficient Kp based on the detected water inlet flow rate and Z (lp);
and step S43, acquiring an actual coefficient Ti according to the actual water inlet flow and T (Li).
Compared with the prior art, the invention has the beneficial effects that: by determining the coefficients Kp and Ti in the pid algorithm, the pid heating control algorithm module is more consistent with the use environment of the intelligent closestool during heating control, and the situation that the water temperature exceeds the safety range is effectively avoided.
Drawings
FIG. 1 is a flow chart of a pid algorithm-based heating temperature control method of the present invention;
FIG. 2 is a graph showing the effect of temperature control on 220v voltage level 2 flow rate of 35 DEG water;
FIG. 3 is a graph showing the effect of temperature control on the 253v voltage level-2 flow rate of 35 ℃ inlet water;
FIG. 4 is a graph showing the effect of temperature control on 220v voltage 4-level flow rate of 35-degree inlet water;
fig. 5 is a temperature control effect graph of 35-degree water inlet 253v, voltage and flow rate of 4 levels.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the method for controlling heating temperature based on pid algorithm includes:
step S1, determining the relation f (t) between the water inlet temperature and the coefficient Kp;
step S2, determining the relation Z (lp) between the water inlet flow rate and the coefficient Kp and the relation T (Li) between the water inlet flow rate and the coefficient Ti;
step S3, detecting the actual water inlet temperature and the actual water inlet flow when heating starts;
step S4, determining an actual coefficient Kp according to the actual water inlet temperature, f (t), Z (lp), and determining an actual coefficient Ti according to the actual water inlet flow and T (Li);
and step S5, transmitting the actual coefficient Kp and the actual coefficient Ti into the pid heating control algorithm module for heating control.
Specifically, the step S1 includes:
step S11, fixing the water inlet flow as F1, and manually calling a group of parameters M under the condition of low water inlet temperature1The parameter M comprises a Kp value and a Ti value;
step S12, adopting the same water inlet flow rate to manually adjust another group of parameters M under the condition of high water inlet temperature2
Step S13, according to the low water inlet temperature, M1High water entry temperature and M2And acquiring the relation f (t) between the inlet water temperature and the coefficient Kp. According to the experiment of the inventor, the relation between the coefficient Kp and the temperature can be approximately regarded as a linear relation, so that no additional processing is needed.
Further, the low water inlet temperature and the high water inlet temperature need to cover the temperature range of the product as much as possible, for example, the low water inlet temperature is 2-6 ℃, the high water inlet temperature is 27-30 ℃, specifically, the low water inlet temperature is 5 ℃, and the high water inlet temperature is 30 ℃. In the actual use process, if the actual temperature is lower than the low water inlet temperature, the water is treated according to the low water inlet temperature, and if the actual temperature is higher than the high water inlet temperature, the water is treated according to the high water inlet temperature.
In order to obtain a more accurate value, in this embodiment, both z (lp) and t (li) adopt a piecewise function, and for convenience of calculation, the piecewise function is divided into two segments, or multiple segments according to actual needs.
Specifically, the step S2 includes:
step S21, fixing the temperature of the inlet water, and manually adjusting a group of parameters M at a flow rate of F1+ X3
Step S22, manually calling another group of parameters M at the flow rate of F1-Y under the same water inlet temperature4(ii) a Wherein the values of X and Y can be equal or unequal, but the flow rate is not more than 800ml at most and not less than 400ml at least when the flow rate is selected.
Step S23, according to F1 and M1F1+ X and M3Obtaining a relation Z between the inflow rate and a coefficient Kp1(Lp) and the relationship T between the inflow and the coefficient Ti1(Li);
Step S24, according to F1 and M1F1-Y and M4Obtaining a relation Z between the inflow rate and a coefficient Kp2(Lp) and the relationship T between the inflow and the coefficient Ti2(Li)。
The step S4 includes:
step S41, acquiring a Kp value according to the actual water inlet temperature and f (t);
step S42, obtaining an actual coefficient Kp based on the detected water inlet flow rate and Z (lp); specifically, the actual flow rate is used to scale the Kp value obtained in step S41 by the relationship Z (lp) to obtain the actual coefficient Kp, and specifically, which piecewise function is selected to be used is determined by the actual flow rate, that is, the actual flow rate is determined by using Z1(Lp) or Z2(Lp);
And step S43, acquiring an actual coefficient Ti according to the actual water inlet flow and T (Li).
The correlation coefficient of the pid algorithm is dynamically obtained through the actual water inlet flow and the water inlet temperature, so that the temperature control is more in accordance with the safety requirement, fig. 2-5 are temperature control effect graphs of different voltages and flows when the water inlet temperature is 35 ℃, wherein 39 ℃ is a set safety temperature value, and as can be seen from the graphs, the temperature can be controlled below the safety temperature value after about 12S.

Claims (7)

1. The method for controlling the heating temperature based on the pid algorithm is characterized by comprising the following steps:
step S1, determining the relation f (t) between the water inlet temperature and the coefficient Kp;
step S2, determining the relation Z (lp) between the water inlet flow rate and the coefficient Kp and the relation T (Li) between the water inlet flow rate and the coefficient Ti;
step S3, detecting the actual water inlet temperature and the actual water inlet flow when heating starts;
step S4, determining an actual coefficient Kp according to the actual water inlet temperature, f (t), Z (lp), and determining an actual coefficient Ti according to the actual water inlet flow and T (Li);
and step S5, transmitting the actual coefficient Kp and the actual coefficient Ti into the pid heating control algorithm module for heating control.
2. The pid algorithm-based heating temperature control method according to claim 1, wherein the step S1 includes:
step S11, fixing the water inlet flow as F1, and manually calling a group of parameters M under the condition of low water inlet temperature1
Step S12, adopting the same water inlet flow rate to manually adjust another group of parameters M under the condition of high water inlet temperature2
Step S13, according to the low water inlet temperature, M1High water entry temperature and M2And acquiring the relation f (t) between the inlet water temperature and the coefficient Kp.
3. The pid algorithm-based heating temperature control method according to claim 2, wherein the low inlet water temperature is in a range of 2 to 6 ℃ and the high inlet water temperature is in a range of 27 to 30 ℃.
4. The pid algorithm-based heating temperature control method according to claim 3, wherein the low inlet water temperature is 5 ℃ and the high inlet water temperature is 30 ℃.
5. The pid algorithm-based heating temperature control method of claim 2, wherein z (lp) and t (li) are both piecewise functions.
6. The pid algorithm-based heating temperature control method according to claim 5, wherein the step S2 includes:
step S21, fixing the temperature of the inlet water, and manually adjusting a group of parameters M at a flow rate of F1+ X3
Step S22, manually calling another group of parameters M at the flow rate of F1-Y under the same water inlet temperature4
Step S23, according to F1 and M1F1+ X and M3Obtaining a relation Z between the inflow rate and a coefficient Kp1(Lp) and the relationship T between the inflow and the coefficient Ti1(Li);
Step S24, according to F1 and M1F1-Y and M4Obtaining a relation Z between the inflow rate and a coefficient Kp2(Lp) and the relationship T between the inflow and the coefficient Ti2(Li)。
7. The pid algorithm-based heating temperature control method according to claim 6, wherein the step S4 includes:
step S41, acquiring a Kp value according to the actual water inlet temperature and f (t);
step S42, obtaining an actual coefficient Kp based on the detected water inlet flow rate and Z (lp);
and step S43, acquiring an actual coefficient Ti according to the actual water inlet flow and T (Li).
CN202111176745.XA 2021-10-09 2021-10-09 Heating temperature control method based on pid algorithm Pending CN113867440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111176745.XA CN113867440A (en) 2021-10-09 2021-10-09 Heating temperature control method based on pid algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111176745.XA CN113867440A (en) 2021-10-09 2021-10-09 Heating temperature control method based on pid algorithm

Publications (1)

Publication Number Publication Date
CN113867440A true CN113867440A (en) 2021-12-31

Family

ID=79002378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111176745.XA Pending CN113867440A (en) 2021-10-09 2021-10-09 Heating temperature control method based on pid algorithm

Country Status (1)

Country Link
CN (1) CN113867440A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4769151A (en) * 1986-10-30 1988-09-06 Cobe Laboratories, Inc. Heater control for liquid flowing through a chamber
JPH05272804A (en) * 1992-03-25 1993-10-22 Toto Ltd Heating controller for hot water feeder and the like
JPH06117631A (en) * 1992-10-05 1994-04-28 Gastar Corp Combustion control method for hot water supply heater
US20150206776A1 (en) * 2012-07-25 2015-07-23 Kelk Ltd. Temperature Controller for Semiconductor Manufacturing Equipment, Method for Calculating PID Constants in Semiconductor Manfacturing, and Method for Operating Temperature Controller for Semiconductor Manufacturing Equipment
CN112682946A (en) * 2020-12-28 2021-04-20 威能(无锡)供热设备有限公司 Gas water heating equipment and start control method and readable storage medium thereof
CN112682947A (en) * 2020-12-28 2021-04-20 威能(无锡)供热设备有限公司 Gas water heating equipment and disturbance compensation control method and readable storage medium thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4769151A (en) * 1986-10-30 1988-09-06 Cobe Laboratories, Inc. Heater control for liquid flowing through a chamber
JPH05272804A (en) * 1992-03-25 1993-10-22 Toto Ltd Heating controller for hot water feeder and the like
JPH06117631A (en) * 1992-10-05 1994-04-28 Gastar Corp Combustion control method for hot water supply heater
US20150206776A1 (en) * 2012-07-25 2015-07-23 Kelk Ltd. Temperature Controller for Semiconductor Manufacturing Equipment, Method for Calculating PID Constants in Semiconductor Manfacturing, and Method for Operating Temperature Controller for Semiconductor Manufacturing Equipment
CN112682946A (en) * 2020-12-28 2021-04-20 威能(无锡)供热设备有限公司 Gas water heating equipment and start control method and readable storage medium thereof
CN112682947A (en) * 2020-12-28 2021-04-20 威能(无锡)供热设备有限公司 Gas water heating equipment and disturbance compensation control method and readable storage medium thereof

Similar Documents

Publication Publication Date Title
CN107885259B (en) Chlorination reaction temperature control method, system and equipment
CN112615031B (en) Temperature control method for proton exchange membrane fuel cell system for vehicle
US6688532B2 (en) Controller, temperature controller and heat processor using same
US10460964B2 (en) Substrate liquid processing apparatus and method, and computer-readable storage medium stored with substrate liquid processing program
CN109068405B (en) Temperature compensation control method
CN111072131B (en) Method for calculating carbon source adding amount on line based on carbon-nitrogen ratio of inlet water
CN103207562B (en) A kind of for the modified model pid algorithm of glass heating under vacuum
JP2008165674A (en) Pid control method and pid control device
CN113867440A (en) Heating temperature control method based on pid algorithm
CN113667999B (en) Ozone concentration control method for electrolyzed water and electrolyzed water tank
KR20060092660A (en) Automatic control device and method for wastewater treatment using fuzzy control
JP5145311B2 (en) Water purification chemical injection control system
JP4071519B2 (en) Flocculant injection control device for water purification plant
US7005073B2 (en) Residual wastewater chlorine concentration control using a dynamic weir
JP3939630B2 (en) Management method of boiling chemicals
CN211546081U (en) Dissolved oxygen adaptive control device
JP7378972B2 (en) Membrane treatment control system and membrane treatment control method
CN110940095B (en) Constant temperature control method and system
CN115218486B (en) Multistage heating system and method for drinking water equipment
JPH03115521A (en) Method for control of heat treatment
JP2021107044A (en) Sludge coagulation and dewatering apparatus and control method thereof
CN108107944A (en) For the self adaptation heater and control method of automated peritoneal dialysis machine
RU2789344C1 (en) A method for controlling the process of heat treatment of canned food from hydrobionts
JP4695177B2 (en) Control method of excess sludge volume reduction treatment
CN113446658A (en) Heating system control method, heating system, gas device and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211231

RJ01 Rejection of invention patent application after publication