Next Article in Journal
Analytic Investigation of a Generalized Variable-Coefficient KdV Equation with External-Force Term
Previous Article in Journal
Spectral and Sharp Sufficient Conditions for Graphs to Admit a Strong Star Factor
Previous Article in Special Issue
Identification of Critical Track Sections in a Railway Station Using a Multiplex Networks Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Distributed Model Predictive Control Approach for Virtually Coupled Train Set with Adaptive Mechanism and Particle Swarm Optimization

1
Signal and Communication Research Institute, China Academy of Railway Sciences Corporation Limited, Beijing 100081, China
2
School of Automation and Intelligence, Beijing Jiaotong University, Beijing 100044, China
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(10), 1641; https://doi.org/10.3390/math13101641 (registering DOI)
Submission received: 27 March 2025 / Revised: 25 April 2025 / Accepted: 29 April 2025 / Published: 17 May 2025

Abstract

:
Virtual coupling (VC) technology, which determines the safe interval between trains based on relative braking distance, offers a promising solution by enabling tighter yet safe train-following intervals through advanced communication and control strategies. This paper focuses on addressing the virtually coupled train set (VCTS) control problem within the framework of distributed model predictive control (DMPC), in which train dynamics model incorporates uncertainties in basic resistance and control inputs, with an adaptive mechanism (ADM) designed to limit errors caused by external disturbances. A multi-objective cost function is established, considering position error, speed error, and ride comfort, while constraints such as actuator saturation, speed limits, and safe tracking distance are enforced. Particle swarm optimization (PSO) is employed to solve the non-convex optimization problem globally. Simulation experiments validate the effectiveness of the proposed method, demonstrating stable operation of VCTS under various initial conditions and the ability to handle uncertainties through the adaptive mechanism. The results show that the proposed DMPC approach significantly reduces tracking errors and improves ride comfort, highlighting its potential for enhancing railway capacity and operational efficiency.

1. Introduction

With the rapid growth of railway transportation demand, how to further enhance line capacity and operational efficiency while ensuring safety remains an enduring pursuit for railway operators. One of the critical bottlenecks restricting line capacity is the signaling system, as its protection mechanism directly determines the spacing between trains [1]. Currently, the most advanced signaling system in practical engineering applications is the moving block system, which determines the safe interval between two trains based on the absolute braking distance of the following train [2]. This mechanism does not consider the speed of the leading train, assuming instead that the leading train could come to an instantaneous stop. However, during train-following operations, the position of the leading train continuously moves forward, leaving room for further compression of the tracking interval between adjacent trains. Optimizing this interval through advanced control strategies and dynamic signaling adjustments could unlock significant potential for improving line capacity and operational efficiency [3].
Virtual coupling (VC) [4] technology further enhances line capacity by determining the safe interval between adjacent trains based on relative braking distance, building upon the foundation of the moving block system [5]. Unlike traditional mechanical coupling, virtual coupling employs train-to-train (T2T) communication to establish a virtual connection between trains in a virtually coupled train set (VCTS). By dynamically adjusting the spacing between trains in real time and leveraging advanced communication and control strategies, virtual coupling enables tighter yet safe train-following intervals, thereby maximizing line capacity and operational efficiency while maintaining high safety standards.
With the advancement of communication and computer technologies, the practical implementation of virtual coupling has become feasible, and virtual coupling train control technology has emerged as a prominent research focus in recent years. Xun et al. [6], Wu et al. [7], and Felez et al. [8] provided a comprehensive review of virtual coupling train control technologies, highlighting that numerous advanced control methodologies, such as intelligent control [9], stochastic control [10], model predictive control [11], optimal control [12], sliding mode control [13], and consensus-based control [14], have been successfully employed to tackle the VCTS control. This paper focuses on addressing the VCTS control problem within the framework of model predictive control, owing to its advantages in predicting system behavior, interference resistance, and its ease of extensibility.
Model predictive control (MPC) is an advanced control strategy based on the dynamic model, rolling-horizon optimization, and feedback correction. Its core principle lies in utilizing a mathematical model of the system to predict its behavior over a future time horizon and optimizing the control inputs accordingly, ensuring that the system achieves optimal performance while satisfying constraints [15].
Felez et al. [16] proposed a nominal MPC framework for each train in a VCTS. The control strategy was compared to the traditional moving block train control system. The study focused on a metro line scenario, demonstrating that virtual coupling significantly reduces the headway and distance between trains. Based on this work, Felez et al. [17] developed a robust MPC approach that incorporates two types of uncertainties in the controller, i.e., train positioning errors and adhesion losses. In addition, more undetermined disturbances, such as resistive modeling errors and communication delays, were considered in reference [18]. Liu et al. [19] presented a distributed MPC framework for VCTS, where a terminal constraint set and terminal controller are explicitly designed to ensure both feasibility and stability of the control system. A comparative evaluation of cooperative distributed MPC, serial distributed MPC, and decentralized MPC in addressing the control performance of VCTS was conducted in reference [20], taking into account the heterogeneous characteristics of trains. The stability of the proposed control methods was analyzed using the relaxed dynamic programming approach. Luo et al. [21] addressed the control challenges of VCTS in dynamic environments by proposing an adaptive model predictive control method. A train dynamics model estimator incorporating a variable-step descent algorithm was designed to acquire accurate parameters in time-varying environments. Furthermore, Luo et al. [22] introduced a serial distributed robust MPC approach to achieve close-following operation for VCTS. A controller-tuning algorithm based on semi-definite programming was developed, and a terminal constraint set was created to ensure the recursive feasibility in closed-loop implementation.
In summary, most of the previous studies have considered model uncertainties, but few have simultaneously accounted for uncertainties in both resistance and control inputs. This gap is critical because resistance forces and actuator limitations jointly constrain the train dynamic model [23]. Furthermore, the cost functions in the literature predominantly focus on single objectives such as tracking error or tracking distance, with limited consideration of other performance in virtual coupling train control, such as ride comfort. Regarding the solution of optimization problems, existing research primarily relies on numerical optimization methods, e.g., sequential quadratic programming. However, for nonlinear, non-convex, or high-dimensional problems, these methods may suffer from local optima or low computational efficiency. Compared to the existing literature, a novel distributed model predictive control (DMPC) approach for VCTS control is presented. The contributions of this paper can be summarized as follows:
  • The train dynamics model incorporates uncertainties in basic resistance and disturbances in control inputs. Specifically, an adaptive mechanism (ADM) is constructed to limit errors caused by external unknown disturbances, bringing the model closer to the real state.
  • For the rolling optimization problem within the DMPC framework, a multi-objective cost function is established, considering position error, speed error, and ride comfort. Constraints such as actuator saturation, speed limits, and the nonlinear coupled constraint of safe tracking distance are also taken into account.
  • Particle swarm optimization (PSO) is integrated into the DMPC framework to search for the optimal control input sequence, enabling global optimization of the formulated non-convex problem.
The rest of this paper is organized as follows. Section 2 provides a detailed description of the VCTS control problem from three aspects: the train dynamics model, system constraints, and state-space representation. Section 3 elaborates on the designed control method, including an ADM for handling uncertainties and a PSO-based global optimization solver, along with a theoretical stability analysis of the controller. Section 4 validates the performance and effectiveness of the proposed method through simulation experiments. Finally, Section 5 concludes the paper by summarizing the research findings and outlining potential directions for future work.

2. Problem Description

Let us define a VCTS with T2T communication, consisting of n trains and adopting a distributed control architecture. Its structural composition and communication topology are illustrated in Figure 1. The coordination within the VCTS is achieved through a leader–follower relationship, where the first train in the direction of the train running is regarded as the leader, with the index i = 0 , while the remaining trains act as followers, with the index i = 1 , 2 n 1 . Each train is equipped with its own controller, which obtains information such as position, velocity, and acceleration through onboard devices and shares its state with adjacent trains. The leader train tracks the predefined reference trajectory and unidirectionally transmits its state information to its follower train. Meanwhile, bidirectional communication among follower trains enables adaptive cooperative control through mutual state exchange.

2.1. Train Dynamics Model

The train dynamic model serves as the fundamental basis for the design and optimization of train control systems, particularly in complex operational scenarios such as virtual coupling. The longitudinal motion of a train is influenced by multiple factors, including traction and braking forces, basic resistance (rolling and bearing resistances, aerodynamic drag), and additional resistance (external forces due to track grade, curvature, and tunnel). Based on the longitudinal dynamics of the train, a single-point mass model is established, such model not only incorporating the fundamental equations of motion, but also accounting for system uncertainties.
The train dynamics model is described as follows:
s ˙ i ( t ) = v i ( t ) m i v ˙ i ( t ) = u i ( t ) m i R i ( v i ( t ) ) m i G i ( ( s i ( t ) )
where s i ( t ) , v i ( t ) , and u i ( t ) represent the position, velocity, and traction/braking force of train i at timestamp t , respectively. The term m i denotes the mass of train i . R i ( v i ( t ) ) represents the basic resistance per unit mass of the train which is dependent on the train’s structure and operating speed, and G i ( ( s i ( t ) ) signifies the additional resistance per unit mass of the train which is influenced by the conditions of the railway line.
The basic running resistance can be calculated using the Davis formula, which is given in Equation (2):
R ( v i ( t ) ) = a + b v i ( t ) + c v 2 i ( t )
where a , b , and c are Davis coefficients, which are empirically derived based on practical experience.
The additional resistance, G i ( ( s i ( t ) ) , consists of resistances due to the track grade ( R i g ), track curves ( R i c ), and tunnels ( R i t ) [7], and it can be denoted as follows:
G i ( ( s i ( t ) ) = R i g + R i c + R i t R i g = θ R i c = 600 r R i t = 0.00013 l
where θ , r , and l represent the track grade, the radius of track curves, and the length of tunnels, respectively.
The aforementioned train dynamic model serves merely as a nominal representation, wherein the basic running resistance parameters and control inputs are derived from experimental and testing procedures under specific conditions. However, these parameters are subject to external and internal disturbances under varying operational conditions of the train, such as adverse weather conditions (e.g., strong winds) and performance degradation in electrical motors. Consequently, the actual train dynamic model exhibits inherent uncertainties due to these perturbations. In such cases, the basic running resistance and control input can be rewritten as follows:
R ^ ( v i ( t ) ) = ( a + Δ a i ( t ) ) + ( b + Δ b i ( t ) ) v i ( t ) + ( c + Δ c i ( t ) ) v 2 i ( t )
u ^ i ( t ) = u i ( t ) + Δ u i ( t )
where Δ a i ( t ) , Δ b i ( t ) , and Δ c i ( t ) represent the disturbances in the respective components of the Davis equation, while Δ u i ( t ) denotes the disturbance in the control input.

2.2. Independent and Coupled Constraints

The operational performance of VCTS is constrained by a variety of complex factors, including variations in operating conditions, the inherent dynamic characteristics of the trains, and stringent requirements for safe spacing. These factors impose strict limitations on the state variables and control inputs of the trains. To ensure that VCTS operates efficiently while meeting safety and comfort requirements, it is essential to thoroughly incorporate these constraints into the train dynamic model.
Constraints 1.
The control inputs of the traction and braking systems of trains must satisfy the limitations imposed by hardware and actuators, such limitations can be denoted as follows:
u min u i ( t ) u max
where  u min  and  u max  represent the maximum breaking force and maximum traction force, respectively.
Constraints 2.
The train speed must not exceed the fixed line speed limits or the temporary speed limits issued by the dispatcher and can be expressed as follows:
0 v i ( t ) v lim ( s i ( t ) )
where  v lim ( s i ( t ) )  is the speed limit at the current position of the train.
Constraints 3.
During the operation of a VCTS, adjacent trains maintain an expected spacing based on the principle of relative braking distance. The coupling constraints between the trains are described as follows:
s i ( t ) s i + 1 ( t ) L i D ex , i = 0 , 1 n 1
where  L i  is the length of the preceding train and  D ex  is the expected spacing between adjacent trains, such spacing being related to the braking distance of the trains and the safety margin redundancy. It can be expressed as follows:
D e x = d min + max d i b d i 1 b , 0
where  d min  is a user-defined safety margin redundancy and  d i b  is the distance required for the train to brake to a complete stop from its current speed, a parameter that can be denoted as follows:
d i b = v i 2 ( t ) 2 a i , eb
where  a i , eb  denotes the emergency braking acceleration of the train.

2.3. State–Space Representation

The state of train i in the VCTS is defined as follows:
x i ( t ) = s i ( t ) ,   v i ( t ) , 1 T
To better express the train state transition process, we transfer Equation (1) to the train state–space transition equation as follows:
x i ( t + 1 ) = A i ( t ) x i ( t ) + B i ( t ) u i ( t )
where
A i ( t ) = 0 1 R i ( v i ( t ) ) + G i ( ( s i ( t ) ) m i t 1 t R i ( v i ( t ) ) + G i ( ( s i ( t ) ) 2 m i t 2 0 0 1 , B i ( t ) = 1 m i t 1 2 m i t 2 0 .
Actually, it is difficult to estimate every parameter in A i . Therefore, we consider the train model as a whole for the convenience of modeling establishment and simulation test execution. Furthermore, the state transition equation of the train is derived by substituting Equation (4) into Equation (12) and simplifying, as follows:
X i ( t ) = s i ( t )   v i ( t )   u ^ i ( t )   1 T x i ( t + 1 ) = A i ( t ) X i ( t )
where
A i ( t ) = 0 1 1 m i t R ^ i ( v i ( t ) ) + G i ( ( s i ( t ) ) m i t 1 t 1 2 m i t 2 R ^ i ( v i ( t ) ) + G i ( ( s i ( t ) ) 2 m i t 2 0 0 0 1 .

3. DMPC Framework

In the proposed DMPC framework, both the leader train and each follower train are equipped with independent controllers, and the state information is exchanged in real-time through T2T communication to dynamically optimize control strategies. The controller solves an optimal control problem over a finite time horizon based on a known train dynamics model, generating an optimal control input sequence over time. To adapt to the changes in the operating environment and meet real-time control requirements, the controller only applies the first control input in each optimization cycle. It is worth noting that the optimization objectives of the leader train and the follower trains are different: the controller of the leader train aims to track a predefined reference trajectory, minimizing speed and distance tracking errors to zero, while the follower trains aim to synchronize their speed with the preceding train and maintain a relatively safe following distance.

3.1. Controller Design

In the DMPC architecture, the running state of train i over a prediction horizon N p is defined as follows:
X ˜ i t = X i t | t , X i t + 1 | t , X i t + 2 | t , , X i t + N p 1 | t T
where X i t + 1 | t denotes the predicted train state information of t + 1 at time t.
Combining Equations (13) and (14), the state–space transition equation in DMPC can be expressed as follows:
X i t + 1 = A i t X ˜ i t
where
A i t = d i a g A i t , A i t + 1 , , A i t + N p 1 ,
X i t + 1 = x i ( t + 1 | t ) , x i ( t + 2 | t ) , , x i ( t + N p | t ) T .
Due to the influence of external disturbances, the train model matrix becomes time-varying. Therefore, this paper proposes an ADM, expressed as follows:
A ^ i t = A i t + Δ A i t
where Δ A i t represents the deviation between the real train model and the nominal one.
In this study, the tracking error of train states and ride comfort are taken as optimization objectives of VCTS control, and the cost function is defined as follows:
J i t = min N p x ˜ i ϒ i 1 T P x ˜ i ϒ i 1 2 + Φ T Q Φ 2 + x ˜ i ϒ i + 1 T R x ˜ i ϒ i + 1 2
where x ˜ i represents the state vector of train i in terms of distance and velocity, a variable that can be expressed as follows:
x ˜ i t = x i t | t , x i t + 1 | t , x i t + 2 | t , , x i t + N p 1 | t
where P , Q , and R are weight matrices, which can be expressed as follows:
P = ω s 0 0 0 ω v 0 0 0 0 , Q = ω Q , R = ω i + 1 , s 0 0 0 ω i + 1 , v 0 0 0 0 , ω v , ω s , ω Q are weight values of the tracking speed error, tracking distance error, and comfort, respectively. ω i + 1 , v and ω i + 1 , s are weight values of the tracking speed error and tracking distance error of train (i + 1), respectively.
For the leader train, ϒ denotes the reference running trajectory, while for the follower trains, ϒ represents the state vector of adjacent trains which can be expressed as follows:
ϒ i 1 = ϒ r e f t ,             i = 0 x ˜ i 1 t ,                       i = 1 , 2 ,   n 1  
ϒ i + 1 = x ˜ i + 1 | t + D e x · 1 1 1 0 0 0 0 0 0 ,           i = 0 , 1 , n 2 x ˜ i                                                                                                       ,           i = n 1
Comfort is reflected by the jerk of the train and can be expressed as follows:
Φ i = 0 a i t + 2 | t a i t + 1 | t Δ t a i t + N p | t a i t + N p 1 | t Δ t
where a i represents the acceleration of train I and Δ t denotes the time step.
The optimal control sequence within the prediction horizon that the DMPC controller obtains can be expressed as follows:
U i t = u i * t | t , u i * t + 1 | t , , u i * t + N p 1 | t
The control input for train i at time t is as follows:
u i t = u i * t | t
MPC adopts a rolling horizon strategy, meaning that, within each control cycle, only the first control input obtained from optimization is executed within each control cycle. Thus, the proposed control scheme with the ADM in a rolling horizon is shown in Figure 2.

3.2. Controller Convergence Analysis

The convergence analysis of the controller is a critical step to ensure that the designed control method can achieve a stable state within a finite time. The goal of the controller is to optimize the control input such that the systematic model converges to the actual one, while satisfying the system constraints.
Remark 1.
During the execution of the controller for train  i  at time  t , the estimated parameter matrix  A i t , remains constant within each prediction horizon.
The objective of the ADM for train i is to minimize the deviation between the predicted state and the actual state at time t + 1 , and can be expressed as follows:
Ξ i t = min A i t 1 2 Δ x i T t + 1 Δ x i t + 1
where Δ x i t + 1 = x ^ i t + 1 | t x i t + 1 , then Equation (24) can be rewritten as follows:
Ξ i t = min A i t 1 2 x ^ i t + 1 | t x i t + 1 T x ^ i t + 1 | t x i t + 1                 = min A i t 1 2 A ^ i t X ^ i t x i t + 1 T A ^ i t X ^ i t x i t + 1
By calculating the gradient of the above formula with respect to the estimated parameter matrix A ^ i t , the following equation is obtained:
Ξ i t = A ^ i t X ^ i t x i t + 1 X ^ i t
We expect the estimated train state to gradually converge to the true state through the gradient descent direction. Therefore, the update strategy for the train model matrix can be described as follows:
A ^ i ( t + 1 ) = A ^ i t η i t Ξ i t = A ^ i t η i t Δ x i t + 1 X ^ i t
Theorem 1.
There exists a step size,  η i t , such that the estimated train model matrix,  A ^ i t , of the train dynamic model converges to a bounded matrix   A i t , after a finite amount of time.
Proof of Theorem 1.
A Lyapunov function related to the estimated train model matrix of the train model is designed as follows:
V A ^ i t + 1 = t r A ^ i t A i T A ^ i ( t + 1 ) A i
By combining Equation (28) with Equation (27), we obtain the following equation:
V A ^ i t + 1 = V A ^ i t + η i 2 t X i T t X i t Δ x i T t + 1 Δ x i t + 1 2 η i t Δ x i T t + 1 Δ x i t + 1                                   = V A ^ t + η i t η i t X i T t X i t 2 Δ x i T t + 1 Δ x i t + 1
Furthermore, the above equation can be rewritten as follows:
V A ^ i t + 1 V A ^ i t = η i t η i t X i T t X i t 2 Δ x i T t + 1 Δ x i t + 1
Due to Δ x i T t + 1 Δ x i t + 1 0 , as long as the step size, η i t , satisfies
0 < η i t 2 X i T t X i t ,   then
V A ^ i t + 1 V A ^ i t 0 ) can be achieved, thereby ensuring the asymptotic convergence of the train model parameters. If the initial value V A ^ i 0 , of the aforementioned Lyapunov function is bounded, then as time t approaches infinity lim t V A ^ i t , is also bounded. □
Therefore, based on Equation (31), the update step size for the train model matrix is designed as follows:
η i t = 2 λ i t X i T t X i t
where 0 < λ i t < 1 .
Lemma 1.
As time  t  approaches  , the prediction error of the train state tends to zero, i.e.,  lim t Δ x i T t + 1 Δ x i t + 1 = 0 .
Proof. 
Substituting Equation (32) into Equation (30), starting from t = 0 , the expression can be written sequentially as follows:
V A ^ i 1 V A ^ i 0 = 2 η i 0 λ i 0 1 Δ x i T 1 Δ x i 1 V A ^ i 2 V A ^ i 1 = 2 η i 1 λ i 1 1 Δ x i T 2 Δ x i 2 V A ^ i t + 1 V A ^ i t = 2 η i t λ i t 1 Δ x i T t + 1 Δ x i t + 1
By summing the left-hand side and the right-hand side of the above equations separately, we obtain the following:
V A ^ i t + 1 V A ^ i t = j = 0 t 2 η i j λ i j 1 Δ x i T j + 1 Δ x i j + 1 0
After substituting Equation (32) into Equation (34), we obtain the following:
j = 0 t 4 λ i j λ i j 1 X i T j X i j Δ x i T j + 1 Δ x i j + 1 0
Since 0 < λ i t < 1 , the following is true:
4 λ i t λ i t 1 < 0
Then, we obtain the following:
j = 0 t Δ x i T j + 1 Δ x i j + 1 X i T j X i j 0
From Theorem 1, it is known that, as time t approaches infinity lim t V A ^ i t , is bounded, and thus j = 0 t Δ x i T j + 1 Δ x i j + 1 X i T j X i j is also bounded. According to Equations (6)–(8), it can be concluded that the train state X i t is always bounded. Therefore, Δ x i T t + 1 Δ x i t + 1 is also bounded, and as time t approaches infinity, lim t Δ x i T t + 1 Δ x i t + 1 tends to zero. □

3.3. Algorithm Design

MPC determines the optimal control input sequence by solving an optimization problem. Since Equation (17) is a high-dimensional cost function for multi-objective optimization, there may exist multiple local optima, and traditional methods such as the interior point method and sequential quadratic programming may converge to a suboptimal solution. Particle swarm optimization, a powerful swarm intelligence optimization algorithm, is characterized by its simple structure, fast convergence, and high precision, making it widely used for online parameter optimization. Furthermore, several studies have demonstrated that applying the PSO algorithm to solve MPC problems can yield favorable results [24,25,26]. Therefore, in the proposed DMPC-based virtual coupling train controller, the PSO algorithm is employed to perform global optimization of the cost function.
The velocity and position of particle m are updated according to the following equation:
V i , r + 1 m = ω l , r V i , r m + c 1 r a n d U p b e s t , i m U i , r m + c 2 r a n d U g b e s t , i U i , r m U i , r + 1 m = U i , r m + V i , r + 1 m
where ω l , r denotes the inertia coefficient, c 1 and c 2 are preset learning parameters, and U p b e s t , i m and U g b e s t , i are the m-th individual best value and global best value of the population at r-th iteration, respectively.
To expand the global searching scope of PSO in the early iteration time, while increasing the local optimizing speed later, ω l , r is designed dynamically as follows:
ω l , r = ω l , max ω l , max ω l , min r N r
where ω l , max and ω l , min are the preset maximum and minimum inertia coefficient, respectively.
To retain a reasonable searching speed and scope at each period, we design a bound mechanism for V i , r m and U i , r m as follows:
V i , min V i , r m V i , max U i , min U i , r m U i , max
where V i , min and V i , max represent the minimum and maximum searching speed, respectively, while U i , min and U i , max are the minimum and maximum updating range, respectively.
According to Equation (17), the cost function represents the tracking error and jerk error, meaning that a lower value is the better individual. Thus, we design the individual and global best value selection mechanism in a PSO iteration range as follows:
U p b e s t , i m = U i , r m           ,   J i , r m < J i , r m , min               o r             r = 1 U p b e s t , i m ,   J i , r m J i , r m , min
U g b e s t , i = U i , r m                 ,   J i , r m < J i , r min U g b e s t , i       ,   J i , r m J i , r min
where J i , r m , min and J i , r min are the minimum cost values of the m-th individual and the whole population, respectively.
The PSO-based DMPC framework is illustrated in Figure 3, and the steps of the proposed VCTS control method are detailed in Algorithm 1.
Algorithm 1 Algorithm for the VCTS control
Input:  train state–space X i 1 t , X ^ i t , X i + 1 t , estimated train model A ^ i t line conditions (slope, curve, tunnel), speed limit, and other necessary parameters for the MPC controller and the PSO optimizer.
Output: train state–space X ^ i ( t + 1 ) , estimated train model A ^ i ( t + 1 ) .
Procedures:
1. Agent and environment initialization: initialize train model parameters A ^ i 0 , line conditions, line speed limit distribution, reference profile, and PSO optimizer parameters.
2. MPC controller process:
     (a) Controller initialization: set the horizon Np, the population Ng, the learning rates c1 and c2 for personal best value and global best value, respectively, and the inertial coefficient ω l .
     (b) State prediction: utilize A ^ i t to generate a series of control inputs U i t and predict a predicted a series of train state for all individuals.
     (c) PSO process:
          (1) Cost calculation: calculate the cost values for all individuals according to Equation (17).
          (2) Best choosing: update the personal best values and global best value according to Equations (41) and (42).
          (3) Coefficient update: calculate the updated control input for all individu-als in the next iteration time according to Equations (38) and (40).
          (4) Back to step (b) until the optimization process reaches the maximum it-eration time, Nr.
     (d) State update: utilize A ^ i t and the optimal predicted control input u i ( t | t ) to calculate the predicted train state information X ^ i ( t + 1 ) at time (t + 1).
3. Train model update: compare the predicted train state information X ^ i ( t + 1 ) and the theoretical train state information X i ( t + 1 ) and update the train model A ^ i ( t + 1 ) to a new one at time (t + 1), according to Equation (27).
4. Back to step 2 until the train reaches the destination of the simulation process.
5. Result output: record the train state information of every time step and generate the train operating profile.

4. Result

The simulation experiments consist of two parts: validation of algorithm effectiveness and analysis of the adaptive mechanism. The first part of the experiments verifies that the proposed method can ensure the stable operation of the VCTS from multiple perspectives, including different initial tracking speeds, speed and distance differences between adjacent trains, tracking speed, and position errors. The second part analyzes the performance of Algorithm 1, comparing the ability of controllers with and without the ADM to handle uncertainties of the train dynamic model.

4.1. Experiment Setup

The length of the railway line in the simulation is set as 80 km and the gradient of the line is shown in Table 1. The VCTS consists of four trains, e.g., one leader train and three follower trains. The reference trajectory is a cruising profile along the line at a speed of 288 km/h, which the leader train needs to track accurately. Four CRH-3 trains are used in the simulation. The traction characteristic curve and the basic resistance profile of the CRH-3 train are shown in Figure 4. The parameters of the CRH-3 train and the proposed controller are listed in Table 2 and Table 3, respectively. Experiments are conducted on a PC (2.6 GHz processor speed and 4 GB memory size) with the OS of Windows 11. The simulation software is Matlab2016b.

4.2. Method Effectiveness Validation

The effectiveness of the proposed algorithm is analyzed from two aspects, including tracking performance and convergence performance.
First, we introduce the simulation parameters of this experiment. The speeds of the leader train and the three follower trains are set to 288 km/h, 284.4 km/h, 280.8 km/h, and 277.2 km/h, respectively. The tracking distances between the leader train and follower train 1, between follower train 1 and follower train 2, and between follower train 2 and follower train 3 are all set to 350 m. The initial train basic resistance is selected according to Table 2 and Equation (2). Because of the exterior disturbances, we set the actual train basic resistance as a + b v i ( t ) + c + Δ c i v 2 i ( t ) , where Δ c i = 0.00005 .
The tracking performance of trains in the VCTS at different initial speeds is shown in Figure 5, Figure 6 and Figure 7. The leader train precisely tracks the expected profile at a constant speed of 288 km/h. Due to the initial tracking speed and the distance between adjacent trains, the control strategy for the three follower trains first requires acceleration. This causes the tracking distance between neighboring trains to increase further. When the follower trains reach 292 km/h, 296 km/h, and 298 km/h, respectively, they begin to decelerate to balance the speed and distance tracking performance.
Since follower trains 1 and 2 have bidirectional T2T communication, their tracking speeds fluctuate around the expected cruising speed. In contrast, follower train 3 only receives state information and predicted state information within a horizon from follower train 2, resulting in larger variations in tracking speed and distance that require regulation. Consequently, the speed profile of follower train 3 gradually converges to the desired value. Finally, the VCTS reaches stable operation at 51 km.
Figure 8 and Figure 9 show the predicted speed error and distance error for each train in the VCTS using the proposed algorithm. This experiment aims to verify whether the designed adaptive mechanism is able to adjust the train model to the real value. In actuality, it is difficult to calculate every single value in the train model matrix A i . Therefore, we choose to estimate the systematic model as a whole instead of conducting parameter identification. Due to the influence of train model bias, the initial predicted speed error is 0.15 km/h, and the initial predicted distance error is 0.02 m. The adaptive mechanism can adjust according to the system tracking error, meaning that it will optimize the train model parameters to match the real one. After approximately 80 s, the predicted speed and distance errors converge to zero.
Additionally, we use the rate of change in acceleration, called jerk, to represent the train control comfort index. From the simulation results, the maximum jerk values are 0.205 m/s3 for the leader train, 0.208 m/s3 for follower train 1, and 0.210 m/s3 for follower trains 2 and 3. The average values of jerk for the trains in the VCTS are 0.00004 m/s3, 0.00015 m/s3, 0.00015 m/s3, and 0.00006 m/s3, respectively.

4.3. Adaptive Mechanism Analysis

This experiment aims to compare the tracking performance and train state prediction performance with and without the adaptive mechanism (ADM) under multiple disturbance conditions.
The simulation parameters are set as follows. The speed of the leader train is set to 288 km/h, while three follower trains operate at 291.6 km/h, 295.2 km/h, and 298.8 km/h, respectively. The tracking distances are configured as follows: 350 m between the leader train and follower train 1, and 300 m each between follower trains 1 and 2 and between follower trains 2 and 3. The actual train basic resistance is set as a + b + Δ b i v i ( t ) + c + Δ c i v 2 i ( t ) , where Δ b i = 0.0005 and Δ c i = 0.00005 . Additionally, we consider the input perturbation of the catenary and traction system, and Δ u i follows the Gaussian distribution, Δ u i ~ N 10 , 1 .
Figure 10 shows the tracking performance comparison of trains in the VCTS with and without the ADM. We can observe that the trends of the profiles in Figure 10 differs from those in Figure 5. This is because the speed of follower trains 1–3 exceeds the desired cruising speed, even though the initial tracking distance remains constant at around 300 m. Thus, the controller in this simulation adjusts the control input to balance tracking speed and distance directly. From Figure 10, we see that both groups of profiles converge to a cruising speed, though the final speeds differ. The VCTS with the ADM converges to 288 km/h, while the one without the ADM converges to 287.8 km/h. This discrepancy occurs because the MPC controller, based on the nominal train model, cannot fully eliminate the bias relative to the real model.
Figure 11 and Figure 12 illustrate the predicted speed and distance error profiles of trains in the VCTS with and without the ADM. We observe that the predicted state values of the controller with the ADM converge to zero after 40 s, indicating that the predicted train model has aligned with the actual model. In contrast, the predicted state values of the controller without the ADM exhibit fluctuations until 400 s, as the VCTS had not yet reached a stable condition.
Within the DMPC optimization horizon, the controller consistently uses the nominal model for planning. Although DMPC inherently provides robustness against disturbances, a persistent error exists between the nominal model and the actual model. As a result, the predicted speed error and distance error converge to 0.17 km/h and 0.021 m, respectively.
To evaluate the passenger comfort under multi-disturbance conditions, we analyze the jerk performance of the proposed algorithm. The maximum jerk of the leader train is 0.205 m/s3, that of follower train 1 is 0.203 m/s3, and that of follower trains 2 and 3 is 0.202 m/s3. The average values of jerk for trains in the VCTS are 0.00004 m/s3, 0.00017 m/s3, 0.00017 m/s3, and 0.00018 m/s3, respectively.
Since MPC is an online controller, the calculation time of each horizon is recorded accordingly. The average computation times for the two experiments were 50.38 ms and 50.21 ms, respectively. Given that the control period of actual ATO actuator in China is 200 ms, the proposed algorithm satisfies real-time requirements for the operation of the VCTS.

5. Conclusions

This paper presents a DMPC approach for the control of VCTS which incorporates uncertainties in basic resistance and control inputs, utilizing an ADM to mitigate errors caused by external disturbances. A multi-objective optimization model was established, considering position error, speed error, and ride comfort, while enforcing constraints such as actuator saturation, speed limits, and safe tracking distance. The PSO algorithm was employed to solve the non-convex optimization problem globally, ensuring robust and efficient control.
Simulation experiments demonstrated the effectiveness of the proposed method in achieving stable operation of VCTS under various initial conditions. The performance of the adaptive mechanism was compared with that of a non-adaptive controller, revealing that the ADM effectively handled uncertainties in the train dynamics model and achieved the reduction of tracking errors while improving ride comfort.
In conclusion, the proposed DMPC approach, combined with ADM and PSO optimization, offers a promising solution for the control of VCTS. Future work could explore the integration of additional real-world constraints and further validation in diverse operational environments to enhance the practical applicability of the proposed method.

Author Contributions

Conceptualization, Z.H. (Zhiyu He), Z.H. (Zhuopu Hou) and N.X.; methodology, Z.H. (Zhiyu He), Z.H. (Zhuopu Hou) and D.L.; software, Z.H. (Zhiyu He); investigation, Z.H. (Zhuopu Hou); writing—original draft preparation, Z.H. (Zhuopu Hou) and Z.H. (Zhiyu He); writing—review and editing, N.X., D.L. and M.Z.; supervision, N.X., D.L. and M.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Nature Science Foundation of China (grant number 12473072), the Science and Technology Research Project of China Railway (grant number L2024G004), and the Major Project of China Academy of Railway Sciences Co., Ltd. (grant number 2023YJ312).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

Authors Zhiyu He, Zhuopu Hou, Ning Xu, Dechao Liu were employed by the China Academy of Railway Sciences Corporation Limited. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Dong, H.; Ning, B.; Cai, B.; Hou, Z. Automatic train control system development and simulation for high-speed railways. IEEE Circuits Syst. Mag. 2010, 10, 6–18. [Google Scholar] [CrossRef]
  2. Ning, B.; Tang, T.; Qiu, K.; Gao, C. CBTC (Communication Based Train Control): System and development. WIT Transactions on State of the art in Science and Engineering. WIT Trans. State Art Sci. Eng. 2010, 46, 37–44. [Google Scholar]
  3. Mo, Z. Prospect on Technical Development of Intelligent Railway Train Control System. Railw. Signal. Commun. 2022, 58, 1–7. [Google Scholar]
  4. Ning, B. Absolute braking and relative distance braking—Train operation control modes in moving block systems. WIT Trans. Built Environ. 1998, 34, 991–1001. [Google Scholar]
  5. Bock, U.; Varchmin, J.U. Enhancement of the Occupancy of Railroads Using Virtually Coupled Train Formations. In Proceedings of the World Congress on Railway Research (WCRR), Tokyo, Japan, 16–20 November 1999. [Google Scholar]
  6. Xun, J.; Li, Y.; Liu, R.; Li, R.; Liu, Y. A Survey on Control Methods for Virtual Coupling in Railway Operation. IEEE Open J. Intell. Transp. Syst. 2022, 3, 838–855. [Google Scholar] [CrossRef]
  7. Wu, Q.; Ge, X.; Han, Q.L.; Liu, Y. Railway Virtual Coupling: A Survey of Emerging Control Techniques. IEEE Trans. Intell. Veh. 2023, 8, 3239–3255. [Google Scholar] [CrossRef]
  8. Felez, J.; Vaquero-Serrano, M.A. Virtual Coupling in Railways: A Comprehensive Review. Machines 2023, 11, 521. [Google Scholar] [CrossRef]
  9. Su, H.; Chai, M.; Chen, L.; Lv, J. Deep learning-based model predictive control for virtual coupling railways operation. In Proceedings of the 2021 IEEE International Intelligent Transportation Systems Conference (ITSC), Indianapolis, IN, USA, 19–22 September 2021; pp. 3490–3495. [Google Scholar]
  10. Tang, H.; Wang, Q.; Feng, X. Robust stochastic control for high-speed trains with nonlinearity, parametric uncertainty, and multiple time-varying delays. IEEE Trans. Intell. Transp. Syst. 2017, 19, 1027–1037. [Google Scholar] [CrossRef]
  11. Ding, Y.; Lyu, J.; Liu, C.; Gao, J.; Lyu, J. Research on Train Collaborative Control Method for Urban Rail Transit Based on Distributed Model Predictive Control. Railw. Signal. Commun. 2024, 60, 11–19. [Google Scholar]
  12. Felez, J.; Kim, Y.; Borrelli, F. A model predictive control approach for virtual coupling in railways. IEEE Trans. Intell. Transp. Syst. 2019, 20, 2728–2739. [Google Scholar] [CrossRef]
  13. Wang, P.; Zhu, Y.; Zhu, W. Robust cooperative train trajectory optimization with stochastic delays under virtual coupling. IET Intell. Transp. Syst. 2023, 17, 1415–1433. [Google Scholar] [CrossRef]
  14. Park, J.; Lee, B.-H.; Eun, Y. Virtual coupling of railway vehicles: Gap reference for merge and separation, robust control, and position measurement. IEEE Trans. Intell. Transp. Syst. 2020, 23, 1085–1096. [Google Scholar] [CrossRef]
  15. Muniandi, G. Blockchain-enabled virtual coupling of automatic train operation fitted mainline trains for railway traffic conflict control. IET Intell. Transp. Syst. 2020, 14, 611–619. [Google Scholar] [CrossRef]
  16. Mayne, D.Q.; Rawlings, J.B.; Rao, C.V.; Scokaert, P.O.M. Constrained model predictive control: Stability and optimality. Automatica 2000, 36, 789–814. [Google Scholar] [CrossRef]
  17. Felez, J.; Vaquero-Serrano, M.A.; de Dios Sanz, J. A Robust Model Predictive Control for Virtual Coupling in Train Sets. Actuators 2022, 11, 372. [Google Scholar] [CrossRef]
  18. Vaquero-Serrano, M.A.; Felez, J. A decentralized robust control approach for virtually coupled train sets. Comput.-Aided Civ. Infrastruct. Eng. 2023, 38, 1896–1915. [Google Scholar] [CrossRef]
  19. Liu, Y.; Liu, R.; Wei, C.; Xun, J.; Tang, J. Distributed Model Predictive Control Strategy for Constrained High-Speed Virtually Coupled Train Set. IEEE Trans. Veh. Technol. 2022, 71, 171–183. [Google Scholar] [CrossRef]
  20. Liu, X.; Dabiri, A.; Wang, Y.; Xun, J.; De Schutter, B. Distributed Model Predictive Control for Virtually Coupled Heterogeneous Trains: Comparison and Assessment. IEEE Trans. Intell. Transp. Syst. 2024, 25, 20753–20766. [Google Scholar] [CrossRef]
  21. Luo, X.; Tang, T.; Liu, H.; Zhang, L.; Li, K. An Adaptive Model Predictive Control System for Virtual Coupling in Metros. Actuators 2021, 10, 178. [Google Scholar] [CrossRef]
  22. Luo, X.; Tang, T.; Yin, J.; Liu, H. A robust MPC approach with controller tuning for close following operation of virtually coupled train set. Transp. Res. Part C Emerg. Technol. 2023, 151, 104116. [Google Scholar] [CrossRef]
  23. Bai, W.; Lin, Z.; Dong, H.R.; Ning, B. Distributed cooperative cruise control of multiple high-speed trains under a state-dependent information transmission topology. IEEE Trans. Intell. Transp. Syst. 2019, 20, 2750–2763. [Google Scholar] [CrossRef]
  24. Diwan, S.P.; Deshpande, S.S. Fast nonlinear model predictive controller using parallel PSO based on divide and conquer approach. Int. J. Control 2022, 96, 2230–2239. [Google Scholar] [CrossRef]
  25. Hong, S.H.; Ou, J.; Wang, Y. Physics-guided neural network and GPU-accelerated nonlinear model predictive control for quadcopter. Neural Comput. Appl. 2022, 35, 393–413. [Google Scholar] [CrossRef]
  26. Fan, W.; Hu, Z.; Veerasamy, V. PSO-Based Model Predictive Control for Load Frequency Regulation with Wind Turbines. Energies 2022, 15, 8219. [Google Scholar] [CrossRef]
Figure 1. Structural composition and communication topology of the VCTS.
Figure 1. Structural composition and communication topology of the VCTS.
Mathematics 13 01641 g001
Figure 2. The control scheme with the ADM in a rolling horizon.
Figure 2. The control scheme with the ADM in a rolling horizon.
Mathematics 13 01641 g002
Figure 3. The PSO-based DMPC framework, where the superscript sign ‘*’ represents the actual value of the parameter.
Figure 3. The PSO-based DMPC framework, where the superscript sign ‘*’ represents the actual value of the parameter.
Mathematics 13 01641 g003
Figure 4. The traction characteristic curve and the basic resistance profile of the CRH-3 train.
Figure 4. The traction characteristic curve and the basic resistance profile of the CRH-3 train.
Mathematics 13 01641 g004
Figure 5. The speed profiles of trains in the VCTS at different initial speeds.
Figure 5. The speed profiles of trains in the VCTS at different initial speeds.
Mathematics 13 01641 g005
Figure 6. The tracking speed difference profiles of each neighboring train.
Figure 6. The tracking speed difference profiles of each neighboring train.
Mathematics 13 01641 g006
Figure 7. The tracking distance difference profiles of each neighboring train.
Figure 7. The tracking distance difference profiles of each neighboring train.
Mathematics 13 01641 g007
Figure 8. The predicted speed error profiles of trains in the VCTS.
Figure 8. The predicted speed error profiles of trains in the VCTS.
Mathematics 13 01641 g008
Figure 9. The predicted distance error profiles of trains in the VCTS.
Figure 9. The predicted distance error profiles of trains in the VCTS.
Mathematics 13 01641 g009
Figure 10. The speed profiles of the trains in the VCTS with and without the ADM.
Figure 10. The speed profiles of the trains in the VCTS with and without the ADM.
Mathematics 13 01641 g010
Figure 11. The predicted speed error profiles of trains in the VCTS with and without the ADM.
Figure 11. The predicted speed error profiles of trains in the VCTS with and without the ADM.
Mathematics 13 01641 g011
Figure 12. The predicted distance error profiles of trains in the VCTS with and without the ADM.
Figure 12. The predicted distance error profiles of trains in the VCTS with and without the ADM.
Mathematics 13 01641 g012
Table 1. The gradient of the simulation line.
Table 1. The gradient of the simulation line.
RangeGradient
0–20 km0
20–40 km3‰
40–60 km0
60–80 km−2‰
Table 2. Parameters of the CRH-3 train.
Table 2. Parameters of the CRH-3 train.
ParameterSymbolValue
Train massm536 t
Maximum traction force u max 300 kN
Train resistance coefficienta0.79
Train resistance coefficientb0.0064
Train resistance coefficientc0.000115
Train lengthL200 m
Speed limit v lim 310 km/h
Emergency braking deceleration v ˙ −0.8 m/s2
Table 3. Parameters of the proposed controller.
Table 3. Parameters of the proposed controller.
ParameterSymbolValue
Prediction horizon N p 10
Sampling time Δ t 1 s
Weight of the speed tracking error ω v 0.7
Weight of the distance tracking error ω s 0.1
Weight of comfort ω Q 0.2
Safety margin redundancy d min 250 m
PopulationNg50
Maximum iteration timeNr50
Learning ratec11.5
Learning ratec21.5
Inertial coefficient ω l , max 0.9
Inertial coefficient ω l , min 0.1
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

He, Z.; Hou, Z.; Xu, N.; Liu, D.; Zhou, M. A Distributed Model Predictive Control Approach for Virtually Coupled Train Set with Adaptive Mechanism and Particle Swarm Optimization. Mathematics 2025, 13, 1641. https://doi.org/10.3390/math13101641

AMA Style

He Z, Hou Z, Xu N, Liu D, Zhou M. A Distributed Model Predictive Control Approach for Virtually Coupled Train Set with Adaptive Mechanism and Particle Swarm Optimization. Mathematics. 2025; 13(10):1641. https://doi.org/10.3390/math13101641

Chicago/Turabian Style

He, Zhiyu, Zhuopu Hou, Ning Xu, Dechao Liu, and Min Zhou. 2025. "A Distributed Model Predictive Control Approach for Virtually Coupled Train Set with Adaptive Mechanism and Particle Swarm Optimization" Mathematics 13, no. 10: 1641. https://doi.org/10.3390/math13101641

APA Style

He, Z., Hou, Z., Xu, N., Liu, D., & Zhou, M. (2025). A Distributed Model Predictive Control Approach for Virtually Coupled Train Set with Adaptive Mechanism and Particle Swarm Optimization. Mathematics, 13(10), 1641. https://doi.org/10.3390/math13101641

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop