Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2024 Dec 28;14:31085. doi: 10.1038/s41598-024-82021-6

Intelligent vehicle trajectory tracking with an adaptive robust nonsingular fast terminal sliding mode control in complex scenarios

Min Gao 1, Jing Li 1,, Taihong Hu 1, Jin Luo 1, Baidong Feng 1
PMCID: PMC11681002  PMID: 39730610

Abstract

This study presents a strategy for an intelligent vehicle trajectory tracking system that employs an adaptive robust non-singular fast terminal sliding mode control (ARNFTSMC) approach to address the challenges of uncertain nonlinear dynamics. Initially, a path tracking error system based on mapping error is established, along with a speed tracking error system. Subsequently, a novel ARNFTSMC strategy is introduced to tackle the uncertainties and external perturbations encountered during actual vehicle operation. The adaptive laws established for the longitudinal demand force and the front-wheel steering angle do not require prior understanding of the upper limit of the lumped uncertainty, while successfully avoiding singularities and eliminating chattering. By applying Lyapunov’s stability theorem, it is shown that the control system for trajectory tracking can reach the equilibrium point within a finite time. Following this, a torque optimization distribution control strategy is developed. Ultimately, numerical simulations are used to validate both the effectiveness of the proposed approach and its robustness across different conditions.

Keywords: Intelligent vehicle, Trajectory tracking, Finite time convergence, Uncertainties and disturbances, Adaptive robust nonsingular fast terminal sliding-mode control

Subject terms: Mechanical engineering, Engineering

Introduction

Autonomous electric vehicles equipped with four-wheel independent drive (4WID) are regarded as effective tools for enhancing traffic safety and transportation efficiency1,2 due to their independently controllable four wheels, which can generate a flexible and precise torque response rapidly3. The incorporation of lateral and longitudinal trajectory tracking control is essential to guarantee compliance with safety and efficiency standards4. It is essential to converge the control objectives—namely, lateral error, orientation error, and speed error—to zero through the regulation of both the steering and driving systems, thereby ensuring that the intelligent vehicle smoothly and accurately follows the predetermined trajectory. Designing a suitable controller for trajectory tracking in intelligent vehicles, however, poses considerable challenges. This complexity arises from the intricate interactions of vehicle dynamics that are strongly coupled, highly nonlinear, and uncertain, along with external disturbances that vary over time and are hard to measure or estimate when the vehicle is in motion. When investigating trajectory tracking control for 4WID electric vehicles, it is crucial to consider the robustness of the control system to model uncertainties and disturbances, as well as practical limitations imposed by actuators and road conditions. Stanford University5 developed a controller that utilizes both lateral displacement error and orientation error. An adjustable parameter optimization scheme based on fuzzy uncertainty and the use of fuzzy6 sets to define uncertainty limits is introduced. The Takagi–Sugeno (T-S) approach7,8, when paired with dynamic output feedback control for steering vehicles using the principles of fuzzy observation, has proven to be effective. A PID controller utilizing double integrals and focusing on lateral offsets was created to mitigate curvature disturbances over time9. In the linear quadratic regulator (LQR) path tracking controller, an adaptive backlash compensator was implemented to address the backlash nonlinearity of the steering actuation system10. The orientation error was redefined in the presence of vehicle side-slip, leading to the creation of a path-following controller that incorporates backstepping methods along with LQR11 techniques. Techniques of Model Predictive Control (MPC)12 were utilized to tackle the challenge of constrained path tracking. An MPC13 method based on differential evolution was proposed, incorporating a measurable pendulum yaw rate angle as a perturbation; another investigation14 focused on creating an efficient lateral path tracking controller using MPC that accounts for path preview and incorporates an adaptive tire parameter module to update the MPC prediction model in real-time. Rosenfelder et al.15 proposed a control method that integrates MPC theory with sub-Riemannian geometry to achieve precise control in scenarios such as parking. Tran et al.16 proposed an MPC scheme for trajectory tracking of 4WID vehicles without the need for a terminal region or controller.

Nonlinear dynamic systems are frequently subjected to uncertainties and external disturbances. Several studies17,18 have utilized the Fourier series approximation to estimate uncertainty in complex control systems and to resolve unmodeled disturbances. Researchers have designed extended state observers to improve the robustness of control systems, especially in the control of complex dynamic systems, showing significant advantages19,20. Sliding mode control presents a range of beneficial characteristics, such as outstanding transient response, resilience to changes in parameters, and a lack of sensitivity to disturbances. The basic idea revolves around the consistent ability to control and maintain the trajectory of a system in the state space of a given sliding surface. In the linear sliding mode control (LSMC)3,2124, the surface for sliding mode is structured linearly, guaranteeing that the system’s state asymptotically approaches the equilibrium point within a finite time25. To ensure that the system state reaches convergence in finite time, fast terminal sliding mode control (FTSMC)26 and nonlinear sliding surface-based terminal sliding mode control (TSMC)2729 were presented, which are widely used in vehicle dynamics control3034. However, these regulatory approaches frequently face challenges related to singularities arising from the presence of negative exponential powers, potentially resulting in uncontrolled inputs. To address this challenge, alternative TSMC approaches that have gained popularity include the non-singular terminal sliding mode (NTSMC)3538 and the non-singular fast terminal sliding mode (NFTSMC)39,40.

Although the previously mentioned control techniques have shown efficacy in trajectory tracking control systems, some limitations continue to exist. The main contributions of this paper are as follows:

  1. In contrast to the existing LSMC and TSMC methods, which are unable to circumvent the singularity problem3,2124,3034, the new adaptive control law effectively eliminates this issue. It enhances the responsiveness of the system by adjusting its state to reach the preferred equilibrium position more quickly.

  2. Existing trajectory tracking control strategies are often limited in their ability to cope with uncertainty and disturbances because they usually require prior knowledge of an upper bound on the uncertainty3,8,21,23,29,3137,40,41. This study introduces a control algorithm for adaptive parameter updates designed to address the difficulties arising from unspecified upper limits in practical vehicle trajectory tracking scenarios, while also preventing oscillations and singularities during the control process.

  3. Unlike methods that focus only on lateral path tracking24,68,10,11,13,14,22,31,37,41,42. In this study, the interactions between lateral and longitudinal motions are considered, and both lateral path tracking controllers and longitudinal speed tracking controllers are designed.

The structure of the paper is summarized as follows: Sect.  2 introduces the vehicle related model. Section 3 presents the upper path tracking controller and the longitudinal speed tracking controller, as well as the lower torque distribution optimization. Section 4 presents the numerical simulation results and discussion and Sect.  5 concludes.

Model and problem formulation

7DOF vehicle dynamics model

Figure 1 depicts a model of a 4WID vehicle that illustrates the vehicle dynamics. The model is characterized as a 7-degree-of-freedom (7DOF) system with lateral motion, longitudinal motion and wheel rotation. The primary assumptions underlying this model are as follows: (a) the effects of roll motion, pitch motion, and suspension on the vehicle are neglected41; (b) aerodynamic forces are disregarded; and (c) treat the front steering angle as a direct input. Establish the following equations for vehicle dynamics:

graphic file with name M1.gif 1

Where m represents the vehicle mass, Inline graphic and Inline graphic denote the vehicle’s longitudinal and lateral accelerations, respectively. Inline graphic signifies the yaw angel, and Inline graphic indicates the vehicle’s yaw moment of inertia. The variables Inline graphic, Inline graphic, Inline graphic and Inline graphic correspond to the front and rear longitudinal tire forces, whereas Inline graphic, Inline graphic, Inline graphic and Inline graphic represent the front and rear lateral tire forces. Inline graphic refers to the vehicle’s track width and both Inline graphic and Inline graphic indicate the longitudinal distances from the vehicle’s center of mass to the front and rear axles. Inline graphic represents the front wheel steering angle.

Fig. 1.

Fig. 1

7DOF vehicle dynamics model.

The wheel rotational dynamics is expressed as

graphic file with name M18.gif 2

where Inline graphic represents the moment of inertia of the wheels, Inline graphic and Inline graphic signify the driving torque and braking torque, Inline graphic indicates the rolling radius of the tire, Inline graphic denotes the angular speed of the wheels. Each wheel of the 4WIDEV system is independently driven by its own motor. In practice, by collecting the signals from the motor controllers, one can obtain information regarding speed and torque. This data can then be utilized in conjunction with formula (2) to calculate the tire longitudinal force, denoted as Inline graphic.

Tire model and motor model

Tire model

The complex nonlinear characteristics of tires significantly influence vehicle dynamics control. This paper employs the ‘Magic Formula’43 to characterize the mechanical properties of tires.

graphic file with name M25.gif 3

where Inline graphic denotes the side slip angle or longitudinal slip ratio, Inline graphic represents the longitudinal or lateral tire force. The tire lateral force Inline graphic is obtained when Inline graphic denotes the tire lateral deflection angle Inline graphic. Inline graphic, Inline graphic, Inline graphic, and Inline graphic are tire intrinsic factors that can be obtained by Carsim and Matlab fitting.

Motor model

The torque response features of in-wheel motors can be described using a second-order transfer function:

graphic file with name M35.gif 4

where Inline graphic and Inline graphic denotes the actual and theoretical output torque of the motor, respectively. The parameter Inline graphic signifies the performance of the motor, while Inline graphic represents the Laplace operator.

Trajectory tracking error model

The trajectory tracking error model is depicted in Fig. 2, with Inline graphic being the geodetic coordinate system. Trajectory tracking encompasses heading angle tracking, lateral position tracking, and longitudinal vehicle speed tracking. Inline graphic represents the orientation error, which is the difference between the actual heading angle Inline graphic and the tangent direction Inline graphic of the reference path. Notably, Inline graphic is the yaw rate and can be expressed as Inline graphic. Inline graphic is the lateral displacement deviation between the center of mass of the vehicle and the nearest point of the reference path. The longitudinal speed error Inline graphic is the difference between the actual longitudinal speed Inline graphic and the desired speed Inline graphic.

Fig. 2.

Fig. 2

Trajectory tracking error model.

Assumption 1

The existence of first and second order derivatives for longitudinal speed error Inline graphic, orientation error Inline graphic and lateral offset error Inline graphic.

Therefore, the first order derivatives of the trajectory tracking error are as follows:

graphic file with name M53.gif 5

where Inline graphic signifies the pavement curvature. Inline graphic and Inline graphic represent the lateral displacements of the actual path and the reference path, respectively. Inline graphic denote the lateral speed. Inline graphic and Inline graphic cannot be zeroed at the same time by adjusting only the input of the front wheel angle. In this paper, two positive numbers Inline graphic and Inline graphic are used to obtain the mapping error Inline graphic to synthesize the path tracking error, which the second-order derivative can be expressed as:

graphic file with name M63.gif 6

Controller design

This section presents a novel ARNFTSMC strategy aimed at tackling the issues of parameter uncertainty, external disturbances, singularity, and chattering in the trajectory tracking control system for the 4WID vehicle. The relevant control framework is depicted in (Fig. 3).

Fig. 3.

Fig. 3

Flowchart of proposed strategy.

Path tracking controller

