- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

Journal of Control Science and Engineering

Volume 2012 (2012), Article ID 545731, 9 pages

http://dx.doi.org/10.1155/2012/545731

## An Output-Recurrent-Neural-Network-Based Iterative Learning Control for Unknown Nonlinear Dynamic Plants

Department of Electronic Engineering, Huafan University, Shihding, New Taipei City 223, Taiwan

Received 31 July 2011; Revised 9 November 2011; Accepted 1 December 2011

Academic Editor: Isaac Chairez

Copyright © 2012 Ying-Chung Wang and Chiang-Ju Chien. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

We present a design method for iterative learning control system by using an output recurrent neural network (ORNN). Two ORNNs are employed to design the learning control structure. The first ORNN, which is called the output recurrent neural controller (ORNC), is used as an iterative learning controller to achieve the learning control objective. To guarantee the convergence of learning error, some information of plant sensitivity is required to design a suitable adaptive law for the ORNC. Hence, a second ORNN, which is called the output recurrent neural identifier (ORNI), is used as an identifier to provide the required information. All the weights of ORNC and ORNI will be tuned during the control iteration and identification process, respectively, in order to achieve a desired learning performance. The adaptive laws for the weights of ORNC and ORNI and the analysis of learning performances are determined via a Lyapunov like analysis. It is shown that the identification error will asymptotically converge to zero and repetitive output tracking error will asymptotically converge to zero except the initial resetting error.

#### 1. Introduction

Iterative learning control (ILC) system has become one of the most effective control strategies in dealing with repeated tracking control of nonlinear plants. The ILC system improves the control performance by a self-tuning process in the traditional PID-type ILC algorithms for linear plants or affine nonlinear plants with nonlinearities satisfying global Lipschitz continuous condition [1–3]. Recently, the ILC strategies combined with other control methodologies such as observer-based iterative learning control [4], adaptive iterative learning control [5], robust iterative learning control [6], or adaptive robust iterative learning control [7], have been widely studied in order to extend the applications to more general class of nonlinear systems. However, more and more restrictions are required in theory to develop these learning controllers. Among these ILC algorithms, PID-type ILC algorithms are still attractive to engineers since they are simple and effective for real implementations and industry applications. A main problem of the PID-type ILC algorithms is that a sufficient condition required to guarantee learning stability and convergence will depend on plant’s input/output coupling function (matrix). In general, it is hard to design the learning gain if the nonlinear dynamic plant is highly nonlinear and unknown. In order to get the input/output coupling function (matrix), the ILC using a neural or fuzzy system to solve the learning gain implementation problem can be found in [8, 9]. A neural network or a fuzzy system was used to approximate the inverse of plant’s input/output coupling function (matrix). The inverse function (matrix) is claimed to be an optimal choice of the learning gain from a convergent condition point of view. As the nonlinear system is assumed to be unknown, some offline adaptive mechanisms are applied to update the network parameters in order to approximate the ideal optimal learning gain.

Actually, for control of unknown nonlinear systems, neural-network-based controller has become an important strategy in the past two decades. Multilayer neural networks, recurrent neural networks and dynamic neural network [10–16] were used for the design of adaptive controllers. On the other hand, fuzzy logic system, fuzzy neural network, recurrent fuzzy neural networks and dynamic fuzzy neural network were also a popular tool for the design of adaptive controllers [17–22]. These concepts have also been applied to the design of adaptive iterative learning control of nonlinear plants [23–25]. However, few ILC works were developed for general unknown nonlinear plants, especially nonaffine nonlinear plants. As the authors can understand, a real-time recurrent network (RTRN) was developed in [26] for real-time learning control of general unknown nonlinear plants. But unfortunately, their learning algorithm depends on the generalized inverse of weight matrix in the RTRN. If the generalized inverse of weight matrix does not exist, the learning control scheme is not implementable.

