#### Abstract

For four-wheel independently driven (4WD) distributed electric vehicle (DEV), vehicle dynamics control systems such as direct yaw moment control (DYC) can be easily achieved. Accurate estimation of vehicle state variables and uncertain parameters can improve the robustness of vehicle dynamics control system. Various sensors are generally equipped to the acquisition of the vehicle dynamics. For both technical and economic reasons, some fundamental vehicle parameters, such as the sideslip angle and tire-road forces, can hardly be obtained through sensors directly. Therefore, this paper presented a state observer to estimate these variables based on Unscented Kalman Filter (UKF). To improve the accuracy of UKF, measurement noise covariance is also self-adaptive regulated. In addition, a nonlinear dynamics tire model is utilized to improve the accuracy of tire lateral force estimation. The simulation and experiment results show that the proposed observer can provide the precision values of the vehicle state.

#### 1. Introduction

With the development of science and technology, drive system of electric vehicle is also undergoing continuous progress and innovation and individual-wheel drive electric vehicle based on in-wheel motors represents one of the groundbreaking drive structures [1]. Through independent control of the driving torque of each wheel, in-wheel motor driven electric vehicle can achieve direct DYC control. Compared with active DYC system, the DYC of vehicle with in-wheel motors, featuring quick response and precise control, is easier to be achieved [2, 3]. With regard to the DYC of in-wheel motor driven vehicles, while yaw rate and sideslip angle are the usual choices for controlled plants, driving torques of the four motors can be taken as the control inputs. So, there are four inputs in the control system. Therefore, the DYC system of in-wheel motor can be seen as a kind of excessive freedom control system which can appropriately assign the torque of each motor, making use of the tire-road force of each tire to its fullest potential and avoiding wheel slip and locking [4].

The accurate and real-time measurement of the state-space is the key for DYC [5]. With the measurement, the ECU can compute the desired dynamics values and detect the stable status of the vehicle. The state-space contains yaw rate and sideslip angle. Yaw rate can be measured by sensors easily. However, it is always not easy to obtain the sideslip angle directly with high accuracy and low expense. Recently, sideslip angle is mainly acquired through observer. The nonlinear factors of the vehicle model and the variation of the vehicle parameters are essential in the sideslip angle estimation. During the cornering, the nonlinear mechanics characteristics of the tires may generate the drastic fluctuations. Algorithms such as sliding mode observer, robustness observer, and Kalman filter observer are adopted in the estimation of the vehicle state [6–8]. EKF (Extended Kalman Filter) is extensively used, especially in the estimation of the tire model [9, 10]. In the practical application of EKF, the approximate linearization of nonlinear system is performed through Taylor expansion, which can introduce truncation error and make the estimation of parameter hardly achieve high precision. In addition, to calculate Jacobian matrix of the EKF is very complicated. In order to overcome the flaws of EKF, the Unscented Kalman Filter (UKF) algorithm was proposed by Julier and Uhlmann from the University of Oxford [11]. UKF is a novel Kalman Filter based on deterministic sampling approach, and when propagated through the true nonlinear system, these sample points completely capture the true mean and covariance of the Gaussian random variable (GRV) to the 3rd order (Taylor expansion) for any nonlinearity [12, 13]. In contrast, the EKF only achieves first-order accuracy. So, the nonlinear performance of UKF is superior to EKF remarkably. Doumiati et al. applied UKF to estimate the tire lateral forces and compared the results to those acquired in the EKF observer [14, 15]. For the 4WD distributed electric vehicle, the distributed driving motor is not only the rapid response of the control unit but also the vehicle information units. Therefore, the distributed electric drive vehicle can provide accurate driving torque and rotational speed, and the information of the sensing range of the vehicle has a greater extension than the traditional vehicle which can make a breakthrough in traditional vehicle dynamics control system using the vehicle parameter estimation based on inertial sensor and reference wheel speed. Provided that a more suitable vehicle model is to be built, the kinematic and dynamic information can be reasonably integrated, which will improve the accuracy of state estimation greatly [16]. Based on the characteristic that distributed electric vehicle (DEV) has multi-information sources, this paper presented an observer to estimate the vehicle state based on Unscented Kalman Filter (UKF). To improve the accuracy of UKF, measurement noise covariance is also self-adaptive regulated. In addition, a nonlinear dynamics tire model is utilized to improve the accuracy of tire lateral force estimation. The performance of the proposed observer is demonstrated through simulation and experiment.

#### 2. Design of Dynamics Model

##### 2.1. Vehicle Model

In Figure 1, the 3-DOF vehicle model to be used for the estimator design is illustrated. This model is capable of representing the essential dynamics properties of a road vehicle, incorporating the longitudinal, lateral, and yaw dynamics [17, 18].

The differential equations with respect to the longitudinal, lateral, and yaw dynamics are expressed as (1)–(3), respectively. Considerwhere is longitudinal velocity of CG (m/s), is lateral velocity of CG (m/s), is yaw rate (rad/s), is longitudinal acceleration of CG (m/s^{2}), is lateral acceleration of CG (m/s^{2}), , are distance between the CG and the front axle and rear axle, respectively (m), , are front and rear wheel track, respectively, is front wheel steering angle, is longitudinal force (N), and is lateral force (N), .

Note that the first subscript in the symbols for the tire force is used to denote front or rear wheel and the second subscript is used to denote left or right wheel. is the direct yaw moment:Sideslip angle of CG can be defined as

##### 2.2. Wheel Dynamics

Force analysis of the wheel can be shown in Figure 2.

The rotational dynamics of the 4 wheels are given by the following torque balance equation:where refer to the drive/brake torque transmitted to the corresponding wheel, refers to the rotational inertia, refers to the wheel velocity of the corresponding wheel, refers to the vertical force on the corresponding wheel, refers to the rolling resistance coefficient, and refers to the effective rolling radius of the corresponding wheel.

Hence, the longitudinal force can be expressed asThe vertical force is given by

##### 2.3. Tire Model

An appropriate tire model needs to be selected to estimate the lateral force estimation in this paper. The quality of the observer largely depends on the accuracy of the tire model, and the selected model must be precise. The model of the tire-road contact forces is complex, which is affected by vertical load, tire pressure, friction coefficient, vehicle speed, and so forth. Based on the physical characteristic or the empirical formulations derived from experimental data, a few tire models such as Pacejka and Dugoff models can be found in the literature [19, 20]. And Pacejka’s “magic formula” is most commonly used in these models, which can predict the tire behavior precisely. However a lot of parameters are needed in Pacejka model, especially some parameters that are not easy to obtained. By reason of real-time calculation, Dugoff tire model is utilized for estimating the tire lateral forces.

Neglecting longitudinal forces, the lateral tire force is given bywhere the cornering stiffness of each tire is given by and is the slip angles at the front and rear tires, which is expressed as is given bywhere and is the lateral friction coefficient.

The original Dugoff tire model has a constant stiffness in respect to weight transfer. However the tire cornering stiffness depends on the tire load and the effect of the load transfer actually [21]. Cornering stiffness can be represented by a second-order polynomial. The tire cornering stiffness can be expressed aswhere and are the first- and second-order coefficients in the polynomial, respectively. The modified Dugoff tire model uses instead of .

The tire cornering stiffness changes with transfer of the vertical load, which can modify the Dugoff tire model.

In transient conditions, there is a time lag effect for the lateral forces when the slip angle of tire changes. A relaxation length can be adopted to formulate the transient behavior of tires [22]. The relaxation length is the distance covered by the tire while the tire force is kicking in, which depends on the lateral elasticity. The relaxation length is not a constant and varies with the change of slip angle, displaying a nonlinear characteristic. The dynamics lateral forces can be given as follows:where is the lateral tire force from Dugoff model in quasi-static condition. Equation (13) is used to calculate the lateral tire force when velocity of vehicle changes.

#### 3. Observer Design

State estimation model of nonlinear system can be described with state-space equation:State variables that need to be observed include longitudinal velocity, side velocity, yaw rate, and lateral force of each wheel. Definition of state variable isMeasured variables include longitudinal acceleration, lateral acceleration, and yaw rate. Definition of measured variable isLongitudinal force can be calculated from the tire’s rotating dynamics equation (6). As the precise moment and revolving speed of the drive motors can be obtained, it can be presumed that the longitudinal forces of wheels are known.

Therefore, the input variables of state equation are defined to be the steering angles of front wheels and the longitudinal force of each wheel: and are process noise and measurement noise, respectively, which is in compliance with Gaussian distribution.

Hence, state equation for the observer is

The measurement equation is

State variables are to be estimated with UKF technology.

#### 4. Design of UKF

Based on the complete state estimation model, an appropriate estimation method should be chosen. Kalman filter is one of the most effective mathematical tools in state estimation field, but it can only be used in the liner system estimation. EKF is extensively used in the estimation of vehicle state, especially in the identification of tire model. In the practical application of EKF, the approximate linearization of nonlinear system is performed through Taylor expansion, which can introduce truncation error and make EKF perform badly when the system is severely nonlinear. In order to overcome the flaws of EKF, UKF algorithm was proposed by Julier and Uhlmann from the University of Oxford [11]. Compared with the EKF, the ability of processing nonlinearity without linearization is the advantage of the UKF. UKF is essentially a kind of Quasi-Monte Carlo method [23]. UKF refers to the application of sampling method under Kalman filtering framework to approximate nonlinear function for the reason that to approximate the probability density distribution of nonlinear function is easier than to approximate nonlinear function. The core idea of UKF is UT transformation which uses deterministic variables to approximate a Gaussian distribution. It means choosing several spots from the original state distribution according to certain rules and the average value and covariance of these spots equal the average value and covariance of the original state distribution. When these spots are put into the nonlinear function, the value point set of the corresponding nonlinear function is obtained. From this point set, we can get the transformed average value and covariance. More details are available in [24]. The procedure for estimating the state of in-wheel motor driven vehicle with UKF is as follows.

*(1) Discretization of State Equation*. After discretization of state equation (14), we get the following discrete equation of state:where is the state vector at time , is input vector, is output vector, covariance of process noise is , covariance of measurement noise is , and the cross covariance between and is 0. and are both symmetric positive definite matrix.

*(2) Initialization*. System noise and measurement noise are taken into consideration and extended vector is defined as and the initial conditions conform to*(3) Sample of Sigma Points.* ConsiderAssociated weights of Sigma points are as follows:where , , stands for number of dimensions of state vector, and is the number of dimensions of measurement noise.

The values for variables , , and should be appropriately chosen. 0 is the usual value for , which ensures the half positive definitiveness of covariance matrix; determines the density of Sigma around and its usual value range is . In this paper, ; when the random variables conform to Gaussian distribution, is the most appropriate.

*(4) Calculation of UKF Recursive Filtering*. Time update equations are as follows:Measurement update equations are as follows:

#### 5. Adaptive Regulation of Measurement Noise Covariance

Measured variables are composed of longitudinal acceleration, lateral acceleration, and yaw rate from inertial sensor as shown in (16). Assuming that each measurement signal was independent of each other, the measurement noise covariance matrix can be simplified to a diagonal matrixAlthough the noise covariance matrix cannot be given accurately, the state information of vehicle is closely related to noise covariance matrix, on the basis of which standards of measurement noise covariance adaptive regulation were given as follows:(1)When the signals of inertial sensor such as , , and are small, inertial sensor has low value of Signal Noise Ratio (SNR) and the credibility of the signal reduces. So the measurement noise of inertial sensor , , and should be increased.(2)When the value of longitudinal force is large, the longitudinal acceleration of vehicle is large, so the measurement noise of longitudinal acceleration should be reduced.(3)When the velocity of vehicle is a constant value, the yaw rate would increase with the growth of steering wheel angle. Therefore, the measurement noise corresponding to the value of yaw rate should decrease.(4)The value of the lateral acceleration should become smaller with the decrease of steering wheel angle. On this condition, the noise of lateral acceleration should be increased.Taking the rules above into consideration, the RISF (Reliability Indexed Sensor Fusion) method is proposed to design the covariance matrix according to the state information of vehicle [25], which is defined by where, and are positive real number and .

The covariance matrix proposed is applied to the process of UKF, which can improve the observer’s capacity of resisting disturbance and enhance the observation precision in multicondition comprehensively.

The main function of the measurement noise covariance adaptive regulation is to improve the estimation accuracy of state parameter, so a simulation test is carried out to compare the estimation values of sideslip angle between the adaptive covariance and fixed covariance. Double lane change test is run at the speed of 80 km/h.

Figure 3 shows the estimation values of sideslip angle in simulation. In the condition of the measurement noise covariance fixed regulation, the estimation precision would reduce when the value of sideslip angle is large. Aggravation of vehicle nonlinear effect is not taken into consideration when the vehicle conducts an intense lateral movement, which can lead to the decrease of the estimation precision. On the contrary, when the measurement noise covariance adaptive regulation is adopted, the credibility of yaw rate and lateral acceleration signals is enhanced to improve the estimation precision.

#### 6. Simulation Verification

