Sunteți pe pagina 1din 9

ARTICLE IN PRESS

Engineering Applications of Articial Intelligence 17 (2004) 265273

Articial neural networks and neuro-fuzzy systems for modelling and controlling real systems: a comparative study
! Jose Vieiraa,*, Fernando Morgado Diasb, Alexandre Motac
a b

! Escola Superior de Tecnologia de Castelo Branco, Departamento de Engenharia Electrot!cnica, Av. Empresario, Castelo Branco 6000, Portugal e ! ! Escola Superior de Tecnologia de Setubal, Departamento de Engenharia Electrot!cnica, Campus do IPS, Estefanilha, Setubal 2914-508, Portugal e c ! Departamento de Electronica e Telecomunica@oes, Universidade de Aveiro, Aveiro 3810, Portugal * Received 1 September 2003; received in revised form 22 December 2003; accepted 8 March 2004

Abstract This article presents a comparison of articial neural networks and neuro-fuzzy systems applied for modelling and controlling a real system. The main objective is to model and control the temperature inside of a kiln for the ceramic industry. The details of all system components are described. The steps taken to arrive at the direct and inverse models using the two architectures: adaptive neuro fuzzy inference system and feedforward neural networks are described and compared. Finally, real-time control results using internal model control strategy are presented. Using available Matlab software for both algorithms, the objective is to show the implementation steps for modelling and controlling a real system. Finally, the performances of the two solutions were compared through different parameters for a specic real didactic case. r 2004 Elsevier Ltd. All rights reserved.
Keywords: Temperature control; Fuzzy hybrid systems; Articial neural networks; Applied neuro-fuzzy control; Model-based control and real-time control

1. Introduction The purpose of the present paper is to compare, using a didactic case, two solutions for modelling that became very popular in the last decades: articial neural networks (ANN) and neuro fuzzy systems (NFS). This comparison is made using available Matlab software. The eld of ANN has crossed different stages of development. One of the most important steps was achieved when Cybenko (1989) proved that they could be used as universal approximators. A negative stage had been brought two decades earlier by the book of Minsky and Papert called Perceptrons (Minsky and Papert, 1969), where among other examples it was shown that a single layer of perceptrons could not represent a simple function like the Exclusive OR. This negative phase was overcome when algorithms for
*Corresponding author. Electronics and Telecommunications, University of Aveiro, Campus Santiago, Aveiro 3810, Portugal. Tel.: +351-234-370-381; fax: +351-234-381-128. E-mail addresses: zevieira@est.ipcb.pt (J. Vieira), fmdias@est.ips.pt (F.M. Dias), alex@det.ua.pt (A. Mota). 0952-1976/$ - see front matter r 2004 Elsevier Ltd. All rights reserved. doi:10.1016/j.engappai.2004.03.001

training of multilayer ANN where proposed in the decade of the 1980s. Since then much work has been done regarding ANN and their application to many different elds. A reasonable slice of this work has been in the modelling and control eld where ANN hold the promise of being capable of producing non-linear models and controllers, being able to work under noise conditions and being fault tolerant to the loss of neurons or connections. The eld of NFS starts in the end of the 1980s and presents a big growth in the decade of the 1990s with a large variety of different approaches. These approaches mix the ANN with fuzzy inference systems (FIS) in three ways: cooperative, concurrent and fused. The most common architecture is the fused NFS that uses neural networks ideas just to learn some internal parameters of a xed structure (Nauck et al., 1997). The adaptive neuro fuzzy inference system (ANFIS) belongs to the fused NFS, it was introduced by Jang (1992) and it is able to approach any linear or non-linear function (universal approximator) (Jang, 1993). The ANN are widely used in model and control of many practical industry non-linear process applications

ARTICLE IN PRESS
266 J. Vieira et al. / Engineering Applications of Articial Intelligence 17 (2004) 265273

. some with on-line model tuning (Ngia and Sjoberg, 2000) and some with off-line model tuning (Lightbody and Irwin, 1997; Bloch et al., 1997). The NFS are also widely used, some with on-line model/controller tuning (Fink et al., 2001) and some with off-line model/ controller tuning (Kovacevic and Zhang, 1997; Zhang and Kovacevic, 1998; Vieira and Mota, 2003). Since the ANN and NFS are so frequently used, this paper proposes the discussion and comparison of these two off-line approaches through several specic parameters (interpretability, structure complexity, accuracy, time training and model based control results) for a specic didactic application. The present didactic study is a reduced scale prototype kiln for the ceramic industry, which is non-linear and will be working under measurement noise. Using available Matlab software for both algorithms, this article shows the details of the implementation steps for modelling and controlling a real system and compares the performances of the two solutions through different parameters. To test the models in real-time control action the internal model control (IMC) strategy was used.

