A Tube Model Predictive Control Method for Autonomous Lateral Vehicle Control Based on Sliding Mode Control

This paper aims to enhance the lateral path tracking control of autonomous vehicles (AV) in the presence of external disturbances. While AV technology has made significant strides, real-world driving scenarios often pose challenges such as slippery or uneven roads, which can adversely affect the lateral path tracking control and reduce driving safety and efficiency. Conventional control algorithms struggle to address this issue due to their inability to account for unmodeled uncertainties and external disturbances. To tackle this problem, this paper proposes a novel algorithm that combines robust sliding mode control (SMC) and tube model predictive control (MPC). The proposed algorithm leverages the strengths of both MPC and SMC. Specifically, MPC is used to derive the control law for the nominal system to track the desired trajectory. The error system is then employed to minimize the difference between the actual state and the nominal state. Finally, the sliding surface and reaching law of SMC are utilized to derive an auxiliary tube SMC control law, which helps the actual system keep up with the nominal system and achieve robustness. Experimental results demonstrate that the proposed method outperforms conventional tube MPC, linear quadratic regulator (LQR) algorithms, and MPC in terms of robustness and tracking accuracy, especially in the presence of unmodeled uncertainties and external disturbances.


Introduction
The main technologies of an autonomous vehicle (AV) typically include environmental perception, behavioral decision-making, path planning, and motion control. To ensure safe, smooth, and comfortable driving of an AV, the motion control algorithm has become a top priority in modern autonomous driving technology [1]. The motion control of an AV is typically divided into two categories: longitudinal control and lateral control [2]. Longitudinal control focuses on controlling the speed and distance between vehicles, which has been thoroughly resolved in recent years. On the other hand, lateral control is responsible for steering the vehicle and ensuring it stays on a predetermined path, even in the presence of internal unmodeled uncertainty and external disturbances like slippery or rough roads [3,4], which has yet to be fully resolved. Currently, the most commonly used lateral control methods for AV include pure tracking control, proportional-integral-derivative (PID) control, model-free control, linear quadratic regulator (LQR), feed-forward control, sliding mode control (SMC), H∞ control, and model predictive control (MPC), among others [5,6].
For example, Zhao et al. [7] designed a pure tracking control method based on dynamic delay prediction to obtain sight control by using the deviation value between the travel direction and the tracking direction. Kapsalis et al. [8] combined linear parameter varying (LPV) control theory with a new pure tracking control method to realize stable driving of vehicles with variable speed. Ahn et al. [9] proposed an improved pure tracking method to enhance the tracking accuracy of low-speed unmanned vehicles in straight lines and curves based on Ackerman's steering geometry. These pure tracking control methods have the advantages of being simple, low-speed, and flexible, but the disadvantage is that they will be limited by road curvature conditions. Moshayedi et al. [10] proposed a method to optimize the PID controller for an AV model using PSO and BAS algorithms. The effectiveness and rapidity of the method were verified on five different paths, making it valuable for researchers in the field of service robots. In a later study, they extended remote sensing applications to calibrate drone cameras accurately, ensuring precise detection of vehicle speed to enhance the operating efficiency of vehicles in congested road environments, thereby improving intelligent city services based on the Internet of Things [11]. Chu et al. [12] proposed a trajectory-tracking framework based on the PID feedback method, with a steady-state error close to zero when finally tracking the curve. The advantage of this method is that it is easy to design for engineering applications, but the PID controller has the problem of poor performance, and the tuning of its control parameters is always a challenge in PID control [13]. Jiang et al. [14] and Wang et al. [15] proposed a simple control framework using a model-free control method for ideal road driving, but it has poor robustness and is challenging to analyze the stability of the control system as a black box. Park et al. [16] designed a feedback controller based on the LQR method, which can maintain balance and track the circle in the drift state. Najjari et al. [17] presented an LQR controller by studying the torque vectoring system and steering controller, making it easy to achieve closed-loop optimal control of tracking the target. However, these LQR methods have poor robustness as the controllers are designed based on offline calculation. Jiang et al. [18] proposed a constrained arc fitting method to design the feed-forward control model of curvature, which improves the control accuracy, and Khan et al. [19] proposed a feedforward control method to process external disturbances, modeling error, and sensory noises. Still, these methods require expensive sensors mounted on the vehicle to collect data at a high cost, which can only be used in specific situations and are unsuitable for mass production. Wu et al. [20] used SMC to calculate the total driving force of vehicle lateral control, improving the adaptability of control algorithms and tracking accuracy at high speed. Ding et al. [21] added an improved second-order SMC with power integrator technology to improve the transient performance of path-tracking errors. However, there was a chattering problem caused by SMCs in the path tracking. Yan et al. [22] improved comfort by using an H∞ control to suppress noise while maintaining the lane based on the incremental control vehicle model, and Liu et al. [23] designed an H∞ control method according to system performance parameters to have strong robustness to sideslip angle measurement, model uncertainty, and external disturbances. However, this type of H∞ controller requires a complex solution and calculation process.
MPC is considered the simplest online constrained optimal control method, which has been proven to be better than the previously discussed methods. In recent years, it has been widely used in the field of vehicle control, with various applications such as path tracking, collision avoidance, and trajectory planning [24][25][26][27][28]. For instance, Chowdhri et al. proposed an MPC-based approach that considers brake constraints and collision avoidance with the vehicle in front [24], while Chen et al. designed MPC to complete tracking control of 14-DOF vehicles with tire turning angle and road adhesion constraints [25,26]. Igarashi et al. proposed a linearization method to improve vehicle operation efficiency [27], and Wu et al. implemented MPC for path planning of collision avoidance to ensure the stability of driving [28]. However, traditional MPC algorithms require precise system models to improve tracking accuracy, and vehicles are often affected by unknown external disturbances during actual operation, leading to a loss of control system robustness [29]. To address these issues, tube MPC methods have been proposed, such as the robust method by Mata-Machuca et al. [30], which uses a linear feedback control law as an auxiliary control law to improve the robustness of traditional MPC algorithms against unknown factors. However, the offline calculation of the auxiliary control law reduces its convergence speed, making it less robust [31]. In this paper, we propose an SMC-based tube MPC to overcome the limitations of traditional tube MPC. By combining the receding-horizon optimization of MPC with SMC's strong ability to suppress internal and external disturbances, we significantly improve stability and tracking accuracy compared to other MPC algorithms.
Given the tracking instability problem caused by internal unmodeled uncertainty and external disturbances such as slippery or rough roads during the operation of AV, this paper proposes a robust SMC-based tube MPC method. The main contributions are as follows: (1) This paper presents a new SMC-based tube MPC strategy for AV trajectory tracking by combining discrete time MPC control strategy and discrete time SMC. The proposed strategy improves control accuracy and robustness.
(2) To enhance the robustness of MPC in the presence of external disturbances and internal modeling uncertainties, we introduce an auxiliary SMC control law to address any bounded disturbances. Experimental results under three different road conditions, namely muddy roads, snowy roads, and icy roads, demonstrate the superior robustness of the proposed method compared to MPC and traditional tube MPC methods.
(3) This paper provides a design method for the constraint inputs of the entire control law, the robust control invariant set of the SMC, and the boundedness of the upper control. The stability of the proposed method is also analyzed.
The remainder of this paper is structured as follows: In Section 3.1, we present the derivation of the vehicle system, while Section 3.2 provides details on the linearization and discretization of the system. The proposed algorithm is introduced in Section 4.1, followed by the design of the nominal MPC controller in Section 4.2, and the stability analysis of the nominal MPC in Section 4.3. In Section 4.4, we present the design of the auxiliary SMC controller, and Section 4.5 analyzes the stability of the auxiliary SMC. Section 4.6 outlines the control flow of the proposed algorithm. Finally, in Section 5, we analyze the results of experiments conducted under different environmental conditions.

