Next Article in Journal
An Improved Whale Optimizer with Multiple Strategies for Intelligent Prediction of Talent Stability
Next Article in Special Issue
Low-Cost Hardware in the Loop for Intelligent Neural Predictive Control of Hybrid Electric Vehicle
Previous Article in Journal
A Substation Fire Early Warning Scheme Based on Multi-Information Fusion
Previous Article in Special Issue
Design of a Wheel-Side Rear-Drive Distributed Electric Bus Control Strategy Based on Self-Correcting Fuzzy Control
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Design of an Adaptive Distributed Drive Control Strategy for a Wheel-Side Rear-Drive Electric Bus

1
School of Mechanical Engineering, Hangzhou Dianzi University, Hangzhou 310005, China
2
Power Machinery & Vehicular Engineering Institute, College of Energy Engineering, Zhejiang University, Hangzhou 310058, China
3
Polytechnic Institute, Zhejiang University, 866 Yuhangtang Rd, Hangzhou 310058, China
4
Wenzhou Institute of Hangzhou Dianzi University, Wenzhou 325013, China
5
Mstar Technologies, Inc., Hangzhou 310012, China
6
College of Information Engineering, Zhejiang University of Water Resources and Electric Power, Hangzhou 310018, China
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(24), 4223; https://doi.org/10.3390/electronics11244223
Submission received: 21 October 2022 / Revised: 12 December 2022 / Accepted: 13 December 2022 / Published: 18 December 2022
(This article belongs to the Special Issue Fault Diagnosis and Control Technology of Electric Vehicle)

Abstract

:
A wheel motor simplifies the chassis structure of an electric bus, greatly improving its response speed and controllability. How to improve the lateral stability of the vehicle under complex and changeable driving conditions is a major problem in the motion control of electric buses. This study proposed an adaptive distributed drive control strategy for a rear-wheel drive electric bus. An adaptive fuzzy controller was designed to obtain the additional yaw moment of the vehicle and then combined with a rule distribution method to modify the steering characteristics of the vehicle to obtain the optimal driving torque distribution. Hardware-in-the-loop test results showed that under adaptive fuzzy control, the yaw rate deviations under low- and high-speed conditions were reduced from 18% and 42% without control to 10% and 23% with control, respectively. Under sine wave conditions, the deviation of the yaw rate and the vehicle’s sideslip angle were reduced from 83% and 852% without control to 12% and 15% with control, respectively. It was verified that the electric bus with adaptive fuzzy control could maintain good vehicle stability at full speed.

1. Introduction

In recent years, with the gradual improvement in automobile technology and power performance, more and more automobile users’ concerns have shifted from vehicle performance to vehicle driving safety. Therefore, the major commercial vehicle manufacturers have gradually focused more of their attention on how to improve the safety of city buses. The automotive electronic stability program (ESP) [1] is a multifunctional active safety device that can greatly improve a vehicle’s steering safety through direct yaw moment control (DYC) and is also an important part of the active safety control system [2,3]. To directly realize the yawing moment and control, the distributed drive control of electric vehicles uses independent control of the torque of each wheel, uses the car driving force theory to reasonably allocate direct yawing moment control, and does not involve the use of the vehicle’s braking; this is in contrast to traditional centralized fuel vehicles, which directly use differential braking to provide yawing moment control. From the perspective of vehicle stability, response speed, and control accuracy, the method of adjusting the driving force of each wheel of a distributed drive vehicle is better than the method of centralized control of a centralized drive vehicle. At present, the methods of direct yaw moment control in automobiles are sliding mode control [4], PID control [5], fuzzy control [6], and model predictive control [7]. Among them, fuzzy control has the advantages of not relying on specific control objects and good robustness, and thus, it is the most widely used in automobile control.
Many scholars studied the motion tracking control algorithm in the distributed drive control strategy [8], which primarily includes feedback linearization control, PI control, and feedforward plus dynamic sliding mode feedback control. The feedback linearization control algorithm is used in the design of the yaw rate tracking controller by eliminating the nonlinear parts of the nonlinear system and linearizing the rest of the system. The algorithm can avoid the influence of nonlinear parts of the vehicle system on the control effect, but for some control objects with unclear vehicle parameters, the control effect is poor and the applicability is narrow [6]. In the PI control algorithm, the deviation between the actual yaw velocity and the ideal yaw velocity obtained from the vehicle’s two-degrees-of-freedom model is taken as the input, and the yaw moment corrected by the deviation is obtained through the PI controller. The control algorithm is simple and reliable and is suitable for the linear constant system of the accurate mathematical model. However, there is evident nonlinearity and complexity in the vehicle system. Therefore, the PI controller will have significant differences in the control effects in different working conditions [9,10,11]. The feedforward plus optimal dynamic sliding mode feedback control was proposed in reference [12]. The vehicle’s actual yaw rate ω and ideal yaw rate ω d   derived from the improved two-degrees-of-freedom reference model was used as the dynamic sliding mode feedback control input, and at the same time, the front wheel angle and vehicle speed were used as the feedforward control inputs and outputs of the yaw moments. The control algorithm has low requirements regarding the vehicle model precision and wide adaptation, but due to the limitations of the sliding mode control itself, if the switching function is not properly designed, high-frequency jitter will inevitably appear on the switching surface [13].
In this study, taking a distributed rear-drive electric bus as the research object, based on the characteristics that the driving torque of each driving wheel can be controlled independently, an adaptive fuzzy control algorithm based on the direct yaw moment control principle was proposed to improve the vehicle’s lateral stability. The main work had the following three aspects: (1) An adaptive distributed drive control system with a hierarchical control structure was proposed for a rear-drive electric bus, including an additional yaw moment setting layer and a driving torque distribution layer. (2) In the additional yaw moment setting layer, an adaptive fuzzy controller was designed based on the principle of direct yaw moment control. The yaw rate deviation and the vehicle’s sideslip angle deviation between the actual value and the expected value were calculated as the inputs of the controller. By dynamically adjusting the quantization factor and scale factor of the fuzzy control, the adaptive fuzzy controller can set the optimal additional yaw moment to improve vehicle stability. (3) Using an NI PXIE-880 real-time processor and a DSP28335 controller, a hardware-in-the-loop test platform was built. The hardware-in-the-loop test of the proposed adaptive drive control strategy was carried out under different working conditions.

2. Build Dynamics Models

To design the adaptive distributed drive control strategy and verify it, it was necessary to establish a two-degrees-of-freedom vehicle reference model and a five-degrees-of-freedom vehicle dynamics model using TruckSim software (TruckSim 2020).

2.1. Reference Model

A vehicle’s attitude and running trajectory are important factors to consider in vehicle lateral stability. A vehicle’s yaw angle and yaw velocity are the two main parameters that represent the vehicle’s stability and running trajectory. Therefore, a linear two-degrees-of-freedom vehicle reference model was established to calculate the expected sideslip angle β d and the expected yaw rate ω d . The linear two-degrees-of-freedom vehicle model shown in Figure 1 only considered the two degrees of freedom of lateral movement along the y-axis and yaw movement around the z-axis.
Ignoring the vehicle suspension and keeping the vehicle’s longitudinal speed constant, the cornering characteristics of each tire were in the linear range; therefore, a differential equation of the vehicle motion was derived as follows:
{ ω ˙ = a C f b C r J Z β + a 2 C f + b 2 C r J Z v x ω a C f J Z δ f         β ˙ = C f + C r m v x β + ( a C f b C r m v x 2 1 ) ω C f J z δ f        
where a and b are the distance from the center of mass of the vehicle to the front and rear axles, L is the wheelbase, m is vehicle mass, C f   and C r are the cornering stiffness of the front and rear axles of the vehicle, J Z is the moment of inertia of the vehicle around the z-axis, v x is the longitudinal speed of the vehicle, δ f is the front wheel steering angle of the vehicle, β is the sideslip angle of the center of mass, and ω is the yaw rate.
The following equalities are true during the vehicle’s steady driving state:
{ ω ˙ = 0 β ˙ = 0
In addition, K is the stability factor, which is an important parameter that characterizes the steady-state response of the vehicle. The value of K is obtained using the following formula:
K = m L 2 ( a C r b C f )
After combining Formulas (1) and (2), we obtained
{ ω d = v x L ( 1 + K v x 2 ) δ f     β d = b L C r + m a v x 2 L 2 C r ( 1 + K v x 2 ) δ f
In addition, considering the limitation of the road adhesion coefficient on the steady-state maximum of the yaw velocity and the vehicle’s side deflection angle of the linear 2-DOF model, the current road adhesion coefficient was selected as the desired parameter. On a road with a pavement adhesion coefficient of μ, the boundary values of the yaw rate ω b o u n d and the vehicle’s sideslip angle β b o u n d   [14] were calculated as follows:
{   ω b o u n d = 0.85 μ g v x | β b o u n d |   a r c t a n ( 0.02   μ g )
where g is the acceleration due to gravity.
After combining Formulas (4) and (5), we obtained
{ ω d = min { v x L ( 1 + K v x 2 ) δ f , ω b o u n d } β d = min { b L C r + m a v x 2 L 2 C r ( 1 + K v x 2 ) δ f , β b o u n d }

2.2. Vehicle Model

In order to design and verify the distributed drive control strategy, it was necessary to establish a wheel-side rear-drive electric bus model.
This study mainly investigated the lateral driving stability of an electric bus, ignoring the pitch and roll motion of the vehicle, and only considered the five degrees of freedom of the vehicle’s lateral, longitudinal, yaw, and rotational motion of the four wheels. As shown in Figure 2, the simplified five-degrees-of-freedom model was used to analyze the rear-drive forces of the vehicle in direct yaw moment control.
Longitudinal motion equation:
m ( V ˙ x V y ω ) = F x 1 + F x 2
Lateral motion equation:
m ( V ˙ y + V x ω ) = F y 1 + F y 2
Yaw motion equation:
J Z ω = w 2 ( F x 2 F x 1 ) b ( F y 1 + F y 2 )
In the above formulas, m is the mass of the vehicle; V x is the longitudinal velocity of the vehicle; V y is the lateral velocity of the vehicle; J Z is the moment of inertia of the vehicle around the z-axis; ω is the vehicle’s yaw rate; a is the distance from the center of mass to the front axle; b is the distance from the center of mass to the rear axle; w is the rear axle track; and F x 1 , F x 2 , F y 1 , and F y 2 are, respectively, the longitudinal and lateral reaction forces of the left and right driving wheels on the ground.
From the principle diagram of wheel rotation dynamics shown in Figure 3, the wheel rotation dynamics equation can be obtained as follows:
I w w ˙ r = T d T b + F x R
where I w is the rotational inertia of the wheel, R is the wheel rolling radius, F x is the wheel friction, T d is the wheel driving torque, and T b is the wheel braking torque.
TruckSim vehicle dynamics simulation software was used to build a complete electric bus model. TruckSim can build a nonlinear vehicle model in a parameterized manner as a control strategy simulation verification platform. Some parameters of the electric bus model are shown in Table 1.

3. Adaptive Distributed Drive Control System Design

For a distributed rear-drive electric bus, designing a reasonable driving force control strategy according to various driving conditions can improve the driving stability and driving safety of the bus. Based on the compensation of the yaw moment, this study designed an adaptive rear driving force distribution control strategy to maintain the body attitude and driving route of an electric bus. The control strategy structure was divided into two layers, namely, an additional yaw moment setting layer and a driving torque distribution layer, as shown in Figure 4.
The additional yaw moment setting layer inputs the received driver information δ f and K p d into the reference vehicle model to obtain the expected yaw rate and sideslip angle. The expected yaw rate and sideslip angle are compared with the actual yaw rate and sideslip angle, respectively, and the additional yaw moment is obtained by the adaptive fuzzy controller and input to the next layer. In the driving force distribution layer, the driving forces are reasonably distributed on the left and right rear wheels of the electric bus according to the additional yaw moment constraint.

3.1. Additional Yaw Moment Calculation Based on Fuzzy Controller

Fuzzy control is a modern control method that does not rely on the precise mathematical model of the control object. Its structure mainly includes three modules, namely, the fuzzification input, fuzzy reasoning, and anti-fuzzification output, as shown in Figure 5.
The deviations between the actual values ω and β and the expected values ω d and β d of the yaw rate and the sideslip angle, respectively, are taken as the two input variables of the fuzzy controller. The output of the controller is the additional yaw moment ∆M that makes the actual values of the yaw rate and the sideslip angle of the bus follow the expected value. The fuzzy control system block diagram is shown in Figure 6.
In Figure 6, the input E = [ E ( ω ) , E ( β ) ] T gives the true deviation of the actual value of the yaw rate and the sideslip angle from the expected value, which is the basic domain of fuzzy control. e = [ k 1 · E ( ω ) , k 2 · E ( β ) ] T = [ e ( ω ) , e ( β ) ] T is the input after the fuzzification process. The fuzzification process is the input variable transformed from the basic domain to the corresponding fuzzy set domain, that is, it multiplies the input variable by the corresponding quantization factor. The relevant sets are as follows:
T [ e ( ω ) ] = { A ω 1 , A ω 2 , A ω n }
T [ e ( β ) ] = { A β 1 , A β 2 , A β n }
Among them, A ω j and A β j ( j = 1 , 2 , , n ) are divided into the jth fuzzy variable values of e(ω) and e(β), which are defined in the universe of the Uω and U β fuzzy collection. The corresponding membership functions are
u A ω j [ e ( ω ) ] (   j = 1 , 2 , n   )
u A β j [ e ( β ) ] (   j = 1 , 2 , n   )
The output is also a fuzzy language variable:
T ( y ) = { B 1 , B 2 , B n }
where B j ( j = 1 , 2 , n ) is the jth fuzzy variable value of y, which is a fuzzy set defined on the universe U y , and the corresponding membership function is u B j ( y ) .
Suppose the corresponding fuzzy rules of the input–output relationship described are
R i :   if   e ( ω ) = A ω 1   and   e ( β ) = A β 1   then   y = B 1 , and i = (1, 2, , n), where n is the total number of fuzzy rules.
The input quantity adopts the fuzzification method of a single-point fuzzy set. For a given e = [ e ( ω ) , e ( β ) ] T , the applicability of each rule can be obtained using
α i = u A ω i [ e ( ω ) ] u A β i [ e ( β ) ]
Through fuzzy reasoning, the membership function of the fuzzy set of the output of each rule can be obtained using
u B j ( y ) = α i u B j ( y )
Thus, the output total fuzzy set is
B = U i = 1 n B i
u B ( y ) = V i = 1 n u B j ( y )
Taking the weighted average method as the anti-fuzzification method, the output can be obtained using
y = i = 0 n y c i u B i ( y c i ) i = 0 n u B i ( y c i )
where y c i   is the maximum point taken by u B i ( y ) , which is generally the center point of the membership function. Obviously:
u B i ( y c i ) = max { u B i ( y ) } = α i
Therefore, the output expression is
y = i = 0 n y c i α i i = 0 n α i = i = 0 n y c i u A ω i [ k 1 · E ( ω ) ] u A β i [ k 2 · E ( β ) ] i = 0 n u A ω i [ k 1 · E ( ω ) ] u A β i [ k 2 · E ( β ) ]
It can be known from the control algorithm of fuzzy control that
M = y · K 3
y = f 1 ( e ( ω ) , e ( β ) ) = f 1 ( E ( ω ) · K 1 , E ( β ) · K 2 )
In the above Formula (23), f 1 ( · ) is the functional relationship between the input and output of the fuzzy control system, which is determined by the parameters of the fuzzy controller and the anti-fuzzification method. From Formulas (22) and (23), it can be found that ∆M depends not only on the input deviations E(ω) and E(β) but also on the size of the quantization factors K 1 and K 2 and the scale factor K 3 . Choosing different quantization factors and scale factors has a great influence on the control effect of the fuzzy control system.
At present, in engineering control, the quantization factors K 1 and K 2 and the scale factor K 3 in the fuzzy control of two-dimensional input and single output is mainly determined using Formulas (24)–(26) [15]:
K 1 = p | E 1 m a x |
K 2 = n | E 2 m a x |
K 3 = | ε m a x | l
In the above formulas, E 1 m a x and E 2 m a x are the maximum deviation of the input quantity, and ε m a x is the precise value of the output control quantity. p and n are the numbers of grades in the fuzzy set universe of the two inputs, and l is the number of grades in the fuzzy set universe of the output. In the formulation process of the additional yaw moment based on fuzzy control, the weighted average method was used as the anti-fuzzification as Formula (21); thus, the magnitude of the additional yaw moment ∆M is
M = K 3 · i = 0 n y c i u A ω i [ k 1 · E ( ω ) ] u A β i [ k 2 · E ( β ) ] i = 0 n u A ω i [ k 1 · E ( ω ) ] u A β i [ k 2 · E ( β ) ]
In the above fuzzy control, the values of the quantization factors   K 1 and K 2   and the scale factor K 3   will not be changed after being determined, and thus, the change range of the controller’s output ∆M is small. As a result, the adjustment range of the yaw moment of the bus becomes smaller; it cannot adapt to all the driving conditions of the bus.
From the above analysis, it can be learned that the size of the quantization factors and scale factors has a great influence on the control effect of fuzzy controllers. Theoretically, if the quantization factor is increased, it is equivalent to narrowing the basic field of deviation variables and increasing the control effect of the deviation. If the quantization factor is reduced, the control system will not detect the magnitude of the input change when the change in input deviation is not large, which will produce a dead zone of fuzzy control and reduce the control accuracy. When the scale factor increases, the magnification of the system increases and the system responds more quickly. When the scale factor is small, the transition time of the system is long and the steady-state precision becomes poor [16].

3.2. Additional Yaw Moment Calculation Based on an Adaptive Fuzzy Controller

Aimed at the problem of vehicle driving lateral stability control caused by the unadjustable quantization factor and scale factor, this study proposed an adaptive fuzzy controller, which dynamically adjusted the quantization factor and scale factor to calculate additional yaw moments according to different vehicle driving conditions.
By analyzing the lateral stability of the vehicle, it can be seen that the degree of control of the yaw rate and the sideslip angle of the center of mass will change with different driving conditions of the vehicle [17].
When an electric bus drives on a high-adhesion road, there is a small deviation between the actual values ω and β and the expected values ω d and β d of the yaw rate and sideslip angle, respectively. By increasing the quantization and scale factors, the actual values ω and β of the yaw rate and sideslip angle of the bus follow the expected values ω d and β d within a short time. When the electric bus drives on a low-adhesion road, there is a larger deviation between the actual values ω and β and the expected values ω d and β d of the yaw rate and sideslip angle. By increasing the quantization factor and reducing the scale factor, the torque difference between the left and right rear wheels is not large, which allows for easier driving on low-adhesion roads. The structure of the adaptive fuzzy controller is shown in Figure 7.
It can be known from the control algorithm of adaptive fuzzy control that
{ e ( ω ) = ( K 1 + K 1 ) · E ( ω ) e ( β ) = ( K 2 + K 2 ) · E ( β )
y = f 2 ( e ( ω ) , e ( β ) )
The f 2 ( · ) in the above Formula (29) is the functional relationship between the input and output of the adaptive fuzzy control system, which is determined by the controller parameters and anti-fuzzification. It can be seen from Formulas (28) and (29) that the output of the fuzzy controller not only depends on the input deviations E(ω) and E(β) and the quantization factors K 1 and K 2 but also depends on the outputs ∆ K 1 and ∆ K 2 of the adaptive module. Similarly, the magnitude of the additional yaw moment ∆M depends not only on the scale factor K 3 but also on the output ∆ K 3 of the adaptive module. The magnitude of the additional yaw moment is
M = ( K 3 + K 3 ) · y = ( K 3 + K 3 ) · f 2 ( e ( ω ) , e ( β ) )
During the driving process of the bus, the adaptive module can output the corresponding ∆ K 1 , ∆ K 2 , and ∆ K 3 values according to the actual driving conditions to adjust the additional yaw moment ∆M of the vehicle so that the bus can maintain the best driving status. Considering the calculation speed of the algorithm, the design of the adaptive module is as follows.
The adaptive module can output additional quantization factors ∆ K 1 and ∆ K 2 and scale factor ∆ K 3 according to the vehicle’s driving conditions and the actual yaw rate and sideslip angle of the vehicle to ensure the control effect and response speed. When the bus is turning at low speed, it is considered that the vehicle can be driven stably by controlling the yaw rate. The adaptive module will shield the deviation value of the sideslip angle. At the same time, to improve the response speed of the fuzzy control, it is necessary to increase the control effect of the yaw rate deviation and the total magnification of the system. Therefore, the outputs of the adaptive module are
K 1 > 1 ,   K 2 = 0 ,   K 3 > 1   {   turning   at   low   speed }
When the bus is turning at medium and high speeds, the sideslip angle and sideslip rate will be limited to the range of | C a β + C b β ˙ | 1 [18]. In this range, to ensure that the vehicle driving trajectory is the main control object, the response speed of the control system must be considered. The yaw rate control and sideslip angle control are equally important. At the same time, to ensure driving smoothness, the torque difference between the left and right rear wheels should be reduced. Therefore, the inputs of an adaptive module are
K 1 = K 2 > 1 ,   K 3 < 1   { | C a β + C b β ˙ | 1 ,   turning   at   medium   and   high   speed }
When this range is exceeded, namely, | C a β + C b β ˙ | > 1 , the only control object is to ensure the vehicle’s driving trajectory, and the adaptive module will shield the deviation value of the yaw rate. Therefore, only the sideslip angle control is used to maintain a stable drive, and the outputs of the adaptive module are
K 1 = 0 ,   K 2 > 1 ,   K 3 < 1   { | C a β + C b β ˙ | > 1 ,   turning   at   medium   and   high   speed }
According to the analysis of vehicle dynamics stability and reference [19], C a = 4.386 and C b = 2.562 .
In this study, the adaptive fuzzy controller fuzzified the precise values of the input deviations E(ω) and E(β) into seven fuzzy sets, which were negative big (NB), negative medium (NM), negative small (NS), zero (ZO), positive small (PS), positive medium (PM), and positive big (PB). The output variable ∆M was divided into nine fuzzy sets, which were negative very big (NVB), negative big (NB), negative medium (NM), negative small (NS), zero (ZO), positive small (PS), positive medium (PM), positive big (PB), and positive very big (PVB). The following Figure 8, Figure 9 and Figure 10 show the corresponding membership functions.
Fuzzy reasoning is the core link in fuzzy control, which is to form a one-to-one rule relationship between the input variable combination of the fuzzy controller and the output variable based on expert experience. The reasoning relationships used in this study are shown in Table 2, with a total of 49 fuzzy rules.
In order to obtain the precise value of the output, the output of the fuzzy controller must be anti-fuzzification. Common anti-fuzzification methods include the maximum membership degree method, the area center of gravity method, and the weighted average method. In this study, considering the real-time performance and operation speed of the control algorithm, the weighted average method was selected as the method of anti-fuzzification. The calculation formula of the final additional yaw moment ∆M is shown in Formula (34).
M = ( K 3 + K 3 ) · i = 0 n y c i u A ω i [ ( K 1 + K 1 ) · E ( ω ) ] u A β i [ ( K 2 + K 2 ) · E ( β ) ] i = 0 n u A ω i [ ( K 1 + K 1 ) · E ( ω ) ] u A β i [ ( K 2 + K 2 ) · E ( β ) ]

3.3. Driving Torque Distribution

After the total driving torque T d is determined by the accelerator pedal, the driving torque needs to be reasonably distributed to the left and right rear driving wheels. When the vehicle is driving straight, the total driving torque T d is equally distributed to the left and right driving wheels. When the vehicle turns, the torques of the left and right drive wheels are no longer equal and satisfy the constraint of additional yaw moment ∆M calculated by the adaptive fuzzy control.
By analyzing the driving state of the vehicle, it can be seen that when the vehicle is understeering on the left or oversteering on the right, the right wheel torque should be increased while the left wheel torque should be reduced to ensure the steering stability of the vehicle; when the vehicle is oversteering on the left or understeering on the right, the left wheel torque should be increased while the right wheel torque should be reduced to ensure the steering stability of the vehicle. Therefore, the torques of the left and right driving wheels should meet the constraints of the following Equation (35):
{ T R R + T R L = T d ( T R R T R L ) W 2 R = M  
In the above formula, W is the rear wheel thread and R is the rolling radius of the driving wheel.

4. Hardware-in-the-Loop Test

It is usually necessary to perform functional logic testing on the automotive electronic control unit after it has been developed. Hardware-in-the-loop testing is considered to be one of the most important testing methods before real vehicle testing. The hardware-in-the-loop test interacts with a virtual vehicle through real controller hardware and can receive and send the state parameter signals during the driving process of the vehicle in real time. By analyzing the test results, it can effectively monitor the designed control strategy, the operation of the controller, and the control effect of the control strategy. Because of this, hardware-in-the-loop testing has higher confidence than software offline simulation.
The hardware testbed developed by National Instruments (National Instruments company) is compatible with both TruckSim (TruckSim 2020) and Matlab (MATLAB R2020b v9.9.0), making it ideal for building the hardware-in-the-loop testing environment shown in Figure 11. Combined with the hardware foundation of the laboratory, the equipment used for the hardware-in-the-loop test in this study included an industrial control cabinet equipped with an NI PXIE-8880 real-time processor (NI PXIE-8880 real-time processor, National Instruments, Austin, Texas, USA), an NI PXIE-8512 CAN communication board card (NI PXIE-8880 real-time processor, National Instruments, Austin, Texas, USA), and a DSP28335 controller (DSP28335 controller, Texas Instruments, Dallas, Texas, USA). The upper computer control software includes Matlab/Simulink (MATLAB R2020b v9.9.0) and NI Veristand (NI VeriStand 2020 R4 V20.4.0.49152).

4.1. Large Turning in a Low-Speed Driving Condition

The driving conditions of a vehicle accelerating with a larger steering angle at a lower speed on a good road were simulated. Assuming that the vehicle was driving on a road with an adhesion coefficient of μ = 0.7, an initial speed of 30 km/h, and the steering wheel rotated 180° counterclockwise from 6 s, the resulting steering signal is shown in Figure 12. The accelerator pedal was depressed to accelerate at 10 s. The accelerator pedal signal is shown in Figure 13. In this study, the design of the adaptive fuzzy control did not consider the influence of sideslip angle on driving stability at low speed, and thus, there was no comparison curve of the sideslip angle at low speed. The curves of the vehicle’s speed, yaw rate, and lateral acceleration are shown in Figure 14, and the vehicle’s driving parameters under this driving condition are shown in Table 3.
As shown in Figure 12, the bus underwent a large steering wheel step test. The bus entered the steering process and the vehicle speed remained unchanged from 6 s to 9 s. After 9 s, the steering wheel angle reached 180 degrees and then it no longer changed. The accelerator pedal opening was increased from 0.25 to 0.7 to cause the vehicle speed to increase and the yaw rate also began to increase. When driving under no control and ordinary fuzzy control, the value of the vehicle yaw rate was significantly larger than that under adaptive fuzzy control and the vehicle had an obvious tendency to oversteer. Under this adaptive fuzzy control strategy, a smaller yaw rate could effectively restrain the vehicle from oversteering and the steering stability of the electric bus was improved. Since the low-speed driving condition was selected, the lateral acceleration of the vehicle did not change much under no control, fuzzy control, and adaptive fuzzy control, as shown in Figure 14d.
Through the analysis of the yaw rate curve, it was not difficult to conclude that compared with no control and fuzzy control, the adaptive fuzzy control could be used under the condition of low speed and large steering of the distributed rear-drive electric bus, where the maximum yaw rate of adaptive fuzzy control is 1.8% lower than that of fuzzy control and 6.3% lower than that of no control. This showed that the adaptive fuzzy control improved the stability of the body of the distributed rear-drive electric bus under the condition of low speed and large steering.
It can be seen that both adaptive fuzzy control and traditional fuzzy control could effectively reduce the maximum response amplitude of the yaw rate error curve. However, adaptive control could further optimize the control effect and better ensure the stability of the vehicle under the condition of low speed and large steering. As can be seen from Table 3, compared with the other two control methods, the vehicle yaw rate deviation under adaptive control was the smallest.

4.2. Small Turning in a High-Speed Driving Condition

The driving condition of a vehicle accelerating with a smaller steering angle at a higher speed on a good road was simulated. Assuming that the vehicle was driving on a road with an adhesion coefficient of μ = 0.85, an initial test speed of 80 km/h, and the steering wheel rotated 50° counterclockwise from 6 s, the resulting steering signal is shown in Figure 15. The accelerator pedal was depressed to accelerate at 10 s. The accelerator pedal signal is shown in Figure 16. The vehicle’s speed, torque, yaw rate, sideslip angle, and lateral acceleration are shown in Figure 17, and the vehicle’s driving parameters under this driving condition are shown in Table 4.
As shown in Figure 15 and Figure 16, the bus underwent a small steering wheel step test. The bus entered the steering process, and the vehicle’s speed remained unchanged from 6 s to 11 s. After 11 s, the steering wheel angle reached 50 degrees, and then it no longer changed. The accelerator pedal opening was increased from 0.4 to 0.85 to cause the vehicle speed to increase, and the deviation between the actual value of the yaw rate and the expected value began to increase. It can be seen from Figure 17 that when the bus was driving under no control, the actual values of the yaw rate and sideslip angle were much larger than when under control. If the lateral acceleration is too large, the tire lateral force margin is reduced, and the vehicle has a serious tendency to oversteer. Moreover, if the vehicle speed and sideslip angle are relatively large, the vehicle tends to sideslip and drift, and the vehicle is in a very dangerous driving state. Under the fuzzy control strategy, the vehicle’s actual yaw rate, sideslip angle, and lateral acceleration all become smaller, but between 12 s and 30 s, the vehicle’s sideslip angle changed greatly, resulting in large body attitude changes and violent lateral movement, worsening the vehicle ride comfort. Under the adaptive fuzzy control strategy, the actual values of the yaw rate and sideslip angle were at a minimum, respectively, and the fluctuations were small. It was found that the tendency of the vehicle to oversteer was suppressed and the body attitude remained stable.
Based on the analysis of the yaw rate curve, it was not difficult to conclude that compared with no control and fuzzy control, the adaptive fuzzy control could be used under the condition of high speed and small steering of the distributed rear-drive electric bus, the maximum yaw rate of adaptive fuzzy control was 8.8% lower than that of fuzzy control and 19.5% lower than that of no control. Compared with the traditional fuzzy control, the maximum sideslip angle of the adaptive fuzzy control was reduced by 7.4% and 26%, respectively. This shows that the adaptive fuzzy control improved the stability of the body of the distributed rear-drive electric bus under the condition of high speed and small steering.
It can be seen that both adaptive fuzzy control and traditional fuzzy control could effectively reduce the maximum response amplitude of the yaw rate error curve. However, adaptive control could further optimize the control effect and better ensure the stability of the vehicle under high-speed small steering conditions. As can be seen from Table 4, compared with the other two control methods, the deviation rate between the yaw rate and sideslip angle under adaptive control was the smallest.

4.3. Slalom Test in a Medium-Speed Driving Condition

The driving condition of a vehicle with a slalom test at medium speed on a low-adhesion-coefficient road was simulated. Assuming that the vehicle was driving on a road with an adhesion coefficient of μ = 0.7, an initial speed of 60 km/h, and the steering wheel performed a 120° reciprocating steering operation after 6 s, the resulting steering signal is shown in Figure 18. The accelerator pedal opening remained unchanged. The accelerator pedal signal is shown in Figure 19. The curves of the vehicle’s speed, torque, yaw rate, and sideslip angle are shown in Figure 20, and the vehicle’s driving parameters under these driving conditions are shown in Table 5.
As shown in Figure 18 and Figure 19, the bus underwent a slalom test from 6 s to 26 s. The steering wheel signal was a sine wave with a 120° amplitude. The accelerator pedal opening was increased from 0.3 to 0.8 after 10 s to cause an increase in the vehicular speed. As shown in Figure 20, the yaw rate and sideslip angle of the bus sharply increased at 8 s without control, indicating that the bus had become unstable and rolled over. With fuzzy control and adaptive fuzzy control, the actual values of the yaw rate and sideslip angle were reduced, but the tracking effect of the adaptive fuzzy control was more ideal. The yaw rate was larger at the peak of the steering wheel angle, and the sideslip angle fluctuated sharply at 21 s with fuzzy control. With adaptive fuzzy control, deviations of the yaw rate and sideslip angle were only 23% and 16%, respectively, and the driving state of the vehicle was also the most stable.
The simulation results showed that the designed distributed drive control strategy could effectively reduce the sideslip angle and lateral acceleration of the vehicle under three typical driving conditions, quickly stabilize the yaw rate, and improve the steering stability of the vehicle.
Through the analysis of the yaw rate curve, it was not difficult to conclude that compared with no control and fuzzy control in the distributed rear-drive electric bus under the condition of medium speed, the maximum yaw rate of adaptive fuzzy control was 14.8% lower than that of fuzzy control and 42.7% lower than that of no control. The results showed that the adaptive fuzzy control improved the stability of the body of the distributed rear-drive electric bus under the condition of moderate speed.
It can be seen that both adaptive fuzzy control and traditional fuzzy control could effectively reduce the maximum response amplitude of the yaw rate error curve. However, adaptive control could further optimize the control effect and better ensure the stability of the vehicle at medium speed. As can be seen from Table 5, compared with the other two control methods, the deviation rate of the vehicle sideslip angle under adaptive control was the smallest.

5. Conclusions

In this study, an adaptive distributed drive control strategy was proposed. Based on the direct yaw moment control principle and the advantages of independent controllable driving torque of the distributed rear-drive electric bus, the adaptive fuzzy controller was designed to calculate the additional yaw moment, and the optimal driving torques of the left and right rear wheels were obtained through the driving torque distribution rules. Three typical driving conditions of large turning at low speed, small turning at high speed, and slalom testing at medium speed were carried out and analyzed using an HIL test. The simulation results showed that the adaptive distributed drive control reduced the yaw rate deviations in low- and high-speed conditions from 18% and 42% without control to 10% and 23% with control, respectively. Under slalom testing in medium speed conditions, deviations of the yaw rate and sideslip angle with adaptive drive control were reduced from 83% and 852% without control to 12% and 15%, respectively.
Compared with ordinary fuzzy control, the adaptive drive control effectively reduced the lateral acceleration of the vehicle and significantly improved the ability to follow the expected values of the yaw rate and sideslip angle. The lateral stability and ride comfort of the electric bus were greatly enhanced. In the future, real vehicle road tests will be performed to further verify the designed control strategy.

Author Contributions

Conceptualization and methodology, H.C.; investigation and formal analysis, J.G.; validation and writing—original draft preparation, S.C. and W.W. (Weiyang Wang); supervision and writing—review and editing, W.W. (Wei Wei); funding acquisition, S.Z. and R.Z. All authors have read and agreed to the published version of the manuscript.

Funding

We gratefully acknowledge the financial support of this research by the following projects: Research on the theory and method of the autonomous cooperative operation control of high-speed trains (Grant No. U1934221) and Research and manufacture of a high-precision grinding process of wear-resistant seals of construction machinery (Grant No. ZDLQ2021005).

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Koibuchi, K.; Yamamoto, M.; Fukada, Y.; Inagaki, S. Vehicle stability control in limit cornering by active brake. JSAE Review 1996, 16, 323. [Google Scholar]
  2. Fujimoto, H.; Takahashi, N.; Tsumasaka, A.; Noguchi, T. Motion control of electric vehicle based on cornering stiffness estimation with yaw-moment observer. In Proceedings of the 9th IEEE International Workshop on Advanced Motion Control, Istanbul, Turkey, 27–29 March 2006. [Google Scholar]
  3. Li, Y.; Zhang, J.; Guo, K.; Wu, D. A Study on Force Distribution Control for the Electric Vehicle with Four in-Wheel Motors; SAE Technical Paper. Available online: https://www.sae.org/publications/technical-papers/content/2014-01-2379/ (accessed on 20 October 2022).
  4. Mokhiamar, O.; Abe, M. How the four wheels should share forces in an optimum cooperative chassis control. Control. Eng. Pract. 2006, 14, 295–304. [Google Scholar] [CrossRef]
  5. Yu, Z.P.; Feng, Y.; Xiong, L. Review on vehicle dynamics control of distributed drive Electric vehicle. Jixie Gongcheng Xuebao (Chin. J. Mech.Eng.) 2013, 49, 105–114. [Google Scholar] [CrossRef]
  6. Xia, C.L. Research on Control Method of Chassis Dynamics Based on the Longitudinal Forces Distribution and Active Steering; Tongji University: Shanghai, China, 2007. [Google Scholar]
  7. Jonasson, M.; Andreasson, J.; Solyom, S.; Jacobson, B. Utilization of actuators to improve vehicle stability at the limit: From hydraulic brakes towards electric propulsion. J. Dyn. Syst. Meas. Control. Trans. ASME 2011, 133, 51003.1–51003.10. [Google Scholar] [CrossRef]
  8. Fujimoto, H.; Saito, T.; Noguchi, T. Motion stabilization control of electric vehicle under snowy conditions based on yaw-moment observer. In Proceedings of the 8th IEEE International Workshop on Advanced Motion Control, Kawasaki, Japan, 28 March 2004; pp. 35–40. [Google Scholar]
  9. Qiu, H.; Zhang, H.; Min, L.; Ma, T.; Zhang, Z. Adaptive Control Method of Sensorless Permanent Magnet Synchronous Motor Based on Super-Twisting Sliding Mode Algorithm. Electronics 2022, 11, 3046. [Google Scholar] [CrossRef]
  10. Grabski, P.; Jaśkiewicz, M.; Jurecki, R.; Kurczyński, D.; Łagowski, P.; Stańczyk, T.L.; Szumska, E.; Zuska, A. Lateral acceleration tests during circular driving maneuvers and double lane change. IOP Conf. Ser. Mater. Sci. Eng. 2022, 1247, 012009. [Google Scholar] [CrossRef]
  11. Chang, H.; Cheng, L. Simulation Calculation of Air Conditioning System Under Complex Vehicle Conditions. E3S Web Conf. 2021, 233, 04024. [Google Scholar] [CrossRef]
  12. Shao, K.; Zheng, J.; Yang, C.; Xu, F.; Wang, X.; Li, X. Chattering-free adaptive sliding-mode control of nonlinear systems with unknown disturbances. Comput. Electr. Eng. 2021, 96, 107538. [Google Scholar] [CrossRef]
  13. Giap, N.D.; Thien, T.D.; Kwan, A.K. Disturbance Observer-Based Chattering-Attenuated Terminal Sliding Mode Control for Nonlinear Systems Subject to Matched and Mismatched Disturbances. Appl. Sci. 2021, 11, 8158. [Google Scholar] [CrossRef]
  14. Rajamani, R. Vehcle Dynamics and Control; Spring: New York, NY, USA, 2016; pp. 61–69. [Google Scholar]
  15. King, P.J.; Mamdani, E.H. The application of fuzzy control systems to industrial processes. Automatica 1977, 13, 235–242. [Google Scholar] [CrossRef]
  16. Yun, J.; Sun, Y.; Li, C.; Jiang, D.; Tao, B.; Li, G.; Liu, Y.; Chen, B.; Tong, X.; Xu, M. Self-adjusting force/bit blending control based on quantitative factor-scale factor fuzzy-PID bit control. Alex. Eng. J. 2022, 61, 4389–4397. [Google Scholar] [CrossRef]
  17. Kati, M.S.; Fredriksson, J.; Jacobson, B.; Laine, L. A feedback-feed-forward steering control strategy for improving lateral dynamics stability of an A double vehicle at high speeds. Veh. Syst. Dyn. 2022, 60, 3955–3976. [Google Scholar] [CrossRef]
  18. Elvis, V.; Basilio, L.; Aleksandr, S. Cross-combined UKF for vehicle sideslip angle estimation with a modified Dugoff tire model: Design and experimental results. Meccanica 2021, 56, 2653–2668. [Google Scholar]
  19. Ryu, J.; Lee, J.-S.; Kim, H. Evaluation of A Direct Yaw Moment Control Algorithm by Brake Hardware-in-the-Loop Simulation. Korean Soc. Automot. Eng. 1999, 7, 172–179. [Google Scholar]
Figure 1. Linear two-degrees-of-freedom vehicle model.
Figure 1. Linear two-degrees-of-freedom vehicle model.
Electronics 11 04223 g001
Figure 2. Five-degrees-of-freedom kinematics scheme.
Figure 2. Five-degrees-of-freedom kinematics scheme.
Electronics 11 04223 g002
Figure 3. Principle diagram of wheel rotation dynamics.
Figure 3. Principle diagram of wheel rotation dynamics.
Electronics 11 04223 g003
Figure 4. Additional yaw moment setting layer and driving torque distribution layer.
Figure 4. Additional yaw moment setting layer and driving torque distribution layer.
Electronics 11 04223 g004
Figure 5. Fuzzy control architecture.
Figure 5. Fuzzy control architecture.
Electronics 11 04223 g005
Figure 6. Additional yaw moment calculation based on a fuzzy controller.
Figure 6. Additional yaw moment calculation based on a fuzzy controller.
Electronics 11 04223 g006
Figure 7. Additional yaw moment calculation based on an adaptive fuzzy controller.
Figure 7. Additional yaw moment calculation based on an adaptive fuzzy controller.
Electronics 11 04223 g007
Figure 8. Membership function of the yaw rate deviation.
Figure 8. Membership function of the yaw rate deviation.
Electronics 11 04223 g008
Figure 9. Membership function of the sideslip angle deviation.
Figure 9. Membership function of the sideslip angle deviation.
Electronics 11 04223 g009
Figure 10. Membership function of the additional yaw moment.
Figure 10. Membership function of the additional yaw moment.
Electronics 11 04223 g010
Figure 11. Hardware-in-the-loop test platform.
Figure 11. Hardware-in-the-loop test platform.
Electronics 11 04223 g011
Figure 12. Large steering wheel angle.
Figure 12. Large steering wheel angle.
Electronics 11 04223 g012
Figure 13. Acceleration pedal.
Figure 13. Acceleration pedal.
Electronics 11 04223 g013
Figure 14. (a) Speed, (b) torque; (c) yaw rate, and (d) lateral acceleration.
Figure 14. (a) Speed, (b) torque; (c) yaw rate, and (d) lateral acceleration.
Electronics 11 04223 g014
Figure 15. Small steering wheel angle.
Figure 15. Small steering wheel angle.
Electronics 11 04223 g015
Figure 16. Acceleration pedal.
Figure 16. Acceleration pedal.
Electronics 11 04223 g016
Figure 17. (a) Speed, (b) torque, (c) yaw rate, (d) sideslip angle, and (e) lateral acceleration.
Figure 17. (a) Speed, (b) torque, (c) yaw rate, (d) sideslip angle, and (e) lateral acceleration.
Electronics 11 04223 g017aElectronics 11 04223 g017b
Figure 18. Steering wheel angle during the slalom test.
Figure 18. Steering wheel angle during the slalom test.
Electronics 11 04223 g018
Figure 19. Acceleration pedal.
Figure 19. Acceleration pedal.
Electronics 11 04223 g019
Figure 20. (a) Speed, (b) torque, (c) yaw rate, (d) sideslip angle, and (e) lateral acceleration.
Figure 20. (a) Speed, (b) torque, (c) yaw rate, (d) sideslip angle, and (e) lateral acceleration.
Electronics 11 04223 g020aElectronics 11 04223 g020b
Table 1. Reference values for some parameters of an electric bus.
Table 1. Reference values for some parameters of an electric bus.
Name of the ParameterReference Value UnitPurpose
Vehicle mass (m)12,800kgDetermine the mass of the vehicle
Length × width × height12,000 × 2500 × 3150mmDetermine the length, width, and height of the vehicle
Height of the center of mass (h)1200mm Determine the center of mass of the vehicle
Distance from the center of mass to the front axle (a)3240mm
Distance from the center of mass to the rear axle (b)1260mm
Wheelbase (L)4500mmDetermine wheelbase
The front tire cornering stiffness C f 119,283.4N/radDetermine the vehicle front and rear wheel sideslip stiffness for the calculation of the sideslip force to pave the way
The rear tire cornering stiffness C r 225,781.4N/rad
Rear wheel pitch (W)1863mmTo calculate the yaw torque
Table 2. Fuzzy control fuzzy rule table.
Table 2. Fuzzy control fuzzy rule table.
e ω \ e β NBNMNSZOPSPMPB
NBNVBNVBNVBNBNBNMNB
NMNBNBNBNMNMNSNS
NSNBNMNMNMNSZOZO
ZONMNMNSZOZOPSPS
PSNMNSZOPSPSPMPM
PMNSZOPSPMPMPBPB
PBZOPSPMPBPBPVBPVB
Table 3. Comparison of the simulation results with a large steering angle at low speed.
Table 3. Comparison of the simulation results with a large steering angle at low speed.
Simulation ConditionsWithout ControlFuzzy ControlAdaptive Fuzzy Control
Maximum
yaw rate (deg/s)
15.2114.5114.25
Yaw rate
deviation rate
18%12%10%
Table 4. Comparison of the simulation results with a small steering angle at high speed.
Table 4. Comparison of the simulation results with a small steering angle at high speed.
Simulation ConditionsWithout ControlFuzzy ControlAdaptive Fuzzy Control
Maximum
yaw rate (deg/s)
5.534.884.45
Maximum sideslip angle (deg)2.82.232.07
Yaw rate
deviation rate
42%35%23%
Sideslip angle deviation rate58%25%16%
Table 5. Comparison of simulation results from the slalom test at medium speed.
Table 5. Comparison of simulation results from the slalom test at medium speed.
Simulation ConditionsWithout ControlFuzzy ControlAdaptive Fuzzy Control
Maximum yaw rate (deg/s)−20.113.5111.51
Maximum sideslip angle (deg)104.12.6
Yaw rate
deviation rate
83%31%12%
Sideslip angle deviation rate852%38%15%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chen, H.; Wang, W.; Zhu, S.; Chen, S.; Gao, J.; Zhou, R.; Wei, W. Design of an Adaptive Distributed Drive Control Strategy for a Wheel-Side Rear-Drive Electric Bus. Electronics 2022, 11, 4223. https://doi.org/10.3390/electronics11244223

AMA Style

Chen H, Wang W, Zhu S, Chen S, Gao J, Zhou R, Wei W. Design of an Adaptive Distributed Drive Control Strategy for a Wheel-Side Rear-Drive Electric Bus. Electronics. 2022; 11(24):4223. https://doi.org/10.3390/electronics11244223

Chicago/Turabian Style

Chen, Huipeng, Weiyang Wang, Shaopeng Zhu, Sen Chen, Jian Gao, Rougang Zhou, and Wei Wei. 2022. "Design of an Adaptive Distributed Drive Control Strategy for a Wheel-Side Rear-Drive Electric Bus" Electronics 11, no. 24: 4223. https://doi.org/10.3390/electronics11244223

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop