A Model Predictive Control Method for Vehicle Drifting Motions with Measurable Errors

<jats:p>Vehicle drifting control has attracted wide attention, and the study methods are divided into expert-based and theory-based. In this paper, the vehicle drifting control was based on the vehicle drifting state characteristics. The vehicle drifting state parameters were obtained by the theory-based vehicle drifting motion mechanism analysis based on a nonlinear vehicle dynamics model, which was used to express the vehicle characteristics, together with the UniTire model, by considering the vehicle longitudinal, lateral, roll, and yaw motions. A vehicle drifting controller was designed by the model predictive control (MPC) theory and a linear dynamics model with the linearized expressions of nonlinear tire forces based on the consideration of measurable errors. The control targets were the vehicle drifting state parameters obtained by calculation, and the controller performance was proved by simulation in MATLAB/Simulink, demonstrating that the controller is good to realize vehicle drifting motions. The same target drifting motions were realized at different original states, which proved that the vehicle drifting control is possible with the designed controller.</jats:p>

section_content: With the rise of autonomous driving technology and the increasing demand for vehicle motion performance, it is focused on the fact that the vehicle moves under drifting conditions which means slip ratios are large and tire forces reach the maximum. 

The vehicle can accomplish the kind of drifting, fast turning that racing car drivers make in professional competitions, which provides a reference for the study. Professional drivers accurately control rear-wheel slip ratios and front-wheel steering angles to realize drift safely based on driving experiences, in which the vehicle has lost none of turning control ability and rear-axle forces reach the maximum. According to the reference, it needs to adjust the steering angle when tire forces reach the maximum to accomplish the vehicle drifting motion control. However, it is extremely easy to case vehicle rollover accidents during drifting motions. How to accomplish vehicle drifting motion control safely is the important content of the study. 

The research methods are divided into two kinds, which are expert-based methods and the theory-based methods. Expert-based methods are applied gradually in the controller design, which teaches vehicle controllers to learn how to drive under limited conditions based on the operating data of racing car drivers. High-speed driving data of drivers' behavior in circular cornering were collected by a measuring system and are available free online in [1], which provides references for similar studies. Most expert-based method studies designed controllers by learning vehicle operational drifting motions as professional drivers based on neural networks (NNs), such as references [2] [3] [4], which can achieve autonomous drifting motions accurately and safely. Expert-based methods can be applied to not only drifting control, such as papers [5, 6], which can realize autonomous driving without operational data of drivers. However, expert-based methods in drifting control
section_name: Introduction

section_content: The vehicle dynamics model can express the vehicle characteristics, which is the basis of the drifting mechanism analysis and the drifting controller design. This section describes the vehicle drifting dynamic characteristics by a vehicle nonlinear dynamics model with the UniTire model, which is a nonlinear tire model to express the tire dynamics characteristics during complex wheel motions.
section_name: Vehicle Dynamics Model

section_content: The vehicle drifting analysis was based entirely on an applicable vehicle dynamics model, which also took the place of the real car in simulation and played an important role in the controller design. The vehicle dynamics model was used to describe the dynamics World Electr. Veh. J. 2022, 13, 54 3 of 17 characteristics of the real car with simplification. The longitudinal and lateral vehicle velocities were variational, and the vehicle was rotational around the vertical direction and was dangerous because of the rotation around the longitudinal direction. To ensure rolling safety, there was no one side tire off the ground during the vehicle drifting motions in this paper. 

The 4-DOF vehicle nonlinear dynamics model was established to describe the vehicle longitudinal, lateral, yaw, and rolling motions with the nonlinear tire model in Figure 1. The chassis coordinate system is expressed by the x-y-z coordinate system, the vehicle longitudinal direction is expressed by the x axis, and the vehicle lateral direction is expressed by the y axis, as shown in [16]. The coordinate systems of the front and rear tires are expressed by the x tf -y tf and the x tr -y tr coordinate systems, respectively, and the tire revolution directions are expressed by the x tf -axis and the x tr -axis. 

role in the controller design. The vehicle dynamics model was used to describe the dy-namics characteristics of the real car with simplification. The longitudinal and lateral vehicle velocities were variational, and the vehicle was rotational around the vertical direction and was dangerous because of the rotation around the longitudinal direction. To ensure rolling safety, there was no one side tire off the ground during the vehicle drifting motions in this paper. 

The 4-DOF vehicle nonlinear dynamics model was established to describe the vehicle longitudinal, lateral, yaw, and rolling motions with the nonlinear tire model in Figure 1. The chassis coordinate system is expressed by the x-y-z coordinate system, the vehicle longitudinal direction is expressed by the x axis, and the vehicle lateral direction is expressed by the y axis, as shown in [16]. The coordinate systems of the front and rear tires are expressed by the xtf-ytf and the xtr-ytr coordinate systems, respectively, and the tire revolution directions are expressed by the xtf-axis and the xtr-axis. The vehicle dynamics equations are as shown in Equations ( 1 )-( 4 ) to describe vehicle dynamics characteristics in Figure 1 : The vehicle dynamics equations are as shown in Equations ( 1 )-( 4 ) to describe vehicle dynamics characteristics in Figure 1 :

where m is the vehicle mass, m b is the vehicle body mass (sprung mass), β is the vehicle sideslip angle, γ is the vehicle yaw rate, ψ is the vehicle roll angle, δ f is the front-wheel steering angle, v is the vehicle velocity, l f and l r are the distances from gravity center to the front and rear axles, respectively, h b is the height of the gravity center from the roll axis, I x, I z, and I xz are moments of inertia with respect to the roll and yaw axes, F x f, F y f, F z f, F xr, F yr, and F zr are the longitudinal, lateral, and vertical forces at front and rear tire, respectively, K φ and C φ are the suspension roll stiffness and roll damping coefficients, respectively, F d = 0. 5ρ a C d A f (v cos β) 2 is the aerodynamic drag force, and ρ a, C d, and A f are the air density, the aerodynamic drag coefficient, and the frontal area of the vehicle, respectively. 

Considering the load transfer caused by the lateral force, the front-and rear-axle normal loads are expressed as:

where h g is the height of the gravity center, and ∑ F x is the vehicle longitudinal force shown as Equation (1). The tire velocities along the wheel's longitudinal and lateral axes of the front and rear wheels are given as follows:

where v x f, v y f, v xr, and v yr are the longitudinal and lateral velocities of the front and rear wheel centers, respectively.
section_name: Vehicle Dynamics Equations

section_content: UniTire, a unified nonlinear tire model, can calculate longitudinal and lateral tire forces and overturning, rolling resistance, and aligning tire moments and be applied to vehicle dynamics simulation and control under complex wheel motion inputs in [18]. In this paper, the tire model was applied to calculate longitudinal and lateral tire forces with the neglect of tire moments. With the consideration of longitudinal and lateral tire motions, the tire coordinate system is described in Figure 2, and the tire model is described as follows. The index i = f, r was adopted to denote the front and rear axles, respectively, to simplify expressions. 

shown as Equation (1). 

The tire velocities along the wheel's longitudinal and lateral axe rear wheels are given as follows:
section_name: Tire Force

section_content: UniTire, a unified nonlinear tire model, can calculate longitudin forces and overturning, rolling resistance, and aligning tire moments vehicle dynamics simulation and control under complex wheel motion this paper, the tire model was applied to calculate longitudinal and late the neglect of tire moments. With the consideration of longitudinal an tions, the tire coordinate system is described in Figure 2, and the tire m as follows. The index =, was adopted to denote the front and r tively, to simplify expressions. The longitudinal and lateral slip ratios, and and the no dinal, lateral, and combined slip ratios,,, and, at each t [19] : The longitudinal and lateral slip ratios, S xi and S yi and the normalized longitudinal, lateral, and combined slip ratios, φ xi, φ yi, and φ i, at each tire are defined as [19] :

where ω i is the wheel rotation angular velocity, r ei is the wheel effective rolling radius, K xi and K yi are the longitudinal slip and cornering stiffness of the tire, respectively, and µ xi and µ yi are the longitudinal and lateral friction coefficients between tire and road surface, respectively. 

In the simplified physical tire model as [19], the longitudinal and lateral forces are described as:

where F i is the normalized resultant force at the tire. Satisfactory with the boundary condition of the physical tire model in [20], the semiphysical expression of the UniTire tire model is described as:

where E is the curvature factor of the combined slip resultant force, and λ d is the modification factor to express the variation trend of the resultant force. 

To obtain a more accurate tire description, Equation ( 11 ) was applied to the vehicle dynamics model in simulations. In addition, to simplify the drifting motion analysis, the simplified longitudinal and lateral tire forces were employed. The utilization of the friction coefficient at each tire stays the same at the ultimate value in drifting, so that the force on each tire reaches its maximum. Combining Equations ( 8 )-( 10 ), the longitudinal, lateral, and resultant forces on each tire are derived as:

where µ i is the friction coefficient between the tire and the road surface.
section_name: Tire Force

section_content: Vehicle wheels lift off from the ground more often than not as a result of large rolling motion under drift conditions. The vehicle has a risk of rollover, when the vertical force on one side wheel equals zero, otherwise, there is no risk [21] [22] [23]. Therefore, the vehicle roll model is classified into two conditions: before and after the wheel lift-off, as shown in Figure 3a, b. 

where ̅ is the normalized resultant force at the tire. 

Satisfactory with the boundary condition of the physical tire model in [20], the semi-physical expression of the UniTire tire model is described as:

where is the curvature factor of the combined slip resultant force, and is the modification factor to express the variation trend of the resultant force. 

To obtain a more accurate tire description, Equation ( 11 ) was applied to the vehicle dynamics model in simulations. In addition, to simplify the drifting motion analysis, the simplified longitudinal and lateral tire forces were employed. The utilization of the friction coefficient at each tire stays the same at the ultimate value in drifting, so that the force on each tire reaches its maximum. Combining Equations ( 8 )-( 10 ), the longitudinal, lateral, and resultant forces on each tire are derived as:

where is the friction coefficient between the tire and the road surface.
section_name: Roll Safety Analysis

section_content: Vehicle wheels lift off from the ground more often than not as a result of large rolling motion under drift conditions. The vehicle has a risk of rollover, when the vertical force on one side wheel equals zero, otherwise, there is no risk [21] [22] [23]. Therefore, the vehicle roll model is classified into two conditions: before and after the wheel lift-off, as shown in Figure 3a, b. The roll dynamics expression after the wheel lift-off in Figure 3b is shown as the follow:

where I xψ and I xzψ are moments of inertia with respect to the roll and yaw axes after wheel lift-off, respectively. Combined with Equations ( 13 ) and ( 4 ), the relational expression between the safe roll angle, the safe roll rate, and the safe roll angular acceleration in critical states can be obtained.
section_name: Roll Safety Analysis

section_content: This section designs a controller based on the model predictive control theory to realize drifting motions. The vehicle model is nonlinear, and the control model is linear to simplify the controller design. 

The control system was described as a state-space representation with a linearized tire model to optimize the controller design. The linearized tire model was obtained based on the UniTire model, which is similar to the linearized lateral tire force as shown in [24]. Based on Section 2. 2, the longitudinal tire force mainly relates to the longitudinal slip ratio, while the lateral tire force mainly relates to the slip angle, when the vertical force, the tire velocity, and the friction coefficient are invariant. The linearized expressions of the longitudinal and lateral tire forces are derived as Equation ( 14 )

where the linearized expressions are based on approximation points, κ i is the TYDEX longitudinal slip ratio, F xi and F yi are the approximate values of the longitudinal tire force and the lateral tire force, and κi, αi, Ĉxi, Ĉyi, Fxi, and Fyi are the known slip ratio, slip angle, slip stiffness, cornering stiffness, longitudinal force, and lateral force of the approximate point, respectively. The relationship between the slip angle and the approximate value of the lateral tire force and the relationship between the slip ratio and the approximate value of the longitudinal tire force are shown in Figure 4. 

̈- ̇-ℎ (̇sin + cos ( + ̇)) = ℎ sin - 2 cos, (13) where and are moments of inertia with respect to the roll and yaw axes after wheel lift-off, respectively. Combined with Equations ( 13 ) and ( 4 ), the relational expression between the safe roll angle, the safe roll rate, and the safe roll angular acceleration in critical states can be obtained.
section_name: Vehicle Drifting Based on Model Predictive Control

section_content: This section designs a controller based on the model predictive control theory to realize drifting motions. The vehicle model is nonlinear, and the control model is linear to simplify the controller design. 

The control system was described as a state-space representation with a linearized tire model to optimize the controller design. The linearized tire model was obtained based on the UniTire model, which is similar to the linearized lateral tire force as shown in [24]. Based on Section 2. 2, the longitudinal tire force mainly relates to the longitudinal slip ratio, while the lateral tire force mainly relates to the slip angle, when the vertical force, the tire velocity, and the friction coefficient are invariant. The linearized expressions of the longitudinal and lateral tire forces are derived as Equation ( 14 )

where the linearized expressions are based on approximation points, is the TYDEX longitudinal slip ratio, ̃ and ̃ are the approximate values of the longitudinal tire force and the lateral tire force, and ̂, ̂, ̂, ̂, ̂, and ̂ are the known slip ratio, slip angle, slip stiffness, cornering stiffness, longitudinal force, and lateral force of the approximate point, respectively. The relationship between the slip angle and the approximate value of the lateral tire force and the relationship between the slip ratio and the approximate value of the longitudinal tire force are shown in Figure 4. Combing Equations ( 1 )-( 4 ) and ( 14 ), the vehicle continuous-time state space representation is shown as: Combing Equations ( 1 )-( 4 ) and ( 14 ), the vehicle continuous-time state space representation is shown as:

