Journal of Applied Mathematics

Volume 2014, Article ID 520627, 8 pages

http://dx.doi.org/10.1155/2014/520627

## Weighted Multimodel Predictive Function Control for Automatic Train Operation System

^{1}Key Laboratory of Industrial Computer Control Engineering of Hebei Province, Yanshan University, Qinhuangdao 066004, China^{2}State Key Laboratory of Rail Traffic Control and Safety, Beijing Jiaotong University, Beijing 100044, China^{3}School of Engineering Science, Simon Fraser University, 250-13450, 102 Avenue, Surrey, BC, Canada V3T 0A3^{4}College of Computer Science and Technology, Zhejiang University of Technology, Hangzhou 310023, China

Received 23 September 2013; Accepted 28 November 2013; Published 3 February 2014

Academic Editor: M. Montaz Ali

Copyright © 2014 Shuhuan Wen et al. 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

Train operation is a complex nonlinear process; it is difficult to establish accurate mathematical model. In this paper, we design ATO speed controller based on the input and output data of the train operation. The method combines multimodeling with predictive functional control according to complicated nonlinear characteristics of the train operation. Firstly, we cluster the data sample by using fuzzy-c means algorithm. Secondly, we identify parameter of cluster model by using recursive least square algorithm with forgetting factor and then establish the local set of models of the process of train operation. Then at each sample time, we can obtain the global predictive model about the system based on the weighted indicators by designing a kind of weighting algorithm with error compensation. Thus, the predictive functional controller is designed to control the speed of the train. Finally, the simulation results demonstrate the effectiveness of the proposed algorithm.

#### 1. Introduction

With rapid expansion of the nationwide metropolitan population, people put forward higher requirement for the speed and quality of the urban railway traffic train. The Automatic Train Control (ATC) system, as an important subsystem of the automatic train control system, can replace the drivers to realize automatic train operation. On the basis of ensuring safety and punctuality, it can furthest implement the demand of energy conservation and improve passengers comfort. It is the prospective development direction of the railway train.

Train operation is a complex nonlinear process; it is difficult to establish accurate mathematical model because of nonlinearities and complex operating environments such as ramps, curves, and tunnels. So it increases difficulties to realize the ATO system. Based on the input and output data, people will apply some normal nonlinear system identification methods, like Hammerstein model structure [1], Wiener model structure [2], and so forth. But the model structure cannot reveal global performance of the complicated system. Multimodel method based on decomposition combination rule can provide an effective way for the modeling and control problem of complicated nonlinear system. Multiple linear local models are used to replace the complicated controlled object to simplify the nonlinear system structure. And the control algorithm based on linear model can be applied conveniently to nonlinear control system.

For multimodel control system, firstly we should build local linear model set of the nonlinear system. The common method is to linearize the nonlinear system near the equilibrium point to get local model set [3]. However, it is difficult to confirm the equilibrium point and model because of the complication of train operation. Based on the input and output data of nonlinear systems, cluster analysis divides the data according to some kind of similarity criterion. The method that combines cluster analysis with traditional identification provides an effective way to establish the local model set of nonlinear system.

Predictive functional control is the third generation of model-predictive control algorithm. It not only has the main features of model-predictive control, but also owns its unique advantages. The introduction of base function can make the control input structure more clear, and obviously reduces online computation. This paper proposes a method based on the actual train operation. It combines cluster multimodel weighted modeling with predictive functional control algorithm to design ATO speed controller. Firstly, we use fuzzy c-means (FCM) clustering algorithm with recursive least square algorithm of forgetting factor to establish the local model set of nonlinear operation process. In order to improve the performance of control system, we design a kind of weighted algorithm with error compensation. The global model will be achieved through weighted combination of local models, and then we can design predictive functional controller.

#### 2. Problem Information

According to the train dynamics, the dynamic equations can be described as follows [4]: where is the train position coordinate, is the velocity of train, is the traction force or breaking force, is motion resistance related to velocity, is external resistance caused by the slope, curve, and wind, is a constant, and is slope degree of point.

In (1), we can see that train operation is a nonlinear process. As the speed increases, the nonlinearity will get stronger, and the operation speed will be easily affected by external resistance. The purpose of this paper is to design reasonable ATO speed control algorithm to make train operation as objective speed curve and distance curve. The objective speed curve and distance curve are obtained by computing optimal operation figure.

#### 3. The Establishment of Multimodels Set

Cluster analysis is a kind of data mining technology, which is widely researched and applied. It can divide physical or abstract data into groups in accordance to similarity degree. This feature provides an effective way to divide models into the groups of multimodel modeling. In the field of process modeling, cluster multimodel modeling adequately excavates relationships between the data based on the input and output data. It divides the data into different features groups reasonably. In recent years, multimodel modeling method based on clustering is widely used and a large number of cluster algorithms emerge. The fuzzy c-means clustering algorithm is a simple and effective clustering method.

The FCM is an unsupervised clustering algorithm. A clustering problem can be expressed as follows.

Let be a set of given data, where each data point is a vector in and is the number of sample data. Its aim is to find the membership matrix and the cluster centers of sample data set that minimize a dissimilarity function. When the clustering number is given, FCM can be described as a mathematical programming problem [5]: where represents the membership of in the cluster , is the th measured data, is the th center of the cluster, denotes the distance of the measured data from the cluster center which can be measured by means of Euclidean norm, is any real number larger than 1, and is used in this contribution. and can be obtained from the paper [5].

In multimodel control, it is important to establish the multiple models set. Xie and Beni introduced a valid measure. The separation measure is defined as in [6].

The optical cluster number is In summary, the procedure for the fuzzy c-means algorithm is as follows.

*Step 1. *Collect the input and output data of training operation, and assume the maximum cluster number is 10. We apply Xie-Beni cluster validity index to assure the optical cluster number . Initialize , preset the index weight , and .

*Step 2. *At th iteration, compute the cluster centers where ( and , are resp., the cluster centers of sample data set and the membership matrix of the th iteration).

*Step 3. *Update using ( is the membership matrix of the th iteration).

*Step 4. *If , then ; go to Step 2, otherwise stop.

For each cluster set, the parameters of sublinear model are identified by using the forgetting factor recursive least squares (RLS) algorithm. To design GPC controller conveniently, we choose SISO (single-input single-output) Controlled Auto-Regressive Integrated Moving Average (CARIMA) model. So the sublinear model is described as follows [7]: where is the control input and is the measured variable or output; in this paper , and is the white noise in which the mean value is zero; and are the orders of output and input, respectively. is the differencing operator; , , and are polynomials with the backward shift operator . Among them, the first several elements of the polynomial can be zero to express the corresponding delay numbers. The sublinear model can be identified by using the form of regression equation.

#### 4. Multimodel Predictive Function Controller

##### 4.1. The Structure of Multimodel Weighted Predictive Function

The structure of multimodel weighted predictive function is shown in Figure 1. In Figure 1, the submodels are obtained by clustering and identification algorithm. At each control time, we compare the error of real output and the output of submodel . According to the matching degree, the corresponding weights are assigned to each submodel by weighted function. The bigger weight value represents the smaller mismatch of submodel.

##### 4.2. Multimodel Weighted Strategy

Multimodel control algorithm based on weighted method can make full advantage of system information of each local model and describe the dynamics of nonlinear system more accurately at the overlap of multiple subspace. The key question is to find the appropriate weighted strategy to enable local model to approach nonlinear dynamics effectively. Based on the multimodel integration strategy proposed in the literature [8], this paper proposes an improved multimodel weighted strategy with error compensation.

Define . The expression denotes the error between real output and the output of the submodel at time . The average matching error between submodel and system at time is shown as follows: where denotes the error length in the past time at the average error computation and denotes the forgetting degree of the past error.

The performance index based on model matching degree is defined as follows: As (7) shows, the weight of submodel is where is the number of local models.

After adding weighted value, the global predictive model is

##### 4.3. Predictive Function Controller Design

Because of its convenient derivation and strong robustness, predictive function control absorbs many scholars. At the present stage, the research of PFC mostly aims at first-order system or first-order plus pure delay system. Because the first-order system, first-order plus pure delay system, and second-order system can be described by CARIMA model, it is more general to study the PFC algorithm based on CARIMA model. In this paper, we study the predictive function control based on CARIMA model; the structure of predictive model is shown as (4).

Designing ATO system needs to guarantee the travelling comfort, and it is closely related to operation velocity. So the control input should decrease large fluctuation in designing ATO system. For this purpose, we add summation form of control increment to optimized performance indicator; optimized performance is shown as follows [9]: where

In predictive function control, control input is regarded as a linear combination of base function which is given advance [9]; generally ramp function and step functions can satisfy most of the control requirements. So in this paper, control input is regarded as weight combination of two base function proposed before; the form is shown as follows: Equation (12) can be rewritten as where

In PFC, the output of predictive model is composed of free response and forced response ; the form is shown as follows [9]: So the predictive output of PFC is

As for the model free response output , Zhang and Wangquanling, and so forth proposed a kind of recursive deprivation [10]: where As for the model forced response output can be derived as follows: where From (13) and (19), it can derived that where

To reduce the effect caused by model mismatch, error correction is used to compensate the predictive output.

Consider Predictive error is described as the following form: where is the output of the predictive model and is the actual output of the system.

So where .

Because , from (13), we can get that where

Substituting (23) and (26) into (10) and letting , we can get that Let , ; we can get that

From (12) and (29), we can get control subsequence of the future time. Predictive function control retains the rolling optimization strategy and just applies the current control input to system. So the current control input of predictive function control is

#### 5. Simulation Results and Discussions

A concrete train operation system [11] is used to test the performance of the proposed algorithm. We consider a 17285.5 meters long trail line. Because curves and tunnel external force will convert to ramp force under a certain condition, we just consider a length of ramp force in simulation. It is defined as follows:

The unit basic resistance model is determined empirically from empirical formula which is derived by experiments. In this paper we choose unit basic resistance model of Shenzhen metro line 3. It is defined as follows:

In the operation process of the train, one of energy-saving control scheme is to keep a constant speed in the cruise stage, reducing unnecessary braking and acceleration. This simulation imitates the constant-speed cruise motion of the rail train. We can obtain the ATO speed by composite computation: The distance profile in the simulation is as follows:

First of all, we obtain the input and output data of train operation based on dynamic model. According to the fuzzy c-means cluster algorithm and Xie-Beni cluster valid measure, we can obtain the optimal number of submodels. The result of clustering is shown in Table 1.

In Table 1, denotes the number of cluster; denotes the value of cluster valid measure. When the cluster number is 5, the value of is the minimum. So the optimal number of cluster is 5. According to the clustering set and forgetting factor recursive least squares identification algorithm, the submodels set can be defined as follows. Submodel 1: Submodel 2: Submodel 3: Submodel 4: Submodel 5:

In controller designing, we define , according to the weighted scheme; the parameters of predictive function controller are and . The algorithm proposed in this paper is compared with single-model PFC algorithm and the result is shown in Figures 2 and 3.

From Figures 2 and 3, we can see that the proposed scheme can track the ATO speed profile precisely and achieve the tracking task. But at some local working points, the single-model predictive function control algorithm cannot track the objective curve precisely. The reason is that single-model predictive function control algorithm cannot describe the global performance of nonlinear train operation. The multimodel control algorithm has better control performance, and can describe global state of nonlinear system.

In Figures 4 and 5, we can see that the algorithm of the ATO speed controller proposed in this paper can make the curve almost match together. And the results meet the accurate requirement of the stopping. Because at some local working points the single-model PFC algorithm cannot describe the operation character precisely, the distance trajectory cannot track the given trajectory.

Figure 6 shows the tracking situation of train acceleration and the given acceleration under the control of multimodel predictive function control. Figure 7 shows the part weighted changing curves of local model in multimodel control. The results show that more placidly the stable weights changing can assure the transformation of global model. Then the acceleration will not vibrate largely when the models transform.

#### 6. Conclusions

In this paper, we studied the speed controller of ATO system by combining clustering multimodel weighted modeling method with predictive function control algorithm. The proposed algorithm solved the modeling and control problem of nonlinear train operation system. Firstly, we used clustering and identification algorithm to build local model set of train operation process. At each sample time, weighted scheme with error compensation is combined with every local model according to the respective weight to obtain global model. After meeting linear requirement, we can design predictive function controller. Finally, the simulation results are provided to show the effectiveness of the proposed algorithm.

#### Conflict of Interests

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

#### Acknowledgments

This work is supported by the State Key Laboratory of Rail Traffic Control and Safety (Contract no. RCS2011K007), Beijing Jiaotong University and the Hebei Province Natural Science Foundation under project Grant no. F2014203095, the Young Teacher of Yanshan University under the project no. 13LGA007, National Natural Science Foundation of China (61325019, 61173096, and R1110679), and International Science & Technology Cooperation Program of China (S2014GAT030).

#### References

- F. Ding and T. Chen, “Identification of Hammerstein nonlinear ARMAX systems,”
*Automatica*, vol. 41, no. 9, pp. 1479–1489, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus - G. Shafiee, M. M. Arefi, M. R. Jahed-Motlagh, and A. A. Jalali, “Nonlinear predictive control of a polymerization reactor based on piecewise linear Wiener model,”
*Chemical Engineering Journal*, vol. 143, no. 1–3, pp. 282–292, 2008. View at Publisher · View at Google Scholar · View at Scopus - X. Yugeng and W. Fan, “Nonlinear multi-model predictive control,”
*Acta Automatica Sinica*, vol. 22, no. 4, pp. 456–460, 1996. View at Google Scholar · View at Zentralblatt MATH · View at Scopus - Y. Wang and Z. S. Hou, “Terminal iterative learning control for station stop control of a train,” in
*Proceedings of the Symposium on Learning Control at IEEE CDC*, vol. 6, pp. 3119–3124, Shanghai, China, December 2009. - T. Velmurugan and T. Santhanam, “Performance evaluation of K-means and fuzzy C-means clustering algorithms for statistical distributions of input data points,”
*European Journal of Scientific Research*, vol. 46, no. 3, pp. 320–330, 2010. View at Google Scholar · View at Scopus - C.-H. Chou, M.-C. Su, and E. Lai, “A new cluster validity measure and its application to image compression,”
*Pattern Analysis and Applications*, vol. 7, no. 2, pp. 205–220, 2004. View at Google Scholar · View at MathSciNet · View at Scopus - D. W. Clarke, C. Mohtadi, and P. S. Tuffs, “Generalized predictive control—part I. The basic algorithm,”
*Automatica*, vol. 23, no. 2, pp. 137–148, 1987. View at Publisher · View at Google Scholar · View at Scopus - P. P. Bonissone, F. Xue, and R. Subbu, “Fast meta-models for local fusion of multiple predictive models,”
*Applied Soft Computing Journal*, vol. 11, no. 2, pp. 1529–1539, 2011. View at Publisher · View at Google Scholar · View at Scopus - S. Wen, “A fast algorithm for adaptive predictive function of Hénon chaotic system,”
*Acta Physica Sinica*, vol. 58, no. 8, pp. 5209–5213, 2009. View at Google Scholar · View at Zentralblatt MATH · View at Scopus - Q. L. Zhang and S. Q. Wang, “Adaptive predictive function control using ARMAX models,”
*Information and Control*, vol. 29, no. 5, pp. 431–436, 2000. View at Google Scholar - X. Dexin, “Choice of maximum running speed of vehicles for urban mass transit,”
*Journal of Railway Engineering*, vol. 2, no. 113, pp. 97–99, 2008. View at Google Scholar