Next Article in Journal
Towards Optoelectronic Technology: From Basic Research to Applications
Previous Article in Journal
A Multi-Level Speed Guidance Cooperative Approach Based on Bidirectional Periodic Green Wave Coordination Under Intelligent and Connected Environment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Trajectory Tracking Control Method for Crawler Robot Based on Improved PSO Sliding Mode Disturbance Rejection Control

1
Engineering Research and Design Institute of Agricultural Equipment, Hubei University of Technology, Wuhan 430068, China
2
Hubei Engineering Research Center for Intellectualization of Agricultural Equipment, Wuhan 430068, China
3
School of Mechanical Engineering, Hubei University of Technology, Wuhan 430068, China
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(7), 2113; https://doi.org/10.3390/s25072113
Submission received: 4 March 2025 / Revised: 24 March 2025 / Accepted: 25 March 2025 / Published: 27 March 2025
(This article belongs to the Section Sensors and Robotics)

Abstract

:
To address the issues of low trajectory tracking accuracy and difficulties in tuning control parameters for crawler robots operating in uneven terrains, this paper proposes a trajectory tracking control method. The method is based on improved particle swarm optimization and sliding mode active disturbance rejection control (SPSO-SMADRC). Firstly, considering the influence of disturbances such as terrain undulations and soil inhomogeneity on trajectory deviation, the kinematic and dynamic models of the crawler robot are established. A vector field guidance approach is employed to transform the trajectory tracking task into a heading control problem. The heading angle is adaptively adjusted based on the position deviation and path curvature. A nonlinear extended state observer is introduced to estimate external disturbances. A velocity-based SMADRC controller is designed to dynamically regulate the robot’s linear and angular velocities. This allows real-time correction of the robot’s motion. To overcome the tendency of the standard particle swarm optimization (PSO) algorithm to fall into local optima during controller parameter tuning, a nonlinear dynamic adjustment strategy was adopted. This strategy adaptively adjusts the inertia weight and learning factors, enhancing the algorithm’s global search capability. Comparative experiments were conducted using two types of curved trajectories: U-shaped and V-shaped paths. The experimental results show that, under the proposed SPSO-SMADRC method, the crawler robot achieved maximum position errors of 8.28 cm and 9.26 cm, average position errors of 1.41 cm and 2.94 cm, and maximum heading angle deviations of 0.56 rad and 0.87 rad. The standard deviations of the position errors were 3.19 and 4.28, respectively. Compared with conventional PSO-based SMADRC and standard SMADRC methods, the proposed approach improved the navigation tracking accuracy. In the U-shaped trajectory, the maximum position error was reduced by 19.22% and 38.21%, the average position error by 40.00% and 65.53%, and the heading angle error by 28.21% and 74.66%. In the V-shaped trajectory, the maximum position error was reduced by 17.39% and 38.95%, the average position error by 51.71% and 52.04%, and the heading angle error by 80.58% and 84.49%. These results demonstrate that the proposed SPSO-SMADRC method significantly enhances trajectory tracking performance and system robustness. It provides effective support for high-precision autonomous navigation of crawler robots in complex and unstructured environments.

1. Introduction

In typical tasks such as agricultural inspection, disaster rescue, field inspection, etc., crawler robots are widely used for autonomous operations in complex environments by virtue of their good obstacle-crossing performance and terrain adaptation capability [1]. With the development of automatic navigation technology, the continuous improvement of key technologies such as localization and posture measurement, path planning, and motion control has significantly improved the operational accuracy and stability of tracked robots in complex terrain [2,3]. However, in non-flat terrain, due to the problems of large ground undulation, uneven attachment conditions, and frequent external disturbances, tracked robots are still prone to operational problems such as trajectory deviation, lagging system adjustment response, and even attitude destabilization, which seriously affects their operational efficiency and mission reliability. Therefore, improving the trajectory tracking accuracy and adaptability of crawler robots to complex terrain has become one of the key technologies to ensure their efficient and stable operation in practical applications.
Currently, with the continuous expansion of robot application scenarios, researchers have proposed various trajectory tracking control methods to address challenges in different environments, including PID control [4,5], pure tracking control [6,7], active disturbance rejection control (ADRC) [8,9], sliding mode control (SMC) [10,11], and model predictive control (MPC) [12,13]. Mai et al. [14] designed an adaptive fuzzy PID controller for tracking robot speed control and steering, utilizing backstepping control to eliminate posture deviations, significantly improving trajectory tracking performance. Ji et al. [15] designed an adaptive second-order sliding mode (ASOSM) control system and incorporated a preview lateral offset model to enhance the trajectory tracking accuracy of unmanned tractors in unstructured environments. However, existing control methods still have certain limitations in terms of tracking real-time performance and adaptability to complex environments. Hou et al. [16] successfully combined their method with constrained model predictive control (MPC) and global terminal sliding mode control (GTSMC), improving the trajectory tracking performance of underactuated systems. To better assess the centroid offset angle and yaw rate, Li et al. [17] achieved high-precision trajectory tracking of robots by integrating the cubic Kalman algorithm with fuzzy compensation and preview angle control. Li et al. [18] introduced an offset rate analysis and compensation mechanism under the MPC framework to improve the trajectory tracking accuracy of underwater crawler bulldozers. However, when crawler robots operate on land, they often require more position constraints due to complex terrains. To better address path deviations caused by complex terrain during trajectory tracking, Chen et al. [19] studied the relationship between global path parameters and sliding mode control to enable the robot to converge stably along the target path by introducing a prescribed performance vector field in combination with sliding mode control. Kong et al. [20] designed a flexible and adjustable parameter function by combining a self-resilient controller with an improved guidance vector field (GVF) to enhance the robot path tracking performance and obstacle avoidance capability. Although these methods have made significant progress in the field of trajectory tracking, the adaptability in different operational scenarios still needs to be improved because the control parameters need to be manually adjusted.
To address the difficulties of manual tuning of controller parameters and poor adaptability, intelligent optimization parameter algorithms have been widely applied in the field of trajectory tracking control. Li et al. [21] used particle swarm optimization (PSO) to optimize the trajectory tracking controller parameters for four-wheel steering vehicles (4WS). Gökçe et al. [22] applied PSO to optimize the PID controller parameters, solving the path tracking and stability control issues of four-wheel steering agricultural robots during slippage. However, in previous studies, the inertia weight and learning factors of the PSO algorithm were typically constants, which caused the algorithm to fall into local optima. To address this, Qiao et al. [23] employed a particle swarm algorithm with an adaptive change in inertia weight to optimize PID controller parameters, significantly reducing path tracking deviation compared to manual tuning. Guo et al. [24] used particle swarm optimization (PSO) to optimize a safe speed adjustment mechanism in global path planning, which solves the local minimum problem well and significantly improves the global optimization performance of path planning. Feng et al. [25] proposed an improved particle swarm optimization (PSO) algorithm to optimize the PID controller parameters through nonlinear adaptive inertia weights, asynchronous learning coefficient strategy, and elite mutation method to improve the trajectory tracking accuracy.
The above methods provide an effective solution to the trajectory tracking control problem by predicting and compensating for possible robot offsets as well as external perturbations. However, the lack of constraints on the position of the robot in the case of tracked robots slipping due to drastic terrain changes affects the accuracy of trajectory tracking. In addition, the system’s ability to regulate in response to strong terrain changes is still deficient, resulting in limited control accuracy and motion stability of the robot in complex environments.
Aiming at the above problems, this paper designs a sliding mode self-resistant trajectory tracking control method based on the optimized parameters of the improved particle swarm algorithm, which solves the problems of the crawler robot’s difficulty in parameter adjustment and insufficient compensation for external perturbations in complex terrain, and provides a reliable solution for the high-precision trajectory tracking of crawler robots in complex environments. The specific methods are as follows:
(1) Establish the motion model of crawler robot through theoretical analysis, fully consider the influence of terrain and system dynamics characteristics, and lay the theoretical foundation for trajectory tracking.
(2) Based on mathematical modeling, a sliding mode self-imposed anti-disturbance control (SMADRC) strategy is designed, which introduces position constraints in combination with the path vector field and compensates for external perturbations in real time, dynamically correcting the robot’s speed to ensure stable tracking in complex terrain.
(3) An improved particle swarm optimization (PSO) algorithm is introduced to optimize the controller parameters to enhance the self-adaptive ability of the system, avoiding the tediousness of manual parameter tuning and improving the robustness of trajectory tracking and environmental adaptability.
(4) The effectiveness and superiority of the proposed method are verified by tracking experiments under different trajectories.