. 

where

, and y(t) are the state vector, the input vector, and the output vector, respectively,

is the measurable error vector, and the state-space vehicle model is suitable for this study though the nonlinear transformation with the Jacobian matrices A c, B cu, and B cd. 

The discrete-time model of the above continuous-time model is shown as:

where

T s 0 e A c τ dτ•B dd with sampling time T s. Based on the fundamental of MPC, the latest measured value is the initial condition and the predictive horizon and control horizon are N u and N p while predictive horizon N u is less than or equal to control horizon N p. 

The cost function to be minimized is designed as:

where y e (k + i) and u e (k + i) are the target values of y(k + i) and u(k + i), respectively. The predictive output of the vehicle dynamic system is derived as:

where 0 ≤ j ≤ N p -N u. 

In order to calculate the minimum value of the cost function, the following is proposed:

where

Integrating Equations ( 18 ) and ( 19 ), the following equation can be obtained as:

In addition, the cost function in Equation ( 17 ) becomes J(k) = z(k) T z(k). The optimal solution minJ(k) is derived as:

The extremum condition of Equation ( 21 ) is shown as:

The matrix A z is the non-zero, and thus, the second derivative is as follows:

Therefore, the solution of Equation ( 21 ) is the minimum solution of Equation ( 17 ), and the sequence of the optimal input vectors can be obtained:

The weight coefficients in the matrices S Qy and S Qu take an important part in the solution of Equation ( 24 ), and the real-time computational burden depends on the values of predictive horizon N u and control horizon N p. Through enough computation, the solution can be obtained. 

Equation (24) is the solution of the open-loop system. This study designs a close-loop controller, and the first sample u(k) of Equation ( 24 ) can be used to compute the optimal steering angle and slip ratios to control vehicle drifting motions, which is equivalent to predictive horizon N u equaling to one with the real-time computing.
section_name: Vehicle Drifting Based on Model Predictive Control

section_content: The driving performance of the vehicle drifting is shown as follows by analyzing the motion mechanism, and the satisfying performance of the MPC controller was expressed as the simulation results in MATLAB/Simulink. 

The vehicle main parameters are shown in Table 1. The vehicle drifting motion mechanism was analyzed in [16]. Considering the absolute maximum steering angle was 0. 7 rad in practice, the velocity limitations are shown in Figure 5, which was obtained by the calculation to describe the maximum and minimum velocities of the vehicle in steady-state drifting motions in different road conditions and suggested the vehicle drifting motion can improve the vehicle dynamics performance. The main vehicle state parameters in drifting motions were obtained by an the drifting mechanism. There were four groups of vehicle drifting state param Table 2 to reveal the characteristics of the vehicle drifting state parameters. Group one group of Figure 5 to suggest the maximum velocity when the circle equaled The main vehicle state parameters in drifting motions were obtained by analyzing the drifting mechanism. There were four groups of vehicle drifting state parameters in Table 2 to reveal the characteristics of the vehicle drifting state parameters. Group (a) was one group of Figure 5 to suggest the maximum velocity when the circle equaled 12 m in the steady-state drifting motion, and group (b) was one group in Figure 5 to suggest the minimum velocity. Groups (c) and (d) were randomly chosen among all analysis results as target groups in simulations to verify the controller performance. All TYDEX longitudinal slip ratios of the rear tires in groups (a), (b), (c), and (d) were obtained by matching the theoretical tire forces and the UniTire model. All original states were uniform linear motions with different velocities to verify the controller performance. The 6 m/s original velocity was lower than the target in group (c), the second original velocity equaled 10 m/s and was higher than the target in group (c), and the original velocity equaling 8. 1 m/s was very close to the target in group (c), of which the main intention was to demonstrate that the designed controller can be used to realize the vehicle drifting motions with different no-limited original states. The last two simulations with 9 m/s and 13. 7 m/s original velocities for the target groups (d) and (e), respectively, were to verify that the controller can realize more than just a target drifting motion. 