Notations
In this paper, we use R to represent the set of real numbers, R n×n to represent the set of real n × n matrices, and R n to represent a vector with n real number elements. The identity matrix of any dimension is represented by I, and diag(·) denotes the diagonal matrix. The Minkowski sum is denoted by the operator . The Euclidean norm is represented by |x| 2 = x T x, and its weighted norm is denoted by |x| 2 W = x T Wx, where W is the weight matrix.

Model Derivation
This paper considers a front-wheel steering vehicle modeled using the Ackerman steering bicycle model. The kinematic system structure and related symbols of the controlled vehicle are illustrated in Figure 1. In Figure 1, (x, y) is the coordinate of the rear axle axis B, (x f , y f ) is the coordinate of the front axle axis A, l is the axle length between the front and rear wheels, P is the instantaneous rotation center, and R is the rotation radius. The kinematic system of the vehicle can be constructed as follows [32]: where δ represents the angle of the front wheel steering, whileẋ f ,ẏ f ,ẋ, andẏ represent the speeds of the front and rear wheels in the X-axis and Y-axis directions, respectively. The yaw angle of the vehicle is denoted by ϕ, while v represents the speed of the vehicle. The yaw rateφ can be calculated using the relationship between the center coordinates of the rear axle (x, y) and the vehicle speed v. The vehicle kinematics can be described by the following equations: To account for the physical limitations of AV, including maximum speed and steering wheel position, Equation (4) expresses the input constraints. It is essential to ensure stability in the tracking process while applying these constraints.
where U ω denotes the set of control variables constraints. Specifically, v min and v max correspond to the minimum and maximum speeds that the vehicle can reach. Meanwhile, δ min and δ max represent the minimum and maximum steering angles of the vehicle's front wheels, respectively.