2. Crawler Robot Model

2.1. Crawler Robot Kinematic Model

This study focuses on a crawler robot with dual independent motor drives. Based on the differential steering characteristics, the kinematic model shown in Figure 1 is established. The following assumptions are made to simplify the motion characteristics of the crawler robot: (1) The robot’s center of mass coincides with the geometric center at a single point; (2) The elastic deformation and minor deformation between the tracks and the ground are neglected. The parameter b represents the wheelbase of the crawler robot, and r is the radius of the drive wheels. The robot’s position in the global coordinate system XOY is described by the coordinates (x, y, θ), where x and y are the horizontal and vertical coordinates of the robot’s center of mass in the global coordinate system, and θ represents the robot’s body longitudinal angle relative to the X-axis, indicating the heading angle. The body coordinate system XmOmYm is established at the geometric center Om of the crawler robot. The forward speed of the robot along the body’s forward axis is ν, and νy represents the lateral velocity the robot may experience due to external disturbances. ω is the angular velocity of the body. Additionally, considering potential deviations caused by complex terrain, the deviation angle ϕ is defined to represent the offset between the robot’s actual velocity and the forward direction.
Thus, the kinematic model of the crawler robot in the global coordinate system is established as follows:
x ˙ y ˙ θ ˙ = cos θ sin θ 0 sin θ cos θ 0 0 0 1 v v y ω = cos ϕ cos θ sin ϕ sin θ 0 cos ϕ sin θ sin ϕ cos θ 0 0 0 1 V ω
When the crawler robot steers, the theoretical velocities of the left and right tracks, vL and vR, are shown in Equation (2):
v L v R = η 60 l a 2 π N L η 60 l a 2 π N R
The actual velocities vl and vr are shown in Equation (3):
v l v r = v ω b 2 v + ω b 2
The offset angle ϕ can be expressed as in Equation (4), in order to describe the potential trajectory deviations that may occur during the robot’s actual motion, thereby improving the accuracy of the kinematic model and providing a reliable reference for the control algorithm.
ϕ = arctan v r v l b arctan v R v L b

2.2. Crawler Robot Dynamics Model

When operating in uneven environments, the crawler robot is influenced by various unknown factors, making its motion characteristics difficult to predict with high accuracy. This is particularly true during transient steering, where the left and right tracks may experience uneven forces due to external disturbances such as slopes, obstacles, or uneven terrain, further impacting the robot’s motion stability and trajectory tracking precision.
Based on the established plane coordinate system and the robot’s coordinate system, a force analysis of the moving crawler robot is conducted, as shown in the Figure 2. Om represents the robot’s steering center, and R is the robot’s steering radius. FR and FL are the effective traction forces acting on the robot, Ff is the frictional force, Fc is the uncertain longitudinal resistance force, J is the robot’s moment of inertia, Mμ is the steering resistance torque, and Mc is the uncertain resistance torque.
By analyzing the force situation of the crawler robot in Figure 2, the robot’s dynamic equation is obtained based on the force and torque balance equations:
m ν ˙ c = F L + F R F f l F f r F c J ω ˙ C = ( F R F L ) d M μ M c
where d = b/2, and the frictional resistance and steering resistance torque acting on the robot are shown in Equation (6):
F f l = F f r = f m g 2 M μ = μ m g L 4
where L is the track–ground contact length, f is the ground friction coefficient, and μ is the maximum ground steering coefficient, which is related to the ground conditions.
The dynamic relationship between the effective traction force on the crawler robot’s drive wheels and the motor can be expressed by the following Equation:
J e ω ˙ l + B e ω l = t l F L r J e ω ˙ r + B e ω r = t r F R r
Considering the velocity relationships v = ( ω r + ω l ) r 2 and ω = ( ω r ω l ) r 2 d , based on Equations (5)–(7), the dynamic model of the mobile robot with the motor torque as the control variable is obtained as:
ν ˙ = 2 B e m r 2 + 2 J e ν + r m r 2 + 2 J e ( t r + t l ) 2 μ g F c m ω ˙ = 2 B e J r 2 + 2 J e d 2 ω + r b m r 2 + 2 J e d 2 ( t r t l ) μ m g L 2 J M c 2 J
Furthermore, if the coil inductance voltage of the motor is neglected, the simplified DC servo motor model can be expressed as:
τ l = k a ( u l k b ω l ) R a τ r = k a ( u r k b ω r ) R a
where ul and ur are the voltages applied to the left and right wheel motors; ka and kb are the motor’s torque constant and voltage constant, respectively; Ra represents the resistance of the motor coil; and the above parameters have taken into account the effect of the transmission ratio.
Consider the following relationship:
u v = u r + u l 2 u ω = u r u l 2
Substituting Equations (9) and (10) into Equation (8), the disturbances that the crawler robot may encounter during actual motion, represented as ζ ν and ζ ω , can be expressed. The robot’s dynamic model can then be represented as:
ν ˙ ω ˙ = a 1 0 0 a 2 ν ω + b 1 0 0 b 2 u v u ω 2 μ g μ m g L 2 J + ζ ν ζ ω
In Equation (11):
a 1 = 2 B e R a + 2 k a k b m r 2 + 2 J e R a , a 2 = 2 B e R a + 2 k a k b d 2 J r 2 + 2 J e d 2 R a , b 1 = 2 r k a m r 2 + 2 J e R a , b 2 = 2 r d k a m r 2 + 2 J e d 2 R a

3. Trajectory Tracking Control Scheme

Due to the complexity and variability of uneven terrain, crawler robots often experience trajectory tracking errors, reducing tracking accuracy. To address this issue, this paper combines path vector field guidance and sliding mode active disturbance rejection control (SM-ADRC) to design an adaptive disturbance rejection trajectory tracking controller, which minimizes tracking errors. The overall control system framework is illustrated in Figure 3. Utilizing path vector field guidance, the desired heading angle is generated from the input trajectory. Based on the crawler robot’s real-time position and desired position, a velocity control command is generated and used as an input to guide motion. Under the SM-ADRC framework, a nonlinear velocity tracking controller is designed using velocity error and velocity dynamic estimation error, producing the initial control input. Subsequently, an extended state observer (ESO) estimates disturbances in real time and provides compensation, ultimately yielding the disturbance-compensated control input, ensuring stable trajectory tracking. Furthermore, a self-adaptive particle swarm optimization (SPSO) algorithm dynamically tunes key control parameters, improving disturbance rejection and control performance.

3.1. Heading Angle Determination Based on Path Vector Field

