{'fraction_non_alphanumeric': 0.024133534940259126, 'fraction_numerical': 0.011622046310296777, 'mean_word_length': 4.752046384720328, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Trajectory tracking of in-wheel motor electric vehicles based on preview time adaptive and torque difference control

In order to improve the accuracy of trajectory tracking of in-wheel motor electric vehicles, a preview time adaptive trajectory tracking method based on iterative algorithm and fuzzy control is proposed. Firstly, based on the vehicle’s three-degree-of-freedom model, the vehicle is controlled to track trajectory based on model predictive control (MPC). The preview step size and sampling period of MPC are adjusted by iterative function and fuzzy controller, respectively. Then, In order to optimize MPC active steering control, a differential torque controller is established to realize the trajectory tracking control of differential torque steering. Finally, Carsim/Simulink co-simulation analysis and real vehicle verification are done. The simulation results show that the controller can complete the trajectory tracking control of the in-wheel motor intelligent vehicle, and the stability and steering performance are good. The controller has good robustness and adaptability according to road adhesion conditions and vehicle speed changes. At the same time, the trajectory tracking accuracy of the MPC controller is better than sliding mode variable structure control (SMC). The real vehicle verification results show that when the real vehicle tracking under different speeds, the adaptive preview time controller designed in this paper has good trajectory tracking performance and stability.


Preface
At present, people's demand for automobiles is increasing. In response to the environmental pollution caused by automobile emissions and the increase in the number of traffic accidents caused by the rapid increase of vehicles, countries around the world are vigorously promoting vehicle electrification and vehicle intelligence. 1 However, due to lack of verification of vehicle safety and dynamics control of existing in-wheel motor-driven electric vehicles, most of them can only be simulated and analyzed. 2 In-wheel motor-driven electric vehicles can enhance the dynamic control of electric vehicles through the estimation of vehicle conditions and parameters and the study of driver's driving characteristics. At the same time, trajectory tracking control has become the research focus of intelligent vehicles. 3 Luan et al. 4 proposed an adaptive model predictive control algorithm to solve system instability in order to improve the tracking accuracy, robust stability and calculation efficiency in the rolling optimization process, this algorithm can suppress random network delays and improve the safety of autonomous driving systems. He et al. 5 proposed a trajectory tracking control method based on the deep deterministic strategy gradient algorithm in reinforcement learning for the problem of lateral control, the results show that the method has small lateral deviation and angular deviation in the process of trajectory tracking control, and can meet the tracking requirements under different vehicle speeds. Xu et al. 6 used optimal control to plan human-like trajectories in consideration of the natural comfort of passengers to reflect natural driving behavior, thereby improving the acceptability of future unmanned vehicles. Yang et al. 7 compared the model predictive control and robust HN state feedback control of trajectory tracking under different driving conditions. Zhang et al. 8 proposed an active rear steering vehicle path tracking control method that considers the driver's steering characteristics based on the MPC controller, to help the driver track the desired trajectory in a customized way, reduce the driver's workload. Wu et al. 9 designed a linear time-varying model predictive trajectory tracking controller by locally linearizing the nonlinear vehicle model, and considered the vehicle dynamic stability constraints. The preview time used in the model predictive control in the above documents is a fixed value, which cannot be applied to the requirements of driving under different working conditions. Xie et al. 10 and Zhou et al. 11 have done research on the adaptive adjustment of preview time, but the factors are considered less, parameter adjustment is more cumbersome. Yu and Liao 12 and Yu and Li 13 studied the problem of observer-based predictive tracking control, and then designed a new predictive control scheme for the trajectory tracking problem of continuous-time nonlinear systems. At the same time, the vehicle has less emphasis on torque difference control during steering. Hu et al. 14 proposed a torque distribution control strategy that adapts to different driving speeds, which improves the steering maneuverability of the vehicle at low speeds and achieves steering stability at high speeds. Man and Zhao 15 established an electric vehicle model with independent front-wheel drive, the electronic differential control strategy of driving wheel equal power distribution is constructed, but the control system was only verified by simulation in Matlab, without considering the real-time nature of the control system. Jin et al. 16 coordinated the control of fourwheel independent drive and four-wheel independent steering, but did not consider the changes in road attachment conditions. This paper proposes an MPC trajectory tracking control method based on adaptive preview time. The innovation of this paper is mainly reflected in the simultaneous and real-time control of the preview step and simulation period in MPC. The preview step length is adjusted by setting an iterative function in the S function, and the simulation cycle is adjusted by setting up a fuzzy control module outside the S function, which reduces the complexity of adaptive adjustment of the preview time and improves the real-time performance. In addition, in order to optimize the active steering control, the differential torque control is considered when the vehicle is turning.
The rest of the paper is organized as follows: chapter 2 introduces the vehicle dynamics model; Chapter 3 introduces the trajectory tracking control method based on improved MPC; Chapter 4 introduces simulation and real vehicle verification under multiple conditions; Finally, Chapter 5 summarizes this research.

Vehicle model
In order to achieve trajectory tracking, dynamic analysis of the vehicle is required. By considering vehicle stability, ignoring vehicle suspension characteristics, and considering the real-time requirements in model predictive control, the vehicle dynamics model is established as shown in Figure 1. In the Figure 1, the vehicle coordinate system is oxyz, and the inertial coordinate system is OXY. The vehicle only moves in three degrees of freedom: longitudinal, lateral, and yaw. F lf and F lr are the longitudinal forces received by the front and rear tires respectively; F cf and F cr are the lateral forces received by the front and rear wheels respectively; F xf and F xr are the forces received by the front and rear wheels in the x direction respectively; F yf and F yr are the forces received by the front and rear wheels respectively force in the y direction. The force balance equations of the vehicle along the x-axis, y-axis, and around the z-axis are as follows: where, m is the curb weight of the vehicle, u is the yaw angle of the vehicle, I z is the moment of inertia around the z-axis, and a and b are the distances from the center of mass to the front axles and rear axles, respectively.
The car body coordinate system and inertial coordinate system used in modeling, the conversion relationship between the two is: Assuming that the tire deflection angle works in a small angle range, the tire longitudinal force and lateral force can be obtained: where, C l and C c are the longitudinal and lateral stiffness of the tire, s is the slip rate, and a is the side slip angle of the tire. After simplification and derivation, the nonlinear vehicle dynamics model is obtained as: where, d f is the steering angle of the front wheels.

Improved MPC trajectory tracking control method
Trajectory tracking control framework The framework of the trajectory tracking method is shown in Figure 2. Firstly, based on the vehicle's three degree of freedom model, the vehicle is controlled to track trajectory based on model predictive control (MPC). Then use iterative function and fuzzy controller to adjust the preview step length and sampling period of MPC to realize adaptive control of preview time. Finally, a differential moment controller is established with the center of mass slip angle as the control target, the trajectory tracking control under differential torque steering is realized.

Basic MPC algorithm
The vehicle dynamics model (8) can be expressed as: where, the state quantity is defined as j dyn = ½_ y, _ x, u, _ u, Y , X and the control quantity is u dyn = d f . According to the linear discretization method of the state trajectory, the linear error equation is first obtained: where, ∂u dyn j j t , u t , A dyn t ð Þ and B dyn t ð Þ are the Jacobian matrices.  The approximate discretization of the first-order difference quotient is adopted, namely: Among them, I is the identity matrix and T is the sampling period. Combining equations (10) and (11), we can get: Considering the design of the MCP controller, equation (12) can be transformed into: where, . The role of the controller is to control the vehicle to track the desired trajectory quickly and smoothly, so the controller also adds soft constraints. 17 The objective function form adopted by the model prediction tracking controller is as follows: where, h dyn, ref t + i t j ð Þis the i-th reference state value of the system at time t, Q, and R are weight matrices, r is the weight coefficient, and e is the relaxation factor. The first term in the formula is the ability to track the reference trajectory, and the second term is the requirement for the control amount.
To solve the optimization problem, the objective function is expressed in quadratic form as: where and P t is a constant, E(t) is the tracking error within the prediction range.
In the actual working process of the control system, some control variables and control increment constraints must be met. The constraints are set as follows: (1) Control amount constraints (2) Control incremental constraints The variable to be solved in the objective function is the control increment, so the constraint condition should be given in the form of the control increment or the multiplication of the control increment and the conversion matrix. Convert the control increment constraint as follows: Assume U dyn, t as: where, 1 N c is the column vector with the number of rows N c , I m is the identity matrix with dimension m, is the Kronecker product, and u dyn k À 1 ð Þ is the actual control quantity at the previous moment. Combining equations (18); (20), equation (16) can be transformed into: After completing the above solution in each control cycle, a series of control input increments and relaxation factors in the control time domain will be obtained as shown in the following formula: Then use the first element of the control sequence as the actual control input increment to act on the system, namely: After entering the next control cycle, repeat the above process to realize the trajectory tracking control based on the vehicle dynamics model. Since the center of mass slip angle has a greater impact on vehicle stability, a reasonable design of the center of mass slip angle constraint can improve the safety of MPC tracking control. In this paper, according to the enterprise standard, the center of mass slip angle b of the smart vehicle is designed as 18 : Dry standard road surface : À128 ł b ł 128 Wet and slippery road surface : À28 ł b ł 28 ð24Þ Considering the driving stability of the vehicle, set the front wheel slip angle a f constraint as 20 :

MPC algorithm based on preview time adaptive
In the MPC controller, the preview time is generally set to a constant value between 0.3 and 1.6, when the vehicle is at a high speed and complex trajectory, the fixed preview time will affect the tracking accuracy, so the preview time should be set adjustments according to road conditions to avoid large vehicle tracking errors. In order to achieve the above optimization goals, a preview time adaptive controller based on iterative algorithm and fuzzy control is designed. Figure 3 shows the preview time adaptive control strategy. The control strategy mainly includes two parts: the model predictive trajectory tracking controller and the preview time adaptive controller. The model predictive controller is the upper control system, which calculates the front wheel angle of the dynamic model according to the objective function and transmits it to the vehicle model; The preview time adaptive controller takes road curvature, trajectory deviation and vehicle speed as input, and uses iterative algorithm and fuzzy controller to solve the appropriate preview step and sampling period respectively, and inputs it to the model predictive controller to achieve preview time adaptive control. The preview time T in MPC is equal to the product of the preview step size N p and the sampling period t, the preview time can be controlled by adjusting N p and t. The preview step N p is adjusted by referring to the rate of change of trajectory curvature, and the road curvature is obtained in real time during the simulation process, and the calculation formula is as follows: where, according to the formula (26), the rate of change of the curvature of the reference trajectory k 0 i is as follows: where, y i is the ordinate of the MPC preview vehicle trajectory at the ith moment, k 0 i is the absolute value of the rate of change of the reference trajectory curvature at the ith moment, and v is the current vehicle speed, and t is the simulation time.
Through the prediction characteristics of MPC, using p as the evaluation index, judge the characteristics of the trajectory within the next preview distance of the current position: p and N p can be expressed by a cubic polynomial: where, the initial value of N p is 20, and the values of c 1 , c 2 , and c 3 are 11.34, 2.37, and 21.6, respectively. The sampling period t is adjusted by the track deviation e and the road curvature k. The trajectory deviation e and the road curvature k are used as the input of the fuzzy controller, and the sampling period t is calculated as the output, and it is input to the fuzzy controller in real time. The vehicle trajectory deviation and road curvature are normalized, and the trajectory deviation parameter E and the road curvature parameter K are shown in the following formula: where, Dy max and Dy min represent the maximum and minimum trajectory deviations, respectively, and k max and k min represent the maximum and minimum road curvatures, respectively.  Table 1. After the fuzzy control calculation, the sampling period t, the trajectory deviation E, and the road curvature K are shown in Figure 4.
Through MPC trajectory tracking controller, the tracking effect of the adaptive preview time and fixed preview time is compared and verified. The trajectory tracking effect at the vehicle speed of 72 km/h is shown in Figure 5(a). When the adaptive preview time MPC is used, the maximum lateral deviation between the vehicle trajectory and the reference trajectory is 0.99 m, and the root mean square of the lateral deviation is 0.23 m. When the fixed preview time MPC is used, the maximum lateral deviation between the vehicle trajectory and the reference trajectory is 1.25 m, and the root mean square of the lateral deviation is 0.36 m. It can be seen from the Figure 5 that the trajectory tracking accuracy can be improved better by using the adaptive preview time than by using the fixed preview time when turning. The trajectory tracking effect at the speed of  108 km/h is shown in Figure 5(b). When the adaptive preview time MPC is used, the maximum lateral deviation between the vehicle trajectory and the reference trajectory is 2.28 m, and the root mean square of the lateral deviation is 0.37 m. When the fixed preview time MPC is used, the maximum lateral deviation between the vehicle trajectory and the reference trajectory is 2.41 m, and the root mean square of the lateral deviation is 0.83 m. It can be seen from the Figure 5 that the tracking accuracy of the tracking trajectory using adaptive preview time MPC is slightly reduced after turning, but the tracking effect is better when driving in a straight line. In addition, the stability of the vehicle is higher, and the overall trajectory tracking accuracy is improved.
The simulation result of vehicle speed 72 km/h and preview time is shown in Figure 6(a). It can be seen from the figure that the preview time decreases when the road curvature is large, and the preview time at the maximum road curvature is as low as 0.43 s, when the curvature of the second half of the trajectory is small, the preview time is increased to 0.75 s, and the driving stability of the vehicle is improved. The simulation result of preview time at a speed of 108 km/h is shown in Figure 6(b). It can be seen from the figure that due to the increase in vehicle speed, the preview time is constantly adjusted at the place where the road curvature is larger, and the preview time can respond to increase when the curvature is smaller, this shows that the designed controller can meet the requirements of preview time adaptation.

Coordinated control of torque difference and MPC
Since the in-wheel motor intelligent vehicle cancels the differential transmission of the traditional vehicle, it is also necessary to consider the differential torque of the steering wheel in the trajectory tracking control, it is known that the side slip angle of the center of mass plays a key role in the stability of the vehicle steering. 19 Therefore, a fuzzy controller with the mass slip angle as the control target and the inner and outer wheel torque adjustments as the output is proposed, it is used to adjust the torque difference when turning.
The error e = e r À e o between the vehicle's ideal center of mass slip angle and the actual center of mass slip angle, and the derivative of the error e c = de=dt, can better reflect the dynamic characteristics of the vehicle. In order to ensure the stability of the steering system, the vehicle's center of mass slip angle should be reduced   Table 2, and the input-output relationship after fuzzy calculation is shown in Figure 7.
Based on the above theory, the vehicle model's torque difference verification is carried out under Simulink/CarSim. Given a vehicle speed of 10 m/s, the road attachment condition is set as the ideal dry road m = 0.8, and the double shifting working condition is set. Figure 8 shows the center of mass slip angle. It can be seen from the figure that the center of mass slip angle changes smoothly during the simulation, the vehicle is in good driving condition, there is no rollover or instability, and the vehicle has good stability during driving. Figures 9 and 10 show the torque difference output by the differential torque controller and the inner wheel torque, respectively. It can be seen from the figure that the torque difference output by the torque difference controller and the left wheel torque are adjusted with the change of the side slip angle of the center of mass, the torque difference fluctuates at the larger curvature, but the torque output quickly tends to smooth. When the side slip angle of the center of mass fluctuates greatly, the wheel differential torque follows the change, indicating that the designed differential   torque controller can complete the role of differential driving.

Simulation and test verification
In order to verify the effectiveness of the proposed control system, Matlab/Simulink and Carsim are used to build a joint simulation platform to carry out a simulation experiment of two-lane change trajectory tracking. In Carsim, the vehicle model is changed to four-wheel independent drive, and the power is introduced by Simulink.

Trajectory tracking comparison verification
In order to achieve the comparison of trajectory tracking performance, the sliding mode variable structure control (SMC) algorithm is introduced and compared with MPC for verification.
Scene A. Set the vehicle speed to 90 km/h and the road friction coefficient to 0.8. The simulation result of scenario A is shown in Figure 11. Figure 11(a) and (b) show the simulation results of the trajectory and heading angle of the two controllers. When using the MPC controller, the maximum lateral deviation between the vehicle trajectory and the reference trajectory is 1.44 m, and the root mean square of the lateral deviation is 0.25 m; the maximum deviation between the heading angle and the desired heading angle is 7.50°, and the root mean square of the deviation is 1.38°. When using the SMC controller, the maximum lateral deviation between the vehicle trajectory and the reference trajectory is 2.31 m, and the root mean square of the lateral deviation is 0.79 m; the maximum deviation between the heading angle and the desired heading angle is 14.86°, and the root mean square of the deviation is 5.71°. It can be seen that in this case, the trajectory tracking accuracy of the MPC controller is better than that of the SMC controller. Figure 11(c) shows the front wheel angles under the two controllers. The  maximum front wheel angle controlled by MPC is 2.18°, while the maximum front wheel angle controlled by SMC is 3.82°, it shows that the output steering angle of the MPC controller is small and the change is stable. Figure 11(d) shows the center of mass slip angle under the action of two controllers. The maximum value of the center of mass slip angle controlled by MPC is 1.38°, and the maximum value of the center of mass slip angle controlled by SMC is 1.88°, both of which are smaller than the limit constraint.
Scene B. The vehicle speed is set to 108 km/h, the road friction coefficient is 0.8, and the simulation result of scenario B is shown in Figure 12. Figure 12(a) and (b) show the trajectory and heading angle simulation results of the two controllers. When using the MPC controller, the maximum lateral deviation between the vehicle trajectory and the reference trajectory is 2.28 m, and the root mean square of the lateral deviation is 0.37 m; the maximum deviation between the heading angle and the desired heading angle is 9.71°, and the root mean square of the deviation is 1.78°. When using the SMC controller, the maximum lateral deviation between the vehicle trajectory and the reference trajectory is 2.57 m, and the root mean square lateral deviation is 0.90 m; The maximum deviation between the heading angle and the desired heading angle is 16.18°, and the root mean square of the deviation is 5.12°. It can be seen that in this case, the trajectory tracking accuracy of the MPC controller is better than that of the SMC controller. Figure 12(c) shows the front wheel angles under the two controllers. The maximum front wheel angle controlled by MPC is 2.37°, while the maximum front wheel angle controlled by SMC is 5.47°, it shows that the output steering angle of the MPC controller is small and the change is stable. Figure 12 Figure 13. Figure 13 Figure 13(e) and (f) that the vehicle's yaw rate changes smoothly following the vehicle trajectory, and fluctuates when the vehicle turns, the center of mass slip angle changes smoothly when the vehicle speed is low, and its amplitude reaches 24.18°and 3.52°when the vehicle speed is 30 m/s, this is because the stability is slightly reduced due to the high speed. According to the formula (24), it is known that on dry standard road surface, the center of mass slip angle b is from 2128 to + 128, so the center of mass side slip angle in different speed conditions are less than this constraint limit, so the vehicle has better driving stability. Figure 13(g) and (h) are the front wheel turning angle and tire side slip angle of the vehicle, respectively. From Figure 13(g) and (h), it can be seen that the front wheel turning angle and the tire side slip angle change gently when the vehicle speed is 20 and 25 m/s. When the vehicle speed is 30 m/s, the front wheel turning angle and the tire slip angle both show high amplitude changes, and the tire side slip angle amplitude reaches 22.298 and 2.588. This is because the stability of the vehicle is reduced due to the high vehicle speed. However, according to the formula (25), it is known that the constraint limit of the tire side slip angle amplitude is from 248 to + 48, so the maximum value does not exceed the constraint limit.
Based on the above tracking results at different speeds, the tracking accuracy of the vehicle decreases to a certain extent with the increase of speed, but the various parameters of the vehicle meet the constraint requirements, and the controller has good trajectory tracking performance and strong robustness to speed.
Double line shifting trajectory tracking under different road attachment conditions. Aiming at the three road conditions of dry, slippery and snowy roads, the vehicle trajectory tracking ability was tested under the three conditions of adhesion coefficient m = 0.3, 0.5, and 0.8. The longitudinal speed of the vehicle is set to 20 m/s (72 km/h), the simulation time is 20 s, and the simulation step is 0.001. The simulation results under different attachment conditions are shown in Figure 14. When m = 0.3, the heading angle deviation has a peak value, with the increase of the road adhesion coefficient, the actual heading angle is getting closer to the reference value. Figure 14(e) and (f) are the vehicle's yaw rate and center of mass side slip angle, respectively. It can be seen from Figure 14(e) and (f) that the vehicle's yaw rate and center of mass side slip angle change smoothly, when m = 0.3, the yaw rate continues for a short time at a certain angle, and the side slip angle of the vehicle's center of mass is still partially fluctuating at 150 m in the longitudinal trajectory due to the poor road environment, and its amplitude reaches 20.95°and 0.74°w hen m = 0.5. According to the formula (24), it is known that on wet and slippery road surface, the center of mass slip angle b is from 228 to + 28, so the center of mass side slip angle is less than the constraint limit under different attachment conditions, so the vehicle has good driving condition. Figure 14(g) and (h) are the front wheel turning angle and tire side slip angle respectively. It can be seen from Figure 14(g) that when the road adhesion coefficient is good, the front wheel turning angle changes gently, when m = 0.3, the front wheel rotation angle fluctuates greatly, which is caused by the low adhesion coefficient. It can be seen from Figure 14(h) that the tire side slip angle changes smoothly, and there is a large fluctuation when the road adhesion coefficient is low, and its amplitude reaches 22.338 and 2.898, According to the formula (25), it is known that the constraint limit of the tire side slip angle a f amplitude is from 248 to + 48, so the maximum value does not exceed the constraint limit, too.
Combining the above tracking results under different attachment conditions, the vehicle is accompanied by better conditions, and the tracking error is getting smaller and smaller, on icy and snowy roads with poor attachment conditions, the yaw rate of the vehicle will be unstable to a certain extent, but the controller can make corrections in time, it shows that the controller has good trajectory tracking performance under different attachment conditions, and has good robustness to different road environments.
Comparing the simulation results of the above two working conditions, the controller can complete the trajectory tracking control of the in-wheel motor intelligent vehicle, and has good robustness and adaptability to road attachment conditions and vehicle speed changes.

Real vehicle verification
An intelligent electric vehicle is used in the experiment, an integrated navigation and CAN communication system are equipped and the vehicle is controlled through the vehicle controller. The actual vehicle system is shown in Figure 15. First, the vehicle is driven to produce a section of trajectory as the reference trajectory, and then the position information and steering wheel angle information in the integrated navigation through CAN communication during the experiment are collected. In order to verify the feasibility of the adaptive preview time trajectory tracking controller, a trajectory tracking test of low vehicle speeds under lane changing conditions is carried out. Scenario A. It is set to track the reference trajectory at two longitudinal vehicle speeds of 10 and 25 km/h. The test results of scenario A are shown in Figure 16. The tracking trajectory is shown in Figure 16(a). It can be seen from the Figure that the trajectory tracking accuracy at the two vehicle speeds is good. Although the deviation at the end of the trajectory tracking is slightly larger at the vehicle speed of 25 km/h, it can be tracked to the end of the trajectory. The heading angle and steering wheel angle of the vehicle are shown in Figure 16(b) and (c), respectively. It can be seen from the figure that, the heading angle deviation will increase as the vehicle speed increases. The heading angle and front wheel turning angle at 25 km/h both have a certain amplitude jump at the end, which is caused by the environmental influence of the target vehicle during the trajectory tracking process. However, the overall change is gentle. To sum up, the tracking accuracy of the vehicle decreases to a certain extent with the increase of speed, but the overall driving of the vehicle is stable, and the controller has good trajectory tracking performance.
Scenario B. An MPC trajectory tracking controller with fixed preview time is designed in Yuan. 20 This paper's control method and literature 20 are compared and the control accuracy of this paper's control method is verified through real vehicle test. The trajectory tracking real vehicle test is carried out at a vehicle speed of 10 km/h in the scenario B, and the test results of scenario B are shown in Figure 17. Figure 17(a) shows the tracking trajectory. It can be seen from the figure that compared to the fixed preview time, the driving  trajectory under the adaptive preview time during steering is closer to the reference trajectory, and the tracking accuracy of the trajectory is improved. Figure 17(b) and (c) are the heading angle and steering wheel angle of the vehicle, respectively. It can be seen from the figure that the heading angle under adaptive control is generally closer to the reference value, and the heading deviation in the back section of the trajectory is smaller. At the same time, the steering wheel angle change under adaptive control is more in line with the reference heading angle, and the change is gentle at the end of the trajectory. In summary, the adaptive preview time can improve the stability of the vehicle when turning, and improve the accuracy of trajectory tracking.

Conclusions
In this paper, a trajectory tracking method with improved MPC and torque difference control is proposed and tested. This improved MPC method can preview time adaptive control to improve the accuracy of trajectory tracking, and the torque difference control can coordinate trajectory tracking and improve the stability of vehicle driving. The content is summarized as follows: (1) A model predictive control trajectory tracking algorithm based on adaptive preview time is proposed, which realizes adaptive control of the preview time of the model predictive controller through trajectory deviation, road curvature and vehicle speed. The preview time can be adjusted with multi-parameter according to different working conditions. Through simulation and comparison, it is found that the designed controller can meet the requirements of preview time adaptation, the preview time adaptive control strategy can improve the tracking accuracy and driving stability of the vehicle. (2) The side-slip angle of the center of mass is used as a control variable, a differential torque controller based on fuzzy control is designed to adjust the torque of the inner and outer wheels when the vehicle is steered. Through simulation, it is verified that the differential torque controller can complete the function of differential driving, which ensures the stability of the vehicle under steering conditions.  good trajectory tracking performance, and the trajectory tracking of real vehicles at different speeds has good stability. (4) In the follow-up research, the vehicle speed will be changed, and the trajectory tracking under dynamic vehicle speed will be considered in the control process.

Author contributions
Methodology and writing-original draft preparation, Wenyao Han; software and validation, Aijuan Li; writing-review and editing, Xin Huang and Aijuan Li.; Conceptualization, Wei Li; formal analysis, Haixiang Bu; Simulation and Analysis, Wenyao Han and Jiaoping Cao. All authors have read and agreed to the published version of the manuscript.

Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.

Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This project is supported by National Natural Science