NEUROFUZZY Based MPC
NEUROFUZZY Based MPC
net/publication/291321108
CITATION READS
1 98
2 authors, including:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Ebrahim Abdulla Mattar on 24 December 2016.
c c c
TRAINING OF NEUROFUZZY SYSTEM y2 (k) 21( j)u1(k j) 22( j)u2 (k j) 2n ( j)un (k j)
From the designed neuro-fuzzy architecture shown in j 1 j 1 j1
c c c
parameters, the entire output is expressed as a linear ym (k) m1( j)u1(k j) m2 ( j)u2 (k j) mn( j)un (k j)
combinations of the consequent parameters. More j1 j 1 j 1
(14)
precisely, output y in Fig. [1] can be rewritten as:
y1 y2 y m 1
ym y1 y 2 y m 1 where ( y1 ,, y m ) are process outputs, (u1 , u 2 ,, u n )
y 1 y 2 y1 y 2 y m y m 1
are control variables, c k1km ( j )' s and
y m y1 y1 y 2 y 2 y m 1 y m 1
nk1km ' s(k1 1,2;k 2 1,2; j 1,,nknkm ) are the
y m ( y1 x ( k 1)) p1 ( y1 y ( k 2 )) q1 ( y1 ) r1
parameters and orders of the model. The model
( y 2 x ( k 1)) p 2 ( y 2 y ( k 2 )) q 2 ( y 2 ) r2 parameters c knkm ( j )' s are constant for each given
(12)
(k1 , k m , j ) , since Equ (14) is a linear time-invariant
which is linear in the consequent parameters model.
( p1 , q1 , r1 , p2 , q2 and r2 ) . As a result, we have:
At (k), the controller needs to determine the control
S set of total parameters action (u1 (k ),, u n (k )) based on feedback
S1 set of premise parameters ( y1 (k ),, y m (k )) to drive a process to reach the desired
S 2 set of consequent parameters outputs (r1 ,, rm ) .
The consequent parameters thus identified are optimal In predictive control, prediction equations should be
(in the consequent parameter space) under the condition developed to predict the outputs. Equ (20) can directly
that the premise parameters are fixed. yield the following recursive prediction equations, for a
two inputs with two outputs system.
PARAMETER IDENTIFICATION
A model's weights are conventionally identified by
performing maximum likelihood estimation. Given a
training data set Z N {y (k ), x(k )}kN1 the task is to find
n11
c
y1 (k 1) y1 (k ) 11 ( j , u 2 (k j ))u1 (k j ) [5] MODEL PREDICTIVE CONTROL
j 1
ADAPTATION FOR NONLINEAR
n11
PROCESSES
cj 1
11 ( j , u 2 ( k 1 j ))u1 (k 1 j )
The principal components of a linearized MPC system
n12
are a reference neuro-fuzzy model, process output
cj 1
12 ( j , u1 (k j ))u 2 (k j ) predictor, optimization routines or an adaptation
mechanism and MPC controller. In this sense, the
n12 MPC embodies the linearized model parameters of the
cj 1
12 ( j , u1 (k 1 j ))u 2 (k 1 j ) overall system. In practice, many nonlinear processes
are approximated by reduced order models, possibly
n21 linear, which are clearly related to the underlying
c
y 2 (k 1) y 2 (k ) 21 ( j , u 2 (k j ))u1 ( k j ) process characteristics. However, these models may
j 1 only be valid within certain specific operating ranges.
n21 When operating conditions change, different model may
c j 1
21 ( j , u 2 ( k 1 j ))u1 (k 1 j ) be required to be employed or the model parameters
may need to be adapted. This is specially true for linear
n22 representations.
c j 1
22 ( j , u1 ( k j ))u 2 (k j )
Our approach to the modeling of nonlinear processes
n22
(via neuro-fuzzy system) is to divide the whole
c j 1
22 ( j , u1 (k 1 j ))u 2 ( k 1 j ) envelope of process operation into several operating
regions, hence to use a local reduced order model to
approximate the process in each region. The role of the
(15) MPC mechanism is to select the model and the tuning
parameters of the controller in response to the error
where (k 1) and with initials between the outputs of neuro-fuzzy reference model and
plant [5].
y 1 ( k ) y1 ( k )
(16) LINEARIZED FUZZY MODELS
y 2 (k ) y 2 (k )
A Takagi-Sugeno-Kang (TSK) fuzzy system [6] is
where notations c11 ( j , u 2 (k j )), , emphasize that constructed typically from the following rules :
c11 ( j ), , are dependent on u2 (k j )) . Since we are IF u1 (k 1)isC1l andand u n (k n)isCnl ,
dealing with constrained linear MPC formulation, to (18)
achieve a good control, it is required the following cost THEN y l (k 1) C0l C1l u1 (k 1) Cnl u n (k n)
function to be minimized:
1 where Cil are fuzzy sets, Cil are constants, and l = 1,2,
min J u ( k ) T H u ( k ) G ( k 1) T u ( k )
u(k ) 2 u ... , M. That is, the IF parts of the rules are the same as
subject to (17) in the ordinary fuzzy IF-THEN rules, but the THEN
C u ( k ) c ( k 1) parts are linear combinations of the input variables.
u u Given an input u (u1 ,,u n )T , the output y (k ) of a
u min u ( k ) u max fuzzy system is computed as the weighted average of
where the y l ' s , that is,
H pm T pm T (the QP Hessian matrix )
u
M
and ylw l
l 1
G ( k 1) pm T e( k 1) (theQP gradient vector ) y (k ) (19)
M l
w
l 1
Solution of Equ (17) by a QP algorithm at each l
where the weights w are computed as
sampling interval (k) produces an optimal set of moves n
u(k) which satisfies the constraints. Since H is likely
u
wl c (x )
i 1
l
i i (20)
to be fixed at all sampling intervals, a parametric QP
algorithm is used to reduce on-line computation time. If an output of a fuzzy model appears as one of its input,
we obtain a dynamic TSK fuzzy system. A dynamic
TSK fuzzy system is constructed from the following flow rate ( f1 ), the flow rate ( f 2 ) and concentration
rules : ( c2 ) of sodium hydroxide and the pH in the reactor.
Such nonlinear relationship suggests that the process
IF y ( k )is A1p and and y ( k n 1)is Anp and u ( k )is B p operation can be partitioned into several regions based
THEN y ( k 1) a1p y ( k ) a np y ( k n 1) b p u ( k ) on the reactor pH. Hence, we first divided the process
into three operating regions: pH low, pH medium, and
(21) pH high.
[7] CONCLUDING
Within this article we have introduced the basic
structure of a neuro-fuzzy system and how the inter- acid_fl(k-1)
layers are configured to model a pH neutralization
reactor plant. The modeling neuro-fuzzy network has Neuro-fuzzy
shown great results in terms of reducing the prediction System
sdm_fl(k-1)
Root Mean Squared error. Once neuro-fuzzy models
are obtained, we validated the neuro-fuzzy models that
operate over linearized plant region of operation. In this
respect, the neuro-fuzzy models have been employed to sdm_conc(k-1)
model linearized operating regions of the plant under
linear model predictive control. The employed
algorithm produced fast settling time and convergence,
in addition to a good neuro-fuzzy structure for modeling pH(k-1)
the nonlinear behavior of the plant under control.
Fig.[2]: Neuro-fuzzy architecture for pH neutralization.
[8] REFERENCES 10
Input#1 acid flow sequence for training
[1] Zhi Qiao Wu and Chris J. Harris, “Modeling and 0
Adaptive Filtering of Nonlinear System using Neural -10
Network,” University of Southampton, Technical 0 100 200 300 400 500
Report. Input#2 sdm flow sequence for training
10
[2] Zadeh L.A., “Fuzzy sets. Information and Control,”
0
8:338-353, 1965.
-10
[3] J.Zhang, and A.J. Morris, ”Fuzzy Neural Networks 0 100 200 300 400 500
for Nonlinear Systems Modeling,” IEE Proc.-Control Input#3 sdm conc.sequence for training
Theory Appl., Vol. 142, No. 6, November, 1995. 10
[4] Jang J-S.R., “ANFIS: Adaptive-Network-Based 0
Fuzzy Inference System,” IEEE Trans. on System Man -10
0 100 200 300 400 500
and Cybernetics, 23(3):665-685, 1995.
Output pH sequence for training
[5] S. Reay and M. W. Dunnigan, ”Learning Issue in 5
Model Reference Based Fuzzy Control,” IEE Proc.- 0
Control Theory Appl., Vol. 144, No. 6, Nov., 1997. -5
[6] Takagi T. and Sugeno M., “Fuzzy identification of 0 100 200 300 400 500
systems and its application to modeling and control,”
IEEE Trans. on System Man and Cybernetics, 15:116- Fig. [3] : Training sets for pH neutralization system.
132, 1985.
View publication stats