Abstract

As a kind of novel feedforward neural network with single hidden layer, ELM (extreme learning machine) neural networks are studied for the identification and control of nonlinear dynamic systems. The property of simple structure and fast convergence of ELM can be shown clearly. In this paper, we are interested in adaptive control of nonlinear dynamic plants by using OS-ELM (online sequential extreme learning machine) neural networks. Based on data scope division, the problem that training process of ELM neural network is sensitive to the initial training data is also solved. According to the output range of the controlled plant, the data corresponding to this range will be used to initialize ELM. Furthermore, due to the drawback of conventional adaptive control, when the OS-ELM neural network is used for adaptive control of the system with jumping parameters, the topological structure of the neural network can be adjusted dynamically by using multiple model switching strategy, and an MMAC (multiple model adaptive control) will be used to improve the control performance. Simulation results are included to complement the theoretical results.

1. Introduction

Modeling and controlling of nonlinear systems are always the main research field in control theory and engineering [13]; great progresses in this field have been made in the past 30 years, but many problems still exist. In the actual industrial process, exact mathematical models are always very difficult to get even with the existence of huge numbers of input-output or state data. Therefore, data based control of nonlinear systems has been concerned especially in recent 10 years. Artificial neural network has been recognized as a powerful tool for the identification and control of nonlinear systems since it was applied to nonlinear system [4]. Numerous learning algorithms have been proposed for the training of the network, among which BP algorithm [5] and RBF algorithm are used very frequently. But it is generally known that the BP faces some bottlenecks such as trivial manual parameters tuning (leaning rate, learning epochs, etc.), local minima, and poor computational scalability. Recently, a new learning algorithm for single-hidden-layer feedforward neural networks (SLFNs) named extreme learning machine (ELM) has been proposed by Huang et al. [6, 7]. The essence of ELM is that input weights and bias of hidden neurons are generated randomly; the hidden layer of SLFNs need not be tuned [8]. Furthermore, based on least-square scheme, the smallest norm solution can be calculated analytically. Given that ELM algorithm is free of trivial iterative tuning and learning process is implemented through simple generalized inverse operation, it can achieve a much faster learning speed than other traditional algorithms.

The training of batch processing ELM algorithms can be realized only after all the training samples are ready. But in actual application, the training data may come one by one or chunk by Huang et al. [8]. Therefore, Liang et al. proposed the OS-ELM [9] algorithm which can adjust its output weight adaptively when new observations are received. Unlike the batch learning algorithms, as soon as the learning process for particular training data is complemented, the data will be discarded; thus it avoids retraining of the previous observations [8].

To the best of our knowledge, a large number of researches about ELM are focused on the regression and classification [1012]. There are only few of published results regarding identification and control of nonlinear dynamic systems. In this paper, our interest will be kept in the identification and control of nonlinear dynamic plants by using OS-ELM neural networks. The adaptive controller based on OS-ELM neural network model can be constructed. In simulation process, on one hand, since the training process of OS-ELM neural network is sensitive to the initial training data, different regions of the initial data can cause large diversity of control result. Thus, large numbers of initial data can be classified previously into multiple regions. Then, according to the range of expected output of the controlled plant, we can choose the corresponding initial data to initialize OS-ELM neural networks. On the other hand, multiple model switching strategy will be used for the adaptive control by using OS-ELM neural network when a system with jumping parameters is controlled. Based on the two aspects which are maintained in the above, OS-ELM algorithm is extended to the field of control.

The paper is organized as follows. The structure of ELM neural network and OS-ELM algorithm are introduced in Section 2. Then, adaptive control of nonlinear dynamic system by using OS-ELM is stated in Section 3. Considering that OS-ELM is sensitive to the initial training data, the relationship between control performance and the selection of the initial training data is discussed for OS-ELM neural network; furthermore, simulation results about OS-ELM control and multiple OS-ELM models control are also shown in Section 4. Finally some conclusions are drawn in Section 5.

2. ELM Neural Networks