The purpose of the study is to design the controller that ensures that the system responses Inline graphic and Inline graphic converge to zero under conditions of uncertainty and external disturbances so as to achieve accurate tracking of a predetermined trajectory. Before designing a path tracking controller that takes into account uncertainty and external disturbances, the third equation of Eq. (1) is reformulated as:

graphic file with name M66.gif 7

where Inline graphic represents the nominal parameter of the model, denotes as Inline graphic. The term Inline graphic refers to the uncertain aspects of the model parameters, while Inline graphic indicates the external disturbances. Furthermore, Inline graphic serves as the coefficient of the system input, represented as Inline graphic.

Inserting (7) into (6), one can have

graphic file with name M73.gif 8

where Inline graphic, Inline graphic and Inline graphic are characterized as the lumped uncertainty. The following assumption is made about the external disturbances and uncertain parameters of the system:

Remark 1

Uncertainty Inline graphic and external disturbance Inline graphic are unknown as shown in the following equation:

graphic file with name M79.gif 9

where Inline graphic denotes the upper bound of the lumped uncertainty44, it can showed as

graphic file with name M81.gif 10

where Inline graphic, Inline graphic and Inline graphic are all positive numbers.

Assumption 2

The uncertainty parameters Inline graphic are continuous and differentiable, and its derivative is Inline graphic.

Initially, in order to attain finite-time convergence, enhance the speed of convergence, and alleviate the singularity issue, the sliding surface Inline graphic is structured as outlined below:

graphic file with name M88.gif 11

where Inline graphic and Inline graphic are positive constants, Inline graphic and Inline graphic. Inline graphic is the signum function.

The next step involves designing the equivalent control law Inline graphic, which is derived from Inline graphic. The design plays a crucial role in guaranteeing that the state trajectory aligns with the sliding surface Inline graphic. The result is obtained by temporarily ignoring the uncertainties and external disturbances in Eq. (8):

graphic file with name M97.gif 12

Derived for Inline graphic, the equivalent control law for the front wheel angle is:

graphic file with name M99.gif 13

To address with the problems caused by model uncertainty and external disturbances, the subsequent switching control law is proposed as follows:

graphic file with name M100.gif 14

where Inline graphic and Inline graphic. Let Inline graphic, Inline graphic, and Inline graphic be the estimates corresponding to Inline graphic, Inline graphic, and Inline graphic, respectively. Therefore, the total control law for the front wheel angle is:

graphic file with name M109.gif 15

where Inline graphic, Inline graphic and Inline graphic are estimated gains, and their update laws can be expressed as:

graphic file with name M113.gif 16
graphic file with name M114.gif 17
graphic file with name M115.gif 18

where Inline graphic, Inline graphic and Inline graphic are positives numbers. Define the adaptive errors as Inline graphic, Inline graphic and Inline graphic, while Inline graphic denotes the difference between the estimated value and the actual value. Based on Assumption 2, it is possible to derive Inline graphic.

Remark 2

In order to solve the problem of system chattering due to the presence of the discontinuous function Inline graphic, it is replaced by the hyperbolic function Inline graphic refs.4547, which reduces the chattering in the sliding mode control.

Remark 3

The actual front wheel angle should meet the limitations of the steering actuator: Inline graphic. The maximum steering angle value Inline graphic is set in the subsequent work of this paper.

Theorem 1

Take into account the system outlined by Eq. (1), where it is assumed that the upper boundary of the uncertainty, as indicated in Eq. (10), is entirely unknown. To establish a sliding surface as described in Eq. (11), the adaptive updating laws given by Eqs. (16)–(18) are employed, along with the control law specified in Eq. (15). Then, the path tracking error converges in finite time.

Proof 1

Defining the positive definite Lyapunov function Inline graphic, operating on its first-order derivatives and dividing Inline graphic and Eq. (12), leads to the following perform a first order derivative of it, and bring in to obtain the following.

graphic file with name M130.gif 19

By bringing the path tracking error (6), the total control law (15) and the adaptive updating laws (16)-(18) into the above equation:

graphic file with name M131.gif 20

According to Assumption 2, leads to

graphic file with name M132.gif 21

Lemma 148: If there exists a continuous Lyapunov function Inline graphic satisfies the following conditions as

graphic file with name M134.gif 22

Inline graphic would converge to zero in a finite time and the convergence time is

graphic file with name M136.gif 23
graphic file with name M137.gif 24

To demonstrate stability in finite time, consider the following Lyapunov function

graphic file with name M138.gif 25
graphic file with name M139.gif 26

where Inline graphic, Inline graphic. Based on Lemma 1, the tracking error Inline graphic for the trajectory can reach the equilibrium point in a finite duration. By defining the time required for this convergence process as Inline graphic, the following equation must be satisfied:

graphic file with name M144.gif 27

Longitudinal speed tracking controller

Considering the model parameters uncertainty and external disturbances, Eq. (2) in system (1) is reformulated as the follows:

graphic file with name M145.gif 28

where Inline graphic is the nominal parameter, Inline graphic denotes the coefficient of the system input Inline graphic, Inline graphic indicates the uncertainty associated with the vehicle’s longitudinal speed tracking system and Inline graphic signifies the external disturbances affecting the system.

Taking Eq. (28) into the third term of Eq. (5)

graphic file with name M151.gif 29

In the above equation, Inline graphic, Inline graphic, and Inline graphic represent the lumped uncertainty. Similar to the previous path tracking controller, Assumption 2 is also assumed to achieves the tracking objective and ensure finite convergence time for the longitudinal speed tracking controller. Since the longitudinal speed tracking error model contains only first-order derivatives, the following sliding mode surface is designed:

graphic file with name M155.gif 30