In this paper, we consider the design of an iterative learning controller for a class of unknown nonlinear dynamic plants. Motivated by our previous work in [27], an improved version of an identifier-based iterative learning controller is proposed by using an output recurrent neural network (ORNN). Two ORNNs are used to design an ORNN-based iterative learning control system. The proposed ORNN-based ILC system includes an ORNN controller (ORNC) and an ORNN identifier (ORNI). The ORNC is used as an iterative learning controller to achieve the repetitive tracking control objective. The weights of ORNC are tuned via adaptive laws determined by a Lyapunov-like analysis. In order to realize the adaptive laws and guarantee the convergence of learning error, some information of the unknown plant sensitivity is required for the design of adaptive laws. Hence, the ORNI is then applied as an identifier to provide the required information from plant sensitivity. In a similar way, the weights of ORNI are tuned via some adaptive laws determined by a Lyapunov-like analysis. Both of the proposed ORNC and ORNI update their network weights along the control iteration and identification process, respectively. This ORNN-based ILC system can be used to execute a repetitive control task of a general nonlinear plant. It is shown that the identification error will asymptotically converge to zero and repetitive output tracking error will asymptotically converge to zero except the initial resetting error.

This paper is organized as follows. The structure of ORNN is introduced in Section 2. In Section 3, we present the design of ORNC and ORNI for the ORNN-based ILC system. The adaptation laws are derived and the learning performance is guaranteed based on a Lyapunov-like analysis. To illustrate the effectiveness of the proposed ILC system, a numerical example is used in Section 4 for computer simulation. Finally a conclusion is made in Section 5.

In the subsequent discussions, the following notations will be used in all the sections.(i) denotes the absolute value of a function .(ii) denotes the usual Euclidean norm of a vector .(iii) denotes the norm of a matrix .

#### 2. The Output Recurrent Neural Network

In this paper, two ORNNs are used to design an iterative learning control system. The structure of the ORNN is shown in Figure 1, which comprises an input layer, a hidden layer, and an output layer.

Let denotes the dimension of input vector of nonlinear function and denotes the number of neurons in the hidden layer, the ORNN which performs as an approximator of the nonlinear function is now described in a matrix form as follows: where and are output-hidden wight matrix and hidden-input weight matrix, respectively, is the external input vector, is the augmented neural input vector, and denotes the delay of ORNN output . The activation function vector is defined as where with being the th column vector, and , is a sigmoid function.

#### 3. Design of Output-Recurrent-Neural-Network-Based Iterative Learning Control System

In this paper, we consider an unknown nonlinear dynamic plant which can perform a given task repeatedly over a finite time sequence as follows: where denotes the index of control iteration number and denotes the time index. The signals and are the system output and input, respectively. is the unknown continuous function, represents the respective output delay order. Given a specified desired trajectory , , the control objective is to design an output-recurrent-neural-network-based iterative learning control system such that when control iteration number is large enough, will converge to some small positive error tolerance bounds for all even if there exists an initial resetting error. Here the initial resetting error means that for all . To achieve the control objective, an iterative learning control system based on ORNN design is proposed in Figure 2. In this figure, denotes the delay in time domain and denotes the memory in control iteration domain.

Before we state the design steps of the proposed control structure, some assumptions on the unknown nonlinear system and desired trajectories are given as follows.(A1) The nonlinear dynamic plant is a relaxed system whose input and output are related by for all .(A2) There exists a bounded unknown upper bounding function such that , where the factor represents the sensitivity of the plant with respect to its input.(A3) The reference model is designed to generate the bounded desired trajectory , which is based on a specified bounded reference input with being a continuous function.

The design of the ORNN-based iterative learning control system is divided into two parts.

##### 3.1. Part 1: Design of ORNC and Corresponding Adaptive Laws

