Abstract
Keywords
Introduction
Motivation and technical challenge
With the continuous advancement of the automotive industry, substantial improvements have been achieved in vehicle speed and dynamic performance. Under high-speed driving and complex operating conditions, enhancing vehicle lateral stability and ensuring driving safety have become critical challenges that intelligent driving systems must urgently address. Meanwhile, driven by the global energy crisis and increasingly stringent environmental regulations, new energy vehicles—particularly electric vehicles—have garnered widespread attention and undergone rapid development. Among them, Distributed Drive Electric Vehicles (DDEVs) have emerged as a preferred platform for high-performance electric vehicles, owing to their inherent advantages in torque distribution and vehicle dynamic control.1,2
Literature review
DDEVs are capable of independently controlling the driving force of each wheel, enabling vehicle motion regulation through the generation of additional yaw moments—commonly referred to as Direct Yaw Moment Control (DYC). This flexible drive architecture significantly enhances maneuverability and stability under complex operating scenarios.3–6 To further improve vehicle controllability under extreme conditions, researchers have proposed various DYC strategies. These approaches aim to actively adjust the driving torques of individual wheels to produce the required additional yaw moment, thereby maintaining the vehicle’s stability. Compared to conventional Electronic Stability Control (ESC) systems, DYC leverages the rapid response characteristics of electric drive motors, in addition to braking systems, to achieve faster and more precise lateral control performance.7–9
In the upper control design of DYC systems, prevailing approaches primarily target the regulation of either the yaw rate, the sideslip angle, or a coordinated combination of both.10–12 The yaw rate characterizes the vehicle’s behavior around its center of mass, while the sideslip angle reflects the deviation between the vehicle’s heading and velocity directions. These two variables are dynamically coupled: changes in yaw rate affect vehicle orientation, thereby altering the sideslip angle; conversely, excessive sideslip angles can induce nonlinear changes in yaw rate, leading to potential instability. Therefore, incorporating both parameters simultaneously in the upper DYC controller is essential to achieve coordinated control and improve overall lateral performance.13–16
To this end, several control strategies have been proposed. Wang et al. 17 proposed a control method for identifying vehicle lateral stability categories based on an improved brain emotional learning network (GA-BEL). This approach classifies vehicle states into three categories—stable, approaching stability, and difficult to stabilize—using a clustering algorithm. Zanten 18 proposed a Proportional-Integral-Derivative (PID)-based DYC method for regulating both yaw rate and sideslip angle. Although this approach is relatively simple and provides basic improvements in stability, its effectiveness diminishes under nonlinear and complex conditions. To overcome this limitation, Sliding Mode Control (SMC) techniques have been introduced. Subroto et al. 19 proposed a novel sliding mode controller to address stability issues caused by actuator failures and road friction uncertainties. Zhou et al. 20 proposed a direct yaw moment control strategy based on the super-twisting sliding mode control theory to address the system chattering issue. However, this approach only considers the yaw rate as the control variable. Ma et al. 21 combined SMC with adaptive control theory, introducing a hierarchical DYC framework based on Adaptive Super-Twisting Sliding Mode Control (ASTSMC). Meanwhile, Liang et al. 22 adopted a robust H∞ control method based on Takagi-Sugeno (T-S) fuzzy modeling to address control failure issues caused by vehicle nonlinear characteristics. Jin et al. 23 established a hierarchical control structure for multi-mode chassis coordination, utilizing Model Predictive Control (MPC) to simultaneously compute the front-wheel steering angle and additional yaw moment. In contrast, Wei et al. 24 proposed a Deep Reinforcement Learning (DRL)-based DYC approach, which leverages DRL algorithms to approximate complex vehicle dynamics and bypass the intensive computation required by traditional nonlinear control. However, DRL-based methods demand extensive training, high-quality data, and substantial computational resources.
At the lower control level, effective and efficient allocation of the additional yaw moment to each independently driven wheel remains a key research focus. Hu et al. 25 proposed an optimal torque vectoring control strategy based on a two-layer allocation formulation, which can resolve the conflict between stability and energy efficiency. Liu et al. 26 proposed an MPC-based method to predict vehicle states in real-time and optimize wheel torques accordingly. Although this approach offers high accuracy, it suffers from high computational complexity. To improve allocation efficiency, Hu et al. 27 applied a Quadratic Programming (QP)-based optimization algorithm, which reduces computation time but exhibits limited robustness under extreme conditions. Li et al. 28 proposed a multi-objective torque distribution strategy based on the dung beetle optimizer (DBO) algorithm to address the energy consumption limitations of traditional average and load-based distribution methods, aiming to determine the optimal torque distribution scheme. However, the algorithm’s structure is relatively complex, and its real-time performance requires further testing.
Although the above methods have improved lateral control to a certain extent, challenges remain-particularly in terms of control accuracy and adaptability to varying conditions. To address these limitations, this paper proposes a novel DYC strategy based on a hierarchical control architecture. In the upper controller, a Fast Adaptive Super-Twisting Sliding Mode Control (FASTSMC) algorithm is developed. Separate control laws are constructed based on yaw rate and sideslip angle errors, and the additional yaw moment is computed using a vehicle dynamics model. To further enhance system adaptability, a data-driven neural network is integrated to update weighting coefficients online. This mechanism dynamically adjusts the contributions of the two control objectives based on the current vehicle stability state, thereby achieving more reasonable yaw moment allocation under diverse driving conditions. In the lower controller, a QP-based torque allocation strategy is designed to ensure both real-time responsiveness and optimal distribution of the total yaw moment among the four in-wheel motors.
Main contributions
In summary, this study proposes a hierarchical control strategy that improves the lateral stability of DDEVs by considering additional yaw moments derived from both yaw rate and sideslip angle errors. By dynamically adjusting the control weightings in response to real-time vehicle states, the proposed method ensures optimal handling performance across a range of operating scenarios. The main contributions of this paper are as follows:
(1) A FASTSMC strategy is introduced to address the dynamic coupling between yaw rate and sideslip angle in DYC systems. Coupling mechanisms during vehicle motion are analyzed, and error models for both yaw rate and sideslip angle are established. The proposed controller computes the additional yaw moment based on these errors, enabling coordinated control of the two variables.
(2) A data-driven online adaptation mechanism is developed using a backpropagation (BP) neural network informed by phase-plane stability indicators. This approach enables dynamic adjustment of the weighting coefficients between yaw rate and sideslip angle control, improving robustness and adaptability under varying operating conditions.
(3) A QP-based torque allocation strategy is implemented to ensure the real-time performance. By embedding equality constraints into the objective function, the proposed method eliminates the need for complex iterations, enabling efficient and real-time torque distribution among the four in-wheel motors.
Paper organization
The remainder of this paper is organized as follows. Section “Dynamical model” introduces the vehicle dynamics modeling. Section “Direct yaw moment control design” details the proposed hierarchical control strategy. Section “Simulation results and analyses” presents validation results from CarSim/Simulink co-simulations. Finally, Section “Conclusions” summarizes the conclusions of this work.
Dynamical model
Vehicle 7-dof dynamics model
In order to comprehensively consider various factors and simplify the influence of unnecessary factors, this paper establishes a seven degree of freedom vehicle dynamics model as shown in Figure 1, which can well reflect the longitudinal, lateral, and yaw motion of the vehicle. 29
where,