When operating in uneven environments, the crawler robot often experiences deviations between the actual and target trajectories due to the lack of positional constraints, especially when encountering complex terrain or external disturbances. To address this issue, this paper establishes a path vector field around the desired path and introduces directional information, enabling the robot to more effectively return to the path when deviating.
To analyze the trajectory movement of the crawler robot in uneven environments, as shown in Figure 4, an inertial coordinate system XOY and a body coordinate system XmOmYm are established. The Xm axis points in the direction of the robot’s forward movement, with the robot’s forward linear velocity denoted as ν. The variables νx, νy, and ω represent the robot’s longitudinal speed, lateral speed, and angular velocity in the body coordinate system, respectively. Assume the current position of the crawler robot is (xi,yi), θ is the robot’s heading angle, and P(xp,yp) is the nearest point on the trajectory to the current position. ye is the lateral error between the robot and the target path. α is the angle between the tangent of the target trajectory and the positive direction of the X-axis in the inertial coordinate system. δ is the robot’s heading angle, ϕ is the deviation angle that the robot may experience in complex environments, δ = θ + ϕ, and θd is the desired heading angle, determined using the vector field guidance method.
The pose and velocity of the target trajectory point are represented as the vector Pr = [xr,yr,θr], and the trajectory tracking error equation of the crawler robot in the local coordinate system is established as:
x e y e θ e = cos sin θ 0 sin θ cos θ 0 0 0 1 x r x i y r y i θ r θ i
Taking the derivative of Equation (12) and substituting Equation (1) gives:
x ˙ e y ˙ e θ ˙ e = V sin ( θ α + ϕ ) V cos ( θ α + ϕ )    ω r ω   
To achieve trajectory tracking for the crawler robot, a vector field is constructed to guide the robot toward the target path. A guiding vector pointing to the desired motion direction is generated at the robot’s current position. This method combines the tangent vector field of the target path direction with the normal vector field perpendicular to the target path, forming a smoothly transitioning global vector field. This guides the crawler robot to automatically adjust its running direction in complex terrain. The schematic diagram of the path vector field is shown in Figure 5.
First, find the closest point on the target path to the current position of the robot P(xr,yr):
p = arg min x ( i ) x ( r ) 2 + y ( i ) y ( r ) 2
The Euclidean norm of the trajectory vector is set as follows:
D 1 = s s D 2 = λ 1 λ 2 | y e | 1 + λ 2 | y e |
where
s = x i x r y i y r s = ( x r x i ) 2 ( y r y i ) 2
The vector field formula can be expressed as:
D = D 1 + D 2
After superimposing, the direction vector generated by the vector field at the crawler robot’s current position represents the expected velocity direction of the robot at that position.
The heading angle can be expressed as:
δ d = α sign ( y e ) arctan ( λ 1 λ 2 | y e | 1 + λ 2 | y e | )
where λ1 = 20 and λ2 = 0.3.
The desired forward direction angle is:
θ d = δ d ϕ
Assuming that the forward direction angle of the crawler robot can track the desired direction angle, θ = θd, by substituting Equations (18) and (19) into Equation (12), the position error is obtained as follows:
y ˙ e = U sin ( θ α + ϕ ) = U sin ( θ d α + ϕ ) = U sin ( δ d α ) = U sin [ s i g n ( y e ) arctan ( λ 1 λ 2 | y e | 1 + λ 2 | y e | ) ] = U s i g n ( y e ) sin [ arctan ( λ 1 λ 2 | y e | 1 + λ 2 | y e | ) ] = U s i g n ( y e ) λ 1 λ 2 | y e | 1 + λ 2 | y e | 1 + ( λ 1 λ 2 | y e | 1 + λ 2 | y e | ) 2
To prove the stability of the trajectory guidance law, the following Lyapunov function is chosen:
V 1 = 1 2 y e 2
Taking the derivative of Equation (21) and substituting Equation (20) yields:
V ˙ 1 = y e y ˙ e = U y e s i g n ( y e ) λ 1 λ 2 | y e | 1 + λ 2 | y e | 1 + ( λ 1 λ 2 | y e | 1 + λ 2 | y e | ) 2 = U λ 1 λ 2 y e 2 1 + λ 2 | y e | 1 + ( λ 1 λ 2 | y e | 1 + λ 2 | y e | ) 2 0
According to Lyapunov stability theory, the position error ye gradually converges to zero over time, indicating that the system is asymptotically stable.

3.2. Speed Sliding Mode Self-Disturbance Control

To address the issue of trajectory tracking control degradation due to model inaccuracies caused by external disturbances when the crawler robot operates in uneven terrain, a sliding mode disturbance rejection velocity tracking controller is designed. The controller outputs control quantities u0 = (u1,u2) based on the deviation between the desired speed qd = (νd,ωd) and the real-time feedback speed q = (ν,ω). The controller introduces a nonlinear extended state observer (ESO) to estimate the total disturbance in the system and incorporates this disturbance as a compensation term. This term is combined with the control signal to yield the actual control quantity u = (uv,uω), which dynamically adjusts the left and right track speeds to maintain directional stability.
To ensure that the robot pose error system in Equation (12) asymptotically converges to zero, the velocity control law is designed based on the Lyapunov function as follows:
v d = v 0 cos ( θ α + ϕ ) ω d = ω r k θ e
The linear velocity error is defined as:
e v = v v d
where v is the current linear velocity of the tracked robot and vd is the desired linear velocity.
Construct the integral terminal sliding mode surface for the linear velocity error, Sv [26]:
S v = e v + 0 t b 1 e v γ sgn γ ( e v ) d t
Take the derivative of the sliding mode surface:
S ˙ v = e ˙ v + b 1 | e v | γ sgn γ ( e v )
Select the sliding mode reaching law:
S . v = b 2 sgn ( S v )
For the dynamic model of the crawler robot in Equation (11):
ν ˙ ω ˙ = B u v u ω + f 1 f 2
where
B = b 1 · u v , b 2 · u ω T , f 1 f 2 = a 1 0 0 a 2 ν ω 2 μ g μ m g L 2 J + ζ ν ζ ω
Let x 1 = y = v , ω T , x 2 = D be the total disturbance of the system, and the system model can be expressed as:
x ˙ 1 = x 2 + b u x ˙ 2 = δ y = x 1
where δ is the derivative of the system disturbance D, and both δ and D are bounded, with the estimated value of D denoted as D .
A nonlinear extended state observer (ESO) is designed to estimate the total disturbance of the system in real time.
e 1 = z 1 y z ˙ 1 = z 2 β 1 e 1 z ˙ 1 = z 3 β 2 f a l ( e 1 , a 1 , δ 1 ) + b u z ˙ 3 = β 3 f a l ( e 1 , a 2 , δ 1 )
where z1 is the estimated value of x1, z2 is the estimated value of the total system disturbance, and z3 is the expanded variable of the observer, the estimated value of the total disturbance of the controller. a1 and a2 determine the nonlinearity of the fal function, where a1 is typically set to 5 and a2 to 0.25. δ0 represents the linear region width of the fal function around the origin; if the value is too large, it will reduce the ESO’s ability to estimate errors, while if it is too small, it may cause high-frequency oscillations. In this case, it is set to 0.1. β1 and β2 are the gains of the extended state observer, which influence the convergence speed of the ESO. By selecting appropriate gain values, the system’s disturbance estimation and compensation capabilities can be effectively enhanced.
The nonlinear function fal ( x , a , δ 0 ) is defined as:
fal ( x , a , δ 0 ) = | x | a sgn ( x ) ,       | x | > δ x δ 0 1 a ,          | x | δ
As shown in Equation (31), the sgn function in the fal function is discontinuous at the piecewise points, which can easily cause chattering, amplify noise, and reduce the smoothness of control. Therefore, it is replaced by the Sigmoid function, which effectively smooths the transition, reduces chattering, and improves the system’s robustness and trajectory tracking accuracy. This approach is suitable for the operation of the tracked robot in non-flat environments.
sign ( ε ) = 1 1 + e ε 1
Substituting Equation (32) into Equation (31), the nonlinear function can be expressed as:
s f a l ε , a , δ = | ε | a ( 1 1 + e ε 1 )         | ε | > δ δ a ( 1 1 + e ε 1 )          | ε | δ
Based on the nonlinear error feedback control law (NLSEF), the linear velocity control law is designed as:
u v = k 1 s f a l ( S v , a 3 , δ 1 ) + k 2 s f a l ( e 1 , a 4 , δ 1 ) + k 3 s f a l ( e ˙ 1 , a 5 , δ 1 ) z 3 b 0
Similarly, the angular velocity control law is designed as:
u ω = k 1 s f a l ( S ω , a 3 , δ 1 ) + k 2 s f a l ( e 1 , a 4 , δ 1 ) + k 3 s f a l ( e ˙ 1 , a 5 , δ 1 ) z 3 b 0
In the control law, a3 generally taken as a3 = 0.75, a4 = 1.25, a5 = 1.5. The adjustment of δ1 is consistent with δ0 in the ESO. The parameter k1 mainly affects the tracking speed of the system, with larger values resulting in faster system response, while k2 mainly affects the anti-interference ability of the system, and increasing its value can suppress overshooting. b0 is determined by the system state equation. For a crawler robot operating in uneven environments where disturbances cannot be precisely modeled, b0 is treated as an adjustable parameter.
V = 1 2 S 2 v
Take the derivative of it:
V ˙ = S v S ˙ v
The dynamic error equation is:
S ˙ v = k 1 s f a l ( S v , a 3 , δ 1 ) k 2 s f a l ( e 1 , a 4 , δ 1 ) k 3 s f a l ( e ˙ 1 , a 5 , δ 1 ) + z 3 b 0
Substitute Equation (38) into Equation (37) to obtain:
V ˙ = S v k 1 s f a l ( S v , a 3 , δ 1 ) k 2 s f a l ( e 1 , a 4 , δ 1 ) k 3 s f a l ( e ˙ 1 , a 5 , δ 1 ) + z 3 b 0
When | ε | > δ 1 , and s f a l ε , a , δ 1 = | ε | a ( 1 1 + e ε 1 ) are substituted into Equation (37), we obtain:
V ˙ = S v k 1 | S v | a 1 1 + e S v 1 k 2 | e 1 | a 1 1 + e e 1 1 k 3 | e 1 | a 1 1 + e e 1 1 + z 3 b 0 k 1 S v | S v | a 1 1 + e S v 1 k 2 S v | e 1 | a 1 1 + e e 1 1 k 3 S v | e 1 | a 1 1 + e e 1 1 + z 3 b 0
Since 1 1 + e x 1 is a monotonically increasing function and positive when x > 0, under the condition that k1, k2, k3 > 0, we have V ˙ 0 .
When | ε | δ 1 , substituting s f a l ε , a , δ 1 = δ 1 a ( 1 1 + e ε 1 ) into Equation (39) gives:
V ˙ = S v k 1 δ 1 a 1 1 + e S v 1 k 2 δ 1 a 1 1 + e e 1 1 k 3 δ 1 a 1 1 + e e 1 1 + z 3 b 0 k 1 S v δ 1 a 1 1 + e S v 1 k 2 S v δ 1 a 1 1 + e e 1 1 k 3 S v δ 1 a 1 1 + e e 1 1 + z 3 b 0
Since 1 1 + e x 1 > 0 , and k1, k2, k3 > 0, and V ˙ 0 , according to Lyapunov stability theory, the system is asymptotically stable.

4. Trajectory Tracking Controller Parameter Adaptive Optimization

4.1. Improved Particle Swarm Optimization Algorithm

When a tracked robot performs trajectory tracking in an uneven terrain, external disturbances can cause changes in the curvature of the trajectory and abrupt variations in the heading angle, leading to deviations from the target trajectory. To address this issue, the robot must dynamically adjust its speed and heading angle based on real-time changes in the trajectory. In such a dynamic environment, the controller parameters must be adjusted in real time at different stages of operation to ensure that the robot remains stable along the desired path. To effectively solve this problem, a particle swarm optimization (PSO) algorithm is introduced to optimize the controller parameters.
The core idea of the traditional particle swarm optimization (PSO) algorithm is to find the global optimal solution by simulating the motion of particles (candidate solutions) in the search space and continuously optimizing their solutions. The velocity and position update of the i-th particle in the k-th iteration for each dimension d is determined by the following equations.
v i , d ( k + 1 ) = w k v i , d ( k ) + c 1 r 1 ( k ) [ p i , d ( k ) x i , d ( k ) ] + c 2 r 2 ( k ) [ p g , d ( k ) x i , d ( k ) ] x i , d ( k + 1 ) = x i , d ( k ) + v i , d ( k )
where i is the particle index, d is the dimension index, and k is the iteration index. vi,d(k) and xi,d(k) represent the velocity and position of the i-th particle in the d-th dimension, respectively. pi,d(k) and Pg,d(k) are the particle’s personal and global optimal positions in the d-th dimension, respectively. w is the inertia weight, controlling search dynamics, while c1 and c2 are learning factors guiding convergence. r1 and r2 are random numbers to ensure search diversity and avoid premature convergence. However, in the complex multi-modal optimization problem of trajectory tracking parameters for tracked robots in uneven terrain, the fixed inertia weight in the traditional PSO algorithm struggles to balance between global search and local optimization. To resolve this issue, this paper introduces particle similarity s(i,j) to monitor the changes in the state of the swarm.
s ( i , j ) = 1 ,            d ( i , j ) < d min 1 d ( i , j ) / d max , d min d ( i , j ) d max 0 ,            d ( i , j ) > d max
A dynamic smoothing adjustment strategy is introduced based on particle similarity.
ω ( k ) = ω max ( ω max ω min ) 1 + tanh [ s ( i , j ) ε ( k ) ] 2 δ ( k ) = 0.5 1 k N
where Wmax and Wmin are the maximum and minimum values of the inertia weight, respectively, d(i,j) is the Euclidean distance between particles i and j, N is the maximum number of iterations of the particle swarm, and k is the current iteration of the particle. This formula dynamically adjusts the inertia weight, balancing global and local search capabilities. It allows the particle swarm to quickly adapt to terrain changes while ensuring smooth transitions between stages, enhancing the algorithm’s adaptability for trajectory tracking in complex environments.
In non-flat terrain, the tracked robot’s controller must dynamically adjust parameters to adapt to complex conditions. The learning factors in the particle swarm algorithm determine the balance between individual and group learning, directly impacting optimization performance. Excessive individual learning leads to local optima and search divergence, while excessive group learning causes premature convergence to suboptimal solutions. To address this, a sine–cosine factor is introduced, enabling oscillatory decay within a fixed range. By probabilistically switching between sine and cosine functions, particle search diversity is enhanced, expanding the search space to optimize the controller for non-flat terrain. The adjustment formula is as follows:
c 1 ( k ) = c 1 , min + ( c 1 , max c 1 , min ) 1 + sin π s ( i , j ) 2 c 2 ( k ) = c 2 , min + ( c 2 , max c 2 , min ) 1 + cos π ( 1 s ( i , j ) ) 2
The fitness function of the algorithm is chosen as ITAE error criterion, the lower its value, the performance. The lower the value, the better the performance. The basic form is as follows:
J = 0 t e 1 ( t ) + t | e 1 ( t ) | d t

4.2. Tracking Controller Parameter Optimization Strategy

In this paper, an improved particle swarm optimization method is used to optimize the key parameters of the previously designed sliding mode self-immunity trajectory tracking controller, including k1, k2, k3,b0, β1, β2, and β3.
The improved particle swarm optimization process is explained by the following pseudo-algorithmic code (see Algorithm 1).
Algorithm 1 Improved Particle Swarm Algorithm Optimization Parameter Flow
  FOR each particle i
   FOR each dimension d
    Initialize position xi,d(k) randomly within permissible range
    Initialize velocity vi,d(k) randomly within permissible range
   END FOR
  END FOR
  Iteration k = 1
  DO
   FOR each particle i
    Calculate the fitness value
    IF the fitness value is better than pi,d(k) in history
     Set current fitness value as the pi,d(k)
    END IF
   END FOR
   Select the particle having the best fitness value as the pg,d(k)
   FOR each particle i
    FOR each dimension d
     Update inertia weight w(k) according to the dynamic formula
     Update learning factors c1(k), c2(k) using the sine–cosine adjustment formula
      Update   the   particle   velocity   using   the   equation : v i , d ( k + 1 ) = w k v i , d ( k ) + c 1 r 1 ( k ) [ p i , d ( k ) x i , d ( k ) ] + c 2 r 2 ( k ) [ p g , d ( k ) x i , d ( k ) ]
      Update   the   particle   position   using   the   equation : x i , d ( k + 1 ) = x i , d ( k ) + v i , d ( k )
    END FOR
   END FOR
  Update iteration count k = k+1
  WHILE the maximum iterations or minimum error criterion are not attained
During the adjustment process, the variation range of the inertia weight is set as wmax = 0.9 and wmin = 0.4;. the variation range of the individual learning factor c1 is set as c1,min = 0.5 and c1,max = 2.5, with its value gradually decreasing with the number of iterations. Meanwhile, the variation range of the group learning factor c2 is set as c2,min = 0.5 and c2,max = 2.5. For the optimization of parameters k1, k2, b0, β1, β2, and β3, the particle dimension is set to 6; the particle swarm size is 100; the maximum number of particle iterations is 200; the upper limit of particle velocity is [1,1,0.25,1,2,5]; the lower limit of particle velocity is [−1,−1,−0.25,−1,−2,−5]; the upper limit of particle optimization is [400,400,30,200,1000,5000]; the lower limit of particle optimization is [1,1,1/30,60,200,1500].
Based on the previous theory, a simulation analysis of the improved particle swarm optimization (SPSO) algorithm was conducted; the result is shown in Figure 6. The performance of the improved SPSO and the classic particle swarm optimization (PSO) algorithm in terms of optimal fitness values showed significant differences. In the early stages of iteration, SPSO’s optimal fitness value dropped rapidly, indicating a faster convergence speed, while PSO’s decline was relatively slower. After 50 iterations, the SPSO curve leveled off, reaching the global optimum earlier. In contrast, PSO’s curve only started to stabilize after 153 iterations, and its final stable value was higher than that of SPSO, indicating that SPSO’s optimization results were superior to those of PSO. Additionally, the SPSO curve was smooth without oscillations, indicating stronger capability to escape local optima and more stable optimization, whereas the PSO curve exhibited fluctuations, reflecting its tendency to fall into local optima and insufficient optimization accuracy. SPSO, by dynamically adjusting the inertia weight and balancing global search with local exploration, not only significantly improved convergence speed and reduced the number of iterations but also consistently showed a smoother decline trend during iterations, maintaining stability after convergence. This fully demonstrated its efficiency and superiority.

5. Verification Experiment and Result Analysis

This paper uses a crawler robot as the experimental platform. The robot system mainly consists of the human–machine interaction layer, data processing layer, and control execution layer. The system hardware structure is shown in Figure 7.
The core of the human–computer interaction layer is the PC, which realizes remote communication with the robot through wireless network, and undertakes the functions of task issuance, parameter setting, status monitoring, etc. The data processing unit is based on the NVIDIA Jetson TX2 embedded computing platform and is equipped with powerful parallel computing capability of the GPU, receives task commands from the PC and acquires environmental information through LIDAR sensors and cameras to complete tasks such as map construction and robot localization. The sensing system consists of several types of sensors, including LIDAR for environment mapping and obstacle avoidance, a camera for visual recognition and target detection, an inertial measurement unit (IMU) for obtaining attitude and acceleration information, and an encoder mounted on the end of the motor shaft for measuring wheel speed and assisting in position estimation. The control part adopts the domestic TrongLong M8 control board, which integrates a CAN bus, serial port, and other communication interfaces, and is responsible for receiving motion commands and controlling the motor driver to generate control current to complete the differential motion, fixed-point steering, and other operations. The DC brushless motor is used as the power source for the drive mechanism, and the encoder is used to realize closed-loop control. The power supply of the system is provided by a 48 V lithium battery, and through the DC-DC step-down module for Jetson TX2, sensors, and other sub-systems, and at the same time is equipped with a power management unit, to achieve stable regulation of the voltage and current and fault protection, to ensure that the system operates stably over a long period of time. The technical parameters of the tracked robot are listed in Table 1, and the technical parameters of the DC brushless motor used in the robot’s drive wheels are listed in Table 2.
Based on the above technical parameters, the total rotational inertia of the tracked robot is J = 5.13 kg m2, and the rotational inertia of the wheels is Je = 1.05 kg m2. From this, the values a1 = −0.01, a2 = −0.23, b1 = 0.04, and b2 = 0.03.are derived. The steering resistance coefficient μ in the experimental environment is approximately 0.67.
To verify the trajectory tracking performance of the trajectory tracker designed in this paper, a path tracking experiment was conducted in an outdoor open area. The experimental area had dry grass covering the ground, with poor ground flatness and irregular depressions and protrusions, making the terrain complex. The experimental scene is shown in Figure 8. Considering the chassis performance and subsequent research requirements, the chassis forward speed was set to 0.5 m/s during the experiment. Comparative experiments were conducted on the tracked robot under three control methods: the improved particle swarm optimization-based sliding mode active disturbance rejection control (SPSMA), the classic particle swarm optimization-based sliding mode active disturbance rejection control (PSMA), and the traditional sliding mode active disturbance rejection control (SMA). The experiments involved tracking two arc-shaped trajectories with different curvatures.

5.1. U-Shaped Path Tracking Experimental Verification

This paper first selected the U-shaped path as the target trajectory. The path consists of straight lines and curves, simulating the common driving trajectory of a tracked robot during turning or obstacle avoidance in a non-flat environment. At the beginning of the experiment, the robot was stationary at the starting position, and the navigation control system was activated. After the system data stabilized, the robot started the trajectory tracking task and navigated along the U-shaped path. Considering the non-flat working environment when the tracked robot performs tasks, an initial lateral deviation of approximately 20 cm was set to verify the correction ability of the control algorithm. The traditional particle swarm algorithm and the improved particle swarm algorithm were used to optimize the parameters of the controller respectively, and compared with the unoptimized controller, the parameters of the sliding mode self-immunity trajectory tracking controller before and after optimization and when unoptimized are shown in Table 3.
The U-shaped trajectory tracking results are shown in Figure 9. The experimental environment has an uneven ground with bumps and pits. All three control methods were capable of controlling the tracked robot to follow the U-shaped trajectory. However, the tracked robot controlled by the SMA method showed sensitivity to changes in the complex environment, with large deviations from the target trajectory on both sides of the track during the tracking process. The robot controlled by the PSMA method demonstrated good overall trajectory tracking performance, but still experienced some speed fluctuations and trajectory deviations during turns and on uneven surfaces. The robot controlled by the SPSMA method performed the best in the complex environment, with significantly reduced speed fluctuations on uneven surfaces and a trajectory that closely followed the target, minimizing the tracking deviation.
In the U-shaped trajectory tracking experiment, the actual position of the tracked track under different control methods was compared with the reference trajectory at each trajectory sampling point. The results are shown in Figure 10. The standard deviation of the position deviation was also calculated, as shown in Table 4. The position error index effectively reflects the trajectory tracking accuracy of the tracked robot in uneven environments, while the standard deviation reflects the driving stability of the tracked robot in such environments.
In order to better evaluate the overall tracking accuracy of the robot in complex trajectories, the navigation accuracy improvement percentage [21] was further used to measure the effectiveness of the navigation controller’s precision enhancement. The calculation formula is as follows:
M = N 1 N 2 / N 1 × 100 %
In the formula, M represents the navigation accuracy improvement percentage (%); N1 is the average deviation of the traditional controller (cm); and N2 is the average deviation of the improved controller (cm).
From Figure 10 and Table 3, the statistical analysis of the actual position deviation of the crawler robot at each trajectory sampling point compared to the reference trajectory shows that the SPSMA control method achieves a maximum lateral error of 4.02 cm, an average lateral error of 1.08 cm, a maximum longitudinal deviation of 7.81 cm, an average longitudinal error of 1.32 cm, a maximum position error of 8.28 cm, an average position error of 1.41 cm, a maximum yaw angle deviation of 0.56 rad, and a standard deviation of 3.19.
Compared to the PSMA control method, the SPSMA-controlled robot reduced the maximum lateral error by 24.58%, the average lateral error by 41.30%, the maximum longitudinal deviation by 14.18%, the average longitudinal error by 32.99%, the maximum position error by 19.22%, the average position error by 40.00%, the maximum yaw angle deviation by 28.21%, and the standard deviation by 20.65%.
Compared to the SMA control method, the performance improvement of the SPSMA-controlled robot is even more significant. The maximum lateral error decreased by 65.64%, the average lateral error decreased by 74.16%, the maximum longitudinal deviation decreased by 39.37%, the average longitudinal error decreased by 59.26%, the maximum position error decreased by 38.21%, the average position error decreased by 65.53%, the maximum yaw angle deviation decreased by 74.66%, and the standard deviation decreased by 42.63%
These results indicate that the SPSMA control method enables the robot to better respond to environmental changes, make real-time adjustments, reduce the accumulation of position errors, and show stronger adaptability to complex terrain and higher driving stability.

