#### Abstract

To improve the driving performance and the stability of the electric vehicle, a novel acceleration slip regulation (ASR) algorithm based on fuzzy logic control strategy is proposed for four-wheel independent driving (4WID) electric vehicles. In the algorithm, angular acceleration and slip rate based fuzzy controller of acceleration slip regulation are designed to maintain the wheel slip within the optimal range by adjusting the motor torque dynamically. In order to evaluate the performance of the algorithm, the models of the main components related to the ASR of the four-wheel independent driving electric vehicle are built in MATLAB/SIMULINK. The simulations show that the driving stability and the safety of the electric vehicle are improved for fuzzy logic control compared with the conventional PID control.

#### 1. Introduction

The demand for more environmentally friendly and fuel efficient vehicles has been increased in response to growing concerns about a clean environment and saving energy. Pure electric vehicle stands out with its superior zero emission performance; it has emerged as a viable solution to meet those requirements [1, 2]. Therefore, the research on electric vehicle is important.

A 4WID electric vehicle employs four in-wheel (or hub) motors to drive the four wheels, and the torque and driving mode of each wheel can be controlled independently. As one of the most popular active safety systems of vehicles, acceleration slip regulation (ASR) is widely used in 4WID electric vehicles nowadays to improve the vehicle’s acceleration performance [3–6]. The basic principle of ASR is to control the slip rate of driving wheels within the range of the optimal slip rate. The research on ASR is conducted using the sliding mode variable structure control system, the PID control, and the optimal control separately [7–11]. Based on the threshold angular acceleration and adhesion rate, an antiskid fuzzy logic controller was designed, and the simulation results show that the fuzzy controller can effectively keep the slip rate in a reasonable range [12–15].

In this paper, a fuzzy logic control strategy of acceleration slip regulation based on angular acceleration and slip rate is proposed to maintain the wheel slip within the optimal range by adjusting the motor torque dynamically. The simulation results show that the fuzzy controller effectively prevents driving wheel slipping and reduces the slip rate.

#### 2. Vehicle Dynamic Model

A quarter dynamics vehicle model is established as follows.

##### 2.1. The Wheel Dynamic Model

The dynamic differential equations for the calculation of longitudinal motion of the vehicle are described as follows [16]:

Considering the longitudinal acceleration and lateral acceleration of the vehicle, the normal load expression for each wheel could be written as where is , , , ; , , are the vehicle mass, a quarter of the mass vehicle, and vehicle velocity, respectively, is the driving resistance; is the driving force; is the wheel inertia; is the wheel rotational speed of th wheel; is the driving torque of th in-wheel motor; , , are the coefficient of rolling friction, friction coefficient of th wheel, and normal force of th tire, respectively (Figure 1).

##### 2.2. Slip Ratio

where is the lip ratio of th tire and is the center speed of th wheel.

##### 2.3. Model of In-Wheel Motor

In this paper, the mathematical model of permanent magnet synchronous in-wheel motor can be expressed as follows: where , ; are - and -axis stator voltages, respectively; , are -and -axis stator currents, respectively; are d- and q-axis flux linkage, respectively; are - and -axis stator inductances respectively; is stator resistance.

Meanwhile, motor torque equation is defined as Motion equation: where is damping coefficient, is rotational inertia, is load torque, and is number of pole pairs.

we take , as state variables with motor control, . The state equations of permanent magnet synchronous motor (PMSM) can be represented as follows: The control input variables are and , and the output variables are and .

#### 3. Control Algorithm of ASR

It is easy to lead wheel excessive slip for the driving of four-wheel drive electric vehicle on the low adherent surfaces, and the excessive slip of wheel affects the stability and safety of vehicle. Wheel angular acceleration increases rapidly in the process of excessive slip, which cause slip ratio to increase quickly and driving force to decrease. In this paper, a fuzzy controller of acceleration slip regulation based on angular acceleration and slip rate is designed, and the wheel slip rate will be controlled in a reasonable range.

##### 3.1. Threshold Angular Acceleration

