#### Abstract

In-wheel motored powertrain on electric vehicles has more potential in maneuverability and active safety control. This paper investigates the longitudinal and lateral integrated control through the active front steering and yaw moment control systems considering the saturation characteristics of tire forces. To obtain the vehicle sideslip angle of mass center, the virtual lateral tire force sensors are designed based on the unscented Kalman filtering (UKF). And the sideslip angle is estimated by using the dynamics-based approaches. Moreover, based on the estimated vehicle state information, an upper level control system by using robust control theory is proposed to specify a desired yaw moment and correction front steering angle to work on the electric vehicles. The robustness of proposed algorithm is also analyzed. The wheel torques are distributed optimally by the wheel torque distribution control algorithm. Numerical simulation is carried out in Matlab/Simulink-Carsim cosimulation environment to demonstrate the effectiveness of the designed robust control algorithm for lateral stability control of in-wheel motored vehicle.

#### 1. Introduction

In recent years, active safety systems have been developed and commercialized aiming at improving vehicle high speed safety and making drivers more aware of the situation around them. The objects of these systems are to keep the vehicle stable under extreme driving conditions and follow the driver’s intention. All body motion control and disturbance forces as well as aerodynamic forces applied to the vehicle are generated in the contact patches between the tire and road surfaces. The maximum tire friction forces are determined by the road surface conditions and tire vertical forces. The summations of longitudinal and lateral tire forces cannot exceed the boundary of the tire friction ellipse. In-wheel motor EVs have many advantages as a platform for vehicle motion control in the viewpoint of vehicle stability control [1–4]. Motors are mounted inside each wheel and driven independently, and this brings more potential in the improvement of vehicle handling and stability performance because of its fast response with precise control and high efficiency. The traction and brake forces of each individual wheel can be independently controlled by means of controlling the corresponding electric drive motor [5]. Active safety systems can significantly prevent vehicle accident or relieve drivers’ workload. And with the in-wheel motor powertrain system, the advanced driving assistance system (ABS, braking assistance, electronic stability program (ESP), etc.) could be realized by software without additional mechanical or hydraulic components with greater reliability and increased safety [6]. In-wheel motored cars are capable of offering more passenger space than traditional engine-powered cars [7]. It is necessary to optimize the tire forces distribution and make the forces exerted by all tires efficiently, so as to keep them inside the tire friction ellipse. Additionally, with stringent vehicle emission regulation and fast development of motor and battery technologies, the in-wheel motor powertrain has become one of the most popular configurations in the area of alternative energy vehicles (AEVs) and are currently being developed by various car manufacturers [8–10]. AEVs have better mobility and fuel economy performances compared to the conventional internal combustion engine vehicles [11–13].

Extensive research has been conducted by using different control methodologies for in-wheel motored vehicle control systems in recent years [14–16]. Zhao et al. [17] proposed the model predictive control allocation for yaw stability improvement of four-wheel drive electric vehicles in critical driving conditions. The proposed allocation strategy obtained a desired yaw moment to apply on the EVs by the upper level control system, while the control allocation is used to determine control inputs for four driving motors by commanding appropriate wheel slips. A correctional linear quadratic regulator combined the feedback and feed forward control algorithm is introduced by Li et al. to deduce the object of the stability yaw moment in order to guarantee the yaw rate and sideslip angle stability. Her et al. [18] presented an integrated chassis control of the differential braking, the front and rear traction torques, and the active roll moment for optimized tire force coordination to enhance the limit handling performance. Zhang and Wang [19] presented a robust gain-scheduling approach for vehicle lateral dynamics control through active front steering and direct yaw moment control. van der Sande et al. [20] proposed robust control analysis for a steer-by-wire vehicle considering the nonlinear characteristics of tire forces. Li studied the active front steering and direct yaw control coordination control problem based on model predictive control theory. Wu et al. [21] proposed an improved robust internal model control algorithm blending model tracking and internal model control for active steering system in order to reach high performance of yaw rate tracking with certain robustness.

