Professional Documents
Culture Documents
Research Article
Stability Coordinated Control of Distributed Drive Electric Vehicle
Based on Condition Switching
Received 25 July 2020; Revised 29 September 2020; Accepted 18 October 2020; Published 31 October 2020
Copyright © 2020 Zhao Jingbo et al. This is an open access article distributed under the Creative Commons Attribution License,
which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
The distributed drive electric vehicle is a complex hybrid system including discrete events and continuous events. In order to
coordinate the longitudinal and lateral motion of the distributed drive electric vehicle, a hierarchical control method was
proposed. In the upper layer, the body attitude tracking controller based on sliding mode control algorithm was established to
accurately analyze the driving expectation and to track the longitudinal speed, the lateral speed, and the yaw rate of the vehicle. In
the lower layer, the switching controller based on the hybrid theory was established to improve the driving stability under various
working conditions. The switching controller can switch between control strategies according to the working conditions. The joint
simulation was carried out under various working conditions using Simulink and CarSim software. The results showed that the
controller can coordinate the longitudinal and lateral motion of the vehicle well in linear acceleration and sinusoidal acceleration
conditions and can strictly track the driving expectation and maintain the desired body posture. And another, the controller can
be switched according to the working conditions and control strategies accurately and smoothly and can ensure stable driving in
the constant speed single lane change condition. The controller can reveal the continuous behavior characteristics of the vehicle
and reflect the characteristics of discrete events by coordinating the longitudinal and lateral motion of the vehicle. It improves the
stability and control performance of the distributed drive electric vehicle under various working conditions.
In order to solve the above problems, this paper proposes Yaw rate is the key data to represent the driving state
a distributed drive electric vehicle stability controller based of the vehicle. Therefore, it is necessary to obtain the
on multi driving conditions. The controller adopts a top- relationship between steering wheel input and yaw rate of
down hierarchical control architecture. The upper controller the vehicle. The paper establishes a linear two degrees-of-
tracks the desired body posture based on the sliding mode freedom vehicle model as the reference model of the
control algorithm and calculates the longitudinal force, vehicle steering system to represent the relationship. The
lateral force, and yaw moment required by the vehicle. The output results of the reference model are all the desired
lower controller establishes the vehicle condition switching data.
controller by analyzing the continuous state characteristics The transfer matrix of vehicle linear two degree-of-
and discrete state characteristics of the vehicle system based freedom steering model is as follows.
on the hybrid theory and designs the control strategy for
each working condition which scientifically and reasonably kf + kr lf kf − lr kr kf k
⎢
⎡
⎢
⎢ − Vx ⎤⎥⎥⎥ ⎢
⎡
⎢ − − r ⎤⎥⎥⎥
distributes the longitudinal and transverse forces of the V_ y ⎢
⎢
⎢ mV x mV x ⎥
⎥
⎥⎥⎥ Vy ⎢
⎢
⎢ m m ⎥⎥⎥ δf
⎢
⎡ ⎥ ⎢ ⎢
⎢ ⎥⎥⎥⎡ ⎤⎥⎥⎦ + ⎢
⎢ ⎥⎥⎥⎡
vehicle, so as to ensure that the vehicle can keep stable ⎣ ⎤⎥⎥⎦ � ⎢
⎢
⎢ ⎢
⎢
⎢ ⎥
⎥⎥⎥
⎢
⎢
⎣ ⎢
⎢
⎢
⎢
⎢ ⎥⎥⎥⎢ ⎣ ⎤⎥⎥⎦.
⎢
⎢
⎢ ⎥ ⎢
⎢
⎢ ⎥⎥⎥ δ
running in all driving conditions and comprehensively _φ ⎢
⎢ 2 2
lf kf + lr kr ⎥⎥⎦ ⎥ φ ⎢
⎣ lf kf lr kr ⎥⎦ r
⎣ lf k f − lr k r
⎢
−
improve the driving stability of the vehicle. Finally, a sim- Iz Vx Iz V x Iz Iz
ulation platform is built based on Simulink and CarSim to
(1)
verify the effectiveness of the stability controller for dis-
tributed drive electric vehicles under multiple working Through mathematical derivation, the desired yaw rate
conditions. of the vehicle can be expressed as
Vx δ f
2. Stability Coordination Controller φ_ � 2 . (2)
1 + Kg Vx lf + lr
Based on a hierarchical control framework, a stability
Among them,
coordinated controller for multi driving conditions of a
distributed drive electric vehicle is established. The spe- m lf lr
cific structure is shown in Figure 1. The stability coor- Kg � 2 − . (3)
lf + lr kr kf
dination controller mainly includes the following parts:
the upper vehicle reference model and body attitude After considering the yaw rate constraint, the desired
tracking controller, the lower working condition yaw rate can be expressed as
switching controller, and the actuator controller. The
controller receives the steering wheel angle signal and φ_ d � min|φ|, μ · g/Vx , (4)
accelerator pedal signal from the driver and calculates the
expected driving state of the vehicle through the reference where µ is the ground friction coefficient and g is 9.8 m/s2.
model. The body attitude tracking controller tracks the The reference model of the longitudinal system is mainly
expected driving state of the vehicle. The condition to obtain the expected longitudinal speed of the vehicle,
switching controller divides the driving condition of the which can be determined by the longitudinal acceleration in
vehicle into a straight driving condition and steering the time domain.
condition and optimizes the distribution of the force for t
the different driving conditions of the vehicle. At last, the Vx d � Vx0 + ax d (τ)dτ, (5)
0
actuator controller controls the vehicle drive/steering
motor. Finally, the purpose of improving the driving where kf and kr are the side deflection stiffness of front and
stability of vehicles is achieved. rear wheels, respectively; δf and δr are the front and rear
wheel angles; Vx is the longitudinal speed of the vehicle; Vy
is the lateral velocity of the vehicle; φ_ is the yaw rate of the
3. Upper Controller vehicle; m is the mass of the vehicle; lf is the distance from
3.1. Reference Model. The reference model is used to receive vehicle centroid to front axle; lr is the distance from vehicle
the driver’s operation information (including steering wheel centroid to rear axle; Iz is the moment of inertia; and Vx0 is
angle and accelerator pedal opening) and calculate the ex- the initial speed of the vehicle.
pected running state information of the vehicle (including
the expected longitudinal speed, the expected lateral speed,
and the expected yaw rate of the vehicle). At the same time, 3.2. Body Attitude Tracking Controller. The function of the
the reference model transmits the expected information to body motion controller is to calculate the expected lon-
the vehicle body attitude tracking controller to provide the gitudinal total torque, expected total lateral moment, and
tracking target for the body motion controller. expected yaw moment of the vehicle through the advanced
In order to avoid coupling between the longitudinal control algorithm according to the information of the
system and transverse system, the longitudinal system and reference model. However, the vehicle system has com-
transverse system are designed separately in this paper. plex nonlinear characteristics. The paper selects the
Mathematical Problems in Engineering 3
S
Driver ukn � −ηkn sat k , ∀k ∈ {1, 2, 3},
ϕk
⎪
⎧ Sk
⎪
⎪ , if Sk < ϕk , (10)
⎪
⎪ ϕ
Sk ⎪
⎨ k
sat � ⎪
Reference model ϕk ⎪
⎪
⎪
⎪ Sk
⎩ sgn , if Sk ≥ ϕk .
⎪
ϕk
Body attitude The Lyapunov function is constructed to determine the
tracking control stability of the system, as shown in the following equation:
module
Upper controller S2k
Vk � , ∀k ∈ {1, 2, 3},
2
(11)
S
Straight Steering V_ k � Sk · S_k � −Sk · sat k ≤ 0 ∀k ∈ {1, 2, 3}. (12)
condition condition
ϕk
Condition switching controller It can be seen from equation (12) that the controller
satisfies the stability condition and is stable.
Finally, the total longitudinal force, total lateral force,
and yaw moment required for vehicle attitude tracking are
Actuator controller obtained.
S
Lower controller Fx d � mV_ x − V_ y φ_ � mV_ x d − η1n sat 1 − V_ y φ_ ,
ϕ1
S
Fy d � mV_ y + Vx φ_ � mV_ y d − η2n sat 2 + V_ x φ_ ,
Vehicle ϕ2
S
Figure 1: Framework of stability coordination controller. € d − η3n sat 3 .
€ � Iz φ
Mz d � Iz φ
ϕ3
sliding mode variable structure control algorithm to track (13)
the longitudinal speed, lateral speed, and yaw angle of the Here, Fx d and Fy d represent the expected total longitudinal
vehicle by comparing a variety of advanced control force and expected total lateral force. Mz d is the desired yaw
algorithms. moment.
The sliding mode control algorithm can make the
tracking error converge to zero on the designed sliding mode
surface and can track the expectation of the reference model 4. Lower Controller
output well.
The sliding surface is designed as shown in the following 4.1. Condition Switching Controller. Based on hybrid control
equations: theory, the main function of the controller is to determine
S1 � Vx − Vx d , and switch real-time driving conditions according to vehicle
(6)
information and switch the corresponding control strategy
to optimize the tire force distribution. The distributed drive
S2 � Vy − Vy d , (7) electric vehicle is a hybrid system, which can switch the
driving mode of the vehicle in real time according to the
S3 � φ_ − φ_ d . (8) change of the discrete signal of the vehicle [2]. The driving
condition of the vehicle is divided into two driving condi-
The design sliding mode variable structure control rate tions: straight driving condition and steering condition, and
can be expressed as appropriate control strategies are developed, respectively, as
S_k � ukn , ∀k ∈ {1, 2, 3}. (9) shown in Figure 2.
The hybrid system is modeled by automata, as shown in
In order to suppress the chattering of the system, the the following equation:
linear saturation function is used as the sliding surface S1, S2,
H � (Q, X, V, Y, lint, f, ln v, E, Ψ), (14)
and S3.
4 Mathematical Problems in Engineering
External input
where Q is the driving condition of the vehicle: {straight And then, the vertical load of the tire will move between the
condition, steering condition}; X is the continuous state front and rear axles. The driving force distribution method
variable of the system: Fxfl , Fxfr , Fxrl , Fxrr , based on tire load can better meet the requirements of
Fyfl , Fyfr , Fyrl , and Fyrr }; and V is the continuous input vehicle power and safety in the straight driving condition.
variable ax , ay , Fx d , Fy d , and Mz d and discrete input The vertical load of tire is shown in the following
variable S1 and S2 .S1 and S2 are the control strategies of two equations:
driving conditions; Y is the continuous output variable:
Fxfl , Fxfr , Fxrl , Fxrr , Fyfl , Fyfr , Fyrl , and Fyrr ; lint is the glr hax hlr ay
initial state of the system; ln v is the set of invariant state Fzfl � m⎝
⎛ − − ⎠
⎞, (15)
2lr + lf 2lr + lf tf lr + lf
quantity of the system E is the set of discrete switching
events: E1 and E2 ; and ψ specifies an allowable input field
for each state. Here, Fx , Fy , and Fz represent the longitu- glr hax hlr ay
⎝
Fzfr � m⎛ − + ⎠,
⎞ (16)
dinal force, lateral force, and vertical load of the vehicle. At 2lr + lf 2lr + lf tf lr + lf
the same time,fl, frrl, and rr represent the left front, right
front, left rear, and right rear wheels of the vehicle, re-
spectively. ax and ay represent the longitudinal and lateral glr hax hlf ay
⎝
Fzrl � m⎛ + − ⎠,
⎞ (17)
acceleration of the vehicle. 2lr + lf 2lr + lf tr lr + lf
When the vehicle is in the straight driving condition, the
vehicle adopts the tire force distribution method based on
glr hax hlf ay
the vertical load of the tire; when the vehicle is in the steering ⎝
Fzrr � m⎛ + + ⎠.
⎞ (18)
condition, the vehicle adopts the tire force distribution 2lr + lf 2lr + lf tr lr + lf
method based on the minimum tire adhesion margin. The
monitoring data are driver steering wheel angle δ, steering The total vertical load of the wheel can be expressed by
wheel angle velocity δω , and vehicle yaw angle acceleration φ. _ the following equation:
The monitoring data switching thresholds are set, respec- Fzt � Fzfl + Fzfr + Fzrl + Fzrr . (19)
tively. When the monitoring data are lower than the system
set thresholds, it is determined that the vehicle is in straight Finally, the driving force of each wheel can be shown in
running condition; otherwise, it is determined that the the following equation:
vehicle is in steering condition.
Fzij
Fxij � F , i ∈ f, r, j ∈ {l, r}, (20)
Fzt z d
4.2. Optimized Distribution of Tire Force. The distributed
drive electric vehicle has four drive motors and four steering where tf and tr are the front and rear track width and h is the
motors. The degree of freedom required to control is far less height from the vehicle center of mass to the ground. At this
than the number of controllable actuators. The system is driving condition, the tire lateral force is evenly distributed
highly redundant and overdrive system. Therefore, the under the straight driving condition.
control strategy is designed by control distribution theory. When the vehicle is in the steering condition, the lon-
The optimal distribution of tire force based on the control gitudinal force, lateral force, and yaw moment generated by
distribution theory can effectively improve the dynamic the vehicle to maintain the body attitude will have an impact
response of the vehicle. on the driving state of the vehicle. At this condition, the tire
Under the condition of straight driving, the longitudinal force distribution should focus on improving the stability of
force has a great influence on the driving state of the vehicle. the vehicle. And the tire force distribution method based on
Mathematical Problems in Engineering 5
the tire load coefficient is adopted. The smaller the load Twij � Rwij Fwij + Jwij ωwij + Tbij , i ∈ f, r, j ∈ {l, r}.
factor of the vehicle tire, the greater the potential of the tire,
the higher the stability of the vehicle. (25)
2 2
min J � Fxij + Fyij The tire lateral force cannot be directly transformed into
, the wheel angle of the steering motor. It needs to be solved
i�f,r μ2ij F2zij (21)
indirectly by the inverse model of tire cornering. The tire
j�l,r
model shown in equation (26) is used to realize the model
[3]. The tire model can better represent the linear rela-
where μ is the ground adhesion coefficient and Fz is the
tionship between tire lateral force and tire cornering angle:
vertical force of each tire.
At steering condition, the distributed longitudinal force, μ kα
lateral force, and yaw moment shall also meet the kinematic Fy � −CGx tan− 1 . (26)
k μ
equation of the vehicle.
Gx and k are factors defined as
Fxd � Fxfl + Fxfr + Fxrl + Fxrr , ����������
2
Fyd � Fyfl + Fyfr + Fyrl + Fyrr , F
Gx � 1 − x ,
μFz
tf (27)
Mzd � lf Fyfl + Fyfr − lr Fyrl + Fyrr + −Fxfl + Fxfr
2 π 1
k�C .
t 2 Fz
+ r −Fxrl + Fxrr .
2
According to the tire model, the angle between the tire
(22) running direction and the coordinate axis can be expressed
In addition, the longitudinal and lateral forces of the by the following equation:
vehicle during driving should meet the constraints of the μ −Fy k
vertical forces of the tire. That is to say, the limit condition of α � tan . (28)
k CGx μ
the friction circle should be met.
The angle between the driving direction of the tire and
F2xij + F2yij ≤ μ2ij F2zij . (23) the coordinate axis can be known from the side slip of the
tire:
At the same time, the driving force and lateral force of
the vehicle also need to meet the maximum torque re- σ ij � δij + αij . (29)
quirements of the motor.
At the same time, it can be seen from the vehicle dy-
namics model:
Tmax
Fxij ≤ , i ∈ f, r, j ∈ {l, r}, (24)
r V y − l r φ
σ lf,rl � tan−1 ⎛
⎝ ⎠,
⎞
where Tmax is the maximum output torque of the motor and Vx ∓tf φ/2
r is the effective radius of the tire. (30)
In this paper, the interior point method of quadratic Vy − lr φ
programming (SQP) is used to solve the problem with in- σ lr,rr � tan−1 ⎛
⎝ ⎠.
⎞
Vx ∓tr φ/2
equality constraints. Finally, the S-function in Simulink is
used to write the objective function. And the optimization
Finally, it can be seen that the required wheel angle of the
problem is solved iteratively to get the optimal distribution
vehicle can be expressed by the following equation:
of tire force.
δij � σ ij − αij , i ∈ f, r, j ∈ {l, r}. (31)
steering motors, and the specific parameters are shown in continuously, the yaw rate of the vehicle will produce errors
Table 1. when tracking the desired yaw rate of the vehicle, but the
errors are small where maximum error is less than 0.3 deg/s.
It cannot have a big impact on the stability of the vehicle. In
5.1. Linear Acceleration Condition. The linear acceleration this condition, the controller can complete the tracking of
condition is mainly to verify the effectiveness of the vehicle the yaw rate as a whole and track the longitudinal direction
coordination controller for driver driving expectation of the vehicle better speed. It has a better impact to improve
tracking. the stability of the vehicle. In the first four seconds of the
In the condition of linear acceleration, the steering wheel simulation, the vehicle can track the longitudinal acceler-
angle input is always 0. The initial speed of vehicle is 36 km/ ation very well. However, the longitudinal acceleration of the
h, and the acceleration curve can be shown in Figure 3. The vehicle will fluctuate due to the excessive change rate of the
ground is flat. The coefficient of adhesion is 0.8. The ac- steering angle of the vehicle at four seconds and the sixth.
celeration is given to the vehicle in the 2 seconds when the Therefore, it can quickly track the expected acceleration of
vehicle is running, and the acceleration is increased to 1.5 m/ the vehicle after the fluctuation. To sum-up, the vehicle
s^2 in one second and keep it for 5 seconds. At last, the coordination controller can better complete the driver’s
vehicle acceleration is reduced to 0 in the sixth second. steering intention, track the vehicle’s yaw acceleration and
The specific simulation results are shown in Figures 4 acceleration, and improve the vehicle’s yaw stability and
and 5. safety to a certain extent.
Figure 4 shows the longitudinal speed chart of the ve-
hicle. When the vehicle starts to accelerate in 1 s and stops to
accelerate in 6 s, the vehicle speed accelerates from 36 km/h
to 57.6 km/h. The vehicle speed curve is smooth, which 5.3. Uniform Single Lane Change Condition. The uniform
tracks the expected speed of the vehicle well and meets the single lane change condition is mainly to verify the effec-
acceleration expectation of the driver. Figure 5 shows the tiveness of the hybrid controller in the process of vehicle
actual acceleration curve of the vehicle. In the simulation driving. In this case, it is necessary to design a driver model
process, the actual acceleration curve can better track the to convert the model path input into the vehicle steering
expected acceleration curve, and the vehicle response is fast wheel input. The specific driver model is not described here.
and accurate, which fully meets the acceleration expectation The steering wheel angle input is shown in Figure 10. The
of the driver. It can be seen from the simulation results of the vehicle speed is set as 36 km/h. The ground is flat without
linear acceleration condition that the actual driving speed of slope, and the ground adhesion coefficient is 0.8.
the vehicle can track the target speed quickly and accurately. As shown in Figure 11, the speed of the simulation
At the same time, it can meet the acceleration needs of the vehicle is maintained at 35.999 km/h when driving straight,
driver in the linear condition, and the coordination con- and the speed fluctuates slightly when turning. The maxi-
troller can better track the driving expectation of the vehicle. mum error is 0.003 km/h in this condition. The impact on
Therefore, the coordinated controller is effective. the overall speed can be ignored basically. The vertical and
horizontal coordination controller can better track the
longitudinal speed of the vehicle.
5.2. Sinusoidal Acceleration Condition. The sinusoidal ac- It can be seen from Figure 12 that the vehicle cannot
celeration condition is to verify the effectiveness of the fully track the desired yaw rate in which the maximum
vehicle stability coordination controller to improve the error is less than 0.25 deg/s when turning. However, the
lateral stability under the steering condition. The steering yaw rate curve of the vehicle is smooth and has no
wheel input and accelerator pedal input are shown in Fig- fluctuation, which can better maintain the yaw stability of
ures 6 and 3. The initial speed of the vehicle was set as 36 km/ the vehicle under this working condition in this simu-
h. The ground is flat, and the coefficient of adhesion is 0.8. lation process. Figure 13 is a schematic diagram of vehicle
The simulation results are shown in Figures 7–9. working condition switching. 1 represents straight driving
Figure 7 shows the comparison between the actual yaw condition and 2 represents steering condition. It can be
rate and the desired yaw rate of the vehicle. When the seen from Figure 13 that the hybrid controller can switch
steering wheel angle and longitudinal speed increase vehicle conditions smoothly according to the change of
Mathematical Problems in Engineering 7
1.5
0.5
0
0 2 4 6 8
Time (s)
Figure 3: Target curve of longitudinal acceleration.
55
Longitudinal speed (km/h)
50
45
40
35
0 2 4 6
Time (s)
Desired speed
Actual speed
Figure 4: Longitudinal speed.
Longitudinal acceleration (m/s2)
1.5
0.5
–0.5
0 1 2 3 4 5 6 7
Time (s)
Actual acceleration
Desired acceleration
Figure 5: Actual longitudinal acceleration curve.
8 Mathematical Problems in Engineering
–0.5
–1
0 2 4 6 8
Time (s)
Figure 6: Front-wheel angle step input.
2
Yaw rate (deg/s)
–2
–4
–6
0 2 4 6 8
Time (s)
Desired yaw rate
Actual yaw rate
Figure 7: Comparison of yaw rate.
2.5
Longitudinal acceleration (m/s2)
55
2
Longitudinal speed (km/h)
50 1.5
1
45
0.5
40
0
35 –0.5
0 2 4 6 0 1 2 3 4 5 6 7
Time (s) Time (s)
1 2
1.8
Driving condition
0.5
Wheel angle (deg)
1.6
0
1.4
–0.5 1.2
1
–1
0 5 10 0 5 10
Time (s) Time (s)
Figure 10: Steering wheel angle of single moving line. Figure 13: Working condition switching diagram.
36.01 6. Conclusion
In order to improve the driving stability of the vehicle
Longitudinal speed (km/h)
2 Data Availability
Yaw rate (deg/s)
Conflicts of Interest
–2
The authors declare that they have no conflicts of interest.
–4
0 5 10
Acknowledgments
Time (s)
Funding from the National Natural Science Foundation of
Desired yaw rate China (Grant no. 61503163) and the Key University Science
Actual yaw rate Research Project of Jiangsu Province (Grant no.
Figure 12: Comparison curve of yaw rate. 18KJA580004) is gratefully acknowledged.
References
vehicle monitoring data and select the corresponding [1] Z. Yu and X. Lu, “Review on vehicle dynamics control of
control strategy to optimize the distribution of vehicle tire distributed drive electric vehicle,” Journal of Mechanical En-
force. gineering, vol. 49, no. 8, pp. 105–114, 2013.
10 Mathematical Problems in Engineering