Ignoring the rolling resistance and wind resistance, the relationship between wheel angular acceleration , torque , and slip ratio can be described by as the following formulas: If slip rate increases slowly, . Wheel angular acceleration can be represented as follows: With the increase of slip rate, angular acceleration is always greater than this value in fact. During the process of control, angular acceleration only needs to be close to this value. According to the automobile theory, when the wheel goes into slip state during driving, wheel angular acceleration and slip ratio will increase rapidly. Therefore the angular acceleration reflects whether the vehicle is in a state of slip to some extent.

The control aim for ASR is to make slip ratio near optimal slip ratio and to obtain high driving force. The angular acceleration threshold value can be described as follows:

##### 3.2. The Optimal Slip Ratio

In this paper, two optimal slip ratios are considered. The optimal slip ratios of front wheel and rear wheel are 0.2 and 0.16, respectively.

##### 3.3. The Antiskid Control Structure of 4WID EV

The electric vehicle rapidly accelerates under the instruction of drivers, and antiskid controller properly regulates four torques of the motor according to the current motion state of vehicle to maintain the slip rate of wheel in a reasonable range.

As shown in Figure 2, the electric vehicle generates torque according to driver’s instructions. Antiskid controller generates according to the current state of vehicle. The command torque of the motor is the difference between the and .

#### 4. Antiskid Controller

It is clear that the increasing slip ratio can increase the driving force between the road and the tire by virtue of an increase of friction coefficient, but further increase of slip will reduce driving force and induce an unstable acceleration of the wheel. Therefore, if the slip ratio is bigger than the optimal slip ratio , the driving force will be diminished drastically. An antiskid controller is designed to maintain the wheel slip within the optimal range by adjusting the motor torque dynamically.

##### 4.1. Fuzzy Antiskid Controller

In this paper, a fuzzy antiskid controller is designed according to the principle of fuzzy control. The fuzzy controller has two input signals, and two inputs are the difference between actual slip ratio and threshold slip ratio and the difference between actual angular acceleration and threshold angular acceleration. Fuzzy antiskid controller block diagram is described as in Figure 3.

The input signals are shown in Figure 3; and . The controller generates one output according to the input current value and the fuzzy rules. The value can reduce torque of the motor and thus reduce the driving wheel slip rate.

According to the theoretical derivation and practical experience, membership functions of inputs and output are shown in Figures 4, 5, and 6. The and the are divided into seven fuzzy subsets:[NB, NM, NS, ZO, PS,PM, PB], and the is divided into five fuzzy subsets: [NS, ZO, PS, PM, PB].

The Mamdani methods and gravity center method are used to perform the fuzzy logic calculation and defuzzy identification in this paper. Table 1 shows the rule base for the fuzzy antiskid controller.

The output of fuzzy antiskid controller is determined by considering the difference between actual slip ratio and optimal slip ratio and the difference between actual angular acceleration and threshold angular acceleration. If the actual angular acceleration is less than the threshold angular acceleration, it shows that driving wheel adhesion is in a good condition. Meanwhile, if the output variable of controller is zero, the fuzzy controller does not reduce the torque out of drive motor. If the actual angular acceleration is larger than the threshold angular acceleration, it shows that the drive wheel is in a state of slip. Fuzzy controller decides the output variable according to the current value of slip ratio. The output variable of fuzzy controller can reduce output torque of motor and reduce the slip rate of drive wheel.

##### 4.2. PID Controller

In this paper, a PID antiskid controller is designed to compare the effect of fuzzy controller and PID controller. The main design intent for this antiskid controller is to maintain actual slip near a reference value. The input of PID controller is the error of signal , and the output can be represented as follows: where , , and are the proportional gains, the integral coefficient, and the differential coefficient, respectively.

#### 5. Simulation Results and Analysis

The simulation platform is built in MATLAB/SIMULINK and CarSim to evaluate the performance of the proposed antiskid controller. The 4WID full-vehicle dynamics model is established in CarSim including front and rear suspension, steering, body tires, and other systems. The antiskid controller and motor model are established in MATLAB/SIMULINK. Two kinds of road surface conditions are established to observe the effect of the fuzzy controller and PID controller.

