Neural Network Approach Super-Twisting Sliding Mode Control for Path-Tracking of Autonomous Vehicles

: This paper proposes a neural network approach adaptive super-twisting sliding mode control algorithm for autonomous vehicles. An adaptive and robust control algorithm in autonomous vehicles is needed to compensate for disturbance and parametric uncertainty from the variable environment and vehicle conditions. The sliding mode control (SMC) is a robust controller that compensates for robust and reasonable control performance against disturbance and parametric uncertainty. However, the inherent limitation of the sliding mode control, namely the chattering phenomenon, has a negative effect on the system. Additionally, when the disturbance exceeds the deﬁned boundaries, the control stability is compromised. To overcome these limitations, this study incorporates the radial basis function neural network (RBFNN) and Lyapunov function to estimate disturbance and parametric uncertainty. The estimated disturbance is reﬂected in the super-twisting sliding mode control (STSMC) to reduce the chattering phenomenon and achieve enhanced robust performance. The performance evaluation of the proposed neural network approach control algorithm is conducted using the double lane change (DLC) scenario and rapid path-tracking (RPT) scenario, implemented in the CarMaker and Matlab/Simulink environments, respectively.


Introduction
In recent years, automated and intelligent systems have been developed and implemented across various industries to enhance user convenience and safety.This trend has also influenced the automotive industry, where extensive research on various autonomous driving technologies is being conducted worldwide to achieve high efficiency and performance.Autonomous driving control techniques can be divided into longitudinal and lateral controls, with implications for driving stability and driving comfort.The lateral control is closely related to path-tracking problems and uses independent driving and steering systems, with steer-by-wire (SBW) and drive-by-wire (DBW) systems.Various control theories are being developed and applied for the chassis control of autonomous vehicles, with classic control, modern control, and learning-based control algorithms being actively researched in universities and research institutions.Saruchi et al. (2020) proposed a fuzzy proportional-integral-derivative (PID) control for motion sickness (MS) minimization control structure that adopted the interaction of lateral acceleration and the head tilt concept to minimize MS [1].Kebbati et al. (2021) implemented an adaptive PID control using a genetic algorithm and neural network approaches for longitudinal control in autonomous vehicles [2].Azar et al. (2019) applied a PID control for automated parking and utilized the particle-swarm optimization (PSO) method for tuning the appropriate gain values [3].Max et al. (2018) considered uncertainties in autonomous vehicles using the SBW system and evaluated the performance using the robust H-infinity control through hardware-in-the-loop-simulation (HILS) [4].Guo et al. (2020) proposed a robust H-infinity fault-tolerant state feedback lateral control algorithm to compensate for the steering-wheel failure of an autonomous vehicle with a four-wheel independent steering system and to secure path-tracking performance [5].Li et al. (2017) presented a distributed H-infinity control for platooning in autonomous vehicles, ensuring robust stability, tracking performance, and heterogeneous string stability [6].Park et al. (2021) proposed a control method for self-driving cars that enables drift maneuvers for fast cornering.Park's proposed feedback control algorithm was designed using a linear quadratic regulator (LQR) to track a circular trajectory and maintain the drift equilibrium state [7].Guo et al. (2021) applied extended state observer (ESO)-based LQR for the path following an autonomous bus.The ESO was utilized to estimate the dynamics and model uncertainties of the bus in real time, with the estimated disturbance being incorporated into the LQR for path tracking [8].Gonschorek et al. (2022) proposed modeling, control synthesis, control loop analysis, and vehicle performance evaluation for position control of the front-axle actuator of the SBW system.To control of the SBW system, a linear quadratic Gaussian control was designed using a linearized model of the SBW system [9].Lee et al. (2019) introduced an adaptive q-matrix-based linear quadratic Gaussian (LQG) control algorithm for path tracking in autonomous vehicles, aiming to minimize errors and noise in localization and path planning.To confirm the performance of Lee's proposed control algorithm, it was compared with pure pursuit and the Stanley method [10].Peng et al. (2020) proposed a model predictive control (MPC) with a finite time horizon for path tracking and direct yaw moment control (DYC) implementation in four-wheeled autonomous driving vehicles [11].Wang et al. (2021) utilized recursive least squares (RLS) to estimate cornering stiffness, which incorporates time-varying uncertainties, in real time for path tracking in autonomous vehicles equipped with a four-wheel independent driving system.The estimated parameters were then used to design an adaptive model predictive control (AMPC) [12].Chen et al. (2020) designed an MPC to ensure autonomous vehicle path-tracking performance and handling stability in extreme conditions by considering multiple constraint conditions [13].Pang et al. (2022) presented a linear time-varying model predictive control (LTV-MPC) approach based on a vehicle kinematic model for autonomous path tracking [14].Cheng et al. (2020) proposed a linear matrix inequality model predictive control (LMI-MPC) to compensate for the performance degradation caused by parametric uncertainty and time-varying factors [15].To ensure path-tracking performance, various control algorithms, such as classical control, robust control, optimal control, and predictive control, have been applied [1][2][3][4][5][6][7][8][9][10][11][12][13][14][15].The disturbances and uncertainties that can affect autonomous vehicles, such as tire nonlinearity, vehicle parameters, and sensor noise, lead to performance degradation.Therefore, various adaptive algorithms based on learning and estimation techniques have been proposed to compensate for the control performance of autonomous vehicles.These adaptive algorithms involve the real-time tuning of control gains or the estimation of parameters that incorporate disturbance and parametric uncertainty in the system [2,3,7,10,12].Liang et al. (2020) proposed a variable-speed method based on sliding mode and a second-order quasi-continuous (QC) method based on the path-tracking algorithm considering the friction limit of the road surface, for clothoid-based path-tracking [16].Tagne et al. (2013) proposed a high-order sliding mode control (HOSMC) for the lateral control of autonomous vehicles.HOSMC was proposed to reduce the chattering phenomenon, a limitation of SMC, while utilizing the robustness of SMC against model nonlinearity and parametric uncertainty [17].Wang et al. (2016) proposed an adaptive sliding mode control (ASMC) with a Takagi-Sugeno (T-S) fuzzy model to account for the changing cornering stiffness in extreme handling situations and to represent the tire nonlinearity and the nonlinearity of the control input [18].Ferrara et al. (2019) presented an adaptive optimization-based second-order sliding mode control (SOSMC) to ensure finite time convergence and robust control in uncertain nonlinearities in autonomous vehicles while minimizing control effort [19].Hu et al. (2016) proposed a super-twisting algorithm (STA)-based integral sliding mode control (ISMC) for the path-following control of a four-wheel independent-driving autonomous vehicle through active front steering (AFS) and DYC [20].Xu et al. (2017) proposed a model-free adaptive sliding mode control (MF-ASMC) for the parking systems of autonomous vehicles, incorporating the online identification of the object model and constraints on control inputs based on data-driven techniques [21].Bei et al. (2022) presented an integrated adaptive preview control with SOSMC for path-tracking autonomous vehicles, comparing its performance with MPC [22].Rivera et al. (2011) described the application of the STA in motion-control systems to compensate for performance degradation caused by the chattering phenomenon, a limitation of SMC [23].Kang et al. (2017) proposed a lateral control algorithm for the lanekeeping of autonomous vehicles by estimating lateral velocity based on a second-order linear dynamic model and utilizing backstepping [24].Ao et al. (2021) developed a super-twisting sliding mode control (STSMC) based on Lyapunov theory to achieve robust path tracking and reduce the chattering phenomenon in autonomous vehicles, demonstrating the stability of the control system through the application of backstepping [25].Norouzi et al. (2019) designed the backstepping-based SMC, defined the Lyapunov function, and proved its stability.Norouzi's proposed control algorithm confirmed reasonable performance compared with the backstepping control at low road friction [26].Wang et al. (2019) proposed a vehicle-road system model and designed a backstepping-based SMC, robust to disturbance and time-varying factors, for autonomous vehicles [27].SMC is a robust control against disturbance and parametric uncertainty.However, it can cause system overload and failure due to the chattering phenomenon [17,23,25].In addition, it has a limitation that control stability is lost due to excessive nonlinearity in the system [16][17][18].To overcome these limitations, various control methods have been proposed, such as SMC, SOSMC, and HOSMC with backstepping [16][17][18][19][20][21][22][23][24][25][26][27].Wang et al. (2019) proposed SMC based on RBFNN to reduce the speed tracking error and chattering phenomenon in the longitudinal control of autonomous vehicles [28].Sun et al. (2020) presented an integrated terminal sliding mode control (ITSMC) based on neural networks for collision avoidance steering control in autonomous vehicles.RBFNN was utilized to approximate the upper bound of system uncertainties online without requiring prior knowledge, thereby achieving robust control performance [29].In another work by Sun et al. (2022) the authors proposed a dual-hidden-layer output feedback neural network for the fast nonsingular terminal sliding mode control (FNTSMC) The proposed control algorithm for autonomous lateral control utilized a neural network model to estimate parametric uncertainties and achieved robust control performance [30].Swain et al. (2021) addressed the chattering phenomenon in SMC and reduced the impact of external disturbance by using RBFNN to estimate the equivalent control input, along with proposing a high-order sliding mode-based switching control algorithm [31].Ji et al. (2018) proposed a robust lateral control algorithm and a neural network approximator to maintain yaw stability in autonomous vehicles, considering the tire's nonlinearity and external disturbance under various driving conditions [32].Negash et al. (2022) proposed platoon control using an adaptive radial basis function neural network (ARBFNN)-based SMC to track the course and optimal speed of an autonomous vehicle [33].Chen et al. (2021) constructed a vehicle control architecture for autonomous lateral control by combining deep reinforcement learning (DRL) with proximal policy optimization (PPO) and pure pursuit [34].Zhang et al. (2018) proposed a double Q-learning-based reinforcement learning approach for longitudinal speed control in vehicles using naturalistic driving data, demonstrating reasonable control performance compared to a deep Q-learning algorithm [35].Ma et al. (2018) enhanced and improved the existing game theory framework by adding noncompetitive incentives to dynamically adjust the disturbance magnitude and evaluated the efficiency and safety tradeoff for autonomous driving [36].Kwon et al. (2022) proposed a lateral control methodology for autonomous vehicles that utilizes behavior cloning through an end-to-end learning system, making use of the driver data.Their proposed control algorithm was evaluated through various simulator environments [37].Chai et al. (2022) proposed a real-time trajectory planning and tracking framework for autonomous vehicles.To approximate the optimal parking trajectory, motion planning was performed using a deep neural network (DNN) using a recurrent neural network (RNN) structure [38].Tang et al. (2022) proposed a weight adaptation model predictive control system using a particle-swarm optimization back-propagation (PSO-BP) neural network to follow the path of an autonomous vehicle at various vehicle speeds and curvatures [39].Huang et al. (2023) proposed a differentiable integrated prediction and planning framework that utilizes neural networks to predict the future state of nearby traffic participants, safe trajectories, and path planning for autonomous vehicles [40].Wang et al. (2022) collected data by establishing a driving environment with an autonomous vehicle and a human driver for the car-following behavior of autonomous vehicles and performed velocity control using a soft actor-critic (SAC) algorithm [41].Zhang et al. (2022) proposed a receding horizon reinforcement learning approach for the kino-dynamic motion planning (RHRL-KDP) of autonomous vehicles in the presence of inaccurate dynamics information and moving obstacles [42].Xiao et al. (2023) applied the deep Koopman operator for the nonlinear dynamic modeling of an autonomous vehicle and designed a linear model predictive control based on the resulting model to perform longitudinal and lateral control [43].Shi et al. (2022) propose a deep reinforcement learning (DRL)-based distributed longitudinal control strategy for connected and automated vehicles under communication failure to stabilize traffic oscillations [44].Geng et al. proposed a neural network predictive control algorithm based on a back-propagation neural network using PSO with fitnessallocating inertia weights and examined the autonomous driving path-following problem in high-speed turning conditions [45].Various research studies have been conducted on learning-based control algorithms, including artificial neural networks (ANN), RNN, DNN, and DRL.In addition, various studies, including path planning and end-to-end neural networks, have been conducted [38,40,42].As can be seen in this control approach, it was confirmed that the predetermination of the parameters constituting the neural network was important, as was the identification of the appropriate training dataset for neural network learning [25][26][27][28][29][30][31][32][33][34][35]37,39,41,[43][44][45].RBFNN has been proposed in various methodologies to compensate for system disturbance and parametric uncertainty, as well as to address the chattering phenomenon in sliding mode controllers [28][29][30][31][32][33].
The definition of a mathematical model representing the physical characteristics of the system is crucial for achieving reasonable control performance with sliding mode controllers.However, there is a limitation when applying an unreasonable mathematical model along with the previously mentioned chattering phenomenon and excessive disturbances, which can lead to the loss of control stability.To overcome these limitations, methodologies have been proposed that combine fuzzy logic and ANN to estimate disturbances in control systems and enhance control performance.Among these, RBFNN stands out for its simplicity and ease of design [46].STSMC has been developed to enhance the robustness of sliding mode controllers and reduce the chattering phenomenon [24,25].For achieving reasonable and safe autonomous driving, defining the mathematical model of the system, and determining appropriate control gain values are essential.In this study, to approach the path-tracking method in autonomous vehicles with more robustness and adaptation, a learning-based robust control algorithm was proposed.This control algorithm contains the STSMC, which offers higher robustness and reduces chattering attenuation compared to SMC, with the RBFNN for estimating parametric uncertainty and disturbances.The contributions of the proposed research are outlined below:

•
The STSMC is proposed for the robust path-tracking of autonomous vehicles.This controller is utilized to reduce chattering and improve driving stability.The stability proof of the proposed controller is proven using the Lyapunov method, and conditions for the control gain values are derived.

•
RBFNN is designed to estimate parametric uncertainties and disturbances in autonomous vehicles.By using the Lyapunov method, the RBFNN is combined with the STSMC, ensuring parameter estimation and stability proof.
• By using estimated parameters, including parametric uncertainties and disturbances, the steering control input is adaptively adjusted in real time with the control gain.This adaptive rule ensures effective responses to variations in system dynamics and uncertainties.

Neural Network Approach Super-Twisting Sliding Mode Control
Figure 1 presents the overall block diagram of the proposed neural network approach super-twisting sliding mode control (NN-STSMC) for the autonomous driving path tracking in this study.To design the proposed control algorithm, a sliding surface is constructed based on the lateral error and the yaw-rate error, derived from the vehicle dynamic model.The control input is determined by utilizing the robust term and the steering-wheel input on the sliding surface, satisfying the Lyapunov negative definite condition.To account for disturbance and uncertainty in vehicle conditions, the parameters are estimated in real time using the RBFNN and the Lyapunov function.The estimated parameters are then reflected in the control gains and control input terms to ensure the Lyapunov stability conditions.In the following section, the derivation process of the vehicle's lateral error dynamics model is described.
Electronics 2023, 12, x FOR PEER REVIEW 5 of 25 • RBFNN is designed to estimate parametric uncertainties and disturbances in autonomous vehicles.By using the Lyapunov method, the RBFNN is combined with the STSMC, ensuring parameter estimation and stability proof.