Let us consider standard single-hidden-layer feedforward neural networks (SLFNs) with hidden nodes and activation function ; the structure is shown in Figure 1. Given arbitrary distinct samples , then the network can be mathematically modeled as where is the weight vector connecting the th hidden neuron and the input neurons, is the weight vector connecting the th hidden neuron and the output neurons, is the bias of the th hidden neuron, and denotes the output function of the th hidden node which is bounded.

To approximate these samples with zero error is to search for a solution of and satisfying The above equation can be written compactly as where is the hidden-layer output matrix

The Essence of ELM. The hidden layer of ELM need not be iteratively tuned. According to feedforward neural network theory both the training error and the norm of weights need to be minimized [8].

2.1. Basic ELM

The hidden node parameters remain fixed after being randomly generated. The training of a SLFNs is equivalent to find a least-square solution of the linear system ; that is, The smallest norm least-squares solution of the above linear system is where can be obtained by , if is nonsingular, and , if is nonsingular [8]. To summarize, the learning process can be demonstrated as the following.

Basic ELM Algorithm. One is given a training set, output function and hidden node number .

Step  1. Randomly assign hidden node parameters ,

Step  2. Calculate the hidden-layer output matrix .

Step  3. Calculate the output weight using the equation , where .

2.2. OS-ELM

As mentioned above in Section 2.1, one of the solutions of the output weight vector is This algorithm just needs one step learning. Indeed, basic ELM algorithm is a batch learning algorithm. However, in actual application environment the training data may come one by one or chunk by Huang et al. [8]. Therefore, Liang et al. proposed the OS-ELM [9] algorithm which can adjust its output weight adaptively when new observations are received. The algorithm can be summarized as follows.

OS-ELM Algorithm. One is given a training set, output function , and hidden node number .

Step  1  Initialization Phase. From the given training set , a small chunk of training data is used to initialize the learning, where, .(a)Assign random parameters of hidden nodes , where .(b)Calculate the initial hidden-layer output matrix .(c)Calculate the initial output weight , where and .(d)Set , where is the number of chunks which is trained currently.

Step  2  Sequential Learning Phase. (a) Present the ()th chunk of new observations ; here denotes the number of observations in the th chunk.

(b) Calculate the partial hidden-layer output matrix for the th chunk of data : Set .(c)Calculate the output weight (d)Set . Go to Step (a).

It can be seen from the above OS-ELM algorithm that OS-ELM becomes the batch ELM when . For the detailed description, readers can refer to Liang et al. [9]. From (9), it can be seen that the OS-ELM algorithm is similar to recursive least-squares (RLS) in [13]. Hence, all the convergence results of RLS can be applied here.

3. Adaptive Control by Using OS-ELM Neural Networks

3.1. Identification

Consider the following SISO nonlinear discrete-time system: where and are infinitely differentiable functions defined on a compact set of , . Consider is the output, is the input, , is the relative degree of the system, and is bounded away from zero. The arguments of and are real variables. In this paper, we consider a simplified form with . Then the SISO nonlinear discrete-time system can be described as where . Let us first assume that there exist exact weights and , the functions and which can approximate the functions and without unmodelled dynamic. The nonlinear system (12) can be described by the neural networks as follows: where the functions and can be selected as OS-ELM neural networks; that is, , can be generated randomly and kept in constant. Then (13) can be rewritten as where , .

Let and denote the estimates of and at time . The neural network identification model can be shown as follows: that is, where . Define as Referring to the OS-ELM algorithm, taking into account the existence of time-series in control system, the on-line observation data comes one by one; if we choose , the updating ruler can be rewritten as where and can be obtained in OS-ELM Step 1 Initialization Phase.

Due to the existence of unmodelling dynamics, the nonlinear system (15) can be represented as where is the model error and satisfies . Then a deed-zone algorithm will be used: where

Theorem 1. Given the system described by (20), if the updating ruler described by (21)–(23), we have the following results:(i)(ii)and this implies (a)(b)

For the detailed proof of Theorem 1, readers can refer to [14]; it can also be found in the appendix.

3.2. Adaptive Control Using OS-ELM