##### 5.1. The First Test Condition

The electric vehicle rapidly accelerates at an initial speed of 5 km/h. In this simulation the tire-road friction coefficient (TRFC) is set to 0.2. The acceleration command from driver is so large that the vehicle begins to slip on the low adhesion road. The simulation results are shown as in Figures 7 and 8.

The slip ratios of front wheel and rear wheel are shown in Figure 7 and Figure 8. The vehicle runs on the low friction coefficient road. The slip rate of front wheel reaches 0.9 quickly without antiskid controller. Under effect of the fuzzy antiskid controller, the slip rate of front wheel and rear wheel are close to optimal slip ratio 0.2 and 0.16, respectively. Both of fuzzy controller and PID controllers can reduce the slip and improve the stability of the electric vehicle. However, the control performance of the proposed fuzzy controller is better than that of the conventional PID controller.

As shown in Figure 9, both of fuzzy controller and PID controller can reduce motor torque of front wheel. Finally, the motor torques are the same in different control methods. In addition, the wheel angular velocity is shown in Figure 10, and the fuzzy antiskid controller can effectively reduce the wheel angular velocity.

As shown in Figure 11, both of fuzzy controller and PID controller can reduce actual angular acceleration for front wheel.

As shown in Figure 12, the difference between actual angular acceleration and threshold angular acceleration raises rapidly without antiskid controller. Under the effect of fuzzy antiskid controller, the difference between actual angular acceleration and threshold angular acceleration is close to zero. The threshold angular acceleration is effective to reduce actual angular acceleration.

As shown in Figure 13, The difference between actual slip ratio and threshold slip ratio reaches 0.7 rapidly without antiskid controller. Under the effect of fuzzy antiskid controller, the actual slip ratio is close to optimal slip.

##### 5.2. The Second Test Condition

The electric vehicle rapidly accelerates at an initial speed of 20 km/h. The steering angle of front wheel is 5 degree. In this simulation the TRFC was set to 0.2. The acceleration command from driver is so large that the vehicle begins to slip on the low adhesion road. The simulation results are shown in Figure 14.

As shown in Figure 14, The slip rate of front wheel reaches 0.85 quickly without antiskid controller. Under effect of the antiskid controller, the slip rate of front wheel is close to optimal slip ratio 0.2.

The lateral acceleration of vehicle is shown in Figure 15. It can be seen from the figure that the lateral acceleration of vehicle under the effect of antiskid controller is bigger than that of lacking antiskid controller before 8 second. The vehicle begins to spin after 8 second, so the lateral acceleration of without controller is bigger than that of using controller. Both the fuzzy antiskid controller and PID antiskid controllers can enhance the lateral stability and safety of electric vehicle.

As shown in Figure 16, with the effect of fuzzy antiskid controller, the difference between actual angular acceleration and threshold angular acceleration is close to zero. The fuzzy antiskid controller is effective to reduce actual angular acceleration.

The yaw rate of vehicle is shown in Figure 17. Under the effect of fuzzy controller, the yaw rate of vehicle maintains steadiness at 0.018 rad/s while the yaw rate of vehicle without fuzzy controller raises quickly. Figure 17 shows that fuzzy antiskid controller can improve lateral stability of electric vehicle to a certain degree on ice road.

#### 6. Conclusions

In the paper, the antiskid fuzzy logic controller for four-wheel independent driving electric vehicles is proposed based on threshold angular acceleration and optimal slip rate. The simulation results show that fuzzy slip rate controller can effectively reduce the slip ratio. It can enhance the driving performance, the maneuverability, and stability of four-wheel independent driving electric vehicle.

#### Acknowledgments

This research was supported by the National Science Foundation of China (51105074, 51205058) and the Foundation of State Key Laboratory of Mechanical Transmission (SKLMT-KFKT-201206).