where Inline graphic, Inline graphic and Inline graphic. Inline graphic and Inline graphic are positive constants. Derivation of Eq. ((30) and bringing Eq. (29) without considering the set lumped disturbances can be obtained:

graphic file with name M161.gif 31

The equivalent control law for the total longitudinal demand force is expressed as:

graphic file with name M162.gif 32

The switching control law is designed to

graphic file with name M163.gif 33

Therefore, the control law to the longitudinal demand force can be formulated as follows

graphic file with name M164.gif 34

where Inline graphic, Inline graphic and Inline graphic are estimates of the adaptive law gain, defined as Inline graphic. Similarly the following formulas can be obtained according to the aforementioned Assumption 2

graphic file with name M169.gif 35
graphic file with name M170.gif 36
graphic file with name M171.gif 37

where Inline graphic, Inline graphic and Inline graphic are positives numbers. Define the adaptive errors as Inline graphic, Inline graphic and Inline graphic, while Inline graphic denotes the difference between the estimated value and the actual value. Based on Assumption 2, it is possible to derive Inline graphic.

Remark 4

The same use is applied here as in the previous Remark 2.

Theorem 2

Consider the longitudinal speed tracking system for vehicle dynamics, which operates under uncertainty and time-varying disturbances ( 1 ). By implementing of an adaptive robust controller ( 34 ) along with adaptive updates laws ( 35 )–( 37 ), the system can achieve accurate speed tracking despite performance constraints, ensuring that it reaches the equilibrium position in finite time.

Proof 2

This proof shares similarities with Theorem 1 and will therefore not be discussed further to prevent redundancy.

Lower torque optimization allocation

With the desired longitudinal forces and front steering angle established, it is essential to perform control distribution to achieve an optimal allocation of longitudinal torque among the four wheels. The connection between the longitudinal force and torque can be represented as Inline graphic. This study enhances torque distribution to achieve a reduction in the tire loading rate, while taking into account the necessary yaw moment and overall driving torque, along with the constraints that pertain to the actuator’s physical properties and the friction conditions of the road. As a result, the previously mentioned objective function and its constraints can be set up as follows for solving:

graphic file with name M181.gif 38

where Inline graphic indicates the vertical load on each wheel, Inline graphic represents the weighting factor, Inline graphic denotes the road adhesion factor, and Inline graphic signifies the maximum value of driving torque.

According to the objective function and constraints determined above, Eq. (38) is rewritten into the following quadratic programming form to solve:

graphic file with name M186.gif 39

where the input matrix is Inline graphic. Inline graphic and Inline graphic denote the quadratic terms of the input matrix and the action matrix Inline graphic, and Inline graphic is an inequality constraint.

Results and discussion

In this part, simulations were carried out within the Carsim and Simulink environments to assess how effective the proposed ARNFTSMC scheme is for tracking trajectories in complicated scenarios. The parameters for the vehicle model used in Carsim are detailed in Table 1, while the parameters for the controller are located in (Table 2). To better illustrate the advantages of the proposed controllers, this study compares the SMC and TSMC controllers.

Table 1.

Parameters of the vehicle.

Parameters Notation Value
Vehicle mass Inline graphic 1412 Inline graphic
Tire effective rolling radius Inline graphic 0.325 Inline graphic
Vehicle yaw inertia Inline graphic 1536.7 Inline graphic
Distance from CG to the front axle Inline graphic 1.015 Inline graphic
Distance from CG to the rear axle Inline graphic 1.895 Inline graphic

CG center of gravity.

Table 2.

Parameters of controllers.

Controller Parameters
Path tracking controller λ1, λ2 τ1, τ2 r1, r2 k1, ε1 Υ0, Υ1, Υ2
0.015, 0.0005 2000, 3000 1.6, 1.4 70, 100 0.01, 0.01, 0.01
Longitudinal speed tracking controller η1, η2 p1, p2 k2, ε2 R0, R1, R2
100, 1 1.6, 1.4 8, 0.01 0.01, 0.01, 0.01

This research centers on managing an intelligent vehicle to follow a designated route in intricate situations, in which the reference path is supplied directly. A desired speed of 80 Inline graphic was selected, and the double-lane change reference path49 is described by lateral position Inline graphic and yaw angle Inline graphic as functions of longitudinal speed Inline graphic.

graphic file with name M206.gif 40
graphic file with name M207.gif 41

where Inline graphic, Inline graphic, Inline graphic, Inline graphic, Inline graphic, and Inline graphic.

Condition A: Trajectory tracking control with internal parameter uncertainties.

This study compares and analyzes the scenarios SMC, TSMC, and ARNFTSMC proposed in this paper, focusing on the uncertainty in vehicle system parameters as internal disturbance factors. The desired speed is established as Inline graphic, while the adhesion coefficient is represented by Inline graphic. The vehicle mass Inline graphic and rotational inertia Inline graphic are increased by 300 Inline graphic and 300 Inline graphic, respectively.

The effects of trajectory tracking control and the results of dynamic response simulations are shown in Fig. 4, whereas Fig. 5 illustrates the control inputs. In Fig. 4a, the global positions of the vehicle using different control methods are depicted. Although SMC, TSMC, and ARNFTSMC are all capable of efficiently guiding a vehicle to closely follow a reference trajectory, however, ARNFTSMC is superior in tracking performance. As shown in Fig. 4c,d, the lateral offset and orientation errors associated with ARNFTSMC are significantly smaller than those of the other two controllers. Figure 4b depicts the vehicle’s performance in tracking longitudinal speed for various control approaches, with ARNFTSMC indicating improved control proficiency. Finally, Fig. 4e,f show the dynamic response results, especially the sideslip angle and yaw rate.

Fig. 4.

Fig. 4

The trajectory tracking control effect and dynamics response simulation results for condition A. (a) Global position. (b) Longitudinal speed tracking. (c) Lateral offset error. (d) Orientation error. (e) Response curve of side slip angle. (f) Response curve of yaw rate.

Fig. 5.

Fig. 5

The trajectory tracking control inputs simulation results for condition A. (a) Front-wheel steering angle inputs. (b) Four-wheel torque inputs (ARNFTSMC). (c) Four-wheel torque inputs (TSMC). (d) Four-wheel torque inputs (SMC).

Figure 5a shows the input of front wheel angle and Fig. 5b–d show the longitudinal torque for ARNFTSMC, TSMC and SMC respectively. Taken together, the control cost of ARNFTSMC is lower than that of SMC and TSMC and is within reasonable limits.

To specifically compare the trajectory tracking control performance, this paper utilizes the root mean square error (RMSE) along with the maximum value (MAX) of the tracking error as performance evaluation indices.

graphic file with name M220.gif 42

where Inline graphic represents the number of samples, Inline graphic can denote the lateral offset Inline graphic, orientation error Inline graphic and vehicle longitudinal speed error Inline graphic. The effectiveness of the proposed control approach, ARNFTSMC, is evaluated in relation to SMC and TSMC, as shown in (Table 3).

Table 3.

Tracking error indicators using various controllers under condition A.

Controller ARNFTSMC SMC TSMC
Performance
RMSE Inline graphicInline graphic 0.21793 0.23854 0.27721
RMSE Inline graphicInline graphic 0.01477 0.01567 0.01888
RMSE Inline graphicInline graphic 0.05215 0.09761 0.04287
MAX Inline graphicInline graphic 0.81555 0.84201 0.96539
MAX Inline graphicInline graphic 0.05886 0.05779 0.06628
MAX Inline graphicInline graphic 0.29014 0.40322 0.25239

In conclusion, both Fig. 4 and Table 3 demonstrate that ARNFTSMC not only achieves superior control accuracy but also enhances the system’s response speed. The improved control accuracy is attributed to the adaptive law inherent in the design, which bolsters the system’s robustness and adaptability. Meanwhile, the increased response speed results from the incorporation of a nonlinear function, ensuring that the tracking error is confined within a finite time.

Condition B: Trajectory tracking control with sudden changes in road adhesion coefficients.

This set of simulations compares and analyzes the control performance of SMC, TSMC, and ARNFTSMC for trajectory tracking applications, utilizing the sudden change in the road surface adhesion coefficient as an external disturbance factor. The reference path of the vehicle and the variation in the road surface adhesion coefficient are illustrated in Fig. 6. The nominal pavement adhesion coefficient is 0.8 (represented by the black solid line in (Fig. 6), while the actual road adhesion coefficient of the vehicle experiences an abrupt change to 0.4 (indicated by the red double-dotted line in (Fig. 6) between 70–80 m and 130–140 m during the vehicle’s operation. Table 4 shows the results of the simulation. Figure 7 illustrates the impact of trajectory tracking control along with the dynamic response, whereas the control inputs are represented in Fig. 8.

Fig. 6.

Fig. 6

Reference trajectory for the condition of sudden change in road adhesion coefficient.

Table 4.

Tracking error indicators using various controllers under condition B.

Controller ARNFTSMC SMC TSMC
Performance
RMSE Inline graphicInline graphic 0.22605 0.24016 0.28892
RMSE Inline graphicInline graphic 0.01574 0.01657 0.01955
RMSE Inline graphicInline graphic 0.05122 0.08356 0.03984
MAX Inline graphicInline graphic 0.85776 0.84267 0.99842
MAX Inline graphicInline graphic 0.05941 0.05823 0.06776
MAX Inline graphicInline graphic 0.27395 0.36144 0.24448

Fig. 7.

Fig. 7

The trajectory tracking control effect and dynamics response simulation results for condition B. (a) Global position. (b) Longitudinal speed tracking. (c) Lateral offset error. (d) Orientation error. (e) Response curve of side slip angle. (f) Response curve of yaw rate.

Fig. 8.

Fig. 8

The trajectory tracking control inputs simulation results for condition B. (a) Front-wheel steering angle inputs. (b) Four-wheel torque inputs (ARNFTSMC). (c) Four-wheel torque inputs (TSMC). (d) Four-wheel torque inputs (SMC).

As illustrated in Fig. 7 and Table 4, all three controllers effectively ensure vehicle trajectory tracking accuracy and stability despite variations in the road adhesion coefficient. However, in terms of overall control performance, the ARNFTSMC outperforms both the SMC and the TSMC. Specifically, ARNFTSMC reduces the MAX lateral offset error of vehicle tracking by 0.01509 and 0.14066 m, as well as the RMSE by 5.9% and 21.8%, respectively, when compared to SMC and TSMC. Regarding orientation error, ARNFTSMC shows an increase in the MAX error of 0.00118 rad and a decrease in RMSE by 5% compared to SMC, while it demonstrates a decrease in MAX error by 0.00835 rad and a reduction in RMSE by 19.5% when compared to TSMC. Furthermore, the MAX and RMSE of longitudinal speed error for ARNFTSMC decreased by 0.08749 Inline graphic and 38.7% relative to SMC, whereas these values increased by 0.02947 Inline graphic and 28.6% compared to TSMC. The dynamic response curves for the side slip angle and yaw rate of the three controllers, depicted in Fig. 7e,f, reveal minor differences in control performance.

The inputs for control are shown in (Fig. 8). In particular, Fig. 8a depicts the steering angle of the front wheel, revealing that the cost associated with controlling this angle across the three methods is relatively consistent and remains within acceptable limits. Additionally, Figs. 8b–d present the outcomes of the optimized distribution of longitudinal torque for the three control processes.

To conclude, the analyses outlined in this study demonstrate that the ARNFTSMC control approach introduced here effectively tackles the problem of random disturbances encountered on the road. This method improves the accuracy, robustness, and responsiveness of the controller, thanks to the novel design of the adaptive law and the integration of a nonlinear function.

Condition C: Trajectory tracking control with sidewind disturbance.

In this research group, side wind is introduced as an external disturbance factor in the simulations to evaluate the control robustness of three controllers: SMC, TSMC, and ARNFTSMC. Figure 9 demonstrates the curves of wind direction and velocity of the side wind concerning the position of the vehicle while driving. Figure 10 presents the simulation curves for trajectory tracking and dynamic response. Figure 11 illustrates the inputs for the front wheel steering angle and the longitudinal moment. Table 5 presents a summary of the errors in lateral offset, orientation, and longitudinal speed.

Fig. 9.

Fig. 9

Side wind disturbance input.

Fig. 10.

Fig. 10

The trajectory tracking control effect and dynamics response simulation results for condition C. (a) Global position. (b) Longitudinal speed tracking. (c) Lateral offset error. (d) Orientation error. (e) Response curve of side slip angle. (f) Response curve of yaw rate.

Fig. 11.

Fig. 11

The trajectory tracking control inputs simulation results for condition C. (a) Front-wheel steering angle inputs. (b) Four-wheel torque inputs (ARNFTSMC). (c) Four-wheel torque inputs (TSMC). (d) Four-wheel torque inputs (SMC).

Table 5.

Indicators of tracking error using different controllers in condition C.

Controller ARNFTSMC SMC TSMC
Performance
RMSE Inline graphicInline graphic 0.19966 0.23786 0.2796
RMSE Inline graphicInline graphic 0.01409 0.01533 0.01872
RMSE Inline graphicInline graphic 0.05995 0.09431 0.08658
MAX Inline graphicInline graphic 0.78287 0.82331 0.95844
MAX Inline graphicInline graphic 0.05566 0.05635 0.06627
MAX Inline graphicInline graphic 0.34628 0.29241 0.21898

As illustrated in Fig. 9, the wind heading, represented by the black solid line, exhibits variability, registering −90° within the 90 to 120 m segment and 90° in the subsequent 90 to 120 m segment along the longitudinal trajectory of the vehicle. The red solid line in Fig. 9 depicts the change in wind speed, beginning at 0 Inline graphic and increasing until the vehicle attains a speed of 50 Inline graphic at approximately 110 m. The vehicle then maintains a wind speed of 50 Inline graphic while covering an additional distance of about 110 m. After reaching 220 m, the wind speed begins to decline, ultimately reducing to 0 Inline graphic at around 334 m.

Figure 10 shows the simulation curves for trajectory tracking and dynamic response. It is clear that all three controllers successfully follow the desired trajectory even in the presence of crosswinds, with the ARNFTSMC exhibiting the best performance. Notably, if the gains of the SMC and TSMC controllers are adjusted too high or too low, the vehicle’s trajectory may deviate from the stabilization region, leading to control inputs that fall outside a reasonable range, which may not be suitable for real-world scenarios. In other words, the adjustments to the gains of the SMC and TSMC controllers must be done carefully and cannot be made indiscriminately. To address this challenge, the ARNFTSMC method proposed in this paper serves as an excellent alternative. Figure 11 illustrates that both path tracking and speed tracking utilizing ARNFTSMC control demonstrate curves that closely match the reference trajectory and target speed, achieving a convergence time superior to the other two methods. This improvement can be attributed to the incorporation of an adaptive law and a nonlinear function, which effectively counteract disturbances caused by side winds. Consequently, the ARNFTSMC method significantly mitigates the impact of side winds, allowing for smaller gains to still provide satisfactory robustness in the resulting closed-loop system.

Conclusion

This research presents a novel adaptive robust non-singular fast terminal sliding mode control approach, targeting the resolution of trajectory tracking control challenges in intelligent vehicle systems influenced by uncertainties and external disturbances. The adaptive control law that has been developed not only successfully reduces the variations in the vehicle system’s internal parameters and the impact of external disturbances but also does so without needing prior information about the upper limit of the lumped uncertainty. By applying Lyapunov stability theory, this study shows that the suggested control law is capable of guaranteeing convergence of the path tracking error and the longitudinal speed tracking error within a finite timeframe, all while successfully addressing the issues of singularity and chattering. The lower torque optimization allocation strategy is established. In this study, simulation experiments were conducted to compare the proposed ARNFTSMC method with the SMC and TSMC under three distinct working conditions. The analysis of the data presented in the figures and tables reveals that the ARNFTSMC method demonstrates significant advantages over the other two methods across multiple dimensions, including control effectiveness, dynamic response, control input, and tracking error accuracy. The proposed method’s effectiveness and superiority are demonstrated through numerical simulations conducted under conditions where the vehicle system encounters uncertainties in internal parameters and external disturbances.

Acknowledgements

This work is financially supported by School of Vehicle and Energy, Yanshan University.

Author contributions

Min Gao: Writing—original draft, Visualization, Methodology, Investigation, Formal analysis, Data curation. Jin Li: Writing—review & editing, Supervision. Taihong Hu: Writing—review & editing. Jin Luo: Writing—review & editing. Baidong Feng: Writing—review & editing.

Data availability

Data is provided within the manuscript.

Declarations

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Li, X., Sun, Z., Cao, D., Liu, D. & He, H. Development of a new integrated local trajectory planning and tracking control framework for autonomous ground vehicles. Mech. Syst. Signal Process.87, 118–137 (2017). [Google Scholar]
  • 2.Paden, B., Cap, M., Yong, S. Z., Yershov, D. & Frazzoli, E. A survey of motion planning and control techniques for self-driving urban vehicles. IEEE Trans. Intell. Veh.1, 33–55 (2016). [Google Scholar]
  • 3.Chen, J., Shuai, Z., Zhang, H. & Zhao, W. Path following control of autonomous four-wheel-independent-drive electric vehicles via second-order sliding mode and nonlinear disturbance observer techniques. IEEE Trans. Industr. Electron.68, 2460–2469 (2021). [Google Scholar]
  • 4.Xu, S. & Peng, H. Design, analysis, and experiments of preview path tracking control for autonomous vehicles. IEEE Trans. Intell. Transp. Syst.21, 48–58 (2020). [Google Scholar]
  • 5.Thrun, S. et al. Stanley: The robot that won the DARPA grand challenge. J. Field Robot.23, 661–692 (2006). [Google Scholar]
  • 6.Yang, Z., Huang, J., Yang, D. & Zhong, Z. Design and optimization of robust path tracking control for autonomous vehicles with fuzzy uncertainty. IEEE Trans. Fuzzy Syst.30, 1788–1800 (2022). [Google Scholar]
  • 7.Zhang, C. et al. A novel fuzzy observer-based steering control approach for path tracking in autonomous vehicles. IEEE Trans. Fuzzy Syst.27, 278–290 (2019). [Google Scholar]
  • 8.Zhang, L. et al. Channel-level event-triggered communication scheme for path tracking control of autonomous ground vehicles with distributed sensors. IEEE Trans. Veh. Technol.72, 12553–12566 (2023). [Google Scholar]
  • 9.Marino, R., Scalzi, S. & Netto, M. Nested PID steering control for lane keeping in autonomous vehicles. Control. Eng. Pract.19, 1459–1467 (2011). [Google Scholar]
  • 10.Zhou, X., Wang, Z., Shen, H. & Wang, J. Robust adaptive path-tracking control of autonomous ground vehicles with considerations of steering system backlash. IEEE Trans. Intell. Veh.7, 315–325 (2022). [Google Scholar]
  • 11.Hu, C., Wang, R., Yan, F. & Chen, N. Should the desired heading in path following of autonomous vehicles be the tangent direction of the desired path?. IEEE Trans. Intell. Transp. Syst.16, 3084–3094 (2015). [Google Scholar]
  • 12.Faulwasser, T. & Findeisen, R. Nonlinear model predictive control for constrained output path following. IEEE Trans. Autom. Control61, 1026–1039 (2016). [Google Scholar]
  • 13.Guo, H., Cao, D., Chen, H., Sun, Z. & Hu, Y. Model predictive path following control for autonomous cars considering a measurable disturbance: Implementation, testing, and verification. Mech. Syst. Signal Process.118, 41–60 (2019). [Google Scholar]
  • 14.Chen, G. et al. Design and experimental evaluation of an efficient MPC-based lateral motion controller considering path preview for autonomous vehicles. Control. Eng. Pract.123, 105164 (2022). [Google Scholar]
  • 15.Rosenfelder, M., Ebel, H., Krauspenhaar, J. & Eberhard, P. Model predictive control of non-holonomic systems: Beyond differential-drive vehicles. Automatica152, 110972 (2023). [Google Scholar]
  • 16.Tran, N. S., Lai, K. L. & Dao, P. N. A novel model predictive control for an autonomous four-wheel independent vehicle. Int. J. Mechan. Eng. Robot. Res.13, 509–515 (2024). [Google Scholar]
  • 17.Deylami, A. & Izadbakhsh, A. FAT-based robust adaptive control of cooperative multiple manipulators without velocity measurement. Robotica40, 1732–1762 (2022). [Google Scholar]
  • 18.Izadbakhsh, A. & Nikdel, N. Robust adaptive control of cooperative multiple manipulators based on the Stancu-Chlodowsky universal approximator. Commun. Nonlinear Sci. Numer. Simul.10.1016/j.cnsns.2022.106471 (2022). [Google Scholar]
  • 19.Hosseini-Pishrobat, M. & Keighobadi, J. Extended state observer-based robust non-linear integral dynamic surface control for triaxial MEMS gyroscope. Robotica37, 481–501 (2019). [Google Scholar]
  • 20.Hosseini-Pishrobat, M., Keighobadi, J., Oveisi, A. & Nestorović, T. Robust linear output regulation using extended state observer. Math. Probl. Eng.2018, 1–12 (2018). [Google Scholar]
  • 21.de Castro, R., Araújo, R. E. & Freitas, D. Wheel slip control of evs based on sliding mode technique with conditional integrators. IEEE Trans. Industr. Electron.60, 3256–3271 (2013). [Google Scholar]
  • 22.Milani, S. et al. Smart autodriver algorithm for real-time autonomous vehicle trajectory control. IEEE Trans. Intell. Transp. Syst.23, 1984–1995 (2022). [Google Scholar]
  • 23.Guo, J., Luo, Y. & Li, K. Adaptive fuzzy sliding mode control for coordinated longitudinal and lateral motions of multiple autonomous vehicles in a platoon. Sci. Ch. Technol. Sci.60, 576–586 (2017). [Google Scholar]
  • 24.Mok, Y. M., Zhai, L., Wang, C., Zhang, X. & Hou, Y. A post impact stability control for four hub-motor independent-drive electric vehicles. IEEE Trans. Veh. Technol.71, 1384–1396 (2022). [Google Scholar]
  • 25.Utkin, V., Poznyak, A., Orlov, Y. & Polyakov, A. Conventional and high order sliding mode control. J. Franklin Inst.357, 10244–10261 (2020). [Google Scholar]
  • 26.Yu, X., Feng, Y. & Man, Z. Terminal sliding mode control—An overview. IEEE Open J. Ind. Electron. Soc.2, 36–52 (2021). [Google Scholar]
  • 27.Venkataraman, S. T. & Gulati, S. Control of nonlinear systems using terminal sliding modes. J. Dyn. Syst. Meas. Contr.115, 554–560 (1993). [Google Scholar]
  • 28.Zhihong, M., Paplinski, A. P. & Wu, H. R. A robust MIMO terminal sliding mode control scheme for rigid robotic manipulators. IEEE Trans. Autom. Control39, 2464–2469 (1994). [Google Scholar]
  • 29.Guo, G., Zhao, Z. & Zhang, R. Distributed trajectory optimization and fixed-time tracking control of a group of connected vehicles. IEEE Trans. Veh. Technol.72, 1478–1487 (2023). [Google Scholar]
  • 30.Wang, H. et al. Design and Implementation of adaptive terminal sliding-mode control on a steer-by-wire equipped road vehicle. IEEE Trans. Industr. Electron.63, 5774–5785 (2016). [Google Scholar]
  • 31.Shen, G., Xia, Y., Cui, B. & Huang, P. Integral terminal sliding-mode-based singularity-free finite-time tracking control for entry vehicle with input saturation. Aerosp. Sci. Technol.136, 108260 (2023). [Google Scholar]
  • 32.Ma, L., Mei, K. & Ding, S. Direct yaw-moment control design for in-wheel electric vehicle with composite terminal sliding mode. Nonlinear Dyn.111, 17141–17156 (2023). [Google Scholar]
  • 33.Ding, S. & Sun, J. Direct yaw-moment control for 4WID electric vehicle via finite-time control technique. Nonlinear Dyn.88, 239–254 (2017). [Google Scholar]
  • 34.Li, S. E., Deng, K., Li, K. & Ahn, C. Terminal sliding mode control of automated car-following system without reliance on longitudinal acceleration information. Mechatronics30, 327–337 (2015). [Google Scholar]
  • 35.Feng, Y., Yu, X. & Man, Z. Non-singular terminal sliding mode control of rigid manipulators. Automatica38, 2159–2167 (2002). [Google Scholar]
  • 36.Corradini, M. L. & Cristofaro, A. Nonsingular terminal sliding-mode control of nonlinear planar systems with global fixed-time stability guarantees. Automatica95, 561–565 (2018). [Google Scholar]
  • 37.Wu, Y., Wang, L., Zhang, J. & Li, F. Path following control of autonomous ground vehicle based on nonsingular terminal sliding mode and active disturbance rejection control. IEEE Trans. Veh. Technol.68, 6379–6390 (2019). [Google Scholar]
  • 38.Sun, X. et al. Nonsingular terminal sliding mode-based direct yaw moment control for four-wheel independently actuated autonomous vehicles. IEEE Trans. Transport. Electrif.9, 2568–2582 (2023). [Google Scholar]
  • 39.Zhang, J. et al. Active front steering-based electronic stability control for steer-by-wire vehicles via terminal sliding mode and extreme learning machine. IEEE Trans. Veh. Technol.69, 14713–14726 (2020). [Google Scholar]
  • 40.Mousavinejad, E., Han, Q.-L., Yang, F., Zhu, Y. & Vlacic, L. Integrated control of ground vehicles dynamics via advanced terminal sliding mode control. Veh. Syst. Dyn.55, 268–294 (2017). [Google Scholar]
  • 41.Guo, J., Luo, Y. & Li, K. An adaptive hierarchical trajectory following control approach of autonomous four-wheel independent drive electric vehicles. IEEE Trans. Intell. Transport. Syst.19, 2482–2492 (2018). [Google Scholar]
  • 42.Mata, S., Zubizarreta, A. & Pinto, C. Robust tube-based model predictive control for lateral path tracking. IEEE Trans. Intell. Veh.4, 569–577 (2019). [Google Scholar]
  • 43.Sabbioni, E., Bao, R., Cheli, F. & Tarsitano, D. A particle filter approach for identifying tire model parameters from full-scale experimental tests. J. Mechan. Des.139, 021403 (2017). [Google Scholar]
  • 44.Zhihong, M. & Yu, X. Adaptive terminal sliding mode tracking control for rigid robotic manipulators with uncertain dynamics. JSME Int. J. Ser. C40, 493–502 (1997). [Google Scholar]
  • 45.Keighobadi, J., Mohammadian KhalafAnsar, H. & Naseradinmousavi, P. Adaptive neural dynamic surface control for uniform energy exploitation of floating wind turbine. Appl. Energy316, 119132 (2022). [Google Scholar]
  • 46.Keighobadi, J., Hosseini-Pishrobat, M. & Faraji, J. Adaptive neural dynamic surface control of mechanical systems using integral terminal sliding mode. Neurocomputing379, 141–151 (2020). [Google Scholar]
  • 47.Moghanni-Bavil-Olyaei, M. R., Keighobadi, J., Ghanbari, A. & Olegovna Zekiy, A. Passivity-based hierarchical sliding mode control/observer of underactuated mechanical systems. J. Vib. Control29, 3096–3111 (2023). [Google Scholar]
  • 48.Yu, X. & Zhihong, M. Fast terminal sliding-mode control design for nonlinear dynamical systems. IEEE Trans. Circuits Syst. I Fundam. Theory Appl.49, 261–264 (2002). [Google Scholar]
  • 49.Falcone, P., Borrelli, F., Asgari, J., Tseng, H. E. & Hrovat, D. Predictive active steering control for autonomous vehicle systems. IEEE Trans. Control Syst. Technol.15, 566–580 (2007). [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Data is provided within the manuscript.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES