Background
The development of the society and the improvement of the living standard of people, the power utilization structure is changed sharply, the peak power is seriously insufficient, the peak-valley difference is increased continuously, and the generator set runs in low efficiency in the valley period. The measures of 'peak clipping and valley filling' are absolutely necessary, and in addition, a boiler heating system consumes a large amount of coal resources, discharges a large amount of carbon dioxide, acid gas sulfur dioxide and solid particles, causes air pollution, and is one of the main reasons for causing haze weather.
The boiler has small heat utilization coefficient, low efficiency, incapability of efficiently utilizing heat energy resources, continuous heating day and night and high electricity utilization cost. The heat pump is difficult to operate in an extremely low temperature environment, the heating temperature of the heat pump is increased in a limited way, and energy consumption is huge when the water temperature is increased only in one step. The indoor temperature is affected by the change of the outdoor temperature, and particularly, when the outdoor temperature is higher, the degree of deviation of the indoor temperature from the set value is larger, so that the indoor temperature is too high, and the energy waste is caused by synchronous heating of the existing central heating areas such as an office area and a residential area, and the office area and the residential area.
Disclosure of Invention
The invention provides an electric heating system and a control method thereof, and aims to provide a heat pump and electric heat storage boiler combined electric heating system, which can relieve the electricity utilization pressure of a power grid and improve the electricity utilization economy of users in the indoor heating process.
The purpose of the invention is realized by adopting the following technical scheme:
in an electric heating system, the improvement comprising: the heat pump system comprises an electric heat storage boiler unit, a heat pump host unit, a water circulation unit, a control unit, a first heat exchange unit and a second heat exchange unit, wherein the electric heat storage boiler unit is connected with the water circulation unit connected with a heat supply area through an inner circulation pipe of the first heat exchange unit;
the electric heat storage boiler unit is used for storing heat in the electricity consumption or low-price valley period and utilizing the heat energy stored for heating;
the heat pump main unit is used for heating by utilizing the heat energy of a low-level heat source;
the water circulation unit is used for respectively transmitting the heat energy provided by the electric heat storage boiler unit and the heat pump main unit to a heating target through circulation flow;
and the control unit is used for adjusting the heating heat transferred to the heating area by the water circulation unit according to the indoor temperature.
Preferably, the system further comprises: and the climate compensator is respectively connected with the electric heat storage boiler unit, the heat pump main unit and the water circulation unit and is used for adjusting the heating heat of the electric heat storage boiler unit and the heat pump main unit to a heating area according to the outdoor temperature.
Preferably, the heat pump main unit includes: the system comprises an underground heat exchanger, an expansion valve, a liquid storage tank, a gas-liquid separator and a compressor, wherein the gas-liquid separator and the compressor are sequentially arranged on an inlet pipeline of an external circulation pipe of the second heat exchange unit from an outlet of the underground heat exchanger, and the liquid storage tank and the expansion valve are sequentially arranged on an inlet pipeline of the external circulation pipe of the second heat exchange unit from an outlet of the external circulation pipe to the underground heat exchanger.
Preferably, the electric heat storage boiler unit includes an electric heat storage boiler, and an external circulation line connecting the electric heat storage boiler and the first heat exchange unit.
Further, the electric heat storage boiler includes: the heating device comprises a heat storage brick, heating wires, a hot air channel, a controllable valve, a variable frequency fan and a furnace temperature sensor, wherein the heating wires are embedded in the heat storage brick, the furnace temperature sensor is embedded in the heat storage brick, the direction of the furnace temperature sensor is vertical to the direction of the heating wires, layers of the heat storage brick are arranged between the layers to form the hot air channel, two ends of the hot air channel are connected with the controllable valve, the controllable valve is connected with the variable frequency fan, and the variable frequency fan is connected with the first heat exchange unit;
the heat storage brick is used for storing heat energy; the heating wire is used for converting electric energy into heat energy; the hot air channel is used for transferring heat energy; the controllable valve is used for controlling the connection relation between the hot air channel and the variable frequency fan; the variable frequency fan is used for pushing heat energy to flow in the hot air channel; and the furnace temperature sensor is used for measuring the internal temperature of the electric heat storage boiler.
Preferably, the water circulation unit includes: two internal circulation pipelines are arranged in parallel at one side of the heat supply area;
one of the internal circulation pipes arranged in parallel comprises: a first internal circulation pipe section provided with a three-way valve and a water replenishing valve and arranged between the outlet of the heat supply area and the inlet of the first heat exchange unit, a second internal circulation pipe section provided with a flow monitor, a first electromagnetic valve and a heat collector circulation water pump and arranged between the outlet of the first heat exchange unit and the inlet of the second heat exchange unit, and a third internal circulation pipe section provided with an exhaust valve and arranged between the other outlet of the second heat exchange unit and the outlet of the heat supply area;
and the other internal circulation pipeline in the internal circulation pipelines arranged in parallel is provided with a three-way valve communicated with the third internal circulation pipeline section, and the first internal circulation pipeline section is provided with a three-way valve identical to the other internal circulation pipeline.
Preferably, the control unit includes: the system comprises an outdoor temperature sensor, an indoor temperature sensor, a water supply temperature sensor, a water return temperature sensor and a controller;
the water supply temperature sensor is arranged between a water replenishing valve of the water circulation unit and the electric three-way valve, and the water return temperature sensor is arranged between an exhaust valve of the water circulation unit and the indoor heating tail end;
the controller is respectively connected with a heating wire of the electric heat storage boiler unit, a controllable valve of the electric heat storage boiler unit, a variable frequency fan of the electric heat storage boiler unit, a compressor of the heat pump main unit, an electric three-way valve of the water circulation unit, a heat collector circulating water pump of the water circulation unit and an expansion valve of the heat pump main unit.
Further, the climate compensator is respectively connected with an outdoor temperature sensor, an indoor temperature sensor, a water supply temperature sensor, a water return temperature sensor of the control unit, a flow detector of the water circulation unit, an expansion valve of the heat pump host unit, a controllable valve of the electric heat storage boiler unit and a first electromagnetic valve of the water circulation unit;
the climate compensator is used for determining theoretical water supply temperature according to the numerical value of the outdoor temperature sensor, collecting actual water supply temperature of the water supply temperature sensor, comparing the theoretical water supply temperature with the actual water supply temperature, obtaining deviation and deviation change rate of the water supply temperature as input of the fuzzy PID controller inside the climate compensator, and obtaining first control quantity by using the fuzzy PID controller inside the climate compensator;
and the fuzzy PID controller in the climate compensator adjusts the opening degrees of the controllable valve of the electric heat storage boiler unit, the expansion valve of the heat pump main unit and the first electromagnetic valve of the heat pump main unit according to the first control quantity.
Preferably, the controller is configured to acquire an indoor temperature value of the indoor temperature sensor, compare the indoor temperature value with a set indoor temperature threshold, acquire a room temperature deviation and a room temperature deviation change rate, use the room temperature deviation and the room temperature deviation change rate as inputs of the controller internal fuzzy PID controller, and acquire a first control quantity by using the controller internal fuzzy PID controller;
and the fuzzy PID controller in the controller utilizes the first control quantity to adjust the opening of the electric three-way valve of the water circulation unit.
In a method of controlling an electric heating system, the improvement comprising:
the electric heat storage boiler unit is used for storing heat in the valley period of electricity utilization or electricity price and heating by using the heat energy stored in the heat storage boiler unit;
converting a low-level heat source into a high-level heat source by using a heat pump host unit, and heating by using heat energy of the low-level heat source;
controlling the water circulation unit to respectively transfer the heat energy provided by the electric heat storage boiler unit and the heat pump main unit to a heating target through circulation flow;
the controller acquires an indoor temperature value of an indoor temperature sensor, compares the indoor temperature value with a set indoor temperature to acquire a room temperature deviation and a room temperature deviation change rate, and uses the room temperature deviation and the room temperature deviation change rate as input of the fuzzy PID controller in the controller to acquire a first control quantity by using the fuzzy PID controller in the controller;
the fuzzy PID controller inside the controller adjusts the opening degree of an electric three-way valve of the water circulation unit by using the first control quantity;
the method comprises the following steps that a climate compensator determines water supply temperature according to the value of an outdoor temperature sensor, acquires the value of the water supply temperature sensor, compares theoretical water supply temperature with actual water supply temperature, obtains deviation and deviation change rate of the water supply temperature as input of a fuzzy PID controller inside the climate compensator, and obtains first control quantity by using the fuzzy PID controller inside the climate compensator;
and the fuzzy PID controller in the climate compensator adjusts the opening degrees of the controllable valve of the electric heat storage boiler unit, the expansion valve of the heat pump main unit and the first electromagnetic valve of the heat pump main unit according to the first control quantity.
The invention has the beneficial effects that:
according to the technical scheme provided by the invention, a heating technology combining a heat pump, an electric heat storage boiler, a climate compensator and a control unit is adopted, the electric heat storage boiler in the low valley period is used for heating and storing energy for heating in the peak period of power utilization, and meanwhile, the heat pump and the electric heat storage boiler in the low valley period are used for heating in a combined manner, so that the requirement of heating is met, the power in the valley period is fully utilized, the power cost is saved for users, the peak-valley difference of a power grid is relieved, the energy is saved, and the heat pump and the electric heat storage boiler sequentially heat circulating water, so that the heat utilization efficiency is improved. The climate compensator sets the water supply temperature according to the change of the outdoor temperature, and adjusts the opening of the valve by adopting a fuzzy PID algorithm, so that the heating according to the requirement is realized, the overhigh or overlow indoor temperature is avoided, and the energy is saved. The temperature is independently adjusted according to time and time of the single building, and the energy utilization rate is effectively improved.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The present invention provides an electric heating system, as shown in fig. 1, including: the heat pump system comprises an electric heat storage boiler unit 1, a heat pump host unit 2, a water circulation unit 3, a control unit 4, a first heat exchange unit 5 and a second heat exchange unit 11, wherein the electric heat storage boiler unit 1 is connected with the water circulation unit 3 connected with a heat supply area through an inner circulation pipe of the first heat exchange unit 5, the heat pump host unit 2 is connected with the water circulation unit 3 connected with the heat supply area through an inner circulation pipe of the second heat exchange unit 11, and the control unit 4 is respectively connected with the electric heat storage boiler unit 1, the heat pump host unit 2 and the water circulation unit 3;
the electric heat storage boiler unit 1 is used for storing heat in the electricity consumption or electricity price valley period and heating by utilizing the heat energy stored in the heat storage;
the heat pump main unit 2 is used for heating by utilizing the heat energy of a low-level heat source;
the water circulation unit 3 is used for respectively transmitting the heat energy provided by the electric heat storage boiler unit 1 and the heat pump main unit 2 to a heating target through circulation flow;
the electric heat storage boiler unit is used for storing heat in the electricity consumption or low-price valley period and utilizing the heat energy stored for heating;
the control unit 4 is used for adjusting the heating heat transferred to the heating area by the water circulation unit according to the indoor temperature;
the system further comprises: and the climate compensator 24 is connected with the electric heat storage boiler unit 1, the heat pump main unit 2 and the water circulation unit 3 respectively, and is used for adjusting the heating heat of the electric heat storage boiler unit and the heat pump main unit to the heating area according to the outdoor temperature.
Specifically, the electric heat storage boiler unit 1, as shown in fig. 2, includes: heat accumulation brick, heater strip, hot air channel, controllable valve, frequency conversion fan and furnace temperature sensor, wherein, inlay in the heat accumulation brick the heater strip, furnace temperature sensor inlays in the heat accumulation brick, and is perpendicular with the direction of heater strip form between the layer of heat accumulation brick the hot air channel, the hot air channel both ends with controllable valve links to each other, controllable valve with the frequency conversion fan is connected, the frequency conversion fan with water circulating unit 3 connects.
The heat storage brick is used for storing heat energy; the heating wire is used for converting electric energy into heat energy; the hot air channel is used for transferring heat energy; the controllable valve is used for controlling the connection relation between the hot air channel and the variable frequency fan; the variable frequency fan is used for pushing heat energy to flow in the hot air channel; and the furnace temperature sensor is used for measuring the internal temperature of the electric heat storage boiler.
For example, in the electric heat storage boiler unit 1, electric energy is converted into heat energy through the heating wire 102, and the heat energy is stored in the heat storage brick 101 with a heat storage medium of a special alloy, so as to prevent the heat energy from being dissipated; collecting the value of a furnace temperature sensor 106, when the temperature in the electric heat storage boiler is lower than 400 ℃, continuously heating the heating wires of the electric heat storage boiler, and when the temperature in the electric heat storage boiler is higher than 500 ℃, stopping heating the heating wires 102 of the electric heat storage boiler; in the heating process, the controllable valve 104 is opened, the stored heat flows orderly in the hot air channel 103 through the built-in variable frequency fan 105, the heat is exchanged with circulating water flowing in the heat exchange pipe continuously in a circulating mode, the heated circulating water flows out of the heat exchange pipe into a circulating pipeline, and the electric heat storage boiler is characterized in that heat is stored in a power consumption valley period, the stored heat energy is used for supplying heat to users in a non-power consumption valley period, and therefore the purpose of heating is achieved.
The heat pump main unit 2, as shown in fig. 3, includes: the system comprises an underground heat exchanger 16, an expansion valve 15, a liquid storage tank 13, a gas-liquid separator 14 and a compressor 12, wherein the gas-liquid separator 14 and the compressor 12 are sequentially arranged on an inlet pipeline from an outlet of the underground heat exchanger 16 to an external circulation pipe of the second heat exchange unit 11, and the liquid storage tank 13 and the expansion valve 15 are sequentially arranged on an inlet pipeline from an outlet of the external circulation pipe of the second heat exchange unit 11 to the underground heat exchanger 16.
The second heat exchange unit 11 is configured to condense the temperature of the high-temperature liquid or gas to a set output temperature, and then input the cooled liquid to the liquid storage tank 13; the compressor 12 is used for receiving the gas delivered by the gas-liquid separator 14 and converting the gas into high-temperature and high-pressure gas; the liquid storage tank 13 is used for storing the cooled liquid transmitted by the second heat exchange unit 11; the gas-liquid separator 14 is used for receiving the gas-liquid mixture conveyed by the underground heat exchanger 16 and separating gas and liquid in the gas-liquid mixture; the expansion valve 15 is used for controlling the connection relationship between the liquid storage tank 13 and the buried heat exchanger 16; the underground heat exchanger 16 is used for absorbing heat in underground media and gasifying the heat into a gas-liquid mixture.
For example: the heat pump main unit 2 sends a control command through a communication line, the compressor 12 and the expansion valve 15 are started, after liquid losing a certain amount of heat in the second heat exchange unit 11 reaches the liquid storage tank 13, the liquid is changed into low-temperature low-pressure wet steam through the expansion valve 15, the low-temperature low-pressure wet steam absorbs heat in underground water or soil through the underground heat exchanger 16 and is gasified, the gasified gas is subjected to gas-liquid separation through the gas-liquid separator 14, the purified gas is changed into high-temperature high-pressure gas through the compressor 12 and is subjected to energy exchange on circulating water through the second heat exchange unit 11, the ground source heat pump utilizes heat energy of a low-level heat source to heat, the heat absorbed from the evaporator and the heat converted by the work consumed by the compressor 12 are taken away by a cooling medium in the condenser, and the heating purpose is achieved;
the water circulation unit 3 includes: two internal circulation pipelines are arranged in parallel at one side of the heat supply area; one of the internal circulation pipes arranged in parallel comprises: a first internal circulation pipe section provided with a three-way valve 20 and a water replenishing valve 6 from the outlet of the heat supply area to the inlet of the first heat exchange unit 5, a second internal circulation pipe section provided with a flow monitor 22, a first electromagnetic valve 7 and a heat collector circulation water pump 9 from the outlet of the first heat exchange unit 5 to the inlet of the second heat exchange unit 11, and a third internal circulation pipe section provided with an exhaust valve 10 from the other outlet of the second heat exchange unit 11 to the outlet of the heat supply area;
and the other internal circulation pipeline in the internal circulation pipelines arranged in parallel is provided with a three-way valve 20 communicated with the third internal circulation pipeline section, and the first internal circulation pipeline section is provided with a three-way valve 20 identical to the other internal circulation pipeline.
The first electromagnetic valve 7, the heat collector circulating water pump 9 and the electric three-way valve 20 are opened in the water circulation unit 3, circulating water flows in a water circulation line, and the circulating water which reduces heat absorbs the heat of the electric heat storage boiler unit 1 and the heat pump unit at the heat exchange pipe and the second heat exchange unit 11 in the electric heat storage boiler unit 1 and flows to the indoor heating tail end 8, wherein the flow detector 22 detects the flow of the circulating water, provides data to the control unit 4 in real time, and adjusts the opening degrees of the first electromagnetic valve 7, the water replenishing valve 6 and the exhaust valve 10 through the controller 17 to adjust the circulating flow and the water level of a heat supply pipeline.
The control unit is used for adjusting the heating heat quantity transferred to the heating area by the water circulation unit according to the indoor temperature, and comprises: an outdoor temperature sensor 23, an indoor temperature sensor 18, a water supply temperature sensor 19, a return water temperature sensor 21 and a controller 17;
the water supply temperature sensor 19 is arranged between the water replenishing valve 6 of the water circulation unit 3 and the electric three-way valve 20, and the water return temperature sensor 21 is arranged between the exhaust valve 10 of the water circulation unit 3 and the indoor heating tail end 8;
the controller is respectively connected with a heating wire of the electric heat storage boiler unit, a controllable valve of the electric heat storage boiler unit, a variable frequency fan of the electric heat storage boiler unit, a compressor of the heat pump main unit, an electric three-way valve of the water circulation unit, a heat collector circulating water pump of the water circulation unit and an expansion valve of the heat pump main unit.
And the climate compensator is respectively connected with an outdoor temperature sensor, an indoor temperature sensor, a water supply temperature sensor, a water return temperature sensor of the control unit, a flow detector of the water circulation unit, an expansion valve of the heat pump main unit, a controllable valve of the electric heat storage boiler unit and a first electromagnetic valve of the water circulation unit.
Further, the climate compensator is used for determining theoretical water supply temperature according to the value of the outdoor temperature sensor, collecting actual water supply temperature of the water supply temperature sensor, comparing the theoretical water supply temperature with the actual water supply temperature, obtaining deviation and deviation change rate of the water supply temperature as input of the fuzzy PID controller inside the climate compensator, and obtaining first control quantity by using the fuzzy PID controller inside the climate compensator;
and the fuzzy PID controller in the climate compensator adjusts the opening degrees of the controllable valve of the electric heat storage boiler unit, the expansion valve of the heat pump main unit and the first electromagnetic valve of the heat pump main unit according to the first control quantity.
The controller is used for acquiring an indoor temperature value of the indoor temperature sensor, comparing the indoor temperature value with a set indoor temperature threshold value, acquiring room temperature deviation and room temperature deviation change rate as input of the fuzzy PID controller in the controller, and acquiring a first control quantity by utilizing the fuzzy PID controller in the controller;
and the fuzzy PID controller in the controller utilizes the first control quantity to adjust the opening of the electric three-way valve of the water circulation unit.
In the optimal implementation scheme provided by the invention, the controller is the key for realizing the automatic operation of the whole system, and comprises a singlechip main control part, a temperature sensor, a liquid crystal display part, an independent key, a clock, a reset circuit and the like, wherein the core part of the controller is mainly an STC89C52 singlechip, and the STC89C52 is a low-power-consumption and high-performance CMOS 8-bit singlechip which sends signals to control the operation of each module. The connection diagram of the STC89C52 single chip microcomputer is shown in figure 4, and the detailed connection diagram of the bypass circuit in the STC89C52 single chip microcomputer is shown in figure 5, and the connection diagram has four 8-bit bidirectional input and output ports of P0, P1, P2 and P3 in total, and each port has a latch, an output driver and an input buffer. When the port P0 is used for external expansion storage, the port P0 is used as an address bus or a data bus; port P1 is used only as I/O and has no secondary function; the port P2 is used as an address bus when used as an extended memory. While port P3 is used as I/O, its second function is some special functions, non-expansion storage. RST is the reset input, which is implemented when a high level of two machine cycles is applied to this pin. ALE/PROG is an address latch control signal. When the pin inputs a programming pulse, it is FLASH programming. XTAL1 and XTAL2 are used to externally connect crystal oscillator pins.
Three pins P2.0, P2.1 and P2.3 of the port P2 are connected to the control terminal of the LCD module 1602, and the port P1.0 is connected to the bus terminal of the temperature sensor DS18B20 and has a pull-up resistor of 10K. The port P1.1 is connected with a control pin of the relay 1, the port P1.2 is connected with a control pin of the relay 2, the relay 1 is connected with the first electromagnetic valve 4, the port P1.4 is connected with a button P1.5, and when the button is pressed, the level is pulled down. The RST pin is connected with a reset circuit, and receives high-level reset when a key is pressed. XTAL1 and XTAL2 are connected with a crystal oscillator clock circuit, and a crystal oscillator provides a stable clock period with a single chip.
The indoor temperature sensor is DS18B20, a digital transmission temperature sensor, which can be programmed. Because DS18B20 only needs a single-wire interface to send and receive information, we connect its control line to a pull-up resistor of 10k and then connect it with the P1.0 port of the single-chip. The power supply required for reading and writing and converting the temperature can also be directly obtained from the data line without an additional external power supply. As an element for temperature acquisition and A/D conversion of the system, the system has the advantages of high precision, small volume, wide voltage application range, flexible system design and the like.
The invention also provides a heating system control method, which comprises the following steps:
the electric heat storage boiler unit is used for storing heat in the valley period of electricity utilization or electricity price and heating by using the heat energy stored in the heat storage boiler unit;
converting a low-level heat source into a high-level heat source by using a heat pump host unit, and heating by using heat energy of the low-level heat source;
controlling the water circulation unit to respectively transfer the heat energy provided by the electric heat storage boiler unit and the heat pump main unit to a heating target through circulation flow;
the controller acquires an indoor temperature value of an indoor temperature sensor, compares the indoor temperature value with a set indoor temperature to acquire a room temperature deviation and a room temperature deviation change rate, and uses the room temperature deviation and the room temperature deviation change rate as input of the fuzzy PID controller in the controller to acquire a first control quantity by using the fuzzy PID controller in the controller;
the fuzzy PID controller inside the controller adjusts the opening degree of an electric three-way valve of the water circulation unit by using the first control quantity;
the method comprises the following steps that a climate compensator determines water supply temperature according to the value of an outdoor temperature sensor, acquires the value of the water supply temperature sensor, compares theoretical water supply temperature with actual water supply temperature, obtains deviation and deviation change rate of the water supply temperature as input of a fuzzy PID controller inside the climate compensator, and obtains first control quantity by using the fuzzy PID controller inside the climate compensator;
and the fuzzy PID controller in the climate compensator adjusts the opening degrees of the controllable valve of the electric heat storage boiler unit, the expansion valve of the heat pump main unit and the first electromagnetic valve of the heat pump main unit according to the first control quantity.
For example: during the night-time electricity consumption valley period, the controller 17 issues the following control commands via the communication line: opening a first electromagnetic valve 7, a collector circulating water pump 9, a compressor 12, an expansion valve 15, a heating wire, a controllable valve, a variable frequency fan and an electric three-way valve 20, acquiring outdoor temperature by a climate compensator 24, acquiring relatively low temperature at night, calculating ideal water supply temperature according to the change of the outdoor temperature and the set indoor temperature and a curve set in the climate compensator 24, acquiring actual water supply temperature, obtaining the deviation and the deviation change rate of theoretical water supply temperature and actual water supply temperature, adjusting the opening degrees of the heat pump expansion valve 15 and the controllable valve of the electric heat storage boiler by using a fuzzy PID algorithm, increasing the heat of a primary side heat source entering a heat exchanger, adjusting the opening degree of the first electromagnetic valve 7 at the same time, achieving double adjusting effects of quality adjustment and quantity adjustment, enabling the water supply temperature of secondary side circulating water to be close to the theoretical value, and monitoring return water temperature, and correcting the operation curve, and entering an electric heat storage boiler heat storage and heat pump and electric heat storage boiler combined heating operation mode. During peak electricity usage on the next day, the controller 17 issues the following control commands via the communication line: closing the compressor 12, the expansion valve 15, the heating wire, opening the first electromagnetic valve 7, the heat collector circulating water pump 9, the controllable valve, the variable frequency fan and the electric three-way valve 20, acquiring outdoor temperature by the climate compensator 24, increasing the outdoor temperature in the daytime, working out the right water supply temperature according to the change of the outdoor temperature and the indoor temperature set in different time periods and the curve set in the climate compensator 24, adjusting the opening degrees of the heat pump expansion valve 15 and the controllable valve of the electric heat storage boiler, reducing the heat of the primary side heat source entering the heat exchanger, adjusting the opening degree of the first electromagnetic valve 7 at the same time, achieving the double adjusting effect of quality adjustment and quantity adjustment, enabling the water supply temperature of the secondary side circulating water to be close to the theoretical value, monitoring the return water temperature and the indoor temperature, correcting the operation curve, and entering the heating operation. When the temperature of the heat storage bricks in the electric heat storage boiler is less than 200 ℃, the heat pump is started again to heat the circulating water, so that the circulating water can be continuously heated.
Further, the fuzzy PID controller is a known technology, the structure diagram of which is shown in fig. 6, and in the embodiment provided by the present invention, the control principle is shown in fig. 7, which includes:
step 1, input and output fuzzification. The input quantity of the fuzzy controller is room temperature deviation e and deviation change rate ecTo transportThe output quantity is the adjustment quantity delta K of PID parametersP、△KIAnd Δ KD. Determining their linguistic variables, fundamental domains, fuzzy subsets, fuzzy domains and quantization factors, the fundamental domain of room temperature deviation e being [ -5,5]Rate of change of deviation ecIs [ -3,3]The basic domains of PID three-parameter adjustment are [ -0.3,0.3],[-0.06,0.06],[-1.2,1.2]. The fuzzy domain of each variable is [ -6,6 [)]. Room temperature deviation e quantization factor 5/6 is 0.83, deviation rate of change ecThe quantization factor of (3) is 3/6-0.5, and the quantization factors of the PID three-parameter adjustment amounts are 0.3/6-0.05, 0.06/6-0.01, and 1.2/6-0.2, respectively. According to the object to be controlled, the room temperature deviation e and the deviation change rate ecAnd PID controller parameter adjustment quantity delta KP、△KIAnd Δ KDE, EC and KP、KI、KDThe universe of ambiguity in (a) is described by seven fuzzy linguistic variables. Their fuzzy subsets are all [ NB, NM, NS, ZO, PS, PM, PB]Respectively represent [ negative large, negative middle, negative small, zero, positive small, positive middle, positive large]。E、ECAnd KP、KI、KDThe domains of (a) are quantized to thirteen levels: { -6, -5, -4, -3, -2, -1,0,1,2,3,4,5,6}. The membership function of each variable is obtained by adopting a triangular membership function:
in the formula, parameters a and b determine the feet of a triangle, and parameter b determines the peak of the triangle;
input variable deviation e and deviation change rate ecAs shown in table 1:
TABLE 1 input variables deviation e and deviation Change Rate ecMembership degree vector table
And 2, fuzzy control algorithm. Fuzzy control rules are typically based on long-term accumulated experience of experts or manual operatorsIt is a language representation of human intuitive reasoning. Input variables of heat pump and electric heat storage boiler combined electric heating system are deviation e and deviation change rate ecThe corresponding linguistic variables are E and EC, and the following PID three-parameter proportionality coefficient K is determinedPIntegral coefficient KIAnd a differential coefficient KDThe fuzzy controller is utilized to find out three parameters K of PID at different momentsP、KI、KDAnd ecThe fuzzy relation of (1).
The control rate formulated in the embodiment provided by the invention is as follows:
1) when | E | is large, a large K is selected to increase the response speed of the system and avoid the deviation from the control range due to the supersaturation of the derivative caused by the instantaneous increase of EPAnd a smaller KDWhile in order to prevent overshoot of the system, parameter KIIs set to 0.
2) When | E | is in the middle range, all 3 parameters should be smaller in order to reduce overshoot of the system, but the smaller K is selected in consideration of ensuring the response speed of the systemP、KIAnd KDThe value is moderate.
3) When | E | is small, important consideration should be given to ensure that the system has good stability, so a larger K should be selectedPAnd KIWhile avoiding system oscillation, improving the anti-interference ability, KDShould be properly chosen, when | EC | is larger, KDGet smaller, and conversely when | EC | is smaller, KDThe larger the size. According to the above control rules, 3 fuzzy control rules are shown in the following tables 2,3 and 4, respectively:
TABLE 2KPFuzzy control rule table
TABLE 3KIFuzzy control rule table
TABLE 4KDFuzzy control rule table
The basic structure can be summarized as if A and B then C, and the fuzzy relation R implied by each fuzzy rule is calculated as follows:
in the formula
Is a fuzzy relation matrix (A is multiplied by B)
m×nFormed m x n column vectors, T
1For column vector conversion, m and n are the numbers of the A and B discourse elements, respectively.
As each fuzzy control rule table shows, there are 49 such fuzzy rules, and the total fuzzy relation R of the whole fuzzy control table can be expressed as 49 fuzzy relations RiThe sum operation of (1), namely:
knowing fuzzy subsets E and EC of input linguistic variables, the PID parameter adjustment quantity delta K of output quantity can be calculated by the inference synthesis ruleP、△KIAnd Δ KDWith the parameter Δ KPFor example, the following steps are carried out:
and 3, fuzzy judgment of output quantity. The output quantity of the fuzzy controller synthesized by fuzzy inference is a fuzzy set, and cannot be used as a control quantity applied to an actuator, and must be converted to find an accurate control quantity. Fuzzy judgment adopted by the systemThe solution is a weighted average. According to the fuzzy control rule table above, for the input deviation e and the deviation change rate ecThe output of the response can be obtained through reasoning, and the membership degree of the output variable is firstly calculated as follows: corresponding output variable delta KPThe first adjusted fuzzy rule membership is:
up1=uNB(E)×uNB(EC)
and in the formula, the minimum value of the corresponding membership degrees of the room temperature deviation E and the deviation change rate EC is taken, namely:
up1=min(uNB(E),uNB(EC))
the output variable Delta K can be obtained by the similar reasoningPOther membership degrees in the fuzzy control rule table are used for solving the corresponding delta K at a certain sampling moment by using a weighted average methodPThe values of (A) are:
u in the formulapjIs expressed by a value of Δ K obtained by expressing membership degrees corresponding to different combinations of the deviation E and the deviation change rate ECPThe membership degree of the PID parameter can be obtained by the same principle to obtain other two adjustment quantities delta K of the PID parameterIAnd Δ KD。
Further, the control quantity output by the fuzzy PID controller is determined according to the following formula:
where u (k) is a computer output value at the k-th sampling time, k is a sampling number, k is 0,1,2, E (k) is an offset value input at the k-th sampling time, and E (k-1) is an offset value input at the k-1-th sampling time.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.