The Linearization and Discretization of the Kinematic AV
Taking into account the impact of actual bounded uncertain disturbance, the kinematic model of the controlled vehicle (3) can be formulated as a general form continuous-time nonlinear system equation, which can be expressed as follows: The variable χ = (x, y, ϕ) T represents the state of the vehicle, andχ = (ẋ,ẏ,φ) T denotes their corresponding velocities. The input control variable is denoted by µ = (v, δ) T and the bounded uncertain disturbance is represented by ω.
The predetermined tracking reference can be represented as χ r = (x r , y r , ϕ r ) T , while the desired reference tracking input can be represented as µ r = (v r , δ r ) T . The reference equation is given byχ r = f (χ r , µ r ). We can simplify the system Equation (5) by expanding it using a Taylor series with respect to the tracking reference, ignoring higher-order terms after the first order.
Subtracting the reference equationχ r = f (χ r , µ r ) from Equation (6), we can obtain the linearized model as follows:χ whereχ =χ −χ r , assuming a sampling time of T, the above continuous-time system can be discretized as follows:χ The input constraint is expressed as Equation (9): The variable ω(k) defined above consists of two parts. The first part represents the internal unmodeled uncertainties of the vehicle kinematics, while the second part corresponds to external disturbances encountered during actual driving. For instance, the vehicle may experience various unknown disturbances on slippery and rough roads due to rainwater or snow accumulation, which can affect the vehicle's state during motion. Both the unmodeled uncertainties and external disturbances are represented by ω(k) ∈ W, where W = {ω(k) ∈ R 3 , ω(k) ≤ ω max } denotes the set of bounded uncertainties with maximum assumption ω max .

The Designing of SMC-Based Tube-MPC Controller
During the sampling interval T, the total control input of the actual system is designed as follows: where the optimal control lawû * (k) is obtained from the optimal cost function (12), subject to the constraint thatû * (k) ∈ U andμ(k) ∈ U ω , where U ω =U ⊕ φη(k). The adjustable parameter matrix φ ∈ R n µ , where n µ is the dimension of the input. The ancillary tube SMC law η(k) is designed based on an error system described below.

The Designing of the Nominal MPC
Under ideal conditions with no internal or external interference, the nominal system of the AV is given by Equation (11): whereξ(k) = ξ(k) − χ r (k) is the deviation between the nominal system state and the reference tracking state, andû(k) = u(k) − µ r (k) is the deviation between the input and the reference input.
To achieve a smooth, fast, and accurate tracking of the reference trajectory, a soft constraint approach is adopted to formulate the cost function for optimal control [33]. This technique helps to alleviate the problem of exceeding hard constraint limits caused by frequent acceleration, deceleration, and steering adjustments. Therefore, the cost function is defined as follows: The objective function constraint isû(k) ∈ U, as calculated in Section 4.4, and an additional mandatory constraintξ k + N p | k = 0 is included in the aforementioned cost function. The constants N p and N c represent the prediction and control horizons, Q ∈ R nξ ×nξ and R ∈ R nû×nû are weighted diagonal matrices of state variables and input variables, respectively. nξ is the state quantity dimension, nû is the input quantity dimension. The relaxation factor ε and the weighting coefficient κ are used to balance the constraints. The goal is to avoid infeasible optimization problems caused by constraints. When the constraints are exceeded, the relaxation variable ε becomes positive and expands the feasible range ofû; otherwise, ε is set to 0. Moreover, to regulate the input energy, a quadratic penalty term is added to the cost function to achieve optimal control. Then, the optimal control sequence is obtained by solving the constrained optimization problem of the nominal predictive controller at each step.
After selecting the first itemû * (k) in Equation (13) as the nominal control signal, it is transmitted to the vehicle body for control. Then, the optimization problem is immediately updated using the newly acquired state, and the process is executed recursively until the control process is completed. This iterative approach ensures that the control system continuously adapts to changes in the system and environment, thereby enhancing the system's adaptability and robustness.

The Stability Analysis of the Nominal MPC System
In this section, the stability analysis of the nominal system (11) using the proposed MPC algorithm is presented below. Theorem 1. Consider the nominal system (11) and the cost function (12) with soft constraints, a positive semi-definite matrix Q, the positive definite matrix R. For ease of calculation and understanding, let N p = N c = N. Let the optimal cost function J (k) at time instant k be the Lyapunov function V (k). Then, V (k) ≥ V (k + 1) holds at time instant k + 1, which implies that the optimal solution ensures the nominal stability of the system (11).
Proof. The Lyapunov function is defined as follows: The input of the nominal system at time instant k + 1 can be expressed aŝ According to Equation (15), the nominal state of the system at time instant k + 1 is expressed as follows: It should be noted that in the above relationship (15), theû(k + N | k + 1) = 0 and ξ * (k + N | k) = 0 can be observed by Equation (12). By utilizing Equation (11), we obtain: By considering the cost function (14) at time instant k, we can derive the relationship between J(k + 1) and V * (k), which is given by Equation (18) below: It can be seen from the properties of the optimal solution that any solution at the time instant k + 1 is not less than the optimal solution V * (k + 1), that is V * (k + 1) ≤ J(k + 1).
Finally, note that since ξ (k + 1) Therefore, the stability of the nominal system is proven.

The Designing of the Ancillary SMC
Before designing the auxiliary SMC controller, an error model needs to be established to represent the difference between the nominal system model (11) and the actual system (8) under the influence of internal and external disturbances. The error model can be obtained by substituting Equation (10) into Equation (8), resulting in the following Equation (20): Among them, the error state is represented by (k) =χ(k) −ξ(k) = χ(k) − ξ(k). The auxiliary tube SMC law φη(k) aims to ensure that the trajectory of the error system remains within the invariant set Ω tube centered on the nominal trajectory. The calculation process of φη(k) and Ω tube is explained in Equations (24) and (25). In other words, SMC laws maintain the AV's tracking accuracy by keeping the actual system in line with the nominal system.
The discrete-time switching function is established according to the error system function (20) as follows: In the above equation, C e ∈ R 1×n χ is a constant matrix with n χ being the dimension of the state variable. Since the disturbance factor ω(k) is unknown and cannot be directly measured, a delay estimation method can be utilized to estimate the disturbances: Meanwhile, to further improve the convergence process, the reaching law of the SMC controller is designed as T sig α (s(k)) + C e σ(k) where sig α (s(k)) = |s(k)| α sgn(s(k)),0 < qT < 1, 1 < λ < β,0 < α < 1, σ(k) = ω(k) − ω(k − 1). The auxiliary tube SMC law is derived as follows: Lemma 1. If the auxiliary tube SMC law is known as the Equation (24) mentioned above, then the upper limit of the control input can be expressed as T|sig α (s(k))| + C eω (k) (26) Assuming that the switching function and known disturbances are bounded, we can establish the following condition: Therefore, the set of auxiliary tube SMC law is bounded by Based on the stability analysis in Section 4.5, it can be inferred that |s(k)| is a decreasing function, and (k) is also decreasing. Therefore, we can assume the initial maximum disturbance limit ω max to be the upper bound of (k) . In other words, (k) ≤ ω max and |s(k)| ≤ C e (k) ≤ C e ω max . This leads to the conclusion in Equation (25).

Remark 1.
To obtain the nominal constraint of MPC, we use the upper bound of the auxiliary SMC law as a basis and define U = U ω ⊕ (−φΩ tube ) [34]. By doing so, the designed QP function (11) of the nominal MPC satisfies the tight constraint U.

The Stability Analysis of Auxiliary Tube SMC Law
Theorem 2. For the discrete-time tube error system (20) with an allowable disturbance ω(k), applying the auxiliary tube SMC law (24), we can obtain the following results [35]: (1) Sliding mode state s(k) can enter the region Ω within K * steps and remain there indefinitely, where (2) The |s(k)| in the switching function (21) is a decreasing function.
Proof. The proof process consists of three main steps.
The reaching law of SMC is given by Equation (23). However, previous studies (references [36,37]) have suggested that non-quadratic Lyapunov functions may offer better performance. In this paper, we use a simple design form of the Lyapunov function, V(k) = s 2 (k), to facilitate calculation and comprehension.
On the other hand, it is noted that Transform Equation (32) as follows: Which means that Combining Equations (30), (31), and (34), we can conclude that: In conclusion, we obtain ∆V(k) ≤ − 2 . Case 2. When s(k) < −ρ, Based on the above conclusion, we can derive the following relationship (36).
If s(m * ) 2 = ρ 2 , it indicates that at time m * , s(k) reaches the boundary of the region Ω. At the next time step, K = m * + 1, it enters the switching band.

Lemma 2.
If ψ(α) = 1 + α α 1−α − α 1 1−α and 0 < α < 1, So 1 < ψ(α) < 2, for any x ∈ [0, 1], we have the following conclusion: Proof. The function D(x) is defined as To calculate the minimum value of D(x) in the interval (0, 1), we start by noting that Next, we find the critical point of D(x) by setting its derivative to zero: Solving for x, we obtain: Substituting x * into D(x), we get: Finally, we compare the values of D(0), D(1), and D(x * ) and conclude that the minimum value of D(x) in the interval (0, 1) is zero. This completes the proof.

The SMC-Based Tube MPC Algorithm
The proposed robust SMC-based tube MPC algorithm is depicted in Figure 2. To aid comprehension of the controller's design and application, we present the workflow of the proposed SMC-based tube MPC method in Figure 2, with detailed explanations of the working sequence provided in Step 1-4: Step 1: The actual system stateχ(k), which is subject to bounded disturbances ω(k), is decomposed into the nominal system stateξ(k) and error system state (k).
Step 2: The nominal system stateξ(k) is predicted by linearizing the reference trajectory, and the MPC optimization algorithm is employed to compute the nominal controlû * (k).
Step 3: The error system state (k) is controlled by SMC using a sliding mode state and reaching law to obtain the auxiliary control law φη(k). The auxiliary control law is designed to overcome the impact of uncertain disturbances, such as rough and slippery roads, during operation and achieve approximate convergence of the actual system statê χ(k) to the nominal system stateξ(k).
Step 4: The nominal MPC control inputû * (k) and the auxiliary tube SMC law φη(k) are combined to form the final actual control inputμ(k), which is used to track the predetermined path of the vehicle in the presence of uncertain disturbances.
The ancillary SMC law MPC Nominal contrains

Nominal system
The lumped disturbances The constrains for the AVs control inputsˆ( The an a a cillar a a y y SMC law a a M MP PC C

Nominal contr t t ai a a ns
Nominal syste t t m The lum u u p m m ed distu t t rb r an a a ces Actual AV system The constr t t ai a a ns fo f f r the AVs contr t t ol inputsˆ( ) k The aforementioned process is executed in a receding horizon until path tracking is completed. Overall, this four-step approach offers a comprehensive solution to the challenges of robust lateral control in the presence of disturbances and shows promising results for real-world AV applications.

Experiments and Analysis
To verify the efficacy of the proposed robust SMC-based tube MPC algorithm, an experimental study will be conducted using the Wuling-MiniEV vehicle, which has been retrofitted with CAN-BUS control technology, as depicted in Figure 3. The system leverages full CAN-BUS control and adheres to automotive-grade standards, with wire control techniques enabling features such as front-wheel drive and electro-hydraulic driving brakes. The auto-drive system provides access to the bottom executive control interface and can be integrated with sensors such as lidar, radar, high-precision integrated navigation and positioning systems, and cameras, enabling multi-scene automatic driving applications. To evaluate the stability of the proposed SMC-based tube MPC algorithm, we compare its performance with other classic methods such as LQR [16], traditional MPC [33] and traditional tube MPC [30]. The experimental test road spans a total length of 400 m, consisting of straight road segments, curves, and right-angle turns. The vehicle tracking reference speed is set at 16 km/h, with the tracking instability effect being tested on muddy, snowy, and icy roads.

Muddy Road
Driving on a muddy road section presents a significant challenge for self-driving cars, resulting in delayed control behavior and path tracking overshooting. Based on multiple test situations, we set the maximum disturbance of the controller to (58): To facilitate comparison, Table 1 presents the parameters of the proposed SMC-based pipeline MPC algorithm on muddy roads, while Table 2 provides the setting parameters of the MPC and LQR controllers. Table 1. SMC-based tube MPC.

Nominal MPC
Auxiliary SMC Table 2. MPC and LQR.

MPC LQR
In Figure 4, a comparison of the tracking effect is presented for the proposed method, traditional tube MPC, LQR, and MPC on muddy road sections. The red curve represents the reference trajectory that is set. The tracking accuracy of each method is shown by a dotted line, with the proposed method in blue, the MPC method in green, the traditional tube MPC method in orange, and the LQR method in purple. Since the LQR solves the control law offline, the vehicle body has significant limitations when facing the interference of muddy road sections in the tracking process, resulting in the worst tracking effect. The MPC method can control the vehicle to track the predetermined path through real-time solutions under the influence of muddy road surfaces, but the tracking accuracy is still poor, and its robustness to disturbance is not good. Although the traditional tube MPC algorithm has a good tracking effect, the offline linear feedback control law is selected for the auxiliary control law, which is inferior to the method proposed in this paper in terms of convergence speed and robustness. As SMC is good at resisting bounded interference, the method proposed in this paper can more effectively resist the interference caused by muddy roads than traditional methods, and the tracking effect is more accurate and smooth. This is mainly because our robust SMC-based tube MPC method combines the advantages of MPC and SMC, and has strong robustness in the face of uncertain interference in the actual tracking process, resulting in more accurate tracking.  Figure 5 illustrates the steering angles of the front wheels under different control algorithms on muddy roads. It can be observed that LQR-generated control laws cannot stabilize the vehicle body, leading to steering instability. The MPC method exhibits relative stability but still suffers from overshoot caused by muddy roads and internal uncertainties. In contrast, the proposed method has the smoothest tracking process, consumes the least input energy, and achieves the most accurate reference tracking. This is attributed to the SMC-based tube MPC algorithm that enhances the AV's robustness to external interference and improves its stability compared to the traditional tube MPC. By utilizing the auxiliary SMC feedback control law, the proposed method has the least redundant actions and guarantees the most accurate and smooth tracking of the reference trajectory.  Figure 6 shows the speed changes of AV under different control algorithms on muddy roads. The speed of LQR-controlled AV varies significantly during tracking, mainly due to the lack of robustness of the offline control law. Similarly, the MPC method also exhibits frequent speed changes due to the drag caused by muddy roads. By incorporating the SMC algorithm, the proposed SMC-based tube MPC method ensures the smooth changes in AV speed during driving and smooth rise and fall of vehicle speed during cornering. Moreover, it has a simple and fast response time and exhibits robustness to external noise disturbance and parameter ingestion. Compared to the traditional tube MPC, the proposed method ensures smoother speed changes during driving and improves the accuracy and stability of AV control.

Snowy Road
The tracking process is significantly affected by snow-covered roads due to the increased likelihood of sideslip and resistance, particularly during turns, leading to larger deviations from the reference path. The controller is designed to mitigate these effects, with disturbance parameters specified in Equation (59).
The parameters used for the proposed method on snowy roads are presented in Table 3, while the parameter settings for the MPC and LQR controllers are shown in Table 4: Table 3. SMC-based tube MPC. Table 4. MPC and LQR. Figure 7 shows that snow has a significant impact on the tracking performance of LQR and MPC methods. The lack of robustness in these methods leads to large deviation errors during turns, with some even exceeding the lane centerline, posing potential safety risks to the vehicle. While the traditional tube MPC method is effective, it still suffers from errors when dealing with snowy roads. In contrast, the proposed SMC-based tube MPC method uses an auxiliary SMC law that improves robustness and has excellent anti-interference capabilities. Even under the influence of tire sideslip caused by snowy roads, the proposed method can accurately track the reference path with a stable turning process. As depicted in Figure 8, the control performance of LQR and MPC methods on the snowy road is still suboptimal due to the influence of snow, resulting in complex and redundant changes in the front wheel angle, which may cause potential safety risks such as skidding during driving. To address this issue, the proposed SMC-based tube MPC method modifies the traditional tube MPC by incorporating an auxiliary SMC control law, which enhances the stability of the front wheel steering. With the excellent anti-interference ability of SMC, the impact of snow on the road surface is rapidly suppressed and fed back to the system, reducing the impact of snow on the side slip of the vehicle body. As a result, the AV can still accurately track the reference path while ensuring safe driving. In Figure 9, when driving on a snow-covered road, the AV is subject to more unknown disturbances during the tracking process due to side slip and resistance caused by snow.

/(s)
While LQR and MPC methods struggle to overcome the tire side slip, resulting in frequent speed changes, the proposed SMC-based tube MPC method remains stable and can maintain a steady change of speed, outperforming the traditional tube MPC method.

Icy Road
When driving on icy roads, vehicles are more prone to sideslipping and the road surface is typically rougher. The Equation (60) displays the controller's disturbance parameter configuration.
ω max = 20 (60) Table 5 displays the parameters of the proposed method utilized on icy roads, while Table 6 exhibits the parameter settings for the traditional MPC and LQR controllers. Table 5. SMC-based tube MPC.

Nominal MPC
Auxiliary SMC As depicted in Figure 10, the LQR and MPC controllers exhibit poor tracking performance on icy road surfaces due to side slips and bumps, particularly when maneuvering turns. The traditional tube MPC demonstrates better performance in handling bumps and side slips, but the controller is subject to higher pressure on icy roads, making it more prone to reaching its limit. By incorporating SMC, the proposed tube MPC approach effectively mitigates the impact of icy conditions on the controller, leading to a more stable and accurate tracking performance with greater robustness. As illustrated in Figure 11, when controlled by LQR and MPC, the AV's front wheels exhibit excessive motion due to side slip and jitter caused by bumps and icy road surfaces, leading to vibrations and unstable driving behavior. By leveraging the auxiliary SMC method, the proposed tube MPC approach outperforms the traditional tube MPC in terms of disturbance suppression and update speed in the disturbance feedback loop. This results in reduced occurrence of front wheel jitter and enables safe and smooth operation of the AV on icy roads. In Figure 12, it is evident that skidding on icy roads poses a more significant challenge for the AV in terms of maintaining consistent driving speed during tracking. The presence of side slips and bumps further complicates the task of speed control. The insufficient robustness of LQR and MPC controllers makes it difficult to achieve stable changes in vehicle speed. While the traditional tube MPC approach yields satisfactory results due to the inclusion of auxiliary control methods, the proposed SMC-based tube MPC method with improved auxiliary control feedback can further enhance driving comfort by ensuring even smoother changes in AV speed on icy roads. Figure 13a-c illustrate the lateral and longitudinal errors of the four control methods on three different road surfaces, namely, muddy, snowy, and icy roads. The LQR and MPC methods exhibit large deviations in both the horizontal and vertical directions, indicating poor robustness. However, the addition of an auxiliary control law to overcome external disturbances can significantly improve the controller's performance. The traditional tube MPC method displays high tracking accuracy with small horizontal and vertical errors. Nevertheless, the proposed SMC-based tube MPC effectively suppresses sideslip and drag effects in various road environments, further enhancing control accuracy and stability. This method employs a more robust SMC as the auxiliary control law, featuring a simple structure and fast computation speed, enabling the AV to smoothly and safely track the reference path while ensuring accuracy. After testing on three types of roads, the average cycle time of the proposed algorithm is shown in Table 7. It can be seen that due to the low dimension of the system, the calculation efficiency of nominal MPC is very fast and remains at about 38 ms, while the calculation efficiency of SMC is even higher. The minimum time is only about 2 ms, and the overall algorithm cycle calculation time takes about 42 ms, which meets the real-time requirements of AV in path tracking. After the path tracking test on three roads, the tracking errors of the four methods are shown in Table 8. Due to the different disturbance effects brought by the three different roads, the LQR tracking error is the largest, about 10%. The effect of traditional MPC is average, with an average error of 5%. After adding an auxiliary control law, the robustness of the controller can be significantly improved. The average error of the traditional tube MPC is about 3.5%, and the SMC-based tube MPC proposed in this paper has further improved the auxiliary control law, resulting in the best performance with an average error of only 2.5%.  In summary, the proposed SMC-based tube MPC algorithm offers smooth steering control, high precision, good stability, and strong adaptability to external disturbances and internal unmodeled uncertainties. It meets the real-time requirements of the actual operation process and provides the best tracking performance during path tracking in challenging conditions such as mud, vibration, ice, and snow. The effectiveness of the proposed control method is demonstrated by its ability to handle any emergencies that occurred during the experiment. Therefore, the algorithm proves to be a promising solution for lateral control in AV.

Conclusions
This paper presents a novel approach for lateral control of autonomous vehicles by proposing a robust SMC-based tube MPC method. The main objective of this method is to address the tracking overshoot and instabilities that arise from internal unmodeled uncertainties and external disturbances. The design of the proposed method combines discrete-time computational MPC and tube SMC laws, which provide stability and robustness. The nominal MPC is employed to achieve control accuracy with a predictive control law, while the discrete tube SMC law ensures vehicle stability in the presence of disturbances. The proposed method has demonstrated remarkable results, maintaining a tracking error of around 2.5%, which is significantly lower than previous methods. Further research is required to investigate the performance of the proposed method under different road conditions and vehicle speeds, such as strong crosswinds, rain, and high-speed driving. Overall, this SMC-based robust tube MPC method has the potential to improve the lateral control performance of autonomous vehicles in challenging driving scenarios.