This paper studies the lateral stability regulation of intelligent electric vehicle (EV) based on model predictive control (MPC) algorithm.
Firstly, the bicycle model is adopted in the system modelling process. To improve the accuracy, the lateral stiffness of front and rear tire is estimated using the real-time yaw rate acceleration and lateral acceleration of the vehicle based on the vehicle dynamics. Then the constraint of input and output in the model predictive controller is designed. Soft constraints on the lateral speed of the vehicle are designed to guarantee the solved persistent feasibility and enforce the vehicle’s sideslip angle within a safety range.
The simulation results show that the proposed lateral stability controller based on the MPC algorithm can improve the handling and stability performance of the vehicle under complex working conditions.
The MPC schema and the objective function are established. The integrated active front steering/direct yaw moments control strategy is simultaneously adopted in the model. The vehicle’s sideslip angle is chosen as the constraint and is controlled in stable range. The online estimation of tire stiffness is performed. The vehicle’s lateral acceleration and the yaw rate acceleration are modelled into the two-degree-of-freedom equation to solve the tire cornering stiffness in real time. This can ensure the accuracy of model.
1. Introduction
With the rapid increasing demands on vehicle quality, modern car makers are paying more attention on improving vehicle safety issue. Thanks to the evolution of the electronic and information technology, many advanced techniques can be applied to the intelligent vehicles, such as autonomous emergency braking and electronic stabilization programs (ESP), to enhance the safety issue. Thus, the vehicle quality can be improved and safety issue can be guaranteed, and then the traffic accident can be reduced (Liu et al., 2020; Xiao et al., 2021; Xu et al., ,2020; Lyckegaard et al., ,2015). Electric vehicle (EV), which has lower carbon emission, is an important industry in the world. Four-wheel independently driving electric vehicle (FWID-EV), equipped with in-wheel motors, is a promising EV architecture. As the characteristic of fast response and high accuracy, these intelligent and safety techniques can be realized and the traffic accidents can be effectively reduced. Lateral stability control of EV is critical to the handling and stability performance of EVs, thus is attached many interests from academics and industry (Jiang et al., 2020; Mangia et al., 2021; Zhao and Zhang, 2018; Xue et al., ,2019; Guo et al., ,2019; Ni et al., ,2019; Cao et al., 2020).
Vehicle’s stability can be regulated by direct yaw moments control (DYC). The ESP system changes the vehicle direct yaw moments and keeps the vehicle in the stable state by controlling the longitudinal force of the tire (Geng et al., 2009; Jalali et al., 2018; Wang et al., ,2014). If the inertial sensor detects the vehicle in oversteering state, the outer wheels of the vehicle are braked to reduce the longitudinal force on the tire, then the sideslip angle of the vehicle is controlled in the stable range. On the contrary, when the understeering is detected, the inner wheels of the vehicle are braked to enhance the yaw moment and improve the handling and stability performance. The active front steering (AFS) is another way to stabilize the vehicle (Guo et al., 2018; Poussot-Vassal et al., 2011). Reference (Nam et al., 2012) presents a robust yaw stability control based on the AFS control for the four-wheel independently driving EV; however, when the lateral tire force is saturated the AFS control will fail to regulate the vehicle. Yang et al. (2009) presents a controller based on optimal guaranteed cost theory, where the controller coordinates the front steering and DYC and consider the uncertainties of tire cornering stiffness. Zhang et al. (2016) study the observer design problem for polytopic linear-parameter-varying systems with uncertain measurements on scheduling variables. Tjonnas and Johansen (2010) present a multi-level modular control structure for indirect sideslip angle and yaw rate tracking control, and the yaw moments allocation control is casted as dynamic optimization. Ni et al. (2017) investigate an envelope controller which integrate the AFS and DYC. Zhao et al. (2018) consider a weighted function to express the uncertain system the parameters, uncertainties of vehicle speed and tire cornering stiffness and then gives μ controller to track the desired sideslip angle and yaw rate. Ren et al. (2016) present a model predictive controller based on the holistic control structure through AFS and motor torque distribution, where the nonlinear characteristics of each tire force between tire and road and input maximum torque of the driving motor are considered. In Peng et al. (2020), the path tracking and direct yaw moment coordinated control based on robust model predictive control (MPC) with the finite time horizon for autonomous independent drive vehicles is studied. Lin et al. (2019) investigate the trajectory tracking with the fusion of DYC and longitudinal-lateral control method for autonomous vehicle. Zhang et al. (2020) evaluate model predictive path following and yaw stability controllers for over-actuated autonomous EVs is given. The integrated control AFS/DYC is effective to enhance the handling and stability performance in aforementioned literatures.
However, there have several points to be improved as follows:
The handling and stability performance of the vehicle control requires fast regulation in real application. Considering the computation ability of the real-time processor, the performance of the above control system might be degraded.
Many parameters of the Magic Formula model of the tire must be tested under massive experiment tests in the works, i.e. the calculation of lateral and longitudinal stiffness of tires are very complicated and time-consuming.
In addition, the sideslip angle of vehicle and tires longitudinal slip ratio are supposed to be known in the related works, which is a relative hard task in real application.
The advantage of the FWID-EV is that the torque of in-wheel motor can quickly respond to the commands and the torque can be controlled accurately and independently (Hori, 2014). Therefore, the handling and stability performance of the vehicle using AFS and DYC can be effective. The main contributions of this paper are as follows:
Based on the bicycle model, we establish the MPC schema and design the objective function. The integrated AFS/DYC strategy is simultaneously adopted in the model.
To control the lateral dynamics, the vehicle’s sideslip angle is chosen as the constraint and is controlled in stable range. When the vehicle’s sideslip angle is in the stable range, the proposed controller is not activated. On the contrary, when the vehicle’s sideslip angle reaches the dangerous values, the proposed method quickly generates the external front steering angle and external driving motor torque to regulate the vehicle lateral dynamics.
The online estimation of tire stiffness is performed.
Considering the tire lateral stiffness varied with the different working condition, we choose the vehicle’s lateral acceleration and the yaw rate acceleration into the two-degree-of-freedom (2DOF) equation to solve the tire cornering stiffness in real time. This can ensure the accuracy of model.
This paper is organized as follows. The predictive model is established in Section 2. The objective function and the constraints of model predictive controller are developed in Section 3. Simulations carried out to investigate the performance of the proposed controller under various critical working condition are given in Section 4, followed by the conclusions in Section 5.
2. System modeling
The bicycle model is widely used to reflect the dynamic characteristics of the vehicle. Therefore, we design the model based on the 2DOF bicycle model. A 2DOF bicycle model is shown in Figure 1. The related physical parameters of vehicle model are listed in Table 1.
Symbols of vehicle model
| Symbol | Description |
|---|---|
| R | Vehicle’s yaw rate |
| M | The mass of vehicle |
| δf | Front steering angle from driver |
| δ+ | External front steering angle from controller |
| Slip angle of tires on axle i with zero steering angle | |
| Cai | Cornering stiffness of axle i |
| Estimated cornering stiffness value of axle i by controller | |
| Mz | Yaw moment of tire longitudinal force |
| Re | Effective wheel radius of vehicle |
| Df, Dr | Front or rear track width |
| Iz | Yaw moment of vehicle |
| αf,αr | Tire side slip angle at front or rear tire |
| lf, lr | Distance from the center of gravity to front or rear axle |
| Fyf, Frr | Lateral force of front or rear tires |
| Symbol | Description |
|---|---|
| R | Vehicle’s yaw rate |
| M | The mass of vehicle |
| δf | Front steering angle from driver |
| δ+ | External front steering angle from controller |
| Slip angle of tires on axle i with zero steering angle | |
| Cai | Cornering stiffness of axle i |
| Estimated cornering stiffness value of axle i by controller | |
| Mz | Yaw moment of tire longitudinal force |
| Re | Effective wheel radius of vehicle |
| Df, Dr | Front or rear track width |
| Iz | Yaw moment of vehicle |
| αf,αr | Tire side slip angle at front or rear tire |
| lf, lr | Distance from the center of gravity to front or rear axle |
| Fyf, Frr | Lateral force of front or rear tires |
The equations for the yaw dynamic of the vehicle can be described as follows:
where r is the yaw rate of the vehicle, lf is the distance of the front wheel axles from the center of gravity (CG), lr is the distance of the front wheel axles from the CG, Mx is the external yaw moments for the improve the driving stability of the vehicle and Iz is the yaw inertia of vehicle. The lateral force of the front and rear tires of the vehicle can be expressed as follows:
where δf is the front wheel steering, Caf is the cornering stiffness of the vehicle’s front wheel, Car is the cornering stiffness of the vehicle’s rear wheel, αf is the slip angle of the front wheel and αr is the slip angle of the rear wheel. The front and rear wheel slip angles of the vehicle can be expressed as follows:
where αi is the slip angle of the front (i = f) and rear (i = r) tires at zero steering wheel angle.(i = f = r) can be expressed as follows:
where vy is the y-direction velocity in the body coordinate system, vx is the x-direction velocity in the body coordinate system, ζf = −ζr =1. Equation (7) is deduced using equation (6) as follows:
The last term in (7) is negligible as appears in the denominator of its partial derivative. And it is smaller than other two partial derivatives. Therefore, the time derivatives of can be approximated as follows:
The yaw moments Mz in equation (1) can be given as follows:
where Tij is the total torque on the wheel ij (ij = fl, fr, rl, rr) and Re is the effective radius of the tire rolling. The differential equations for the lateral velocity of the vehicle can be expressed as follows:
The cornering stiffness of vehicle tires will increase with the increasing vertical load of the vehicle and decrease with the increasing tire slip angle. Therefore, the model accuracy is greatly reduced owing to the transfer of the vertical load and the large change of tire slip angles under different working conditions. The lateral acceleration and yaw velocity of the vehicle can be measured using inertial sensors in the practical application. The actual cornering stiffness of tires is estimated on-line based on the 2DOF dynamic equations of vehicle lateral motion and yaw motion. The specific expressions are as follows:
where ay0 and are the vehicle lateral acceleration and yaw rate acceleration which acquired at the current sample time, respectively. αf0 and αr0 are the front wheel slip angle and rear wheel slip angle at current sample time, respectively. Mz0 is the external yaw moments at current sample time. The cornering stiffness equations of the tires according to equations (11) and (12) are described as follows:
where m is the mass of the vehicle and δf0 is the front steering angle at current sample time. The state-space equation can be deduced according to equations (1)–(11) as follows:
where
where u is the control input variable, are the external driving motor torque of the left and right on the front axle, respectively. are the external driving motor torque of the left and right on the rear axle, respectively. δ+ is the external front steering angle, ϵ is the slack variable associated with the soft constraint on the lateral velocity, w = δf is the driver’s steering wheel input which can be regarded as an external disturbance, C is the output matrix, y = vy is the output variable of the predictive model, Ac, Bc and are the state matrix of the state-space equation which is updated in each control cycle. The discrete-time expressions are computed using the forward Euler discretization method as follows:
where Ts is the sample period and I is the unit matrix.
3. Controller design
The controller is designed based on MPC algorithm in this section. Firstly, the physical restrictions of the actuator are considered as the controller input constraint. A soft constraint on vehicle lateral velocity is designed for the controller output constraint. The objective function is designed and converted to the quadratic programming form to solve the optimal solution.
3.1 Constraints and objective function
To improve the safety and stability performance of the vehicle in high speed, the lateral velocity is controlled in a certain range by restricting the lateral velocity of the vehicle. The sideslip of the vehicle can be controlled in the stable range. The specific lateral velocity constraint equation is as follows:
where βmax > 0 is the maximum allowable sideslip angle value, εk > 0 is the slack variable, and it is generated by the controller. To ensure the actuator can respond to the commands that the controller generated in real time, the values of steering angle and the external driving motor torque should be constrained. The specific expression can be described as follows:
Based on equation (20), it can be rewritten as follows:
where
where Tij are represent the external driving motor torque of the four wheel, and are represent the minimum and maximum values of the external driving motor torque, respectively; and represent the minimum and maximum values of the external steering angle, respectively. The objective function is designed as follows:
where
where Np represents the predictive time domain. and represent the driver input torque of the left and right on the front axle, respectively; represent the driver input torque of the left and right on the rear axle, respectively; uk is the desired variable generated by the controller, up is the previous desired variable generated by the controller, rT and rδ denote the weights of the external torque and external steering angle, respectively; r1ε and r2ε denote the weights of the corresponding slack factor, T is the positive definite matrix. The first term of the objective function is to produce external control quantities when the controller detects the vehicle in dangerous driving state. There is no external control quantity produced when the vehicle is under a safe driving state. The second term of the objective function is to produce smooth control quantity and to avoid the oscillation. The third term of the objective function is to prevent the solution in failure.
3.2 Quadratic programming setup
To solve the optimal quantities conveniently, the objective function is transformed into quadratic programming. In the prediction time domain Np, the output vector of the discrete state prediction model equation can be expressed as follows:
where
A standard QP form is expressed in equation (24) based on equation (22):
where the constant term can be ignored. The remaining can be described as follows:
The constraints expression of the controller can be expressed as follows:
where
where
To reduce the computation, accelerate the computation speed and improve the real-time performance, it is assumed that the controlled quantity is invariant when the predictive time domain step exceeds the control time domain Nc:
The first vector in the uk contains the external driving motor torque and front steering angle, which should be transferred to the actuators.
4. Simulation tests
To verify the effectiveness of the proposed method, we adopt the joint simulation platform of Carsim and Matlab/Simulink. The system structure is shown in Figure 2. The stability controller generates the external yaw moments and external front wheel angle when vehicle is under the dangerous condition. The parameters of the vehicle model are shown in Table 2. The parameters of the controller are shown in Table 3. The simulations are performed under various driving scenarios and road conditions. The proposed controller is named MPC, which performance is compared with a proportion & integral (PI) controller and without control. In addition, to further show the advantage of the proposed method, a linear quadratic regulator (LQR) method is also adopted in the simulation.
Vehicle model parameters
| Parameter | Description | Value | Unit |
|---|---|---|---|
| M | Vehicle’s mass | 1650 | [kg] |
| Iz | Vehicle’s yaw inertia | 3234 | [kg m2] |
| lf | Distance from C.G. to the center of front axle | 1.4 | [m] |
| lr | Distance from C.G. to the center of rear axle | 1.650 | [m] |
| hCG | Height of C.G | 0.53 | [m] |
| Df | Front trackwidth | 1.58 | [m] |
| Dr | Rear trackwidth | 1.58 | [m] |
| Re | Wheel’s effective radius | 0.32 | [m] |
| Parameter | Description | Value | Unit |
|---|---|---|---|
| M | Vehicle’s mass | 1650 | [kg] |
| Iz | Vehicle’s yaw inertia | 3234 | [kg m2] |
| lf | Distance from C.G. to the center of front axle | 1.4 | [m] |
| lr | Distance from C.G. to the center of rear axle | 1.650 | [m] |
| hCG | Height of C.G | 0.53 | [m] |
| Df | Front trackwidth | 1.58 | [m] |
| Dr | Rear trackwidth | 1.58 | [m] |
| Re | Wheel’s effective radius | 0.32 | [m] |
Controller parameters
| Parameter | Description | Value |
|---|---|---|
| Ts | Controller sample time (s) | 0.02 |
| Np | Size of the prediction horizon | 12 |
| Nc | Size of the control horizon | 3 |
| βmax | Allowable vehicle sideslip angle (deg) | 3 |
| rT | Quad. weight of torque adjustments | 1 × 10−7 |
| r2ε | Quad. weight of slack variable | 0.7 |
| r1ε | Linear weight of slack variable | 0.045 |
| tT | Quad. weight of torque change | 1 × 10−5 |
| Maximum external driving motor torque (N m) | 1,000 | |
| Minimum external driving motor torque (N m) | −1,000 | |
| Maximum front wheel steering adjustment(deg) | 10 | |
| Minimum front wheel steering adjustment(deg) | −10 |
| Parameter | Description | Value |
|---|---|---|
| Ts | Controller sample time (s) | 0.02 |
| Np | Size of the prediction horizon | 12 |
| Nc | Size of the control horizon | 3 |
| βmax | Allowable vehicle sideslip angle (deg) | 3 |
| rT | Quad. weight of torque adjustments | 1 × 10−7 |
| r2ε | Quad. weight of slack variable | 0.7 |
| r1ε | Linear weight of slack variable | 0.045 |
| tT | Quad. weight of torque change | 1 × 10−5 |
| Maximum external driving motor torque (N m) | 1,000 | |
| Minimum external driving motor torque (N m) | −1,000 | |
| Maximum front wheel steering adjustment(deg) | 10 | |
| Minimum front wheel steering adjustment(deg) | −10 |
4.1 Simulation 1
In this simulation, the vehicle is performed under critical working conditions on the ice road with friction coefficient µ = 0.3. Figure 3 shows the input of the steering wheel and the vehicle speed. The driving scenario is a sharp turning maneuver at an initial speed 72 km/h, with steering to the left and hold a few seconds, then quickly counter-steering to the right and finally returning to zero. All maneuvers are performed without applying any acceleration or brake. With these maneuvers the vehicle is usually prone to drift under low friction coefficient road. The longitudinal speed is shown in Figure 3(b).
Simulation results on the ice road with friction coefficient with μ = 0.3
The vehicle’s sideslip angle and yaw rate are given in Figure 4. Without any controller, it is easy to see the sideslip angle, and the yaw rate of the vehicle increases monotonically when the steering angle returns to zero at t > 4, which indicates the loss of stability of vehicle. In Figure 4(a), the vehicle sideslip angle is well regulated by the proposed MPC controller. Compared to the proposed controller, the sideslip angles by the LQR and PI controller are larger, and the oscillation times are longer. In Figure 4(b), the yaw rate is also regulated by the proposed controller. Without any control, the vehicle is side slipping. PI controller is useful in regulating the vehicle but has larger oscillation. The LQR controller has better performance than PI, but the oscillation is large at 8 s, which is worse compared with the proposed MPC controller.
Simulation results on the ice road with friction coefficient of μ = 0.3
Note that the maximum lateral acceleration is close to 0.3 g in Figure 4(c), which is near the road-tire friction limits at about t > 4 s. In such conditions, the vehicle without controller is drifting and losing stability. The PI controller can stop the phenomenon; however, the oscillation time is longer and control performance is poor, compared with the proposed controller. The proposed MPC controller can still regulate the vehicle and prevent side slipping, which is helpful for the driver to handle the vehicle. The LQR controller has similar performance with the proposed controller. The external front angle generated from the controller is shown in Figure 4(d). From the figure we can see that the external front angle generated from the MPC controller is smaller than PI controller and LQR controller. This means the vehicle can be regulated with smaller steering intervention, which is better for the driver handling the vehicle.
The external driving motor torque from the proposed MPC controller is given in Figure 5. Note that the sideslip controller is activated only when the sideslip angle is larger than 3°. From the figure, it can be seen that controller generates the corresponding control signals to reduce the vehicle’s sideslip, when the vehicle’s sideslip angle is detected to be greater than the safety threshold.
External driving motor torque the from MPC controller on the ice road with friction coefficient of μ = 0.3
External driving motor torque the from MPC controller on the ice road with friction coefficient of μ = 0.3
The main advantages of the FWID-EV are the independent driving torque control of the four wheels. Thus, we balance the weight on the front wheel angle and the weight on driving torque. In Figure 5, when the vehicle sideslip angle is close to the value of the threshold at about t > 4.4 s, the controller generates the external driving motor torque with similar size and opposite direction on both sides of the vehicle. This produces the external yaw moments, which reduces the absolute value of the vehicle’s sideslip angle and ensure the vehicle in safety state.
Finally, the tire cornering stiffness estimation results are given in Figure 6. From the figure, the estimated value of the tire cornering stiffness is close to the real value, which also proves the effective of the proposed controller.
Simulation results of tire cornering stiffness estimation on the ice road with friction coefficient of μ = 0.3. F-estimation: front wheel estimation; R-Real: rear wheel estimation; F-Ref: front wheel reference; R-Ref: rear wheel reference
Simulation results of tire cornering stiffness estimation on the ice road with friction coefficient of μ = 0.3. F-estimation: front wheel estimation; R-Real: rear wheel estimation; F-Ref: front wheel reference; R-Ref: rear wheel reference
4.2 Simulation 2
To test the controller under other conditions, a test with high friction coefficient and relatively higher speed is performed. The tire-road friction coefficient is 0.8. The initial speed of the vehicle is 120 km/h.
The driver input of the steering wheel and the vehicle speed are shown in Figure 7(a) and (b), respectively. The driving scenario is a double lane change maneuver at an initial speed 120 km/h, with steering to the left and hold a few seconds, then quickly counter-steering to the right, and then to the left, finally returning to zero. All maneuvers are performed without applying any acceleration or brake. With these maneuvers the vehicle are usually prone to drift under high speed.
Simulation results on the road with friction coefficient with μ = 0.8
The vehicle’s sideslip angle and yaw rate are shown in Figure 8(a) and (b), respectively. It can be seen that the vehicle’s sideslip angle starts to exceed the threshold value at about 1.6 s. After 0.5 s, the vehicle’s sideslip angle decreases into the threshold range. At about 2.9 s, the sideslip angle increases quickly and exceeds the threshold. The controller is activated and the corresponding control signals are generated to regulate the vehicle. In Figure 8(a), the vehicle is out of control at the very sharp maneuver without control. The PI controller can stabilize the vehicle with larger overshot and longer oscillation than LQR and MPC controller. The LQR controller can regulate the vehicle; however, the steering intervention is larger than that of MPC controller. The external front angle and external driving motor torque generated from the controller are shown in Figures 8(d) and 9, respectively. Compared with PI and LQR controller, the proposed controller can regulate the vehicle well, with relatively smaller steering intervention, which can be used to enhance the advantages of the FWID-EV.
External driving motor torque the from MPC controller on the road with friction coefficient of μ = 0.8
External driving motor torque the from MPC controller on the road with friction coefficient of μ = 0.8
Note that in Figure 8(c) the maximum lateral acceleration is close to 0.8 g, which is close to the limit of the tire-road friction. In such conditions, the vehicle without controller is drifting and unstable. The PI and LQR controller can stop the phenomenon; however, steering intervention is larger compared with the proposed controller. The smaller steering intervention, the better the handling ability. The proposed MPC controller can still regulate the vehicle and prevent side slipping, which is helpful for the driver to handle the vehicle. Figure 9 shows the external driving motor torque generated by the proposed controller. It can be seen that at about 1.6 and 2.9 s, the external driving motor torque is generated as soon as the vehicle sideslip angle exceeds the threshold value. The tire cornering stiffness estimation results are given in Figure 10. From the figure, the estimated value of the tire cornering stiffness is close to the real value, which also proves the effective of the proposed controller.
Simulation results of tire cornering stiffness estimation on the road with friction coefficient of μ = 0.8. F-estimation: front wheel estimation; R-Real: rear wheel estimation; F-Ref: front wheel reference; R-Ref: rear wheel reference
Simulation results of tire cornering stiffness estimation on the road with friction coefficient of μ = 0.8. F-estimation: front wheel estimation; R-Real: rear wheel estimation; F-Ref: front wheel reference; R-Ref: rear wheel reference
5. Conclusion
To enhance the handling and stability of intelligent EVs, this paper adopts a novel MPC algorithm to regulate the vehicle lateral dynamics. The main works of the paper are as follows.
First, based on the bicycle model, we establish the MPC schema and design the objective function. The integrated AFS/DYC strategy is simultaneously adopted in the model.
Second, to control the lateral dynamics, the vehicle’s sideslip angle is chosen as the constraint and is controlled in stable range. When the vehicle’s sideslip angle is in the stable range, the proposed controller is not activated. On the contrary, when the vehicle’s sideslip angle reaches the dangerous values, the proposed method quickly generates the external front steering angle and external driving motor torque to regulate the vehicle lateral dynamics.
Third, the online estimation of tire stiffness is performed. Considering the tire lateral stiffness varied with the different working condition, we choose the vehicle’s lateral acceleration and the yaw rate acceleration into the 2DOF equation to solve the tire cornering stiffness in real time. This can ensure the accuracy of model.
Finally, we perform simulation tests to verify the proposed MPC controller on the Matlab/Simulink/Carsim joint platform. The results of simulation show that the proposed method can ensure the vehicle handling and stability, especially in dangerous working condition.
This work is partly supported by National Natural Science Foundation of China (51605108) and Natural Science Foundation of Guangxi Province (2020GXNSFAA297031, 2018GXNSFAA281271, Guike2018AD19065).