In order to improve the robust performance of vehicle lateral stability especially for high speed condition, a robust controller is designed in this paper, which is insensitive to external and internal disturbances and parameters variations, such as tire stiffness variation when tire forces are in saturation. Combining the sideslip angle observer, the robust controller is designed to generate the yaw moment to improve the longitudinal performances and lateral stability of the in-wheel motored vehicle.

The paper is organized as follows: vehicle dynamic model and control reference model are presented in Section 2, while in Section 3, the sideslip angle estimation is designed for the controller, and system controller is designed and analyzed based on robust control theory. Tire forces distribution and in-wheel motor control are illustrated in Sections 4 and 5, respectively; the efficiency of the proposed control is demonstrated by simulation results in Section 6. At the end of this paper, the conclusion and future work are given.

#### 2. Vehicle Dynamic Modeling and Reference Model

The single-track model is widely used in the study of vehicle lateral dynamics. The single-track model is also called bicycle model, as shown in Figure 1, which considers lateral and yaw motions under the assumption of negligible lateral load transfer, roll, and compliance steer while traveling on smooth road with constant speed. One of the main effects taken into account is the tire lateral slip phenomenon. However, the other main effects regarding vehicle behavior (such as axle deformation, axle kinematics, and suspension elastokinematics effect) are not modeled. The lateral tire force can be approximated as linear relationship with tire slip angle when vehicle lateral acceleration is less than 0.3 g. So it is fairly accurate for the linear bicycle model, and the lateral tire force generation falls into the linear range. As tire slip angle increases due to a large steering maneuver which results in large lateral acceleration, the model will lose the fidelity compared to those responses of actual vehicle [22]. In this paper, a single-track vehicle model considering the tire forces saturation is used for state estimation and stability control.

The bicycle model can be expressed as where is lateral velocity; is yaw rate; is steering angle input; is yaw control torque.With front tire stiffness, , and with rear tire stiffness, , where the subscripts and denote front axle and rear axle and is tire lateral slip angle.

The sideslip angle of mass center is where are longitudinal and lateral acceleration of vehicle mass center, respectively.

For simplicity, a neutral steering model (i.e., ) is chosen as reference model. The state space equations of linear bicycle model can be expressed as

The transfer functions can be deduced as

So, the reference yaw rate can be defined as

Because the yaw rate is mainly affected by the steering angle input and the contribution of is relatively small, (6) can be further simplified aswhere is correction coefficient which considers the effects from and the maximum lateral tire forces can be generated.

#### 3. Robust Controller Design

Optimal control algorithms are widely used in implementation of the industry control, but it is not always tolerant to changes in the environment disturbances or the control system. A control system is robust if it is insensitive to differences between the actual system and the nominal model of the system which is used in the controller design [23]. These differences are considered as model uncertainty or perturbations. Application of the robust control theory is important to build the reliable and precise systems [24, 25]. A robust control algorithm is designed to improve the lateral stability for in-wheel EV combined with online sideslip angle observer, as shown in Figure 2.

##### 3.1. Sideslip Angle Observer Based on Unscented Kalman Filter

From a practical point of view, sideslip angle is considered as a significant signal in assessment of the transient response of vehicle stability. In this section, the estimation method of sideslip angle of vehicle mass center is presented based on the virtual tire forces sensor, as shown in Figure 3. The vehicle state information is estimated by using the UKF, which was proposed by Julier and Uhlman [26]. Detailed explanations of the UKF theory can be found in Ref [27]. The flowchart of the sideslip angle estimator is presented in Figure 4.

Based on (1)–(3), the vehicle dynamic system can be rewritten in the discrete-time nonlinear state transition equation:where is the vehicle system dynamics; is the state at the sampling instant ; is the input to the system at the sampling instant ; is the process noise which is assumed to be drawn from a zero mean with covariance ; is a set of noisy measurements, ; is the observation noise which is assumed to be zero mean Gaussian white noise with covariance . The process of UKF can be summarized as follows:

(a) Sigma points’ calculation: in this section, the sigma points are set by symmetrical sampling method. The mean of the vehicle state vector is and the covariance is . And the elements of sigma matrix can be generate by where is the scaling parameter. The constant determines the spread of the sigma points around and is usually set as a small value ; ; it make sure that the covariance matrix is positively definite.

(b) These sigma vectors are updated by the system function

(c) Measurement vector update is as follows: The updated state vector and the measurement value can be approximated by using a weighted sample of the sigma matrix,

(d) Covariance update: the covariance of the state vector and the measurement value can be calculated byThe weight can be acquired by

Assume that the system noise and the measurement noise are white Gaussian noise and covariance is and* R*, respectively. considers the high order moment of the prior distribution; for Gaussian distribution, here, is optimal [27].

(e) The correction gain, system state vector, and covariance can be updated by where is the measurement value from the vehicle sensor.

##### 3.2. Robust Controller Design

The linear bicycle model can be rewritten as

The zero poles can be deduced as

And the system frequency and damping ratio are

For the unit step response, the steady state gain of yaw rate response is as follows:

The controller can be designed aswhere and can be chosen freely for system pole assignment in order to improve the stability of the system. To improve the yaw rate response, we should increase the bandwidth of the controller, which means frequency . To suppress the vibration of second-order system, the damping coefficient should be larger than the controlled system, as .

The open loop transfer function is

The close loop transfer function can be deduced as

When the coefficient is chosen sufficiently large, the steady state of close loop transfer function will go to 1; that is, the yaw rate can follow the reference yaw rate precisely.

##### 3.3. Robust Analysis

Vehicle stability heavily depends on the front and rear tire forces. It is appropriate to consider the effect of parameter-based uncertainty by using the analysis and design the controller to ensure that the system remains stable for all perturbations in the uncertain conditions.

The lateral tire force is increasing with the increase of tire slip angle, and when the slip angle is larger than a certain value, the tire force will be saturate, as shown in Figure 4. And the tire lateral stiffness varies with the increase of tire slip angle and tire road friction conditions. So we assume that there is multiplicative uncertain of magnitude . With the uncertainty, the loop transfer function becomeswhere the subscript denotes input; is nominal system plant and always assumes that the close loop system is stable; is system perturbations; is system weighting function. It is always difficult to obtain the system perturbations, and will extend the perturbation range. In special case, is the system perturbation is the worst case; we choose the weighting function to avoid the perturbations from deviating the reality of system. Here is any stable transfer function.

The open loop transfer function becomes where is the worst case of the system perturbation and is a weighting function of perturbation, as shown in Figure 5.

Considering the Nyquist plot of , at each frequency find the smallest radius which includes all the possible perturbation plant:

According to the Nyquist criterion [28], a feedback system is stable if and only if the contour in the -plant does not encircle the (−1, 0) point. The distance from nominal plant to point (−1, 0) must be bigger than the maximum perturbations ; that is,

Combined with (27), the control system robust stability conditions can be deduced as where .

#### 4. Tire Force Distribution

The yaw stability mainly depends on the steering angle input and yaw moment control. And the active front steering control is directly input as yaw moment generator. The tire longitudinal tire forces can be calculated by where is the corrected yaw moment generated from differential driving from motors; is total required driving torque from driver; is the th longitudinal tire force; is the th tire roll radius.

When the slip angle is larger than the upper boundary, the tire forces will be in the saturation region, according to the friction circle theory [29]; the tire longitudinal and lateral forces follow the nonlinear constraint, where is the road friction coefficient.

So,

Assuming that the torque split is 40 to 60 percent between front and rear axle, the four wheels driving torque can be obtained according to (34)~(36) with consideration of the tire force friction circle constrain.

In order to improve the yaw stability of vehicle, the active front steering system and motor differential driving system work coordinately. The rule of the control coordination can be described as follows: when vehicle lateral acceleration is relative large, it means that tire tends to work close to the saturation zone. The values of yaw control torque will increase by differential longitudinal tire forces, so as to make a good use of tire forces. Likewise, in order to improve the longitudinal stability and traction ability of vehicle, when lateral acceleration is small, the active front steering will work.

#### 5. In-Wheel Motor Model and Control