5.2. V-Shaped Path Tracking Experiment Validation

To further validate the improvement in track tracking accuracy of the crawler robot using the method proposed in this paper, positional information was pre-collected before the experiment, and a V-shaped trajectory tracking experiment with more significant curvature changes was conducted. The traditional particle swarm algorithm and the improved particle swarm algorithm were used to optimize the parameters of the controller respectively, and compared with the unoptimized controller, the parameters of the sliding mode self-immunity trajectory tracking controller before and after optimization and when unoptimized are shown in Table 5.
The experimental results are shown in Figure 11. The three control methods exhibited obvious differences in controlling the crawler robot’s trajectory tracking performance. The robot controlled by the SMA control method showed significant deviation from the trajectory during the early stage of the experiment, especially under terrain disturbances, and there were large fluctuations in speed when turning. The PSMA control method optimized the control parameters to partially suppress oscillations. Although the robot performed well in the initial stage of the trajectory, it still showed speed fluctuations and trajectory deviation in the turning areas, particularly where curvature changes were more pronounced. The SPSMA control method, on the other hand, effectively suppressed speed oscillations by further optimizing the control algorithm. It was able to quickly adjust the robot to the desired trajectory, even in the turning areas with significant curvature changes, maintaining minimal tracking deviation. The trajectory was smooth and stable, showing higher tracking accuracy and stronger environmental adaptability.
In the V-shaped trajectory tracking experiment, the actual position of the tracked track under different control methods was compared with the reference trajectory at each trajectory sampling point. The results are shown in Figure 10. The standard deviation of the position deviation was also calculated, as shown in Table 6. The position error index effectively reflects the trajectory tracking accuracy of the tracked robot in uneven environments, while the standard deviation reflects the driving stability of the tracked robot in such environments.
From the robot tracking error comparison in Figure 12 and the statistical tracking deviation in Table 6, it can be observed that the SPSMA control method controlled the tracked crawler robot’s maximum lateral error to 6.16 cm, with an average lateral error of 2.75 cm, a maximum longitudinal deviation of 3.95 cm, an average longitudinal error of 1.59 cm, a maximum position error of 9.26 cm, an average position error of 2.94 cm, a maximum yaw angle deviation of 0.87 rad, and a standard deviation of 4.28. Compared to the PSMA control method, the SPSMA control method reduced the robot’s maximum lateral error by 17.87%, average lateral error by 10.42%, maximum longitudinal deviation by 47.19%, average longitudinal error by 40.23%, maximum position error by 17.39%, average position error by 51.71%, maximum yaw angle deviation by 80.58%, and standard deviation by 25.68%.
In comparison with the SMA control method, the improvements of SPSMA were even more significant, with a reduction of the robot’s maximum lateral error by 30.86%, average lateral error by 37.78%, maximum longitudinal deviation by 66.16%, average longitudinal error by 49.04%, maximum yaw angle deviation by 37.71%, maximum position error by 39.85%, average position error by 52.04%, maximum yaw angle deviation by 84.49%, and standard deviation by 41.53%.
From the experimental results, it can be seen that the control method proposed in this paper shows better tracking accuracy than the traditional method in both the U-shaped trajectory and V-shaped trajectory tracking tasks of the crawler robot, and the overall control effect is remarkable. However, in the process of tracking the V-shaped trajectory, the maximum position error is still slightly higher than that of the U-shaped trajectory, which is related to the geometric characteristics of different paths, and there is an obvious sharp steering section in the V-shaped path, and the curvature change is abrupt, so the robot needs to complete the large-angle attitude adjustment in a short period of time. Since tracked robots rely on the rotational speed difference between the left and right tracks to realize steering, their structures are limited in their responsiveness when facing high curvature points, and are prone to steering lag. In addition, the transient nature of the attitude angle change also brings about a certain heading deviation, causing the robot to deviate from the preset trajectory for a short period of time, thus triggering a local error peak. In contrast, the curvature change of the U-shaped path is smoother, allowing the robot to have more sufficient response time to complete the attitude adjustment, and the error accumulation is relatively small.
Further analyzed from the perspective of dynamic characteristics, the tracked robot needs to overcome the significant inertia effect and asymmetric traction distribution when performing the sharp turn task. At the turning point of the V-shaped path, the inner and outer tracks are prone to slip and adhesion loss due to the difference in running paths and different force conditions, which, together with the sudden change in the angular momentum of the robot body, will lead to the intensification of dynamic perturbations in the attitude adjustment process. In addition, under the instantaneous steering condition, the nonlinear and coupled inertia terms within the system are significantly enhanced, which increases the difficulty of real-time compensation by the controller. In this study, the sliding mode self-resistant control strategy is adopted to improve the system’s disturbance-resistant performance and robustness, but there still exists a transient control lag at the point of sudden curvature change, which is manifested as an increase in the local error. In contrast, the continuity and curvature asymptotic properties of the U-shaped path help reduce the control load and enhance the smoothness of trajectory tracking.

6. Conclusions

The paper presents an improved particle swarm optimization (PSO) sliding mode self-perturbation (SPSM) control method for tracked robots to address trajectory deviation caused by uneven terrain. Using vector field guidance, the trajectory tracking problem is transformed into a heading control task, with the heading angle adaptively adjusted based on path curvature and position error. An extended state observer (ESO) was used to estimate disturbances in real-time, and a sliding mode self-perturbation controller was designed based on velocity error to dynamically correct the robot’s operational speed.
To address the issue of controller parameter optimization, the traditional PSO algorithm was improved by dynamically adjusting the inertia weight and updating learning factors, enhancing the algorithm’s search capability and convergence speed, optimizing control system parameters, and achieving precise trajectory tracking. Comparative experiments were conducted on U-shaped and V-shaped trajectories with different curvatures.
The results from the U-shaped trajectory tracking experiment show that the maximum position error of the SPSMA-controlled robot is 8.28 cm, the average position error is 1.41 cm, the maximum yaw angle deviation is 1.57 rad, and the standard deviation is 3.19. The proposed method in this paper achieves significant improvement in navigation tracking accuracy; the maximum position error of the robot is reduced by 19.22%, the average position error is reduced by 40.00%, and the heading angle error is reduced by 28.21%, as compared with the PSMA method, and compared with the SMA method, the maximum position error is reduced by 38.21%, the average position error is reduced by 65.53%, and the heading angle error is reduced by 74.66%.
In the V-trajectory tracking experiment, the maximum position error of the SPSMA-controlled robot is 9.26 cm, the average position error is 2.94 cm, and the maximum yaw angle deviation is 0.87 rad, with a standard deviation of 4.28. Compared with the PSMA-controlled method, the maximum position error, the average position error, and the heading angle error are reduced by 17.39%, 51.71%, and 80.58%, respectively. Compared with the SMA method, the maximum position error, mean position error and heading error are reduced by 38.95%, 52.04% and 84.49%, respectively.
Summarizing the results from both experiments, the SPSMA control method significantly improves the trajectory tracking accuracy of the tracked robot, effectively reduces trajectory tracking error fluctuations, and enhances tracking stability. The method demonstrates superior trajectory tracking performance in complex, uneven environments, providing technical support for high-precision navigation.

Author Contributions

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

Funding

This research was funded by Hubei Provincial Science and Technology Innovative Talent Program Project grant number 2023DJC092, Hubei Provincial Department of Education Key Project grant number D20221404, National Natural Science Foundation of China grant number 52075152, Hubei Provincial Natural Science Foundation Innovation Group Project grant number 2023AFA037, Open Fund of Hunan Provincial Key Laboratory of Intelligent Electricity-Based Operation Technology and Equipment (Robot) grant number 2022KZD1001, National Natural Science Foundation of China grant number 51907055, China Construction West Construction Science and Technology Research and Development Project grant number ZJXJZN-2022-03, China State Construction Engineering Corporation 2022 Annual Science and Technology Research and Development Project grant number CSCEC-2022-Q-52.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Fan, Z.; Zhang, Q.; Qiu, Q.; Yang, Q. Locomotion modes for agricultural robot platform: A review. JAAS 2018, 46, 35–39. [Google Scholar]
  2. Zhang, M.; Ji, Y.; Li, S.; Cao, R.; Xu, H.; Zhang, Z. Research progress of agricultural machinery navigation technology. Trans. Chin. Soc. Agric. Mach. 2020, 51, 1–18. [Google Scholar]
  3. Shi, Y.; Cheng, X.; Xi, X.; Shan, X.; Jin, Y.; Zhang, R. Research progress on the path tracking control methods for agricultural machinery navigation. Trans. Chin. Soc. Agric. Eng. 2023, 39, 1–14. [Google Scholar]
  4. Wang, S.T.; Yin, X.H.; Li, P.; Zhang, M.Z.; Wang, X. Trajectory Tracking Control for Mobile Robots Using Reinforcement Learning and PID. Trans. Electr. Eng. 2020, 44, 1059–1068. [Google Scholar]
  5. Yan, J.; Zhang, W.G.; Liu, Y.; Pan, W.; Hou, X.Y.; Liu, Z.Y. Autonomous trajectory tracking control method for an agricultural robotic vehicle. Int. J. Agric. Biol. Eng. 2024, 17, 215–224. [Google Scholar] [CrossRef]
  6. Cao, Y.B.; Zhao, J.H.; Zhu, H.W.; Yang, Z.D.; Fan, J.W. PP-ST: An Indoor Mobile Robot Path Tracking Algorithm. IEEE Access 2023, 11, 116356–116365. [Google Scholar]
  7. Xu, L.J.; Yang, Y.K.; Chen, Q.H.; Fu, F.C.; Yang, B.H.; Yao, L.J. Path Tracking of a 4WIS-4WID Agricultural Machinery Based on Variable Look-Ahead Distance. Appl. Sci. 2022, 12, 13. [Google Scholar] [CrossRef]
  8. Li, S.H.; Zhang, J.H.; Zhao, K.; Zhang, Y.K.; Sun, Z.Q.; Xia, Y.Q. Trajectory tracking control for four-mecanum-wheel mobile vehicle: A variable gain active disturbance rejection control approach. Int. J. Robust Nonlinear Control 2022, 32, 1990–2006. [Google Scholar]
  9. Amokrane, S.B.; Laidouni, M.Z.; Adli, T.; Madonski, R.; Stankovic, M. Active disturbance rejection control for unmanned tracked vehicles in leader-follower scenarios: Discrete-time implementation and field test validation. Mechatronics 2024, 97, 12. [Google Scholar]
  10. Li, Z.Y.; Zhai, J.Y. Super-twisting sliding mode trajectory tracking adaptive control of wheeled mobile robots with disturbance observer. Int. J. Robust Nonlinear Control 2022, 32, 9869–9881. [Google Scholar]
  11. Cen, H.; Singh, B.K. Nonholonomic Wheeled Mobile Robot Trajectory Tracking Control Based on Improved Sliding Mode Variable Structure. Wirel. Commun. Mob. Comput. 2021, 27, 9. [Google Scholar] [CrossRef]
  12. Liu, X.X.; Wang, W.; Li, X.L.; Liu, F.S.; He, Z.H.; Yao, Y.Z.; Ruan, H.P.; Zhang, T. MPC-based high-speed trajectory tracking for 4WIS robot. ISA Trans. 2022, 123, 413–424. [Google Scholar] [CrossRef]
  13. Hu, J.; Hu, Y.; Chen, H.; Liu, K. Research on Trajectory Tracking of Unmanned Tracked Vehicles Based on Model Predictive Control. Acta Armamentarii 2019, 40, 456–463. [Google Scholar]
  14. Mai, T.A.; Dang, T.S.; Duong, D.T.; Le, V.C.; Banerjee, S. A combined backstepping and adaptive fuzzy PID approach for trajectory tracking of autonomous mobile robots. J. Braz. Soc. Mech. Sci. Eng. 2021, 43, 13. [Google Scholar] [CrossRef]
  15. Ji, X.; Ding, S.H.; Wei, X.H.; Cui, B.B. Path tracking of unmanned agricultural tractors based on a novel adaptive second-order sliding mode control. J. Frankl. Inst.-Eng. Appl. Math. 2023, 360, 5811–5831. [Google Scholar] [CrossRef]
  16. Hou, X.Q.; Yue, M.; Zhao, J.; Zhang, X.H. An ESO-based integrated trajectory tracking control for tractor-trailer vehicles with various constraints and physical limitations. Int. J. Syst. Sci. 2018, 49, 3202–3215. [Google Scholar] [CrossRef]
  17. Li, J.H.; Wang, J.Z.; Peng, H.; Hu, Y.B.; Su, H. Fuzzy-Torque Approximation-Enhanced Sliding Mode Control for Lateral Stability of Mobile Robot. IEEE Trans. Syst. Man Cybern. Syst. 2022, 52, 2491–2500. [Google Scholar] [CrossRef]
  18. Li, Y.; He, D.C.; Ma, F.; Liu, P.F.; Liu, Y.G. MPC-based trajectory tracking control of unmanned underwater tracked bulldozer considering track slipping and motion smoothing. Ocean Eng. 2023, 279, 27. [Google Scholar] [CrossRef]
  19. Chen, Z.R.; Tang, J.C.; Zuo, Z.Y. A Novel Prescribed-Performance Path-Following Problem for Non-Holonomic Vehicles. IEEE CAA J. Autom. Sin. 2024, 11, 1476–1484. [Google Scholar] [CrossRef]
  20. Kong, S.H.; Sun, J.L.; Luo, A.C.; Chi, W.C.; Zhang, C.; Zhang, S.G.; Liu, Y.Z.; Zhu, Q.G.; Yu, J.Z. A Collision-Free Target Tracking Controller with Uncertain Disturbance Rejection for Quadruped Robots. IEEE T. Intell. Veh. 2024, 9, 670–680. [Google Scholar] [CrossRef]
  21. Li, S.H.; Yang, Z.K.; Li, B.L. Four-wheel steering vehicle trajectory tracking control based on PSO optimized MPC. Phys. Scr. 2024, 99, 14. [Google Scholar]
  22. Gökçe, B.; Koca, Y.B.; Aslan, Y.; Gökçe, C.O. Particle Swarm Optimization-Based Optimal Pid Control of An Agricultural Mobile Robot. C. R. Acad. Bulg. Sci. 2021, 74, 568–575. [Google Scholar]
  23. Qiao, N.; Wang, L.; Zhu, W.; Tang, X.; Jin, C.; Yaoming, L.; Xu, L. An improved path-tracking controller with mid-angle adaptive calibration for combine harvester. J. Instrum. 2020, 15, 16. [Google Scholar]
  24. Guo, B.B.; Sun, Y.; Chen, Y.Y. Safe path planning of mobile robot based on improved particle swarm optimization. Trans. Inst. Meas. Control 2024. [Google Scholar] [CrossRef]
  25. Feng, H.; Ma, W.; Yin, C.; Cao, D. Trajectory control of electro-hydraulic position servo system using improved PSO-PID controller. Autom. Constr. 2021, 127, 103722. [Google Scholar]
  26. Zhi, H.M.; Yu, X. Adaptive terminal sliding mode tracking control for rigid robotic manipulators with uncertain dynamics. JSME Int. J. Ser. C Mech. Syst. Mach. Elem. Manuf. 1997, 40, 493–502. [Google Scholar]
Figure 1. Crawler robot kinematic model.
Figure 1. Crawler robot kinematic model.
Sensors 25 02113 g001
Figure 2. Steering force analysis of the crawler robot.
Figure 2. Steering force analysis of the crawler robot.
Sensors 25 02113 g002
Figure 3. Crawler robot trajectory tracking control scheme.
Figure 3. Crawler robot trajectory tracking control scheme.
Sensors 25 02113 g003
Figure 4. Crawler robot operating trajectory diagram. The red line is the running trajectory and the green line is the tangent to the target trajectory.
Figure 4. Crawler robot operating trajectory diagram. The red line is the running trajectory and the green line is the tangent to the target trajectory.
Sensors 25 02113 g004
Figure 5. Path vector field. The arrow represents the ensemble vector pointing to the path.
Figure 5. Path vector field. The arrow represents the ensemble vector pointing to the path.
Sensors 25 02113 g005
Figure 6. Comparison of fitness values between improved particle swarm optimization algorithm and classic particle swarm optimization algorithm.
Figure 6. Comparison of fitness values between improved particle swarm optimization algorithm and classic particle swarm optimization algorithm.
Sensors 25 02113 g006
Figure 7. Crawler robot hardware structure. 1. Upper-level controller; 2. laser radar; 3. inertial sensor; 4. motor driver; 5. motor; 6. TrongLong M8 control board; 7. camera; 8. NVIDIA Jetson TX2 development board.
Figure 7. Crawler robot hardware structure. 1. Upper-level controller; 2. laser radar; 3. inertial sensor; 4. motor driver; 5. motor; 6. TrongLong M8 control board; 7. camera; 8. NVIDIA Jetson TX2 development board.
Sensors 25 02113 g007
Figure 8. Experimental site.
Figure 8. Experimental site.
Sensors 25 02113 g008
Figure 9. U-shaped trajectory tracking performance. (a) Overall trajectory tracking performance, (b) variation in left and right track speeds.
Figure 9. U-shaped trajectory tracking performance. (a) Overall trajectory tracking performance, (b) variation in left and right track speeds.
Sensors 25 02113 g009
Figure 10. U-shaped trajectory tracking error. (a) Lateral position error, (b) yaw angle error, (c) longitudinal position error.
Figure 10. U-shaped trajectory tracking error. (a) Lateral position error, (b) yaw angle error, (c) longitudinal position error.
Sensors 25 02113 g010
Figure 11. V-shaped trajectory tracking performance. (a) Overall trajectory tracking performance; (b) variation in left and right track speeds.
Figure 11. V-shaped trajectory tracking performance. (a) Overall trajectory tracking performance; (b) variation in left and right track speeds.
Sensors 25 02113 g011
Figure 12. V-shaped trajectory tracking error. (a) Lateral position error, (b) yaw angle error, (c) longitudinal position error.
Figure 12. V-shaped trajectory tracking error. (a) Lateral position error, (b) yaw angle error, (c) longitudinal position error.
Sensors 25 02113 g012
Table 1. Tracked robot technical parameters.
Table 1. Tracked robot technical parameters.
ParametersValues
Maximum motor power/Kw1.5 × 2.0
Mass/kg105
Overall dimensions/m × m × m1.1 × 0.75 × 0.3
Track gauge/m0.5
Pitch/m0.7
Drive wheel diameter/m 0.18
Track grounding length/m0.7
Maximum forward speed/(m·s−1)1.2
Drive efficiency0.89
Gear ratio30
Table 2. Motor technical parameters.
Table 2. Motor technical parameters.
ParametersValuesUnit
Rated power1.5 × 2.0Kw
Rated torque4.8N·m
Rated speed3000rpm
Rated voltage48V
Rated current39A
Back emf8.8V
Motor coil resistance0.2Ω
Torque constant0.12N·m/A
Voltage constant0.003V·s/rpm
Rotor inertia11 × 10⁻⁴kg·cm2
Table 3. Controller optimization parameters before and after comparison.
Table 3. Controller optimization parameters before and after comparison.
ControllersParametersPre-OptimizationClassical Particle Swarm OptimizationImproved Particle Swarm Optimization
Linear speed controlk1120178.2263.7
k280118.6175.5
k35074.2109.8
b02024.128.6
β1100145.0218.3
β2450662.5880.12
β330004420.04800.0
k1120177.5262.9
Angular velocity controlk2100147.6218.8
k35083.1123.1
b02024.028.5
β1100144.2216.9
β2450559.0785.3
β330004310.74935.2
Table 4. Robot U-shape trajectory tracking positioning error.
Table 4. Robot U-shape trajectory tracking positioning error.
ControllerMax Lateral Position Error (cm)Avg Lateral Position Error (cm)Max Longitudinal Position Error (cm)Avg Longitudinal Position Error (cm)Max Position Error (rad)Avg Position Error (rad)Max Yaw Angle Error (rad)Standard Deviation
SPSMA4.021.087.811.328.281.410.563.19
PSMA5.331.849.101.9710.252.350.784.02
SMA11.74.1812.883.2413.404.092.215.56
Table 5. Controller optimization parameters before and after comparison.
Table 5. Controller optimization parameters before and after comparison.
ControllersParametersPre-OptimizationClassical Particle Swarm OptimizationImproved Particle Swarm Optimization
Linear speed controlk1120331.72343.45
k2100323.52353.22
k360215.45236.07
b02024.0828.63
β1100115.13130.27
β2450660.19782.38
β3300036004000
Angular velocity controlk1120231.44342.43
k2100225.18335.36
k360125.41186.22
b02023.5126.53
β1100113.69128.15
β2450670.38783.29
β3300036004200
Table 6. Robot V-shape trajectory tracking positioning error.
Table 6. Robot V-shape trajectory tracking positioning error.
ControllerMax Lateral Position Error (cm)Avg Lateral Position Error (cm)Max Longitudinal Position Error (cm)Avg Longitudinal Position Error (cm)Max Position Error (rad)Avg Position Error (rad)Max Yaw Angle Error (rad)Standard Deviation
SPSMA6.162.753.951.599.262.940.874.28
PSMA7.503.077.482.6611.211.474.485.76
SMA8.914.4211.673.1214.726.135.617.32
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yang, Z.; Lang, Q.; Xiong, Y.; Yang, S.; Zhang, C.; Deng, L.; Zhang, D. Research on Trajectory Tracking Control Method for Crawler Robot Based on Improved PSO Sliding Mode Disturbance Rejection Control. Sensors 2025, 25, 2113. https://doi.org/10.3390/s25072113

AMA Style

Yang Z, Lang Q, Xiong Y, Yang S, Zhang C, Deng L, Zhang D. Research on Trajectory Tracking Control Method for Crawler Robot Based on Improved PSO Sliding Mode Disturbance Rejection Control. Sensors. 2025; 25(7):2113. https://doi.org/10.3390/s25072113

Chicago/Turabian Style

Yang, Zhiyong, Qing Lang, Yuhong Xiong, Shengze Yang, Changjin Zhang, Lielei Deng, and Daode Zhang. 2025. "Research on Trajectory Tracking Control Method for Crawler Robot Based on Improved PSO Sliding Mode Disturbance Rejection Control" Sensors 25, no. 7: 2113. https://doi.org/10.3390/s25072113

APA Style

Yang, Z., Lang, Q., Xiong, Y., Yang, S., Zhang, C., Deng, L., & Zhang, D. (2025). Research on Trajectory Tracking Control Method for Crawler Robot Based on Improved PSO Sliding Mode Disturbance Rejection Control. Sensors, 25(7), 2113. https://doi.org/10.3390/s25072113

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