220V AC

Zero-crossing detector

8 bit binary counter

D/A Converter

Power Stage Vout

Optic Decoupling Vin

Comparator

Fig. 2. Block diagram of the power module.

2. The kiln Non-linearity and noise have always been a major problem in control systems. This type of kilns are nonlinear systems because their temperature depends not only on the heating control variable but also on the exchange of heat with the exterior world and the present system also has measurement noise because of the type B thermocouple used. The system is composed of a kiln, electronics for signal conditioning, power electronics module and a Data Logger from Hewlett-Packard HP34970A to interface with a personal computer (PC) connected as can be seen in Fig. 1. Through the Data Logger bi-directional real-time information is passed: control signal supplied by the controller and temperature data for the controller. The temperature data are obtained using a thermocouple.

Kiln Chamber

The power module receives a signal from the Data Logger, with the resolution of 12 bits (04.095 V imposed by Data Logger), which comes from the controller implemented in the PC, and converts this signal in a pulse width modulation (PWM) signal of 220 V applied to the heating element. The signal conversion is implemented using a sawtooth wave generated by a set of three modules: zero-crossing detector, binary 8 bit counter and D/A converter. The sawtooth signal is then compared with the input signal generating a PWM type signal. The PWM signal is applied to a power amplier stage that produces the output signal. The signal used to heat the kiln produced this way is not continuous, but since the kiln has an integrator behavior this does not affect the functioning. The block diagram of the power module can be seen in Fig. 2. The Data Logger is used as the interface between PC and the rest of the system. Since the Data Logger can be programmed using a protocol called Standard Commands for Programmable Instruments (SCPI), a set of functions have been developed to provide Matlab with the capability to communicate through the RS-232C port to the Data Logger. Using the HP34902A (16 analog inputs) and HP34907A (digital inputs and outputs and two Digital to Analog Converters) modules together with the developed functions it is possible to read and write values, analog or digital, from Matlab. A picture of the system can be seen in Fig. 3. The kiln is in the center and at the lower half are the prototypes of the electronic modules.

3. Identication and modelling


Heating Element Thermocouple

Power Module

Data Logger

PC

Fig. 1. Modules that compose the system.

In the identication phase, the observation of the step response of the kiln in several reference temperatures and using the lipschit function (N^rgaard, 1996b) to determine the lag space, a conclusion was achieved: the kiln can either be considered a rst or a second-order system followed by a time delay.

ARTICLE IN PRESS
J. Vieira et al. / Engineering Applications of Articial Intelligence 17 (2004) 265273
y(k)

267

+ error (k) y( k-h) y(k-h -1) u(k-h) u(k-h -1) ypred(k)

Direct Model

Fig. 5. Structure for direct model training (rst and second-order system).

u(k)

Fig. 3. Picture of the kiln and electronics.


+
900 Output Temp.(C) 800 700 600 500 400 0 1000 2000 3000 4000 5000 Time (samples) 6000 7000 8000

error (k) upred (k)

Inverse Model

y(k+h) y(k) y(k-h) u(k-h)

Fig. 6. Structure for inverse model training (rst and second-order system).

0.8 Control Signal(V) 0.7 0.6 0.5 0.4 0.3 0 1000 2000 3000 4000 5000 Time (samples) 6000 7000 8000

Fig. 4. Open-loop step response of the kiln.

About the characteristics of the kiln it can be said that the nominal temperature operating range is from 300 C to 1000 C, the nominal power is about 1 kW, the rise and fall times are different and the static system gain varies depending on the value of the temperature of the kiln as shown in the step open-loop response illustrated in Fig. 4. The kiln shows non-linearity, due to the different behavior in the heating and in the cooling phases. This is because of the energy losses of the kiln structure to the exterior that are dependent of the temperature in the kiln. The identication data have been chosen to respect two important requirements: frequency and amplitude spectrum wide enough (Jang, 1992; S^rensen, 1994). Therefore, the train signals are acquired in open loop and the control signal was generated in the working range (01.5 V) by a pseudo-random function. Finally, with a sampling period (h) of 30 s, the operation of

collecting data was made. As the measurements have noise the train and test signals were ltered from highfrequency noise. From train/test signals, it can be conrmed that the rise and fall times are different, the static system gain varies depending on the value of the temperature of the kiln and the time delay of the system is constant and equal to one sample (h=1). The used training structures for direct and inverse models are described in Figs. 5 and 6. These structures are the most common solutions for training models and are described in several articles (Pradeep and Ash, 1988; Hunt and Sbarbaro, 1991). Considering the analysis done the kiln direct and inverse models were obtained with two different groups of regressors. First, considering the kiln a rst-order system and second, considering the kiln a second-order system. Considering that k n h; where k is the time instant, n is the iteration and h the sampling time, the prediction of the temperature (direct models of the system) at time k, ypred(k) is given by Eqs. (1) and (2), for rst and second-order approaches: ypredk f yk h; uk h; ypredk f yk h; yk h 1; uk h; uk h 1: 1

To obtain the inverse models, the prediction of the control signal at time k, making k=k+h in Eqs. (1) and (2), upred(k) is given by Eqs. (3) and (4) for rst and

ARTICLE IN PRESS
268 J. Vieira et al. / Engineering Applications of Articial Intelligence 17 (2004) 265273

second-order approaches: upredk f yk h; yk; upredk f yk h; yk; yk h; uk h: 3 4

I1

w 11 w 12 w 21 f 1(.) w'11 y w'21 f2(.) w'31 1


Fig. 8. FNN structure.

I2

w 22 w 31 w 32 w42 F1(.)

Considering the kilns behavior, ANN like feedforward neural networks (FNN) and NFS systems like ANFIS were considered good approaches for building the direct and inverse non-linear models of the kiln. 3.1. ANN ANN are articial and simplied models of the neurons that exist in the human brain. They can be used as a black box approach to create models of systems proting of the facility to model non-linear (as well as linear) systems. Their ability relies on the quality of the signals used for training and the performance of the training algorithms and their parameters do not contain information that can be directly understood by the human operator or that can easily be related to the physical properties of the system to be modelled. FNN are a subtype of ANN in which the only connections allowed between neurons are feedforward, i.e. there are no lateral or feedback connections. FNN Architecture: A FNN is a layered structure, which can include non-linearity. The basic element of a FNN is the neuron that is shown in Fig. 7. The neuron implements the general equation ! n X yF li:wi ; 5
i1

I3 w41 1

Table 1 Characteristics of FIS and ANN ANN Black box Learning for scratch FIS Interpretable Making use of linguistic knowledge and heuristics

Learning Algorithms of FNN: Many algorithms have been developed to use with FNN like the well-known Backpropagation or the most effective Levenberg Marquardt. The algorithms developed or adapted for the use with FNN are based on minimizing a criterion (which is most frequently based in the error between the desired and the obtained output). Most of them are based on derivative calculations of the error as a mean to minimize it. The LevenbergMarquardt algorithm was chosen because of the robustness and fastest convergence. 3.2. NFS A FIS can use human expertise by storing its essentials components in a rule base, and perform fuzzy reasoning to infer the overall output value. The derivation of if-then rules and corresponding membership functions depends, a lot, on the a priori knowledge about the system. However, there is no systematic way to transform experiences and knowledge of human experts to the knowledge base of a FIS. There is also a need for adaptability or some learning algorithms to produce outputs within the required error rate. On the other hand, ANN learning mechanism does not rely on human expertise. Due to the homogenous structure of ANN, it is difcult to extract structured knowledge from either the weights or the conguration of the ANN. Table 1 summarizes the characteristics of FIS and ANN. FIS and ANN are complementary which induce the appearance of the NFS that take advantage of the capacity that FIS have to store human expertise knowledge and the capacity of learning of the ANN. A common way to apply a learning algorithm to a FIS is

where usual functions for F are sigmoidal, linear and hard limit. A FNN is composed of an input layer, one or more hidden layers with one or more neurons and an output layer where frequently the neurons are linear. The multi-input single output FNN in Fig. 8 implements the following general equation: !! nh nl X X 0 y F1 wj1 fj wlj ll : 6
j1 l1

