• No results found

Multivariable system identification for dynamic discrete time nonlinear system using genetic algorithm

N/A
N/A
Protected

Academic year: 2020

Share "Multivariable system identification for dynamic discrete time nonlinear system using genetic algorithm"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

Multivariable system identification for dynamic discrete-time nonlinear

system using genetic algorithm

R

Abmadl,H. J amaluddin', andM. A., Hussain?

l'Faculty

of Mechanical Engineering, Universiti Teknologi Malaysia, 81310 Skudai, Johor, Malaysia

'Department

of Chemical Engineering, Faculty

of

Engineering, Universiti Malaya, 50603

Kuala Lumpur, Malaysia

e-mail robiah@flan.utm.mv, hishamilfkm.utm.mv: azlan@k.um.my

advantages such as having global search characteristics 171

A Abmad

-

Model s t r ~ c h l r e rrll*ion bawd om genetic and this has led to the idea of using this type of programming algorithm, whirb was origlnslly derived far ringlcinput single method

in

modeling of dynamical systems [8,9]. The output (SISO) systems, U extended to molti-input mulbdutput algorithm starts with a randomly generated population and W O ) dynnmic dirrretctimc molllinear V*m% Thi. P a P r followed with three basic operaton: reproduaion, crossover studin the dsorithm in ldentifyiog the model m c b r e far a and

( 0 ~ s

and GA) were jacketed continuous stirred lank reactor or CSTR. The adequacy

of dcv~lopd modcl lI t ~ - ooL ,tcp .h~.d prediaiao applied lo identification of

SISO

nonlinear system and can be extended to MIMO system. There were applications of and CIOS validation test.

GA in

MIMO

svstems hower wine ARMAX model M~~~ of tho=

K-ordr: system identification, model structnre selection, multivariable system, genetic algorithm

I.

INTRODUCTION

In system identification, a mathematical model is derived so that this model is able to simulate and predid the aclual system behavior. The main problem in system identification is choosing the p r o p structure of the model where the significant terms are selected in the final model among all the possible ones. A polynomial Nonlinear AutoRegressive Moving Average with exogenour input or NARMAX model representation was selected as the model representation in this study since it has been shown lo represent a wide range of nonlinear system [I]. This model has received more research anention than other models such as block oriented models and functional series expansion model [2] due to its advantage such as having a linear-in-theparameter model. The number of possible terms in AutoRegressivs Moving Average with eXogenous input or ARMAX model is equal to the sum of allowable maximum lags while the maximum numb= of terms in NARMAX model is enormously large

131,

therefore it is important to select the significant terms for the model that will prcduce a parsimonious model that adequately represents the data set. Billings and Fadzil [4] have showed that less than ten terms in NARMAX model are sufficient provided that the significant terms in the model can be detected. Several model structure selection methods have been derived for

SISO

nonlinear system using different methods such as oahogonal least square or

OLS

[ 5 ] which select the significant terms based on Error Reduction or ERR. However, higher order of input and output lags and higher order of nonlinearity will lead to a large searching space and highcomputation. . .

Recently, extensive work on genetic algorilhm has been reported covering various applications. It is a search procedure that imitates the principle of natural evolution and it has received significant interest to researchers and has been applied to various optimization problems 161. It offen many

representation [10:11] and GA was-used to calculate parameten of the models.

In this work, genetic algorilhm is applied lo the identification of multivariable dynamic discrete-time nonlinear system and the paper is organized as follows. In section 2, a background on multivariable system is discussed which will be used as the basis for the identification. In section 3, the propsed model structure selection using genetic algorithm is presented. Section 4 shows the application of the algorithm IO a jacketed

CSTR

system. Some simulation results are presented in this section. The conclusion discusses and summarizes the main contribution of the paper.

11. DENTlFlCATlON OF MULTIVARIABLE S Y S T E M

A. System Represenfation

For a linear multivariable system with m outputs and n

inputs, consider the

ARMAX

model below:

