This patent application claims the benefit and priority of Chinese Patent Application No. 202011099045.0 filed on Oct. 14, 2020, the disclosure of which is incorporated by reference herein in its entirety as part of the present application.
The present disclosure relates to a method for tuning predictive control parameters of a building energy consumption system, and relates to a method for tuning predictive control parameters of a building energy consumption system based on fuzzy logic.
Under the background of economic globalization, the living standard of modern human beings is constantly improving, and thereupon, the global energy consumption is increasing year by year. Problems such as energy shortage, uneven distribution of energy resources and unsynchronized energy supply and demand are being paid urgent attention to by countries all over the world. Building energy consumption accounts for about one third of total energy consumption in China, and one quarter of the energy consumption can be effectively controlled in the operation of a building energy consumption system. Therefore, it is necessary to regulate and control the whole energy consumption system to improve the utilization rate of energy consumption, so as to achieve the purpose of energy conservation. According to the main energy consumption system of modern buildings such as air conditioners, the present disclosure uses advanced control algorithms to control energy conservation.
Model Predictive Control (MPC) is a multivariable control strategy based on optimization theory. Its main characteristics are that it can deal with the coupling problem of a multivariable system and explicitly consider the physical constraints of system input and output amount. However, when this algorithm is applied to some complex industrial production, it has some limitations, because all kinds of minimum variance controllers must require the time delay of the target to be determined, otherwise the control accuracy of the whole system will become very poor. Under such a background, scholars put forward generalized predictive control (GPC) based on on-line identification, output prediction and minimum variance control by absorbing the strategy of rolling optimization in dynamic matrix control and model algorithm control. This control algorithm is one of the most promising advanced control strategies at present, and it is widely used in a building energy consumption system.
However, most building energy consumption systems have the characteristics of multivariate, strong lag and strong nonlinearity, which leads to a large number of design parameters of GPC cost function. The improper tuning of parameters often leads to poor control quality of the system, which seriously affects the control performance of a building energy consumption system.
To sum up, there is an urgent need for a method for tuning predictive control parameters of a building energy consumption system based on fuzzy logic.
The purpose of the present disclosure is to overcome the above shortcomings of the prior art, and to provide a method for tuning predictive control parameters of a building energy consumption system based on fuzzy logic, which can effectively improve the control performance of a building energy consumption system.
In order to achieve the above purpose, the method for tuning predictive control parameters of a building energy consumption system based on fuzzy logic of the present disclosure comprises the steps of:
The tuned adjusted parameter λ is substituted into the cost function of the next cycle to improve the performance of the controlled building energy consumption system in the next cycle.
In step 1), the controlled building energy consumption system is a variable air volume air-conditioning system, and the dynamic model process transfer function of the controlled building energy consumption system is a first-order time-delay model, namely:
In step 1), the adjusted parameter λ of a generalized predictive controller is initialized as
In step 2),
In step 3), the membership function parameters of each fuzzy target parameter are vmin, vmax, p1 and p2, where vmin and vmax are the minimum value and the maximum value of fuzzy target parameters, and p1 and p2 are referred to as fuzzy width.
In step 4), Mamdani fuzzy reasoning method is used to perform fuzzy reasoning operation on membership.
The cost function is:
J−E{Σj-N
The present disclosure has the following beneficial effects.
According to the present disclosure, in the specific operation, the method for tuning predictive control parameters of a building energy consumption system based on fuzzy logic takes the building energy consumption system as a control object, uses fuzzy logic to tune and optimize the parameters of generalized predictive control, and uses the particle swarm optimization algorism to automatically find the optimal fuzzy membership parameter and determine the membership function. Finally, according to the obtained membership, the adjusted parameter λ is set in a manner of fuzzy reasoning operation, so that the system obtains better dynamic performance and stronger robustness, overcomes the defect of difficult tuning of predictive control parameters in the building energy consumption system, and then improves the control performance of the building energy consumption system.
The present disclosure will be described in further detail with reference to the accompanying drawings.
Referring to
1) A controlled building energy consumption system is constructed, generalized predictive control is performed on the building energy consumption system, and an adjusted parameter λ of a generalized predictive controller is initialized.
In step 1), the controlled building energy consumption system is a variable air volume air-conditioning system, and the dynamic model process transfer function of the controlled building energy consumption system is a first-order time-delay model, namely:
In step 1), the adjusted parameter λ of a generalized predictive controller is initialized as
2) The output slope yk(t), the actual output y(t), the set value yr(t) and the predicted output value ŷ(t+i) of the controlled building energy consumption system in the control process are collected, and then the output slope yk(t), the actual output y(t), the set value yr(t) and the predicted output value ŷ(t+1) of the controlled building energy consumption system are taken as fuzzy target parameters.
In step 2),
On the basis of the collected actual output y(t) and the set value yr(t), the absolute deviation e(t) between the actual output y(t) and the set value yr(t) is taken as a second fuzzy target parameter:
e(t)=y(t)−yr(t)(0≤e(t)≤emax) (3)
The time ts(t) when the output of the change rate of the absolute deviation e(t) reaches the set value is acquired, and ts(t) is taken as a third fuzzy target parameter:
On the basis of the collected predicted output value ŷ(t+i), ŷ(t+i) is taken as a fuzzy target parameter, which is constrained by:
ŷmin≤ŷ(t+i)≤ŷmax(i=1,2, . . . ,N)
3) A membership function is constructed for the fuzzy target parameters in step 2), and then the parameters of the fuzzy membership function are optimally selected by using a particle swarm optimization algorithm to obtain membership function parameters of each fuzzy target parameter, thereby determining the membership function.
In step 3), the membership function parameters of each fuzzy target parameter are vmin, vmax, p1 and p2, where vmin and vmax are the minimum value and the maximum value of fuzzy target parameters, and p1 and p2 are referred to as fuzzy width.
Referring to
31) The number of particles in the particle swarm is set, the speed and the position of all particles are initialized, and the maximum speed interval is set. The position information of each particle comprises 16 membership function parameters, namely:
32) The fitness function of each particle is calculated, the current individual extremum of each particle is found, and a global optimal solution is found from these individual historical optimal solutions and is compared with the historical optimal solution to select the optimal solution as the current historical optimal solution.
33) The speed and position information of each particle is updated, and the update formula is:
Vid=ωVid+C1random(0,1)(Pid−Xid)+C2random(0,1)(Pgd−Xid) (5)
Xid=Xid+Vid (6)
34) It is detected whether the updated particles meet the condition of ending the cycle, if not, continuing the cycle, if so, outputting the optimal solution as the parameter of the fuzzy membership function, and establishing the membership function to obtain the required membership. The membership functions established by the present disclosure are as follows:
4) Fuzzy reasoning operation is carried out on the membership, and the adjusted parameter λ is tuned by using the results of fuzzy reasoning operation, thus completing tuning predictive control parameters of the building energy consumption system based on fuzzy logic.
In step 4), Mamdani fuzzy reasoning method is used to perform fuzzy reasoning operation on membership, which is specifically as follows.
41) The most commonly used Mamdani fuzzy reasoning method is used, and the obtained membership is subject to Cartesian product operation, namely:
μmin=μyk∧μe∧μts∧(min{μŷ(1),μŷ(2), . . . ,μŷ(N)}) (11)
42) According to the μmin value obtained in step 31), λ is tuned between λmin and λmax according to a certain exponential law, and the weight of the control quantity is changed, whose algebraic expression is:
λ=λmax×exp(μmin×Ig(λmin/λmax)) (12)
5) The tuned adjusted parameter λ is substituted into the cost function of the next cycle to improve the performance of the controlled building energy consumption system in the next cycle, wherein the cost function is:
J−E{Σj-N
In the variable air volume air-conditioning system, the static pressure of an air supply pipe in the static pressure control loop of central air-conditioning supply is taken as the controlled object, and the fan frequency-static pressure model is obtained by system identification with the objective that the output of the static pressure prediction model can quickly and accurately follow the set value of static pressure, as shown in the following formula:
The method specifically comprises the following steps.
1) The building energy consumption system is modeled, generalized predictive control is performed, and an tuned parameter λ is initialized.
The tuned parameter λ of a generalized predictive controller is initialized as
2) In the process of collecting control, the system includes the output slope yk(t), the actual output y(t), the set value yr(t) and the predicted output value ŷ(t+i). On the basis of the collected output slope yk(t) of the controlled system, the output slope is taken as a first fuzzy target parameter and is constrained by 0≤yk(t)≤0.4:
On the basis of the collected actual output y(t) and the set value yr(t), the absolute deviation between the actual output y(t) and the set value yr(t) is taken as a fuzzy target parameter:
e(t)=y(t)−yr(t)(0≤e(t)≤0.3) (12)
The time ts(t) when the output based on the change rate of the absolute deviation e(t) reaches the set value is acquired:
On the basis of the collected predicted output value ŷ(t+i), ŷ(t+i) is taken as a fuzzy target parameter, which is constrained by:
0.3≤y(t+i)≤1(i=1,2, . . . ,N)
3) A membership function is constructed for the four collected fuzzy target parameters. In the present disclosure, the parameters of the fuzzy membership function are optimally selected by using a particle swarm optimization algorithm, so that each fuzzy target parameter can obtain four membership function parameters, namely, vmin, vmax, p1, p2, where vmin and vmax are the minimum value and the maximum value of fuzzy target parameters, and p1 and p2 are referred to as fuzzy width.
The specific operation process of step 3) is as follows.
31) The number of particles in the particle swarm is set as 50, the speed and the position of all particles are initialized, and the maximum speed interval is set. The position information of each particle comprises 16 membership function parameters, namely:
32) The fitness function of each particle is calculated, the current individual extremum of each particle is found, and a global optimal solution is found from these individual historical optimal solutions and is compared with the historical optimal solution to select the optimal solution as the current historical optimal solution.
33) The speed and position information of each particle is updated, and the update formula is:
Vid=ωVid+C1random(0,1)(Pid−Xid)+C2random(0,1)(Pgd−Xid) (14)
Xid=Xid+Vid (15)
34) It is detected whether the updated particles meet the condition of ending the cycle, if not, continuing the cycle, if so, outputting the optimal solution as the parameter of the fuzzy membership function to obtain the parameter as shown in
4) Fuzzy reasoning operation is carried out on the membership of fuzzy target parameters, and the adjusted parameter λ is tuned by using the results of fuzzy reasoning operation.
The specific process of step 4) is as follows.
41) The Mamdani fuzzy reasoning method is used, and the obtained membership is subject to Cartesian product operation, namely:
μmin=μyk∧μe∧μts∧(min{μŷ(1),μŷ(2), . . . ,μŷ(N)}) (20)
42) According to the μmin value, λ is tuned between λmin and λmax according to a certain exponential law, and the weight of the control quantity is changed, whose algebraic expression is:
λ=λmax×exp(μmin×Ig(λmin/λmax)) (21)
5) The tuned weighting coefficient λ is substituted into the cost function of the next cycle again, wherein the cost function is:
J−E{Σj-N
According to the present disclosure, the variable air volume air-conditioning system is predicted, controlled and simulated, and the result is shown in
In addition, as shown in
Compared with the prior art, the present disclosure has the following advantages.
The underutilized output slope, predicted output and other information containing many system characteristics in the generalized predictive control process are applied to the fuzzy logic algorithm to tune the control system parameters, which improves the utilization rate of the control system.
By constructing the fuzzy membership function, the constraints on performance indexes such as rise time and overshoot in the system are transformed into constraints on four fuzzy control targets, which greatly reduces the calculation amount in the process of tuning parameters.
Only the weighting coefficient λ of the control quantity is taken as an adjustable parameter, and other control parameters such as a flexibility coefficient and a control time domain are fixed quantities, so that the contradiction between rapidity and stability of the control system can be solved most effectively.
By applying the system output slope at each moment and the time when the output based on the current absolute error change rate reaches the set value to the parameter tuning, the adjustment time of the system can be effectively shortened.
The absolute deviation between the actual output and the set output and the predicted output are applied to the fuzzy logic algorithm to tune the system parameters, so that the overshoot of the system is smaller and the robustness is stronger.
By using the particle swarm optimization algorithm, the parameters of the fuzzy membership function are found more accurately, so that the present disclosure is more universal.
Number | Date | Country | Kind |
---|---|---|---|
202011099045.0 | Oct 2020 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
20220082280 | Douglas | Mar 2022 | A1 |
Number | Date | Country |
---|---|---|
111224434 | Jun 2020 | CN |
Number | Date | Country | |
---|---|---|---|
20220114465 A1 | Apr 2022 | US |