1. Introduction
With the advancement of autonomous driving technology, autonomous vehicles are gradually becoming the direction of future transportation development and are a core component of smart transportation systems [
1,
2,
3]. They have received considerable attention from the academic community. Reference [
4] investigated the secure distributed cooperative control of multiple rows of autonomous vehicles under unknown data falsification attacks on driving commands. Reference [
5] explored the predictive control of autonomous vehicles in interconnected mixed traffic with limited communication. Reference [
6] studied the event-based coordinated cruise control of multiple high-speed trains under sporadic train-to-train (T2T) information flow. In contrast to traditional vehicles, autonomous vehicles, through the collaborative work of the perception layer [
7], decision-making layer, and control layer, are capable of accomplishing sophisticated tasks of unmanned driving, including road condition recognition, hazard prediction and obstacle avoidance, and automatic parking, as well as the control of the vehicle’s lateral and longitudinal movements [
8,
9,
10]. The control algorithms for autonomous vehicles are mainly divided into two major categories: longitudinal control and lateral control. Longitudinal control involves the vehicle’s driving and braking, that is, precisely tracking the desired speed through the coordinated operation of the throttle and brakes. Lateral control, on the other hand, achieves the path tracking of the autonomous vehicle by adjusting the steering wheel angle and controlling the tire forces [
11,
12,
13].
In traditional vehicles, a centralized drive system and a front-wheel steering system are commonly used [
14]. However, with the development of modular chassis and electrification, autonomous vehicles with independent four-wheel control systems have become a hot topic of research. In such systems, the steering angle, driving torque, and braking torque of each wheel can all be controlled independently [
15], which not only enhances the flexibility and accuracy of vehicle control but also facilitates the implementation of multi-objective optimal control, such as power optimization, tire adhesion optimization, and stability optimization. Therefore, the longitudinal speed control issue of four-independent-wheel autonomous vehicles has garnered extensive academic research, with the aim of further improving the control performance and safety of autonomous vehicles.
Reference [
16] introduced a modeling method, longitudinal control design, and implementation for heavy vehicles, utilizing a hierarchical control structure. The upper controller calculated the desired torque required by the vehicle, while the lower-level controller was tasked with accurately tracking these torques. Reference [
17] proposed a hybrid model predictive control scheme aimed at optimizing the longitudinal speed regulation of autonomous vehicles. In [
18], a torque controller for four-wheel independently driven vehicles was described, using a feedback sliding mode control method to keep the vehicle within the maximum friction area during acceleration and braking, thus achieving precise reference speed tracking. Reference [
19] suggested a strategy that integrated throttle and braking control, designing two control laws to optimize specific tracking criteria via a learning algorithm, leading to smoother vehicle tracking behavior. These control methods effectively addressed the longitudinal speed control of vehicles and improved velocity tracking accuracy but often depended on complex control architectures and specific vehicle models.
However, the longitudinal dynamic model for four-independent-wheel autonomous vehicles is inherently a complex nonlinear model, challenging to describe accurately with a linear model [
20,
21,
22]. Additionally, vehicles could face interference from external factors such as road inclination and air resistance during operation. To tackle these challenges, more efficient nonlinear adaptive control algorithms were needed to realize the longitudinal control of four-independent-wheel vehicles. Reference [
23] addressed the vehicle’s drive and braking control system by combining model-free adaptive control methods with sliding mode control, designing a model-independent robust disturbance rejection controller capable of effectively achieving longitudinal vehicle control. Reference [
24] proposed a composite control strategy that merged a sliding mode control algorithm with nonlinear disturbance observer technology for the path tracking control problem of four-independent-wheel vehicles, considering scenarios with modeling errors, and its effectiveness was confirmed through experiments. Reference [
25] integrated RBF neural network control methods with sliding mode control to design an adaptive control algorithm capable of handling longitudinal vehicle speed control issues under conditions of model uncertainties and environmental disturbances. Reference [
26] tackled the performance degradation issue in autonomous vehicle path tracking controllers due to modeling errors and parameter disturbances by designing an adaptive robust control strategy, which proved effective through simulations. Reference [
27] proposed a data-driven longitudinal control method for autonomous land vehicles based on the PBAC learning algorithm, aiming to achieve an almost optimal control strategy that adaptively adjusts the throttle/brake control signals to track various speeds. Reference [
28] developed a robust control design based on sliding mode theory, validated through simulations on a two-link robotic manipulator, achieving better stability and tracking performance compared to traditional first-order sliding mode controllers. Reference [
29] addressed the tracking control challenge of robotic manipulators by designing a new control method that combined the adaptive backstepping approach with a non-singular fast terminal sliding mode control method.
These control algorithms have all demonstrated excellent performance and hold significant reference value for addressing the longitudinal control issues of 4-independent-wheel vehicles. In particular, the sliding mode control algorithm, due to its simple structure and ease of engineering implementation, has become one of the most important methods for designing longitudinal speed controllers. However, traditional sliding mode control algorithms have some limitations, such as an inability to adapt to uncertain parameters within the system and the frequent occurrence of high-frequency chatter in controller output. These phenomena can not only affect control accuracy and increase energy consumption but may also trigger unmodeled high-frequency dynamics in the system, degrading system performance, and could even lead to oscillation or instability, damaging controller components. In response to these challenges, this paper innovatively proposes an adaptive dynamic sliding mode control method for regulating longitudinal speed. The dynamic sliding mode control algorithm is a novel type of sliding mode control algorithm that can effectively suppress controller chattering, while adaptive backstepping is a nonlinear control algorithm that is easy to implement, achieving the global stability and robustness of the system through a recursive design of virtual control laws and adaptive laws [
30]. In the design of the upper controller, this paper combines the advantages of adaptive backstepping technology with dynamic sliding mode control, employing a novel switching function and utilizing dynamic sliding mode control to suppress chattering. Meanwhile, an adaptive rate is designed to enable the adaptive adjustment of uncertain parameters within the model.
The principal contributions of our work are summarized below:
This paper proposes a novel hierarchical control algorithm for the longitudinal speed control issue of four-independent-wheel autonomous vehicles, and the overall framework of the hierarchical control strategy is depicted in
Figure 1. For the design of the upper controller, adaptive backstepping technology and dynamic sliding mode control methods are integrated, which can effectively overcome the impact of uncertain system parameters and suppress the commonly occurring chattering phenomenon in the output of general sliding mode control methods.
An optimized longitudinal force distribution strategy is designed based on the upper controller, and an inverse tire longitudinal slip model is created using CarSim tire experimental data to calculate the corresponding reference slip ratios for the four wheels.
A lower-level slip ratio controller is designed to independently control the torque of the four wheels, achieving tracking control of the slip ratio, thereby enabling the longitudinal speed tracking control of the entire vehicle. The control effectiveness of the algorithm has been validated on the CarSim simulation platform.
The arrangement of the remaining sections of this paper is as follows:
Section 2 analyzes the longitudinal dynamic model of the four-independent-wheel vehicle and designs the upper controller,
Section 3 describes the construction of the inverse tire longitudinal slip model,
Section 4 details the design of the lower-level slip ratio controller,
Section 5 describes the CarSim simulation experiments, and
Section 6 presents the conclusions of the paper.
2. Design of the Upper Controller Based on Nonlinear System with Uncertainties
The longitudinal control systems of four-independent-wheel vehicles is an inherently nonlinear system. During the vehicle’s motion, it is subjected to external factors such as road incline and air resistance. Therefore, it is necessary to design a suitable nonlinear adaptive controller, which first requires the construction of a longitudinal dynamic model of the entire vehicle that includes air resistance. The specific mathematical model expression is as follows:
where
m is the mass of the vehicle,
v is the longitudinal speed of the vehicle,
is the air resistance coefficient,
A is the wind-facing area,
is the air density, and
represents the air resistance encountered during the vehicle’s motion. During the vehicle’s travel, air resistance is often unknown, so
,
A and
can be considered as uncertain parameters.
represents the longitudinal force required for the entire vehicle’s motion.
We assume
, and
that can be converted into a state equation and expressed as follows:
where
K is an uncertain parameter, and
u is the control input. At this point, the task of the upper controller can be described as follows: a suitable controller
u should be designed such that
x tracks its reference value
, where
is the reference longitudinal speed that our vehicle needs to track. Next, the upper controller is designed by integrating the adaptive backstepping method with the dynamic sliding mode control approach. The specific design process is as follows:
First, the tracking error of the longitudinal speed is defined as:
. Then, the dynamic tracking error can be obtained as follows:
We define the error variable
, with
K as the uncertainty parameter and
as the first estimate value of
K, and then a novel switching function can be designed as follows:
where
c is the controller parameter and
c > 0. From (
3) and (
4), the dynamic representation of
e can be obtained as follows:
Choosing the Lyapunov function as
, where
> 0, we can obtain:
According to (
6), the first adaptive rate can be designed as:
Deriving the switching function (
4) yields:
The error variable , with as the second estimate value of K, is defined.
Choosing the Lyapunov function as
, where
> 0, deriving
, and combining it with (
6), (
7), and (
8), yields:
According to (
9), the second adaptive rate can be designed as:
Substituting (
10) into (
9), the derivative of the controller input can be designed as:
In the equation,
and
represent the controller parameters,
is the derivative of the actual control law
u, and the actual control law
u can be obtained by integrating
. By substituting (
10) and (
11) into (
6), we can obtain:
Next, we will analyze stability. It can be concluded that the final Lyapunov function of the controller and its derivative are: .
From this, it can be observed that
is positive definite and
is semi-negative definite. This indicates that the equilibrium state is stable in the Lyapunov sense. Therefore,
e,
s,
, and
are all bounded. In order to further demonstrate the stability, it is necessary to define the function as follows based on (
12):
Then, the derivative of
is:
Since
e,
s,
, and
are bounded, it can be seen from their definitions that
x,
,
, and
u are also bounded. Furthermore, from the expressions for
,
,
, and
, it can be seen that they are also bounded.
is the reference value we set, and thus
can also be guaranteed to be bounded. In the expression for
, it can be seen that all variables
,
,
,
,
,
x, and
in the formulas are bounded, and thus it can be proven that
is also bounded. Because
e,
s,
, and
are bounded,
is bounded, and therefore
is uniformly continuous. According to the Lyapunov-like lemma [
31], it can be proved that as
,
, and at this point,
e and
s also tend to 0. It can be concluded that the controller can meet the requirements and achieve tracking control functions, while also being able to adapt to uncertain parameter variations. At this point, based on the output of the upper controller, we can obtain the desired longitudinal force of the entire vehicle:
. Next, we design an objective function for the optimal distribution of longitudinal force, and then a quadratic programming algorithm is employed to solve the set optimization goal, thereby achieving the distribution of the desired longitudinal force to the four wheels.
In the design of the objective function, we aim to equalize the longitudinal force of the left and right wheels as much as possible to avoid excessive inter-wheel coupling forces. Meanwhile, considering the conditions of driving and braking, we assign different distribution weights to the longitudinal forces of the front and rear wheels, which can enhance the overall driving stability of the vehicle. Consequently, the form of the objective function can be established as follows:
where
and
represent distribution weights with
, and
,
,
, and
represent the longitudinal forces of the front left wheel, front right wheel, rear left wheel, and rear right wheel, respectively.
3. Construction of Inverse Tire Longitudinal Slip Model
Through upper control and optimized distribution strategies, the required longitudinal forces for the four wheels can be determined. However, there are still some difficulties in precisely implementing these required forces directly through the wheel motors. To address this issue, the following steps will gradually construct an inverse tire longitudinal slip model using CarSim tire experimental data, to determine the required reference slip ratio for each wheel by analyzing the relationship between longitudinal force and slip ratio. Finally, the lower-level slip ratio controller can control the slip ratio by driving or braking torque of each wheel motor, thereby achieving precise control over the vehicle’s longitudinal dynamics.
The relationship between longitudinal force and slip ratio is specifically derived from the tire’s longitudinal slip model. Since our simulation experiments are conducted within the CarSim software environment, we first extract the corresponding tire experimental data from CarSim, where the tire database records the curves of longitudinal force versus slip ratio for tires under different vertical loads. Using these data, we establish a curve graph of the tire longitudinal slip model, as shown in
Figure 2. Different colored curves in
Figure 2 represent the relationship between tire longitudinal force and slip ratio under different vertical loads.
Subsequently, based on the vehicle data from CarSim, the vertical load on the front and rear wheels can be calculated using the formulas
and
, where
represents the sprung mass,
represents the unsprung mass on the front axle,
represents the unsprung mass on the rear axle,
a represents the distance from the front axle to the center of mass,
b represents the distance from the rear axle to the center of mass,
g represents the acceleration due to gravity,
represents the vertical load on the front wheel, and
represents the vertical load on the rear wheel. After determining the required tire vertical load, we perform interpolation calculations between the different vertical loads in
Figure 2, thereby extracting the curve representing the relationship between tire longitudinal force and slip ratio under our required vertical load, as shown in
Figure 3. In the legend, ‘fw’ represents the condition of the front wheel load, ‘rw’ represents the condition of the rear wheel load, and the purple symbol ‘*’ indicates the peak point of the curves, and since we need to consider the braking scenario, the negative half-axis of the curves has been supplemented.
From
Figure 3, it can be known that the inverse model of the tire’s longitudinal slip model is a multivalued function. Initially, the unstable area curves on both sides from the peak point position are truncated, retaining only the stable area curve. Subsequently, by finding the inverse function of this region, the inverse tire longitudinal slip model can be derived, with the model curve illustrated in
Figure 4. After deriving the inverse longitudinal slip model of the tire, the expected longitudinal forces for the four tires obtained from the optimized allocation strategy in the previous section are substituted into this model to calculate the corresponding expected slip ratios of the tires. These slip ratios serve as the reference input for the lower-level slip ratio controller, i.e., the reference slip ratio.
4. Lower Controller Design
This section offers a specific description of the design procedure for the lower-level slip ratio controller, which is capable of independently controlling the torque of each wheel motor on autonomous vehicles. It is necessary to first analyze the relevant wheel dynamics model; the specific derivation process is detailed in reference [
32], and here we directly present the mathematical model expression as follows:
where
represents the actual slip ratio of each wheel,
is the portion of the total vehicle mass that each wheel supports,
represents the coefficient of friction between the tire and the road,
v represents the vehicle longitudinal speed,
R represents the tire’s rolling radius,
g represents gravitational acceleration,
J represents the moment of inertia of the tire, and
represents the motor torque of each wheel, which is the output of the lower-level slip ratio controller.
For this wheel dynamics model, we have chosen a fuzzy PID control algorithm to design the lower-level slip ratio slip ratio controller. The control framework is depicted in
Figure 5, and the control rate expression is as follows:
where
,
,
are controller parameters,
represents the slip ratio tracking error of each wheel,
is the reference slip ratio derived from the expected longitudinal forces of the four wheels and the inverse tire longitudinal slip model as discussed earlier,
and
are the inputs to the fuzzy controller, while
,
, and
are the output of the fuzzy controller. On the universes of discourse for
,
,
,
, and
, seven linguistic subsets are defined, represented as Negative Big (NB), Negative Medium (NM), Negative Small (NS), Zero (ZO), Positive Small (PS), Positive Medium (PM), and Positive Big (PB). The summarized fuzzy control rule table is shown in
Table 1.
6. Conclusions
This paper addresses the longitudinal speed issue of four-independent-wheel autonomous vehicles by proposing a novel hierarchical control strategy, and its effectiveness was validated in a high-fidelity CarSim simulation environment. The primary contributions of this research include the following: In the design of the upper controller, this paper innovatively combined adaptive backstepping control and dynamic sliding mode control algorithms, enabling the effective overcoming of the influence of uncertain parameters in the system and the suppression of the common chattering phenomenon in the output of general sliding mode control methods. Then, considering braking and driving conditions, an optimized drive force allocation strategy was designed to reasonably distribute the longitudinal forces of the four wheels, enhancing the overall driving stability of the vehicle. Finally, by designing a fuzzy PID controller as the lower-level slip ratio controller, independent control over the torque of the four wheels was achieved, realizing slip ratio tracking control and, consequently, the overall longitudinal speed tracking control of the vehicle.
These research contents offer new insights into developing control algorithms for four-independent-wheel autonomous vehicles. In the simulation environment, this paper considered partial system uncertainties and nonlinearity, with results demonstrating the good robustness of the algorithm. Future work plans to conduct research in real-world environments with actual vehicles and roads, further improving the algorithm by considering real-world factors such as sensor noise, actuator delay, and changes in environmental conditions, aiming to achieve the precise longitudinal speed control of real vehicles.