•
By using estimated parameters, including parametric uncertainties and disturbances, the steering control input is adaptively adjusted in real time with the control gain.This adaptive rule ensures effective responses to variations in system dynamics and uncertainties.

Neural Network Approach Super-Twisting Sliding Mode Control
Figure 1 presents the overall block diagram of the proposed neural network approach super-twisting sliding mode control (NN-STSMC) for the autonomous driving path tracking in this study.To design the proposed control algorithm, a sliding surface is constructed based on the lateral error and the yaw-rate error, derived from the vehicle dynamic model.The control input is determined by utilizing the robust term and the steering-wheel input on the sliding surface, satisfying the Lyapunov negative definite condition.To account for disturbance and uncertainty in vehicle conditions, the parameters are estimated in real time using the RBFNN and the Lyapunov function.The estimated parameters are then reflected in the control gains and control input terms to ensure the Lyapunov stability conditions.In the following section, the derivation process of the vehicle's lateral error dynamics model is described.

Vehicle Lateral Error Dynamics Model
This section explains a description of the derivation of the lateral error dynamic model.Figure 2 presents the vehicle's lateral motion using a linear 2-DOF vehicle-dynamics model.The lateral and yaw dynamics models based on Newton's second law can be designed as Equations ( 1) and ( 2), respectively.In Equation ( 1),  represents the acceleration in the y-axis direction, while   represents the centripetal acceleration.

𝑚(𝑦 + 𝑣
where ,  , and  represent the lateral position, longitudinal velocity, and yaw angle, respectively.The parameters ,  ,  , and  denote the vehicle's mass, yaw inertia, and distances from the vehicle's center of mass to the front and rear axes, respectively. and  correspond to front-wheel lateral tire force and rear-wheel lateral tire force,

Vehicle Lateral Error Dynamics Model
This section explains a description of the derivation of the lateral error dynamic model.Figure 2 presents the vehicle's lateral motion using a linear 2-DOF vehicle-dynamics model.The lateral and yaw dynamics models based on Newton's second law can be designed as Equations ( 1) and ( 2), respectively.In Equation ( 1 where y, v x , and ψ represent the lateral position, longitudinal velocity, and yaw angle, respectively.The parameters m, I z , l f , and l r denote the vehicle's mass, yaw inertia, and distances from the vehicle's center of mass to the front and rear axes, respectively.F y f and F yr correspond to front-wheel lateral tire force and rear-wheel lateral tire force, respectively.The expressions for F y f and F yr in Equations ( 1) and ( 2) involve the front and rear cornering stiffness coefficients C f and C r , the wheel slip angles α f and α r , and the wheel steering angle δ f . (3) The derivatives of the lateral error,  , and the yaw-rate error,  , can be defined through Equations ( 7) and ( 8), respectively.By using Equations ( 1)-( 4), (7), and (8), the lateral error dynamics model can be derived as Equation ( 9) and the yaw-rate error dynamics model can be derived through Equation (10).
In the next section, a super-twisting sliding mode control with satisfying Lyapunov stability condition.

Super-Twisting Sliding Mode Control
The sliding surface is designed with λ, representing the convergence of the sliding surface to minimize the lateral error and yaw-rate error.The desired yaw rate, .ψ des , can be formulated using the longitudinal velocity v x and the turning radius.The turning radius, R, is the reciprocal of the curvature, κ, of the driving path and can be expressed in terms of lateral velocity and lateral acceleration. .
In the next section, a super-twisting sliding mode control with satisfying Lyapunov stability condition.

Super-Twisting Sliding Mode Control
The sliding surface is designed with λ, representing the convergence of the sliding surface to minimize the lateral error and yaw-rate error.σ = .e y + λe ψ (11) To derive the control input, the derivative of the sliding surface is calculated using Equation (11), which is obtained through Equation ( 12).In this case, Equation ( 9) is reflected in the derivative of the sliding surface. .
In Equation ( 12), the parameters B eq and F eq represent the disturbance and parametric uncertainty.The rearranged derivative of the sliding surface, as shown in Equation ( 13), is expressed as Equations ( 14) and ( 15) for B eq and F eq , respectively. . .
. s = 0, the control input is derived to use the equivalent front-wheel angle input and the robust control input.The robust control inputs are designed as Equations ( 17) and ( 18) as follows: .
In Equations ( 17) and ( 18), a saturation function is applied to attenuate the chattering phenomenon, which is shown in Equation (19).
To establish the stability proof and derive the control gain of the robust control term, References [23,47] were consulted in this study.The details of this analysis are presented in Theorem 1.
Theorem 1. Lyapunov stability proof of super-twisting sliding mode control.
In Equation (13), the derivative of the sliding surface incorporates B eq and F eq , which denote disturbances and parametric uncertainties.It is assumed that F eq < C|σ| 1/2 and C > 0. By defining the wheel-angle input and robust control input as the equivalent control input, Equation ( 13) can be expressed as B eq δ f + λ .e ψ = u, as shown in Equations ( 20) and (21). . .
The Lyapunov function for stability proof can be expressed in quadratic form.
In the given formulation, the state vector, ξ T is defined as ξ T = |σ| 1 2 sign(σ) v .The derivative of the Lyapunov function is as follows: .
q T 1 ξ (24) Applying the limits to the perturbations given in Reference [36], the derivative of the Lyapunov function can be expressed as. .
To satisfy the negative definite condition for the derivative of the Lyapunov function, an eta-reachability condition was incorporated, and the control gains can be derived.

Neural Network Approach Online Parametric Uncertainty Estimation
Figure 3 describes the structure of an RBFNN applied for the online estimation of parameters B eq and F eq , which include disturbances and parametric uncertainties.The RBFNN used in this study was referenced in [48].The RBFNN is composed of an input layer, a hidden layer, and an output layer.In this case, the input to the RBFNN consisted of the lateral error and its rate of change, denoted as x j = e y , .e ψ .The hidden layer consisted of five nodes with Gaussian kernels applied.The hidden layer can be expressed as shown in Equation (30) and the RBFNN approximation for B eq and F eq can be expressed as shown in Equation (31).
where the hidden layer output is h j , with j representing the number of hidden layer nodes.The parameters b j and c j represent the mean and the variance of the Gaussian function, respectively.It is important to determine appropriate predefined values for b j and c j , as predefined values significantly influence the effectiveness of mapping using gaussian functions and the rationality of real-time estimated output.The matrices W and V represent the weights matrices of the RBFNN and f ( f < f n ) and b ( b < bn ) represent the approximation errors of the RBFNN.To estimate the disturbance and parametric uncertainty in Equation ( 16), the control input can be derived using Equation (32) and redefined as shown in Equation (33).

Simulation-based Performance Evaluation
To evaluate the performance of the proposed NN-STSMC, it was applied to ferent scenarios: the DLC scenario and the RPT scenario.These evaluations con different road friction coefficients, specifically  = 0.6 (wet asphalt) and  = 1.0 phalt) [49].To compare the performances of the proposed control algorithm, NNwith other control algorithms, the conventional sliding mode control (CSMC) and were also considered.The proposed control algorithm, NN-STSMC, and CS STSMC were constructed in the Matlab/Simulink R2021a environment and sim based performance evaluations were conducted using CarMaker 11.1, a vehicle-d simulation software [50].Figure 4 presents the model schematics for evaluating formance of the proposed control algorithm and Table 1 provides detailed speci of the vehicle used for the performance evaluation.Table 2 presents   In Equation (32), Ŵ and V represent the estimated weighting matrices.The estimation error is defined using Equations ( 31) and (32), which correspond to Equations ( 34) and (35).
The matrices W = Ŵ − W and Ṽ = V − V are calculated using the estimated weighting matrices ( Ŵ and V) and the weighting matrices (W and V), respectively.The derivative of the sliding surface was rearranged using Equations ( 33)- (35). .
To estimate Ŵ and V and establish stability, a Lyapunov function-based objective function is utilized.The form of the objective function is as follows: where γ 1 and γ 2 represent positive coefficients.The derivative of the objective function L can be expressed as follows: .
Then, if the approximation errors f and b are sufficiently small, the condition .
L ≤ 0 can be satisfied with u ≥ f + b δ f .Beq and Feq are reflected in Equations ( 16)-( 18) to derive online-tuned control gain values k 1 and k 2 .
The next section describes the performance evaluation in various scenarios and environmental conditions based on simulation.

Simulation-Based Performance Evaluation
To evaluate the performance of the proposed NN-STSMC, it was applied to two different scenarios: the DLC scenario and the RPT scenario.These evaluations considered different road friction coefficients, specifically µ = 0.6 (wet asphalt) and µ = 1.0 (dry asphalt) [49].To compare the performances of the proposed control algorithm, NN-STSMC, with other control algorithms, the conventional sliding mode control (CSMC) and STSMC were also considered.The proposed control algorithm, NN-STSMC, and CSMC and STSMC were constructed in the Matlab/Simulink R2021a environment and simulation-based performance evaluations were conducted using CarMaker 11.1, a vehicle-dynamics simulation software [50].Figure 4 presents the model schematics for evaluating the performance of the proposed control algorithm and Table 1 provides detailed specifications of the vehicle used for the performance evaluation.Table 2 presents the control parameters of CSMC, STSMC, and NN-STSMC applied in each scenario.The influence corresponding to the magnitude of the proposed control gain values can be expressed as follows.The parameter λ represents the level of convergence for the sliding surface.Decreasing λ leads to slower convergence while increasing it results in faster convergence.Parameters η 1 and η 2 represent the margin disturbance boundary region within the control gain value.Deciding on the relatively larger values of η 1 and η 2 tends to amplify the magnitude of the control input.γ 1 and γ 2 , on the other hand, serve as factors to adjust the rate of change for the neural network's weighting factor.Higher values of γ 1 or γ 2 lead to an increased rate of the weighting factor.And α is a control parameter for sliding mode control and represents finite time convergence.As shown in Table 2, the control parameters of CSMC and STSMC correspond to various scenarios and road coefficients.These specific control gain values were established through an iterative trial-and-error procedure.In Section 3.1, the evaluation results for the DLC scenario are described and Section 3.2 presents the evaluation results for the RPT scenario.

Performance Evaluation Results in the Double Lane-Change Scenario
Figure 5 represents the applied DLC scenario for performance evaluation purposes.In the DLC scenario, ISO 3888-1 [51], the desired lateral position is designed to vary from 0 to 3.5 m according to the longitudinal position.To confirm the chattering phenomenon of the proposed NN-STSMC, SMC, and STSMC, a relatively low v x of 30 kph was employed.
Figures 6-11 present the performance evaluation results of the double lane-change scenario for the µ value of 0.6 and 1.0.Figure 6 shows the trajectories of autonomous vehicles for all cases in the double lane-change scenario.Figure 6b shows that the proposed NN-STSMC tracks the desired path more accurately than the relative STSMC and CSMC under various road conditions.As can be seen in Figure 6b, the lower the µ value, the larger the overshoot phenomenon in the autonomous vehicle trajectory.In addition, in the case of CSMC, it was confirmed that the mentioned phenomenon appeared more significantly.However, when NN-STSMC was applied, it confirmed that the alteration in control performance attributed to variations in the µ value was comparatively minimal, in contrast to CSMC and STSMC.Figures 7 and 8 show the control inputs and real-time determined control gains k 1 and k 2 , respectively, in curved road sections.Figure 7 illustrates the control input and it can be confirmed that the NN-STSMC effectively reduces the relative chattering phenomenon and overshoot.In addition, in the case of CSMC and STSMC, the tuning of the control gains value was required, depending on the road conditions.This can be seen in Table 2.However, it was possible to confirm the limitations of predefined η 1 and η 2 by influencing the control performance.Figure 9 shows the estimated weighting matrices Ŵ and V.As can be seen in Figure 9, it was confirmed that the transient section tends to change relatively more than the steady state section.Figures 10 and 11 present the e y , .e ψ , σ, and a y , respectively.As shown in Figures 10 and 11, it was confirmed that NN-STSMC achieves faster convergence and reduces the chattering phenomenon compared to CSMC and STSMC.Also, as shown in the yaw change rate error, lateral error, and lateral acceleration graphs, it was confirmed that when NN-STSMC was applied, the chattering phenomenon had the smallest value in the steady state section.However, .e ψ , σ, and a y increased overshoot compared to CSMC and STSMC.Figures 6-11 present the performance evaluation results of the double lane-change scenario for the  value of 0.6 and 1.0.Figure 6 shows the trajectories of autonomous vehicles for all cases in the double lane-change scenario.Figure 6b shows that the proposed NN-STSMC tracks the desired path more accurately than the relative STSMC and CSMC under various road conditions.As can be seen in Figure 6b, the lower the  value, the larger the overshoot phenomenon in the autonomous vehicle trajectory.In addition, in the case of CSMC, it was confirmed that the mentioned phenomenon appeared more significantly.However, when NN-STSMC was applied, it confirmed that the alteration in control performance attributed to variations in the  value was comparatively minimal, in contrast to CSMC and STSMC.Figures 7 and 8 show the control inputs and real-time determined control gains  and  , respectively, in curved road sections.Figure 7 illustrates the control input and it can be confirmed that the NN-STSMC effectively reduces the relative chattering phenomenon and overshoot.In addition, in the case of CSMC and STSMC, the tuning of the control gains value was required, depending on the road conditions.This can be seen in Table 2.However, it was possible to confirm the limitations of predefined  and  by influencing the control performance.Figure 9 shows the estimated weighting matrices  and  .As can be seen in Figure 9, it was confirmed that the transient section tends to change relatively more than the steady state section.Figures 10 and 11 present the  ,  , , and  , respectively.As shown in Figures 10 and 11, it was confirmed that NN-STSMC achieves faster convergence and reduces the chattering phenomenon compared to CSMC and STSMC.Also, as shown in the yaw change rate error, lateral error, and lateral acceleration graphs, it was confirmed that when NN-STSMC was applied, the chattering phenomenon had the smallest value in the steady state section.However,  , , and  increased overshoot compared to CSMC and STSMC.

(a)
Estimated weight matrices W, =1.As can be seen in the graph showing , when NN-STSMC is applied, the peak value of the  occurs in both the transition region and the steady state region.Table 3 provides the root mean square (RMS) and maximum values of  and  for all cases in the DLC scenario.As shown in Table 3, when NN-STSMC is employed, it has the smallest RMS values for both  and  .However, in the case of  , NN-STSMC showed the largest maximum value.Table 4 shows the simulation time and execution time for the computational complexity calculation in the DLC scenario when using CarMaker and Matlab/Simulink.Here, simulation time represents the simulation time for each scenario and the execution time for calculating the computational complexity of CarMaker and Matlab/Simulink during simulation.Execution times were calculated using Matlab software provided by Tic-Toc.As shown in Table 4, the relative computational complexity increases as the value of μ decreases.In addition, it was confirmed that the computational complexity increased compared to other controllers when NN-STSMC was applied. (a) Estimated weight matrices V, As can be seen in the graph showing , when NN-STSMC is applied, the peak value of the  occurs in both the transition region and the steady state region.Table 3 provides the root mean square (RMS) and maximum values of  and  for all cases in the DLC scenario.As shown in Table 3, when NN-STSMC is employed, it has the smallest RMS values for both  and  .However, in the case of  , NN-STSMC showed the largest maximum value.Table 4 shows the simulation time and execution time for the computational complexity calculation in the DLC scenario when using CarMaker and Matlab/Simulink.Here, simulation time represents the simulation time for each scenario and the execution time for calculating the computational complexity of CarMaker and Matlab/Simulink during simulation.Execution times were calculated using Matlab software provided by Tic-Toc.As shown in Table 4, the relative computational complexity increases as the value of μ decreases.In addition, it was confirmed that the computational complexity increased compared to other controllers when NN-STSMC was applied.

(a)
Estimated weight matrices V, =1.As can be seen in the graph showing σ, when NN-STSMC is applied, the peak value of the σ occurs in both the transition region and the steady state region.Table 3 provides the root mean square (RMS) and maximum values of e y and e .
ψ for all cases in the DLC scenario.As shown in Table 3, when NN-STSMC is employed, it has the smallest RMS values for both e y and e .
ψ .However, in the case of e .ψ , NN-STSMC showed the largest maximum value.Table 4 shows the simulation time and execution time for the computational complexity calculation in the DLC scenario when using CarMaker and Matlab/Simulink.Here, simulation time represents the simulation time for each scenario and the execution time for calculating the computational complexity of CarMaker and Matlab/Simulink during simulation.Execution times were calculated using Matlab software provided by Tic-Toc.As shown in Table 4, the relative computational complexity increases as the value of µ decreases.In addition, it was confirmed that the computational complexity increased compared to other controllers when NN-STSMC was applied.Figure 12 represents the applied RPT scenario employed for performance evaluation purposes.The rapid path-tracking scenario is designed with a lateral position ranging from 0 to 30 m based on the longitudinal position, with a constant longitudinal speed of 60 kph applied.Figures 13-18 showcase the evaluation results of the rapid path-tracking scenario.Figure 13 represents the trajectory of an autonomous vehicle in an RPT scenario.Figure 13b shows the path-tracking performance in the curved section.As can be seen in the graph, the results, like those in Figure 6, as seen in Section 3.1, are shown and, when NN-STSMC was applied, it was confirmed that the control performance was relatively reasonable compared to other controllers.Figures 14 and 15 represent the control inputs and control gains, respectively.As shown in Figure 14, there is a noticeable distinction in the chattering phenomenon among CSMC, STSMC, and NN-STSMC when the road condition is set to 0.6, compared to 1.0.Figure 12 represents the applied RPT scenario employed for performan purposes.The rapid path-tracking scenario is designed with a lateral po from 0 to 30 m based on the longitudinal position, with a constant longitud 60 kph applied.Figures 13-18 showcase the evaluation results of the rapid scenario.Figure 13 represents the trajectory of an autonomous vehicle in an Figure 13b shows the path-tracking performance in the curved section.As the graph, the results, like those in Figure 6, as seen in Section 3.1, are show NN-STSMC was applied, it was confirmed that the control performance reasonable compared to other controllers.Figures 14 and 15 represent the and control gains, respectively.As shown in Figure 14, there is a noticeable the chattering phenomenon among CSMC, STSMC, and NN-STSMC when dition is set to 0.6, compared to 1.0.Figure 16 shows weighting matrices  and  estimated from the RPT scenario.As can be seen in the graph, it was confirmed that the matrices had relatively large values in the transient section, as shown in Figure 9. Figure 17 represents the  and  and Figure 18 shows the sliding surface and lateral acceleration in the RPT scenario.Table 5 shows Estimated weight matrices V, =0.6 trol performance.However, in  and , excessive overshoot is displayed in the curvature and transient sections when NN-STSMC is applied.To overcome these limitations, the application of an adaptation to the parameter λ, which represents the convergence of the , is considered.Table 6 presents the simulation time and execution for computational complexity in the RPT scenario.As shown in Tables 4 and 6, in both scenarios, the computational complexity increases when using NN-STSMC or when the value of  is of low value.Figure 16 shows weighting matrices Ŵ and V estimated from the RPT scenario.As can be seen in the graph, it was confirmed that the matrices had relatively large values in the transient section, as shown in Figure 9. Figure 17 represents the e y and e .
ψ and Figure 18 shows the sliding surface and lateral acceleration in the RPT scenario.Table 5 shows the error distribution in the rapid path-tracking scenario.The results in Table 5 showed a similar trend to Table 3 and it was confirmed that the proposed NN-STSMC had the smallest RMS value and the maximum value in e y and e .
ψ in all cases.Like Table 3, Table 5 exhibits a similar inclination.As shown in the e y graph, RMS has relatively low values in NN-STSMC.Additionally, when µ = 0.6, it can be confirmed that CSMC and STSMC experience performance degradation, whereas NN-STSMC shows minimal impacts on control performance.However, in e .
ψ and σ, excessive overshoot is displayed in the curvature and transient sections when NN-STSMC is applied.To overcome these limitations, the application of an adaptation to the parameter λ, which represents the convergence of the σ, is considered.Table 6 presents the simulation time and execution for computational complexity in the RPT scenario.As shown in Tables 4 and 6, in both scenarios, the computational complexity increases when using NN-STSMC or when the value of µ is of low value.As shown in Sections 1 and 2, which show the performance evaluation results through various road surfaces and scenarios when the proposed NN-STSMC is applied for path tracking in autonomous vehicles, the chattering phenomenon reduction and robustness in transient and steady state sections performance can be confirmed.

Conclusions
In this study, the neural network approach super-twisting sliding mode control algorithm was proposed for path tracking in autonomous vehicles.RBFNN and STSMC were employed to compensate for disturbances and parametric uncertainty in autonomous vehicles and reduce the chattering phenomenon, a limitation of the sliding mode control algorithm.For the design of the proposed controller, a sliding surface was constructed using a vehicle-dynamics model that specifically considered the lateral error and the yawrate error.The control input was derived using the sliding surface and robust control input, which satisfies the sliding surface and Lyapunov definite conditions.Furthermore, the RBFNN-based Lyapunov stability condition was utilized to estimate the parameters, including disturbances and parametric uncertainty in the control input.These estimated parameters are reflected in the real-time adjustments of the control gain and control inputs.To evaluate the performance of the proposed controller, DLC and RPT scenarios were applied under various road conditions.It was possible to confirm the reasonable performance of the proposed NN-STSMC for path tracking in autonomous vehicles.However, it was confirmed that the predefined values of λ, η 1 , and η 2 via RBFNN and the parameters of b j and c j influence the control performance.To overcome this limitation, future research should involve the development of data-driven adaptive control methods for the adaptation of λ and incorporate a stronger neural network architecture.Moreover, there is a proposed plan to develop a robust control algorithm that ensures stability in high-speed conditions.The proposed control algorithm is expected to be applicable to real autonomous vehicles using various sensors, including simulation programs for vehicle-dynamics analysis, such as CarMaker and CarSim.As a result of confirming the reasonable performance of the proposed neural network and robustness control algorithm, it is expected to be applicable to various systems, including autonomous mobile robots and autonomous vehicles.

Figure 1 .
Figure 1.Block diagram of neural network approach super-twisting sliding mode control.

Figure 1 .
Figure 1.Block diagram of neural network approach super-twisting sliding mode control.

y
represents the acceleration in the y-axis direction, while v x .ψ represents the centripetal acceleration. m

)Figure 3 .
Figure 3. Structure of radial basis function neural network.
the control ters of CSMC, STSMC, and NN-STSMC applied in each scenario.The influenc sponding to the magnitude of the proposed control gain values can be expresse lows.The parameter  represents the level of convergence for the sliding surf creasing  leads to slower convergence while increasing it results in faster conv Parameters  and  represent the margin disturbance boundary region within trol gain value.Deciding on the relatively larger values of  and  tends to am magnitude of the control input. and  , on the other hand, serve as factors t the rate of change for the neural network's weighting factor.Higher values of lead to an increased rate of the weighting factor.And  is a control parameter fo mode control and represents finite time convergence.As shown in Table2, the parameters of CSMC and STSMC correspond to various scenarios and road coe