A simulation test was run in AMEsim so as to verify the observation effect of UKF algorithm. For vehicle dynamics simulation, AMEsim provides a comprehensive solution which includes a special vehicle dynamics application library integrated vehicle module, tire module, pavement module, driver module, and other vehicle subsystem module that high precision dynamic virtual tests can be carried out which improve the user’s R & D efficiency and shorten the development time of new products greatly [26]. The vehicle state from vehicle model can be seen as true value. The yaw rate, lateral acceleration, and longitudinal acceleration of the vehicle can be delivered to the observer as input and finally, the lateral tire forces and sideslip angles estimated by the observer were compared with the true values in the vehicle model for the verification of observation effect of UKF algorithm. Double lane change tests were run on roads with adhesion coefficients of 0.9 and 0.3, respectively. Step length of simulatlion test was 1 ms.

##### 6.1. Test on Road of High Adhesion

Vehicle speed is 80 km/h; adhesion coefficient is 0.9.

Figure 4 shows the estimated results of yaw rate. As yaw rate can be directly obtained from the sensor, the estimation is accurate and the convergence is very quick. Figure 5 shows the estimated results of sideslip angles. It can be seen that the estimated values had very similar tendency with the reference values. When lateral excitation is big, errors of the estimated values would be small. Figures 6–9 show the estimated values of lateral tire force of the tires. The errors between observed values and reference values are very small and they only increase at wave crest and wave trough.

##### 6.2. Test on Road of Low Adhesion

Vehicle speed is 80 km/h; adhesion coefficient is 0.3. When running double lane change on this road, the vehicle made nonlinear movement.

Figure 10 shows that, on the road of low adhesion, estimated values of yaw rate are still highly accurate, which lays a favorable foundation for the accurate estimation of sideslip angles. It can be seen from Figure 11 that observed values of sideslip angles can follow the output values of the vehicle model. It can be noted that within the range of 8–10 s, the sideslip angle reached as high as 19 degrees and the vehicle entered the nonlinear range. Figures 12–15 show the observation results of tire lateral force. Errors are larger where sideslip angles are big. At that time, the relation between tire and the ground entered nonlinear range, which changed the trend of force on the tire and affected the observation results.

#### 7. Experimental Results

In this section, In order to study experimentally the performance of the vehicle state observer, the road test is carried out on the distributed driving vehicle test platform attached to our research group.

##### 7.1. Experimental Car

The experimental vehicle shown in Figure 16 belongs to State Key Laboratory of ASCL Jilin University. It is a refitted Besturn B50. The rapid control prototyping (RCP) is developed through MATLAB/Simulink, and the observer is embedded in RCP. The dynamic information of the vehicle is measured by Oxford Technical Solutions RT3100 shown in Figure 17 and its results are used as the real reference for validating the estimation process. The car is fitted with a measurement device including 8 analog channels and a CAN-Bus interface with 2 nodes. The sampling time is 10 ms.

##### 7.2. Test and Results

A double lane change test is done to validate the observers. Due to the power limit of in-wheel motor, 50 km/h is set as the test velocity. The observation results are shown in Figures 18 and 19.

Reported results are relatively good. The observation results are summarized in Table 1. Analysis shows that, under the double lane change condition, the estimation of the sideslip angle and yaw velocity is precise. The force of tires is the key parameter for state estimation, and the accuracy of estimation for the sideslip angle and yaw velocity can show that the estimation of tire force is also precise. The performance of observers is satisfactory.

#### 8. Conclusions

Accuracy of tire force calculation is key to vehicle state estimation. The modified Dugoff tire model, featuring the consideration of dynamic characteristics, was introduced for revising the observation and calculation of the lateral tire force. Simulation results show that this modified Dugoff tire model can provide effective estimation of the lateral tire force in transient conditions.

The adaptive regulation of the measurement noise covariance can improve the observer’s capacity of resisting disturbance and enhance the observation precision in multicondition comprehensively.

This paper makes use of the characteristics of 4WD distributed electric vehicle, establishes a dynamic model of vehicle, and designs a vehicle state based on the UKF algorithm. The simulation results show that the observer can accurately estimate the vehicle sideslip angle, yaw rate, and lateral tire forces in the field of nonlinear estimation, which is significant for the improvement of vehicle dynamics control. Performances are tested using an experimental car, and experimental results demonstrate the ability of this approach to provide accurate estimations and show its practical potential as a low-cost solution for calculating lateral tire forces and sideslip angle.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgment

This work is supported by International Cooperation Projects of Ministry of Science and Technology of China (2010DFB83650).