1. Introduction
Automatic Train Operation (ATO) technology plays a key role in the Intelligent Railway System, which executes the control of automatic train operation process and determines the quality of train operation [
1]. The train basic resistance is an important component of train dynamics, which consists of axle bearing friction, rolling, and sliding friction between wheels and rails, impact resistance and air resistance. Its value accuracy affects the control performance of ATO system, but itself is affected by train formation, geometry, weight, wheel rail, climatic conditions, train running speed [
2], etc. These factors have complex high-order coupling characteristics, making it difficult to directly calculate accurate resistance value using mechanism models. As a consequence, TBRPs are usually measured under experimental conditions to obtain a set of empirical parameters [
3]. However, due to environmental conditions, such as wind speed, weather, air humidity, altitude, and air pressure, as well as the body wear and replacement of vehicle components, the TBRP change both fast and slowly over time. This leads to a deviation between the empirical parameters and the actual parameters, which may cause severe overshoot and oscillation of the model-based controller. In addition, basic resistance measurement techniques based on sensors are difficult to develop and costly. In response to this issue, researchers mainly approach it from two aspects: Basic resistance modeling and TBRPs identification.
The first basic resistance formula was determined by Davis [
4], as shown in Equation (1):
where
v is running speed of train. The parameters
a,
b,
c are resistance characteristic parameters.
a is related to wheel rolling friction and bearing friction,
b is related to wheel rail sliding friction,
c is related to air resistance. Parameters
a,
b,
c can be confirmed in the official train parameter specification when vehicle category has been determined. Subsequently, Stanley [
5] built models for freight train and rolling resistance, and proposed introducing suspension resistance in the Davis formula. Xue [
6] analyzed the influence of air pressure and temperature change on the basic resistance of locomotive and vehicle operation by studying the data of the Sichuan-Tibet Railway. Kang [
7] analyzed the composition of high-speed train basic resistance and its relationship with train weight, achieving the decoupling of air resistance and other resistances.
The above research has achieved significant results in basic resistance modeling. However, the high-order and complex basic resistance models are not suitable for the design of some linear controllers. The ever-changing operating environment and vehicle mechanical wear still cause basic resistance uncertainty. These factors led to some identification methods being proposed.
One of the identification methods is the basic resistance characteristics identification method [
8,
9,
10,
11,
12]. This method uses speed differences to calculate acceleration, then obtain the calculated basic resistance by Newton’s second law. The objective function is to minimize the deviation between the characteristic curve of a set of TBRPs and the calculated basic resistance, as shown in Equation (2):
where
Y is the calculated basic resistance,
θ is basic resistance parameters,
Φ = [1,
v,
v2] is the input-output data information vector, Θ is the definition domain of
θ. The objective function is greatly affected by the accuracy and precision of data acquisition. When data shaping or high amplitude sporadic noise exists, the error of basic resistance is large. In terms of algorithm design, researchers have proposed least squares method [
8,
9], heuristic algorithm [
10,
11], and the multi-innovation theory-based identification algorithm [
12] to solve the problems of this method, but issues with computational efficiency and stability still exist. On the other hand, researchers consider model inconsistency as a disturbance and use adaptive control strategies to address parameter uncertainty [
13,
14]. These methods can handle parameter uncertainty problems, but some control accuracy and stationarity may be lost due to the need for real-time adjustment of deviation.
Faced with these problems, this paper proposes an indirect train basic resistance parameter identification method based on speed-fitting objective (TBRPI-SF). Unlike in Equation (2), the parameter identification problem of TBRPI-SF is transformed into an optimization problem, which is to find a set of basic resistance parameters that can minimize the deviation between the fitting curve obtained from the model-based calculation and the actual speed trajectory curve. The Newton’s method is used to find the optimal TBRP adjustment direction. In addition, this paper discusses the boundary constraints and local solution problems of this algorithm. Finally, cases are set to verify the effectiveness and stability of this algorithm.
2. Train Dynamics Modeling
The objective function of BRPI-SF in this paper is to minimize the deviation between the fitting curve and the actual operating curve. The fitting curve is calculated using the traction calculation method based on train operation data and the train dynamics model.
The state of the train is affected by train weight, traction or braking force, basic resistance and additional resistance during operation. Considering the uneven additional resistance caused by different positions of each vehicle, this paper establishes the multi-mass train model, and its schematic diagram is shown in
Figure 1.
According to Newton’s second law, the dynamic functions are described as:
where
v is running speed (m/s) of train,
t is running time (s),
s is train position (m).
M is train mass (t),
γ is the rotating mass coefficient.
F represents the train control force (kN), with positive and negative indicating traction and braking forces, respectively.
W0(
θ,v) is train basic resistance (kN). According to Davis formula,
W0(
θ,v) can be expressed as a univariate quadratic equation with train running speed as a variable, as shown in Equation (4):
where
w0(
θ,v) represents unit basic resistance (N/kN).
g is the gravity coefficient, taken as 9.81 (N/kg or m/s
2).
θ = [
a,
b,
c],
a,
b, and
c are basic resistance parameters.
G(
s) represents the additional resistance (kN), which is affected by the train operation position
s, and its calculation formula is written as follows:
where
wi and
wr represent unit additional resistance (N/kN) of gradient and curve.
mj is the mass (t) of
j-th car.
sj is the position of the
j-th car’s centroid.
i(
sj) means the gradient thousand fraction at position
sj.
r(
sj) means the curve radius (m) at position
sj. α is usually 600.
To facilitate analysis, train speed
v and running time
t are expressed as functions with train position
s as independent variables, using Equation (3) to get:
With the changes in speed and position, the combined force acting on the train will also change. Therefore, the train operation process is a complicated non-uniform motion, which cannot be solved directly by Equation (6). The traction calculation method divides the train operation process into some stages through discretization and assumes that combined force acting remains constant within each stage. Therefore, the train acceleration remains unchanged within a single stage and is considered constant acceleration operation.
The train operation process is divided into
I stages. In the
i-th stage, the train start position is
si-1. End position is
si. Force is
Fi-1. Initial speed is
vi-1, which is obtained in (
i-1)-th stage. We can obtain
vi by combining Equations (4)–(6), which is shown in Equation (7):
where
is the calculation speed under parameter
θ. Therefore, based on train position and control force data, we can obtain the fitting curves
v under a set of
θ, where
.
Figure 2 illustrates the fitting curves under three sets of TBRPs. We can see that accurate parameters
θ1 can better reproduce the train operation process. Incorrect parameters, like
θ2 and
θ3, cause serious deviation from the fitting curve. It will lead to the unenforceability of the optimization curve and a decrease in controller control accuracy.
3. Algorithm
3.1. Objective Function
From a modeling perspective, if the parameters can make the train operation process calculated by the train dynamics model closer to the real value, it will be considered more accurate. Therefore, the objective of TBRPI-SF is to obtain the best set of TBRPs. After selecting them for traction calculation, the square mean of speed error between the fitting position speed curve and the actual position speed curve is the smallest.
Train operation data is obtained through two methods: Timed and event-triggered. Divide the train operation process into I stages using the acquisition interval of operation data. The operation data can be organized into: , where , they are the control force, position, and speed information in the actual train operation data. Let , , the fitting curves v for this set of operational data under a set of basic resistance parameters θ is obtained by Equation (7).
The accuracy of the parameter is assessed using the mean square error between the fitted curve and the actual curve, which is expressed as:
As a result, the optimization problem of BRPI-SF can be described as:
where, Θ is the definition domain of
θ. Each basic resistance parameter has a corresponding physical significance. Therefore, there exists a boundary Θ = [
θmin,
θmax] that satisfies
θmin <
θ <
θmax. From Equation (9), it can be seen that BRPI-SF is a constraint estimation problem.
In summarize, the main steps of the parameter identification method proposed in this paper are: (1) Configure train formation and line information, set train operation data, (2) establish the train dynamics model to obtain fitted curves for any set of basic parameters, (3) optimize to find the best set of TBRP.
For this optimization problem, heuristic algorithms are easy to apply to solve, but their solving efficiency is relatively low. In order to meet the requirement of high efficiency when this method is applied to the train controller, this paper uses the Newton’s method to solve this problem.
3.2. Newton’s Method
The Newton’s method is an algorithm that uses a derivative to calculate the fastest descent direction of the function value. The updated formula for the Newton’s method is:
where
θn and
θn+1 are the parameters of the
n-th and (
n+1)-th iteration period.
is the Hessian matrix of the
f(
θ).
is the gradient of the
f(
θ).
Derive the composition of and :
Calculate the derivative of Equation (8):
where
is the gradient of the
i-th stage’s calculated speed in
n-th iteration period. The composition of
and
is:
According to Equation (7), we can obtain
:
where
. When
i = 1,
, so
.
Similarly, we can obtain
and
:
As a result, can be calculated iteratively by combining Equations (11)–(15).
Furthermore, we derive the Hessian matrix and calculate the derivative of Equation (11):
The composition of
and
is:
According to Equation (13), we can obtain
:
where
. When
i = 1,
, so
.
Similarly, we can obtain
,
,
,
and
:
As a result, can be calculated iteratively by combining Equations (13)–(23).
3.3. Boundary Constraints and Local Solution Problems
The Newton’s method is generally used to solve unconstrained optimization problems, but the TBRPI-SF problem has a limited range of parameters. On the other hand, the TBRPI-SF problem is a non-convex problem with multiple local optimal solutions. Therefore, the algorithm proposed in this paper needs to be improved to solve these issues.
For the boundary constraint problem of BRPI-SF, this paper adopts a step size adjustment method based on the Wolfe criterion:
When
, find a step size α (0 < α < 1), which meet:
where
c1 and
c2 are constants, and 0 <
c1 <
c2 < 1. Starting from α = 1, we search for α that satisfies Equation (24) and
. The parameters update formula in this iteration period is
. Wolfe criterion preserves the descent direction of the optimal gradient and makes function value drop sufficiently under the constraint conditions.
The ending criterion of this algorithm is:
where
ε1 is maximum acceptable deviation, as the stop condition for this algorithm.
For non-convex problem, does not mean that the optimal solution has been found. Therefore, when and Equation (25) is not satisfied, it means falling into local optima. Where means the minimum acceptable update distance in one iteration period. We expect the algorithm to jump out of the local solution and start searching again now. At this time, a parameter random updated method is used to search for a parameter that satisfies , where is a parameter limitation, reducing the possibility of re-entering local solutions.
In summary, the proposed basic resistance parameter identification based on the Newton’s method is shown as Algorithm 1:
Algorithm 1: Basic resistance parameter identification based on the Newton’s method |
1. | Initialize train formation information, including number of vehicles J, length lj, and weight mj of each vehicle. |
2. | Set train operation data, including control force and actual speed and position . |
3. | Initialize line information, including gradient i(s) and curve r(s) at each position s. |
4. | Initialize basic resistance parameters θ1 and calculate f(θ1). |
5. | for episode = 1,…n,…N do |
6. | Use θn to calculate the calculated speed vn. |
7. | Calculate the coefficient kn, pn, qn, un. |
8. | Calculate the gradient and . |
9. | Calculate the and . |
10. | Determine if . If so, update parameters as Equation (10). If not, find α based on the Wolfe criterion and update parameters as . |
11. | Calculate and determine if . If so, end for. If not, randomly search for a set of parameters . |
12. | End for |