Next Article in Journal
The Effect of Environmental Regulation on Marine Economic Transformation under the Decentralized System: Evidence from Coastal Provinces in China
Next Article in Special Issue
Decoupling Characteristics and Torque Analytical Model of Sharing-Suspension-Windings Bearingless Switched Reluctance Motor Considering Flux-Linkage Saturation
Previous Article in Journal
Digital Financial Inclusion to Corporation Value: The Mediating Effect of Ambidextrous Innovation
Previous Article in Special Issue
A Review of Life Prediction Methods for PEMFCs in Electric Vehicles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Trajectory Following Control of Modern Configurable Multi-Articulated Urban Bus Based on Model Predictive Control

School of Electrical Engineering, Beijing Jiaotong University, Beijing 100044, China
*
Author to whom correspondence should be addressed.
Sustainability 2022, 14(24), 16619; https://doi.org/10.3390/su142416619
Submission received: 21 October 2022 / Revised: 1 December 2022 / Accepted: 6 December 2022 / Published: 12 December 2022
(This article belongs to the Special Issue Emerging Research in Intelligent New Energy Vehicles)

Abstract

:
The configurable and multi-articulated urban bus is a new type of urban vehicle with the advantages of road vehicles and urban rail trains. However, its articulated and long body structure will bring about difficulties in steering control and trajectory following. Moreover, the following carriages easily deviate from their expected path, leading to the fishtailing and folding of the compartment. In this paper, we propose a generic framework that allows the rapid building of kinematic models for the new train. By introducing the MPC theory, we design a trajectory tracking controller for a multi-articulated vehicle with an arbitrary number of carriages. To verify our models, we establish kinematic models and a trajectory tracking controller for a multi-articulated train with different number of compositions in MATLAB. Under the double-lane-change track and serpentine road conditions, the trajectory tracking of the train is simulated. The influence of the number of carriages, velocity, and length of carriage on the trajectory tracking are further analyzed. The experimental results show the feasibility of our method. Our findings thus provide significant guidance for the design, actual configuration, and trajectory tracking control of the new multi-articulated urban bus.

1. Introduction

In recent years, the urban population has continued to grow with the rapid development of China’s economy. However, due to the imbalance of supply and demand in urban traffic, the lagging of traffic development and supporting facilities, and the relatively backward construction of large-capacity rail transit [1], the problem of traffic congestion is becoming more and more serious. Urban public transport systems in large and medium-sized cities face enormous challenges in terms of efficiency and capacity.
The modern urban bus is a new type of urban vehicle. It has the advantages of flexible operation, low infrastructure cost, large capacity, and flexible formation similar to urban rail trains. Therefore, it is an excellent supplement to the existing urban transportation system and the focus of the future development of urban transportation. The train consists of driver, trailer, and power modules interconnected with passive rotary joints. It has the function of multi-axle steering, which can significantly decrease the turning radius and improve the flexibility of the train in complex driving conditions.
However, the bus’s articulated and long body structure brings about difficulties in steering control and increases the area of road occupied when turning. Moreover, the following carriages easily deviate from the expected driving path, leading to the tail swing and folding of the compartment. Therefore, it is necessary to study the trajectory tracking control of the modern urban bus.
The tracking self-guiding system of the vehicle mainly includes two parts: the pose perception system and the trajectory following control system. Since modern urban buses share the right of way with ordinary vehicles on urban roads, they will interact with other vehicles during actual operation. The pose sensor of the vehicle body detects the surrounding environment information of the vehicle while acquiring the pose information of the vehicle. It transmits the data to the trajectory following control system after data fusion. Therefore, based on the known environmental information and pose information, it is a problem to be solved to ensure that the modern urban bus runs on its predetermined trajectory.
A kinematic model of the multi-articulated urban bus is very important in the rapid planning of nominal maneuvering, vehicle motion prediction, low-speed maneuvering control, and driver assistance design [2]. Therefore, it is necessary to establish a kinematic model. However, the current research on the kinematic modeling of articulated vehicles is mainly focused on special vehicles with a limited number of trucks or compartments, such as single articulated vehicles [3], underground mining articulated vehicles [4], and double articulated vehicles [5,6]. For multi-articulated vehicles, the research mainly focuses on the N-trailer vehicle, which is usually equipped with fixed truck wheels. Michalek proposed a modular modeling approach that allows the construction of a compact nonholonomic kinematic model of a multi-articulated bus consisting of a tractor and N wagons with fixed or steerable wheels [2].The trajectory following problem of the modern urban bus is a highly nonlinear optimization problem with multi-joint constraints, and the joint coupling between multi-body systems increases the nonlinearity and complexity of the model, which affects the difficulty of controller design [7]. There are few studies on the trajectory following problem of multi-articulated urban buses. The current control methods mainly include traditional feedback control, optimal control, intelligent control, etc. [8,9,10].
Reference [11] proposed a trajectory following feedback control strategy for a coupled vehicle with five axles and three steering axles, and the control effect was verified through experiments. A. Astolfi et al. [12] established a trajectory compensation model for an articulated semi-trailer and designed a trajectory following controller for straight and circular trajectories. This solved the problem of steering limitations of corner saturation. For the tracking control of any trajectory, Mitsuji Sampei [13] took the distance traveled by the vehicle along the desired trajectory as the time scale and used the precise feedback linearization method to design a path-tracking controller for articulated vehicles. This study achieved good results in the backward-moving eight-shaped path-following control experiment.
With the continuous development of computer technology and control theory, intelligent algorithms have been increasingly used in trajectory following control in recent years, for example, fuzzy control algorithms, neural network algorithms, and genetic algorithms, etc. [14,15,16]. Because the traditional PID control algorithm is sensitive to working conditions and has poor robustness when solving complex trajectory following control problems, fuzzy algorithms and neural network algorithms are often used to optimize PID parameters. Reference [17] designed a fuzzy PID controller for the trajectory following system of an articulated tracked vehicle. The PID parameters were optimized through the fuzzy controller, and the vehicle had fast and accurate tracking performance under straight and curved road conditions. Reference [18] proposed a genetic algorithm to optimize the weight matrix of LQR to realize the stable trajectory following control of articulated vehicles. Reference [19] used the genetic particle algorithm to optimize the weight coefficient of the LQR control algorithm and improve the optimization operation speed; the study switched the weight coefficient according to different working conditions to achieve the followability and driving stability of the articulated semi-trailer.
The intelligent control method has self-learning and adaptive functions, but it has not yet been maturely applied in the field of trajectory following control. The optimal control is simple in design and suitable for solving multi-input and multi-output problems. The most commonly used method of optimal control in trajectory following control is LQR (Linear Quadratic Regulator) control and MPC (Model Predictive Control) control [20,21]. Reference [22] proposed a double-closed-loop trajectory following control method for articulated semi-trailers, using a highly robust sliding mode control as the dynamic speed controller. The study proved that the combination of MPC and sliding mode control had better tracking and smaller tracking error than the combination of LQC and sliding mode control. Reference [23] adopted the yaw rate based MPC control to suppress road curvature disturbance and proposed a vehicle sideslip compensator to correct the predictive model. Compared with traditional feedback control, optimal control has the advantages of simple design and strong robustness; compared with LQR control, MPC control has more control advantages.
The two main contributions of this paper are as follows:
(1)
This paper proposes a general framework to quickly construct a kinematic model of a new type of modern urban bus. Unlike traditional N trailers, this train has a completely new structure. It consists of two drive modules with steering shafts and any number of independent power modules and wheelless trailer modules, which are interconnected by passive swivel joints. The trailer module and power module can be combined flexibly according to the passenger capacity.
(2)
Based on the kinematic model, by introducing the MPC model a trajectory tracking controller for a multi-articulated vehicle with an arbitrary number of carriages is designed, and the influences of the number of carriages, velocity, and length of carriage on the trajectory tracking are further analyzed.
As far as the author knows, it is the first time relevant analysis on the modern urban buses with the above-mentioned structure has been undertaken.
The rest of the paper is structured as follows: Section 2 presents the structure and kinematics model of the novel configurable multi-articulated urban bus, Section 3 presents the proposed MPC-based train trajectory tracking strategy, Section 4 presents the simulation results for different train combinations, and Section 5 summarizes the paper’s contributions and discusses directions for future work.

2. Modern Configurable Multi-Articulated Urban Bus

2.1. Structure of the Train

The modern urban bus is an articulated and configurable trackless self-guided rubber-tired trolley bus. The whole train adopts a 100% low-floor structure, which makes it convenient for passengers to get on and off the train. The train is composed of driver modules (DM), trailer modules (TM), and central modules (CM). Driver modules are situated at both ends of the train, which allow the train to travel in both directions.
The driver module is equipped with a non-power running gear composed of a steering axle. The central module is equipped with a power running gear composed of two hub motors to provide driving power. The trailer module is without running gear; its supporting force is provided by the adjacent central modules. The trailer modules and power modules can be grouped flexibly according to passenger volume; this also allows the train to meet the transportation needs of different passenger flows and minimize the energy consumption of transportation. The modules are connected by articulations composed of a fixed hinge, an elastic hinge, and a free hinge. The yaw motion of the train is mainly realized by the fixed hinges. The structure of the train is shown in Figure 1.
The steering system of the train is mainly composed of two parts:
(1)
Electric power steering of the head driver module and adaptive steering of the rear driver module.
(2)
The central module realizes the steering by controlling the speed difference between the two hub motors. The train is equipped with a self-guided tracking system composed of a position and attitude perception system and a trajectory tracking control system. The perception system obtains the current train posture information through a differential global positioning system (GPS), LIDARs, monocular cameras, and inertial measurement units (IMUs). The trajectory tracking control system gives the steering commands according to the vehicle position, its posture information, the driver’s steering wheel angle, and the driving throttle information to realize the coordinated steering of the train and keep the train running on its expected path.

2.2. Kinematic Models of the Train

As the modern urban bus is mainly designed to run on urban roads with good road conditions and at low speed, the modeling proposed in the sequel is built on the following assumptions:
(1)
The impact of the elastic deformation on the axial direction of the tire is ignored. That is, the tires do not produce sideslip motion.
(2)
All the wheels rotate without skid and/or slip effects.
(3)
Only the planar motion of the vehicles is considered. That is, roll and pitch degrees of freedom are neglected.
(4)
All the vehicle’s bodies are rigid.
(5)
Considering that the central module is much smaller than the driver and trailer modules, the train is further equivalent to the structure shown in Figure 2.
Considering that the trailer and central modules can be grouped flexibly according to passenger volume, assume that a train contains two driver modules, i − 2 central modules, and i − 3 trailer modules. The kinematic models of the train are established in the XOY global coordinate frame. Assume that the Ackerman steering condition has been met and that point o is the instantaneous steering center of the train.
The coordinates of the center of Axle i is ( X i , Y i ) , the yaw angle of Axle i is φ i , in radians; δ f   and δ r are the equivalent steering angles of the head and tail axle, respectively. ϕ j is the articulation angle between the j + 1 axle and the carriage j, in radians. v i is the velocity of Axle i, in m/s; L i is the length of the carriage; the yaw angle of carriage i is θ i , in radians.
Based on the geometric relationship of the carriages, the following constraints are met:
{ X j + 1 = X j L j cos θ j Y j + 1 = Y j L j sin θ j , j = 1 , 2 , , i 1
Since the rigid body does not consider deformation, the following constraints are met:
{ v 2 cos ( ϕ 1 ) = v 1 cos δ f v j + 2 cos ( ϕ j + 1 ) = v j + 1 cos ( θ j + 1 θ j ϕ j ) , j = 1 , 2 , i 3 v i cos ( δ r ) = v i 1 cos ( θ i 1 θ i 2 ϕ i 2 )
According to Figure 2, the yaw angles and the articulation angles meet the following constraints:
{ φ 1 = θ 1 + δ f φ j + 1 = θ j + ϕ j , j = 1 , 2 , , i 2 φ i = θ i 1 + δ r
Set the velocity of the first axle as the driver’s expected velocity, decompose the speed of each axle along the X-axis and Y-axis, and substitute (3), then we can obtain the state equations for each axle.
{ X ˙ 1 = v 1 cos ( θ 1 + δ f ) Y ˙ 1 = v 1 sin ( θ 1 + δ f ) X ˙ j + 1 = v j + 1 cos ( θ j + ϕ j ) Y ˙ j + 1 = v j + 1 sin ( θ j + ϕ j ) X ˙ i = v i cos ( θ i 1 + δ r ) Y ˙ i = v i sin ( θ i 1 + δ r ) , j = 1 , 2 , , i 2
By analyzing the velocity at both ends of the carriage, we can obtain the yaw rate of the carriage:
{ θ ˙ 1 = ( v 1 sin ( δ f ) v 2 sin ( ϕ 1 ) ) / L 1 θ ˙ j + 1 = ( v j + 1 sin ( θ j + 1 θ j ϕ j ) v j + 2 sin ( ϕ j + 1 ) ) / L j + 1 , j = 1 , 2 , , i 3 θ ˙ i 1 = ( v i 1 sin ( θ i 1 θ i 2 ϕ i 2 ) v i sin ( δ r ) ) / L i 1
The central module is driven by two hub motors and adopts the differential speed control system to realize module steering. Therefore, the rate of the yaw angle and the velocities of the wheels meet the following constraints:
φ ˙ j + 1 = v j + 1 R v j + 1 L D j + 1 , j = 1 , 2 , , i 2
where D is the wheelbase of the axle, in meter. v R and v L are the velocities of the left and right wheel of the same axle, respectively; and they meet the following constraints:
v j = v j R + v j L 2
According to (4) and (5), the kinematic models of the modern urban bus can be obtained.

2.3. Linearization and Discretization of the Model

Since the kinematic model of the train is a non-linear and time-varying system, linearization and discretization are required to improve the real-time performance of the system. Take x and u as the state variable and controlled variable, respectively. The state equations of the train can be abbreviated as follow:
x ˙ = f ( x , u )
where x = ( X , Y , θ ) T ; u = ( δ f , Φ , δ r ) T .
Assume that the train can completely pass the expected path. That is, each point on the expected path satisfies the kinematic equations of the train, and the kinematic models can be linearized by the error between the reference and actual state of the train. The reference state and controlled variables of the train at any time satisfy (9).
x ˙ r = f ( x r , u r )
Performing Taylor expansion of the state equations at the reference point, we can obtain the system’s continuous linearized state equations.
x ˜ ˙ = A ( t ) x ˜ + B ( t ) Δ u
where x ˜ = x x r , Δ u = u u r , A ( t ) and B ( t ) are the Jacobian matrixes of function f with respect to x and u, respectively.
Suppose the sampling period is T s , and (10) can be discretized:
x ˜ ( k + 1 ) = A k , t x ˜ ( k ) + B k , t Δ u ( k )
where A k , t = 1 + T s A ( t ) , B k , t = T s B ( t ) .
According to the state equations of the train, specific expressions can be further obtained by (12) and (13).
A k , t = [ E 2 i × 2 i a 2 i × ( i 1 ) 0 ( i 1 ) × 2 i b ( i 1 ) × ( i 1 ) ]
B k , t = [ c 2 i × i d ( i 1 ) × i ]
where E 2 i × 2 i is an identity matrix; 0 ( i 1 ) × 2 i is a zero matrix, and a 2 i × ( i 1 ) , b ( i 1 ) × ( i 1 ) , c 2 i × i and d ( i 1 ) × i are shown as below.
{ a 2 i × ( i 1 ) = [ v 1 sin ( θ 1 + δ f ) T 0 0 0 0 v 1 cos ( θ 1 + δ f ) T 0 0 0 0 v 2 sin ( θ 1 + ϕ 1 ) T 0 0 0 0 v 2 cos ( θ 1 + ϕ 1 ) T 0 0 0 0 0 0 0 0 0 0 0 0 0 0 v j + 1 sin ( θ j + ϕ j ) T 0 0 0 0 v j + 1 cos ( θ j + ϕ j ) T 0 0 0 0 0 0 0 0 0 0 0 0 0 0 v i sin ( θ i 1 + δ r ) T 0 0 0 0 v i cos ( θ i 1 + δ r ) T ] b ( i 1 ) × ( i 1 ) = [ 1 v 2 cos ( θ 2 θ 1 ϕ 1 ) T / L 2 0 0 0 0 1 v 2 cos ( θ 2 θ 1 ϕ 1 ) T / L 2 0 0 0 0 0 0 0 1 v j + 1 cos ( θ j + 1 θ j ϕ j ) T / L j + 1 v j + 2 cos ( θ j + 2 θ j + 1 ϕ j + 1 ) T / L j + 2 0 0 0 0 1 v j + 2 cos ( θ j + 2 θ j + 1 ϕ j + 1 ) T / L j + 2 ] T c 2 i × i = [ v 1 sin ( θ 1 + δ f ) T 0 0 0 0 v 1 cos ( θ 1 + δ f ) T 0 0 0 0 0 0 0 0 0 0 0 0 0 0 v j + 1 sin ( θ j + ϕ j ) T 0 0 0 0 v j + 1 cos ( θ j + ϕ j ) T 0 0 0 0 0 0 0 0 0 0 0 0 0 0 v i 1 sin ( θ i 2 + δ r ) T 0 0 0 0 v i 1 cos ( θ i 2 + δ r ) T ] d ( i 1 ) × i = [ v 1 cos ( δ f ) T / L 1 v 2 cos ( ϕ 1 ) T / L 1 0 0 0 0 0 0 v 2 cos ( θ 2 θ 1 ϕ 1 ) T / L 2 v 3 cos ( ϕ 2 ) T / L 2 0 0 0 0 0 0 v j + 1 cos ( ϕ j ) T / L j 0 0 0 0 0 0 v j + 1 cos ( θ j + 1 θ j ϕ j ) T / L j + 1 0 0 0 0 0 0 v i 1 cos ( ϕ i 2 ) T / L i 2 0 0 0 0 0 0 v i 1 cos ( θ i 1 θ i 2 ϕ i 2 ) T / L i 1 v i cos ( δ r ) T / L i 1 ]
Therefore, for a modern urban bus with an arbitrary number of carriages, the linear and discrete kinematic models can be directly obtained by (11)–(13), which can be taken as the predictive model for trajectory tracking control.

3. Trajectory Following Strategy of Modern Urban Bus Based on MPC

According to the state equations of the train, we know that by controlling the steering and articulation angles for a given path and velocity of the train, the train can be driven on the expected path. Since the urban bus is a multi-input, multi-output, and multi-constrained system, we introduced the MPC method to optimize the control target of the train to achieve the trajectory following.
The MPC model mainly included three key parts [15]: predictive model, rolling optimization, and feedback correction. It established a predictive model to predict the future controlled variables and system states and then solved the optimization problem under the condition that the objective function and various constraints were satisfied. The optimization process could be repeated online as the sampling time went on to obtain a series of optimally controlled variables in the control time domain.
In this paper, we took the yaw angles’ deviation of the train as the controlled objective and established a predictive model based on the discretization model to determine the optimal objective at each moment. Then we took the optimal control value as input at the next moment. The principle of the MPC-based trajectory following controller is shown in Figure 3.

3.1. Construction of the Target Trajectory

When a vehicle is running, the trajectory is an irregular curve that can be regarded as a combination of curves with different curvatures. The trajectory of the modern urban bus is shown as Figure 4. The driver needs to adjust the steering angle of the vehicle according to the road conditions.
As the first axle of the vehicle is controlled by the driver, the steering angle of the first axle is generally given by a driver model, such as the optimal preview model. The vehicle control system controls the steering angle of the trailing car and the articulation angles of the intermediate ones to ensure that the vehicle follows the trajectory of the first axle. As the driver model is not the focus of this paper, for the sake of simplification, we ignored the driver model and assumed that the driver could adjust the steering angle of the first axle completely according to the expected path. The steering angle of the first axle is given according to the path directly.
Take the position of the first axle as the guide point of the trajectory and collect and store its position and yaw angle as the trajectory information of the train. As time goes by, the train continues to move forward, new coordinate values are stored, and the oldest stored ones are discarded. For this reason, a shift register is introduced. The process can be described as follow:
{ x ( k + 1 ) = E x ( k ) + F x ( 1 ) y ( k + 1 ) = E y ( k ) + F y ( 1 ) φ ( k + 1 ) = E φ ( k ) + F φ ( 1 ) s ( k + 1 ) = E s ( k ) + F s ( 1 )
where: E is a ( n + 1 ) × ( n + 1 ) matrix and F is a ( n + 1 ) × 1 matrix. And E = [ 0 I n 0 0 ] , F = ( 0 , 0 , , 0 , 1 ) T .

3.2. Predictive Model Establishment

The predictive model is the basis of the MPC controller. The predictive model predicts the posture information of the train in the future by analyzing its current posture information and the control amount of the system. According to (11), the state space is reconstructed at time k and the predictive model is given by (15).
ξ ( k + 1 | t ) = A ˜ k , t ξ ( k | t ) + B ˜ k , t Δ u ( k | t ) η ( k | t ) = C ˜ k , t ξ ( k | t )
where ξ ( k | t ) = [ x ( k | t ) u ( k 1 | t ) ] , A ˜ k , t = [ A k , t B k , t 0 m × n I m ] , B ˜ k , t = [ B k , t I m ] , C ˜ k , t = [ C k , t , 0 ]
Assume that the prediction time domain of the model is Np, and the control time domain is Nc. The state variables and output of the system in the prediction time domain can be obtained by (16).
ξ ˜ ( t + N p | t ) = A ˜ t N p ξ ˜ ( t / t ) + A ˜ t N p 1 B ˜ t Δ u ( t | t ) + + A ˜ t N p N c 1 B ˜ t Δ u ( t + N c | t ) Y ( t ) = ψ t ξ ˜ ( t / t ) + Θ t Δ U ( t | t )
where
A ˜ k , t = A ˜ t , B ˜ k , t = B ˜ t , Y ( t ) = [ η ( t + 1 | t ) , η ( t + 2 | t ) , , η ( t + N c | t ) , , η ( t + N p | t ) ] T ,
ψ t = [ C ˜ t A ˜ t , C ˜ t A ˜ t 2 , , C ˜ t A ˜ t N c , , C ˜ t A ˜ t N p ] T ,  
Δ U ( t | t ) = [ Δ u ( t | t ) , Δ u ( t + 1 | t ) , , Δ u ( t + N c | t ) ] T
Θ t = [ C ˜ t B ˜ t 0 0 0 C ˜ t A ˜ t B ˜ t C ˜ t B ˜ t 0 0 C ˜ t A ˜ t N c 1 B ˜ t C ˜ t A ˜ t N c 2 B ˜ t C ˜ t B ˜ t C ˜ t A ˜ t N c B ˜ t C ˜ t A ˜ t N c 1 B ˜ t C ˜ t C ˜ t A ˜ t N p 1 B ˜ t C ˜ t A ˜ t N p 2 B ˜ t C ˜ t A ˜ t N p N c 1 B ˜ t ]
In each control cycle, the coefficient matrix of the state variables is updated at time k as the optimal control input is recalculated, which in turn leads to the recalculation of the optimization problem to obtain a new optimal control sequence. This process is called rolling optimization, which always achieves the best control effect in the prediction time domain.

3.3. Objective Function and Optimization

Due to the incremental jump of the control quantity in each sampling period of the discrete system, chattering will occur during the driving process of the trackless vehicle, resulting in changes in the heading angle of each carriage and the articulation angle between carriages, which in turn reduces the stability of path tracking. Therefore, we adopted the error of the state variables and the control increment as the optimization objectives and limited the increment reasonably in this paper. The objective function is given as follows:
J ( ξ ˜ ( t ) , u ( t 1 ) , Δ U ( t ) ) = i = 1 N p ξ ( t + i / t ) ξ r e f ( t + i / t ) Q 2 + i = 1 N c 1 Δ U ( t + i ) | t R 2 + ρ ε 2
where Q is the error weight matrix; R is the weight matrix of controlled variables; ρ is the weight matrix of the relaxation factors; ε is the matrix of relaxation factors.
The first term of (17) reflects the vehicle’s ability to track the reference trajectory, and the second term reflects the requirement for smooth changes in the controlled variables. For a time-varying system, the introduction of the relaxation factors ensures a feasible solution of the optimization problem at each time.
To convert the objective function into a standard quadratic form, we introduce the output deviation in the forecast time domain:
E ( t ) = ψ t ξ ˜ ( t / t ) Y r e f ( t )
Combining the above equations, the final optimization objective function is obtained:
J ( ξ ˜ ( t ) , u ( t 1 ) , Δ U ( t ) ) = 1 2 [ Δ U ( t ) T , ε ] T H t [ Δ U ( t ) T , ε ] + G t [ Δ U ( t ) T , ε ] + P t
where H t = d i a g { 2 Θ t T Q Θ t + R , 1 } , G t = [ 2 E ( t ) T Q Θ t , 0 ] , P t = E ( t ) T Q E ( t ) .
Therefore, the optimization problem is equivalent to solving the following quadratic programming problem:
min Δ U t , ε [ Δ U ( t ) T , ε ] T H t [ Δ U ( t ) T , ε ] + G t [ Δ U ( t ) T , ε ] s . t . { Δ U min Δ U ( k ) Δ U max U min U ( t 1 ) + i = 1 k Δ U ( i ) U max Y min + ε ψ t ξ ( t / t ) + Θ t Δ U ( t ) Y max + ε , ε > 0
where k = t , , t + N c 2 , t + N c 1
( Δ U min , Δ U max ) is the constraint range of the input increment;
( U min , U max ) is the constraint range of the input of the kinematic system;
( Y min , Y max ) is the output constraint range of the system kinematics model.
By solving (20), we obtain the sequence of the controlled variables’ increments in the control time domain of the kth control cycle:
Δ U k = [ Δ u k , Δ u k + 1 , Δ u k + 2 , , Δ u k + N c 1 ]
where Δ u k is the increment of the controlled variables at kth moment.
The first element in the sequence is input into the system as the actual control increment, that is:
u ( k + 1 ) = u ( k ) + Δ u k
In this way, we obtain the value of the controlled variables at the next moment and input it into the kinematic models of the train. The control process is shown in Figure 5. Repeat the above process to control the vehicle to follow the expected trajectory.

4. Simulation Analysis

To verify the models proposed in this paper, we established kinematical vehicle models and a trajectory-following controller based on MPC in MATLAB. And under double lane-change track and serpentine road conditions, the trajectory following the train was simulated.
To reflect the different configurations of the train, we established kinematic models for three kinds of trains in this paper, as shown in Figure 6, which are three-carriages with four-axles, four-carriages with five-axles, and five-carriages with six-axles trains. The wheel tread was 2.6 m, the equivalent length of a cab was 7 m, and the equivalent length of a carriage was 7 m.

4.1. Simulation Road Conditions

(1)
Double lane-change track
The double lane-change track is one of the commonly used test tracks to analyze the stability and tracking performance of a car, which simulates the process of a car changing lanes, overtaking at a certain speed, and then returning to the original lane. Based on ISO 3888-1 [19], the dimensions of the double lane-change track are shown in Figure 7
The mathematical expression of the double lane-change track was fitted with a third-order polynomial as follow [20]:
{ y = 0 x [ 0 , 25 ) y = 6 0.54 x + 0.0144 x 2 0.000096 x 3 x [ 25 , 75 ) y = 6 x [ 75 , 100 ) y = 162 + 4.32 x 0.036 x 2 + 0.000096 x 3 x [ 100 , 150 ) y = 0 x [ 150 , 200 )
The fitted path and its curvature are shown in Figure 8 and Figure 9, respectively.
(2)
Serpentine track
The serpentine track is widely used in the pylon course slalom test, which tests the obstacle avoidance ability of the vehicle. Based on GB/T6323-2014 [24], the dimensions of the track are shown in Figure 10. According to the geometric dimensions of modern urban bus, the pile distance was set to 50 m. The mathematical expression of the track was fitted with a trigonometric function as follows [25]:
{ y = 0 x [ 0 , 25 ) y = 3 ( 1 cos ( ( x 25 ) 25 p i ) ) x [ 25 , 50 ) y = 6 cos ( ( x 50 ) 50 p i ) x [ 50 , 300 ) y = 3 ( 1 + cos ( ( x 300 ) 25 p i ) ) x [ 300 , 325 ) y = 0 x [ 325 , 400 )
The fitted path and its curvature are shown in Figure 11 and Figure 12, respectively.

4.2. Simulation Results

Under the double lane-change condition, the trajectories of each axle and the trajectory-following error of the train with different configurations are shown in Figure 13 and Figure 14.
Under the serpentine track condition, the trajectories of each axle and the trajectory-following error of the train with different configurations are shown in Figure 15 and Figure 16.
According to the simulation results, we can conclude that:
(1)
Based on the kinematic models and the MPC-based controller established in this paper, the train with different configurations can follow the expected path. The maximum error of the trajectory following under the double lane-change condition was ±0.025 m, while under the serpentine track condition, it was ±0.15 m.
(2)
The absolute value of the trajectory-following error of each axle was positively correlated with the curvature of the expected path. The sign of the leading car’s error was opposite to that of the following carriages. The maximum error of the train with different configurations was not significantly different.
(3)
When the road conditions change (such as a sudden change in the curvature of the path), the following car entered the path transition phase earlier than the leading car in position. That is to say, on the curve of the trajectory-following error, the error of the following carriage changed ahead of the path change point.
(4)
The steering and/or articulation angles of the train can follow the change of the curvature of the expected path and quickly converge when the road conditions are stable. The absolute value of the articulation angle was positively correlated with the curvature of the path. The sign of the steering angle of the leading car was opposite to the articulation angle of the following carriage.
(5)
The absolute value of the leading car’s steering angle was significantly higher than the articulation angle of the following carriage when passing the same position. At the same time, except for the leading car, the articulation angle of the carriage increased to a certain extent compared to the preceding one when passing the same position.

4.3. The Influences of Velocity and Length of Carriage on the Controlled Variables

According to the simulation results, the articulation angle of the carriage increased compared to the preceding one under different road conditions with different configurations of the train.
To analyze the influences of velocity and length of carriage on the articulation angle, we calculated the articulation angles of the train with different lengths of carriage and at different speeds. The experimental train was a five-carriage with six-axles train. We set the speed of the train to 3 m/s, 5 m/s, and 10 m/s and set the length of the carriage to 3 m, 5 m, and 7 m, respectively.
The curve was obtained by fitting the maximum articulation angle of the different carriages passing through the same position (See Figure 17). To compare the increment of different axles with the different velocities and lengths of the carriage, t0 was recorded as the starting time. The fitting results are shown in Figure 18.
According to the simulation results, we can conclude that:
(1)
Under the same road conditions, the length of the carriage affected the amplitude of the train’s articulation angle. The longer the carriage, the greater the amplitude of the articulation angle.
(2)
With the same carriage’s length, the velocity affected the difference in the articulation angle between different axles. The greater the velocity, the greater the difference between the adjacent axles.
(3)
Except for the head cab, the articulation angles of different carriages showed a gradually increasing trend from front to back. The difference between the articulation angles of the adjacent cars at the ends was the largest.
(4)
Since the articulation angle of the following carriage increased compared with the preceding car, we can conclude that when an MPC controller is adopted, there is an upper limit for the number of carriages under different road conditions. When the articulation angle of the trailing car reached the maximum, if we continued to increase the number of carriages, the control force of the rear cars was insufficient and lead to the tail cars derailing.
According to the experimental results, with the same road conditions and speed, the longer the carriage’s length, the fewer the maximum number of carriages.
Furthermore, in the process of actual operation, in order to reduce the impact of the modern urban bus on other urban road vehicles, avoid vehicle collisions, and improve driving safety, follow-up research will require that the author use the state information of the surrounding environment and other vehicles’ speed, acceleration, and relative position, as well as comprehensively considering factors such as road vehicle traffic efficiency and obstacle avoidance, to establish a behavioral decision-making model that can generate vehicle driving decision-making instructions to determine the feasible motion state and trajectory feasible region of the vehicle in real time. Secondly, follow-up research should consider variables such as ride comfort and traffic efficiency; optimal control theory should be used to select the optimal driving trajectory from a limited set of paths; and the optimal driving trajectory should be utilized as a reference trajectory and entered into the execution module. Finally, the model predictive control algorithm described in this paper should be used as the execution module to track the optimal driving trajectory so as to realize the safe operation of modern urban buses on urban roads 5.

5. Conclusions and Further Discussion

In this paper, we proposed a generic framework that allowed for the rapid building of kinematic models for a new type of modern urban bus. By introducing the MPC model, a trajectory tracking controller for a multi-articulated vehicle with an arbitrary number of carriages was designed, and the influences of the number of carriages, velocity, and length of carriage on the trajectory tracking were further analyzed.
Through the simulation under double lane-change and serpentine track conditions, the results show that, based on the kinematic models and MPC-based controller established in this paper:
(1)
The train with different configurations can follow the expected path within a small trajectory following error under different road conditions.
(2)
The steering and/or articulation angles of the train can follow the change of the curvature of the expected path and quickly converge when the road conditions are stable. The absolute value of the articulation angle was positively correlated with the curvature of the path.
(3)
Under the same road condition, the length of the carriage affected the amplitude of the train’s articulation angle. The longer the carriage, the greater the amplitude of the articulation angle.
(4)
With the same carriage’s length, the velocity affected the difference in the articulation angle between different axles. The greater the velocity, the greater the difference between the adjacent axles.
(5)
Except for the head cab, the articulation angles of different carriages showed a gradually increasing trend from front to back.
It can be inferred that, when determining the number of carriages for a configurable multi-articulated urban bus, we need to consider the curvature of the path, the speed of the train, the length of the carriage, and a safety redundancy to ensure that the train follows the desired path.
In this paper, we simulated the increase of the articulation angles of carriages under the stable road condition and did not conduct a comparative analysis in the transition phase between different road conditions. According to the current simulation results, in the transition phase the increase of the articulation angles of carriages was greater than that in the case of stable road conditions. Subsequent comparative analysis can be further carried out that will help us determine the maximum number of theoretical articulated carriages in actual situations.

Author Contributions

Methodology, L.S.; Resources, L.Z.; Writing—original draft, L.S.; Writing—review & editing, L.Z.; Project administration, L.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by [The Fundamental Research Funds for the Central Universities] grant number [2021YJS154].

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lei, Y.; Huang, C.F. Literature review and management expectation on the alleviating urban traffic congestion. China Transp. Rev. 2018, 40, 8–11. [Google Scholar]
  2. Michalet, M.M. Modular approach to compact low-speed kinematic modelling of multi-articulated urban buses for motion algorithmization purposes. In Proceedings of the 2019 IEEE Intelligent Vehicles Symposium, Paris, France, 9–12 June 2019. [Google Scholar]
  3. Odhams, A.M.C.; Roebuck, R.L.; Jujnovich, B.A.; Cebon, D. Active steering of a tractor-semi-trailer. Proc. Inst. Mech. Eng. Part D J. Automob. Eng. 2011, 225, 847–869. [Google Scholar] [CrossRef]
  4. Meng, Y.; Gan, X.; Bai, G.X. Path following control of underground mining articulated vehicle based on the preview control method. Chin. J. Eng. 2019, 41, 662–671. [Google Scholar]
  5. Rimmer, A.J.; Cebon, D. Implementation of reversing control on a doubly articulated vehicle. J. Dyn. Syst. Meas. Control 2017, 139, 061011. [Google Scholar] [CrossRef] [Green Version]
  6. Ljungqvist, O.; Evestedt, N.; Axehill, D.; Cirillo, M.; Pettersson, H. A path planning and path-following control framework for a general 2-trailer with a car-like tractor. J. Field Robot. 2019, 36, 1345–1377. [Google Scholar] [CrossRef] [Green Version]
  7. Michałek, M.M. Trailer-Maneuverability in N-Trailer Structures. IEEE Robot. Autom. Lett. 2020, 5, 5105–5112. [Google Scholar] [CrossRef]
  8. Xiong, L.; Yang, X.; Zhuo, G.; Leng, B.; Zhang, R. A review of the development status of motion control for unmanned vehicles. Chin. J. Mech. Eng. 2020, 56, 127–143. [Google Scholar]
  9. Bai, G.; Luo, W.; Liu, L.; Meng, Y.; Gu, Q.; Li, K. Research status and progress of path-following control of mine-used articulated vehicles. Chin. J. Eng. Sci. 2021, 43, 193–204. [Google Scholar]
  10. Li, S.; Liu, Y.; Qu, X. Model Controlled Prediction: A Reciprocal Alternative of Model Predictive Control. IEEE/CAA J. Autom. Sin. 2022, 9, 1107–1110. [Google Scholar] [CrossRef]
  11. Yamaguchi, H.; Mori, M.; Kawakami, A. Control of a Five-axle, Three-steering Coupled-vehicle System and its Experimental Verification. IFAC Proc. Vol. 2011, 44, 12976–12984. [Google Scholar] [CrossRef] [Green Version]
  12. Astolfi, A.; Bolzern, P.; Locatelli, A. Path-tracking of a tractor-trailer vehicle along rectilinear and circular paths: A Lyapunov-based approach. IEEE Trans. Robot. Autom. 2004, 20, 154–160. [Google Scholar] [CrossRef] [Green Version]
  13. Sampei, M.; Tamura, T.; Kobayashi, T. and Shibui, N. Arbitrary path tracking control of articulated vehicles using nonlinear control theory. IEEE Trans. Control Syst. Technol. 1995, 3, 125–131. [Google Scholar] [CrossRef]
  14. Wang, W.; Zhao, Y.; Xu, J.; Liu, W. Research on Vehicle Path Tracking Based on Fuzzy Control. China Mech. Eng. 2014, 25, 2532–2538. [Google Scholar]
  15. Zhang, G.; Li, J.; Liu, C. and Zhang, W. A robust fuzzy speed regulator for unmanned sailboat robot via the composite ILOS guidance. Nonlinear Dyn. 2022, 110, 2465–2480. [Google Scholar] [CrossRef]
  16. Zhang, G.; Liu, S.; Zhang, X.; Zhang, W. Event-Triggered Cooperative Formation Control for Autonomous Surface Vehicles Under the Maritime Search Operation. IEEE Trans. Intell. Transp. Syst. 2022, 23, 21392–21404. [Google Scholar] [CrossRef]
  17. Zhao, H. Research on Dynamics Analysis and Path Tracking Control Method of Electric Articulated Tracked Vehicles. Ph.D. Thesis, Jilin University, Changchun, China, 2018. [Google Scholar]
  18. Meng, Y.; Wang, Y.; Gu, Q.; Bai, G. LQR-GA Path Tracking Control of Articulated Vehicles Based on Foresight Pose Information. J. Agric. Mach. 2018, 49, 375–384. [Google Scholar]
  19. Nie, Z.; Zong, C.; Yang, X.; Gao, J.; Zhang, K. Active Steering Control Strategy for Medium and High-Speed Heavy-duty Semi-trailer Trailers with Mode Switching. J. Chongqing Univ. 2017, 40, 78–89. [Google Scholar]
  20. Wang, L. Model Predictive Control System Design and Implementation Using MATLAB®; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2009. [Google Scholar]
  21. Wu, T.; Hung, J.Y. Path following for a tractor-trailer system using model predictive control. In Proceedings of the SoutheastCon 2017, Concord, NC, USA, 30 March–2 April 2017; pp. 1–5. [Google Scholar]
  22. Lin, Y.; Yin, G.; Liang, Q.; Wang, L. Cross-line-turn path tracking of intelligent agricultural vehicle based on MPC in standard orchard. In Proceedings of the 2018 Chinese Control and Decision Conference (CCDC), Shenyang, China, 09–11 June 2018; pp. 4786–4791. [Google Scholar]
  23. Yue, M.; Hou, X.; Yang, L. An efficient trajectory tracking control for tractor-trailer vehicle system. In Proceedings of the 2017 36th Chinese Control Conference (CCC), Dalian, China, 26–28 July 2017; pp. 546–551. [Google Scholar]
  24. GB/T6323-2014; Controllability and Stability Test Procedure for Automobile. Standardization Administration: Beijing, China, 2014.
  25. Liu, Z.; Yue, M.; Guo, L.; Zhang, L. Trajectory planning and robust tracking control for a class of active articulated tractor-trailer vehicle with on-axle structure. Eur. J. Control 2020, 54, 87–98. [Google Scholar] [CrossRef]
Figure 1. Structure of the modern configurable multi-articulated urban bus.
Figure 1. Structure of the modern configurable multi-articulated urban bus.
Sustainability 14 16619 g001
Figure 2. Schematic diagram of the modern urban bus.
Figure 2. Schematic diagram of the modern urban bus.
Sustainability 14 16619 g002
Figure 3. Principle of MPC-based trajectory following.
Figure 3. Principle of MPC-based trajectory following.
Sustainability 14 16619 g003
Figure 4. Trajectory of the modern urban bus.
Figure 4. Trajectory of the modern urban bus.
Sustainability 14 16619 g004
Figure 5. Schematic diagram of MPC-based trajectory following.
Figure 5. Schematic diagram of MPC-based trajectory following.
Sustainability 14 16619 g005
Figure 6. Train with different configurations.
Figure 6. Train with different configurations.
Sustainability 14 16619 g006
Figure 7. Double lane-change track.
Figure 7. Double lane-change track.
Sustainability 14 16619 g007
Figure 8. Trajectory of double lane-change track.
Figure 8. Trajectory of double lane-change track.
Sustainability 14 16619 g008
Figure 9. Curvature of double lane-change track.
Figure 9. Curvature of double lane-change track.
Sustainability 14 16619 g009
Figure 10. Serpentine track.
Figure 10. Serpentine track.
Sustainability 14 16619 g010
Figure 11. Trajectory of serpentine track.
Figure 11. Trajectory of serpentine track.
Sustainability 14 16619 g011
Figure 12. Curvature of serpentine track.
Figure 12. Curvature of serpentine track.
Sustainability 14 16619 g012
Figure 13. Trajectories of each axle of the train with different configurations. (a) Three-carriages with four-axles train; (b) Four-carriages with five-axles train; (c) Five-carriages with six-axles train.
Figure 13. Trajectories of each axle of the train with different configurations. (a) Three-carriages with four-axles train; (b) Four-carriages with five-axles train; (c) Five-carriages with six-axles train.
Sustainability 14 16619 g013
Figure 14. Trajectory-following error of the train with different configurations. (a) Three-carriages with four-axles train; (b) Four-carriages with five-axles train; (c) Five-carriages with six-axles train.
Figure 14. Trajectory-following error of the train with different configurations. (a) Three-carriages with four-axles train; (b) Four-carriages with five-axles train; (c) Five-carriages with six-axles train.
Sustainability 14 16619 g014
Figure 15. Trajectories of each axle of the train with different configurations. (a) Three-carriages with four-axles train; (b) Four-carriages with five-axles train; (c) Five-carriages with six-axles train.
Figure 15. Trajectories of each axle of the train with different configurations. (a) Three-carriages with four-axles train; (b) Four-carriages with five-axles train; (c) Five-carriages with six-axles train.
Sustainability 14 16619 g015
Figure 16. Trajectory-following error of the train with different configurations. (a) Three-carriages with four-axles train; (b) Four-carriages with five-axles train; (c) Five-carriages with six-axles train.
Figure 16. Trajectory-following error of the train with different configurations. (a) Three-carriages with four-axles train; (b) Four-carriages with five-axles train; (c) Five-carriages with six-axles train.
Sustainability 14 16619 g016
Figure 17. Steering angle/articulation angles.
Figure 17. Steering angle/articulation angles.
Sustainability 14 16619 g017
Figure 18. Steering angle and/or articulation angles with different lengths of carriage and under different speeds.
Figure 18. Steering angle and/or articulation angles with different lengths of carriage and under different speeds.
Sustainability 14 16619 g018
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Shen, L.; Zhang, L. Trajectory Following Control of Modern Configurable Multi-Articulated Urban Bus Based on Model Predictive Control. Sustainability 2022, 14, 16619. https://doi.org/10.3390/su142416619

AMA Style

Shen L, Zhang L. Trajectory Following Control of Modern Configurable Multi-Articulated Urban Bus Based on Model Predictive Control. Sustainability. 2022; 14(24):16619. https://doi.org/10.3390/su142416619

Chicago/Turabian Style

Shen, Lu, and Liwei Zhang. 2022. "Trajectory Following Control of Modern Configurable Multi-Articulated Urban Bus Based on Model Predictive Control" Sustainability 14, no. 24: 16619. https://doi.org/10.3390/su142416619

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