The liquid tank level control method of fractional order state space Predictive function control
Technical field
The invention belongs to technical field of automation, relate to a kind of based on liquid tank level control method in the still-process of fractional order state space Predictive function control.
Background technology
Still-process is the important process process of a lot of Chemical Manufacture, and require to there is diversity and complicacy due to energy resource consumption with to production, distillation column process model building and operation optimization and control seem of crucial importance.And along with Product Precision and safe operation etc. require day by day improve, in distillation column process, the modeling process of controlled device is day by day complicated, the production run integer model of this complexity of distillation column cannot accurately describe, can the properties of product of description object characteristic sum assessment more accurately with fractional model.
In actual production process, it is widely used Industrial Process Control Methods that PID controls, but traditional PID control method and the control effects of integer model PREDICTIVE CONTROL (MPC) method to new fractional-order system model are not fine, can not meet control accuracy more and more higher in distillation column actual production process and product demand, this controls the actual controlled device described with fractional model with regard to the controller needing research and possess good control performance.Traditional state-space model PREDICTIVE CONTROL is all based on integer model, and for fractional order state-space model, if integer scalariform state space model predictive control method is expanded in fractional order state-space model forecast Control Algorithm, that effectively can make up integer model forecast Control Algorithm and control the deficiency in new fractional-order system, and can better control effects be obtained, also can promote the utilization of MPC in new fractional-order system simultaneously.Predictive function control (PFC) is a kind of control method comparatively easy in model predictive control method, there is the advantages such as calculated amount is few, control effects is good, if pfc controller can be designed based on more accurate fractional model, the performance of control system obviously can be improved.
Summary of the invention
The object of the invention is liquid tank level object in the still-process described for fractional order state-space model, there is provided a kind of based on liquid tank level control method in the still-process of fractional order state space Predictive function control, to maintain the balance of the liquid tank level that fractional order state-space model describes, ensure good control performance.First the method adopts Gr ü nwald-Letnikov fractional calculus to define and fractional order state-space model is converted into discrete form, then obtain predicting output model based on fractional order state-space model, and fractional order integration is introduced objective function, finally devise fractional order state space prediction function controller based on fractional order state-space model and the objective function chosen.
The method can apply to the real process object that fractional model describes well, improve the weak point of the PFC method control new fractional-order system based on integer rank state-space model, add the degree of freedom of adjustment control parameter simultaneously, obtain good control performance, and the needs of distillation column actual production process can be met well.
Technical scheme of the present invention is set up by data acquisition, model, predicted the means such as mechanism, optimization, establish a kind of based on liquid tank level control method in the still-process of fractional order state space Predictive function control, the method effectively can improve the control performance of system.
The step of the inventive method comprises:
Step 1, set up the fractional order state-space model of controlled device in real process, specifically:
The real-time inputoutput data of 1.1 collection real process objects, set up the fractional order state-space model of this controlled device, form is as follows:
y(t)=Cx(t)
Wherein, x, y, u are respectively the state vector of controlled device, output and input, and α is fractional order order vector, α=[α
1, α
2..., α
n]
t, A, B, C are respectively system matrix,
for order α
lfractional order differential symbol.
1.2 for function f (t), has been defined by Gr ü nwald-Letnikov fractional calculus,
Wherein, h is sampling step length, the integral part that [t/h] is t/h.
1.3 utilize the definition in step 1.2 can be the fractional order state-space model of following discrete form by the model conversion in step 1.1:
y(k+1)=Cx(k+1)
Wherein,
Step 2, based on fractional order state-space model design controlled device fractional order prediction function controller, specific as follows:
2.1 according to the state-space model in step 1.3, and obtain the model prediction output valve in following k+i moment, form is as follows:
.
.
.
Wherein, P is prediction time domain, and y (k+i) is the model prediction output valve of k+i moment controlled device, i=1,2 ..., P.
2.2 in algorithm of predictive functional control, selects a basis function and step function, and the model prediction in step 2.1 is exported the prediction output model being converted to matrix form, form is as follows:
Y=Gx(k)+Su(k)-Ψ
Wherein,
The prediction output model of 2.3 correction current time controlled devices, obtain the forecast model after correcting, form is as follows:
E=[e(k+1),e(k+2),…,e(k+P)]
T
e(k+i)=y
p(k)-y(k)
Wherein, y
pk () is the real output value of k moment controlled device, y (k) is the model prediction output valve in k moment, the difference that real output value and model prediction that e (k+i) is k+i moment controlled device export.
The 2.4 reference locus y choosing predictive functional control algorithm
rand objective function J (k+i)
f, its form is as follows:
y
r(k+i)=λ
iy
p(k)+(1-λ
i)c(k)
Wherein, y
r(k+i) be the reference locus in k+i moment, λ is the softening coefficient of reference locus, and c (k) is the setting value in k moment,
representative function f (t) is at [ht
1, ht
2] on γ integration.
According to the definition of Gr ü nwald-Letnikov fractional calculus, at sampling time h, discretize is carried out to above-mentioned objective function, and to the error amount weighting that the reference locus value after discretize exports with prediction, obtain the objective function after being weighted error term, form is as follows:
Wherein,
Yr=[y
r(k+1),y
r(k+2),…,y
r(k+P)]
T
Q=h
γdiag(q
1m
P-1,q
2m
P-2,…,q
P-1m
1,q
Pm
0)
Time,
To q<0,
Q
ifor the error term weighting coefficient that reference locus exports with prediction.
2.5 solve controlled quentity controlled variable according to the objective function in step 2.4, and form is as follows:
u(k)=(S
TQS)
-1S
TQ(Y
r-Gx(k)+Ψ-E)
2.6 in the k+ η moment, according to the step in 2.1 to 2.5 circulate successively solve fractional order prediction function controller controlled quentity controlled variable u (k+ η) (η=1,2,3 ...), and acted on controlled device.
The present invention proposes a kind of based on liquid tank level control method in the still-process of fractional order state space Predictive function control, the method obtains predicting output model based on fractional order state-space model, and fractional order integration is introduced objective function, improve the deficiency of the PFC method control new fractional-order system based on integer rank state-space model, add the degree of freedom of adjustment control parameter, obtain good control performance, and the needs of actual production process can be met well, facilitate the utilization of predictive functional control algorithm in new fractional-order system.
Embodiment
Control for liquid tank level in distillation column actual production process:
Obtain fractional model by the real-time level data of fluid reservoir, the regulating measure of liquid tank level control system is the valve opening of the cooling water flow controlling still-process.
Step 1, set up the fractional order state-space model of liquid tank level in distillation column actual production process, specifically:
The real-time inputoutput data of 1.1 collection still-process liquid tank levels, set up the fractional order state-space model of liquid tank level:
y(t)=Cx(t)
Wherein, x, y, u are respectively the valve opening of the state vector of liquid tank level object, liquid level and controlled cooling model discharge, and α is fractional order order vector, α=[α
1, α
2..., α
n]
t, A, B, C are respectively system matrix,
for order α
lfractional order differential symbol.
1.2 for function f (t), has been defined by Gr ü nwald-Letnikov fractional calculus,
Wherein, h is sampling step length, the integral part that [t/h] is t/h.
1.3 utilize the definition in step 1.2 can be the fractional order state-space model of following discrete form by the model conversion in step 1.1:
y(k+1)=Cx(k+1)
Wherein,
Step 2, based on the fractional order prediction function controller of liquid tank level in fractional order state-space model design still-process, specific as follows:
2.1 according to the state-space model in step 1.3, and the model prediction obtaining the following k+i moment exports, and form is as follows:
.
.
.
Wherein, P is prediction time domain, and y (k+i) is the model prediction output valve of k+i moment controlled device, i=1,2 ..., P.
2.2 in algorithm of predictive functional control, selects a basis function and step function, and the model prediction in step 2.1 is exported the prediction output model being converted to matrix form, form is as follows:
Y=Gx(k)+Su(k)-Ψ
Wherein,
The prediction output model of liquid tank level in 2.3 correction current time still-process, obtain the forecast model after correcting, form is as follows:
E=[e(k+1),e(k+2),…,e(k+P)]
T
e(k+i)=y
p(k)-y(k)
Wherein, y
pk () is the liquid level of the k moment distilling fluid reservoir in production run, y (k) is the model prediction output valve in k moment, and e (k+i) distills the difference that the liquid level of fluid reservoir in production run and model prediction export for the k+i moment.
The 2.4 reference locus y choosing predictive functional control algorithm
rand objective function J (k+i)
f, its form is as follows:
y
r(k+i)=λ
iy
p(k)+(1-λ
i)c(k)
Wherein, y
r(k+i) be the reference locus in k+i moment, λ is the softening coefficient of reference locus, and c (k) is the setting value in k moment,
representative function f (t) is at [ht
1, ht
2] on γ integration.
According to the definition of Gr ü nwald-Letnikov fractional calculus, at sampling time h, discretize is carried out to above-mentioned objective function, and to the error amount weighting that the reference locus value after discretize exports with prediction, obtain the objective function after being weighted error term, form is as follows:
Wherein,
Yr=[y
r(k+1),y
r(k+2),…,y
r(k+P)]
T
Q=h
γdiag(q
1m
P-1,q
2m
P-2,…,q
P-1m
1,q
Pm
0)
Time,
To q<0,
Q
ifor the error term weighting coefficient that reference locus exports with prediction.
2.5 solve controlled quentity controlled variable according to the objective function in step 2.4, and form is as follows:
u(k)=(S
TQS)
-1S
TQ(Y
r-Gx(k)+Ψ-E)
2.6 in the k+ η moment, according to the step in 2.1 to 2.5 circulate successively solve fractional order prediction function controller controlled quentity controlled variable u (k+ η) (η=1,2,3 ...), and acted on the valve controlling fluid reservoir cooling water flow.