Research on the Stability Control Strategy of Four-Wheel Independent Driving Electric Vehicle

In order to research stability of four-wheel independent driving (4WID) electric vehicle, a torque allocation method based on the tire longitudinal forces optimization distribution is adopted. There are two layers in the controller, which includes the upper layer and the lower layer. In the upper layer, according to the demand of the longitudinal force, PID controller is set up to calculate the additional yaw moment created by yaw rate and side-slip angle. In the lower layer, the additional yaw moment is distributed properly to each wheel limited by several constraints. Carsim is used to build up the vehicle model and MATLAB/Simulink is used to build up the control model and both of them are used to simulate jointly. The result of simulation shows that a torque allocation method based on the tire longitudinal forces optimization distribution can ensure the stability of the vehicle.


Introduction
Four-wheel independent driving electric vehicle removes parts such as engines, clutches, gearboxes.Its structure is simpler than traditional vehicle.Because each wheel has a hub motor, it is more precise and convenient to control the torque on each wheel [1] [2] [3].With the development of technology, consumers' expectations for vehicle safety are also increasing.Controlling the torque on each wheel to improve the stability of the vehicle has become increasingly valuable [4] [5] [6].
In the stability of 4WID electric vehicle research, there are four-wheel steering system and direct yaw moment control method to improve vehicle stability.However, the four-wheel steering system cannot meet the stability requirements under extreme driving condition, and the direct yaw moment control also has the accuracy problem [7].Therefore, many researchers have focused on the use of optimized torque distribution to improve the stability of the vehicle.Yu et al.
simulated the longitudinal force control assignment of the wheel drive electric vehicle, and show the effectiveness of the distribution control algorithm [8].
Ding et al. used the simple average distribution method that is one side increases the torque and the other side reduces the torque by the same amount.The control method does not take into account the vehicle's constraint condition and the different states, and cannot accurately control the vehicle [9].Miao used the weighted least squares method to calculate the torque distribution [10].The weighted least squares method has the advantages in calculating the speed and iterative accuracy, but there is no solution to the case where the yaw moment is large.This paper proposes a torque distribution strategy based on longitudinal force optimization, combined with the designed layered controller and tire constraints.This strategy optimizes the torque distribution and combines with the advantages of 4WID electric vehicle chassis to achieve the stability of the vehicle control.This paper simulates 4WID electric vehicle on a double lane change and slalom.The simulation results show that the proposed control strategy can improve vehicle stability.

Torque Distribution Control
When the vehicle is running at high speed and suddenly turns, it will cause the yaw rate to be too large and cause the vehicle to be unstable.Comparing the accelerator pedal signal and the steering wheel signal actually entered with the ideal linear two-degree-of-freedom model, the strategy calculates the additional yaw moment required and allocated torque rationally to the hub motor and the brakes on the wheels to correct the excessive yaw moment.
According to [11], it can be seen that increasing the torque of the inner wheels of the 4WID electric vehicle and reducing the torque of the outer wheels can reduce the yaw moment of the vehicle.According to the Tang [12], in the traditional vehicle, the front wheel brake to correct the excessive yaw moment is most effective.
This paper combines the above two methods to design a control strategy.The strategy is divided into two stages.The first stage is reducing the torque on the motor on the outer wheel when the vehicle's yaw rate is too large and unstable.The second stage is braking the vehicle outside wheels when the torque on the outer wheels cannot guarantee the stability of the vehicle after the reduction of torque (The flow chart of control strategy is shown in Figure 1).

Torque Distribution Control Structure
The structure designed is showed in Figure 2, including drive torque controller,  actuator and vehicle model.The drive torque controller is divided into an upper controller and a lower controller.The upper controller includes a speed controller, a yaw velocity controller, and a sideslip angle controller.The lower controller is the torque distributor.The upper controller calculates the desired additional yaw moment according to the state of the vehicle input and passes the torque to the lower controller.The lower controller reasonably assigns the additional yaw moment transmitted by the upper controller to the actuator according to the constraints.In Figure 2, and represent the target speed and actual speed of the vehicle respectively; and represent the ideal yaw rate and actual yaw rate of the vehicle respectively; and represent the ideal sideslip angle and the actual sideslip angle.

Speed Controller
According to the speed controller provided in [13], the total torque Z T required for the vehicle is related to the front wheel angle δ , which can be ex- press as: ( ) where S is proportional coefficient.Since 0 δ < , the total torque is coordinated to the motor on each wheel.Since 0 δ = , each wheel shares the motor torque of 1 4 Z T .Although the steering wheel has a large input in a short time and the speed of the vehicle is very high, but the front wheel angle is very small, this time can be considered the average torque distribution.In addition, because it is uniform speed, the difference between d u and u is very small, then Z T is also very small.

Yaw Moment Controller
The linear two-degree-of-freedom model in [14] is showed in Figure 3.The equation of motion can be expressed as: The approximate ideal yaw rate can be expressed by Equation ( 4): ( ) where 1 ω is approximate ideal yaw rate; L is wheelbase; .
However, under the ground attachment limit, the lateral acceleration y a of the vehicle is affected by the formula (5): where µ is adhesion coefficient; g is gravitational acceleration.When the sideslip angle is small, ignore the influence of the side angle, y a can be expressed by ( 6): Combining Equations ( 5) and ( 6), it can be corrected to the ideal yaw rate The yaw moment controller uses the PID control method to track the yaw rate and find the additional yaw moment required to maintain the vehicle's handling stability.The difference between the actual yaw rate ω and the ideal yaw rate d ω is defined as ( ) According to the PID control of the mathematical model can be obtained additional yaw moment M ∆ : where p N is the scale factor; i N is the integral time constant; d N is the differential time constant.

Torque Distributor
The role of the torque distributor is reasonably generalized force assigned to an actuator.For 4IWD electric vehicles, the force of each actuator refers to the wheel motor/brake applied to the tire on the longitudinal force.1) First stage: torque distribution Taking the left-turn condition as an example, the actual yaw moment M of the vehicle and the additional yaw moment required for the first stage can be expressed as: where xlf F , xrf F , xlr F and xrr F are longitudinal force for the left front wheel, right front wheel, left rear wheel, right rear wheel.B is the distance between the wheels.
As the vehicle in the uniform phase, the torque on each wheel is the same, then xrf xrr F F = .This stage does not control the inner wheels, and ultimately the longitudinal force on each wheel and the torque: where xlf T , xrf T , xlr T and xrr T are the torque for left front wheel, the right front wheel, the left rear wheel, the right rear wheel.
2) Torque distribution second stage In the first stage, when the outside wheels torque is reduced to 0, it is possible to provide the maximum additional yaw moment for the stage However, due to the actual yaw rate being too large, 1max M ∆ cannot meet the stability requirements.Then the second stage increases the torque of inner wheels and brakes outside wheels.The second stage requires yaw moment 2 M ∆ : The main consideration of this stage is the torque on the inner wheel and the outer wheel braking torque distribution.The expression for the objective function is: where zlf F , zrf F , zlr F and zrr F are the vertical load on each wheel, i D is weight coefficient; In the process of optimizing the distribution, the longitudinal force and yaw moment required for the vehicle are as follows: ( ) where brf F , brr F are brake forces on right front wheel and right rear wheel; X F is the force along the X axis.
The limits of the motor torque and ground adhesion to the wheels are as follows: where max T is motor peak torque; R is Rolling radius.Substituting Equation (17) into the optimal objective function formula (16): The new objective function ( 20) is used to derive the xlr F and brr F : Under the constraints of ( 21) and ( 22), the final solution is: According to Equations ( 17), (23), and (24), the torque of the second stage can be calculated as:

Simulation and Analysis
This paper used Carsim and MATLAB/SIMULINK platform to build a vehicle dynamics model, a double lane change model, and a slalom model.The simulation includes double lane change maneuver and Slalom maneuver.The parameters of the simulation vehicle are shown in the following Table 1.

Double Lane Change Maneuver
To simulate the extreme driving conditions, we take the road friction coefficient of 0.2, equivalent to compaction of the snow road.The simulation is based on the comparison between without control and torque control.The simulation results are shown in Figures 4-8.

Slalom Maneuver
Simulation vehicle in situ start, accelerated to 80 km/h and road friction coefficient is 0.8.The simulation results are shown in Figures 9-13. Figure 5 and Figure 10 show the speed curve, in the absence of control, the           curve shows that the vehicle has slipped and lost the ability to return to the normal route.With control, the situation is noticeably improved and can be returned to the normal route and the lateral acceleration which is maintained near 0 (m/s 2 ). Figure 7 and Figure 12 show that if vehicle is out of control, the yaw rate increased rapidly with instability.In the case of control, the yaw rate is fluctuating within the range of 10 (deg/s) and tends to zero after the end of the lane to keep the vehicle stable.Figure 8 and Figure 13 show that the torque distribution control can effectively control the size of the sideslip angle, so that it is always in the vicinity of 0 (˚).

Conclusions
This paper has presented a control strategy to improve stability applied to a 2-DOF vehicle model.The first conclusion is that lateral acceleration, yaw rate and sideslip angle are important parameters of vehicle stability.If the value of these parameters is too large, the vehicle will be unstable.
The second conclusion is that the presented control strategy can make lateral acceleration, yaw rate and sideslip angle within a reasonable range by controlling the torque of each wheel to improve stability.

Figure 1 .
Figure 1.Flow chart of control strategy.

Table 1 .
Geometric parameters of simulation vehicle.