The simulation results, shown in Figures 6 7 8, suggested that the same target vehicle drifting motion (group (c) in Table 2 ) can be realized with different no-limited original states and all final drifting motions were in the vicinity of the target. Combined with the simulation result in Figure 9, it suggested that the controller can realize different target drifting motions with no-limited original states. Figure 10 suggests that the controller can realize a larger target drifting motion with no-limited original states. The steering angles and the TYDEX longitudinal slip ratios of the front and rear tires were the controlled variables in this study. Considering vehicle practical working conditions, there were amplitude and gain limitations of the control parameters including the steering angle and tire slip ratios in the controller design. The final steering angles in Figure 6d, Figure 7d, Figure 8d, Figure 9d, and Figure 10d and the final TYDEX longitudinal slip ratios of the rear tires in Figure 6e, Figure 7e, Figure 8e, Figure 9e, and Figure 10e were close to the targets in small error ranges. The TYDEX longitudinal slip ratios of the front tires, in order to better realize the vehicle drifting motions, were arranged in the range from 0. 15 to -0. 15, where the longitudinal tire force was remarkably correlated linearly with the TYDEX longitudinal slip ratio, and the corresponding simulation results are shown in Figures 6e, 7e, 8e, 9e and 10e. Based on the controlled variables, the vehicle main states parameters, including the velocities in Figures 6a, 7a, 8a, 9a and 10a, the sideslip angles in Figures 6b, 7b, 8b, 9d and 10d, and the yaw rates in Figures 6c, 7c, 8c, 9c and 10c, were close to the targets within the little bit larger margins of errors than the controlled variables, because the UniTire semi-empirical model was not identical to the theoretical analysis. The radiuses of the vehicle motion curves approach to the targets in Figures 6f, 7f, 8f, 9f and 10f, and the vehicle motion curves are shown in Figures 6g, 7g, 8g, 9g and 10g where the coordinated origins are the starting points. Because all vehicle original states parameters had big differences with the target states in values including the sideslip angle and yaw rate and the target control parameters including the steering angle, the controller took some time to realize drifting motions, and there were some fluctuations in the results, which all finally converged nearby the targets. 

According to the simulation results, the vehicle drifting characteristics were revealed, and the designed controller was tested by realizing vehicle drifting motions which started with uniform linear motions. The vehicle drifting motion can take full advantage of the vehicle dynamics performance, and the vehicle drifting control study will be combined with automatic driving to improve driving safety in further studies. 

According to the simulation results, the vehicle drifting characteristics were revealed, and the designed controller was tested by realizing vehicle drifting motions which started with uniform linear motions. The vehicle drifting motion can take full advantage of the vehicle dynamics performance, and the vehicle drifting control study will be combined with automatic driving to improve driving safety in further studies.
section_name: Results

section_content: How to control the vehicle moves under drifting conditions, which means slip ratios are large and tire forces reach the maximum, is a topical issue in the vehicle dynamics
section_name: Conclusions

section_content: How to control the vehicle moves under drifting conditions, which means slip ratios are large and tire forces reach the maximum, is a topical issue in the vehicle dynamics control. The vehicle drifting driving is too hard to be realized for most people, so there are expert-based methods and theory-based methods to study the vehicle drifting control. This paper designed a controller based on the MPC theory with the linearized expressions of nonlinear longitudinal and lateral tire forces to realize the vehicle drifting motion analyzed by the vehicle drifting motion mechanism based on the nonlinear dynamics model, together with the UniTire model, by considering vehicle longitudinal, lateral, and yaw motions. The vehicle main state parameters were calculated by MATLAB/Simulink simulations. In addition, the designed controller performance was proved by realizing target drifting motions with different original states, which suggested the vehicle drifting motions can be accomplished by the designed controller to make vehicle drifting easier for most people.
section_name: Conclusions

section_content: Acknowledgments: The author(s) would like to thank all the researchers taking part in the experiment from College of Engineering, China Agricultural University.

section_name: Institutional Review Board Statement: Not applicable.

section_content: Funding: This research was funded by "The National Natural Science Foundation of China (grant number: 51775548 ") "The National Natural Science Foundation of the Nei Monggol Autonomous Region (grant number: 2020MS05059 ").

section_content: Informed Consent Statement: Not applicable.
section_name: Institutional Review Board Statement: Not applicable.

section_name: Data Availability Statement:

section_content: The study did not report any data. All data in this study can be obtained by calculation.
section_name: Data Availability Statement:

section_name: Conflicts of Interest:

section_content: Author Contributions: Methodology, D. X. ; investigation, Y. H., C. G., L. Q. and R. Z. ; writing-original draft preparation, D. X. ; writing-review and editing, G. W. and D. X. ; project administration, G. W. All authors have read and agreed to the published version of the manuscript.

section_content: The authors declare no conflict of interest.
section_name: Conflicts of Interest: