Next Article in Journal
Exploiting Cyclic Angle-Dependency in a Kalman Filter-Based Torque Estimation on a Mechatronic Drivetrain
Next Article in Special Issue
Distributed Drive Electric Bus Handling Stability Control Based on Lyapunov Theory and Sliding Mode Control
Previous Article in Journal
Redundancy Exploitation of an 8-DoF Robotic Assistant for Doppler Sonography
Previous Article in Special Issue
Evaluation of Dynamic Load Reduction for a Tractor Semi-Trailer Using the Air Suspension System at all Axles of the Semi-Trailer
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Trajectory Tracking of Sliding Mode Control Based on Adaptive Preview Time

1
College of Mechanical Engineering, Jiangsu University of Technology, Changzhou 213001, China
2
College of Automobile and Traffic Engineering, Jiangsu University of Technology, Changzhou 213001, China
3
Department of Computer Science and Engineering, University of Minnesota Twin Cities, Minneapolis, MN 55455, USA
4
Suzhou Automotive Research Institute, Tsinghua University, Suzhou 215200, China
*
Authors to whom correspondence should be addressed.
Actuators 2022, 11(2), 34; https://doi.org/10.3390/act11020034
Submission received: 8 December 2021 / Revised: 15 January 2022 / Accepted: 20 January 2022 / Published: 24 January 2022
(This article belongs to the Special Issue Vehicle Modeling and Control)

Abstract

:
The preview model is one of the common methods used in trajectory tracking. The traditional fixed preview time is not adaptable to most speeds and road conditions, which not only reduces the tracking accuracy but also reduces the vehicle stability. Therefore, a controller can be designed to determine the adaptive preview time based on an optimization function of the lateral deviation, the road boundary, and the road boundary of the whole vehicle motion response characteristics. Traditional optimal preview control theory predicts the next state of the vehicle by the assumption of constant transverse pendulum angular velocity. In this paper, an expectation-based approach is used to find the ideal steering wheel turning angle based on the adaptive preview time, and a single-point preview model is established. Based on the two-degree-of-freedom dynamics model, a sliding mode controller is designed for control, and the low-pass filters are designed to suppress jitter in the sliding mode controller. Simulation results with different preview times, different speeds and different road adhesion coefficients prove that the controller has a good control effect and has good effectiveness and adaptability to speed and adhesion coefficient.

1. Introduction

The autonomous vehicle is a new future concept that fulfills people’s vision of the future. It is an integrated system that brings together environmental perception, planning and decision-making, and control execution, integrating technologies such as sensors, information interaction, artificial intelligence, automatic control, and traditional vehicles, and is an innovative embodiment of cross-fertilization of disciplines [1]. Trajectory tracking is an indispensable part of control execution technology, which relies on the underlying control technology of the vehicle and also requires good tracking of the planned trajectory, and good tracking effect has important significance for the safety and control of intelligent vehicles, which can reduce the probability of traffic accidents due to driver negligence and can reduce the dependence of previous vehicles on driver operation. The preview follower theory can accurately reflect the driver’s control behavior [2], and the lateral position deviation of the preview point position from the desired trajectory can be obtained based on the two-degree-of-freedom vehicle dynamic model, and then the ideal yaw rate which is used to provide input for the sliding mode controller can be calculated.
The current research in the field of vehicle control focuses on establishing an efficient and reasonable lateral stability control strategy [3], and the main lateral control algorithms include classical PID (Proportional Integral Derivative) control methods [4], optimal preview control methods [5,6], robust control [7], sliding mode control methods [8], modern control algorithm MPC (Model Predictive Control) methods [9,10], fuzzy control methods [11], and so on, and the optimization strategies of various methods are innumerable. The literature uses lane line detection techniques combined with model predictive control to design controllers [12]; uses particle swarms to optimize higher-order sliding mode control parameters [13]; and designs controllers based on adaptive preview with directional error compensation [14].
The principle of sliding mode control is to design the switching plane of the system according to the desired dynamic characteristics of the system. This plane represents the steady state of the system, after which the system state is made to converge from out of plane to the switching plane by means of a sliding mode controller. Zhang et al. [15] designed a path tracking control strategy with strong robustness and without chattering based on a sliding mode technique with conditional integrators. Exact linear transformation method was used by Zhang et al. [16] to linearize the system model and a sliding-mode controller was designed for the trajectory tracking of semi-trailer vehicles in automatic reversing. In order to improve the longitudinal motion control accuracy of intelligent vehicles, the RBF (Radial Basis Function) neural network adaptive sliding mode control strategy was used by Hui Yijia [17] to control the longitudinal dynamics of intelligent vehicles.
Although the sliding mode control method is prone to jitter, it also has more advantages such as being insensitive to perturbations of parameter changes, more resistant to disturbances, more robust, and can respond quickly. In this paper, the ideal angular velocity of the transverse pendulum is obtained using the preview point, and the sliding mode controller is designed to perform the control.

2. Vehicle Dynamics Model

The vehicle dynamics model can be used to study the handling stability as well as the smoothness of the ride, and it is used in the field of trajectory tracking to perform stability studies. The dynamics model is modeled using two-degree-of-freedom dynamics, which is simplified to a bicycle model [18], as shown in Figure 1. In this Figure: a is the distance from the center of mass to the front axle; b is the distance from the center of mass to the rear axle; Fyf is the lateral force of the front wheel; Fyr is the lateral force of the rear wheel; vx is the longitudinal speed; vy is the lateral speed; ω is the angular velocity of transverse pendulum; β is the lateral deflection angle of the center of mass.
Assuming that the front wheels of the vehicle rotate at a small angle, the dynamic equation of vehicle centroid is established, and the set of equations is as follows [19]:
m v ˙ x + mv x ω = F yf + F yr I z ω ˙ = aF yf - bF yr  
where m is the mass of the whole vehicle, Iz is the rotational inertia of the vehicle at the center of mass, v ˙ x is the lateral acceleration, ω ˙ is the angular acceleration of the transverse pendulum.
Supposing the front wheel of the vehicle rotates at a small angle, the relationship between lateral deflection force, lateral deflection angle and lateral deflection stiffness when the tire is in the linear region can be expressed as follows:
{ F yf = C f α f F yr = C r α r  
where C f   and   C r are the front wheel lateral deflection stiffness and rear wheel lateral deflection stiffness respectively,   α f and α r are front wheel lateral deflection angle and rear wheel lateral deflection angle. The front wheel side deflection angle and the rear wheel side deflection angle of the vehicle is related to its motion parameters. Assuming that the velocities of the front and rear axles of the vehicle are v x and v y respectively, lateral deflection angle of the center of mass is β ,   β = arctan ( v y v x ) v y v x .
The angle between the direction of velocity of the front wheel and the x-axis is θ, which can be expressed as follows:
θ = v y + ω a v x = β + ω a v x  
The lateral deflection angle of the front and rear wheels of vehicle in Figure 1 can be expressed as follows:
{ α f = β + ω a v x - δ α r = β - ω b v x  
The model equations for the two degrees of freedom of the vehicle with respect to the transverse pendulum angle ω and the lateral declination angle β of the center of mass can be obtained by Equations (1), (2) and (4):
  β ˙   ω ˙ = C f + C r mv x aC f - bC r mv x - 1 aC f - bC r I z a 2 C f + b 2 Cr I z v x β ω - C f mv x aC f I z δ  

3. Adaptive Preview Model

3.1. Optimal Curvature Single Point Preview

The ideal steering wheel turning angle is decided by the expectation-based method [20], and a constant transverse pendulum angular velocity assumption is made, as shown in Figure 2. The predicted trajectory is treated as a circle with point E as the center and radius R, and the angle of the center of the circle is θ.
In Figure 2, XOY is inertial coordinate system; XG-YG is body coordinate system; point G is the position of the center of mass of the vehicle; point C is the predicted position after tp time; point P is the preview point on the target trajectory; Δf is the lateral deviation; xGC and yGC are the displacements in the XG and YG directions after tp time; φ is the vehicle heading angle; β is the mass lateral deviation angle; and v is the vehicle travel speed.
The ideal angular velocity of the transverse pendulum ω d can be expressed as follows:
ω d = 2 [ arctan ( Δ f v x t p ) - β ] t p - 1  
Parameter ω d is calculated under the assumption of steady-state transverse pendulum angular velocity, so there is a slight deviation from the theoretical one. During the simulation, it was found that the magnitude of ω d is related to the velocity, and after extensive simulation verification, the formula for calculating ω d was adjusted as follows:
ω d = ( 2 + 0.04 v x ) [ arctan ( Δ f v x t p ) - β ] t p - 1  

3.2. Adaptive Preview Time

By selecting different preview time tp, the driver is simulated to adapt to different road conditions to attain the preview distance, and the general preview time is selected in the range of 0.3–1.5 s.
L_Drv_2 is the lateral offset of the current center of mass and the distance between the actual trajectory, designing the cost function according to L_Drv_2 considering tracking accuracy [21,22]:
J 1 = 0 t L _ Drv _ 2 2 dx  
where L_Drv_2 is the lateral offset, t is model prediction time.
In order to satisfy the boundary constraints, the driver model must design an optimization function for the distance between the trajectory and the boundary location to ensure that the vehicle can safely cross the road:
J 2 = 0 t g d x
where g is security functions, the closer the vehicle position is to the boundary, the larger the g value. g is calculated:
g = | L _ Drv _ 2 1.75 - L _ Drv _ 2 | 1 - | L _ Drv _ 2 1.75 - L _ Drv _ 2 |  
where L_Drv_2 is the lateral offset, the width of the road is set at 3.5 m.
When designing the preview time, the dynamic response time characteristics of the steering motion of the vehicle also need to be taken into account:
J 3 = 1 8 ( t p - T ) 2  
where T is time associated with vehicle steering response characteristics, it can be taken as 1 s or shorter when the speed is high, and can be increased when the speed is low.
Combining the above optimization functions, the optimization function is obtained as:
J = min ( ω 1 J 1 + ω 2 J 2 + ω 3 J 3 )
where ω 1 , ω 2 , ω 3 is weight factor, the setting of weights is related to the purpose achieved, ω 1 is related to the accuracy of trajectory tracking; ω 2 is related to the distance between the vehicle and the road boundary; ω 3 is related to the response characteristics of the whole vehicle.
The range of preview is from 0.3 s to 1.5 s; this study has designed a multiple criteria optimization with three selection principles to select the best preview time. The method the study used is an iterative method which through the array [0.3,1.5] with a step size of 0.01 s, to find the smallest J at each moment ( J = m i n ( ω 1 J 1 + ω 2 J 2 + ω 3 J 3 ) ). The values of the three weighting parameters are ω1 = 0.2; ω2 = 0.05; ω3 = 0.75.

4. Design of Sliding Mode Controller

By combining the advantages of sliding mode control and the preview control algorithm, a sliding mode controller based on preview control is designed, which can reflect both the driver’s operating characteristics and boundary constraints, as well as the motion response characteristics of the whole vehicle. The controller is insensitive to the perturbation of parameter changes, with better anti-interference capability and robustness, and also previews the path; in this way, it can guarantee the steering wheel rotation stability, improve the tracking effect of the trajectory tracking control algorithm, and enhance the accuracy of the tracking controller [23]. The design diagram of the sliding mode controller is shown in Figure 3, the parameters in the Figure 3 are described in detail in the derivation of the equations later.

4.1. Design of Low-Pass Filters

Combining sliding mode control methods with filters enables filtering of noisy signals, providing a smooth signal for the sliding mode controller. The structure of a low-pass filter-based sliding mode controller control system is shown in the following diagram [23,24], where ω ˜ r t ,   δ sw ( t ) is input for control, δ ˜ sw t , ω r is output for control. To reduce jitter generated by the sliding mode controller, the low-pass filter is designed as follows:
Q ( s ) = ξ s + ξ  
From Figure 4, we can obtain:
ω ˜ ˙ d + Φ 1 ω ˜ d = Φ 1 ω d  
ω ˜ ˙ r + Φ 2 ω ˜ r = Φ 2 ω r  
τ ˙ + ξ τ = ξ u  

4.2. Design of Sliding Mode Control Law

For a system that is uncertain and needs to take into account the uptake of internal parameters as well as external disturbances, the system equation of state can be better formulated as:
  x ˙   = A - Δ Ax + B - Δ B u t + d - Δ d f  
Equation (5) can be rewritten by Equation (17) as:
x = [ β ω ]
A = [ A 1 A 2 A 3 A 4 ]  
B = [ B 1 B 2 ]  
where is A 1 = C f + C r mv x , A 2 = aC f - bC r mv x - 1 , A 3 = aC f - bC r I z , A 4 = a 2 C f + b 2 Cr I z v x , B 1 = - C f mv x , B 2 = - aC f I z .
The equation of the controlled system can be expressed as the following equation of the state:
  ω ˙ r = A 3 - Δ A 3 β + A 4 - Δ A 4 ω r + B 2 - Δ B 2 δ + d - Δ d f = A 3 β + A 4 ω r + B 2 δ - Δ A 3 β + Δ A 4 ω r + Δ B 2 δ + Δ df  
The uncertainty of the system and imposed disturbances are expressed in terms of E ( t ) , which can be expressed as:
E ( t ) = Δ A 3 β + Δ A 4 ω r + Δ B 2 δ + Δ df  
Taking Equation (22) into Equation (21), we get into Equation, we obtain:
  ω ˙ r = A 3 β + A 4 ω r + B 2 δ - E t  
Taking Equation (23) into Equation (16), we obtain:
A 3 β + A 4 ω r + B 2 δ - E t + ξ ω r = ξ u  
Transforming the formula provides:
ω r = 1 A 4 + ξ ( ξ u - A 3 β - B 2 δ + E ( t ) )  
The difference between the actual transverse pendulum angular velocity ωr and the ideal transverse pendulum angular velocity ωd is chosen as the tracking error of this system:
e = ω r - ω d  
The switching function is selected as follows:
s = e + λ 0 t e ( τ ) d τ
where λ is a positive integer.
Taking Equation (26) into Equation (27) and the derivative of Equation (27), we obtain:
  s ˙   =   e ˙   + λ e =   ω ˙ r -   ω ˙ d + λ ω r - ω d  
Taking Equations (23) and (25) into Equation (28), we obtain:
  s ˙   = A 3 β + A 4 + λ ω r + B 2 δ - E t ω ˙ d - λ ω d  
Choosing a Lyapunov function candidate V = 1 2 s 2 and differentiating V with respect to time, we have:
  V ˙   = s s ˙   = s A 3 β + A 4 + λ ω r + B 2 δ - E t - ω ˙ d - λ ω d = s ( A 3 β + A + λ A + ξ ( ξ u - A 3 β - B 2 δ + E ( t ) ) + B 2 δ - E ( t ) -   ω ˙ d - λ ω d )  
To ensure the stability of the system, the design control law is:
u = 1 ξ A 3 β + B 2 δ + A 4 + ξ A 4 + λ ω ˙ d + λ e d - A 3 β - B 2 δ - η sgn ( s )
where η > ( A 4 + λ A 4 + ξ E ( t ) - E ( t ) ) and η is a positive integer.
Taking Equation (31) into Equation (30), we obtain:
  V ˙   = s - η sgn s - E t + A 4 + λ A 4 + ξ E t = - s E t - A 4 + λ A 4 + ξ E t - η | s | < 0  
where ξ = 1500   > λ = 60 and η > 0.
Let s ˙   =   0, at this time, the angular acceleration of the transverse pendulum ω ˙ d = 0 . From Equation, the front wheel angle control input can be obtained as follows:
δ = I z C f ( aC f - bC r I z β + a 2 C f + b 2 Cr I z v x ω r + λ ( ω r - ω d ) )  
Obtain the final sliding mode control law:
δ h = δ - I z aC f η sgn ( s )  
In order to obtain the final control quantity, the equation for calculating the angle from the front wheel to the steering wheel is as follows:
δ sw = δ h i sw  
where isw is the angular transmission ratio of the steering wheel angle and the wheel angle.
To test the effectiveness of the filter, the following operating conditions were set up for comparison tests, such as taking a coefficient of adhesion of 0.9 and a speed of 10 m/s and 20 m/s, and adhesion of 0.5 and a speed of 10 m/s and 20 m/s, the following Figure 5, Figure 6, Figure 7 and Figure 8 are comparative experiments (road adhesion coefficient is RAC, vehicle speed is VS):
These results above show that the filter is highly effective in reducing and even eliminating jitter caused by the controller.
Table 1 summarizes the parameters of the sliding controller used in the simulation test. It is important to note that Φ1′s value is a reference value and the exact value will be influenced by parameters such as speed:

5. Sliding Mode Control System Simulation Verification

5.1. Construction of Joint Simulation Platform

The vehicle data in Carsim is sent to the model built by Simulink in the form of S-function, the sampling period used in the simulation tests is 0.001 s, and the designed sliding mode controller is added to the model as follows in Figure 9:
Set the input and output parameters of Carsim, the first two are input and the others are output parameters, as follows in Table 2:
The Table 3 to summarize the parameters of the vehicle used in simulation tests is shown as follows:

5.2. Double Shift Road Path Planning

Using the ISO/3888-1:2016 standard double shift line with the road centerline as the ideal path, the test route is schematically shown as follows:
The numbers 1 and 2 indicate the direction of travel of the vehicle and the offset of the road, the number 3 indicates the width of the road, and one to five indicate the name of the road section in Figure 10.
Set up the double-shifted road in Carsim in the form of discrete points, and the road centerline coordinate points are set up as shown in Table 4:

5.3. Simulation Verification of Double-Shifted Line Working Condition

5.3.1. Double-Shifted Working Condition under High Adhesion Coefficient Pavement

Set the road surface coefficient as μ = 0.9, and let the vehicle track the set double-shift line path at longitudinal speed of 5 m/s, 10 m/s, 15 m/s, 20 m/s, 25 m/s and 30 m/s, respectively. Taking the vehicle mass center to road centerline offset as the tracking error, the combined simulation results are as follows (where RCL is road center line, T is trajectory, TE is tracking error, APT is adaptive preview time, PT is preview time):
As can be seen from Figure 11, the tracking accuracy at Section 1 and Section 5 basically remains within 0.025 m, and as the speed increases from 5 m/s to 20 m/s (i.e., from 18 km/h to 72 km/h), the error at Section 5 increases to 0.05 m at 25 m/s, which is still within the acceptable range. However, the result is not within the acceptable range at 30 m/s, the trajectory is unsatisfactory and the tracking error of 0.27 m is too high for tracking.
The analysis of Section 2 and Section 4 is neglected because the reference is the centerline of the road at the location at that time. The differences between the peak point of the trajectory and the road centerline at each of the three locations on the road section at different speeds are 0.0307 m, 0.0296 m, 0.0294 m, 0.0242 m, −0.0154 m, 0.2825 m (from 5 m/s to 30 m/s, at 5 m/s intervals); the differences between the point at Global Coordinate X = 95 m and the road centerline at different speeds are −0.0186 m, −0.0470 m, −0.0942 m, −0.1491 m, −0.1757 m and −0.018 m; the differences between the point at Global Coordinate X = 120 m and the road centerline at different speeds are −0.0047 m, −0.0307 m, −0.0789 m, −0.1570 m, −0.2517 m and −0.4226 m (from 5 m/s to 30 m/s). From these data above, as the speed of the vehicle continues to increase, the maximum error in Section 3 increases and the tracking effect of the controller gradually diminishes. It can be seen that at speeds of 5–25 m/s, the maximum offset from the road centerline on Section 3 does not exceed 0.26 m; thus, the tracking effect of the sliding mode controller based on adaptive preview time is good.
Table 5 is made of data from Figure 12, Figure 13, Figure 14, Figure 15, Figure 16 and Figure 17, and it is clarified that the maximum offset and the minimum offset are taken as the difference between the highest point and the two endpoints on the road Section 3 and the centerline of the road:
From Table 5 and all the trajectory comparison graphs above, the absolute value of the maximum offset in road Section 3 from 5 m/s to 25 m/s does not exceed 0.031 m, and the absolute value of the minimum offset does not exceed 0.260 m, so the controller can be judged to be tracking well at speeds from 5 m/s to 20 m/s. The smaller absolute value of the error of the designed SMC controller based on adaptive preview time compared to other controllers with fixed preview times of 0.5 s, 0.8 s and 1.2 s, the results of these data prove that the effectiveness of the designed controller when road adhesion coefficient is 0.9.

5.3.2. Double-Shifted Working Condition under Low Adhesion Coefficient Pavement

Set the road adhesion coefficient as μ = 0.5, and let the vehicle track the set double-shift line path with longitudinal speed of 5 m/s, 10 m/s, 15 m/s and 20 m/s respectively. Taking the vehicle mass center to road centerline offset as the tracking error, the joint simulation results are as follows (where RCL is road center line, T is trajectory, TE is tracking error, APT is adaptive preview time, PT is preview time).
From Figure 18 it can be seen that when the speed is set between the range of 5 m/s to 20 m/s, the tracking accuracy of road Section 1 and the road Section 5 basically remain within 0.037 m; this shows that the designed controller tracks well on sections on and five from 5 m/s to 20 m/s.
The analysis of Section 2 and Section 4 is neglected because the reference is the centerline of the road at the location at that time. The differences between the peak point of the trajectory and the road centerline at each of the three locations on the road section at different speeds are 0.0313 m, 0.0289 m, 0.0265 m and 0.0312 m (from 5 m/s to 20 m/s, at 5 m/s intervals); the differences between the point at Global Coordinate X = 95 m and the road centerline at different speeds are −0.0124 m, −0.0481 m, −0.0864 m and −0.1679 m; and the differences between the point at Global Coordinate X = 120 m and the road centerline at different speeds are −0.0017 m, −0.0254 m, −0.0435 m and −0.1639 m. From these data above, as the speed of the vehicle continues to increase, the maximum offset and the minimum offset in Section 3 increases and the tracking effect of the controller gradually diminishes. It can be seen that at speeds of 5–20 m/s, the maximum offset from the road centerline on Section 3 does not exceed 0.0320 m and the minimum offset from the road centerline on Section 3 does not exceed 0.1680 m. This shows that the tracking effect of the sliding mode controller based on adaptive preview time is good when road adhesion coefficient is 0.5.
Table 6 is made of data from Figure 19, Figure 20, Figure 21 and Figure 22, and it is clarified that the maximum offset and the minimum offset is taken as the difference between the highest point and the two endpoints on the road Section 3 and the centerline of the road:
From Table 6 and the above trajectory comparison graph, it can be seen that the absolute value of the maximum offset in road Section 3 from 5 m/s to 20 m/s does not exceed 0.031 m, and the absolute value of the minimum offset does not exceed 0.1600 m, so the controller can be judged to be tracking well at speeds from 5 m/s to 20 m/s. The smaller absolute value of the error of the designed SMC controller based on adaptive preview time compared to other controllers with fixed preview times of 0.5 s, 0.8 s and 1.2 s, the results of these data prove the effectiveness of the designed controller when the road adhesion coefficient is 0.5.

5.3.3. Comparative Simulation Experiments with Another Typical Algorithm

PP (Pure Pursuit) is a typical and transversal algorithm; it is a geometric algorithm based on a single preview point, with good robustness to the outside world, essentially referring to a fixed preview distance algorithm. Its structure is shown in the following diagram in Figure 23.
In ΔOAB, we can know:
AOC = 2 CAB = 2 α
From the sine theorem, we know that:
l d sin 2 α = R sin ( π 2 - α )  
From the Ackermann turn, it follows that:
R = l d 2 sin α  
Join Equations (37) and (38), we can know:
δ ( t ) = arctan ( 2 Lsin ( α ( t ) ) l d )  
Comparison tests with a road adhesion coefficient of 0.9 and vehicle speeds of 15 m/s and 20 m/s with double shift conditions, the contrasted figures of the simulation results are shown below:
From simulation results of Figure 24, the errors of the two algorithms on Section 1 is less than 0.01 m and less than 0.015 m, so the PP algorithm tracks better in this part. Meanwhile, on Section 3, the peak point of the trajectory of the PP algorithm is larger than that of the SMC algorithm, so the SMC algorithm tracks better in this part. On Section 5, the tracking error of the PP algorithm is less 0.15 m and the SMC algorithm tracking five rubbing sweat is less than 0.025 m, so the SMC algorithm tracking effect is better in this part. Overall, the trajectory of the SMC algorithm follows the road centerline more closely than the trajectory of the PP algorithm, compared with fixed preview distance in the PP algorithm, the tracking effect of the sliding mode controller based on adaptive preview time is better.

6. Conclusions

The validity of the model established by SimulinkCarsim joint simulation is verified by the simulation results, and the results show that the adaptive optimization function of the preview time is established, and the optimization index is established based on the trajectory deviation, boundary distance, and vehicle steering motion characteristics to realize the adaptive change of the preview time of the sliding mode controller. In order to solve the problem of jitter in the sliding mode control, a low-pass filter has been added, and from the results, the jitter of the control volume is greatly reduced after the low-pass filter.
The results of the simulation show that the designed controller tracks well at a coefficient of adhesion of 0.9 and at speeds between 0 and 25 m/s, also tracking well at a coefficient of adhesion of 0.5 and at speeds between 0 and 20 m/s, and compared with the fixed preview time controller (PP), it can better reflect the driver’s operating characteristics, the boundary constraints, the motion response characteristics of the whole vehicle, and has a better path tracking effect. The controller has a better control effect and verifies the effectiveness and adaptability of the controller to speed and adhesion coefficient. This demonstrates the designed controller’s ability to adapt to both high and low adhesion surfaces, but as the adhesion coefficient decreases, the maximum speed that can be achieved without reducing tracking accuracy gradually decreases. The selection of preview time is very important for the input of the controller, so there is too much reliance on the right preview time. Furthermore, the question of jitter is difficult to eliminate completely, so there are some problems for practical control.
This study only considers low-pass filter in combination with sliding mode controller, and does not consider complex filters such as Kalman filter, and the design of sliding mode surface in subsequent studies can consider the higher-order sliding mode theory.

Author Contributions

Conceptualization, H.H.; methodology, H.H.; software, H.H.; validation, H.H.; formal analysis, B.L. and S.B.; investigation, H.H.; resources, H.H., B.L. and S.B.; data curation, H.H.; writing—original draft preparation, H.H., D.Z. and X.Z.; writing—review and editing, H.H., Q.Z. and B.L.; visualization, H.H.; supervision, X.H., B.L. and S.B.; project administration, B.L. and S.B.; funding acquisition, not applicable. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by The Natural Science Foundation of the Jiangsu Higher Education of China, grant number 21KJA580001, the National Natural Science Foundation of China, grant number 52172367, and the National Natural Science Foundation of China, grant number 52105260. The APC was funded by 52172367.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cai, G.; Liu, H.; Feng, J.; Xu, L.; Yin, G. Review on the research of motion planning and control for intelligent vehicles. J. Automot. Saf. Energy 2021, 12, 279–297. [Google Scholar]
  2. Xu, Y.; Tang, W.; Chen, B.; Qiu, L.; Yang, R. A Model Predictive Control with Preview-Follower Theory Algorithm for Trajectory Tracking Control in Autonomous Vehicles. Symmetry 2021, 13, 381. [Google Scholar] [CrossRef]
  3. Li, Z.; Wang, P.; Liu, H.; Hu, Y.; Chen, H. Coordinated Longitudinal and Lateral Vehicle Stability Control Based on the Combined-Slip Tire Model in the MPC Framework. Mech. Syst. Signal Process. 2021, 161, 107947. [Google Scholar] [CrossRef]
  4. Loof, J.; Besselink, I.; Nijmeijer, H. Automated Lane Changing with a Controlled Steering-Wheel Feedback Torque for Low Lateral Acceleration Purposes. IEEE Trans. Intell. Veh. 2019, 4, 578–587. [Google Scholar] [CrossRef]
  5. Yang, T.; Bai, Z.; Li, Z.; Feng, N.; Chen, L. Intelligent Vehicle Lateral Control Method Based on Feedforward+ Predictive LQR Algorithm. Actuators 2021, 10, 228. [Google Scholar] [CrossRef]
  6. Rao, L.G.; Narayanan, S. Optimal Response of Half Car Vehicle Model with Sky-Hook Damper Based on LQR Control. Int. J. Dyn. Control. 2020, 8, 488–496. [Google Scholar]
  7. Hang, P.; Xia, X.; Chen, X. Handling Stability Advancement With 4WS and DYC Coordinated Control: A Gain-Scheduled Robust Control Approach. IEEE Trans. Veh. Technol. 2021, 70, 3164–3174. [Google Scholar] [CrossRef]
  8. Zhang, S.; Zhao, X.; Zhu, G.; Shi, P.; Hao, Y.; Kong, L. Adaptive Trajectory Tracking Control Strategy of Intelligent Vehicle. Int. J. Distrib. Sens. Netw. 2020, 16, 155014772091698. [Google Scholar] [CrossRef]
  9. Wu, H.; Si, Z.; Li, Z. Trajectory Tracking Control for Four-Wheel Independent Drive Intelligent Vehicle Based on Model Predictive Control. IEEE Access 2020, 8, 73071–73081. [Google Scholar] [CrossRef]
  10. Shen, C.; Shi, Y. Distributed Implementation of Nonlinear Model Predictive Control for AUV Trajectory Tracking. Automatica 2020, 115, 108863. [Google Scholar] [CrossRef]
  11. Zhang, Y.; Xia, Y.; Cheng, H.; Huang, L.; Zhao, F.; Lv, L. Research on Lateral Control of Intelligent Vehicle Path Tracking. J. Chongqing Inst. Technol. 2021, 35, 53–61. [Google Scholar]
  12. Hu, J.; Xiong, S.; Zha, J.; Fu, C. Lane Detection and Trajectory Tracking Control of Autonomous Vehicle Based on Model Predictive Control. Int. J. Automot. Technol. 2020, 21, 285–295. [Google Scholar] [CrossRef]
  13. Alika, R.; Mellouli, E.M.; Tissir, E.H. Optimization of Higher-Order Sliding Mode Control Parameter Using Particle Swarm Optimization for Lateral Dynamics of Autonomous Vehicles. In Proceedings of the 2020 1st International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET), Meknes, Morocco, 16–19 April 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 1–6. [Google Scholar]
  14. Liu, W.; Wang, R.; Xie, C.; Ye, Q. Investigation on Adaptive Preview Distance Path Tracking Control with Directional Error Compensation. Proc. Inst. Mech. Eng. Part I J. Syst. Control. Eng. 2020, 234, 484–500. [Google Scholar] [CrossRef]
  15. Zhang, J.; Zhou, S.; Shi, Z.; Zhao, J.; Zhu, B. Path planning and tracking control for corner overtaking of driverless vehicle using sliding mode technique with conditional integrators. Control. Theory Appl. 2021, 38, 197–205. [Google Scholar]
  16. Zhang, P.; Yang, Z.; Zhao, X.; Yao, L.; Zhang, S. Backward Path Tracking for Tractor-Semitrailer System Based on Sliding Model Control. Agric. Eng. 2021, 11, 103–107. [Google Scholar]
  17. Hui, Y. Research on Neural-Network Adaptive Sliding Mode Control of Longitudinal Dynamic Behavior of Intelligent Vehicle. Master Thesis, Jiangsu University, Zhenjiang, China, 2020. [Google Scholar]
  18. Du, H.; Man, Z.; Zheng, J.; Cricenti, A.; Zhao, Y.; Xu, Z.; Wang, H. Robust Control for Vehicle Lane-Keeping with Sliding Mode. In Proceedings of the 2017 11th Asian Control Conference (ASCC), Gold Coast, Australia, 17–20 December 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 84–89. [Google Scholar]
  19. Lin, F.; Sun, M.; Wu, J.; Qian, C. Path Tracking Control of Autonomous Vehicle Based on Nonlinear Tire Model. Actuators 2021, 10, 242. [Google Scholar] [CrossRef]
  20. Chen, W.; Tan, D.; Wang, H.; Wang, J.; Xia, G. A class of driver directional control model based on trajectory prediction. J. Mech. Eng. 2016, 52, 106–115. [Google Scholar] [CrossRef]
  21. Jin, X.; Zhang, J.; Liu, Y.; Wang, Q. Research on adaptive optimal preview model based on Stanley algorithm. Comput. Eng. 2018, 44, 42–46. [Google Scholar]
  22. Li, H. Optimal Preview Control Driver Model with Adaptive Preview Time. JME 2010, 46, 106. [Google Scholar] [CrossRef]
  23. Li, X.; Zhang, X.; Li, Z.; Cai, J.; Fu, Y. Sliding Mode Control for Digital Hydraulic Cylinder Servo Systems Based on Low Pass Filter. Chin. Hydraul. Pneum. 2014, 12, 72–74. [Google Scholar]
  24. Zhao, L.; Wang, S.; Wang, H. LDF-based sliding mode control for robots. Comput. Eng. Appl. 2009, 45, 236–238. [Google Scholar]
Figure 1. Vehicle two-degree-of-freedom dynamics model.
Figure 1. Vehicle two-degree-of-freedom dynamics model.
Actuators 11 00034 g001
Figure 2. Steady-state transverse pendulum angle single-point preview model.
Figure 2. Steady-state transverse pendulum angle single-point preview model.
Actuators 11 00034 g002
Figure 3. Controller design diagram.
Figure 3. Controller design diagram.
Actuators 11 00034 g003
Figure 4. Sliding mode control systems based on low-pass filters.
Figure 4. Sliding mode control systems based on low-pass filters.
Actuators 11 00034 g004
Figure 5. The steering wheel angle with and without filtering at RAC = 0.9 and VS = 10 m/s.
Figure 5. The steering wheel angle with and without filtering at RAC = 0.9 and VS = 10 m/s.
Actuators 11 00034 g005
Figure 6. The steering wheel angle with and without filtering at RAC = 0.9 and VS = 20 m/s.
Figure 6. The steering wheel angle with and without filtering at RAC = 0.9 and VS = 20 m/s.
Actuators 11 00034 g006
Figure 7. The steering wheel angle with and without filtering at RAC = 0.5 and VS = 10 m/s.
Figure 7. The steering wheel angle with and without filtering at RAC = 0.5 and VS = 10 m/s.
Actuators 11 00034 g007
Figure 8. The steering wheel angle with and without filtering at RAC = 0.5 and VS = 20 m/s.
Figure 8. The steering wheel angle with and without filtering at RAC = 0.5 and VS = 20 m/s.
Actuators 11 00034 g008
Figure 9. CarsimSimulink Joint Simulation Model.
Figure 9. CarsimSimulink Joint Simulation Model.
Actuators 11 00034 g009
Figure 10. Double-shift line test road diagram.
Figure 10. Double-shift line test road diagram.
Actuators 11 00034 g010
Figure 11. Comparison of trajectories and tracking error for different speeds of adaptive preview time.
Figure 11. Comparison of trajectories and tracking error for different speeds of adaptive preview time.
Actuators 11 00034 g011
Figure 12. Comparison of trajectories and tracking error with different preview times at 5 m/s.
Figure 12. Comparison of trajectories and tracking error with different preview times at 5 m/s.
Actuators 11 00034 g012
Figure 13. Comparison of trajectories and tracking error with different preview times at 10 m/s.
Figure 13. Comparison of trajectories and tracking error with different preview times at 10 m/s.
Actuators 11 00034 g013
Figure 14. Comparison of trajectories and tracking error with different preview times at 15 m/s.
Figure 14. Comparison of trajectories and tracking error with different preview times at 15 m/s.
Actuators 11 00034 g014
Figure 15. Comparison of trajectories and tracking error with different preview times at 20 m/s.
Figure 15. Comparison of trajectories and tracking error with different preview times at 20 m/s.
Actuators 11 00034 g015
Figure 16. Comparison of trajectories and tracking error with different preview times at 25 m/s.
Figure 16. Comparison of trajectories and tracking error with different preview times at 25 m/s.
Actuators 11 00034 g016
Figure 17. Comparison of trajectories and tracking error with different preview times at 30 m/s.
Figure 17. Comparison of trajectories and tracking error with different preview times at 30 m/s.
Actuators 11 00034 g017
Figure 18. Comparison of trajectories and tracking error for different speeds of adaptive preview time.
Figure 18. Comparison of trajectories and tracking error for different speeds of adaptive preview time.
Actuators 11 00034 g018
Figure 19. Comparison of trajectories and tracking error with different preview times at 5 m/s.
Figure 19. Comparison of trajectories and tracking error with different preview times at 5 m/s.
Actuators 11 00034 g019
Figure 20. Comparison of trajectories and tracking error with different preview times at 10 m/s.
Figure 20. Comparison of trajectories and tracking error with different preview times at 10 m/s.
Actuators 11 00034 g020
Figure 21. Comparison of trajectories and tracking error with different preview times at 15 m/s.
Figure 21. Comparison of trajectories and tracking error with different preview times at 15 m/s.
Actuators 11 00034 g021
Figure 22. Comparison of trajectories and tracking error with different preview times at 20 m/s.
Figure 22. Comparison of trajectories and tracking error with different preview times at 20 m/s.
Actuators 11 00034 g022
Figure 23. Structural diagram of the PP algorithm, where δ is front wheel steering angle; L is wheelbase of vehicle; ld is preview distance; draw the circle using the preview distance as the chord length of the circle, and R is the radius of the circle; the circle intersects the trajectory at point C; α is the angle of the chord to the vehicle body.
Figure 23. Structural diagram of the PP algorithm, where δ is front wheel steering angle; L is wheelbase of vehicle; ld is preview distance; draw the circle using the preview distance as the chord length of the circle, and R is the radius of the circle; the circle intersects the trajectory at point C; α is the angle of the chord to the vehicle body.
Actuators 11 00034 g023
Figure 24. Comparison experiments between PP and SMC algorithms at different speeds.
Figure 24. Comparison experiments between PP and SMC algorithms at different speeds.
Actuators 11 00034 g024
Table 1. Parameters of sliding mode controller.
Table 1. Parameters of sliding mode controller.
ParametersValueUnit
T0.5 (coefficient road adhesion is 0.9)s
0.7 (coefficient road adhesion is 0.5)s
λ60-
η10-
Φ1300-
Φ2200-
ξ1800-
Table 2. Carsim import/export channels.
Table 2. Carsim import/export channels.
ParametersImport/Export ChannelsUnit
Lead distance to drive model pathIMP_LX_SEN_1m
Steering wheel angleIMP_STEER_SWdeg
Lateral distance to target preview point 2L_Drv_2m
Longitudinal speedVx_SMkm/h
Yaw rate of vehicleAV_Ydeg/s
Slip angle of vehicleBetadeg
Lateral distance to target preview point 1L_Drv_1m
Table 3. Parameters of vehicle.
Table 3. Parameters of vehicle.
ParametersValueUnit
m1820kg
Iz1523kg·m−2
Cf108,861N·rad−1
Cr108,861N·rad−1
isw19.562-
Table 4. Double-shift line road centerline discrete point table.
Table 4. Double-shift line road centerline discrete point table.
X (m)Y (m)Station (m)X (m)Y (m)Station (m)
000953.490.291
650651203.495.292
700.170.0011253.3125.296
750.775.0371302.4130.377
801.880.1561351.1135.543
852.885.2551400.2145.627
903.490.2912000200.627
Table 5. Maximum and minimum offsets for different preview time and different speed for road segment three.
Table 5. Maximum and minimum offsets for different preview time and different speed for road segment three.
Speed (m/s)Adaptive Preview Time (m)0.5 s Preview Time (m)0.8 s Preview Time (m)1.2 s Preview Time (m)
Maximum OffsetMinimum OffsetMaximum OffsetMinimum OffsetMaximum OffsetMinimum OffsetMaximum OffsetMinimum Offset
50.0307−0.01860.0307−0.01910.0302−0.02980.0354−0.0570
100.0296−0.04700.0296−0.03090.0350−0.12810.0310−0.2718
150.0294−0.09420.0278−0.11820.0170−0.2640−0.0815−0.4975
200.0242−0.15700.0152−0.2028−0.0540−0.4232−0.2942−0.8555
25−0.0154−0.2517−0.0172−0.2769−0.1719−0.6516−0.5247−1.1763
300.2825−0.4226−0.0937−0.4095−0.3068−0.8712−0.7394−1.4423
Table 6. Maximum offsets and minimum offsets for different preview times and different speeds for road segment three.
Table 6. Maximum offsets and minimum offsets for different preview times and different speeds for road segment three.
Speed (m/s)Adaptive Preview Time (m)0.5 s Preview Time (m)0.8 s Preview Time (m)1.2 s Preview Time (m)
Maximum OffsetMinimum OffsetMaximum OffsetMinimum OffsetMaximum OffsetMinimum OffsetMaximum OffsetMinimum Offset
50.0307−0.01860.0307−0.01910.0302−0.02980.0354−0.0570
100.0296−0.04700.0296−0.03090.0350−0.12810.0310−0.2718
150.0294−0.09420.0278−0.11820.0170−0.2640−0.0815−0.4975
200.0242−0.15700.0152−0.2028−0.0540−0.4232−0.2942−0.8555
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Hu, H.; Bei, S.; Zhao, Q.; Han, X.; Zhou, D.; Zhou, X.; Li, B. Research on Trajectory Tracking of Sliding Mode Control Based on Adaptive Preview Time. Actuators 2022, 11, 34. https://doi.org/10.3390/act11020034

AMA Style

Hu H, Bei S, Zhao Q, Han X, Zhou D, Zhou X, Li B. Research on Trajectory Tracking of Sliding Mode Control Based on Adaptive Preview Time. Actuators. 2022; 11(2):34. https://doi.org/10.3390/act11020034

Chicago/Turabian Style

Hu, Hongzhen, Shaoyi Bei, Qixian Zhao, Xiao Han, Dan Zhou, Xinye Zhou, and Bo Li. 2022. "Research on Trajectory Tracking of Sliding Mode Control Based on Adaptive Preview Time" Actuators 11, no. 2: 34. https://doi.org/10.3390/act11020034

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop