#### Abstract

The random time-varying delays would reduce control performance and even deteriorate the EV system. To deal with random time-varying delays and achieve a real-time steady-state response, considering randomness of delay and a rapid response, an -based delay-tolerant linear quadratic regulator (LQR) control method based on Taylor series expansion is proposed in this paper. The results of cosimulations with Simulink and CarSim demonstrate the effectiveness of the proposed controller through the control performance of yaw rate, sideslip angle, and the running track. Moreover, the results of comparison with the other controller illustrate the strength of explicitly.

#### 1. Introduction

With the rapid development of EV technology, the stability of EV is concerned by enterprise and research institution [1]. Due to unique technical advantages such as simplified transmission, regenerative braking system of each wheel, and electronic initiative chassis [2], 4WIDEVs have attracted great attention [3].

However, some random time-varying delays of environment interference and network may cause the 4WIDEV system to be unstable. On one hand, since the working environment of 4WIDEV changes tremendously, some interferences increase in the conditions of road [4], the variational parameters of motors, the variational parameters of 4WIDEV [5–7], and electromagnetic interference (EMI) [8], which are random and difficult to measure. On the other hand, 4WIDEV controls are also characterized by fast dynamics, whereas the response time and accuracy of controller may be influenced under the network-induced delays.

There are a few approaches against network delays [9]; for example, an controller [10] is proposed to decrease CAN delays. However, environment interference delays are not considered in literature [10]. Meanwhile, longitudinal force and vertical force are ignored in 2-DOF model which is proposed in literature [10]. There are numerous approaches for the appropriate handling based on polytopic inclusions [11]. In literature [12], a method based on Jordan normal form (JNF) is proposed. However, the polytope of JNF is too large to store in real-time system. Then a method based on elementwise minimization-maximization (EMM) [13] is used to describe random time-varying delays. Though EMM is the same order of magnitude as Taylor series expansion (TA) [14], it is more complex than TA. Therefore, TA is chosen to deal with random time-varying delays in this paper. However, there is no approach against random network delays proposed. There are rare research studies to restrain onboard random time delays of network. Based on the theoretical research on network-induced delays [9], a practical result of the network-induced delay model was adopted for the study of automotive system [10]. Even though there are few approaches against CAN network delays, there is no method which is proposed to deal with network delays and environment interference delays.

The main work is as follows; firstly, the environment delays and network delays are explicitly considered in the vehicle yawing moment control problem. Considering that the random time-varying delays lead to a challenging control problem for the vehicle lateral stability and handling, the delays are described via the polytopic technique, which is different from the conventional control strategy. Furthermore, an -based LQR tracking control scheme is designed to make the control performance and the robustness of 4WIDEV against random time-varying delays.

The remaining sections of this paper are organized as follows. In Section 2, the 4WIDEV control system is studied. In Section 3, the -based LQR is designed to solve random time-varying delays with LMI theory. In Section 4, the effectiveness of controller is demonstrated via cosimulation with Simulink and CarSim. Section 5 presents some concluding remarks.

#### 2. WIDEV Control System

##### 2.1. Electric Control System Structure

As is shown in Figure 1, a 4WIDEV structure consists of driving intention recognition, 4WIDEV controller, network, in-wheel motors, and transducer and estimate system.

As is descripted in Figure 1, the transducer system is designed to gather accelerate pedal location, braking pedal location, longitudinal and transverse acceleration, yaw rate, and velocity as inputs. Driving intention recognition determines expected vehicle velocity and steering angle . 4WIDEV controller picks up expected yaw moment and expected vehicle driving moment . Moreover, on the premise of satisfying proposed and , torque allocation set is in charge of calculating driving moment and steering angle of four wheels . The control signals are exchanged using control area network (CAN or FlexRay) [10].

##### 2.2. Model of 4WIDEV

Without any loss of generality, we can get three assumptions [10].

*Assumption 1. *4WIDEV is symmetrical and its moving coordinate origin is center of gravity (CG).

*Assumption 2. *The steering wheel angle is equal to front wheel angle and same characteristics of each wheel.

*Assumption 3. *Air resistance is ignored.

In this paper, a 4-DOF model of 4WIDEV is used for controller design, as is shown in Figure 2. Through the stress analysis of 4WIDEV and Newton’s second law of motion, we can get 4-DOF vehicle model as follows [10]: where , where is the mass of 4WIDEV, is the inertia of 4WIDEV, is yaw inertia, is roll inertia, is the distance from to front axles, is the distances from to rear axles, is the distance from front axle to , and is the distance from rear axle to . is track width, is height of , is the front wheels steering angle which is inputs, is front tires slip angle, is rear tires slip angle, is sideslip angle, is roll angle and derivative of roll angle, is longitudinal force of front tire, is rear longitudinal force, is lateral force of front tires, is rear tires lateral force, is the velocity [15] of 4WIDEV, is longitudinal velocity, is lateral velocity, is yaw rate, is roll damping, is cornering stiffness of front tire, is cornering stiffness of rear tire, and is roll angle stiffness. is the input of 4WIDEV model, and , , , and are four states of 4WIDEV model.

##### 2.3. Reference State Responses

Generally, the reference sideslip angle which is mainly concerned with the vehicle stability [16] is set as zero to make 4WIDEV stable [17], whereas the reference yaw rate is defined in terms of vehicle parameters, longitudinal speed, and steering input of the driver as [18] Applying 3 to 1, the reference state responses can be expressed as follows: where where is reference yaw rate, is reference sideslip angle, is reference roll angle, and is reference derivative of roll angle.

##### 2.4. Analysis of Random Time-Varying Delays

*Assume 1*. Random time-varying delays are bounded within an in-vehicle network and EV’s working environment [19].

*Assume 2*. In order to simplify calculation, we suppose that all delays are equivalent to network delays [20]. An explicit expression can be demonstrated as follows:
where is the upper bound of the delay of the th message, is the maximum frame length, is the rate of communication protocol, and is the cycle length of the th priority message.

From 6, we can get an integral term as follows: using Taylor series expansion in 7, we can get the following: With a proper selection of the number , the high-order terms in the remainder can be relatively small. We can neglect the remainder and obtain the -order approximation as is shown in the following: the random terms can be expressed as a linear combination [11] as follows: where is a random time-varying coefficient with respect to and

##### 2.5. Control Model with Random Time-Varying Delays

With the random time-varying delays, 1 is derived as Considering control delay from the EV controller, we can write the input of the vehicle at time in the following: Define the maximum value delay as where and .

Applying 13 to 12, we obtain where Defining a new state vector , from 15, we can get where In 17, is a state vector, is control variables vector, and is random time-varying delays vector. Thus, a discrete-time control model with random time-varying delays is proposed.

#### 3. Controller Design

With the system in 17, the control objective is to minimize the tracking error and the control input signals. A performance index is formulated as a combination of the tracking error and the control signals. In this paper, we select a quadratic form of the tracking error and the control signals as follows: where and are two positive definite weighting matrices to regulate the weight of steering angle correction and direct yaw moment. In this paper, and are selected as constants for controller design.

The -based LQR tracking controller is obtained by finding the optimized state-feedback gain to minimize index , which is also equal to the 2-norm of the following constructed signal: where Considering is bounded in space [11], we introduce an performance index such that . Then, the optimization problem instead that an optimal control problem for the following system: With the state-feedback control, the closed-loop system is and inequality is as follows: From 24, we can get an optimized control gain , and the following is achievable: For and , when is small, the controlled output is small, and vice versa. Therefore, the controller design can be finally expressed as

Equation 26 is a typical minimization problem of a linear objective function with constraints of LMIs and can be solved with the LMI Toolbox in MATLAB. Therefore, the minimization under constraints is solved, and a controller against random time-varying delays is proposed. Then the controller is obtained by , where is a fixed gain matrix which can be calculated offline. The PID controller requires the integral and derivative of the error signal.

#### 4. Simulation and Interpretation of Results

The vehicle model parameter values are listed in Table 1.

As is shown in Figure 3, take a PID controller for an example for comparison. Sample time Ts is 10 ms which is the sample period of the closed-loop system. In the simulations, choose the longitudinal vehicle velocity as 80 km/h and the tire-road friction coeffient as 0.85 in all the maneuvers.

##### 4.1. Straight Maneuver

Random time-varying delays are shown in Figure 4. The max delay is 5 ms, and the min delay is 0 ms. It means the delay time of each message.

As is shown in Figure 5, reference velocity of 4WIDEV is 80 km/h. Under the condition without delays, the response time of the PID controller and the controller is about 1 second. The overshoot of system is zero. Both controllers have good control performance.

As is shown in Figure 6, reference velocity of 4WIDEV is 80 km/h. Under the condition with random time-varying delays, the PID controller significantly oscillates, whereas the proposed controller demonstrates good robustness. The response time of the proposed controller is about 2 seconds.

Figure 7 shows the simulation results of vehicle yaw rate response in the curve steering maneuver. Without time delays, both the PID controller and the proposed controller give satisfactory results, and the proposed controller performs better without a steady-state tracking error. However, with the random time-varying delays, the PID controller yields oscillations in the transient process and error in steady state, whereas the proposed controller can still track the desired yaw rate, as well as what it does under the ideal network condition.

**(a) Without delay**

**(b) With random delays**

In addition, the effect of the delays is hence significant enough to influence the vehicle global trajectory with the PID controller. Comparatively, for the proposed controller, the trajectory is just as the driver’s expectation, which is displayed in Figure 8.

**(a) Without delay**

**(b) With random time-varying delays**

##### 4.2. Curve Steering Maneuver

As is shown in Figure 9, reference velocity of 4WIDEV is 80 km/h. Under the condition without delays, the response time of the PID controller and the controller is about 1.5 seconds. The maximum overshoot of system is less than 2%. Both controllers have good control performance.

As is shown in Figure 10, reference velocity of 4WIDEV is 80 km/h. Under the condition with random time-varying delays, the PID controller significantly oscillates, whereas the proposed controller demonstrates good robustness. The response time of the proposed controller is about 2 seconds.

Figure 11 shows the simulation results of vehicle yaw rate response in the curve steering maneuver. Without time delays, both the PID controller and the proposed controller give satisfactory results, and the proposed controller performs better without a steady-state tracking error. However, with the random time-varying delays, the PID controller yields oscillations in the transient process and error in steady state, whereas the proposed controller can still track the desired yaw rate, as well as what it does under the ideal network condition.

**(a) Without delay**

**(b) With random time-varying delays**

In addition, the effect of the delays is hence significant enough to influence the vehicle global trajectory with the PID controller. Comparatively, for the proposed controller, the trajectory is just as the driver’s expectation, which is displayed in Figure 12.

**(a) Without delay**

**(b) With random time-varying delays**

##### 4.3. Lane-Changing Maneuver

Figure 13 shows the simulation results of vehicle speed response in single lane-changing maneuver. Under the condition without delays, the response time of the PID controller and the proposed controller is about 1.5 seconds. The maximum overshoot of system is less than 3.5%. Both controllers have good control performance. There are some drops in the response curve, which is because of deceleration of the vehicle when it turns a corner.

As is shown in Figure 14, reference velocity of 4WIDEV is 80 km/h. Under the condition with random time-varying delays, the PID controller significantly oscillates, whereas the proposed controller demonstrates good robustness.

Figure 15 shows the simulation results of the vehicle yaw rate under lane-changing maneuver. Under the ideal network condition without delays, both the PID controller and the proposed controller can track the desired yaw rate well. Nevertheless, with the random time-varying delays, there are significant oscillations in the vehicle yaw rate with the PID controller, and the oscillations still exist when the steering wheel angle returns to zero in the last 1 s, which indicates that the vehicle system is almost at the criticality of instability, while, for the proposed controller, there is almost no negative influence on the tracking performance even when the random network delays are introduced.

**(a) Without delay**

**(b) With random time-varying delays**

In addition, the effect of the delays is hence significant enough to influence the vehicle global trajectory with the PID controller. Comparatively, for the proposed controller, the trajectory is just as the driver’s expectation, which is displayed in Figure 16.

**(a) Without delay**

**(b) With random time-varying delays**

#### 5. Conclusion

In this paper, a yawing moment control method of 4WIDEVs to restrain random time-varying delays is proposed. An -based LQR tracking controller is introduced and adopted in the control system against random time-varying delays effectively. Meanwhile, the original system with the terms is induced by random time-varying delays and then describes the randomness as polynomial. Two simulation maneuvers are carried out on an EV model constructed by CarSim to verify the performance of the proposed controller. Simulation results show that the controller not only achieves a good control effect under the network condition without delays but also guarantees enough robustness and performance when there are network-induced random time-varying delays in the closed-control loop as well. Comparisons with a PID controller without delays further evidenced the effectiveness of the proposed controller.

#### Conflict of Interests

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