A typical structure of FNN can be seen in Fig. 4.


I1 w1 I2 w2 w3 I3 1
Fig. 7. Neuron structurethe bias input is shown connected to the activation function to show its effect on biasing the activation function.

F
w4

ARTICLE IN PRESS
J. Vieira et al. / Engineering Applications of Articial Intelligence 17 (2004) 265273
A1 B1 w1 X A2 B2 f2=p2x+q2y+r2 w2 X Y y Layer 1 A1 x
TT

269

f1=p1x+q1y+r1

f=

w 1f1 + w 2 f 2 w1 + w 2
___ ___

= w 1 f1 + w 2 f 2

(a)

Layer 4 x y Layer 2 w1
N

Layer 3 w1 w1f1 Layer 5


SUM

A2 f

B1 y B2

TT

w2

w2 x y

w 2 f2

(b)

Fig. 9. (a) A twoinput rst-order Sugeno fuzzy model with two rules; (b) equivalent ANFIS architecture.

to represent it in a special ANN like architecture, which is what we have in ANFIS. In this work ANFIS was the NFS solution chosen because of the robustness and fastest convergence. ANFIS Architecture: The ANFIS architecture (Jang, 1993) is illustrated in Fig. 9. Assume that the fuzzy inference system under consideration has two inputs x and y and one output z, for example. For the rst-order Sugeno fuzzy model a common rule set with two fuzzy ifthen rules is the following Rules 1 and 2, Eq. (7): Rule1 : If x is A1 and y is B1 ; then f 1 p1 x q1 y r 1 ; Rule2 : If x is A2 and y is B2 ; then f 2 p2 x q2 y r 2 :

This way an adaptive network that is functionally equivalent to a rst-order Sugeno fuzzy model is constructed. From the ANFIS architecture shown in Fig. 9(b), it can be seen that when the values of the premise parameters (layer 1) are xed, the overall output can be expressed as a linear combination of the consequent parameters (layer 4). Learning algorithms of ANFIS: The learning algorithms are composed of two phases:
*

In the forward pass of the hybrid learning algorithm, node outputs values go forward until layer 4 and the consequent parameters are identied by the least squares method. In the backward pass, the output errors are propagated backward and the premise parameters are updated by gradient descent method.

Fig. 9(a) illustrates the reasoning mechanism for this Sugeno Model and the corresponding equivalent ANFIS architecture is shown in Fig. 9(b), where nodes of the same layer have similar functions. The output f in Fig. 9(b), can be written as w1 w2 f f1 f2 w1 w2 w1 w2 w1 p1 x q1 r1 w2 p2 x q2 r2 w1 xp1 w1 yq1 w1 r1 w2 xp2 w2 yq2 w2 r2 : 8

3.3. FNN and ANFIS structures for identication For the FNN structure, as there is no rule to determine the ideal number of neurons in the hidden layer, a wide range of values were tested to search for the best solution for rst- and second-order system models. For rst-order approach models, the best solutions were obtained using three neurons for the direct model and four for the inverse model (hidden layer). For secondorder approach models, the best solutions were obtained

ARTICLE IN PRESS
270 J. Vieira et al. / Engineering Applications of Articial Intelligence 17 (2004) 265273 Table 2 MSE of direct models MSE Direct Direct Direct Direct model model model model with with with with FNN1 FNN2 ANFIS1 ANFIS2 Train 0.233 5.3e-2 0.195 1.3e-3 Test 0.266 5.4e-2 0.194 2.2e-3

using three neurons for the direct model and six for the inverse model (hidden layer). The models have one output neuron with linear activation function. In the ANFIS structure, the standard ANFIS structure was used to obtain the direct and the inverse models. For rst-order approach models, the structure contains four rules, two inputs with two membership functions each (bell shaped with three non-linear parameters each). For second-order approach models, the structure contains 16 rules with two membership functions each (bell shaped with three non-linear parameters each). All the models have one output that is a linear function of the consequent parameters. Using the data collected and divided into training and test sets, direct and inverse models were identied using the latest structures parameters denition. The identication procedures were performed using Matlab Fuzzy Logic Toolbox (Mathworks, 1996) tools for ANFIS models and the NNSYSID (N^rgaard, 1996b) and NNCTRL (N^rgaard, 1996c) toolboxes for Matlab for FFN models (N^rgaard, 1996a). Training was performed off-line for both solutions. In the FNN and ANFIS model approaches, removing the mean and dividing by their standard deviation, the train and test data sets were normalized. 3.4. Comparison of the FNN and ANFIS models Fig. 10 shows the training (rst 3 of the points) and 4 testing sets (last 1 of the points) used to create the 4 models (y(k)-temperature and u(k)-control signal). The number of training epochs corresponds roughly to stopping the training when the minimum of the test data error was achieved. To compare the precision of the models, the mean square error (MSE) criterion was used in train and test sets. The results are shown in Tables 2 and 3 (direct and inverse models, respectively). Filtering train/test data contributes for achieving very small values of the train and test errors and for the convergence of the gradient decent learning methods used.
800 700 Temp.(C) 600 500 400 300 0 1.5 Control Signal (V) 1 0.5 0 -0.5 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 5500 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 5500

Table 3 MSE of inverse models MSE Inverse Inverse Inverse Inverse model model model model with with with with FNN1 FNN2 ANFIS1 ANFIS2 Train 5.8e-3 1.5e-3 2.1e-3 3.3e-5 Test 5.1e-3 1.2e-3 2.2e-3 5.6e-5

(FNN1FNN models for rst-order approach, FNN2FNN models for second-order approach, ANFIS1ANFIS models for rst-order approach, ANFIS2ANFIS models for second-order approach).

Table 4 Complexity comparison of the direct models Complexity comparison No. of parameters No. of training epochs Training time (s) FNN 1 13 80 27 FNN 2 19 150 85 ANFIS 1 24 30 12 ANFIS 2 104 50 531

Table 5 Complexity comparison of the inverse models Complexity comparison No. of parameters No. of training epochs Training time (s) FNN 1 17 15 8 FNN 2 37 50 89 ANFIS 1 24 1 1 ANFIS 2 104 50 531

Time (samples)

Time (samples)

Fig. 10. Training and test data sets.

As can be seen, in the second-order approach the errors are smaller than the ones in the rst-order approach. In general the ANFIS structure achieved smaller MSE when compared with the same order approach using FNN. The obtained models can also be compared in terms of complexity by measuring the number of parameters, number of training epochs and the training time. The results are summarized in Tables 4 and 5 for direct and inverse models, respectively. From Tables 4 and 5, it can be seen that for rst-order approach, the number of parameters is smaller and the training time is higher in FNN than in ANFIS. For second-order approach, the number of parameters and the training time are smaller in FNN than in ANFIS, because it was used the standard ANFIS structure (number of rules=2number of inputs).

ARTICLE IN PRESS
J. Vieira et al. / Engineering Applications of Articial Intelligence 17 (2004) 265273 271

4. Control structure To test the obtained models for both approaches and both architectures, the IMC structure was used. IMC consists of connecting in series with the plant the inverse model and in parallel with the plant the direct model. The difference between the output of the model and the output of the plant will generate an error ef(k) that will be feedback (Pradeep et al., 1988; Dias Fernando and Mota Alexandre, 2001a) and subtracted to the reference input signal r(k+h). Direct model implements Eqs. (1) and (2) and inverse model implements Eqs. (3) and (4). In this two last equations the y(k+h) is substituted by r(k+h) that is the desired temperature signal h iterations ahead. If r(k+h) is not available it can be used r(k) but the output y will delayed of h samples. This solution can be seen in Fig. 11.
r(C)

800 600 400 200 0 1.5 1 0.5 0 5 0 -5 0 1.5


1 0.5 0

50

100

150

200

250

300

u(1st)(V)

50

100

150

200

250

300

e (1st) (C)

50

100

150

200

250

300

u (2nd) (V)

e (2st) (C)

5 0 -5

50

100

150

200

250

300

50

100

150

200

250

300

Time (samples)
Fig. 12. IMC using FNN models for second-order approach.

5. The real-time control action


800