Figure 3 .
Figure 3. Structure of radial basis function neural network.

Figure 4 .
Figure 4. Model schematics of the neural network approach super-twisting sliding mode control algorithm for performance evaluation.

Figure 4 .
Figure 4. Model schematics of the neural network approach super-twisting sliding mode control algorithm for performance evaluation.

Electronics 2023 ,
Figure5represents the applied DLC scenario for performance evaluation purposes.In the DLC scenario, ISO 3888-1[51], the desired lateral position is designed to vary from 0 to 3.5 m according to the longitudinal position.To confirm the chattering phenomenon of the proposed NN-STSMC, SMC, and STSMC, a relatively low  of 30 kph was employed.

Figure 5 .
Figure 5. Description of the double lane-change scenario.

Figure 12 .
Figure 12.Description of the rapid path-tracking scenarioFigure 12. Description of the rapid path-tracking scenario.

Table 3 .
Error distribution in double lane change scenario.

Table 3 .
Error distribution in double lane change scenario.

Table 4 .
Simulation time and execution time and to confirm computational complexity calculation in double lane change scenario.

Table 4 .
Simulation time and execution time and to confirm computational comple in double lane change scenario.

Table 5 .
Error distribution in the rapid path-tracking scenario.

Table 5 .
distribution in the rapid path-tracking scenario.

Table 5 .
Error distribution in the rapid path-tracking scenario.

Table 6 .
Simulation time and execution time to confirm computational complexity calculation in the rapid path tracking scenario.