A ( q h ( 4 = B ( q - l ) W ) +e(!) (1) w h m A(q-') and B(q-') are the matrix polynomials of dimension (m x rn) and (m x n) respectively

as

follows:

A ( q - 1 ) = 1 + 4 q - 1 + A Z q - 2 + . . . + A . q-"?

B(q")=B1q-I

+B'q-*

+...+

BnMq-"" (2)

T h e model belongs to linear-in-thP-parametetcr model therefore, the parameter estimation can be performed using least square method. The model in equation ( 1 ) can be represented as [I21

r(r)

=

4

VP

+

e(() (3) with

(2)

e =

Alternatively, Billings et al. [13] described a discrete-time multivariable nonlinear system with m outputs and n inputs by the model

Y ( 0 = f ( Y ( t

-

11,

...,

y(t

-

n,),u(t

-

I),

...,

u ( t - n , ) , e ( t - l ) , ...,e(t- n y ) ) + e ( t ) (5) where

U ( f ) =

For ith row, with different maximum lags for each output, input and noise, the equation can be written as

wheref; is the nonlinear function.

If the polynomial degree for the ith subsystem model is Li, the number of maximum terms for the ith subsystem model is

where and

4

ni = E n v ,

~

j=O

(7)

n a = l , j = l ,

...,

Li

B. Model validation

Model validation is the final step in system identification procedure to check whether the identified model sufficiently described the system based on the observed bta. There are a number of ways to test the models. One of the most common methods is one step-ahead prediction which is used as a measure of the predictive accuracy of the identified model. The one step-ahead prediction (OSA) of y i ( t ) is defined as

h

yj(t) = :(y1(t-1~--,y1(t

-

nil )v..,ym(t- l),-.,ym(t

-

5-

17 241 (f

-

1)

,...,

u,(t

-

nL,)

,...,

U, (t

-

1) 1.1.) un(t - n:" ),

e, (t

-

1) ,...,el (t

-

n:, ),

...,

e,,, ( t

-

1)

,...,

e,,, (t

-

nLm )) (8) where the predicted output is based on the previous input and output data. F i ( t ) is an estimate of the nonlinear hnction

h

A(.).

In cross validation test, the parameter estimates are determined from the f m t data set and then the model output is computed for the different sets of data using the parameter estimates obtained from the first data set. The goodness of fit of the identified model is evaluated by comparing the system output yi(t) and the one-step-ahead prediction output

j i ( f ) and plotting on the same graph.

The performance of the model is also evaluated using Error Index (EZ) defined as

where the measure of closeness between the predicted output and the measure output is calculated.

111. MODEL STRUCTURE SELECTION USING GENETIC ALGORITHM

The main issue in identifymg NARh4AX model is the selection of the significant terms to represent the system. GA is used to select the significant terms based on its objective function. The algorithm starts with a randomly generated population. The three basic operations in GA (reproduction, crossover and mutation) are repeatedly applied to the population until an acceptable solution is found. In reproduction, individuals with higher objective fhction will more likely to produce offspring to the next generation through the survival of fittest mechanism. The method used is roulette wheel selection and this concept is extended to multivariable system.

(3)

opv1ation Sire?

[image:3.613.117.273.119.442.2]

I

Yes

Figure 1 Rocdune for identification of multivariable system using genetic algorithm

Iniiirrlizofion ofCA c o n m l p u r m e f o s

A population

size,

the probability for crossover @J and mutation @J, stopping criterion are chosen as well as the

maximum number of terms for the model.

The individual or chromosome represents the model

smcNre, therefore each bit of the chromosome represents

the term for the regressor in *e equation. It consists of L-

bit binary code and the length of L equals the size of

regressor.

Initially, rn individuals are created at random. Each individual that represents a possible model is expreued by L-bit binary model code c. If some bifs of the binary model of-cluomomme c equals zeros, it means the terms are excluded from the model

Represeniorion

Inifiolpopulution

Porornetm estimolion

The selected term for the model is given by value 1 of each chromosome, Based on the identified model

smcture, the value

of

the parameta

S.

are calculated using the least square estimation method.

The objective of the algorithm is to minimize the m r between the model and the system.

The new generation is produced using three basic GA operators: selectioh crossover and mutation

ARer a stopping criteria has been met (specified number of generation, maximum number of outputs), the fmal models will be selected based on the models with maximum number

of

fitness value.

-

Fimessfuncrion

-

Repmducrion

.

sropping crireriu

N. SIMULATION STUDIES

A perfectly mix& single fint-order exothermic irreversible continuous stirred tank reactor

(CSTR)

[I41 is used to

represent a common multivariable nonlinear system in this sNdy. The CSTR is a rather common process in the chemical indusbies. There

are

214 of input and output data with the input u(i) is the coolant jacket temperaNre set point while the output yl(i) is the reactor temperaere andy2(i) is the reactant concentration. For simplicity, few assumptions are being ma& (a) the coolant jacket temperame, is directly manipulated to control the

CSTR

t e m p e m r e @I) both the CSTR and coolant jacket are perfectly well stirred and the temperaNres are distributed uniformly and

4

responses

instantaneously when different set points of coolant jacket temperature are set (c) constant physical properties of inlet and outlet streams. The process can be described by the ordinary differential equation (ODE) showing the energy balance as in equation

(IO)

and the mass balance ns in (I 1) The change in simulated reactant concentration is given by

The change in reactor temperature is given by

In this study, genetic algorithm is used to identify a nonlinear system based on NARMAX model shuchue with nrl = nfl = 2, nu =

2

and the nonlinearity

I

is equal to 2. The maximum number of model terms is 14 and there are 16,384 possible models to be selected fmm. The parameters used in the algorithms are 50,0.6 and 0.01 for population size,p, andp, respectively. A h LOO generation, the CA yields the following model as given on Table 1 and the values of ermr index for both outputs are given. The numbers of terms are

(4)

graphs show the algorithm provides a good performance and both of the two models have good accuracy.

To further validate the models, two different sets of data containing 258 and 355 data sets were applied to the identified model and the responses are shown in Figure 6, 7, 8 and 9. In order to give a quantitative measuremen4 the values of IE for those models are calculated. The values are 0.0034 for model output I, 6.1177e-04 for model output 2 using the second data sec 0.0029 for model output 1 and 4.8332e-004 for model output 2 using the third data set. These validation results show that the algorithm gives excellent performance and both models provide good approximations for the multivariable nonlinear system.

V. DISCUSSION ANTI CONCLUSION

The study has focused on model smcture selection for linear-in-the-parameters multivariable dynamic nonlinear systems using genetic algorithms. It is shown that the proposed algorithm provides an efficient way of determining the model sh-ucw of unknown nonlinear systems Least square estimate was used in the parameter estimation as it is a widely used method and provides an efficient way of estimating the parameters on the models. The results

obtained in this work indicate that the algorithm is capable of determining model smcture of unknown nonlinear dynamic system with less numbs of terms. The results also showed that the proposed algorithm is able to accurately identify the models with a faster convergence rate. The one step-ahead- prediction of the models are plotted and the models are tested with cross validation tests. The validation tests have all shown good results and the values of error index are provided

However. there are some limitations of the GA that was discovered in the work such as the premature convergence of the GA and the lack the hill-climbing characteristics. To enhance the genetic search, different authors proposed different approaches [IS]. A study on the influence of the control parameters on genetic search was presented. The results suggested that (a) large population size will improve the search but it will take longer time to converge (b) a good combination of genetic operators such as crossover and mutation is important and therefore good choice of these combination is needed by trial and error method so that better results

can

be achieved. To huther improve the search, the simple GA needs to be modified. Funher investigation on modified GA will be presented in the future.

ACKNOWLEDGMENT

The authors would like to thank the University Teknologi Malaysia for making this work possible with Grant RMC Vat 71752.

RE!FERENCES

I. J. Leontaritis and S. A. Billing$ “Input-output parameter models for nonlinear system. Part I: Deterministic non-linear system:’ Int. Journal of

Connol, vol. 4,110. I.pp. 193-210, 1988.

R Haber and H. Unbehaum, “Smuclure identification of nonlinear dynamic systems - A survey on input/oulput approaches,”Aulomlica, vol. 26, pp. 651-677, 1990. M. Korenberg, S. A. Billings, Y. P. Liu and P. J. Mcllray, ‘‘onhogonat paramder estimation algorithm for non-linear stochastic systems,” Int. Journal of

Contro1,vol. 48, no. Lpp. 193-210,1988.

S. A. Billings and M. B. Fadzil, “The practical identification of systems with nonlinearities,”.in

Proc.

Th IFAC Symposium on Identification and System PwamderEstimation, York, UK, 1985, pp. 155-160. S. Chen, S. A. Billings and W. Luo, “Onhogonal least square methods and their applications to non-linear system identification:’ Int. Journal ojConnol, vol. 50, no. 5,pp. 1873-1896, 1989.

N. Chaiyarama and A. M. S. Zalzala, “Recent developments in evolutionary and genetic algorithms: theory and application,” in Con/ on Genetic Algorithms in Engineering Systonr:lnnovation ond Applications, no. 446.270-277,1997.

Z . Michalewicq Genetic Algorithm

+

Data Smrcturer = Evolution R o r a m s , New York Springer-Valag, 1992.

C. I. Li and Y. C. Jeon, “Genetic algorithm in identifying nonlinear autoregressive moving average with exogenous input models for non linear systems, in Pioc. of the American Contml Confmrnce, San Francisco, California, 1993, pp. 2305-2309.

G.

G.

Luh and

G.

Rizzoni, ‘Nonlinear system identification using genetic algorithms with application to feedforward conlrol design,” in Proc. ofthe American Conno1 Confmnce, Philadelphia, Pennsylvania, 1998, rm. 2371-2375.

..

10) K. C Tan, Y. Li, D. 1. Murray-Smith and K. C. Sharman, “System identification and linearisation using genetic algorithms with simulated annealing,” in First

IEWIEEE Int. Conr Cy Genetic Algorithms in Enginwing Systems: Innowtion and Application, SheffiieldUK, 1995, pp. 164-169.

11) Z. Zibo and F Naghdy, “Application of genetic algorithms to system identification,” IEEE Int. Con/ on Evolutionary Computation, vol. 2, 1995, pp. 777-787. 12) T. S k i m m m and P. Stoica, System Identifrctiaion,

Englewood Cliffs, NI: Prentice-Hall, 1989

13) S. A. Billings, S. Chen and M. 1. Korenberg, “Identification of MlMO non-linear systems using a forward-regression onhogond estimator:’ Inf. Journal ofconno/, vol. 50,no.6,pp. 2157.2189. 1989. 14) K. A. Wahab, M. A. Hussain and M. Z. Sulaiman,

“Temperalux control for chemicd reactor using

adaptive neural network control strategy,” in “ENCON 2000.25-27 September 2000, Kuala Lumpur, Malaysia. 15) A. E. Eiben, R. Hinterding and Z. Michalewicz,

(5)
[image:5.612.93.512.126.663.2]

Table 1 Sub- system

1

2

:keted CSTR Estimates

-3 5.6399 -0.0151 -0.1927 0.3439 0.0391 1.0537 -0.0271 -3.2639 3.5853 -0.0060 -6.9942 12.9807 -0.0735

0.3707 -0.0088 0.0084 -0.0220 -0.0006 0.0014

0.0008 -0.4829

sing ga Error Index

0.003 1

4 . 3 0 8 7 4

Figure 2 System outputyl(t) versus predicted output

Figure 4 System outputyz(t) versus predicted output

0.-

1 1

U

Lo 8 m I M t m W a

*o.Dl-

(6)
[image:6.615.102.276.126.554.2]

Figure 7 Cross validation for yt(t) using data set 2

I

. I I * I U

-

I

.-

r n I S

Figure 8 Cross validation for yl(t) using data set 3 ."..U-.0..3.0

-

,..,.-

:pi

110.1

f.,"

n.

2%"

Y I

..I

, ,

U"

', ' I

* I m I ~ . = I u u

n.

*.II

Figure 9 Cross validation for y2(t) using data set 3

Figure

Figure 1 Rocdune for identification of multivariable system using genetic algorithm
Table 1 Sub-
Figure 7 Cross validation for yt(t) using data set 2 :pi

References

Related documents

Marine Meteorology is a scientific and technical applied discipline that uses data from general meteorology and physical oceanography, with the purpose of producing

Antrajame daugiausia dëmesio skiriama tin- kamumui: „Mat kaip gyvenime, taip ir iðkal- boje nëra nieko sudëtingiau negu pamatyti tai, kas dera: tai graikai vadina πρέπον , o

Our study attempted to identify the per- centage of patients that have a less than satisfactory 6-month outcome following colorectal surgery within an enhanced recovery program and

Estes períodos de descanso non o son tanto para os mariños, ao continuaren no centro de traballo unha vez finalizada a súa xornada laboral, e, xa que logo, o ruído a bordo tamén

(Tronstad 2005; Fernández Vara 2009, 125.) If solving a puzzle leaves the player with a feeling of disconnect, as they fail to see the connection between the solution and the

We investigated whether the SVD score is a valid representation of SVD by testing whether previously described risk factors for individual SVD features were associated with total

In this paper we focus on the so-called image spam, which consists in embedding the spam message into images attached to e-mails to circum- vent statistical techniques based on

Hasil penelitian yang dilakukan oleh Agarwal dan Gupta (2018) menunjukkan bahwa job characteristics berpengaruh negatif dan signifikan terhadap turnover intention.Dengan