Trajectory Tracking Control of Intelligent X-by-Wire Vehicles

: Vehicle intelligence is an effective way to improve driving safety and comfort and reduce trafﬁc accidents. The trajectory tracking control of unmanned vehicles is the core module of intelligent vehicles. As a redundant system, the X-by-wire electric vehicle has the advantage that the turning angles and driving torque of the four wheels can be precisely controlled and it has a higher degree of controllability and ﬂexibility. In this paper, a trajectory tracking control algorithm based on a hierarchical control architecture is designed based on x-by-wire vehicles. The hierarchical control algorithm architecture includes the trajectory tracking layer, tire force distribution layer, and actuator control layer. The trajectory tracking layer uses the longitudinal force, lateral force, and yaw moment as the control variables; the model predictive control algorithm controls the vehicle to follow the desired trajectory. The tire force distribution layer is solved by transforming the tire force distribution problem into a quadratic programming problem with constraints. Based on the expected resultant force and resultant moment, the longitudinal force and lateral force of each tire in the vehicle coordinate system are obtained. The actuator control layer converts the coordinate system to obtain the longitudinal force and lateral force in the tire coordinate system, which uses the arctangent function tire model to solve the desired tire slip angle, and then obtains the vehicle steer angle and driving torque. To verify the effectiveness of the trajectory tracking control algorithm of the hierarchical control architecture, the proposed trajectory tracking control algorithm is simulated and veriﬁed through the variable speed double line change condition and the low road friction coefﬁcient double line change condition. The simulation results show that the control algorithm proposed in this paper has the accuracy to follow the desired trajectory.Deﬁnition:


Introduction
The rapid development of control-by-wire technology provides a strong technical guarantee for the realization of electronic, intelligent, and electrified vehicles, and makes x-by-wire vehicles a current research hotspot [1,2].The x-by-wire electric vehicle is a highly redundant system, whose steer angle and driving torque of the four wheels can be precisely controlled; thus, compared with traditional vehicles, it can theoretically achieve better control effects [3].The x-by-wire electric vehicle has a variety of driving modes that can be switched, with better trajectory tracking performance and a larger turning curvature limit, which can easily realize in situ steering, differential steering, oblique driving, and other working conditions, and can meet the requirements of higher precision trajectory tracking and critical working conditions [4][5][6].The high degree of controllability and flexibility and high execution ability of x-by-wire electric vehicles provide a platform for the research into driverless vehicles, which has great development potential.
The problem of trajectory tracking control is one of the three key technologies related to intelligent driving vehicles [7].As far as the trajectory tracking control of traditional front-wheel steered vehicles is concerned, the relevant theories and research methods are relatively mature, the relevant simulation experiments have been quite abundant, and many control strategies have been verified by real vehicles in specific environments.The control strategies include the following: pure tracking control, traditional proportionalintegral-derivative (PID) control, sliding mode control, dynamic feedback control, fuzzy control, and model predictive control (MPC) [8][9][10].Al-Mayyahi et al. [11] proposed a PID-based fractional-order (FOPID) controller for the trajectory tracking problem, using two FOPID controllers to calculate the control input torque of the vehicle and using a particle swarm optimization algorithm to control the parameters in the FOPID controller.Kapania et al. [12] added the vehicle's side-slip characteristics to the feedforward controller to improve the dynamic characteristics of the tire within the friction limit while keeping the vehicle within the handling limit, minimizing lateral tracking deviation.Wu [13] proposed a back stepping sliding mode controller to reduce the chattering problem of the sliding mode control.Using the fuzzy control algorithm for the overdrive system, the simulation experiment proves that the back stepping sliding mode control method has higher control precision and a smoother control process than the traditional sliding mode control.Mallem et al. [14] proposed a fast terminal sliding mode dynamic inverse control method based on PID, which makes the position and direction of the movement around the desired trajectory asymptotically stable, and used a terminal sliding mode control method to ensure finite time convergence of the trajectory tracking error to zero.Rokonuzzaman et al. [15] proposed to use the large amount of data provided by the vehicle to design MPC with a neural-network-based vehicle learning dynamic model to improve the tracking performance; the results under various road conditions show that the proposed method outperforms the MPC of the traditional vehicle model.Funke et al. [16] proposed a new control structure based on model predictive control and feedback control that integrates path tracking, vehicle stabilization, and collision avoidance, and coordinated these conflicting goals through the priority of collision avoidance.Experimental data show that the controller drives safely within the operational limits of the vehicle.
The x-by-wire electric vehicle has the advantages of independent four-wheel drive/brake and steering control, so it has been widely studied by universities and enterprises.However, the research on trajectory tracking control mainly focuses on traditional vehicles and there are few studies on trajectory tracking control algorithms for x-by-wire electric vehicles.
Based on proportional-integral (PI) control and adaptive model predictive control, Ahn et al. [17] designed an integrated autonomous driving system independent of each wheel for vehicles equipped with four-wheel independent motors to improve vehicle stability and path tracking performance.Li et al. [7] proposed a sliding mode drive controller based on PID control and sliding mode control for 4WIS/4WID vehicles.Hiraoka et al. [18] proposed an automatic controller for four-wheel steering vehicle path tracking based on sliding mode control theory.Compared with active front-wheel steering, the four-wheel steering controller has a more stable and accurate trajectory tracking capability.Zheng et al. [19] designed a trajectory tracking strategy based on a hierarchical control method.The path tracking layer adopts a nonlinear state feedback controller, and a neural network proportional-integral-derivative controller is designed to track the desired path and obtain the desired yaw rate.Chen et al. [20] designed a new adaptive linear quadratic optimal regulator (LQR) as a coordinated controller for 4WIS/4WID electric vehicle stability control.According to different vehicle speeds and road conditions, the phase plane method is used to calculate the center of mass slip angle and stability margin.
On the other hand, the current research on the trajectory tracking control of x-by-wire electric vehicles rarely considers constraints such as tire adhesion.As each wheel of the x-by-wire vehicle can be independently controlled, a reasonable control algorithm and control strategy can achieve independent longitudinal and lateral control of each wheel, improving the accuracy of trajectory tracking and the driving stability of the vehicle.
This paper takes the x-by-wire electric vehicle as the research carrier and designs the trajectory tracking control strategy based on the hierarchical control architecture, which includes the trajectory tracking layer, the tire force distribution layer, and the actuator control layer.The main contribution of this paper is as follows: 1.
Based on the hierarchical architecture, an x-by-wire electric vehicle trajectory tracking control strategy is established in which the controllers of each layer are modularly designed.The effectiveness of the algorithm is verified by simulation experiments.

2.
In the tire force distribution layer, the regular octagon constraint is used to linearize the tire force constraint and the tire force distribution problem is transformed into a quadratic programming problem with constraints for solving, which improves the real-time performance of the algorithm.
The rest of this article is structured as follows.Section 2 introduces a nonlinear x-bywire chassis vehicle model.Section 3 introduces the trajectory tracking controller based on a hierarchical architecture.Section 4 introduces the simulation under the DLC test.Section 5 presents the conclusion of the article.

Vehicle Dynamic Model
The nonlinear dynamic model of the vehicle established in this paper is as follows: where m is the mass of the vehicle.I z is the moment of inertia around the center of mass.s is the distance of the desired path.κ r is the curvature of the desired path.r, v x , and v y are the yaw rate, longitudinal speed, and lateral speed of the vehicle, respectively.e l and e ϕ are the lateral deviation and the heading angle deviation between the center of mass of the vehicle and the reference waypoint, respectively.∑F x , ∑ F y , and ∑ M z are the lateral force, longitudinal force, and yaw moment received by the center of mass of the vehicle, respectively.The above vehicle model is nonlinear.Considering that the heading deviation e ϕ is generally small, it is assumed that cos e ϕ ≈ 1, sin e ϕ ≈ 0. At the same time, considering that the road curvature and lateral deviation are generally small, the lateral speed of the vehicle is generally much smaller than the longitudinal speed.Based on this, the following can be obtained: The state equation of the vehicle lateral model is as follows: The state equation of the vehicle longitudinal model is as follows:

Tire Model
At present, there are three types of tire models: the physical tire model, empiricalsemi-empirical tire model, and finite element tire model.In this paper, the Pacejka tire model is selected, which is a semi-empirical tire model and can be expressed as follows [21]: where Y(x) is the lateral tire force.x is the slip angle of tire.B is the stiffness factor.C, D, E are curve shape factor, peak factor, and curvature factor, respectively.

Trajectory Tracking Controller Based on Hierarchical Architecture
The hierarchical control algorithm structure has the advantages of clear algorithm design and being convenient for subsequent algorithm updating.For the x-by-wire chassis vehicle, which is a research object with high integration and high controllable degrees of freedom, the method of controlling each subsystem separately cannot give full play to its own performance advantages.The control strategy of the hierarchical structure can realize the coordinated control of each controller of the vehicle with an x-by-wire chassis.As shown in Figure 1, in the hierarchical trajectory tracking controller, it is divided into the trajectory tracking layer, tire force distribution layer, and actuator control layer.In the trajectory tracking layer, which is based on the MPC, the expected total force and moment are calculated by taking the longitudinal force ∑ F x , lateral force ∑ F y , and yaw moment ∑ M z in the vehicle coordinate system as the control variables.The tire force distribution layer solves for the longitudinal force F l,i,j and lateral force F c,i,j in the vehicle coordinate system of each wheel.The actuator control layer obtains the tire steer angle δ ij and driving torque T ij based on the inverse tire force model and controls the controlled vehicle to track the trajectory.

Prediction Model
In this paper, the trajectory tracking layer is established based on the MPC algorithm and the state equation established based on Equation ( 1) is used as the prediction mode as follows: Equation ( 5) is rewritten as follows: .
A c is the state matrix, B cu is the control matrix, B cd is the disturbance matrix, and C c is the output matrix, respectively: Discretization of Equation ( 5): The discrete sampling time is defined as T s , then the discretized coefficient matrix is as follows: In order to reduce the vibration of the control amount, the control amount is rewritten as an incremental type: The state equation is as follows: The augmented state is as follows: Then, the equation of state can be rewritten as follows: Among: After applying the control variables, the model prediction process is as follows: World Electr.Veh.J. 2022, 13, 205 Definition: . . .
where Y(k + 1) is the output vector, X(k) is the state vector, and ∆D(k) is the disturbance vector.
The state matrix S x , control matrix S u , and disturbance matrix S d are, in respective order, as follows:

Cost Function
In order to ensure the safe and accurate driving of the x-by-wire electric vehicle according to the predetermined trajectory, the cost function is as follows: The error E is defined as follows: Equation ( 18) be rewritten as follows: The symmetric matrix is as follows: To simplify further, Substituting Equation (21) into Equation (18), the cost function is as follows:

Security Constraints
When the vehicle is driving, it is necessary to ensure the stability and safety of the vehicle.Vehicle stability characteristics can be captured by nonlinear tire state models.Bobier [22] uses the center of mass slip angle-yaw rate to handle the vehicle's stability constraint envelope.
When the additional yaw moment generated by the longitudinal force is not considered, in the steady state, the relationship between the yaw rate of the vehicle and the lateral force is as follows: .
As the road friction coefficient limit is ∑ F y ≤ µmg, the limit of the yaw rate at which the vehicle is stable is as follows: .
The safe driving environment of the vehicle is the safe envelope area considering road boundaries, obstacles, and traffic vehicles.The obstacle avoidance and stability control framework proposed by Erlien et al. [23] uses the safe driving envelope to delineate a collision-free area for the vehicle to exercise and the environmental safety constraints are constrained by road boundaries and traffic vehicles.This paper is based on the road boundary of the tracked trajectory as a constraint, which can be expressed as follows: H env = 0 0 0 1 0 0 0 0 0 −1 0 0 .e max and e min represent the upper and lower boundaries of the road, respectively.l bu f f er is the boundary safety margin.

Tire Force Distribution Layer
As the four wheels of an x-by-wire electric vehicle can be independently controlled, the control variables obtained based on the trajectory tracking layer are the longitudinal force ∑ F x , lateral force ∑ F y , and yaw moment ∑ M z at the center of mass.Therefore, the resultant force and torque need to be distributed to each wheel.The tire force distribution layer adopts an optimized method to distribute the force/moment to each wheel under the condition of satisfying the tire force constraint.

Tire Force Constraints
During the driving of the vehicle, the resultant force generated by each tire must satisfy the constraints of the trajectory tracking layered force equation: When distributing the tire force, in order to ensure the stability of the vehicle, it is necessary to consider the adhesion capacity of the wheel and tire.Assuming that the road friction coefficient is µ, the maximum resultant force that the tire can generate is F ≤ µF z , where F z is the vertical load.
As shown in Figure 2, the longitudinal force and lateral force of the tire must satisfy the friction circle constraint.When the wheel is in the extreme condition, the tire force will reach the limit of the friction circle and the wheel will slip, resulting in the loss of vehicle stability.The constraint of tire adhesion is nonlinear and the tire force problem can be defined as an optimization problem with quadratic constraints, but it is often time-consuming.In order to improve the real-time performance of the algorithm, the tire force constraint is simplified on the premise of ensuring the driving stability of the vehicle.Therefore, this paper adopts the circumscribed regular octagon of the friction circle to approximately describe the tire friction constraint and converts the quadratic constraint into a linear constraint.
World Electr.Veh.J. 2022, 13, x FOR PEER REVIEW  According to the geometric calculation, the radius of the regular octagon is 1.0 the radius of the friction circle and the area of the octagon is about 5.5% larger th of the friction circle.This linearization treatment has little effect on tire force and the driving stability of an x-by-wire chassis vehicle.The regular octagon is replace friction circle and the octagon linear inequality constraint of the tire friction circle is in Equation (28).( ) x y F F must be inside the regular octagon As shown in Figure 2, R is the radius of friction circle and R e is the radius of the simplified octagon.
According to the geometric calculation, the radius of the regular octagon is 1.08 times the radius of the friction circle and the area of the octagon is about 5.5% larger than that of the friction circle.This linearization treatment has little effect on tire force and ensures the driving stability of an x-by-wire chassis vehicle.The regular octagon is replaced by the friction circle and the octagon linear inequality constraint of the tire friction circle is shown in Equation (28).F x , F y must be inside the regular octagon A 1 A 2 A 3 A 4 A 5 A 6 A 7 A 8 and the constraints of the attached ellipse can be expressed as follows: For the four tires of the vehicle, the matrix form is expressed as follows:

Objective Function
The tire adhesion margin is defined as follows [24]: The adhesion margin of the tire represents the ratio of the remaining utilization force of the tire to the maximum force provided by the tire.The value range is 0 ∼ 1 and ε = 0 represents the tire reaching the adhesion limit.Thus, the objective function is defined to maximize the attachment margin.The tire usage rate is defined as follows: Based on Equation (31), the objective function is defined as the minimum sum of the tire usage rates of the four tires, which is as follows: In this article, the main object of coordination control is the lateral and longitudinal tire forces, which are related to vertical force.However, the vertical forces are not the control object of the control strategy, so the vertical force is regarded as directly available through sensors or other means.

Tire Force Distribution Algorithm
From Equation (32), the tire force distribution problem is regarded as an optimization problem with constraints: min Based on the objective function in Equation ( 32) and the optimization variable in Equation (29), the optimization problem is a quadratic programming problem, which can be solved quickly.

Actuator Control Layer
X-by-wire electric vehicles follow a desired trajectory by having independent drive/brake and steering control of each wheel.The actuator control layer converts the longitudinal force and lateral force of each wheel under the vehicle coordinate system obtained by the tire force distribution layer into the tire coordinate system.Figure 3 presents the tire force diagram.
X-by-wire electric vehicles follow a desired trajectory by having ind drive/brake and steering control of each wheel.The actuator control layer co longitudinal force and lateral force of each wheel under the vehicle coordina obtained by the tire force distribution layer into the tire coordinate system presents the tire force diagram.The tire force relationship is as follows: , , , , cos sin sin cos  is the tire slip angle, and ij  is the angl the driving direction of the wheel and the longitudinal axis of the wheel c system.The tire force relationship is as follows: δ ij is the wheel steer angle, α ij is the tire slip angle, and θ ij is the angle between the driving direction of the wheel and the longitudinal axis of the wheel coordinate system.
The tire side slip angle α ij is generally small.Equation ( 35) is approximated as follows: The force in the tire coordinate system can be obtained as follows: The lateral and longitudinal velocity of each wheel are as follows: It can be obtained from Equation (37) that the angle between the motion direction of each wheel and the longitudinal direction of the body coordinate system is as follows: The actuator control layer solves the relationship between tire slip angle and lateral force based on the arctangent model proposed by Sakai et al. [25], the function of which could fit the magic tire formula.The tire side slip model can be expressed as follows: k and G x are factors and C is the tire side slip stiffness.The desired Fl,ij is brought into Equation (39) and the tire slip angle αij can be obtained, then the wheel angle is as follows: The longitudinal moment of the wheel is as follows: τ is the time constant and r ij is the radius of rotation of the wheel.

Simulation Test
On the one hand, real vehicle experiments have a certain risk owing to a variety of conditions.On the other hand, in order to ensure the vehicle in the experiment has the expected trajectory and speed and to reduce the influence of the experimenter's subjective control on the experimental results, focus is placed upon the influence of the control strategy on the vehicle driving stability in the trajectory tracking control.In this paper, the effectiveness of the control strategy is verified by simulation experiment.
Through MATLAB/Simulink and CarSim simulation, the hierarchical trajectory tracking control algorithm is verified by the double line change (DLC) test.The vehicle parameters are shown in Table 1.

Variable Velocity DLC Condition
On a road with a friction coefficient of 0.85, the trajectory tracking of an x-by-wire electric vehicle under variable speed is simulated.The initial velocity of the vehicle is 20 km/h and the simulation time is set to 20 s.
As shown in Figure 4, the control algorithm can follow the changing vehicle velocity well and accurately track the desired trajectory; the lateral deviation and heading angle deviation of the trajectory tracking are kept within a small range.
As shown in Figure 5, the values of the vehicle's center of mass slip angle and angular velocity all change within a small range and the changes are relatively stable change range in the vehicle's lateral speed and lateral acceleration is also small, w proves the vehicle has lateral stability.As shown in Figure 5a, the driving torque has a jitter before 5 s, which is due to the large deviation between the real vehicle velocity and the reference velocity at this time.In order to reduce this deviation, the driving torque is increased.When the deviation is reduced to a reasonable range, the driving torque returns to the normal value.The change in velocity is shown in Figure 4a.
(c) (d) As shown in Figure 5a, the driving torque has a jitter before 5 s, which is due to the large deviation between the real vehicle velocity and the reference velocity at this time.In order to reduce this deviation, the driving torque is increased.When the deviation is reduced to a reasonable range, the driving torque returns to the normal value.The change in velocity is shown in Figure 4a.
As shown in Figure 6, the trajectory tracking control algorithm can reasonably distribute the load of the four tires while following the desired trajectory to ensure the stability of the vehicle.As shown in Figure 6, the trajectory tracking control algorithm can reasonably distribute the load of the four tires while following the desired trajectory to ensure the stability of the vehicle.

Low Road Friction Coefficient DLC Condition
In order to further verify that the control algorithm has good following ability and stability, a pavement with friction coefficient of 0.35 was selected for the DLC test.The initial speed is 40 km/h.
As shown in Figure 7, the control algorithm can also follow the desired vehicle speed well and accurately track the desired trajectory in the low friction coefficient road environment.

Low Road Friction Coefficient DLC Condition
In order to further verify that the control algorithm has good following ability and stability, a pavement with friction coefficient of 0.35 was selected for the DLC test.The initial speed is 40 km/h.
As shown in Figure 7, the control algorithm can also follow the desired vehicle speed well and accurately track the desired trajectory in the low friction coefficient road environment.

Low Road Friction Coefficient DLC Condition
In order to further verify that the control algorithm has good following ability and stability, a pavement with friction coefficient of 0.35 was selected for the DLC test.The initial speed is 40 km/h.
As shown in Figure 7, the control algorithm can also follow the desired vehicle speed well and accurately track the desired trajectory in the low friction coefficient road environment.As shown in Figure 8, the lateral deviation and heading angle deviation of trajectory tracking are kept within a small range.The change in the control amount is relatively stable and there is no major fluctuation.The side slip angle and yaw rate also kept fluctuating within a relatively stable range.
fluctuating within a relatively stable range.
As shown in Figure 9, it can be seen from the tire utilization coefficient of each wheel that the vehicle runs stably and safely on a low-adhesion road surface.It is proved that the algorithm proposed in this paper is suitable for various working conditions.Based on the curve of tire force and tire utilization coefficient in the simulation experiment, it conforms to the change in tire performance of each wheel in the real driving process of the vehicle.On the other hand, the vehicle state parameters also conform to the actual driving performance of the vehicle.Therefore, the results of the simulation experiment are considered to be reliable.As shown in Figure 9, it can be seen from the tire utilization coefficient of each wheel that the vehicle runs stably and safely on a low-adhesion road surface.It is proved that the algorithm proposed in this paper is suitable for various working conditions.Based on the curve of tire force and tire utilization coefficient in the simulation experiment, it conforms to the change in tire performance of each wheel in the real driving process of the vehicle.On the other hand, the vehicle state parameters also conform to the actual driving performance of the vehicle.Therefore, the results of the simulation experiment are considered to be reliable.

Conclusions
In this paper, the trajectory tracking control module of an x-by-wire electric ve is designed.A trajectory tracking control algorithm based on a hierarchical co architecture is designed to perform effective trajectory tracking control for an x-by electric vehicle, which facilitates the subsequent further development of each layer control algorithm includes the trajectory tracking layer, tire force distribution layer actuator control layer.The trajectory tracking layer uses longitudinal force, lateral f and yaw moment as control variables and designs an MPC algorithm to control the ve to follow the desired trajectory.The tire force distribution layer distributes the de resultant force/moment to each vehicle tire.In this paper, the tire force distribu problem is transformed into a quadratic programming problem with constraints to such that the longitudinal force and lateral force of each tire in the vehicle coord system are obtained.The actuator control layer can obtain the longitudinal force lateral force in the tire coordinate system through coordinate system transformatio order to obtain the vehicle turning angle and vehicle driving/braking torque co amount.Through the arctangent function tire model, the expected tire slip ang obtained, and then the vehicle steer angle and driving torque are obtained.In ord verify the effectiveness of the algorithm, the effectiveness of the proposed co algorithm is verified based on simulation experiments.

Conflicts of Interest:
Chuyo Kaku is an employee of Jiangsu Chaoli Electric Co., Ltd., Dan 212321, China.The paper reflects the views of the scientists and not the company.Dr Kaku is a time professor in our research group; however, his formal affiliation is a company.

Conclusions
In this paper, the trajectory tracking control module of an x-by-wire electric vehicle is designed.A trajectory tracking control algorithm based on a hierarchical control architecture is designed to perform effective trajectory tracking control for an x-by-wire electric vehicle, which facilitates the subsequent further development of each layer.The control algorithm includes the trajectory tracking layer, tire force distribution layer, and actuator control layer.The trajectory tracking layer uses longitudinal force, lateral force, and yaw moment as control variables and designs an MPC algorithm to control the vehicle to follow the desired trajectory.The tire force distribution layer distributes the desired resultant force/moment to each vehicle tire.In this paper, the tire force distribution problem is transformed into a quadratic programming problem with constraints to solve such that the longitudinal force and lateral force of each tire in the vehicle coordinate system are obtained.The actuator control layer can obtain the longitudinal force and lateral force in the tire coordinate system through coordinate system transformation in order to obtain the vehicle turning angle and vehicle driving/braking torque control amount.Through the arctangent function tire model, the expected tire slip angle is obtained, and then the vehicle steer angle and driving torque are obtained.In order to verify the effectiveness of the algorithm, the effectiveness of the proposed control algorithm is verified based on simulation experiments.
World Electr.Veh.J. 2022, 13, x FOR PEER REVIEW 5 of 1 yaw moment z M  in the vehicle coordinate system as the control variables.The tir force distribution layer solves for the longitudinal force system of each wheel.The actuator control layer obtains the tir steer angle ij  and driving torque ij T based on the inverse tire force model and control the controlled vehicle to track the trajectory.

3. 1 .
Trajectory Tracking Layer 3.1.1.Prediction Model In this paper, the trajectory tracking layer is established based on the MPC algorithm and the state equation established based on Equation (1) is used as the prediction model as follows:

Figure 3 .
Figure 3. Tire force of a single wheel.

Figure 3 .
Figure 3. Tire force of a single wheel.

Figure 4 .
Figure 4. Vehicle state and tracking error: (a) velocity; (b) vehicle location; (c) lateral error; (d) heading error.As shown in Figure the values of the vehicle's center of mass slip angle and yaw angular velocity all change within a small range and the changes are relatively stable; the change range in the vehicle's lateral speed and lateral acceleration is also small, which proves the vehicle has lateral stability.As shown in Figure5a, the driving torque has a jitter before 5 s, which is due to the large deviation between the real vehicle velocity and the reference velocity at this time.In order to reduce this deviation, the driving torque is increased.When the deviation is reduced to a reasonable range, the driving torque returns to the normal value.The change in velocity is shown in Figure4a.

Author Contributions:
Conceptualization, Z.W. and H.Z.; methodology, Z.W.; software, validation, Y.L., C.K., and H.Z.; formal analysis, Z.W.; investigation, H.Z.; data curation, writing-original draft preparation, Z.W., Y.L., and H.Z.; writing-review and editing, Z.W H.Z.; visualization, Z.W. and H.Z.; supervision, H.Z. All authors have read and agreed t published version of the manuscript.Funding: This research was funded by the National Key Research and Development Progra China under Grant, grant number 2021YFB2500703.Data Availability Statement: Not applicable.