Research on Trajectory Tracking Control of a Semi-Trailer Train Based on Differential Braking

: How to improve the driving performance of the vehicle while carrying out path tracking control has become a hot issue in current research. In this paper, an MPC (Model predictive control) path tracking control algorithm incorporating differential braking control is proposed. By establishing a vehicle dynamics model of a semi-trailer train, the model predictive control theory is adopted for path tracking. Then, the vehicle dynamics model, considering the additional yaw moment, is established to design the differential braking control strategy. Under low-speed working conditions, the PID (Proportional Integral Derivative) algorithm is used to solve the additional yaw moment with the yaw rate of the tractor traveling alone as the desired value. Under high-speed working conditions, the Fuzzy PID algorithm is used to solve the additional yaw moment with the control objective of reducing the articulation angle. Simulation models are built using MATLAB/Simulink, and TruckSim for numerical experimental validation. The numerical experimental results show that the differential braking control method proposed in this paper can improve the maneuverability of vehicles driving in low-speed conditions and the stability of vehicles driving in high-speed conditions without decreasing the precision of path tracking control.


Introduction
Applying automatic driving technology to semi-trailer trains significantly improves driving safety, enhances traffic flow efficiency [1], and optimizes logistics costs.Automated driving technology mainly includes four significant parts: perception, positioning [2], planning, and control, of which the trajectory tracking control module is to solve the problem of how the vehicle travels by the planned path, which is the critical link to realizing automatic driving of the car [3].Compared with the general single car, a semi-trailer train has a large turning radius and is difficult to pass in the narrow channel [4].When driving at high speed, it is likely to occur side-slip, tailing, folding, and other dangerous conditions, increasing the difficulty of semi-trailer train trajectory tracking control.
Many scholars have carried out much research on semi-trailer train travel control.In their paper, Changfu Zong et al. [5] propose a multi-objective followability control algorithm based on differential braking for preventing rollovers or folds in semi-trailer trains.It can improve the vehicle's stability during transient maneuvering and prevent the car from dangerous working conditions such as rollover and folding.Zhe Leng et al. [6] used active speed limiting to improve the steering characteristics and solve the steering limitation problem.An extended Kalman filter sideslip estimator is designed to achieve sideslip compensation.Both algorithms can work directly with other control algorithms to improve the accuracy of vehicle trajectory tracking on curved roads.The trajectory tracking control error was reduced by Ming Yue et al. [7].A model predictive control method is used to design the attitude controller, and a global terminal slip film control method is used to create the dynamic controller.The error in trajectory tracking control can be reduced while satisfying the vehicle kinematics and dynamics constraints.Based on model predictive control, Tong Wu et al. [8] developed a trajectory-tracking control algorithm by defining the error based on the curvature of the reference path for a semitrailer train.The method significantly reduces the tracking error of the vehicle at the junction of a straight line and a circular arc.Zhituo Ni et al. [9] investigated the active steering technology of a trailer based on a linear quadratic regulator.The dynamic steering controller was designed using the LQR method based on linear matrix inequalities, and the weight coefficients of the controller were optimized to improve the robustness of the steering control.Using a nonlinear observer, Oskar Ljungqvist et al. [10] improved the accuracy of the trajectory tracking control of a semi-trailer train.Using a steering motor at the articulation between a tractor and a semi-trailer, Zhiyuan Liu et al. [11] designed an active articulated structure.A model predictive control algorithm is used to construct an attitude controller, and a sliding film control strategy is used to build a dynamic controller.The maneuverability, performance, and driving stability of the semi-trailer train have improved.Zhenyuan Bai et al. [12], with the tractor and semi-trailer's yawing angular rate as the control objective, proposed a lateral followability control strategy.It can improve the lateral followability of semi-trailer trains, prevent the vehicle from skidding and instability, and improve driving safety.Mehdi Abroshan et al. [13] designed a differential braking control strategy based on a model predictive control algorithm based on an affine tire force model.The control can effectively prevent the occurrence of two unstable phenomena: folding and serpentine traveling.Guang Xia et al. [14] for the problem that stability and feasibility cannot be satisfied simultaneously in the reversing control of semi-trailer trains.By analyzing the coupling relationship between the articulation angle when reversing and the semi-trailer swing angle and other parameters, the feasible domain of the articulation angle when flipping the semi-trailer is determined, and the trajectory tracking control is carried out by adopting fuzzy control with the variable theory domain.The control strategy can prevent the semi-trailer train from folding during the reversing process.
Most existing studies focus on improving the trajectory tracking control accuracy or vehicle driving performance of semi-trailer trains.In this paper, we hope to improve the driving performance of the vehicle without degrading the trajectory tracking accuracy.The differential braking control strategy is formulated on the basis of adopting MPC (Model predictive control) for trajectory tracking control of self-driving semi-trailer trains, and the differential braking is utilized to generate additional yawing moments to improve the driving performance of the vehicle.Differential braking control strategies are designed for low-speed and high-speed operating conditions, respectively, and (Proportional Integral Derivative) and Fuzzy PID algorithms solve the additional yawing moment.To ensure the trajectory tracking control accuracy at the same time, low-speed conditions are needed to improve vehicle mobility, and high-speed conditions are needed to improve the stability of the vehicle.
The trajectory tracking control strategy proposed in this paper is shown in Figure 1.
World Electr.Veh.J. 2024, 15, x 2 of 29 used to design the attitude controller, and a global terminal slip film control method is used to create the dynamic controller.The error in trajectory tracking control can be reduced while satisfying the vehicle kinematics and dynamics constraints.Based on model predictive control, Tong Wu et al. [8] developed a trajectory-tracking control algorithm by defining the error based on the curvature of the reference path for a semi-trailer train.The method significantly reduces the tracking error of the vehicle at the junction of a straight line and a circular arc.Zhituo Ni et al. [9] investigated the active steering technology of a trailer based on a linear quadratic regulator.The dynamic steering controller was designed using the LQR method based on linear matrix inequalities, and the weight coefficients of the controller were optimized to improve the robustness of the steering control.Using a nonlinear observer, Oskar Ljungqvist et al. [10] improved the accuracy of the trajectory tracking control of a semi-trailer train.Using a steering motor at the articulation between a tractor and a semi-trailer, Zhiyuan Liu et al. [11] designed an active articulated structure.A model predictive control algorithm is used to construct an attitude controller, and a sliding film control strategy is used to build a dynamic controller.The maneuverability, performance, and driving stability of the semi-trailer train have improved.Zhenyuan Bai et al. [12], with the tractor and semi-trailer's yawing angular rate as the control objective, proposed a lateral followability control strategy.It can improve the lateral followability of semi-trailer trains, prevent the vehicle from skidding and instability, and improve driving safety.Mehdi Abroshan et al. [13] designed a differential braking control strategy based on a model predictive control algorithm based on an affine tire force model.The control can effectively prevent the occurrence of two unstable phenomena: folding and serpentine traveling.Guang Xia et al. [14] for the problem that stability and feasibility cannot be satisfied simultaneously in the reversing control of semi-trailer trains.By analyzing the coupling relationship between the articulation angle when reversing and the semi-trailer swing angle and other parameters, the feasible domain of the articulation angle when flipping the semi-trailer is determined, and the trajectory tracking control is carried out by adopting fuzzy control with the variable theory domain.The control strategy can prevent the semi-trailer train from folding during the reversing process.
Most existing studies focus on improving the trajectory tracking control accuracy or vehicle driving performance of semi-trailer trains.In this paper, we hope to improve the driving performance of the vehicle without degrading the trajectory tracking accuracy.The differential braking control strategy is formulated on the basis of adopting MPC (Model predictive control) for trajectory tracking control of self-driving semi-trailer trains, and the differential braking is utilized to generate additional yawing moments to improve the driving performance of the vehicle.Differential braking control strategies are designed for low-speed and high-speed operating conditions, respectively, and (Proportional Integral Derivative) and Fuzzy PID algorithms solve the additional yawing moment.To ensure the trajectory tracking control accuracy at the same time, low-speed conditions are needed to improve vehicle mobility, and high-speed conditions are needed to improve the stability of the vehicle.
The trajectory tracking control strategy proposed in this paper is shown in Figure 1.ψ is the actual yawing angular rate of the tractor, ϕ r is the desired articulation angle, ϕ is the actual articulation angle, M low is the target additional yaw moment at low speed, and M high is the target additional yaw moment at high speed.

Vehicle Dynamic Model
A semi-trailer train consists of two parts, a tractor and a semi-trailer, which are connected by articulation, where the tractor is usually two axles and the semi-trailer is usually three axles [15].The following assumptions were made in modeling the semi-trailer train: (1) The three axles of the trailer are equivalent to a single axle (equivalent to an intermediate axle), and the left and right wheels on the same axle are equal to one wheel.
(2) Only the rear wheels of the tractor are driving wheels.(3) It is assumed that the sideways and pitching motions of the semi-trailer train while traveling are so small that they can be ignored.(4) There is a linear relationship between the lateral yawing force and the lateral yawing angle of all wheels.(5) The effect of vertical load variation on wheel-side deflection characteristics is not considered.
A semi-trailer train dynamics model is established based on the above assumptions, as shown in Figure 2.
the actual yawing angular rate of the tractor, r ϕ is the desired articulation angle, ϕ is the actual articulation angle, low M is the target additional yaw moment at low speed, and high M is the target additional yaw moment at high speed.

Vehicle Dynamic Model
A semi-trailer train consists of two parts, a tractor and a semi-trailer, which are connected by articulation, where the tractor is usually two axles and the semi-trailer is usually three axles [15].The following assumptions were made in modeling the semi-trailer train: (1) The three axles of the trailer are equivalent to a single axle (equivalent to an intermediate axle), and the left and right wheels on the same axle are equal to one wheel.(2) Only the rear wheels of the tractor are driving wheels.(3) It is assumed that the sideways and pitching motions of the semi-trailer train while traveling are so small that they can be ignored.(4) There is a linear relationship between the lateral yawing force and the lateral yawing angle of all wheels.(5) The effect of vertical load variation on wheel-side deflection characteristics is not considered.
A semi-trailer train dynamics model is established based on the above assumptions, as shown in Figure 2. Vehicle kinematic model, where l 1 f is the distance from the center of mass of the tractor to the front axle.l 1r is the distance from the center of mass of the tractor to the rear axle.l h is the distance from the center of mass of the tractor to the point of articulation.l 2 f is the distance from the center of mass of the semi-trailer to the articulation point.l 2r is the distance between the center of mass of the semi-trailer and the intermediate axle of the semi-trailer.δ f is the front wheel angle of the tractor.ϕ is the articulation angle between the tractor and the semi-trailer.ψ 1 and ψ 2 are the yaw angles of the tractor and semi-trailer, respectively.β 1 and β 2 are the center-of-mass lateral deflection angles of the tractor and semi-trailer, respectively.α 1 , α 2 and α 3 are the front wheel sideslip angle of the tractor, the rear wheel sideslip angle of the tractor, and the rear wheel side deflection angle of the semi-trailer, respectively.F y1 , F y2 and F y3 are the lateral reaction force of the ground on the front wheels of the tractor, the lateral reaction force of the ground on the rear wheels of the tractor, and the lateral reaction force of the ground on the rear wheels of the semi-trailer, respectively.F h is the force between the tractor and the semi-trailer at the articulation point.k 1 , k 2 and k 3 are the tractor front tire side deflection stiffness, tractor rear tire side deflection stiffness, and semi-trailer rear tire side deflection stiffness, respectively.
The tractor and the semi-trailer are simplified as rods with masses m 1 and m 2 respectively.The effects of aerodynamics and road gradients are neglected.According to Newton's laws of mechanics, the dynamic equations of the tractor can be obtained as follows [16]: where v 1 is the speed at the center of mass of the tractor, .β 1 and .ψ 1 are the lateral yaw rate and yaw rate of the center of mass of the tractor, respectively.I 1z is the moment of inertia of the tractor about the Z axis.
.. ψ 1 is the yaw angular acceleration of the tractor.According to Newton's laws of mechanics, the dynamic equations of the semi-trailer can be obtained as: where v 2 is the speed at the center of mass of the tractor, .β 2 and .ψ 2 are the sideslip angle rate and yaw angle rate of the center of mass of the semi-trailer, respectively, I 2z is the moment of inertia of the semi-trailer about the Z axis, .. ψ 2 is the yaw angular acceleration of the semi-trailer.
Based on the previous assumptions, all the tires of the semi-trailer train always work in the linear region.Using the linear tire model, the front and rear axle tire forces of the tractor and the rear axle tire force of the semi-trailer are: The kinematic constraints between the tractor and the semi-trailer during the travel of the semi-trailer train are: . . .
According to Equations (1), (2), and (4), the state-space equation of the semi-trailer train can be expressed as follows: .
x is the vehicle state profile.U is the vehicle control profile.
Matrix A, B, and C are, respectively: Since a computer controls the physical object, the state space equations of the semitrailer train are written in discrete form for the convenience of the controller design [16]: World Electr.Veh.J. 2024, 15, 30 5 of 26 where A c = e ATs , B c = T s 0 e Aτ dτ • B, C c = C, T S is the sampling time.

Trajectory Tracking Control
This paper uses model predictive control theory to design the trajectory tracking algorithm [17].The model predictive control adopts a rolling optimization strategy, meaning the optimization calculation can be repeated online.It can timely and effectively compensate for tracking errors due to perturbations and other factors, thus improving tracking accuracy.
The principle of MPC trajectory tracking control is shown in Figure 3: Since a computer controls the physical object, the state space equations of the semitrailer train are written in discrete form for the convenience of the controller design [16]: where T is the sampling time.