Vehicle dynamics model.
The dynamic equation for the rotation of four wheels is expressed as:
where,
Reference model
In order to achieve the ideal control objective, as shown in Figure 2, this paper designs a two degree of freedom model that can well reflect the lateral motion and yaw motion of the vehicle.
30
The relevant dynamic equations are represented as (3), where

Vehicle 2-dof dynamics model.
By setting
The ideal sideslip angle is:
where,
where, when
Tire model
During the operation of the DYC system, the mechanical response of tires exhibits significant nonlinear characteristics. Additionally, vehicle motion is highly dependent on the forces exerted on the tires. To realistically simulate the interaction between longitudinal and lateral forces, this paper places special emphasis on the effect of tire slip ratio on lateral forces and the influence of tire sideslip angle on longitudinal forces. In this work, a magic formula is employed to model the nonlinear characteristics of the tires 31 :
where,
Driving system model
This paper adopts a permanent magnet synchronous wheel hub motor, which has a simple structure, high transmission efficiency, and good controllability. The torque of each motor can be independently controlled. The external characteristic curve of the wheel hub motor is shown in Figure 3.

External characteristic curve of wheel hub motor.
Formula for motor external characteristic curve:
where,
When simplifying the wheel hub motor, considering that the dynamic response speed of the motor is much faster than that of the wheel, the actual output torque of the motor can be obtained by transmitting the torque command to the motor controller. Meanwhile, considering the possibility of communication delay during transmission, a delay element was introduced on this basis. 32 The transfer function between the two is:
where,
Direct yaw moment control design
DYC is commonly employed for vehicle stability control, with the real-time calculation of optimal additional yaw moment under complex road conditions being crucial for controller design. To obtain the optimal additional yaw moment across various operating conditions, this paper adopts a hierarchical control architecture. In the upper controller, an error model based on yaw rate and sideslip angle is established, utilizing a FASTSMC algorithm to compute the additional yaw moments for yaw rate and sideslip angle respectively. For the lower controller, a torque distribution controller is developed using tire load rate as the optimization objective, ensuring the system maintains excellent real-time control performance. The overall structure of the DYC system is illustrated in Figure 4.

Overall structure of DYC system.
In vehicle lateral dynamics, the yaw rate and sideslip angle serve as critical state variables characterizing vehicle stability, exhibiting significant dynamic coupling. In DYC, the controller directly adjusts the vehicle’s yaw acceleration by applying an additional yaw moment, thereby influencing the yaw rate. However, since changes in the yaw rate further affect the evolution of the sideslip angle—which in turn alters tire slip angles and lateral force distribution—the resulting feedback ultimately impacts yaw motion. Therefore, DYC must comprehensively account for the coupling characteristics of these two variables to achieve effective vehicle stability control.
Upper controller design
Considering the influence of additional yaw moment, further express equation (3) as:
where,
Calculation of additional yaw moment based on yaw rate error
The tracking error and sliding surface of vehicle yaw rate are defined as:
where,
Based on the FAST algorithm theory, the control law is designed as follows 33 :
where,
According to (15), the equivalent sliding mode control input
Due to the fact that the sliding surface fluctuates within the domain around 0, resulting in large parameter variations
where,
According to (18) and (19), the external yaw moment calculated based on yaw rate error can be obtained as:
Calculation of additional yaw moment based on sideslip angle error
where,
Based on (1), the yaw motion of the vehicle can be further expressed as:
where,
The sliding surface expression can be further expressed as:
According to (24), (25), and (26), the external yaw moment calculated based on the sideslip angle error can be ultimately expressed as:
The stability of the FASTSMC control system will be proved next, and the following necessary theorems are first given to aid in the derivation of stability.
Theorem: If the Lyapunov function of the system satisfies
The Lyapunov function is defined as follows:
where,
According to the theorem, the system has stability.
From the above stability theory analysis and proof process, it can be seen that the FASTSMC algorithm designed in this paper has theoretical feasibility.
Data-driven neural network online updating methodology
Phase plane-based vehicle stability analysis
The primary objective of vehicle stability control systems is to maintain the lateral dynamics within stable operational boundaries. Consequently, establishing appropriate stability criteria becomes particularly crucial for both system design and performance evaluation. Currently, there are two main phase planes used for analyzing vehicle lateral stability:
From Figure 5 it can be seen that many phase trajectories converge to the phase point and two black lines are drawn to include the main phase trajectories returned to the phase point. Therefore, the stable region surrounded by two parallel black lines can be expressed as:
where
The first performance criterion for determining the lateral stability of the vehicle involves the ratio of the yaw rate tracking error to the yaw rate deviation thresholds, as shown in Table 1. The performance indicator

