CN109668326A - A kind of instant heating type dynamic temperature control method based on pid algorithm - Google Patents

A kind of instant heating type dynamic temperature control method based on pid algorithm Download PDF

Info

Publication number
CN109668326A
CN109668326A CN201910022721.5A CN201910022721A CN109668326A CN 109668326 A CN109668326 A CN 109668326A CN 201910022721 A CN201910022721 A CN 201910022721A CN 109668326 A CN109668326 A CN 109668326A
Authority
CN
China
Prior art keywords
water
controller
pid
pid controller
method based
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
CN201910022721.5A
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.)
GUANGDONG YINGKE ELECTRONIC CO Ltd
Original Assignee
GUANGDONG YINGKE ELECTRONIC 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 GUANGDONG YINGKE ELECTRONIC CO Ltd filed Critical GUANGDONG YINGKE ELECTRONIC CO Ltd
Priority to CN201910022721.5A priority Critical patent/CN109668326A/en
Publication of CN109668326A publication Critical patent/CN109668326A/en
Pending legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24HFLUID HEATERS, e.g. WATER OR AIR HEATERS, HAVING HEAT-GENERATING MEANS, e.g. HEAT PUMPS, IN GENERAL
    • F24H9/00Details
    • F24H9/20Arrangement or mounting of control or safety devices
    • F24H9/2007Arrangement or mounting of control or safety devices for water heaters
    • F24H9/2014Arrangement or mounting of control or safety devices for water heaters using electrical energy supply
    • F24H9/2028Continuous-flow heaters

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Control Of Temperature (AREA)

Abstract

The instant heating type dynamic temperature control method based on pid algorithm that present invention relates particularly to a kind of, this method step is: step 1: the i.e. fever pipe in water heater heats water inlet, i.e., heat sensor detects the water temperature in i.e. fever pipe and exports heating water temperature parameters;Step 2: the water present sensor in water heater detects leaving water temperature and exports hot water water temperature parameters;Step 3:PID controller is respectively received hot water water temperature parameters and leaving water temperature parameter, power required for temperature is set separately according to parameter in PID controller: Us (t)=Us (t-1)+a ╳ e (t)+b ╳ e (t-1)+c ╳ e (t-2), the power parameter of step 4:PID controller calculating is simultaneously delivered to control power output controller, controls the output power of power output controller;Step 5: control is the working condition of fever pipe.The beneficial effects of the present invention are: this structure acts the purpose for reaching accurate temperature control by being that heat sensor, water present sensor, PID controller and power output controller are applied in combination.

Description

A kind of instant heating type dynamic temperature control method based on pid algorithm
Technical field
The present invention relates to immediately heating water heater technical fields, and in particular to a kind of instant heating type dynamic temperature based on pid algorithm Control method.
Background technique
Existing instant heating type household appliances, such as immediately heating water heater, the leaving water temperature of immediately heating water heater are sometimes hot and sometimes cold not The case where enough stabilizations, there is also Various Seasonals to use identical water heater for some, and leaving water temperature is unable to reach set temperature.
There is fluctuation on a large scale in the leaving water temperature of heating water heater, and then causes inconvenience to the use of user, even There is the accident scalded.
Summary of the invention
It is an object of the invention to overcome above-mentioned the deficiencies in the prior art, provide it is a kind of can reduce cost, make output miss Within difference control 10%, effectively reduces the electrolysis of water and promote the instant heating type dynamic temperature based on pid algorithm of the service life of probe Control method.
A kind of instant heating type dynamic temperature control method based on pid algorithm that the present invention describes, the method steps are as follows.
Step 1: the i.e. fever pipe in water heater heats water inlet, i.e. heat sensor detection is in fever pipe Water temperature and export heating water temperature parameters.
Step 2: the water present sensor in water heater detects leaving water temperature and exports hot water water temperature parameters.
Step 3:PID controller is respectively received hot water water temperature parameters and leaving water temperature parameter, and PID controller is according to parameter Power required for temperature is set separately.
Us (t)=Us (t-1)+a ╳ e (t)+b ╳ e (t-1)+c ╳ e (t-2).
Wherein Us (t) is controller output, and t is sampling time, a=Kp+Ki+Kd, b=- Kp-2Kd, C=Kd.
The power parameter of step 4:PID controller calculating is simultaneously delivered to control power output controller, controls power output The output power of controller.
Step 5: controlling the output power i.e. working condition of fever pipe of power output controller.
It is specific further, when deviation e (t) is less than the minimum deflection emin (t) that system allows, PID controller output control Remaining unchanged of amount processed.
It is specific further, when deviation e (t) is less than the minimum deflection emax (t) that system allows, PID controller output control Amount processed increases to reduce deviation.
It is specific further, work as e(t) > 0, illustrate that actual value deviates setting value, needs reduction output quantity appropriate.
It is specific further, work as e(t) < 0, illustrate that actual value deviates setting value, deviation is smaller and smaller, can keep at this time Output quantity is constant or varies less, so that actual value infinitely approaches setting value.
It is specific further, the model MC9S12DG128 of the PID controller.
Specific further, described is between heat sensor and PID controller by being that thermal signal transmitting circuit is connected, out It is connected between water sensor and PID controller by being discharged signal transfer circuit.
Specific further, the PID controller, which is equipped with, controls regular device.
The beneficial effects of the present invention are: this structure is defeated by being heat sensor, water present sensor, PID controller and power Controller combination uses out, and power output controller is made effectively to control the working condition of i.e. fever pipe, coolant-temperature gage occurs big The fluctuation of range further decreases, and acts the purpose for reaching accurate temperature control.
Detailed description of the invention
Fig. 1 is i.e. thermal signal transmitting circuit figure of the invention.
Fig. 2 is water outlet signal transfer circuit figure of the invention.
Fig. 3 is PID controller of the invention, fuction output controller and controls regular device and be connected schematic diagram.
Fig. 4 is i.e. thermal signal transmitting circuit of the invention, water outlet signal transfer circuit, PID controller, fuction output control Device controls regular device, i.e. fever pipe, i.e. heat sensor and water present sensor and is connected schematic diagram.
Description of symbols in attached drawing: i.e. thermal signal transmitting circuit 1;It is discharged signal transfer circuit 2;PID controller 3;Function number Controller 4 out;Control regular device 5;That is fever pipe 6;That is heat sensor 7;Water present sensor 8;
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein identical from beginning to end Or similar label indicates same or similar element or element with the same or similar functions.It is retouched below with reference to attached drawing The embodiment stated is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
A kind of instant heating type dynamic temperature control based on pid algorithm according to an embodiment of the present invention is described below with reference to Fig. 1 to Fig. 4 Method processed, the method steps are as follows.
Step 1: i.e. 6 pairs of water inlets of fever pipe in water heater are heated, i.e. the detection of heat sensor 7 is fever pipe Water temperature in 6 and export heating water temperature parameters.
Step 2: the water present sensor 8 in water heater detects leaving water temperature and exports hot water water temperature parameters.
Step 3:PID controller 3 is respectively received hot water water temperature parameters and leaving water temperature parameter, and PID controller is according to ginseng Power required for temperature is set separately in number.
Us (t)=Us (t-1)+a ╳ e (t)+b ╳ e (t-1)+c ╳ e (t-2).
Wherein Us (t) is controller output, and t is sampling time, a=Kp+Ki+Kd, b=- Kp-2Kd, C=Kd.
The power parameter of the calculating of step 4:PID controller 3 is simultaneously delivered to control power output controller 4, and control power is defeated The output power of controller 4 out.
Step 5: output power, that is, fever pipe 6 working condition of control power output controller 4.
This structure is by being that heat sensor 7, water present sensor 8, PID controller 3 and the combination of power output controller 4 make With, make the working condition of the effectively i.e. fever pipe 6 of control of power output controller 4, make coolant-temperature gage occur it is large-scale fluctuate into One step reduces.
Proportional coefficient KP, integral coefficient KIWith differential coefficient KdThe individual being expressed as in differential evolution algorithm operation population, Adaptation using a comprehensive performance indicator for measuring stability of control system, rapidity and accuracy as differential evolution algorithm Index is spent, obtains optimal PID controller parameter using differential evolution algorithm search;It is obtained most using differential evolution algorithm search Excellent PID controller parameter.
Water supply process is as follows: 3 temperature of PID controller being first set to the temperature of bathing needs, at once in fever pipe 6 When temperature needed for water temperature is lower than bathing, i.e., heat sensor 7 perceives temperature, and water temperature information parameter is transferred to PID controller 3 Program is arranged in processing, PID controller 3 based on the feedback signal, determines the temperature value of heating water, and feedback signal is identical with setting value When, it is exported on electric signal parameter input power o controller 4 by PID controller 3, makes the driving of power output controller 4 i.e. Fever pipe 6 is in heated condition, increase the water temperature of water, and is heated into hot water output, at this point, water present sensor 8 detects The temperature value of water outlet, water present sensor 8 export hot water water temperature parameters and are transmitted in PID controller 3, hot water water temperature parameters and setting When value judges identical, the output of water present sensor 8 continues an electric signal parameter, makes the control of power output controller 4 i.e. fever Pipe 6 is in a heated condition, which is in the heating of assigned temperature value, enables water temperature held stationary state, play precisely The purpose of temperature control.
The wherein model MC9S12DG128 of the PID controller.Temperature institute is set separately according to parameter in PID controller The power needed: Us (t)=Us (t-1)+a ╳ e (t)+b ╳ e (t-1)+c ╳ e (t-2), output control signal parameter to power On o controller 4, power output controller 4 controls voltage, and i.e. fever pipe 6 is made to be in heating with full power state or half Power heated condition or stopping heated condition.
The PID controller 3, which is equipped with, controls regular device 5, and the function of controlling regular device 5 is forecast by the change rate of error The future trends of error signal;Controlled process can be made to tend towards stability by providing controls in advance effect.Therefore, it is passed through It is commonly used to offset the unstable trend that integration control generates.
Wherein, when deviation e (t) is less than the minimum deflection emin (t) that system allows, PID controller exports control amount and protects It holds and does not change.
Alternatively, PID controller exports control amount and increases when deviation e (t) is less than the minimum deflection emax (t) that system allows Greatly to reduce deviation.
Alternatively, working as e(t) > 0, illustrate that actual value deviates setting value, needs reduction output quantity appropriate.
Alternatively, working as e(t) < 0, illustrate that actual value deviates setting value, deviation is smaller and smaller, can keep output quantity at this time It is constant or vary less, so that actual value infinitely approaches setting value.
Wherein, Se (t) is input variable in attached drawing 3, and Tu (t) is output variable, and e (t)=Tu (t)-Se (t) is deviation Value, Us (t) are by PID controller treated power demand values.
By above-mentioned several PID controller output states, power output controller 4 is made to be in different working conditions, function 4 output voltage values of rate o controller are different, so that control is the working condition of fever pipe 6.
As shown in figure 4, of the present invention is between heat sensor 7 and PID controller 3 by being thermal signal transmitting circuit 1 It is connected, is connected between water present sensor 8 and PID controller 3 by being discharged signal transfer circuit 2.Wherein as shown in Figure 1, I.e. thermal signal transmitting circuit 1 includes the first connector CN1, first resistor R1, second resistance R2 and first capacitor C1, the first connector 1 foot of CN1 is connected in series with first resistor R1, second resistance R2 and first capacitor C1 is in parallel and 1 foot with the first connector CN1 It is connected, i.e., fever pipe 6 is connected to the first connector CN1, the i.e. detection of the heat sensor 7 i.e. water temperature of fever pipe 6, i.e., hot sensing The electric signal parameter that device 7 exports is transmitted in PID controller 3 from i.e. thermal signal transmitting circuit 1, i.e., thermal signal transmitting circuit 1 is gone back Play the role of controlling voltage, prevents overtension from damaging PID controller 3.In addition,
As shown in Fig. 2, water outlet signal transfer circuit 2 includes the second connector CN2,3rd resistor R3, the electricity of the 4th resistance R4 and second Hold C2,1 foot and the 3rd resistor R3 of the second connector CN2 be connected in series, and the 4th resistance R4 and the second capacitor C2 are in parallel and with the 1 foot of two connector CN2 is connected.Water present sensor 8 is connected to the second connector CN2, and water present sensor 8 detects the water outlet of water heater Water temperature, and output water temperature parameter is exported, output output water temperature parameter enters in PID controller 3.
Upper is only presently preferred embodiments of the present invention, is not intended to limit the invention, all in spirit and original of the invention Made any modification, equivalent replacement or improvement etc., should all be included in the protection scope of the present invention within then.

Claims (8)

1. a kind of instant heating type dynamic temperature control method based on pid algorithm, it is characterised in that: this method step is:
Step 1: i.e. fever pipe (6) in water heater heat water inlet, i.e. the detection of heat sensor 7 is fever pipe (6) water temperature in and heating water temperature parameters are exported;
Step 2: the water present sensor (8) in water heater detects leaving water temperature and exports hot water water temperature parameters;
Step 3:PID controller is respectively received hot water water temperature parameters and leaving water temperature parameter, and PID controller is distinguished according to parameter Power required for set temperature:
Us (t)=Us (t-1)+a ╳ e (t)+b ╳ e (t-1)+c ╳ e (t-2);
Wherein Us (t) is controller output, and t is sampling time, a=Kp+Ki+Kd, b=- Kp-2Kd, C=Kd;
The power parameter of step 4:PID controller (3) calculating is simultaneously delivered to control power output controller (4), and control power is defeated The output power of controller 4 out;
Step 5: output power, that is, fever pipe (6) working condition of control power output controller (4).
2. a kind of instant heating type dynamic temperature control method based on pid algorithm according to claim 1, it is characterised in that: when inclined When poor e (t) is less than the minimum deflection emin (t) that system allows, PID controller (3) exports remaining unchanged of control amount.
3. a kind of instant heating type dynamic temperature control method based on pid algorithm according to claim 1, it is characterised in that: when inclined When poor e (t) is less than the minimum deflection emax (t) that system allows, PID controller (3) exports control amount and increases to reduce deviation.
4. a kind of instant heating type dynamic temperature control method based on pid algorithm according to claim 1, it is characterised in that: work as e (t) > 0, illustrate that actual value deviates setting value, need reduction output quantity appropriate.
5. a kind of instant heating type dynamic temperature control method based on pid algorithm according to claim 1, it is characterised in that: work as e (t) < 0, illustrating that actual value deviates setting value, deviation is smaller and smaller, and it can keep output quantity constant at this time or vary less, So that actual value infinitely approaches setting value.
6. a kind of instant heating type dynamic temperature control method based on pid algorithm according to claim 1, it is characterised in that: described The model MC9S12DG128 of PID controller (3).
7. a kind of instant heating type dynamic temperature control method based on pid algorithm according to claim 1, it is characterised in that: described I.e. by being that thermal signal transmitting circuit 1 is connected between heat sensor (7) and PID controller (3), water present sensor (8) and PID It is connected between controller (3) by being discharged signal transfer circuit 2.
8. a kind of instant heating type dynamic temperature control method based on pid algorithm according to claim 1, it is characterised in that: described PID controller (3), which is equipped with, controls regular device (5).
CN201910022721.5A 2019-01-10 2019-01-10 A kind of instant heating type dynamic temperature control method based on pid algorithm Pending CN109668326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910022721.5A CN109668326A (en) 2019-01-10 2019-01-10 A kind of instant heating type dynamic temperature control method based on pid algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910022721.5A CN109668326A (en) 2019-01-10 2019-01-10 A kind of instant heating type dynamic temperature control method based on pid algorithm

Publications (1)

Publication Number Publication Date
CN109668326A true CN109668326A (en) 2019-04-23

Family

ID=66150563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910022721.5A Pending CN109668326A (en) 2019-01-10 2019-01-10 A kind of instant heating type dynamic temperature control method based on pid algorithm

Country Status (1)

Country Link
CN (1) CN109668326A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110779268A (en) * 2019-10-25 2020-02-11 长虹美菱股份有限公司 Refrigerator internal temperature control system algorithm
CN112016162A (en) * 2020-09-05 2020-12-01 江西理工大学 Four-rotor unmanned aerial vehicle PID controller parameter optimization method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58208535A (en) * 1982-05-28 1983-12-05 Matsushita Electric Ind Co Ltd Controller for hot water feeder
CN101825342A (en) * 2010-05-18 2010-09-08 上海天剑电磁技术有限公司 Water temperature control method of instant heating type electromagnetic induction water heater
CN101957598A (en) * 2010-09-26 2011-01-26 上海电力学院 Gray model-free control method for large time lag system
CN103727677A (en) * 2014-01-02 2014-04-16 福州斯狄渢电热水器有限公司 Instant heating type water heater constant temperature control system and method
CN104101106A (en) * 2014-08-01 2014-10-15 江苏天舒电器有限公司 Directly-heated type double-source heat pump water heater and control method thereof
CN106708044A (en) * 2016-12-16 2017-05-24 哈尔滨工程大学 Full-hovering hovercraft course control method based on grey prediction hybrid genetic algorithm-PID
CN106774529A (en) * 2017-03-20 2017-05-31 泉州科牧智能厨卫有限公司 A kind of method for heating and controlling of instant-heating-type constant-temperature water outlet
CN107816793A (en) * 2017-11-16 2018-03-20 厦门沐歌智能技术有限公司 A kind of intellectual water closet instantaneous heating system, device and control method
CN108134114A (en) * 2017-12-07 2018-06-08 电子科技大学 A kind of PEMFC Temperature control method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58208535A (en) * 1982-05-28 1983-12-05 Matsushita Electric Ind Co Ltd Controller for hot water feeder
CN101825342A (en) * 2010-05-18 2010-09-08 上海天剑电磁技术有限公司 Water temperature control method of instant heating type electromagnetic induction water heater
CN101957598A (en) * 2010-09-26 2011-01-26 上海电力学院 Gray model-free control method for large time lag system
CN103727677A (en) * 2014-01-02 2014-04-16 福州斯狄渢电热水器有限公司 Instant heating type water heater constant temperature control system and method
CN104101106A (en) * 2014-08-01 2014-10-15 江苏天舒电器有限公司 Directly-heated type double-source heat pump water heater and control method thereof
CN106708044A (en) * 2016-12-16 2017-05-24 哈尔滨工程大学 Full-hovering hovercraft course control method based on grey prediction hybrid genetic algorithm-PID
CN106774529A (en) * 2017-03-20 2017-05-31 泉州科牧智能厨卫有限公司 A kind of method for heating and controlling of instant-heating-type constant-temperature water outlet
CN107816793A (en) * 2017-11-16 2018-03-20 厦门沐歌智能技术有限公司 A kind of intellectual water closet instantaneous heating system, device and control method
CN108134114A (en) * 2017-12-07 2018-06-08 电子科技大学 A kind of PEMFC Temperature control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110779268A (en) * 2019-10-25 2020-02-11 长虹美菱股份有限公司 Refrigerator internal temperature control system algorithm
CN110779268B (en) * 2019-10-25 2021-09-28 长虹美菱股份有限公司 Refrigerator internal temperature control system algorithm
CN112016162A (en) * 2020-09-05 2020-12-01 江西理工大学 Four-rotor unmanned aerial vehicle PID controller parameter optimization method