The controllers were directly tested in the kiln, when the simulation results were considered satisfactory. Figs. 12 and 13 show the results of FNN and ANFIS internal model controllers for the rst- and second-order approach (reference signal (r(k+h), control signal u(k) and error signal e(k) from rst-order approach and nally the same signals for the second-order approach). A PID controller is also presented as a reference controller for the comparison of the control results. The PID was optimized using a genetic algorithm search procedure (Dias Fernando and Mota Alexandre 2001b) for a reference equal to the illustrated in Fig. 14 in order to obtain a better performance. The parameters of the PID controller are: Td=6, Kp=65, Ki=10 Ti=2 and the PID control results are illustrated in Fig. 14. Comparing solutions always involves the minimization of some kind of metric measure function. In this particular case the measure used was the MSE function. The MSE of the four IMC controllers for rst and second-order approaches and for the PID controller are presented in Table 6 after initial stabilization (from 50 to 300 samples). These rst 50 samples are not used in the cost function, because the data logger limits the measured temperature to values superior to 300 C

u(1st)(V)

600 400 200 0 1.5 1 0.5 0 5 0 -5 1.5 1 0.5 0 5 0 -5 0 0

r(C)

50

100

150

200

250

300

50

100

150

200

250

300

e (1st) (C)

50

100

150

200

250

300

u (2nd) (V)

50

100

150

200

250

300

e (2st) (C)

50

100

150

200

250

300

Time (samples)
Fig. 13. IMC using ANFIS models for second-order approach.

800 r and y (C) 600 400 200 5 0 50 100 150 200 250 300

e = r-y (C)

0 -5 1.5

r(k+h) + -

Delay Delay

Inverse Model

y(k) Plant u(k) + Direct Model ypred(k) ef(k)

50

100

150

200

250

300

Delay Delay

u (V)

1 0.5 0 0 20 40 60 80 100 120 140 160 180 200

Time (samples)
Fig. 11. Generic structure for IMC. Fig. 14. PID control results.

ARTICLE IN PRESS
272 J. Vieira et al. / Engineering Applications of Articial Intelligence 17 (2004) 265273 Table 6 Comparison between the four controllers Controller PID Control IMC using FNN1 models IMC using FNN2 models IMC using ANFIS1 models IMC using ANFIS2 models MSE 0.505 0.321 0.178 0.186 0.116

of second-order models is justied by the results obtained while for the ANFIS solution a rst-order approach would be enough. Both solutions are valid options for the modelling of real systems under measurement noise.

References
Bloch, G., Sirou, F., Eustache, V., Fatrez, P., 1997. Neural intelligent control for a Stell Plant. IEEE Transactions on Neural Networks 8 (4), 910918. Cybenko, G., 1989. Approximation by superposition of a sigmoidal function. Mathematics of Control, Signals and Systems 2, 492499. Dias Fernando, M., Mota Alexandre, M., 2001a. Comparison between different control strategies using neural networks. 9th Mediterranean Conference on Control and Automation, Dubrovnik, Croatia. Dias Fernando, M., Mota Alexandre, M., 2001b. A comparison between a PID and internal model control using neural networks. 5th World Multi-Conference on Systemics, Cybernetics and Informatics, Vol. 5, Orlando, EUA, pp. 268273. Fink, A., Nelles, O., Fischer, M., Isermann, R., 2001. Nonlinear adaptive control of a heat exchanger. International Journal of Adaptive Control and Sig.1 Proc. 15 (8), 883906. Fuzzy Logic Toolbox for Matlab, Mathworks, 1996. Technical Report. Hunt, K.J., Sbarbaro, D., 1991. Neural networks for linear internal model control. IEEE Proceedings-D, Control Theory and Applications 138 (5), 431438. Jang J.S.R., 1992. Neuro-fuzzy modeling: architecture, analyses and applications. Ph.D. Thesis, Department of Electrical Engineering and Computer Science, University of California, Berkeley, USA. Jang, J.S.R., 1993. Ans: adaptive-network-based fuzzy inference systems. IEEE Transactions on System, Man, and Cybernetics 23 (3), 665685. Kovacevic, R., Zhang, Y.M., 1997. Neurofuzzy model-based weld fusion state estimation. IEEE Control Systems Magazine 17 (2), 3042. Lightbody, G., Irwin, G.W., 1997. Nonlinear control structures based on embedded neural system models. IEEE Transactions on Neural Networks 8 (3), 553567. Minsky, M., Papert, S., 1969. Perceptrons. MIT Press, Cambridge, MA. Nauck, D., Klawonn, F., Kruse, R., 1997. Foundations of NeuroFuzzy Systems. Wiley, New York. . Ngia, L., Sjoberg, J., 2000. Efcient training of neural nets for nonlinear adaptive ltering using a recursive LevenbergMarquardt algorithm. IEEE Transactions in Signal Processing 48 (7), 19151927. N^rgaard, M., 1996a. System identication and control with neural networks. Ph.D. Thesis, Department of Automation, Technical University of Denmark. N^rgaard, M., 1996b. Neural network system identication toolbox for MATLAB. Technical Report. N^rgaard, M., 1996c. Neural network control toolbox for MATLAB. Technical Report. Pradeep, B., Ash, D.R.H., 1988. Computer Process Control w/ Advanced Control Applications, second ed. revised and enlarged. Instrument Society of America. S^rensen, O., 1994. Neural networks in control applications. Ph.D. Thesis, Department of Control Engineering, Institute of Electronic Systems, Aalborg University, Denmark.

(due to the characteristics of the thermocouple). Therefore, to control the temperature of the kiln, a noncontrolled pre-heating phase is needed to put the kiln at 300 C. The control testes do not start from steady state 300 C, but from a ramp growing temperature that reach 300 C with a velocity of about 7 C for sample. This pre-heating phase will affect the rst controlled samples of the heating process, especially in the secondorder approaches. As can be seen from the Figures, after initial stabilization, the second-order approach achieves better results. As can be seen from Table 6 the results of rst-order ANFIS and second-order FNN are similar but the ones achieved by ANFIS for second-order are better than the ones achieved by FNN.

6. Conclusions In the modelling of this kiln, the train/test errors achieved are similar in ANFIS and in FNN structure. The most signicant difference can be found in the rstorder approach, since the errors achieved are smaller in ANFIS than in FNN structure. The number of parameters and time training of the models are bigger in general in ANFIS than in FNN structure. This could be caused because the standard ANFIS structure was used, which is not very exible. It could be interesting to test other structures like zero-order Sugeno type and cluster data before training to get simpler structures. In spite of the more oscillate control signal in both second-order solutions, the IMC results show that the second-order approach gets better MSE results. The rst-order approach controllers take longer to achieve a zero stationary error, because the models are not so good. The second-order approach controllers give better results, because they can hold more information, learning all the characteristics of the kiln, so for these models the direct models and the kiln are almost equal. From the results of Table 6 the controllers with ANFIS models gives smaller errors than the equivalent ones with FNN models. Their complexity is similar for rst-order models, but ANFIS becomes more complex for second-order models. For the FNN solution the use

ARTICLE IN PRESS
J. Vieira et al. / Engineering Applications of Articial Intelligence 17 (2004) 265273 Vieira, J., Mota, A., 2003. Smith predictor based neural fuzzy controller applied in a water gas heater that presents a large time-delay and load disturbances. Proceedings of IEEE International Conference on Control Application, Vol. 1, pp. 362367. Zhang, Y.M., Kovacevic, R., 1998. Neurofuzzy model based control of weld fusion zone geometry. IEEE Transactions on Fuzzy Systems 6 (3), 389401. Jos! A. B. Vieira received his M.S. degrees in Electronics Engineering e from the University of Aveiro Portugal in 1997. He is with the Department of Electronic and Telecommunications of the Polytechnic School of Castelo Branco and he belongs to the IEETA investigation unit in University of Aveiro. Currently, he is working in his Ph.D. studies in Electronic Control Engineering at the University of Aveiro. His research interests include Industry Non-Linear Model Identication, Fuzzy systems, Neuro Fuzzy Architectures, Model Based Smith Predictive Control, 273 Hammerstein and Wiener Modelling, Adaptive Control, On-line Identication, Varying Time Delay Systems. ! # Fernando Morgado Dias received his Diplome DEtudes Approfondies in Microelectronic from University Joseph Fourier in Grenoble, France in 1995 and currently teaches at the Escola Superior de Tecnologia de Setubal, Portugal and is preparing his Ph.D. degree at the University of Aveiro. Alexandre M. N. Mota received his Ph.D. in Automatic Control Electronics Engineering from the University of Aveiro, Portugal in 1993 and he is a teacher in Electronics Department in the University of Aveiro. Currently he is president of the Portuguese Automation Control Association and he belongs to the IEETA investigation unit. He has published more than 40 papers in the eld of automatic control, adaptive systems, neuro-network system modelling, fuzzy modelling, distributed control systems, linear and non-linear control.

S-ar putea să vă placă și