The function of the permanent-magnetic motor is as follows: where is the closed-loop response time which is a control characteristic of motor torque controller; is the motor driving torque command from control algorithm; is the motor torque coefficient. where is the armature voltage, is the armature resistance, is the armature current, is the motor rotational speed, and is the armature inductance, is the counter-electromotive force coefficient. And the control logic of the permanent magnet synchronous motor (PMSM) is shown in Figure 6.

#### 6. Simulation and Discussion

The sine-with-dwell maneuver is widely used to evaluate the performance of electronic stability control system [30]. In this section, in order to evaluate the performance of the stability control algorithm, the numerical simulation was implemented in the Matlab/Simulink environment and cosimulated with the Carsim software. Carsim is commercial vehicle dynamics software which is widely used in automotive industry. The performance of robust control is validated under sine-with-dwell maneuver. Figure 7 shows the steering wheel input angle of the sine-with-dwell maneuver. From this simulation scenario, all the dynamic characteristics of the vehicle can be adequately described, and the yaw stability of motor in-wheel EV can be fully verified. In the simulation, a vehicle runs at a constant speed of 50 km/h. The vehicle parameters are listed in Table 1. And the simulation results are plotted in Figures 7– 16.

Under the sine-with-dwell simulation scenario, the robust control for vehicle stability combined with the wheel torque distribution strategy should not only meet the demand of vehicle steering maneuverability improvement but also improve the vehicle body stability under high speed condition. Yaw rate response is the maneuverability index, while the sideslip angle of mass center is an important index for vehicle stability [31].

In Figure 11, it can be clearly observed that compared with no control, the vehicle with the robust control strategy could follow the driver’s intention perfectly, which means the maneuverability of controlled vehicle is improved significantly. Figure 12 compared the sideslip angle of mass center; we can find that the designed estimation strategy can constrain the sideslip angle effectively. This means that the robust controller could improve the vehicle stability especially when vehicle is in high speed or sharp curve turning condition.

Figure 13 shows the lateral acceleration of vehicle mass center comparison. It is well known that large lateral acceleration brings more load transfer and could lead to inadequate using of the tire forces. With the proposed control algorithm, the lateral acceleration is smaller compared with no control. So the proposed controller has potentials in the improvement of vehicle stability.

The proposed systems help improve stability and response at high speed and make the vehicle have a tendency to understeer. An understeering vehicle is self-stabilizing through its tendency to return to straight ahead motion after any external disturbances. Figures 14 and 15 plotted the front wheel active steering angle and the total added yaw moment from the controller.

Figure 16 presents tire force allocation results from the total added yaw moment. It can be found that, combined with the active front steering and motor in-wheel actuators, the vehicle stability is improved significantly. And the controller integrates the longitudinal and lateral dynamic to make good using of tire forces so as to avoid the saturation of tire forces.

#### 7. Conclusion and Future Works

This paper proposed the robust control strategy for motor in-wheel four wheels driving electric vehicles. The proposed control strategy integrates the longitudinal and lateral dynamic control through the active front steering and yaw moment control systems considering the saturation characteristics of tire forces. An upper level control system is designed by using robust control strategy combined with the online sideslip angle observer to specify a desired yaw moment and correction front steering angle to work on the EVs. The four-wheel torque is obtained optimally by the wheel torque distribution control algorithm. According to the simulation results, it can be asserted that the robust control algorithm could improve vehicle maneuverability and high speed stability. This is very important for vehicle safety. The future works will be focusing on how to distribute the torque smoothly among the axles according to different road friction coefficients or driving situations.

#### Nomenclature

: | Sideslip angle |

: | Yaw rate |

: | Steering wheel angle from driver |

: | Wheel steering angle from active steering controller |

: | Vehicle velocity/mass |

, : | Lateral force of front/rear tires |

: | Lateral acceleration of vehicle mass center |

: | Yaw moment of inertia |

: | Distance from the vehicle mass center of gravity to front/rear axle |

, : | Track width of front/rear axle |

, : | Cornering stiffness at front/rear tire |

: | Motor torque on the wheel |

: | Close loop transfer function |

: | Open loop transfer function. |

#### Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

#### Acknowledgments

This work is financially supported by the Fundamental Research Funds for the Central Universities (no. 2015ZCQ-GX-01) and China Postdoctoral Science Foundation (2016M600048).