Professional Documents
Culture Documents
Neural Network Tool Box
Neural Network Tool Box
Abstract: Two MA TLAB® packages have been implemented: the Neural Network Based
System Identification toolbox (NNSYSID) and the Neural Network Based Control System
Design Toolkit (NNCTRL). The NNSYSID toolbox has been developed to assist identifi-
cation of nonlinear dynamic systems and it offers the possibility to work with a number of
different nonlinear model structures based on neural networks. The NNCTRL toolkit is an
add-on to the NNSYSID toolbox and contains tools for design and simulation of control
systems based on neural networks. This paper gives an overview of the contents of
NNSYSID and NNCTRL.
Keywords: Software tools, system identification, nonlinear models, adaptive control, non-
linear control systems, neural networks.
931
• NNARMAX2 structure . .Y(tIB) = g(<p(t),B) and rmding the minimum of the criterion (i.e., training
the network). The only type of criterion imple-
<p(t) = [y(t -1) . .. y(t - na) mented is a regularized mean square error type crite-
u(t - nb - n k + 1) rion:
e(t-l) .. . &(t-nc)f 1 N 2 I
WN(B,ZN) = -I(y(t)- .Y(tIB)) +_BT DB
2N 1=) 2N
• NNSSIF structure (state space innovations fonn).
Predictor: The matrix D is a diagonal matrix, which is usually
set to D=al. For a discussion of regularization by
x(t + 1) = g(<p(t),B) simple weight decay, see for example (Larsen and
.Y(tIB) = CCB)x(t)
Hansen, 1994) and (Sjoberg and Ljung, 1992). The
toolbox provides the following four possibilities: no
with regularization, one common weight decay coeffi-
cient, one weight decay for the input-to-hidden layer
<p(t) = [iT (t) UT (t) eT (t)f weights and one for the hidden-to-output layer
weight, and individual weight decay for all weights.
To obtain an an observable model structure, a set of
pseudo-observability indices must be specified just For multi-output systems it is possible to train
as in (Ljung, 1991). NNARX and state-space models according to the
criterion:
• NNJOL structure (Input-Output Linearization).
933
If a neural network model of the system to be con- Nonlinear Dynamic Systems. Proc. of the ACC,
trolled is available, one can linearize the model at S.F., California, pp. 2520-2523.
each sampling instant and use the linear model for Hunt, KJ., D. Sbarbaro, R. Zbikowski and P.J.
control design. This has been utilized for imple- Gawthrop (1992). Neural Networks for Control
mentation of an approximate pole placement con- Systems - A Survey. Automatica, Vol. 28, No. 6,
troller, an approximate minimum variance control- pp. 1083-1112.
ler, and an approximate generalized predictive con- van Luenen, W.T. (1993). Neural Networks for
troller (Smensen, 1994), (Nmgaard, 1996), (Nm- Control: on Knowledge Representation and
gaard et al. 1996b). Learning. Ph.D. Thesis, Control Laboratory of
Electrical Engineering, University of Twente,
Nonlinear Predictive Control: Enschede, the Netherlands.
Based on a neural network model of the system to Ljung, L (1987). System Identification - Theory for
be controlled it is possible to control a system with a the User. Prentice-Hall.
non linear predictive control scheme. To minimize Ljung, L. (1991). System Identification Toolbox
the GPC criterion at each sample, a Levenberg- User's Guide. The MathWorks, Inc.
Marquardt method and a Quasi-Newton method are Larsen, J. and L.K. Hansen (1994). Generalization
provided (Nmgaard, 1996), (Nmgaard and Smen- Performance of Regularized Neural Network
sen, 1995). Models. Proc. of the IEEE Workshop on Neural
networks for Signal, Piscataway, NJ, pp. 42-51.
9. CONCLUSIONS Nmgaard, M. (1995). Neural Network Based System
Identification Toolbox. Tech. report 95-E-773,
MA TLAB tools for system identification and control Department of Automation, DTU.
of unknown nonlinear systems with neural networks Nmgaard, M. (1996a). The NNCTRL Toolkit. Tech.
has been presented. The tools are easy to apply and report 96-E-830, Dep. of Automation, DTU.
have been developed using principles and conven- Nmgaard, M. (1996b). System Identification and
tions familiar to people coming from the conven- Control with Neural Networks. Ph.D. disserta-
tional system identification and (adaptive) control tion, Department of Automation, DTU.
community. The software has successfully been Nmgaard, M. and P.H. Smensen (1995). General-
used in a number of practical applications. ized Predictive Control of a Nonlinear System
using Neural Networks. Preprints, 1995 Interna-
ADDENDUM tional Symposium on ArtifiCial Neural Networks,
Hsinchu, Taiwan, pp. BI-33-40.
The NNSYSID toolbox and the NNCTRL toolkit are N0rgaard, M., P.H. Smensen, N.K. Poulsen, O.
both freeware and can be downloaded from the web- Ravn and L.K. Hansen (1996). Intelligent Pre-
site at The Department of Automation, DTU. The dictive Control of Nonlinear Processes Using
addresses are: Neural Networks. Proc. Of the 1996 IEEE Int.
http://www.iau.dtu.dklProjects/projlnnsysid.htrnl Symp. on Intelligent Control (ISIC) , Dearbom,
http://www.iau.dtu.dklProjects/projlnnctrl.htrnl Michigan, USA, pp. 374-379.
Salgado, M.E., G. Goodwin and R.H. Middleton
REFERENCES (1988). Modified Least Squares Algorithm In-
corporating Exponential Forgetting And Reset-
Billings, S.A., H.B. Jamaluddin and S. Chen (1992). ting. Int. J Control, Vo147, pp. 477-49l.
Properties of Neural Networks With Applica- Sjoberg J. and L. Ljung (1992). Overtraining,
tions to Modelling non-linear Dynamical Sys- Regularization, and Searching for Minimum in
tems. Int. J Control, Vol. 55, No 1, pp. 193-224. Neural Networks. Preprint IFAC Symp. on
Demuth, H. and M. Beale (1993). Neural Network Adaptive Systems in Control and Signal Proc-
Toolbox. The MathWorks, Inc. essing, Grenoble, France. pp. 669-674.
Fletcher, R. (1987). Practical Methods of Optimiza- Sjoberg, J., H. Hjaimerson and L. Ljung (1994).
tion. Wiley, 1987. Neural Networks in System Identification. Pre-
Hansen, L.K. and M. W. Pedersen (1994). Con- prints 10th IFAC symposium on SYSID, Copen-
trolled Growth of Cascade Correlation Nets. hagen, Denmark. Vo1.2, pp. 49-71.
Proc. ICANN '94, Sorrento, Italy., Eds. M . Smensen, O. (1994). Neural Networks in Control
Marinaro & P.G. Morasso, pp. 797-800. Applications. Ph.D. Thesis, Aalborg University,
Hassibi, B. and D.G. Stork (1993). Second Order Department of Control Engineering.
Derivatives for Network Pruning: Optimal Brain Smensen, P.H., M. Nmgaard, J. Larsen and L.K.
Surgeon. NIPS 5, Eds. SJ. Hanson et aI., 164, Hansen (1996). Cross-Validation with LULOO.
San Mateo, Morgan Kaufmann. Proc. of the 1996 Int. Con! on Neural In! Proc-
He, X. and H. Asada (1993). A New Method for essing, Hong Kong, Vol. 2, pp. 1305-1310.
Identifying Orders of Input-Output Models for
936