Division of phase plane region.
Threshold value of yaw rate deviation the stability region.
Secondly, this paper selects the
Online parameter updating based on BP neural network
Since the two optimal external yaw moments based on the yaw rate and sideslip angle tracking errors have been calculated, the research work of this section will focus on how to determine the weight coefficient of the two calculated values. The final external yaw moment based on the optimal weight coefficient is expressed as:
where,
Therefore, to obtain additional yaw moment, the determination of
The BP neural network is a multi-layer feedforward neural network trained using the error backpropagation algorithm. Its architecture typically consists of an input layer, hidden layer, and an output layer. The learning process involves two phases: forward propagation of signals and backward propagation of errors.
35
The BP neural network employed in this study underwent offline training for the weight model using MATLAB. During the training process, scripts were first developed based on MATLAB’s Neural Network Fitting Toolbox to generate a comprehensive dataset through extensive simulations under various operating conditions, capturing performance metrics

BP neural network model.
According to the BP neural network model shown in Figure 6, the input
The forward propagation process, in which
where,
The Levenberg-Marquardt algorithm is selected for neural network backpropagation. 36
Where,
Neural network data training
Table 2 lists the size and weight coefficient range of the training data, with a total of 154 training samples. Figure 7 illustrates the training performance of the BP neural network model, showing that the optimal validation performance of 0.0000151 is reached at epoch 4. The mean square error (MSE) stabilizes toward the end, indicating that the model has been effectively trained and that the training data is reliable.
Introduction to the training date.

Training performance of BP model MSE value.
The training data were divided into training set, validation set, and test set according to the proportion, and the data fitting effect graph of BP neural network model was obtained as shown in Figure 8, in which the correlation coefficient

The fitting effect of the BP model.
Lower controller design
To ensure four-wheel actuators jointly produce the external yaw moment calculated by the above two FASTSMC controllers, taking the tire load rate as the optimization target, the torque distribution controller for the lower layer is designed in this paper. The controller not only ensures high-precision torque distribution but also meets real-time requirements. Since the yaw moment can be directly adjusted by controlling the motor to modify the tire’s longitudinal force, this paper does not consider the influence of lateral force. Thus, the optimal objective function expression is as follows:
Restrictive condition
(1) The four-wheel torque should meet the longitudinal force requirements and additional lateral torque requirements of the driver during normal driving:
(2) The tire force must satisfy the constraint condition of the attached ellipse, and the expression after ignoring the influence of lateral force is:
(3) The longitudinal force assigned to the four wheels should also consider the limitation of the maximum output torque of the wheel hub motor, including:
From the above analysis, it can be seen that the objective function is a quadratic function and the constraint function is a linear function, which is a typical quadratic programming problem. Its general form is as follows:
where,
Simulation results and analyses
The effectiveness of the proposed control strategy was evaluated through co-simulation analysis using the CarSim/Simulink platform. To comprehensively examine the strategy’s performance under realistic operating conditions, four distinct driving conditions are designed based on typical activation conditions of the DYC system, with comparative evaluations performed against uncoordinated FASTSMC control, fixed-weight SMC, and the No Control (NC). The parameters of the DDEVs used in the simulation experiments are listed in Table 3.
Vehicle simulation parameters.
Step steering angle input conditions
Considering real-world driving conditions, this section employs a step steering input to validate the effectiveness of the proposed control strategy. To comprehensively assess its performance, the step input test is conducted under three representative scenarios: (1) extreme low adhesion, (2) medium-speed low adhesion, and (3) high-speed high adhesion. Specifically, the extreme low adhesion scenario is tested at a vehicle speed of 45 km/h with a road friction coefficient of 0.1; the medium-speed low adhesion scenario is tested at 60 km/h with a coefficient of 0.25; and the high-speed high adhesion scenario is tested at 120 km/h with a coefficient of 0.85.
Extreme low adhesion condition
Figure 9 presents the simulation results under extremely low-adhesion conditions. As shown in Figure 9(a), without control, the vehicle fails to maintain stability under extremely low-adhesion conditions, exhibiting severe chattering. With control enabled, the proposed strategy demonstrates superior tracking performance for the sideslip angle reference compared to other control methods, achieving 47.2% higher accuracy than the FASTSMC strategy. Figure 9(b) compares the yaw rate responses, where the uncontrolled case still shows significant chattering. At 1 s, the proposed control strategy exhibits minimal overshoot and maintains the highest tracking accuracy after vehicle stabilization, confirming its effectiveness. Figure 9(c) displays the vehicle speed variation during the maneuver, where sudden steering causes deceleration while the speed remains near the target value of 45 km/h. The dynamic adjustment of the weighting coefficient

Comparative simulation results under step-steer condition at extreme low adhesion condition: (a) sideslip angle, (b) yaw rate, (c) vehicle speed, and (d) weight coefficient
Medium-speed low-adhesion condition
Figure 10 presents the simulation results under medium-speed low-adhesion conditions. As shown in Figure 10(a) and (b), compared with other control strategies, the proposed approach enables faster convergence and stabilization of both yaw rate and sideslip angle with smaller overshoot. Specifically, it reduces the peak value of the sideslip angle by 54.7% and improves yaw rate performance by 19.1% compared to the SMC algorithm. Figure 10(c) demonstrates the vehicle speed tracking performance of the proposed control strategy, showing that the speed remains consistently close to the target value, indicating that the control strategy maintains stability without significant speed loss. Figure 10(d) illustrates the real-time adjustment of parameter

Comparative simulation results under step-steer condition at medium-speed low-adhesion condition: (a) sideslip angle, (b) yaw rate, (c) vehicle speed, and (d) weight coefficient
High-speed high-adhesion condition
The simulation results of different control strategies under the high-speed, high-adhesion condition are presented in Figure 11. Figure 11(a) and (b) illustrate the tracking performance of the vehicle sideslip angle and yaw rate for the four control strategies. The results indicate that all three strategies achieve better reference tracking performance compared to the uncontrolled case. However, the proposed control strategy exhibits superior stability enhancement by accounting for the coupling between yaw rate and sideslip angle through an online-updated, data-driven neural network. Notably, around the 2-s mark, although the yaw rate successfully tracks the reference value, the sideslip angle still shows noticeable oscillations. At this moment, the weight coefficient

Comparative simulation results under step-steer condition at high-speed high-adhesion condition: (a) sideslip angle, (b) yaw rate, (c) vehicle speed, and (d) weight coefficient
Double lane change condition
To further analyze the performance of the control strategy under different driving conditions, this section conducts experiments under a typical DLC condition with a vehicle speed of 90 km/h and a road adhesion coefficient of 0.85. Figure 12 presents the experimental results of different control strategies in the DLC condition. As shown in Figure 12(a) and (b), the uncontrolled vehicle exhibits significant oscillations in both sideslip angle and yaw rate, particularly with the sideslip angle reaching its maximum value during 3–5 s and the yaw rate peaking around 5 s, which further demonstrates the necessity of the proposed control strategy. Compared to the fixed-weight sliding mode control strategy, the proposed control strategy achieves smoother overall performance, reducing the peak sideslip angle by 35.75% and improving the peak yaw rate by 22.4%, thereby tracking the reference values more closely.

Comparison of simulation results under DLC condition: (a) sideslip angle, (b) yaw rate, (c) vehicle speed, (d) weight coefficient
As shown in Figure 12(c), the vehicle speed remains generally stable around the target speed. Figure 12(d) presents the variation curve of the online-updated weight coefficient
Conclusions
This paper proposes an intelligent weighted hierarchical direct yaw moment control strategy based on distributed drive electric vehicles. Specifically, the upper-layer controller establishes an error model for yaw rate and sideslip angle, deriving the additional yaw moments for both parameters using the FASTSMC algorithm. To address the coordination between yaw rate and sideslip angle in stability control, a data-driven neural network online update method based on phase plane stability parameters is introduced to enhance controller robustness. This data-driven approach integrates phase plane stability parameters with a BP neural network, dynamically updating the weighting coefficient