In this section we discuss the adaptive control problem using OS-ELM neural networks. For the system described as OS-ELM neural network identification model as control can be given as below: where appears as desired output. The control is applied to both the plant and the neural network model.

3.2.1. OS-ELM Adaptive Control Algorithm

Step  1  Initialization Phase. Given a random input sequence , where , from the controlled plant (12), we can get a small chunk of off-line training data . Given output function and hidden node number which are used to initialize the learning, where .(a)Assign random parameters of hidden nodes , where .(b)Calculate the initial hidden-layer output matrix . where , .(c)Calculate the initial output weight as follows:

where , , and . (d)Set .

Step  2  Adaptive Control Phase. (a) Calculate the control and the output of the plant : where , .

(b) Calculate the partial hidden-layer output matrix for the th observation data:

(c) Calculate the output weight where

(d) Set . Go to Step 2(a).

3.3. Stability Analysis

Define the error between the neural network identification state and the reference model state as that is, By (30), we have The control error is defined as that is, so, Using the properties of the parameter estimation algorithm stated in Theorem 1, we immediately have Because the activation function is bounded, then and are bounded. If is chosen as (30), then is bounded; hence is bounded. From (43) we have Considering that is bounded, then is bounded. From (40), , is bounded; then is bounded too.

To sum up, we find that OS-ELM neural networks have the capability of identification of and controling nonlinear systems. However, as we know, the conventional adaptive control systems are usually based on a fixed or slowly adaptive model. It cannot react quickly to abrupt changes and will result in large transient errors before convergence. In this case, MMAC algorithm is presented as a useful tool. We can construct multiple OS-ELM neural networks to cover the uncertainty of the parameters of the plant by initializing OS-ELM neural network, respectively, in different position. Meanwhile, an effective index function can be used to select the optimal identification model and the optimal controller. MMAC based on OS-ELM algorithm can improve the control property of the system greatly and avoid the influence of jumping parameter on the plant.

3.4. Multiple Model Adaptive Control

Multiple model adaptive control can be regarded as an extension of conventional indirect adaptive control. The control system contains identification models, denoted by , . According to (16) and (30), multiple models set can be established as the following: where The control can be rewritten as Define . In any instant, one of the models is selected by a switching rule, and the corresponding control input is used to control the plant. Referring to Theorem 1 the index function has the form At every sample time, the model that corresponds to the minimum is chosen; that is, is chosen if and is used as the control input at that instant. The structure of multiple models adaptive control can be shown in Figure 2.

Referring to paper [15], Narendra and Xiang established 4 kinds of structure of MMAC. All models are fixed; all models are adaptive; fixed models and one adaptive model; fixed models, one free running adaptive model, and one reinitialized adaptive model. We can get a similar result of the stability. For the detailed proof of stability of MMAC, the reader can refer to [1517].

4. Simulation Results

4.1. Adaptive Control

In this section, we present results of simulations of adaptive control nonlinear discrete-time systems by using OS-ELM neural networks. The nonlinear systems will be considered as below: where we define and ; is a scalar. The control goal is to force the system states to track a reference model trajectory. We select the reference model as The single-input/single-output nonlinear discrete-time system can be modeled by where and are OS-ELM neural networks. The neural networks and have the same structure . Based on the OS-ELM adaptive control algorithm, the parameters of the neural networks and are updated to and using OS-ELM Algorithm.

For OS-ELM control algorithm, in Step 1, we choose ; the control is selected randomly from . A small chunk of off-line training data is used to calculate the initial output weights and . Since ELM algorithm just adjusts the output weight, it shows fast and accurate identification results.

Following this, in Step 2, both identification and control are implemented. The response of the controlled system with a reference input by using OS-ELM algorithm is shown in Figure 3. We can see that the controlled system can track the reference model rapidly. The control error is shown in Figure 4.

4.2. Choice of the Data Set

In simulation process, we find that OS-ELM is sensitive to the initial training data. Initial training data determine the initial value of adaptive control directly. When we select different initial training samples, the performance of the control results varies greatly. Figure 5 shows the control results using OS-ELM neural networks with different initial training samples.

In Figure 6 we select 6 different ranges of random input-output pair. We can find that different ranges of input values and the corresponding output values concentrate in a single area. According to the output ranges of the controlled plant, we can choose a specific data area to train the neural network. In Figure 5, the output range of the controlled system is in the . If we adopt random input (red area in Figure 6(b), initializing OS-ELM by using this set data), the control result is shown in Figure 5(b). On the contrary, if the random input in the other area (Green, Blue, yellow area, and so on in Figure 6(b)) is used to initialize OS-ELM, the control result is poor (Figure 5(a)).

On one hand, in the actual production process, we have a large number of field data which is distributed over a large range. On the other hand, we generally know the objective output range of the controlled plant. Then, according to the output range of the controlled plant, we can choose a specific data area to train the neural network. In this way, the accuracy of control can be improved and the computation time can be saved.

4.3. Multiple Models Adaptive Control

From the above simulation result, we find that OS-ELM neural networks show perfect capability of identification. But from the OS-ELM adaptive control algorithm we can see that it contains two steps (initialization phase and adaptive control phase). This algorithm just shows the perfect capability of identification with fixed or slowly time-varying parameters. For the system with jumping parameters, once the change of parameters happens, the OS-ELM adaptive control algorithm needs to implement Step 1 again or the control performance will be very poor. To solve this kind of problem, MMAC (multiple models adaptive control) will be presented as a very useful tool.

Consider the controlled plant as follows: where We choose the index function as (48) and construct 4 OS-ELM neural network models. Among them, the weights of model are reinitialized ones; models are fixed models which are formed according to the environment of the changing parameters. is free running adaptive model. In any sample time, model chooses the optimal model from the models set which is formed by models (, , and model). Figure 7 shows the response of multiple models and signal model.

In Figure 7(a), we can see that signal model adaptive control shows poor control quality for the system with jumping parameters. Once the parameters change abruptly, the neural network model needs to adjust its weight which is far from the true value. Figure 7(c) shows the bad control input. In MMAC, the reinitialized adaptive model can initiate the weights by choosing the best weights of a set of models based on the past performance of the plant. At every sample time, based on the index function, one of the best models in model set is selected; the parameters of reinitialized model can be updated from the paraments of this model. From Figure 7(b), we can see that MMAC can improve the control quality dramatically compared to Figure 7(a). Figure 7(d) shows the control sequence and Figure 7(e) shows the switching procedure of controlling MMAC.

5. Conclusion

The application of OS-ELM in the identification and control of nonlinear dynamic system is studied carefully. OS-ELM neural network can improve the accuracy of identification and the control quality dramatically. Since the training process of OS-ELM neural network is sensitive to the initial training data, different scope of training data can be used to initialize OS-ELM neural network based on the output range of the system. The topological structure of OS-ELM neural network can be adjusted dynamically by using multiple model switching strategy, when it is used to control systems with jumping parameters. Simulation results show that MMAC based on OS-ELM which is presented in this paper can improve the control performance dramatically.

Appendix

Lemma A.1 (matrix inversion lemma, see [18]). If where the scalar , then is related to via Also,

Proof of Theorem 1. Defining , then from (20), (22), and (A.3) we have where . Then, from (A.4) we can obtain Introducing Lyapunov function as , taking (A.1) into it, hence, we can obtain Submitting (A.5) in the above equation, Referring to [14], we can obtain that is, Finally, if we choose as (36), we have that is, is nonnegative; then Now from the matrix inversion lemma, it follows that this implies This establishes part (i).
Summing both sides of (A.11) from 1 to with being nonnegative, we have we immediately get (ii) holds. Then (a) and (b) hold.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This work is partially supported by the Fund of National Natural Science Foundation of China (Grant no. 61104013), Program for New Century Excellent Talents in Universities (NCET-11-0578), the Fundamental Research Funds for the Central Universities (FRF-TP-12-005B), and Specialized Research Fund for the Doctoral Program of Higher Education (20130006110008).