Trajectory Tracking Control
This paper uses model predictive control theory to design the trajectory tracking algorithm [17].The model predictive control adopts a rolling optimization strategy, meaning the optimization calculation can be repeated online.It can timely and effectively compensate for tracking errors due to perturbations and other factors, thus improving tracking accuracy.
The principle of MPC trajectory tracking control is shown in Figure 3:   as the actual input of the controlled object, which is brought into the system state transfer equation to obtain the state of the system at the moment 1 k + .The above process is re- peated to update the optimization problem based on the new state quantities and then resolve it, following which a closed-loop control system is obtained.
Using Equation ( 6) as the prediction model, the predicted output of the system can be expressed as: The controller predicts the output of the system at a future time [k, k + N p ] based on the measured values at the current moment k with the prediction model.N p is the prediction time domain.A series of optimal control sequences in the control time domain are obtained by solving the problem of minimizing the cost function while satisfying the constraints.The control profiles at the moment k in the control sequence are used as the actual input of the controlled object, which is brought into the system state transfer equation to obtain the state of the system at the moment k + 1.The above process is repeated to update the optimization problem based on the new state quantities and then re-solve it, following which a closed-loop control system is obtained.
Using Equation ( 6) as the prediction model, the predicted output of the system can be expressed as: where The objective function is a vital part of the model's predictive control.The objective function is designed to ensure that the planned path can be tracked accurately and, at the same time, to ensure the stability of the vehicle traveling during the tracking process [18].
The trace item of the reference path is written as: where Y r (k) = [y r (k + 1), y r (k + 2), . . ., y r (k + P)] T , represents a series of discrete trace points on the reference path in the prediction time domain.
To maintain the stability of the vehicle traveling during trajectory tracking control, the vehicle control action should change as smoothly as possible.To achieve such goals, minimize the following cost function: The control objective of the trajectory tracking control algorithm is to satisfy the trajectory tracking accuracy while keeping the change frequency of the vehicle control action as small as possible.By introducing a matrix of weight coefficients to weigh the relationship between J 1 and J 2 , the objective function of the controller can be written as: where W y and W u are the weight coefficient matrices of the state profiles and control profiles.
Considering the inherent characteristics of the vehicle's mechanical system, the amount of vehicle control and control increments should satisfy the following constraints: where ∆u(k + 1) = u(k + 1) − u(k), u min and u max are the minimum and maximum values of the control profiles, respectively.∆u min and ∆u max are the minimum and maximum values of the control increment, respectively.The control profiles here are mainly the front wheel angle δ f of the tractor.Finally, the trajectory tracking control problem based on model predictive control theory is transformed into solving the optimization problem with constraints.The optimal front wheel angle of a semi-trailer train can be obtained by solving the optimization problem with constraints. Minimize

Differential Brake Control
Differential braking improves a vehicle's driving performance by providing different braking forces to different wheels during the vehicle's traveling process so that the car generates additional yaw moments [19].Compared with technologies such as active rearaxle steering, differential braking does not require other hardware and can be realized by using mature brake control technology to achieve precise distribution of braking force to the wheels, which is low-cost and easy to accomplish [20,21].The implementation of differential brake control requires the use of an accurate vehicle model.Based on the vehicle dynamics model in Section 2, the additional yaw moment generated by differential braking is added.The yawing moment and the front wheel angle of the tractor are jointly used as system inputs to obtain the semi-trailer train dynamics model, considering the additional yaw moment.As shown in Figure 5: of the control profiles, respectively.Finally, the trajectory tracking control problem based on model predictive control theory is transformed into solving the optimization problem with constraints.The optimal front wheel angle of a semi-trailer train can be obtained by solving the optimization problem with constraints.

Differential Brake Control
Differential braking improves a vehicle's driving performance by providing different braking forces to different wheels during the vehicle's traveling process so that the car generates additional yaw moments [19].Compared with technologies such as active rearaxle steering, differential braking does not require other hardware and can be realized by using mature brake control technology to achieve precise distribution of braking force to the wheels, which is low-cost and easy to accomplish [20,21].The implementation of differential brake control requires the use of an accurate vehicle model.Based on the vehicle dynamics model in Chapter 2, the additional yaw moment generated by differential braking is added.The yawing moment and the front wheel angle of the tractor are jointly used as system inputs to obtain the semi-trailer train dynamics model, considering the additional yaw moment.As shown in Figure 5: Vehicle dynamics model considering additional yaw moment.Based on Equation ( 5), the state-space equation of the semi-trailer train considering the additional yaw moment is obtained as (Moment is equal to moment of inertia times angular acceleration): . where T , M z is the total additional yaw moment generated by differential braking of semi-trailer train, M tractor is the additional yaw moment of target generated by the differential braking of tractor, M trailer is the target additional yaw moment generated by differential braking of the semi-trailer, I 1z is the moment of inertia of the tractor about the Z axis, I 2z is the moment of inertia of the semi-trailer about the Z axis.In this paper, two control strategies are designed for the different needs of vehicle driving performance under the two driving conditions of low speed (Initialvelocity ≤ 30 km/h) and high speed (Initial velocity ≥ 70 km/h) of semi-trailer trains.It is hoped to improve the vehicle's maneuverability at low-speed and stability at high-speed.The differential braking control strategy is shown in Figure 6.In this paper, two control strategies are designed for the different needs of vehicle driving performance under the two driving conditions of low speed ( Initial velocity 30km/h ≤ ) and high speed ( Initial velocity 70km/h ≥ ) of semi-trailer trains.It is hoped to improve the vehicle's maneuverability at low-speed and stability at highspeed.The differential braking control strategy is shown in Figure 6.

Low-Speed Differential Brake Control
During the turning process of the semi-trailer train, the two parts of the car body can make a certain angle with each other, and there is an articulation angle [22].The articulation angle of a semi-trailer train is defined as the angle between the tractor's longitudinal axis and the semi-trailer's longitudinal axis and is indicated by the symbol.The presence of an articulation angle makes the turning radius of the outer contour of the body smaller and that of the inner shape larger when the semi-trailer train is turned.Compared to a single car of the same size, a semi-trailer train sweeps a smaller area of the road during a turn and, therefore, has good maneuverability.Under the premise of ensuring that the semi-trailer train does not fold, appropriately increasing the articulation angle can reduce the turning radius of the semi-trailer train, which is conducive to improving the passability of the semi-trailer train in the narrow channel.Therefore, a control strategy to increase the articulation angle using differential braking is developed for low-speed conditions.

Additional Yaw Moment
The semi-trailer trainʹs whole vehicle driving force comes from the tractor; the semitrailer in the tractor towing under the driving semi-trailer's presence on the tractor is equivalent to the tractor in the rear of the tractor imposing a driving resistance.Compared

Low-Speed Differential Brake Control
During the turning process of the semi-trailer train, the two parts of the car body can make a certain angle with each other, and there is an articulation angle [22].The articulation angle of a semi-trailer train is defined as the angle between the tractor's longitudinal axis and the semi-trailer's longitudinal axis and is indicated by the symbol.The presence of an articulation angle makes the turning radius of the outer contour of the body smaller and that of the inner shape larger when the semi-trailer train is turned.Compared to a single car of the same size, a semi-trailer train sweeps a smaller area of the road during a turn and, therefore, has good maneuverability.Under the premise of ensuring that the semi-trailer train does not fold, appropriately increasing the articulation angle can reduce the turning radius of the semi-trailer train, which is conducive to improving the passability of the semi-trailer train in the narrow channel.Therefore, a control strategy to increase the articulation angle using differential braking is developed for low-speed conditions.