Similar Documents

Publication Publication Date Title
CN200959014Y (en) Fluid velocity sensor, its detector and fluid transfer system therwith
CN107402228B (en) system and method for monitoring heat exchange performance of heat exchanger of nuclear power station
KR101738282B1 (en) Adjustment device, control method, and control program
CN109668326A (en) A kind of instant heating type dynamic temperature control method based on pid algorithm
US11038431B2 (en) Isolated power converter for a thermal system
CN104679053A (en) Method and device for controlling water temperature heating based on power feedback assisting
TW202041819A (en) Thermal system with a temperature limiting device
KR20110055377A (en) Warm water supply device and warm water supply method for controlling the number of pulse inputting into heater
CN112283954B (en) Water heater outlet water temperature compensation method and water heater
CN104111676B (en) The method for heating and controlling of electric kettle and the heating control apparatus of application the method
CN101776927A (en) Temperature rush compensation method and device
AU2018312663A1 (en) Method for controlling discharging of glass plate in glass plate tempering technology process
CN112783233A (en) Fuzzy PID algorithm-based temperature control method and device for electric energy meter terminal base
CN105204342B (en) A kind of temprature control method of quick non-overshoot heating jacket type heating response kettle
CN108398901A (en) Intelligent heating furnace control system and its control method
TWI697749B (en) heating equipment
CN104679061A (en) Temperature control system based on Dahlin algorithm
JP2014117824A (en) Regulator, operation amount output method, program, and storage medium
CN208108507U (en) A kind of regulating system of gas secondary pressure
TWI806147B (en) Method and system for controlling an electric heater using control on energy
CN209982742U (en) Temperature control heating system based on three-wire system thermal resistor
CN103196236A (en) Instantaneous heating body control method based on predictive control
CN102749940B (en) Double-temperature-control constant-temperature heating system
CN109688638B (en) Automatic control system and control method for multistage series electric heating device
CN113108473A (en) Water heater control method and device, water heater 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190423