( t) Identification and Control of a Nonlinear Bioreactor Plant Using Classical and Dynamical Neural Networks

Similar documents
Neural Network Identification of Non Linear Systems Using State Space Techniques.

Adaptive Inverse Control based on Linear and Nonlinear Adaptive Filtering

Adaptive Inverse Control

A STATE-SPACE NEURAL NETWORK FOR MODELING DYNAMICAL NONLINEAR SYSTEMS

Simple neuron model Components of simple neuron

Neural Network Control in a Wastewater Treatment Plant

Backpropagation Neural Net

A robust on-line learning algorithm for intelligent control systems

International Journal of Advanced Research in Computer Science and Software Engineering

inear Adaptive Inverse Control

Nonlinear System Identification Using MLP Dr.-Ing. Sudchai Boonto

Estimation of Inelastic Response Spectra Using Artificial Neural Networks

STRUCTURED NEURAL NETWORK FOR NONLINEAR DYNAMIC SYSTEMS MODELING

Artifical Neural Networks

An application of the temporal difference algorithm to the truck backer-upper problem

Reference: Ing. Massimo Sepielli ENEA FPN Via Anguillarese, Rome Italy

Online Identification And Control of A PV-Supplied DC Motor Using Universal Learning Networks

ECE Introduction to Artificial Neural Network and Fuzzy Systems

ADAPTIVE INVERSE CONTROL BASED ON NONLINEAR ADAPTIVE FILTERING. Information Systems Lab., EE Dep., Stanford University

Temporal Backpropagation for FIR Neural Networks

Artificial Neural Networks. Historical description

Harnessing Nonlinearity: Predicting Chaotic Systems and Saving

Application of Artificial Neural Networks in Evaluation and Identification of Electrical Loss in Transformers According to the Energy Consumption

NONLINEAR PLANT IDENTIFICATION BY WAVELETS

Keywords- Source coding, Huffman encoding, Artificial neural network, Multilayer perceptron, Backpropagation algorithm

Neuro-Fuzzy Comp. Ch. 4 March 24, R p

ANN Control of Non-Linear and Unstable System and its Implementation on Inverted Pendulum

(Feed-Forward) Neural Networks Dr. Hajira Jabeen, Prof. Jens Lehmann

COGS Q250 Fall Homework 7: Learning in Neural Networks Due: 9:00am, Friday 2nd November.

Predictive Control of a Single Link Flexible Joint Robot Based on Neural Network and Feedback Linearization

Reinforcement Learning, Neural Networks and PI Control Applied to a Heating Coil

Artificial Neural Networks Francesco DI MAIO, Ph.D., Politecnico di Milano Department of Energy - Nuclear Division IEEE - Italian Reliability Chapter

Data Mining Part 5. Prediction

A NEURO-FUZZY MODEL FOR NONLINEAR PLANTS IDENTIFICATION

Rprop Using the Natural Gradient

Using Neural Networks for Identification and Control of Systems

4. Multilayer Perceptrons

A Novel 2-D Model Approach for the Prediction of Hourly Solar Radiation

PROPORTIONAL-Integral-Derivative (PID) controllers

Chapter 3 Supervised learning:

A recursive algorithm based on the extended Kalman filter for the training of feedforward neural models. Isabelle Rivals and Léon Personnaz

Modeling and Compensation for Capacitive Pressure Sensor by RBF Neural Networks

Identification of Non-Linear Systems, Based on Neural Networks, with Applications at Fuzzy Systems

1. Introduction. 2. Artificial Neural Networks and Fuzzy Time Series

Computational Intelligence Winter Term 2017/18

EPL442: Computational

Neural Networks Introduction

Relating Real-Time Backpropagation and. Backpropagation-Through-Time: An Application of Flow Graph. Interreciprocity.

Introduction to Neural Networks

Neural Controller. Plant. Plant. Critic. evaluation signal. Reinforcement Learning Controller

Computational Intelligence

Artificial Neural Networks

ADAPTIVE NEURO-FUZZY INFERENCE SYSTEMS

Cascade Neural Networks with Node-Decoupled Extended Kalman Filtering

Using NEAT to Stabilize an Inverted Pendulum

Computational statistics

Identification of two-mass system parameters using neural networks

Convergence of Hybrid Algorithm with Adaptive Learning Parameter for Multilayer Neural Network

Deep Feedforward Networks

NEURAL NETWORKS BASED SYSTEM IDENTIFICATION TECHNIQUES FOR MODEL BASED FAULT DETECTION OF NONLINEAR SYSTEMS. Afef Fekih

Autonomous learning algorithm for fully connected recurrent networks

8. Lecture Neural Networks

4.0 Update Algorithms For Linear Closed-Loop Systems

Artificial Neural Network and Fuzzy Logic

An ANN based Rotor Flux Estimator for Vector Controlled Induction Motor Drive

ECLT 5810 Classification Neural Networks. Reference: Data Mining: Concepts and Techniques By J. Hand, M. Kamber, and J. Pei, Morgan Kaufmann

Artificial Neural Networks

2015 Todd Neller. A.I.M.A. text figures 1995 Prentice Hall. Used by permission. Neural Networks. Todd W. Neller

Recurrent neural networks with trainable amplitude of activation functions

Intelligent Modular Neural Network for Dynamic System Parameter Estimation

Modular Deep Recurrent Neural Network: Application to Quadrotors

Simulating Neural Networks. Lawrence Ward P465A

Fall 線性系統 Linear Systems. Chapter 08 State Feedback & State Estimators (SISO) Feng-Li Lian. NTU-EE Sep07 Jan08

NONLINEAR BLACK BOX MODELING OF A LEAD ACID BATTERY USING HAMMERSTEIN-WIENER MODEL

Lecture 7 Artificial neural networks: Supervised learning

CSTR CONTROL USING MULTIPLE MODELS

Application of Neural Networks for Control of Inverted Pendulum

Adaptive Control of a Class of Nonlinear Systems with Nonlinearly Parameterized Fuzzy Approximators

Identification and Control of Nonlinear Systems using Soft Computing Techniques

Selected method of artificial intelligence in modelling safe movement of ships

Supervised (BPL) verses Hybrid (RBF) Learning. By: Shahed Shahir

CHAPTER 4 FUZZY AND NEURAL NETWORK FOR SR MOTOR

Gaussian Process for Internal Model Control

THE POSSIBILITY of achieving high-performance goals

C1.2 Multilayer perceptrons

From CDF to PDF A Density Estimation Method for High Dimensional Data

Design Collocation Neural Network to Solve Singular Perturbed Problems with Initial Conditions

Introduction Biologically Motivated Crude Model Backpropagation

Protein Structure Prediction Using Multiple Artificial Neural Network Classifier *

ESTIMATION OF HOURLY MEAN AMBIENT TEMPERATURES WITH ARTIFICIAL NEURAL NETWORKS 1. INTRODUCTION

EEE 241: Linear Systems

Processing of Time Series by Neural Circuits with Biologically Realistic Synaptic Dynamics

Synchronous Generator Model Identification and Parameter Estimation From Operating Data

Fault Detection and Diagnosis for a Three-tank system using Structured Residual Approach

CSE 352 (AI) LECTURE NOTES Professor Anita Wasilewska. NEURAL NETWORKS Learning

Short Term Memory and Pattern Matching with Simple Echo State Networks

Lecture 5: Recurrent Neural Networks

A FUZZY NEURAL NETWORK MODEL FOR FORECASTING STOCK PRICE

Learning Deep Architectures for AI. Part I - Vijay Chakilam

Methods for Supervised Learning of Tasks

Transcription:

Identification and Control of a Nonlinear Bioreactor Plant Using Classical and Dynamical Neural Networks Mehmet Önder Efe Electrical and Electronics Engineering Boðaziçi University, Bebek 80815, Istanbul, Turkey e-mail : efemond@boun.edu.tr Abstract - In this study, the identification and control of a Bioreactor Plant using neural networks is considered with three different control strategies, namely, Inverse Control Strategy, Self-Learning Control and Dynamical Neural Units for control of nonlinear dynamical systems. The performance of these methods are compared using several comparison measures. 1. INTRODUCTION In modeling of real life systems we meet challenging difficulties in the form of nonlinearity, time delay, saturation and time varying parameters of the actual plant. Alleviating these kinds of challenging difficulties with a mathematically tractable model is a formidable problem. Artificial neural networks can identify a system by the use of training data which is obtained from the system inputs and outputs. In this paper, we elaborate the identification and control of a bioreactor plant whose governing equations are coupled and nonlinear. The bioreactor is a challenging problem for neural network controllers for several reasons. Although the task involves few variables and is easily simulated, its nonlinearity makes it difficult to control. For example, small changes in the values of parameters can cause the bioreactor to become unstable. Significant delays exist between changes in flow rate and the response in cell concentration. Nonlinearities in the dynamics of the bioreactor present a challenge to networks for learning nonlinear models. Additionally, uncontrolled equations exhibit limit cycles. Using neural networks that learn to compensate for deficiencies in the performance of the conventional controllers can alleviate some of these problems [1]. 2. PLANT MODEL The bioreactor is a tank containing water, nutrients, and biological cells as shown in Fig. 2.1. Nutrients and cells are introduced into the tank where the cells mix with nutrients. The state of this process is characterized by the number of cells c 1 (t) and the amount of nutrients c 2 (t). The volume in the tank is maintained at a constant level by removing tank contents at a rate equal to the incoming rate which is denoted by r(t). This rate is called the flow rate and is the variable by which the bioreactor is controlled. The bioreactor control problem is to keep the amount of cells at a desired level. In the simulation studies presented in this paper, the state variables can take values between zero and one, the flow rate can take values between zero and two. In [1], the stable state of the process is defined to be c 1 = 0.1207, c 2 = 0.8801, and r = 0.7500; the initialization of the state variables and the flow rate is made by considering these values such that the initial value of any state variable is within plus or minus Okyay Kaynak, UNESCO Chair On Mechatronics Boðaziçi University, 80815, Bebek, Istanbul, Turkey e-mail : kaynak@boun.edu.tr ten percent of its stable value. Moreover, initial values exhibit uniform distribution over their interval and are chosen randomly. Continuous-time equations of the plant dynamics are given by; c2( t) c t e γ &. 1 = - c 1(t)r(t) + c 1(t) 1- c 2(t) c2 ( t) 1 c& 2( t) = - c (t)r(t) + c (t)( 1- c (t)) e γ + β 2 1 2 1+ β - c 2 (t) (2) where β = 0.02 growth rate parameter, γ = 0.48 nutrient inhibition parameter. Controller inputs are the state variables. In our simulations, Eqns. (1) and (2) are discretized by the use of first order approximation with a sampling interval of = 0.01 sec. The control interval is taken as 50. The output of the controller is the flow rate r(t). The objective is to achieve and maintain a desired cell amount, by altering the flow rate. 3. SYSTEM IDENTIFICATION USING NEURAL NETWORKS The system that is to be identified can be represented by a transformation operator T p, which maps the compact subset U R n to Y R m. The purpose is to find a class T i such that T p is represented by T i adequately well. The operator T p is defined by specific input-output pairs that are obtained from the inputs and the outputs of the system to be identified. The objective is expressed in Eqn. (3), for some desired ε>0. T i (u) denotes the identification model output. In Fig. 3.1, system identification structure is illustrated. The most important aspect of a neural network based identification scheme is the determination of an adaptive algorithm that minimizes the difference between the actual plant and the outputs of the identified model by using a set of training pairs which represent the approximate behavior of the actual plant. 4. INVERSE CONTROL STRATEGY (ICS) In this approach, the neural controller directly interpolates the inverse dynamics of the plant by using the training data obtained from the plant itself. Assume that the governing equation of the plant is given by Eqn. (4), (1) T i( u) Tp ( u) ε, u U (3) x( k +1 ) = F [x(k),u(k)] (4) u( k) = G[x(k + 1),x(k)] (5)

where x R m and u R n. The plant performs a nonlinear mapping from R m+n to R m. Our objective is to solve the plant equation for the input vector. If a controller realizes the nonlinear mapping G, then it is able to control the plant. From a systems theoretical point of view, the controller realizes the inverse dynamics of the plant. Given the state values and the desired next state, it generates the input which will cause the desired state transition. As long as the states are observable, we can generate the training data for the neural controller so that it realizes the mapping G which is from R 2m to R n. The control system architecture for this control strategy is shown in Fig.4.1 and the corresponding simulation results are given in Fig.4.2. 5. SELF-LEARNING CONTROL (SLC) In this section, the self-learning control scheme which was originally proposed by Nguyen and Widrow [3] is elaborated upon. The method differs from the other methods in that this scheme is goal directed. The controller is trained to keep the plant output at a desired and previously defined level. The approach utilizes the well-known backpropagation method in the training of the controller. The first step of the control procedure is obtaining the neural identification model of the plant. In Fig. 5.1, identification model is represented by E (Emulator) boxes. This architecture implies that after K time steps, plant output could be pulled from its initial state y 0 to the desired state y d. K is determined by the designer and represents the length of the chain-like architecture. The objective of the strategy is minimization of the cost function defined by Eqn. (6). 2 J = E ( y d - y K ) (6) The minimization of Eqn. (6) is carried out through evaluating the output error at the Kth step and propagating it back through the structure illustrated in Fig. 5.1. Utilizing the plant identification model makes the training process easy. An important point in the weight updating is the succession that appears in the controller training structure. In fact, the weight change at the Kth stage influences the (K-1)th stage. This obviously requires the saving of each individual weight change evaluated at the corresponding stage. Nguyen and Widrow [3], in their work, say that the weight changes could be applied immediately as they are evaluated because they are the accumulated effects that improve the performance of the controller and this does not affect the final performance significantly. Having trained the neural controller, it is installed to the control system as shown in Fig. 5.2. The simulation results are presented in Fig. 5.3. Identification model : 3-25-16-2 MSE : 88e-6 Controller : 2-8-4-1 MSE : 1e-6 As is stated previously, the control strategy adopted in this section is a goal directed one, the desired cell (c 1 ) and nutrient (c 2 ) concentrations being taken as 0.1000 and 0.8800 respectively. Simulation results presented indicate that the desired c 1 value is reached with a fast response, without the sharp deviation that is observed in the case of ICS (Fig. 4.2) even in the regions when the desired trajectory is constant. The SLC strategy therefore results in a better and faster performance. 6. DYNAMICAL NEURAL UNITS (DNU) FOR CONTROL OF NONLINEAR SYSTEMS In this section, a new neuron model which adopts a second order system with an output sigmoidal nonlinearity as a single neuron is studied. The model is comprised of synaptic and somatic parts and adaptation is carried out on the coefficients of this second order block (synaptic part) and the on the slope of its nonlinear activation function (somatic part). The topology of a single dynamical neural unit consists delay elements, feedforward and feedback synaptic weights and a nonlinear somatic operator. The architecture of the DNU model is illustrated in Fig 6.1. The difference equation which describes the behavior of the second order dynamical structure is given in Eqn. (7) in which v 1 (k), x(k) R 1. Similarly, the pulse transfer function of this part can be given by Eqn. (8). v 1 (k) = - b 1 v 1 (k-1) - b 2 v 1 (k-2) + a 0 x(k) + a 1 x(k-1) + a 2 x(k-2) (7) T(z) = a 0 + a 1 z -1 + a 2 z -2 (8) 1 + b1z -1 + b2z -2 The output of the DNU can be evaluated as follows; v( k) = gsv 1 (k) (9) u( k) = Ψ v(k) = tanh gsv 1(k) (10) The objective is based on the minimization of the instantaneous error evaluated at the output of the system. The cost function which is to be minimized is defined by Eqn. (12) in which E denotes the expectation operator. If w denotes the parameters of a single DNU, the update rule can be given by; w k+ 1 = w J k µ w J = 1 2 E e 2 (k) (11) (12) e( k) = y d (k) u(k) (13) More compactly, the parameter update rule is given by Eqns (14) through (16) where i = 0,1,2 and j = 1,2 ; 2 gs a i ( k + 1) = µ a E e( k) g s 2 (k) sech 2 [ v 1 ( k)] x(k i) (14) i b j ( k + 1) = µ b E e( k) g s 2 (k) sech 2 [ v 1 ( k)] v 1 (k j) (15) j g s( k +1) = g s( k) µ E e( k) sech [ v1( k)] v1( k) (16) In the parameter update equations, the coefficients µ ai, µ bj and µ gs, denote the step size for the corresponding parameter and are chosen to be constant throughout a simulation. In Fig. 6.2, DNU layer includes the desired number of individual DNU blocks whose inputs are connected together and whose outputs are added to form the control u(k). Depending on the magnitude of the output

error, the algorithm updates the feedforward and feedback weights and the gain of the nonlinear activation functions of each dynamical neural unit in the DNU layer. The derivation of the algorithm is given in [4] in detail. In our simulations, we applied the input r(t) = 0.1 + 0.05sin(2πt/50) as the reference input. The performance of the DNU based control strategy is given in Fig. 6.3. 7. CONCLUSIONS Based on the extensive simulation results carried out within the course of this study, the performance of each approach with respect to several comparison metrics can be tabulated as given in Table 1. It is seen that DNU has the most desirable characteristics. TABLE 1 COMPARISON OF CONTROL STRATEGIES ICS SLC DNU Tracking performance LOW HIGH HIGH Applicability to different plants LOW HIGH HIGH Robustness under perturbations LOW HIGH HIGH Mathematical tractability for NO NO YES stability analysis Noise reduction - - HIGH Capability of fault tolerance - MID HIGH 8.REFERENCES [1]. Ungar, L. H., "A Bioreactor Benchmark for Adaptive-Network Based Process Control," in W. T. Miller, R. S. Sutton, P. J. Werbos, Neural Networks for Control, MIT Press, 1991 [2]. Narendra, K. S., Parthasarathy, K., "Identification and Control of Dynamical Systems Using Neural Networks," IEEE Transactions on Neural Networks, vol. 1, no. 1, pp. 4-27, March 1990. [3]. Nguyen, D. H., Widrow, B., "Neural Networks for Self-Learning Control Systems," IEEE Control Systems Magazine, pp. 18-23, April 1990. [4]. Gupta, M. M., Rao, D. H., "Dynamical Neural Units with Applications to the Control of Unknown Nonlinear Systems," Journal of Intelligent and Fuzzy Systems, vol.1, no.1, pp. 73-92, 1993. [5]. Hagan, M. T., Menhaj, M. B., "Training Feedforward Networks with the Marquardt Algorithm," IEEE Transactions on Neural Networks, vol. 5, no. 6, pp. 989-993, November 1994. [6]. Efe, Mehmet Önder, Identification and Control of Nonlinear Dynamical Systems Using Neural Networks, M.S. Thesis, Boðaziçi University, 1996 Fig. 4.1 Control System Architecture Fig. 2.1 The bioreactor is a tank of a liquid mixture of cells and nutrients. Fig. 3.1 System Identification Structure Fig. 4.2 (a) Command signal (b) Actual c 1 trajectory

Fig. 5.1 Controller training architecture for the self-learning control scheme Fig. 5.3(b) The time evolution of nutrient concentration (c 2 ). The desired level is defined to be 0.8800 Fig. 5.2 Control system structure with neural controller Fig. 5.3(c) The control signal (flow rate) that is applied to the bioreactor Fig. 5.3(a) The time evolution of cell concentration (c 1 ). The desired level is defined to be 0.1000 Fig. 6.1 Structure of a single dynamical neural unit

Fig. 6.2 Control system architecture with DNU based controller network Fig. 6.3(c) c 2 (t) Output of the bioreactor plant Fig. 6.3(a) c 1 (t) output of the bioreactor Fig. 6.3(d) Control signal applied to the bioreactor Fig. 6.3(b) Tracking error in c 1 (t)