Based on the assumptions on the nonlinear plant (5), we define a tracking error at th control iteration as follows: It is noted that there exist bounded constants such that the initial value of will satisfy The difference of between two successive iterations can be computed as [28] The ORNN is used to design an ORNC in order to achieve the iterative learning control objective. Let be the dimension of the external input vector and denote the number of neurons in hidden layer of the ORNC. The ORNC which performs as an iterative learning controller is described in a matrix form as follows: where and are output-hidden wight matrix and hidden-input weight matrix to be tuned via some suitable adaptive laws, respectively, and is the augmented neural input vector. For the sake of convenience, we define . Now substituting (9) into (8), we will have For simplicity, we define , , . After adding and subtracting to (10), we can find that Investigating the second term in the right hand side of (11) by using the mean-value theorem, we have where = with , has a value between and , .

Now if we substitute (12) into (11), we will have The adaptation algorithms for weights and of ORNC at (next) control iteration to guarantee the error convergence are given as follows: where is defined in assumption (A2). If we substitute adaptation laws (14) and (15) into (13), we can find that

Theorem 1. *Consider the nonlinear plant (5) which satisfies assumptions (A1)–(A3). The proposed ORNC (9) and adaptation laws (14) and (15) will ensure the asymptotic convergence of tracking error as control iteration approaches infinity.*

*Proof. *Let us choose a discrete-type Lyapunov function as
then the change of Lyapunov function is
Taking norms on (16), it yields
for iteration . This further implies that , , for all for . Using Lyapunov stability of , and (7), the tracking error will satisfy
This proves Theorem 1.

*Remark 2. *If the plant sensitivity is completely known so that and are available, then the control objective can be achieved by using the adaptation algorithms (14) and (15). However, the plant sensitivity is in general unknown or only partially known. In part 2, we will design an ORNN-based identifier (ORNI) to estimate the unknown plant sensitivity and then provide the sign function and upper bounding function of for adaptation algorithms of ORNC.

##### 3.2. Part 2: Design of ORNI and Corresponding Adaptive Laws

After each control iteration, the ORNI subsequently begins to perform identification process. The trained ORNI will then provide the approximated plant sensitivity to the ORNC to start the next control iteration. We would like to emphasize that the ORNI only identifies the nonlinear plant after each control iteration. This concept is quite different from traditional control tasks [29] and very important to the proposed ORNN-based ILC structure.

The structure of ORNN is further applied to design an ORNI to identify the nonlinear plant after the th control iteration. The identification process is stated as follows. After each trial of controlling the nonlinear system, we collect the input output data and , as the training data for the identifier. When discussing the identification, we omit the control iteration index and introduce a new identification iteration index to represent the number of identification process. That is, the notation for the training data and the ORNI output are simplified as , and , respectively. For the ORNI, let be the dimension of external input vector and denote the number of neurons in hidden layer of the ORNI. The ORNI which performs as an iterative learning identifier for nonlinear plant (5) is now described in a matrix form as follows: where and are output-hidden wight matrix and hidden-input weight matrix to be tuned via some suitable adaptive laws, respectively, and is the augmented neural input vector. For the sake of convenience, we define .

Based on the assumptions on the nonlinear plant (5), we define an identification error at th identification process as follows: The difference of between two successive identification process can be computed as Now substituting (21) into (23), we will have For simplicity, we define , , . After adding and subtracting to (24), we can find Investigating the second term in the right hand side of (25) by using the mean-value theorem, we can derive where = with , has a value between and , .

Now if we substitute (26) into (25), we will have

The adaptation algorithms for weights and of ORNI at (next) identification process are given as follows: If we substitute adaptation laws (28) into (27), we have

Theorem 3. *Consider the nonlinear dynamic plant (5) which satisfies assumptions (A1)–(A3). The proposed ORNI (21) and adaptation laws (28) will ensure that the asymptotic convergence of identification error is guaranteed as the numbers of identification approach infinity.*

*Proof. *Let us choose a discrete-type Lyapunov function as
then we can derive the change of Lyapunov function as
Taking norms on (29), we have
for iteration . This implies that , , for all for , and hence the identification error will satisfy , for all . This proves Theorem 3.

*Remark 4. *The ORNN is a promising tool for identification because it can approximate any “well-behaved” nonlinear function to any desired accuracy. This good function approximation is applied to estimate the unknown plant sensitivity in this paper. The plant sensitivity in (8) can be approximated as follows:
Note that the index in the identifier output is removed once the identification process stops. Applying the chain rule to (21), it yields
Also from (21), we have
Since the inputs to ORNI are , and , we further have
Thus,
From (34), (35) and (37), we obtain
where . If we define , and , then
The sign function and upper bounding function of plant sensitivity after finishing the identification process at th control iteration can be obtained as follows:
It is noted that we do not need the exact plant sensitivity for the design of adaptive law (14). Even though there may exist certain approximation error between and , we can still guarantee the convergence of learning error since only a upper bounding function is required. Also note that the value of ( or −1) can be easily determined from the identification result.

#### 4. Simulation Example

In this section, we use the proposed ORNN-based ILC to iteratively control an unknown non-BIBO nonlinear dynamic plant [26, 29]. The difference equation of the nonlinear dynamic plant is given as where is the system output, is the control input. The reference model is chosen as where is a bounded reference input. The control objective is to force to track the desired trajectory as close as possible over a finite time interval except the initial point. The network weight adaptation for the ORNI and ORNC is designed according to (14), (15), and (28), respectively. In the ORNC, we set and , that is, only two hidden nodes in layer 2 are used to construct the ORNC. In a similar way, we let and , that is, only two hidden nodes in layer 2 are used to set up the ORNI. For simplicity, all the initial conditions of ORNC parameters are set to be 0 at the first control iteration. In addition, the initial ORNI parameters are set to be 0 at the first identification process which begins after the first control iteration. We assume that the plant initial condition satisfies where is a generator of random number with normal distribution, mean and variance . To study the effects of learning performances, we first show the maximum value of tracking error with respect to control iteration in Figure 3(a). It is noted that is omitted in calculating the maximum value of tracking error since it is not controllable. The identification error at 10th control iteration with respect to identification process is shown in Figure 3(b). According to the simulation results, it is clear that the asymptotic convergence proved in Theorems 1 and 3 is achieved. Since a reasonable tracking performance is almost observed at the 10th control iteration, the trajectories between the desired output and plant output at the 10th control iteration are shown to demonstrate the control performance in Figure 3(c). Figure 3(d) shows the comparison between the identification result of and the plant output . The nice identification result enables the ORNI to provide the required information for the design of ORNC. Finally, the bounded control input is plotted in Figure 3(e).

#### 5. Conclusion

For controlling a repeatable nonaffine nonlinear dynamic plant, we propose an output-recurrent-neural-network-based iterative learning control system in this paper. The control structure consists of an ORNC used as an iterative learning controller and an ORNI used as an identifier. The ORNC is the main controller utilized to achieve the repetitive control task. The ORNI is an auxiliary component utilized to provide some useful information from plant sensitivity for the design of ORNC’s adaptive laws. All the network weights of ORNC and ORNI will be tuned during the control iteration and identification process so that no prior plant knowledge is required. The adaptive laws for the weights of ORNC and ORNI and the analysis of learning performances are determined via a Lyapunov-like analysis. We show that if the ORNI can provide the knowledge of plant sensitivity for ORNC, then output tracking error will asymptotically converge to zero except an initial resetting error. We also show that the objective of identification can be achieved by the ORNI if the number of identifications is large enough.

#### Acknowledgment

This work is supported by National Science Council, R.O.C., under Grant NSC99-2221-E-211-011-MY2.

#### References

- K. L. Moore and J. X. Xu, “Special issue on iterative learning control,”
*International Journal of Control*, vol. 73, no. 10, pp. 819–823, 2000. View at Publisher · View at Google Scholar · View at Scopus - D. A. Bristow, M. Tharayil, and A. G. Alleyne, “A survey of iterative learning,”
*IEEE Control Systems Magazine*, vol. 26, no. 3, pp. 96–114, 2006. View at Publisher · View at Google Scholar · View at Scopus - H. S. Ahn, Y. Q. Chen, and K. L. Moore, “Iterative learning control: brief survey and categorization,”
*IEEE Transactions on Systems, Man and Cybernetics. Part C*, vol. 37, no. 6, pp. 1099–1121, 2007. View at Publisher · View at Google Scholar · View at Scopus - J. X. Xu and J. Xu, “Observer based learning control for a class of nonlinear systems with time-varying parametric uncertainties,”
*IEEE Transactions on Automatic Control*, vol. 49, no. 2, pp. 275–281, 2004. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - I. Rotariu, M. Steinbuch, and R. Ellenbroek, “Adaptive iterative learning control for high precision motion systems,”
*IEEE Transactions on Control Systems Technology*, vol. 16, no. 5, pp. 1075–1082, 2008. View at Publisher · View at Google Scholar · View at Scopus - A. Tayebi, S. Abdul, M. B. Zaremba, and Y. Ye, “Robust iterative learning control design: application to a robot manipulator,”
*IEEE/ASME Transactions on Mechatronics*, vol. 13, no. 5, pp. 608–613, 2008. View at Publisher · View at Google Scholar · View at Scopus - J. X. Xu and B. Viswanathan, “Adaptive robust iterative learning control with dead zone scheme,”
*Automatica*, vol. 36, no. 1, pp. 91–99, 2000. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - J.Y. Choi and H. J. Park, “Neural-based iterative learning control for unknown systems,” in
*Proceedings of the 2nd Asian Control Conference*, pp. II243–II246, Seoul, Korea, 1997. - C. J. Chien, “A sampled-data iterative learning control using fuzzy network design,”
*International Journal of Control*, vol. 73, no. 10, pp. 902–913, 2000. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - J. H. Park, S. H. Huh, S. H. Kim, S. J. Seo, and G. T. Park, “Direct adaptive controller for nonaffine nonlinear systems using self-structuring neural networks,”
*IEEE Transactions on Neural Networks*, vol. 16, no. 2, pp. 414–422, 2005. View at Publisher · View at Google Scholar · View at PubMed · View at Scopus - J. S. Wang and Y. P. Chen, “A fully automated recurrent neural network for unknown dynamic system identification and control,”
*IEEE Transactions on Circuits and Systems I*, vol. 53, no. 6, pp. 1363–1372, 2006. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - C. F. Hsu, C. M. Lin, and T. T. Lee, “Wavelet adaptive backstepping control for a class of nonlinear systems,”
*IEEE Transactions on Neural Networks*, vol. 17, no. 5, pp. 1–9, 2006. View at Publisher · View at Google Scholar · View at PubMed · View at Scopus - C. M. Lin, L. Y. Chen, and C. H. Chen, “RCMAC hybrid control for MIMO uncertain nonlinear systems using sliding-mode technology,”
*IEEE Transactions on Neural Networks*, vol. 18, no. 3, pp. 708–720, 2007. View at Publisher · View at Google Scholar · View at PubMed · View at Scopus - Z. G. Hou, M. M. Gupta, P. N. Nikiforuk, M. Tan, and L. Cheng, “A recurrent neural network for hierarchical control of interconnected dynamic systems,”
*IEEE Transactions on Neural Networks*, vol. 18, no. 2, pp. 466–481, 2007. View at Publisher · View at Google Scholar · View at Scopus - Z. Liu, R. E. Torres, N. Patel, and Q. Wang, “Further development of input-to-state stabilizing control for dynamic neural network systems,”
*IEEE Transactions on Systems, Man, and Cybernetics Part A: Systems and Humans*, vol. 38, no. 6, pp. 1425–1433, 2008. View at Publisher · View at Google Scholar · View at Scopus - Z. Liu, S. C. Shih, and Q. Wang, “Global robust stabilizing control for a dynamic neural network system,”
*IEEE Transactions on Systems, Man, and Cybernetics Part A: Systems and Humans*, vol. 39, no. 2, pp. 426–436, 2009. View at Publisher · View at Google Scholar · View at Scopus - Y. G. Leu, W. Y. Wang, and T. T. Lee, “Observer-based direct adaptive fuzzy-neural control for nonaffine nonlinear systems,”
*IEEE Transactions on Neural Networks*, vol. 16, no. 4, pp. 853–861, 2005. View at Publisher · View at Google Scholar · View at PubMed · View at Scopus - S. Labiod and T. M. Guerra, “Adaptive fuzzy control of a class of SISO nonaffine nonlinear systems,”
*Fuzzy Sets and Systems*, vol. 158, no. 10, pp. 1126–1137, 2007. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - B. Chen, X. Liu, and S. Tong, “Adaptive fuzzy output tracking control of MIMO nonlinear uncertain systems,”
*IEEE Transactions on Fuzzy Systems*, vol. 15, no. 2, pp. 287–300, 2007. View at Publisher · View at Google Scholar · View at Scopus - Y. J. Liu and W. Wang, “Adaptive fuzzy control for a class of uncertain nonaffne nonlinear system,”
*Information Sciences*, vol. 177, no. 18, pp. 3901–3917, 2007. - R. J. Wai and C. M. Liu, “Design of dynamic petri recurrent fuzzy neural network and its application to path-tracking control of nonholonomic mobile robot,”
*IEEE Transactions on Industrial Electronics*, vol. 56, no. 7, pp. 2667–2683, 2009. View at Publisher · View at Google Scholar · View at Scopus - C. H. Lee, Y. C. Lee, and F. Y. Chang, “A dynamic fuzzy neural system design via hybridization of EM and PSO algorithms,”
*IAENG International Journal of Computer Science*, vol. 37, no. 3, 2010. - W. G. Seo, B. H. Park, and J. S. Lee, “Adaptive fuzzy learning control for a class of nonlinear dynamic systems,”
*International Journal of Intelligent Systems*, vol. 15, no. 12, pp. 1157–1175, 2000. View at Publisher · View at Google Scholar · View at Scopus - C. J. Chien and L. C. Fu, “Iterative learning control of nonlinear systems using neural network design,”
*Asian Journal of Control*, vol. 4, no. 1, pp. 21–29, 2002. View at Scopus - C. J. Chien, “A combined adaptive law for fuzzy iterative learning control of nonlinear systems with varying control tasks,”
*IEEE Transactions on Fuzzy Systems*, vol. 16, no. 1, pp. 40–51, 2008. View at Publisher · View at Google Scholar · View at Scopus - T. W.S. Chow and Y. Fang, “A recurrent neural-network-based real-time learning control strategy applying to nonlinear systems with unknown dynamics,”
*IEEE Transactions on Industrial Electronics*, vol. 45, no. 1, pp. 151–161, 1998. View at Publisher · View at Google Scholar - Y. C. Wang, C. J. Chien, and D. T. Lee, “An output recurrent fuzzy neural network based iterative learning control for nonlinear systems,” in
*Proceedings of the IEEE International Conference on Fuzzy Systems*, pp. 1563–1569, Hong Kong, 2008. View at Publisher · View at Google Scholar - Y. C. Wang and C. C. Teng, “Output recurrent fuzzy neural networks based model reference control for unknown nonlinear systems,”
*International Journal of Fuzzy Systems*, vol. 6, no. 1, pp. 28–37, 2004. - C. C. Ku and K. Y. Lee, “Diagonal recurrent neural networks for dynamic systems control,”
*IEEE Transactions on Neural Networks*, vol. 6, no. 1, pp. 144–156, 1995. View at Publisher · View at Google Scholar · View at PubMed