Additional Yaw Moment
The semi-trailer train's whole vehicle driving force comes from the tractor; the semitrailer in the tractor towing under the driving semi-trailer's presence on the tractor is equivalent to the tractor in the rear of the tractor imposing a driving resistance.Compared with the tractor driving alone, the yaw rate of the tractor-towing semi-trailer will be inhibited.A significant yaw rate contributes to a large articulation angle.In this paper, the yaw rate of the tractor is taken as the reference yaw rate, and the PID control algorithm is designed to make the actual yaw rate tend to the reference yaw rate, and the additional yaw moment under the low-speed condition is obtained.
According to the vehicle model, when the tractor is driving alone, the ideal yaw rate of the tractor is calculated as follows: . where , is the stability factor, v 1 is the speed of the tractor.k 1 and k 2 are the lateral stiffness of the front and rear axles of the vehicle, respectively.
The road adhesion conditions limit the ideal yaw rate [23], and the lateral acceleration must meet the constraints under the tire adhesion limit: where a y is the lateral acceleration of the tractor, µ is the road adhesion coefficient, and g is the acceleration of gravity.
World Electr.Veh.J. 2024, 15, 30 The maximum value of the yaw rate of the pendulum is given for a low-adhesion road surface: .
Considering driving on low adhesion road surfaces .ψ 1max < . ψ 1 and driving on high adhesion road surfaces .ψ 1 > .ψ 1max , in order to meet different road conditions, the ideal yaw rate is: .
For low-speed conditions, the PID algorithm solves the target additional yaw moment generated by the differential braking of the semi-trailer train.The control objective of the PID is to eliminate the deviation, which is defined here as the difference between the ideal yawing rate of the tractor and the actual yawing rate.
The control profile for eliminating the deviation is the target additional yaw moment.The solution of the additional yaw moment includes three parts: proportion, integral, and differential.The solution formula is as follows: where , K d = K P T d , K P is the scale factor, T i is the integral time constant, T d is the differential time constant, M low is the additional yaw moment of a semi-trailer train under low-speed conditions.
When the semi-trailer train is running, the semi-trailer is dragged by the tractor.If the tractor and the semi-trailer are braking at the same time, in that case, the drag force of the semi-trailer on the tractor will increase, the speed will decrease significantly, and it is easy to cause the vehicle to stop when driving at a low rate.If only the tractor is braked, there is a tendency for the tractor's yawing angle to increase under the impetus of the semi-trailer's inertia force, which is conducive to increasing the articulation angle and is in line with the control objective of differential braking under low-speed operating conditions.Therefore, only differential braking is applied to the tractor at low speed.M low is the additional yaw moment generated by the differential braking of the tractor.
PID control principle at low-speed is shown in Figure 7: World Electr.Veh.J. 2024, 15, x 11 of 29 there is a tendency for the tractor's yawing angle to increase under the impetus of the semi-trailer's inertia force, which is conducive to increasing the articulation angle and is in line with the control objective of differential braking under low-speed operating conditions.Therefore, only differential braking is applied to the tractor at low speed.low M is the additional yaw moment generated by the differential braking of the tractor.
PID control principle at low-speed is shown in Figure 7:

Target Brake Wheel Decision
The target additional yaw moment of the tractor is obtained by calculating the upper control algorithm of the vehicle.The lower control algorithm performs differential braking on the wheel and realizes the additional yaw moment of the tractor [24].To ensure the driving stability of the tractor when braking, the braking force is applied to the front and rear wheels of the tractor simultaneously.The target braking wheel of the tractor is determined by comparing the expected yaw response with the actual yaw response.
Taking the process of a right turn and correction of the semi-truck train in single-shift condition as an example, the decision-making method of the target brake wheel is as follows: In the process of the right turn, the expected yaw rate and the actual yaw rate are both clockwise, and the predicted yaw rate is greater than the actual yaw rate.The actual yaw rate should be compensated for by the additional clockwise yaw moment generated by differential braking.The right wheel of the tractor should be braked.In the correction process, the expected yaw rate and the actual yaw rate are both counterclockwise, and the predicted yaw rate is significantly higher than the actual yaw rate.Differential braking

Target Brake Wheel Decision
The target additional yaw moment of the tractor is obtained by calculating the upper control algorithm of the vehicle.The lower control algorithm performs differential braking on the wheel and realizes the additional yaw moment of the tractor [24].To ensure the driving stability of the tractor when braking, the braking force is applied to the front and rear wheels of the tractor simultaneously.The target braking wheel of the tractor is determined by comparing the expected yaw response with the actual yaw response.
Taking the process of a right turn and correction of the semi-truck train in single-shift condition as an example, the decision-making method of the target brake wheel is as follows: In the process of the right turn, the expected yaw rate and the actual yaw rate are both clockwise, and the predicted yaw rate is greater than the actual yaw rate.The actual yaw rate should be compensated for by the additional clockwise yaw moment generated by differential braking.The right wheel of the tractor should be braked.In the correction process, the expected yaw rate and the actual yaw rate are both counterclockwise, and the predicted yaw rate is significantly higher than the actual yaw rate.Differential braking should generate an additional yaw moment counterclockwise to compensate for the real yawing moment.At this time, brake the left-side wheel of the tractor.The differential braking control strategy for low-speed conditions is shown in Figure 8.
driving stability of the tractor when braking, the braking force is applied to the front and rear wheels of the tractor simultaneously.The target braking wheel of the tractor is determined by comparing the expected yaw response with the actual yaw response.
Taking the process of a right turn and correction of the semi-truck train in single-shift condition as an example, the decision-making method of the target brake wheel is as follows: In the process of the right turn, the expected yaw rate and the actual yaw rate are both clockwise, and the predicted yaw rate is greater than the actual yaw rate.The actual yaw rate should be compensated for by the additional clockwise yaw moment generated by differential braking.The right wheel of the tractor should be braked.In the correction process, the expected yaw rate and the actual yaw rate are both counterclockwise, and the predicted yaw rate is significantly higher than the actual yaw rate.Differential braking should generate an additional yaw moment counterclockwise to compensate for the real yawing moment.At this time, brake the left-side wheel of the tractor.The differential braking control strategy for low-speed conditions is shown in Figure 8. Suppose the yaw rate is negative when it is clockwise and positive when it is counterclockwise.The decision rules for the tractor brake wheel under low-speed conditions are shown in Table 1.
Table 1.Decision rules of brake wheel of low-speed tractor.

Yaw Rate Response Comparison
Tractor Target Brake Wheels .

High-Speed Differential Brake Control
The semi-trailer train travels at a higher speed when turning and changing lanes.Due to the large inertia force, the followability of the semi-trailer to the tractor is poor.The degree of followability is mainly judged by the size of the articulation angle of the semi-trailer train.If the articulation angle is large, it indicates poor follow-ability.If the articulation angle is small, then it demonstrates that the driving follow-ability is good.As a result, when turning and braking, because of the high center of mass position and narrow wheelbase of the semi-trailer train, it is easy to lead to a push-back.This resulted in tire force saturation on the rear axle of the tractor, side slip, and folding of the tractor and semi-trailer caused by the inertial forces of the semi-trailer [25].Therefore, the differential braking control strategy under high-speed working conditions is to improve the semitrailer's driving followability for the tractor and then improve the vehicle's driving stability as the control objective [26].The specific control method is to utilize differential braking to generate additional yaw moment and reduce the articulation angle so that the body of the semi-trailer train can be kept as straight as possible.

Additional Yaw Moment
Take the articulation point of the semi-trailer train as the origin of the coordinate system, and take the longitudinal axis of the tractor as the X-axis to establish the vehicle coordinate system.It is specified that along the positive direction of the X-axis of the vehicle coordinate system, the articulation angle obtained by counterclockwise rotation is positive and the articulation angle obtained by clockwise rotation is negative.The articulation angle is shown in Figure 9.The formula for solving the articulation angle is: At high speed, a fuzzy PID algorithm solves the target additional yaw moment generated by the differential braking of the semi-trailer train.Fuzzy PID combines the PID algorithm with fuzzy control theory [27], using fuzzy logic and optimizing the parameters of the PID in real-time according to specific fuzzy rules.
The ideal articulation angle for a semi-trailer train under high-speed conditions is 0°, the error here is the actual articulation angle.

()
The variation of the error is: The inputs to the fuzzy PID are the error 2 e and the rate of change of the error c e .After the fuzzification process, the fuzzy inference step performs the approximate inference to derive the correction amount Under a certain error and the rate of change of the error, which is then superimposed on the initial PID parameters after clarification [28], the PID parameters are adjusted in real time as the sys- The formula for solving the articulation angle is: At high speed, a fuzzy PID algorithm solves the target additional yaw moment generated by the differential braking of the semi-trailer train.Fuzzy PID combines the PID algorithm with fuzzy control theory [27], using fuzzy logic and optimizing the parameters of the PID in real-time according to specific fuzzy rules.
The ideal articulation angle for a semi-trailer train under high-speed conditions is 0 • , the error here is the actual articulation angle.
The variation of the error is: e c (t) = .
e 2 (t) The inputs to the fuzzy PID are the error e 2 and the rate of change of the error .e c .After the fuzzification process, the fuzzy inference step performs the approximate inference to derive the correction amount ∆K P , ∆K i , ∆K d for K P , K i , K d .Under a certain error and the rate of change of the error, which is then superimposed on the initial PID parameters after clarification [28], the PID parameters are adjusted in real time as the system error and error derivatives change.The principle of fuzzy controllers is shown in Figure 10.

( )
The variation of the error is: The inputs to the fuzzy PID are the error 2 e and the rate of change of the error c e .After the fuzzification process, the fuzzy inference step performs the approximate inference to derive the correction amount error and the rate of change of the error, which is then superimposed on the initial PID parameters after clarification [28], the PID parameters are adjusted in real time as the system error and error derivatives change.The principle of fuzzy controllers is shown in Figure 10.As illustrated in Figure 11, the fuzzy set is divided into {negative big, negative middle, negative small, zero, positive small, positive middle, positive big}, i.e., {NB, NM, NS, Z, PS, PM, PB}.The resulting fuzzy rules are indicated in Tables 2-4.As illustrated in Figure 11, the fuzzy set is divided into {negative big, negative middle, negative small, zero, positive small, positive middle, positive big}, i.e., {NB, NM, NS, Z, PS, PM, PB}.The resulting fuzzy rules are indicated in Tables 2-4.Through the fuzzy control surface of three parameters, it can intuitively respond to the fuzzy relationship between input and output and then adjust the parameters in real-time [29].The actual parameters of PID are the addition of fixed parameters and corrected parameters.Through the fuzzy control surface of ∆K P , ∆K i and ∆K d three parameters, it can intuitively respond to the fuzzy relationship between input and output and then adjust the parameters in real-time [29].The actual parameters of PID are the addition of fixed parameters and corrected parameters.
Under high-speed conditions, the additional yaw moment of the target is calculated by the following formula: In order to reduce the influence of the inertia force on the driving stability of the tractor, the tractor and the semi-trailer are braking at the same time under high-speed conditions.The additional yaw moment M high must be reasonably distributed between the tractor and the semi-trailer.Considering that the wheel braking force is approximately proportional to its vertical load when the wheel is not locked, the yaw moment of the tractor and semi-trailer is distributed according to the vertical load of each axle.
where M tractor is the additional yaw moment generated by differential braking of a semitrailer.M tractor is the additional yaw moment generated by the differential braking of the tractor.M trailer is the additional yaw moment generated by the differential braking of a semi-trailer.F Z f , F Zr and F Zt are the dynamic vertical loads of the tractor front axle, rear axle, and semi-trailer rear axle, respectively.The fuzzy PID control principle is shown in Figure 13: World Electr.Veh.J. 2024, 15, x 16 of 29 proportional to its vertical load when the wheel is not locked, the yaw moment of the tractor and semi-trailer is distributed according to the vertical load of each axle.

Target Brake Wheel Decision
Under high-speed conditions, the front and rear wheels of a tractor and the rear wheels of a semi-trailer are involved in differential braking.At this point, the target braking wheel is decided based on whether the semi-trailer trainʹs articulation angle is positive or negative.Take the case of a positive articulation angle during high-speed steering as follows: In order to reduce the articulated angle of the semi-trailer train, differential braking should be used to produce counterclockwise additional yaw moments of the tractor, and differential braking should be used to produce clockwise additional yaw moments of the semi-trailer.At this time, the tractor's left side wheel and the semi-trailer's right side wheel brake simultaneously.The differential braking control strategy for high-speed conditions is shown in Figure 14.

Target Brake Wheel Decision
Under high-speed conditions, the front and rear wheels of a tractor and the rear wheels of a semi-trailer are involved in differential braking.At this point, the target braking wheel is decided based on whether the semi-trailer train's articulation angle is positive or negative.Take the case of a positive articulation angle during high-speed steering as follows: In order to reduce the articulated angle of the semi-trailer train, differential braking should be used to produce counterclockwise additional yaw moments of the tractor, and differential braking should be used to produce clockwise additional yaw moments of the semi-trailer.At this time, the tractor's left side wheel and the semi-trailer's right side wheel brake simultaneously.The differential braking control strategy for high-speed conditions is shown in Figure 14.According to the articulation angle's positive or negative value, the decision rules for the brake wheel of a semi-trailer train under high-speed working conditions are shown in Table 5.
Table 5. Decision rules for brake wheel of high-speed semi-trailer trains.

The Symbol of the Articulation Angle
Tractor Target Brake Wheels Semi-Trailer Target Brake Wheels

Target Wheel Brake Pressure
After the wheels for differential braking of semi-trailer trains in different driving modes are determined, the wheel braking torque, and thus the wheel braking pressure, can be determined based on the target additional yaw moments of the tractor and the semi-trailer.
For a tractor, the additional yaw moment needs to be properly distributed between the front and rear axles.Considering that the wheel braking force is approximately proportional to its vertical load when the wheels are not locked and there is axle load transfer in the vehicle under longitudinal and lateral acceleration, to make full use of the road adhesion conditions, the braking torque generated by the front and rear axles of the tractor should meet the following requirements:  According to the articulation angle's positive or negative value, the decision rules for the brake wheel of a semi-trailer train under high-speed working conditions are shown in Table 5.
Table 5. Decision rules for brake wheel of high-speed semi-trailer trains.

The Symbol of the Articulation Angle
Tractor Target Brake Wheels Semi-Trailer Target Brake Wheels

Target Wheel Brake Pressure
After the wheels for differential braking of semi-trailer trains in different driving modes are determined, the wheel braking torque, and thus the wheel braking pressure, can be determined based on the target additional yaw moments of the tractor and the semi-trailer.
For a tractor, the additional yaw moment needs to be properly distributed between the front and rear axles.Considering that the wheel braking force is approximately proportional to its vertical load when the wheels are not locked and there is axle load transfer in the vehicle under longitudinal and lateral acceleration, to make full use of the road adhesion conditions, the braking torque generated by the front and rear axles of the tractor should meet the following requirements: where T 1r and T 2r are the target braking torque of the front and rear axles of the tractor, respectively.F Z f and F Zr are the dynamic vertical loads of the front and rear axles of the tractor, respectively.
For semi-trailers, the additional yaw moment is generated by the rear axle of the semi-trailer.
The front wheels of the tractor are responsible for steering.When the front wheels of the tractor are braked, the front wheel angle of the tractor must be considered when calculating the braking torque.The braking moments of the tractor front axle and unilateral wheels are, respectively, [22]: where T 1r is the target braking torque of the front of the tractor, l 1wr is the front axle tire radius of the tractor, l 1x is the front axle wheelbase of the tractor.
The braking torques of the wheels on one side of the rear axle of the tractor are, respectively: where T 2r is the target braking torque of the rear axle of the tractor, l 2wr is the radius of the rear axle tire of the tractor, l 2x is the rear axle wheelbase of the tractor.Semi-trailer rear axle single-side wheel braking torque, respectively: where T 3r is the target braking torque of the rear axle of the semi-trailer, l 3wr is the radius of the rear axle tire of the semi-trailer, l 3x is the wheel base of the rear axle of the semi-trailer.The braking pressure of the target wheel is [30]: where i = L 1 , L 2 , L 3 , R 1 , R 2 , R 3 is the wheel code.p i is the braking pressure of the target wheel and is the main parameter of differential brake control.T i is the target wheel braking torque.k i refers to the wheel braking efficiency factor jointly determined by the brake disc friction area, friction factor, etc.

Simulation Experiment Verification
In order to verify the effectiveness of the proposed control strategy, a vehicle model of the semi-trailer train was established using TruckSim, and a simulated road scene was constructed.The MPC trajectory tracking control algorithm was first written in MATLAB/Simulink, and then the differential braking control strategy and the distribution rules of braking pressure for each wheel were written on the basis of this algorithm under the working conditions of low speed and high speed.Considering that the semitrailer vehicle train mainly travels on dry and good asphalt or concrete road surfaces, the road surface adhesion coefficient in the road scenario is set to a fixed value of 0.8 [31].The main parameters of the semi-trailer train used in the simulation experiments are shown in Table 6.It should be noted in particular that in Figures 15-17, Figures 19-23, and Figures 25-29, the red solid line represents the simulation experimental data when differential braking are applied during trajectory tracking control, and the blue dashed line represents the simulation experimental data when differential braking are not applied.In Figures 18, 24, and 30, FL 1 denotes the left front wheel of the tractor, FL 2 denotes the left rear wheel of the tractor, and FL 3 denotes the left rear wheel of the semi-trailer.FR 1 denotes the right front wheel of the tractor, FR 2 denotes the right rear wheel of the tractor, and FR 3 denotes the right rear wheel of the semi-trailer.Table 6.Main parameters of semi-trailer train.

Arguments (units) Numerical Value
Tractor quality (kg) 5760 Tractor wheelbase (mm) 3500 Trailer wheelbase (mm) 2030 Distance from the center of mass of the tractor to the front axle (mm) 1110 Distance from center of mass of the tractor to the rear axle (mm) 2390 The moment of inertia of the tractor about the Z axis kg/m 2 ) 34,823 Tractor steering gear ratio 25 Semi-trailer quality (kg) 20,000 Distance from the center of mass of the semi-trailer to the hinge point (mm) 4000 Semi-trailer wheel gauge (mm) 1863 The moment of inertia of the semi-trailer about the Z axis (kg/m 2 ) 17,999

Validation of Low-Speed Differential Braking Control Strategy
In order to verify the effectiveness of differential braking control under low-speed conditions, the idea of control variables is used to design a right-angle turning scenario to verify the turning radius of a semi-trailer train under a fixed front wheel turning angle.The vehicle turns to the left at a speed of 30 km/h, and the front wheel angle is set to a fixed value of 10 • .Plot the trajectory and contour of the vehicle traveling with and without differential brake control.We then plot the variation curve of articulation angle and each wheel braking pressure of a semi-trailer train with and without differential brake control, as shown in Figures 15-18.
It can be seen from the vehicle trajectory maps and the vehicle traveling outline map that the differential braking control strategy reduces the turning radius of the semi-trailer train, which helps the vehicle track the target path with large curvature and improves the vehicle's maneuverability.
It can be seen from the curves of articulation angle that the articulation angle of the semi-truck train under differential braking control is always larger than that without control.With a maximum articulation angle of 20.2 • without control and 33.7 • with control, the differential brake control increases the maximum articulation angle of the semi-trailer train by about 13.5 • .The differential braking control strategy under low-speed conditions increases the articulation angle of the semi-trailer train.
The brake pressure change curves illustrate the magnitude and changes in brake pressure at each tractor wheel during differential brake control.It can be seen from the vehicle trajectory maps and the vehicle traveling outline map that the differential braking control strategy reduces the turning radius of the semi-trailer train, which helps the vehicle track the target path with large curvature and improves the vehicle's maneuverability.It can be seen from the vehicle trajectory maps and the vehicle traveling outline map that the differential braking control strategy reduces the turning radius of the semi-trailer train, which helps the vehicle track the target path with large curvature and improves the vehicle's maneuverability.It can be seen from the curves of articulation angle that the articulation angle of the semi-truck train under differential braking control is always larger than that without control.With a maximum articulation angle of 20.2° without control and 33.7° with control, the differential brake control increases the maximum articulation angle of the semi-trailer train by about 13.5°.The differential braking control strategy under low-speed conditions increases the articulation angle of the semi-trailer train.The brake pressure change curves illustrate the magnitude and changes in brake pressure at each tractor wheel during differential brake control.

High-Speed Single-Shift Condition
To verify the effectiveness of the differential braking control strategy for high-speed conditions, simulation experiments are conducted with 80 km/h single-shift conditions as an example.A better understanding is obtained by plotting the trajectory, the articulation angle of the semi-trailer train, the sideslip angle of the tractor, the roll angle of the vehicle, and the change curve of the braking pressure of each wheel with and without differential brake control, as shown in Figures 19-24

High-Speed Single-Shift Condition
To verify the effectiveness of the differential braking control strategy for high-speed conditions, simulation experiments are conducted with 80 km/h single-shift conditions as an example.A better understanding is obtained by plotting the trajectory, the articulation angle of the semi-trailer train, the sideslip angle of the tractor, the roll angle of the vehicle, and the change curve of the braking pressure of each wheel with and without differential brake control, as shown in Figures 19-24.

High-Speed Single-Shift Condition
To verify the effectiveness of the differential braking control strategy for high-speed conditions, simulation experiments are conducted with 80 km/h single-shift conditions as an example.A better understanding is obtained by plotting the trajectory, the articulation angle of the semi-trailer train, the sideslip angle of the tractor, the roll angle of the vehicle, and the change curve of the braking pressure of each wheel with and without differential brake control, as shown in Figures 19-24.From the vehicle trajectory, it can be seen that the error of vehicle trajectory tracking with differential braking control is much smaller than without control.In addition, differential braking control does not reduce the accuracy of trajectory tracking control.Vehicle  From Equation (15), it is known that under a road surface with an adhesion coefficient of 0.8, the maximum lateral acceleration is 7.84 m/s².As shown in Figure 20, under both conditions with and without differential braking control, the lateral acceleration of the vehicle is much less than the maximum value.This ensures that the vehicle does not skid.From Equation (15), it is known that under a road surface with an adhesion coefficient of 0.8, the maximum lateral acceleration is 7.84 m/s².As shown in Figure 20, under both conditions with and without differential braking control, the lateral acceleration of the vehicle is much less than the maximum value.This ensures that the vehicle does not skid.From the change curves of the articulation angle, it can be seen that the articulation angle of the semi-trailer train with differential brake control is always smaller than that of the uncontrolled articulation angle.The maximum articulation angle is −5.85° without Semi-trailer train driving through the tractor control to complete, the size of the trac-torʹs sideslip angle will affect the semi-trailer trainʹs maneuvering stability.The tractor sideslip angle change curves show that the tractor sideslip angle under differential brake control is always smaller than the sideslip angle without control.Differential brake control improves the maneuvering stability of semi-trailer trains.Vehicle roll angle is an important parameter for evaluating vehicle driving stability.From the variation curve of vehicle roll angle, it can be seen that the vehicle roll angle under differential brake control is smaller than without control.Differential brake control can reduce the roll angle and improve the stability of semi-trailer train travelling.Semi-trailer train driving through the tractor control to complete, the size of the trac-torʹs sideslip angle will affect the semi-trailer trainʹs maneuvering stability.The tractor sideslip angle change curves show that the tractor sideslip angle under differential brake control is always smaller than the sideslip angle without control.Differential brake control improves the maneuvering stability of semi-trailer trains.Vehicle roll angle is an important parameter for evaluating vehicle driving stability.From the variation curve of vehicle roll angle, it can be seen that the vehicle roll angle under differential brake control is smaller than without control.Differential brake control can reduce the roll angle and improve the stability of semi-trailer train travelling.The brake pressure change curves illustrate the magnitude and change of brake pressure on each wheel of a semi-trailer train during differential brake control.5.2.2.High-Speed Double-Line Shift Condition From the vehicle trajectory, it can be seen that the error of vehicle trajectory tracking with differential braking control is much smaller than without control.In addition, differential braking control does not reduce the accuracy of trajectory tracking control.Vehicle trajectories with differential brake control show fewer curvature changes than without control, indicating a smoother ride for vehicles with differential braking.
From Equation ( 15), it is known that under a road surface with an adhesion coefficient of 0.8, the maximum lateral acceleration is 7.84 m/s 2 .As shown in Figure 20, under both conditions with and without differential braking control, the lateral acceleration of the vehicle is much less than the maximum value.This ensures that the vehicle does not skid.
From the change curves of the articulation angle, it can be seen that the articulation angle of the semi-trailer train with differential brake control is always smaller than that of the uncontrolled articulation angle.The maximum articulation angle is −5.85 • without control and −3.8 • with control.Differential braking control reduces the maximum articulation angle of the vehicle by 2.05 • , which improves the following of the semi-trailer to the tractor under high-speed driving conditions.
Semi-trailer train driving through the tractor control to complete, the size of the tractor's sideslip angle will affect the semi-trailer train's maneuvering stability.The tractor sideslip angle change curves show that the tractor sideslip angle under differential brake control is always smaller than the sideslip angle without control.Differential brake control improves the maneuvering stability of semi-trailer trains.
Vehicle roll angle is an important parameter for evaluating vehicle driving stability.From the variation curve of vehicle roll angle, it can be seen that the vehicle roll angle under differential brake control is smaller than without control.Differential brake control can reduce the roll angle and improve the stability of semi-trailer train travelling.
The brake pressure change curves illustrate the magnitude and change of brake pressure on each wheel of a semi-trailer train during differential brake control.

High-Speed Double-Line Shift Condition
As an example, simulation experiments are conducted at 80 km/h in double-shift line conditions.I am plotting the vehicle trajectory with and without differential brake control and the variation curves of the articulation angle of the semi-trailer train, the sideslip angle of the tractor, the roll angle of the vehicle, and wheel braking pressure versus time, as shown in Figures 25-30  The brake pressure change curves illustrate the magnitude and change of brake pressure on each wheel of a semi-trailer train during differential brake control.

High-Speed Double-Line Shift Condition
As an example, simulation experiments are conducted at 80 km/h in double-shift line conditions.I am plotting the vehicle trajectory with and without differential brake control and the variation curves of the articulation angle of the semi-trailer train, the sideslip angle of the tractor, the roll angle of the vehicle, and wheel braking pressure versus time, as shown in Figures 25-30  From the vehicle trajectory, the vehicle trajectory tracking errors with and without differential brake control are similar, and the differential brake control does not reduce the accuracy of the trajectory tracking control.Under differential brake control, the vehicle trajectory has fewer curvature changes than without control, and the vehicle travels with good stability.From Equation ( 15), it is known that under a road surface with an adhesion coefficient of 0.8, the maximum lateral acceleration is 7.84 m/s².As shown in Figure 26, under both conditions with and without differential braking control, the lateral acceleration of the vehicle is much less than the maximum value.This ensures that the vehicle does not skid.The articulation angle variation curves show that the articulation angle of the semitrailer train with differential brake control is always smaller than that without control.The maximum articulation angle was reduced by about 1.6°.Consistent with the simulation results of the single moving line condition, the use of differential brake control in the highspeed state improves the semi-trailer's travel following for the tractor.From Equation ( 15), it is known that under a road surface with an adhesion coefficient of 0.8, the maximum lateral acceleration is 7.84 m/s².As shown in Figure 26, under both conditions with and without differential braking control, the lateral acceleration of the vehicle is much less than the maximum value.This ensures that the vehicle does not skid.The articulation angle variation curves show that the articulation angle of the semitrailer train with differential brake control is always smaller than that without control.The maximum articulation angle was reduced by about 1.6°.Consistent with the simulation results of the single moving line condition, the use of differential brake control in the highspeed state improves the semi-trailer's travel following for the tractor.The tractor sideslip angle change curves show that the tractor sideslip angle under differential brake control is always smaller than the tractor sideslip angle without control, and the peak sideslip angle decreases significantly.Consistent with the conclusions of the  The tractor sideslip angle change curves show that the tractor sideslip angle under differential brake control is always smaller than the tractor sideslip angle without control, and the peak sideslip angle decreases significantly.Consistent with the conclusions of the single-shift line condition, the differential brake control reduces the sideslip angle of the tractor and improves the maneuvering stability of the semi-trailer train.From the change curve of vehicle roll angle, it can be seen that the vehicle roll angle under differential brake control is smaller than without control, and the stability of semitrailer train travel is good.
Roll angle(°) The curves of brake pressure variation show the magnitude and variation of brake pressure on each wheel in the process of differential brake control.

Conclusions
This paper takes the self-driving semi-trailer train as the research object to study its trajectory tracking control problem.
(1) Differential brake control can effectively improve the driving performance of the vehicle, with the advantages of being low-cost and easy to implement.In this paper, while using MPC for trajectory tracking control of a semi-trailer train, differential braking control is used to improve the driving performance of the vehicle.On the basis of the vehicle dynamics model of the semi-trailer train, the vehicle dynamics model of the semi-trailer train considering the additional yawing moment generated by differential braking is established.(2) Under low-speed operating conditions, the desired additional yaw moment is solved by PID using the yaw rate of the tractor when traveling alone as the desired value and the yaw rate of the tractor towing the semi-trailer as the actual value.The target braking wheel is determined by formulating the differential braking control strategy under low-speed working conditions.Simulation experiments show that differential braking control under low-speed working conditions can reduce the turning radius of the semi-trailer train and improve vehicle maneuverability while ensuring trajectory tracking control accuracy.(3) Under high-speed working conditions, fuzzy PID is used to solve the desired additional yaw moment with the control objective of reducing the articulation angle of the semi-trailer train.The target braking wheel is determined by formulating the differential braking control strategy under high-speed working conditions.The simula- From the vehicle trajectory, the vehicle trajectory tracking errors with and without differential brake control are similar, and the differential brake control does not reduce the accuracy of the trajectory tracking control.Under differential brake control, the vehicle trajectory has fewer curvature changes than without control, and the vehicle travels with good stability.
From Equation (15), it is known that under a road surface with an adhesion coefficient of 0.8, the maximum lateral acceleration is 7.84 m/s 2 .As shown in Figure 26, under both conditions with and without differential braking control, the lateral acceleration of the vehicle is much less than the maximum value.This ensures that the vehicle does not skid.
The articulation angle variation curves show that the articulation angle of the semitrailer train with differential brake control is always smaller than that without control.The maximum articulation angle was reduced by about 1.6 • .Consistent with the simulation results of the single moving line condition, the use of differential brake control in the high-speed state improves the semi-trailer's travel following for the tractor.
The tractor sideslip angle change curves show that the tractor sideslip angle under differential brake control is always smaller than the tractor sideslip angle without control, and the peak sideslip angle decreases significantly.Consistent with the conclusions of the single-shift line condition, the differential brake control reduces the sideslip angle of the tractor and improves the maneuvering stability of the semi-trailer train.
From the change curve of vehicle roll angle, it can be seen that the vehicle roll angle under differential brake control is smaller than without control, and the stability of semitrailer train travel is good.
The curves of brake pressure variation show the magnitude and variation of brake pressure on each wheel in the process of differential brake control.

Conclusions
This paper takes the self-driving semi-trailer train as the research object to study its trajectory tracking control problem.
(1) Differential brake control can effectively improve the driving performance of the vehicle, with the advantages of being low-cost and easy to implement.In this paper, while using MPC for trajectory tracking control of a semi-trailer train, differential braking control is used to improve the driving performance of the vehicle.On the basis of the vehicle dynamics model of the semi-trailer train, the vehicle dynamics model of the semi-trailer train considering the additional yawing moment generated by differential braking is established.(2) Under low-speed operating conditions, the desired additional yaw moment is solved by PID using the yaw rate of the tractor when traveling alone as the desired value and the yaw rate of the tractor towing the semi-trailer as the actual value.The target braking wheel is determined by formulating the differential braking control strategy under low-speed working conditions.Simulation experiments show that differential braking control under low-speed working conditions can reduce the turning radius of the semi-trailer train and improve vehicle maneuverability while ensuring trajectory tracking control accuracy.(3) Under high-speed working conditions, fuzzy PID is used to solve the desired additional yaw moment with the control objective of reducing the articulation angle of the semi-trailer train.The target braking wheel is determined by formulating the differential braking control strategy under high-speed working conditions.The simulation experiment results show that the differential braking control under highspeed working conditions can reduce the tractor sideslip angle, vehicle roll angle, and articulation angle and improve the stability of the vehicle when driving at high speed.
Currently, there are limitations to this work.In future work, we will consider the effect of the road surface attachment coefficient on the trajectory tracking control process using differential braking control.

Figure 1 .Figure 1 .
Figure 1.Vehicle trajectory tracking control principle, where f δ is the front wheel turning angle

Figure 2 . 1 ψ and 2 ψ
Figure 2. Vehicle kinematic model, where 1f l is the distance from the center of mass of the tractor

Figure 3 .Figure 4 .
Figure 3. MPC trajectory tracking control principle.Figure 3. MPC trajectory tracking control principle.Typical model predictive control consists of three key components: the predictive model, rolling optimization, and feedback correction.The MPC works as shown in Figure 4.
domain.A series of optimal control sequences in the control time domain are obtained by solving the problem of minimizing the cost function while satisfying the constraints.The control profiles at the moment k in the control sequence are used
min u Δ and m ax u Δ are the minimum and maximum val- ues of the control increment, respectively.The control profiles here are mainly the front wheel angle f δ of the tractor.

Figure 5 .
Figure 5. Vehicle dynamics model considering additional yaw moment.Figure 5. Vehicle dynamics model considering additional yaw moment.
generated by differential braking of semi-trailer train, tractor M is the additional yaw moment of target generated by the differential braking of tractor, trailer M is the target additional yaw moment generated by differential braking of the semi-trailer, 1z I is the moment of inertia of the tractor about the Z axis, 2z I is the moment of inertia of the semi-trailer about the Z axis.

1 Figure 9 .
Figure 9. Angle of articulation in tractor coordinate system.

Figure 9 .
Figure 9. Angle of articulation in tractor coordinate system.

FuzzificationFigure 10 .
Figure 10.Fuzzy controller principle.The theoretical domain ranges of both 2 e and c e are [−3, 3].The theoretical domains of

Figure 11 .
Figure 11.Input and output belong to the membership degree graph.(a) e 2 membership degree; (b) e c membership degree; (c) ∆K p membership degree; (d) ∆K i membership degree; (e) ∆K d membership degree.

T
the target braking torque of the front and rear axles of the tractor, respectively.Zf F andZr F are the dynamic vertical loads of the front and rear axles of the tractor, respectively.

Table 2 .
Vague rules for

Table 2 .
Vague rules for ∆K p .

Table 3 .
Vague rules for ∆K i .

Table 4 .
Vague rules for ∆K d .
After determining the affiliation function and formulating the fuzzy logic rules, the fuzzy control surfaces shown in Figure12are obtained.

Table 4 .
Vague rules for d K Δ .