Next Article in Journal
A Survey of Vehicle System and Energy Models
Previous Article in Journal
Dynamics of a Self-Excited Vibrating Thermal Energy Harvester with Shape Memory Alloys and PVDF Cantilevers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sliding Mode Backstepping Control of Excavator Bucket Trajectory Synovial in Particle Swarm Optimization Algorithm and Neural Network Disturbance Observer

School of Mechanical Engineering, Jiangsu University of Technology, Changzhou 213001, China
*
Author to whom correspondence should be addressed.
Actuators 2025, 14(1), 9; https://doi.org/10.3390/act14010009
Submission received: 16 November 2024 / Revised: 18 December 2024 / Accepted: 29 December 2024 / Published: 1 January 2025
(This article belongs to the Section Control Systems)

Abstract

:
As a representative of multi-functional engineering machinery, the excavator is irreplaceable in the field of engineering construction. To autonomously control the excavator bucket, it is essential to control the position of the bucket hydraulic cylinder. As a consequence of the problem of position tracking control spawned from external disturbance and other factors in the self-mining servo system of excavators, a strategy of sliding mode backstepping control based on the particle swarm optimization algorithm and neural network disturbance observer (PSO-NNDO-SMBC) was recommended accordingly. Meanwhile, the complex disturbance was estimated online and compensated for by the system control input by the universal approximation property of the neural network disturbance observer (NNDO). Afterwards, the uncertainty of control parameters was optimized by the particle swarm optimization algorithm (PSO) and was fed back to the controller parameter input end. Afterwards, a co-simulation model of MATLAB/Simulink (MATLAB2023b) and AMESim (Simcenter Amesim 2304) was established for simulation analysis, and a test bench was set up for comparison and verification. As proven by the experimental results, PSO-NNDO-SMBC possessed strong anti-interference ability. In contrast to the sliding mode backstepping control based on the particle swarm optimization algorithm (PSO-SMBC), the maximum displacement tracking error was lowered by 50.5%. Furthermore, in comparison with the Proportional-Integral-Derivative (PID), the maximum displacement tracking error was decreased by 75.2%, which tremendously optimized the control accuracy of excavator bucket displacement tracking.

1. Introduction

As one of the most common pieces of construction machinery in current engineering operations, excavators cover multiple industries, such as transportation, water conservancy, electric power construction sites, mining, and national defense [1,2]. In recent years, control systems and hydraulic components have been optimized continuously. Moreover, robot trajectory planning and automatic control technology are becoming increasingly cutting-edge. These improvements facilitate the intelligent and automatic operation of excavators. Nevertheless, in the motion process of the excavator electromechanical hydraulic servo system, numerous factors, such as highly nonlinear, parameter uncertainty and large external disturbance, pose great challenges to position tracking accuracy control [3]. Consequently, in the past decades, investigators have been exploring state-of-the-art control methods to elevate the control performance of the excavator hydraulic servo system.
The PID controller is common in practical engineering fields attributable to its simple structure, easy implementation, and convenient control parameter adjustment. As the electro-hydraulic servo system surges, it becomes steadily weighty to better its control performance [4]. The traditional PID controller not only fails to approach and compensate for the uncertainty of control parameters online, but it also cannot obtain satisfactory results in the case of large, nonlinear parameter uncertainty and unmodeled dynamics. To mitigate the influence of parameter uncertainty on the position tracking accuracy of the hydraulic system, scholars have conducted a multitude of studies and put forward a multitude of cutting-edge nonlinear control methods, such as neural network control [5], backstepping control [6], sliding mode control [7], and adaptive robust control [8]. Through the implementation of these non-linear control methods, we can ultimately deal well with the uncertain nonlinear problem of the electro-hydraulic servo system under certain conditions.
To reinforce the robustness of the system to internal parameter changes, unmodeled items, and external disturbances, sliding mode control can be employed to control uncertain nonlinear systems. Since the sliding mode control law is discontinuous, it is actually a nonlinear control. Moreover, the structure of the system will change purposefully with the current state of the system, rather than invariably. More importantly, the state of the system will move in line with the set sliding mode trajectory, which is referred to as variable structure control [9]. Since the choice of sliding mode is autonomous in relation to the internal parameters and external perturbations of the system, sliding mode control has strong robustness in the face of parameter changes and external disturbances, with fast response speed, a simple algorithm, easy physical implementation, and the elimination of the necessity for online system identification. Consequently, it has garnered significant attention from domestic and international scholars. In practical engineering application, the disadvantages of the control algorithm are also exposed. The sliding mode surface is a state operating space designed by humans, usually a hyperplane or surface, defined by sliding mode variables equal to zero. When the system state trajectory reaches the sliding mode surface, it will repeatedly shuttle to both sides of the sliding mode surface. Aside from that, it is hard to move along the sliding mode surface to the equilibrium position, which makes it challenging to analyze the system stability and to meet the arrival conditions. Moreover, the control link causes buffeting problems [10]. To lessen the influence of unknown disturbance on the control performance of the hydraulic servo system, a sliding mode variable structure control grounded in space vector regulation technology was recommended in the literature [11]. As validated by the experimental results, the designed controller could not only minimize the influence of large system disturbance, but could also reinforce the control accuracy and response effect of the system. In the literature [12], an adaptive sliding mode controller was designed for the electro-hydraulic servo system when the internal nonlinear parameters remain unascertained. A new Lyapunov function was designed on that account. Additionally, a convergent and stable adaptive control scheme was put forward, which could compensate for the uncertain nonlinear or uncertain parameters of the system, especially for the nonlinear uncertain parameters stemming from various original control quantities. Despite demonstrating robust resilience against the intricate disturbance arising from internal parameter variations and external disturbances, the performance of the aforementioned research findings are still constrained by certain conditions.
The backstepping method is not strict in relation to the matching constraints and nonlinear growth conditions of the system, which can ensure satisfactory transient performance and other characteristics, and can then be extensively employed in linear and some nonlinear control systems to ameliorate the quality of the control process. In the literature [13], adaptive control was introduced on the basis of backstepping control. Moreover, the adaptive backstepping control strategy was applied to the control of particleboard sizing flow, which broke through the parameter constraints of the traditional backstepping method and dealt with the problem that the upper limit of uncertainty triggered by system uncertainty and external disturbance was challenging to be estimated. In the literature [14], to optimize the tracking accuracy of hydraulic servo system, a novel adaptive backstepping controller with extended observer was suggested accordingly, which could estimate the unmeasured state of the system. As displayed in the literature [15], an adaptive backstepping controller on the basis of a neural network was recommended for the modeling uncertainty and external disturbance of the hydraulic servo system. A radial basis function neural network was constructed to approximate the uncertainty of the system and make the controlled system stable. As exhibited in the literature [16], a cooperative trajectory control method for multi-UAV formation was explored to maintain stability on the basis of the backstepping method, which enables all the controlled UAVs to reach the desired trajectory at a faster speed and with less control error. As illustrated in the literature [17], a sliding mode controller was devised based upon the integral backstepping method to address the running trajectory tracking error spawned from an unknown disturbance on the actuator, which apparently mirrors the robustness of the system, trajectory tracking, and response speed of the actuator, etc. The backstepping method avoids the constraints of sliding mode control on the uncertainty of the system, but it has only been studied for the system after feedback linearization. Although it is challenging to determine the optimal parameters of the inverse step method, it can be adopted to search for parameters by adding optimization algorithms.
The disturbance observer uses the difference between the estimated output and the actual output to actualize the purpose of observing the equivalent disturbance. Researchers have tried to combine some control strategies with the disturbance observer to form a new disturbance observer, and apply it to the control of more complex systems. The neural network disturbance observer is one of multitudinous new disturbance observers. As described in the literature [18], to optimize the position tracking accuracy of the electro-hydraulic position servo system, the disturbance observer and backstepping control were combined to compensate for the disturbance and strengthen the robustness of the system. As demonstrated in the literature [19], a nonlinear disturbance observer was designed to estimate the internal or external disturbance of the system online, which ameliorated the stability and robustness of the system, but the parameter selection of the extended observer affected the control precision. As exhibited in the literature [20], an extended disturbance observer based upon the radial basis function neural network was recommended to compensate for the unknown parameters and disturbances in the speed control loop. The effectiveness of the control scheme was proved by experiments. To lessen buffeting and maintain system stability, disturbance observers were extensively employed in electro-hydraulic servo systems [21,22].
As one of the nine representative algorithms in computational intelligence, particle swarm optimization is derived from complex adaptive systems. The particle swarm algorithm simulates the information-sharing mechanism in bird-foraging behavior, allowing each particle to continuously move towards a better position in the search space. This mechanism helps the algorithm search for the optimal solution on a global scale, avoiding premature convergence to local optima. To cope with the problem of local convergence of the algorithm, the literature [23] has put forward a mutation mechanism. To put it another way, test particles were generated among numerous particles to maintain the diversity of the algorithm in the final search stage. As illustrated in the literature [24], the particle swarm optimization algorithm and genetic algorithm were combined. In the initial optimization stage, the speedy convergence ability of the particle swarm optimization algorithm was utilized to obtain the stage optimal solution. Subsequently, the genetic algorithm with a global optimal search ability was employed to obtain the optimal solution. As exhibited in the literature [25], it elevated the particle swarm optimization algorithm. During the entire iterative process, certain particles were endowed with robust global search capabilities, while others exhibited potent local search proficiency. As a consequence, this strategy not only conspicuously explored the possibility of local space optimal solutions in the early iteration period, but also exceedingly lowered the tendency of falling into local optimal solutions in the later iteration period. The research and application of particle swarm optimization continues to progress, progressively maturing to a sophisticated level [26].
Based upon the idea of the optimization and disturbance compensation of the sliding mode backstepping control, a sliding mode backstepping controller, integrated with a particle swarm optimization algorithm and neural network disturbance observer, was recommended for the precise position control of the bucket of a hydraulic excavator. To begin with, the kinematics of the excavator bucket hydraulic system were analyzed and the mathematical model of the position control system was established. The uncertain nonlinearity and external load disturbance were considered. The sliding mode backstepping controller was designed. Additionally, the stability of the controller was verified by the Lyapunov theory to ensure the superior position tracking performance of the system. The parameter uncertainty in the control system was approximated online by particle swarm optimization. For nonlinear disturbances in weak vibration control systems, an online estimation of the bucket hydraulic cylinder position tracking control system with uncertain parameter variations and nonlinear disturbances was performed through a neural network disturbance observer. Aside from that, the estimated value was introduced into the controller to actualize feedforward compensation. At last, the superiority of the suggested control scheme was verified by simulation and experiment.
The main contributions of this research can be categorized into the following three aspects:
  • The sliding mode backstepping control was applied to the nonlinear hydraulic excavator bucket position control system. What is more, the particle swarm optimization algorithm and neural network disturbance observer were introduced into the traditional sliding mode backstepping controller, thereby elevating the tracking accuracy and robustness of the bucket position control system and allowing for tracking of the output trajectory of the system;
  • The particle swarm optimization algorithm was employed to approximate the uncertain parameters of the sliding mode backstepping controller online. Subsequently, the uncertain parameters of the controller were optimized and substituted into the input end;
  • A neural network disturbance observer was first established to estimate the external load disturbance accurately. What is more, the disturbance information estimated by the system was subsequently feedforward compensated, which comprehensively and systematically coped with the problem of chattering in the traditional sliding mode backstepping control.
The rest of this paper is structured as follows. The first section introduces the kinematic model of the position control system. On the basis of the PSO-NNDO sliding mode backstepping control method, the design and stability analysis of the controller are introduced in Section 2. In Section 3, a simulation model established for the bucket position is introduced. Afterwards, the simulation control performance is compared in Section 4. Afterwards, Section 5 compares the control performance of the experiment. In Section 6, the full text is summarized.

2. Establishment of Kinematics Model of Position Control System

Taking the bucket hydraulic cylinder as an example, a kinematic model of the excavator position control system was established, which is simplified in Figure 1, from which we can learn that P s is the inlet pressure of the three-position, four-way servo valve. P r is the oil return pressure of the system (generally set to 0), P 1 denotes the pressure of the hydraulic cylinder without the rod chamber, and P 2 stands for the pressure of the hydraulic cylinder with the rod chamber and the flow in and out of the three-position, four-way reversing valve, respectively, and the external load borne by the hydraulic cylinder.
The following reasonable assumptions were made about the system before the analysis:
(1)
Assuming P s is a constant pressure source, oil is supplied to the system at a pressure of P s ;
(2)
The servo valve used in the system is an ideal symmetrical slide valve with a zero-covered window;
(3)
The throttle area of the servo valve has a linear correlation with the size of the throttle valve port.
Combined with the research in the literature [14], the kinematics model of the electro-hydraulic servo system can be established as follows:
x ˙ 1 = x 2 x ˙ 2 = 1 m ( A 1 x 3 A 2 x 4 B x 2 F L G ) P ˙ 1 = β e V 01 + A 1 x 1 A 1 x 2 C t P 1 P 2 + Q 1 P ˙ 2 = β e V 02 A 2 x 1 A 2 x 2 C t P 1 P 2 Q 2
where m denotes the system load mass (kg); x 1 represents the hydraulic cylinder output displacement (m); x 2 refers to the output speed of the hydraulic cylinder (m/s); A 1 denotes the rodless working area of the hydraulic cylinder (m2); A 2 stands for the hydraulic cylinder which has a rod chamber working area (m2); P 1 refers to the hydraulic rodless cylinder chamber oil pressure (Pa); P 2 stands for the hydraulic cylinder rod chamber oil pressure (Pa); V 01 symbolizes the hydraulic cylinder rodless chamber initial volume (m3); V 02   represents the hydraulic cylinder rod chamber initial volume (m3); Q 1 stands for the hydraulic cylinder rodless chamber inlet flow (m3/s); Q 2 represents the hydraulic cylinder rod chamber oil delivery rate (m3/s); C t refers to the leakage coefficient of the actuator; β e represents the hydraulic oil elastic modulus; F L represents the external load (N); and G denotes the system load weight (N).
In accordance with the literature [14], the dynamic formula of the servo valve can be approximated as follows:
x ˙ v = 1 τ v x v + k i τ v u
where τ ν ,   k i , and u are, respectively, the servo valve time constant, spool current gain, and control input. They are used to lessen the complexity of derivation and simplify the servo valve dynamic link, which is:
x v = k i u
To combine the flow formulas of extended or retracted conditions into one formula, the variable s is defined in line with which the value of the variable s can be adjusted by the positive or negative input value, namely:
s = 1 , 0 0 , < 0
Combined with Formula (3) and (4), on the basis of the research in the literature [14], the flow formula can be listed as follows:
Q 1 = 2 k q 1 x v s u P s P 1 + s u P 1 P r Q 2 = 2 k q 2 x v s u P s P 1 + s u P 1 P r
where, x v denotes the spool displacement, k q symbolizes the flow coefficient, and, when expanded, it is:
k q 1 = C d w 1 1 ρ k q 2 = C d w 2 1 ρ
where C d is the flow coefficient of the throttle hole of the servo valve; w 1 and w 2 refer to the gradient of the left and right ends of the orifice of the servo valve spool; and ρ symbolizes the hydraulic oil density. Since the three-position, four-way servo valve is a symmetrical slide valve, namely, k q 1 = k q 2 = k q , it is also a fixed value, which makes:
g = 2 k q k i
R 1 = s u P s P 1 + s u P 1 P r R 2 = s u P 2 P r + s u P s P 2
The correlation between the flow and the input can be derived as follows:
Q 1 = g 1 R 1 u Q 2 = g 2 R 2 u
Define a new function x 3
x 3 = A 1 P 1 A 2 P 2
To simplify Formula (1) to facilitate the derivation of subsequent algorithms, the calculation is conducted in line with the following equations.
V 1 = V 01 + A 1 x 1 V 2 = V 02 A 2 x 1
g 3 = A 1 R 1 V 1 + A 2 R 2 V 2 g β e
f c = A 1 2 V 1 + A 2 2 V 2 β e x 2
f u = A 1 V 1 + A 2 V 2 P 1 P 2 β e
f = f c C t f u
By differentiating Formula (10) and substituting Formulas (11) to (15) into Formula (1), the kinematic model can be simplified as:
x ˙ 1 = x 2 x ˙ 2 = x 3 x ˙ 3 = g 3 u + f + d
where, d   represents the unknown disturbance of the system, where the unknown disturbance item of the system is bounded, and the upper limit η stands for the known term, which satisfies d < η , η > 0.
As the derivation indicates, the displacement of the hydraulic cylinders is influenced by the parameters of the motion model. In line with Formula (16) alone, it proves that input u controls the changes of x 3 , x 3 controls the changes of x 2 , and x 2 controls the changes of x 1 . In such a case, Formula (16) can be regarded as a series integral system composed of three integrations from u to x 1 . Hence, this paper starts with Formula (16) and combines the Lyapunov stability theory, and the PSO-NNDO sliding mode backstepping controller is studied.

3. Controller Based upon PSO-NNDO Sliding Mode Backstepping Control Method

In accordance with the stated formula of the excavator bucket hydraulic cylinder position tracking control system obtained above, its form is shown in Equation (16).
The system meets the following prerequisites, namely, the preset trajectory of the excavator bucket. To put it another way, the given position signal of the system y d and its n order derivative both exist and are bounded.
Assumption 1. 
If the input and its third derivative exist and are bounded for a given position within the controllable region Uc∈ Rn, and its third derivative exists and is bounded, then g3 ≠ 0 is satisfied.
Assumption 2. 
The unknown external disturbance  d  and its first derivative  d ˙  are bounded.

3.1. Design of Sliding Mode Backstepping Controller

The error values of the first given excavator bucket hydraulic cylinder position tracking control system are listed below:
e 1 = y y d
e 2 = x 2 α 1
e 3 = x 3 α 2
wherein α 1 and α 2 are undetermined virtual controller variables.
First and foremost, the subsystems with the first two errors are given their virtual control variables.
α 1 = k 1 e 1 + y ˙ d , k 1 > 0
α 2 = k 2 e 2 e 1 + α ˙ 1 , k 2 > 0
As a result, the dynamic formula of the subsystem with the first two errors is:
e ˙ 1 = y ˙ y ˙ d = x 2 y ˙ d = e 2 + α 1 y ˙ d = k 1 e 1 + e 2
e ˙ 2 = x ˙ 2 α ˙ 1 = x 3 α ˙ 1 = e 3 k 2 e 2 e 1
Afterwards, the dynamic formula of the subsystem with the third error can be obtained in line with (21) as follows:
e ˙ 3 = x ˙ 3 α ˙ 2 = g 3 u + f + d α ˙ 2
Lastly, the synovial surface is selected in the following form:
s = c e 2 + e 3
wherein c > 0 refers to the design constant, and when s ˙ s < 0 exists, the system reaches the synovial surface.
s ˙ = c e ˙ 2 + e ˙ 3 = c e 3 k 2 e 2 e 1 + g 3 u + f α ˙ 2 + d
As a consequence, the control law of the design controller is described as follows:
u S M B C = u e q + u v s s
The equivalent controller is designed as follows:
u e q = 1 g 3 c e 3 k 2 e 2 e 1 e 2 f + α ˙ 2 h s
The switching control is defined as follows:
u v s s = 1 g 3 η s g n ( s )
where u e q and u v s s are equivalent control and switching controls to compensate for the unknown parameter d , which ensure the robustness of the excavator bucket hydraulic cylinder control system when confronted with external disturbances and uncertainties. For this reason, selecting a reasonable design constant value, h , can materialize the arrival condition of the sliding mode surface, namely s ˙ s < 0 .

3.2. Verify the Stability of Sliding Mode Backstepping Controller

The Laypunov function of the system was selected for this analysis, which has the following form:
V = 1 2 e 1 2 + 1 2 e 2 2 + 1 2 s 2
Take the derivative for V and combine Formulas (17)–(19), (22), and (27) to obtain:
V ˙ = e 1 e ˙ 1 + e 2 e ˙ 2 + s s ˙ = k 1 e 1 2 k 2 e 2 2 + e 2 e 3 + s c e 3 k 2 e 2 e 1 + f + g 3 u α ˙ 2 + d
By combining the above formula with Formulas (24)–(26) of the sliding mode backstepping control law, we obtain:
V ˙ = k 1 e 1 2 k 2 e 2 2 + e 2 s c e 2 + s e 2 h s η s g n ( s + d )                                                         = k 1 e 1 2 k 2 e 2 2 c e 2 2 h s 2 η s + d s                                                         k 1 e 1 2 k 2 e 2 2 c e 2 2 h s 2
Select a 0 = m i n 2 k 1 , 2 k 2 c , 2 h , and, then, the above formula can be described as:
V ˙ a 0 1 2 e 1 2 + 1 2 e 2 2 + 1 2 s 2 a 0 V
Because V > 0, according to the above equation, we obtain V ˙ < 0 . As clearly revealed by the above formula, all signals in the closed-loop system converge to zero. As a consequence, the sliding mode backstepping controller can ensure the stable operation of the system.

3.3. RBF Neural Network

The RBF neural network and MNN began to emerge in the field of automatic control and pattern recognition. Taking the feedforward neural network as an example, their structures are depicted in Figure 2 and Figure 3, both of which are arranged hierarchically and in parallel. Aside from that, the input is transmitted from the input layer through the hidden layer to the output layer without feedback, which symbolizes the characteristic of the feedforward network.
In general, the RBF neural network chooses the Gaussian function as the neuron excitation function of its hidden layer. The input parameter is x = x 1 , , x L T x R L , r = 1 , , L , and the input parameter dimension is the L dimension. The number of hidden layer neurons is e , and the output of the hidden layer is φ x = Φ j x T . The output of the neural network is as follows:
y = j = 1 e θ j Φ j x
wherein θ = θ 1 , , θ e T and ( j = 1,2 , , e ) is the output layer weight column vector.
Φ j ( x ) represents the output of the j-th hidden layer neuron.
Φ j x = exp x c j 2 2 b j 2 , j = 1 , , e
wherein: c = c r j = c 11 c 1 m c L 1 c L m ; and c j = c 1 j , , c L j T is the central vector of the j-th hidden layer neuron excitation function, which has the same dimension as the input parameter. x c j is the norm of vector x c j , which is the distance between the two.
Φ j ( x ) is a unique maximum value when x = c j exists. The larger the x c j , the smaller the Φ j ( x ) , until it reaches zero.
When b = b 1 , , b e T ; b j is the width of the excitation function for the j-th hidden layer neuron, which is a scalar.
The RBF neural network can approach any nonlinear unknown function with arbitrary precision on account of its favorable approximation characteristics. As a result, it is exceedingly suitable for the design of the practical engineering control system that needs to approximate the uncertainty function.

3.4. NNDO Design

Grounded in the above design concept, taking into account the internal uncertainty parameters of the system and external load force disturbances, the third subsystem of the bucket hydraulic cylinder position tracking control system can be described as follows:
x ˙ 3 = f + g 3 u + D ( x )
D x = f + g 3 u + d
D ( x ) symbolizes the composite disturbance of the system, consisting of the following parts.
f and g 3 u stand for the internal uncertainty of the system, and d symbolizes the external load force disturbance. So, the system state space formula can be defined as follows:
x ˙ 1 = x 2 x ˙ 2 = x 3 x ˙ 3 = f + g 3 u + D ( x ) y = x 1
For system (38), the design NNDO estimates and compensates for the complex disturbance function of the system, which is simplified as D .
First make some necessary assumptions.
Assumption 3: For all x M x ,   the expression for the optimal weight θ on a compact set M x R L is expressed as follows:
θ = a r g min θ ^ Ω θ sup x M x D D ^ x | θ ^
wherein Ω θ represents the feasible domain of network weights.
Ω θ = θ ^ | θ ^ m θ
wherein: m θ is the design parameter.
The state deviation of the coefficient of the network input and its second derivative is x = e e ˙ e ¨ , and then the output of the network is described as follows:
D ^ x | θ ^ = θ ^ T φ ( x )
wherein e = y y d , θ is an adjustable weight, and φ ( x ) is a basis function vector.
A disturbance observer system was designed, the basic principle of which was to adjust the observation output by employing the observation error. The system form is presented as follows:
μ ˙ = ω μ + p ( x , D ^ )
p x , D ^ = ω y ¨ + f + g 3 u + D ^
where μ R P , refers to the state of the above assistant design system (42), ω > 0 represents the design parameter, and D ^ symbolizes the output of the neural network, which is the output of the NNDO.
The disturbance observer error is defined as follows:
τ = y ¨ μ
Combining (38)–(40), the error dynamics of the disturbance observer are derived as follows:
τ ˙ = ω τ + D D ^
The error dynamics follow the above formula. When interfering with the observation error reaches τ 0 , that is μ y ¨ , the output D ^ on the basis of NDO can realize the purpose of approximating the composite disturbance term D .
In line with the universal approximation theorem and Assumption 3, there is an optimal network weight θ that can accurately approximate the composite disturbance term D ( x ) with the observed output D ^ ( x | θ ) . This can be expressed as:
D = D ^ X θ + ε = θ T φ x + ε
ε ε N
wherein ε represents the approximation error of neural networks, and ε N is the upper bound of approximation error. It can be lowered by increasing the number of hidden layer nodes to actualize high approximation accuracy.
Combining Formula (45) with Formula (46), we derive:
τ ˙ = ω τ + D ^ x θ + ε D ^ ( x | θ ^ )
The adjustable weight error of the network is defined as follows:
θ ~ = θ θ ^
The Formula (48) is changed as follows:
τ ˙ = ω τ + θ ~ T φ x + ε

3.5. NNDO Stability Analysis

Theorem 1 NNDO was first selected to estimate the complex disturbance. Subsequently, the network weight θ ^ was bounded, and its adaptive law took θ ^ ˙ = λ τ φ x accordingly. Afterwards, the observation error τ was uniformly and finally bounded.
The Lyapunov function was selected and described as follows:
V = 1 2 τ 2 + 1 2 λ θ ~ T θ ~
Derive V from the above equation and combine it with Equations (49) and (50) to derive:
V ˙ = τ τ ˙ + 1 λ θ ~ T θ ~ ˙ = τ ω τ + θ ~ T φ x + ε + 1 λ θ ~ T θ ˙ θ ^ ˙ = ω τ 2 + θ ~ T τ φ x 1 λ θ ^ ˙ + τ ε
By combining the adaptive law θ ^ ˙ = λ τ φ ( x ) with adjustable parameters and Young’s inequality, it can be deduced as follows:
θ ~ T τ φ x 1 λ λ τ φ x  = 0
V ˙ = ω τ 2 + τ ε = ω τ 2 + τ ε + ω 2 τ 2 + 1 2 ω ε 2 ω 2 τ 2 + 1 2 ω ε 2   = ω 2 τ 2 + 1 2 ω ε 2 ω 2 τ 1 2 ω ε 2 ω 2 τ 2 + 1 2 ω ε 2
That is, when τ > ε N ω is satisfied, V ˙ < 0 holds true, and if the weight θ ^ is bounded, the disturbance observation error τ will ultimately be uniformly bounded.

3.6. Particle Swarm Optimization Algorithm Design

  • Particle swarm optimization algorithm
The PSO algorithm starts by randomly initializing a set of particles (random solutions) within the solution space. Afterwards, the particles update themselves by tracking the individual extremum P b e s t and global extremum g b e s t . The optimal solution is found subsequent to several iterations.
Let z i = ( z i 1 , z i 2 , , z i D ) be the d-dimensional position vector of the i -th particle ( i = 1,2 , , m ) , and we calculate the current fitness value based on the pre-set fitness function z i , which is the superiority or inferiority of the particle position; v = v i 1 , v i 2 , , v i D represents the velocity vector of the i-th particle.
During each iteration, particles track two extreme values to update their velocity and position. One is the optimal solution found by the particle itself, which is the individual extremum P b e s t . The other extremum is the global extremum g b e s t , which is the optimal solution currently found by the entire population. The state update equation at time t + 1 is updated as follows:
v i k t + 1 = ω v i k t + c 1 r 1 P i k t z i k ( t ) + c 2 r 2 P g k t z i k t
z i k t + 1 = z i k t + v i k ( t + 1 )
ω = ω m a x ω m i n c o s 2 k K m a x   k 0.6 K m a x 0.2 + 0.1 r k > 0.6 K m a x
c 1 = 2 s i n 2 ( π k 2 K m a x )
c 2 = 2 c 1
In the formula, ω is the inertia weight, c 1 and c 2 are acceleration constants; r 1 and r 2 are random numbers of 0 ~ 1 . ω m a x is the maximum inertia weight, with a value of 0.9; ω m i n is the minimum inertia weight, with a value of 0.4; k is the current iteration count; and K m a x is the maximum number of iterations. When the k value is relatively small and ω is comparatively large, the algorithm has a strong search ability. After reaching a certain number of iterations, ω is taken as the smaller value to ensure that the search area is not scattered and to better find the optimal value. The value of c 1 decreases as the sine function increases, ensuring strong global optimization ability in the initial stage of the particle search. As the value of c 1 increases with the sine function, the value of c 2 decreases to ensure strong global optimization ability in the initial stage of the particle search;
2.
Particle swarm optimization of controller parameter flow
The PSO algorithm is utilized to optimize the parameters ( k 1 , k 2 ) of the servo valve sliding mode backstepping controller. Subsequently, ( k 1 , k 2 ) is selected to form the particles for the PSO algorithm. What is more, the optimization objective of selecting the control parameters is to approach zero speed deviation. Figure 4 illustrates the process of optimizing the sliding mode backstepping parameters through the application of the particle swarm optimization algorithm.
The steps of the particle swarm optimization of the sliding mode backstepping parameters are listed below:
(1)
Initialize various parameters of PSO, set execution times as N m a x = 100 , learning factors as c 1 = c 2 = 1 , and weight as ω = 0.5 , and particle space search range;
(2)
Initialize the position and initial velocity of the particle, calculate the fitness value of each particle F i ( 0 ) (fitness function: F = 0 t e t d t ), and take F i 0 = z i 0 ;
(3)
In accordance with F ( 0 ) = m i n F 1 0 , F 2 0 , , F 6 0 , obtain the global optimal solution, namely g b e s t 0 ;
(4)
Update the velocity v i k and position z i k of the particle on the basis of formula (55) and (56); calculate the fitness of the new particle z i k , which can be expressed as F 0 = m i n F 1 0 , F 2 0 , , F 6 0 . In line with F i k , the particle optimal solution of P b e s t and g b e s t is updated. If J < ε and k = N m a x are satisfied, exist the algorithm. otherwise jump to (3).
This paper takes into consideration the parameter uncertainty existing in the position control system of a single hydraulic cylinder of the excavator and the influence of external disturbance. Moreover, the sliding mode backstepping excavator bucket hydraulic cylinder controller is designed in accordance with NNDO, which is intended to materialize the system’s purposes of both accurate tracking and speedy control of the ideal position variable y d , as illustrated in Figure 5.
NNDO performs infinite approximation on composite disturbance and compensates for it at the control input end. The compensated control law, that is, the control system input u , can be described as follows:
u = u S M B C u N N D O
where u S M B C refers to the the sliding mode backstepping control law. u N N D O = D ^ x | θ ^ / g x denotes the output equivalent control law of NNDO.

4. Establish a Simulation Model for Bucket Position

4.1. Preparation Before Setting

Before setting up a location simulation, we first needed to determine the relevant settings to ensure that the bucket position simulation could be successfully completed as follows:
  • In line with Figure 1, the hydraulic system model of excavator bucket was built by AMESim software, the controller model was constructed by MATLAB (2023b) software, and the algorithm could be encapsulated by the S-function module;
  • Simulation interface construction. As evidently demonstrated by the above findings, the hydraulic system fed back five signal variables to the controller, the controller output a control signal to the hydraulic system, and built a joint interface in line with the number of input and output signals.

4.2. AMESim-Simulink Simulation Model

The pre-set co-simulation interface and the constructed AMESim excavator bucket hydraulic model and MATLAB/Simulink controller model were connected to complete the final co-simulation model of the excavator bucket hydraulic cylinder position control system.
As shown in Figure 6, a preliminary model of the valve controlled asymmetric hydraulic cylinder system was constructed in AEMSim software, and a simulation interface was established. The displacement, velocity, load force, and pressure of the left and right chambers of the hydraulic cylinder were output as variables to MATLAB/Simulink. Meanwhile, the output signal of MATLAB/Simulink was used as the excitation signal for the servo valve to adjust its opening.
Subsequently, a control system model of PSO-NNDO-SMBC controller was developed in MATLAB/Simulink, as shown in Figure 7. It was integrated with the necessary oscilloscope modules to facilitate data storage in the workspace for subsequent plotting and analysis.
The simulation parameters configured in AEMSim and MATLAB/Simulink are shown in Table 1.

5. Simulation Analysis

5.1. Identification of Mathematical Model of Hydraulic Cylinder Position Control System

The closed-loop identification method was adopted to identify the transfer function of the piston rod moving to 100 mm. Seeing that it was comparatively challenging to obtain the simulation data of input and output in the simulation software, the direct identification method could be employed to collect the input and output values of the identified object from 0 to 100 mm. What is more, when the input and output values of the identified object ranged from 110 mm to 10 mm, the collection time was 0.001 s.
Considering that the amplification factor of the proportional amplifier was 30, the mathematical model of the proportional amplifier could be directly obtained as described below:
i = 30 Δ u
In the formula, i refers to the current (A); k a stands for the proportional amplification factor; and Δ u represents the input voltage (V).
  • Identification of servo valve transfer function
The data of input current and spool displacement within the interval of 0 to 100 mm were collected. Afterwards, the collected data were imported into the Matlab system identification toolbox for identification. In accordance with the transfer function structure listed in the literature [19], the transfer function type with denominator order 2 and molecular order 0 could be selected. Afterwards, the transfer function was obtained by running the toolbox.
G 1 s = X v s I s = 22.21 s 2 + 30.16 s + 355.3
2.
Identification of servo spool displacement and hydraulic cylinder rod transfer function
The data of spool displacement and piston rod speed were collected within the interval of 0 to 100 mm. Furthermore, the collected data were imported into the Matlab system identification toolbox for identification. In line with the transfer function structure listed in the literature [19] and the transfer function structure listed in the literature [19], the transfer function type with denominator order 3 and molecular order 0 could be selected. Apart from that, the valve was obtained by running the toolbox core displacement and piston rod speed transfer function. Afterwards, the results were multiplied by the integral time domain function. In such a case, the spool displacement and piston rod displacement transfer function could be calculated in line with the formula as follows:
G 2 s = 64238.96 s 3 + 3.1 × 10 7 s 2 + 44383.68 s
For the hydraulic cylinder retracting condition, the initial position of the hydraulic cylinder was set to 110 mm, while the command displacement was set to 10 mm. After that, the input and output values of the piston rod were collected within the interval from 110 mm to 10 mm. The identification method was the same as that of the piston rod extending condition. Under such a prerequisite, the transfer function of spool displacement and piston rod displacement could be calculated in line with the formula below:
G 3 s = 46318.5 s 3 + 7.51 × 10 5 s 2 + 36447.6 s

5.2. Unknown Parameter Assignment Analysis

In accordance with the above mathematical modeling of the excavator bucket electro-hydraulic servo system and the establishment of the electro-hydraulic servo system for simulation analysis, the relevant parameters of the PSO-NNDO-SMBC controller are shown in Table 2.
To verify the superiority of the PSO-NNDO-SMBC controller, the PSO-NNDO-SMBC controller was applied to the above electro-hydraulic servo system. The maximum number of iterations was 100. k 1 and k 2 had a value range of 1–1000. The iteration values of the particle swarm optimization algorithm are depicted in Figure 8. The optimized control parameters are illustrated in Table 3.

5.3. Simulation Comparative Analysis

To demonstrate the superiority of the control method put forth in this paper, two controllers and the controller suggested were selected for control performance simulation and comparison. The controllers are displayed below:
Controller 1: PID controller. The output of a PID controller can be expressed as follows: u P I D = K p x p x 1 + K i x p x 1 d ( t ) + K d d x p x 1 / d t . Among the expressions,   K p , K i , and K d represent proportional coefficients, integral coefficients, and differential coefficients, respectively. A mathematical model for the system input and output of PID control parameters was established to tune the three parameters of the PID controller, and the Ziegler Nichols method was used to tune them to the optimal values of K p = 3000 , K i = 50 , and K d = 10 .
Controller 2: This was the PSO-SMBC controller without the neural network disturbance observer. The control output of the sliding mode backstepping controller was u , and its control parameters were the same as those of the controller put forward in this paper.
To quantitatively evaluate the control performance of the suggested control method, three statistical indicators were adopted to evaluate the performance, which were the maximum mean value of the tracking error and the standard deviation. These criteria are defined as follows:
The maximum absolute tracking error is described as follows:
M e = max i = 1 , , N e i
The mean tracking error is described as:
μ e = 1 N I = 1 N e i
The standard deviation of the tracking error is described as:
σ e = 1 N i = 1 N e i μ e 2
N indicates the number of recorded signals.
In this paper, a neural network disturbance observer and particle swarm optimization algorithm were established to estimate the uncertainty of external disturbance and the internal parameter, respectively, online. Other than that, the influence of disturbance and parameter uncertainty on the control system was eliminated through disturbance compensation and adaptive law. To validate the authenticity of the simulation, nonlinear disturbance D ( x ) was introduced in the simulation process. To verify the performance of the sliding mode backstepping controller on the basis of the particle swarm optimization algorithm and the neural network disturbance observer in excavator bucket control, simulation tests were conducted from three aspects to evaluate the control performance of the proposed controller. The first aspect was from the step response, the second aspect was from the sine response, and the third aspect was from the oblique wave response.
First and foremost, step signal loading was performed and the step signal loading was set for two different operating conditions: the first was the loading condition with a step amplitude of 100 mm and the bucket hydraulic cylinder extended, and the second was the loading condition with a step amplitude of 10 mm and the bucket hydraulic cylinder retracted.
The response curves of the three control strategies are illustrated in Figure 9 and Figure 11. Furthermore, the tracking error curves of the three control strategies are depicted in Figure 10 and Figure 12. Table 4 lists the performance specifications of the three controllers. Apparently, these three controllers can ensure that the system can effectively respond to the target signal in the case of parameter uncertainty and external disturbance. In accordance with Figure 9 and Figure 11, the overshoot and the speed of arrival at the specified position of the PSO-NNDO-SMBC controller were significantly better than those of the PSO-SMBC and traditional PID controllers when the signal changes abruptly under the circumstances of external disturbance and parameter uncertainty. As apparently illustrated in Figure 10 and Figure 12 and Table 4, the response time of the PSO-NNDO-SMBC controller was lessened by around 40.3% compared with the PSO-SMBC controller. What is more, the response time of the PSO-NNDO-SMBC controller was lowered by around 50.7% compared with the traditional PID controller, with better response speed. The PSO-NNDO-SMBC controller had a smaller chattering degree, with a maximum step error reduction of about 38.2% compared to the PSO-SMBC controller, and a maximum step error reduction of about 54.4% compared to the traditional PID controller. Additionally, the PSO-NNDO-SMBC steady-state error was zero. In contrast, the PSO-NNDO-SMBC controller needed a shorter time to track a given position, and the system tended to be stable faster, and the chattering-induced phenomenon easily stemmed from synovial control was not generated during the tracking process, which had strong anti-interference ability and favorable closed-loop system dynamic characteristics, that is, the PSO-NNDO-SMBC controller could quickly, smoothly, and accurately track position signals.
Figure 13 shows the control input curves of three controllers when extending simulated step tracking signals. When operating under parameter uncertainty and external disturbances, the control input curves of the three controllers essentially overlap, keeping the system on a given output trajectory. However, when the control signal rises, both traditional PID controllers and PSO-SMBC controllers will experience fluctuations. Obviously, the PSO-NNDO-SMBC controller proposed in this article had smoother input signals and achieved good control performance.
The control performance indicators of the PID controller, PSO-SMBC controller, and PSO-NNDO-SMBC controller under a simulated step signal are illustrated in Table 4.
As suggested by comparing the performance indexes of the three controllers in Table 4, the average tracking error standard deviation and stability time of the PSO-NNDO-SMBC controller were lowered by 60.3%, 56.3%, 31.7%, 11.9%, and 50.7%, 40.3% compared with PID and PSO-SMBC controllers under simulated step signals. As evidently displayed by the results, the PSO-NNDO-SMBC controller was superior to the other two controllers in step signal output.
Aside from that, sinusoidal signal was loaded, and the target signal was set as a sinusoidal signal with an amplitude of 125MM and a frequency of 0.325 Hz. The displacement response curves of the three control strategies are depicted in Figure 14, and the displacement tracking error curves of the three control strategies are illustrated in Figure 15. Apparently, these three controllers could ensure that the system could track the target signal effectively in the case of parameter uncertainty and external disturbance. As clearly revealed in Figure 14 and Figure 15, the displacement tracking performance of the PSO-NNDO-SMBC controller was significantly better than that of the PSO-SMBC controller and the traditional PID controller under sinusoidal loading signals. Aside from that, the errors of conventional PID controllers and PSO-SMBC controllers increased at the peaks and troughs, attributable to external perturbations and parameter uncertainties. The displacement tracking error of the traditional PID controller was large, and the maximum displacement tracking error reached 3.25 mm. The maximum displacement tracking error of the PSO-SMBC controller reached 1.67 mm, the tracking error of the PSO-NNDO-SMBC controller was less than 0.45 mm, and the tracking effect of the PSO-NNDO-SMBC controller was better. In contrast to the traditional PID controller, the maximum tracking error of the PSO-NNDO-SMBC controller was lowered by around 86.1%, and the maximum tracking error of the PSO-SMBC controller was lessened by approximately 73.1%. In contrast, the tracking error of PSO-NNDO-SMBC controller was more stable, which suggests that particle swarm optimization and neural network disturbance observer ameliorate the tracking performance and robustness of the system.
Figure 16 shows the control input curves of three controllers under simulated sinusoidal tracking signals. When operating under parameter uncertainty and external disturbances, the control input curves of the three controllers essentially overlap, keeping the system on a given output trajectory. However, when the control signal rises or decays, both the traditional PID controllers and PSO-SMBC controllers will experience fluctuations. Obviously, the PSO-NNDO-SMBC controller proposed in this article had smoother input signals and achieved good control performance.
Finally, the tracking performance of PSO-NNDO-SMBC controller under simulated ramp signal was verified, and the ramp signal with the slope of the target signal was set to 0.01. The displacement response curves and error curves of the three kinds of control hydraulic cylinders are displayed in Figure 17 and Figure 18. The maximum tracking error under the PSO-NNDO-SMBC controller was controlled at 0.78 mm, and the response was fast. The maximum tracking error under the PSO-SMBC controller was 0.91 mm, and the response was slow. The maximum tracking error of the traditional PID controller was 2.06 mm, and the response was apparently lagging. In comparison with the traditional PID controller, the maximum displacement tracking error of PSO-NNDO-SMBC controller was lessened by around 62.1%, and the maximum displacement tracking error was lowered by approximately 14.2% compared with the PSO-SMBC controller. As demonstrated by the experimental results, compared with the traditional PID controller and PSO-SMBC controller, the steady-state error of PSO-NNDO-SMBC controller was more trivial and the tracking curve was smoother. Because the neural network observer could observe the disturbance and make feedforward compensation, the parameter uncertainty could be modified in real time by particle swarm optimization algorithm, which minimized the influence of uncertainty and disturbance on the control system of the bucket hydraulic cylinder.
Figure 19 shows the control input curves of three controllers during a simulated ramp signal. When operating under parameter uncertainty and external disturbances, the control input curves of the three controllers essentially overlap, keeping the system on a given output trajectory. However, when the control signal rises steadily, both traditional PID controllers and PSO-SMBC controllers will experience fluctuations. Obviously, the PSO-NNDO-SMBC controller proposed in this article had smoother input signals and achieved good control performance.
Table 5 clearly displays the control performance indicators of the PID controller, PSO-SMBC controller, and PSO-NNDO-SMBC controller under the simulation.
As illustrated by comparing the performance indicators of the three controllers in Table 5, under the simulated sinusoidal signal, it can be observed that the maximum absolute tracking error, average tracking error, and tracking error standard deviation of the PSO-NNDO-SMBC controller were reduced by 86.1%, 73.1%, 84.2%, 58.6%, and 85.4%, 70.0% compared to the PID and PSO-SMBC controllers, respectively. Under the simulated ramp signal, it can be observed that the maximum absolute tracking error, average tracking error, and tracking error standard deviation of the PSO-NNDO-SMBC controller were reduced by 62.1%, 14.2%, 81.4%, 64.5%, and 84.9%, 46.7% compared to the PID and PSO-SMBC controllers, respectively. As demonstrated by the simulated results, the PSO-NNDO-SMBC controller was more superior than the other two controllers in the two target signal outputs.
As demonstrated by the research findings, the PSO-NNDO-SMBC controller has acceptable tracking performance and transient response performance, and the maximum tracking error of the system was controlled within 4%, which can meet the requirements of the control performance index during the excavation of the excavator bucket. Nonetheless, because the simulation adopted the theoretical values on numerous system parameters, it has a certain ideal, so it remains imperative to build a test bench for displacement loading experiments to verify the feasibility of the controller.

6. Test Analysis

To verify the real control performance of the designed PSO-NNDO-SMBC controller on the bucket of the hydraulic excavator, the bucket displacement tracking control experiment was carried out on the 2T hydraulic excavator test bed. The established 2T hydraulic excavator test bench is displayed in Figure 20. The test bench consisted of a displacement loading system, an oil source system, an electronic control system, and an upper computer testing and control system. The servo valve used in the excavator test bench was the DLKZOR-TEB-SN-NP-L73 servo valve from Atos Corporation (Sydney, NSW, Australia). The overflow valve was the DBEME10-30/315YG24Z4/A1/2 proportional overflow valve from Lixing (London, UK). The displacement sensor was the MPS-S-500mm-R-C external cable displacement sensor from Miran (Livingston, Scotland). The industrial computer was the standard industrial computer from Advantech (Taiwan, China), and the motion controller was the RC28-14 from Rexroth (Lohr am Main, Germany).
In this paper, motion RC28-14 was employed as the lower computer, and industrial computer equipped with MATLAB/Simulink was utilized as the upper computer. The control algorithm is depicted in Figure 20. The communication between MATLAB/Simulink and RC28-14 controller was realized through PeakCAN. The communication mode was CAN communication. MATLAB/Simulink was utilized to send valve CAN information to the RC28-14 controller to control valve action, while the RC28-14 controller was utilized to send sensor CAN information to MATLAB/Simulink to provide the necessary parameters of the control algorithm. It should be noted that the control sampling period lasted for 2 ms to complete the closed-loop tracking control of the actual loading displacement and target loading displacement of the excavator bucket cylinder
To verify the control effect of the PSO-NNDO-SMBC controller on the excavator bucket hydraulic cylinder, two experiments were carried out to verify the simulation results of the above software. To be more specific, the control strategy suggested in this paper was compared with the traditional PID controller and the PSO-SMBC controller adopting the Z-N method to optimize the parameters. In the first experiment, a sinusoidal signal with an amplitude of 180 mm and frequency of 0.175 Hz was employed as the target signal to verify the tracking performance of the three control strategies. In the second experiment, a ramp wave signal with a cycle of 10 s, an upper limit of 50 mm, and an upper limit of 180 mm was used as the target signal, so as to verify the tracking performance and transient response characteristics of the three control strategies on the target signal.
Above all, the displacement tracking performance of the PSO-NNDO-SMBC controller was verified. Subsequently, the target signal was set as a sinusoidal signal with an amplitude of 180 mm and a frequency of 0.175 Hz. The displacement response curves and error curves of the three kinds of control hydraulic cylinders are exhibited in Figure 21 and Figure 22. As exhibited by the curves in the above figures, the tracking curve of the PSO-NNDO-SMBC controller is close to the target curve. Moreover, the error margin of the peak and valley values is small. The maximum displacement tracking error under the PSO-NNDO-SMBC controller was controlled at about 2.01 mm, and there is no obvious response lead or lag phenomenon. The maximum displacement tracking error under the PSO-SMBC controller was about 3.24 mm, and the hysteresis was pronounced. The maximum displacement tracking error of the traditional PID controller was about 5.64 mm, and the hysteresis was remarkable. In comparison with the PSO-SMBC controller, the maximum displacement tracking error of the PSO-NNDO-SMBC controller was lessened by approximately 38.0%, while the maximum displacement tracking error of the PSO-NNDO-SMBC controller was lowered by around 64.4% in comparison with the traditional PID controller. As exhibited by the above analysis results, the PSO-NNDO-SMBC controller had more of an outstanding performance in adapting to parameter uncertainty and nonlinear external disturbance, thus ameliorating controller performance to suppress external disturbance.
At length, the tracking performance of the PSO-NNDO-SMBC controller under external disturbances was verified by setting the target signal period to 10 s, with an upper limit of 50MM and an upper limit of 180MM for the ramp signal. The displacement response curves and error curves of the three kinds of control hydraulic cylinders are exhibited in Figure 23 and Figure 24. As evidently displayed by the curves in the above figures, the tracking curve of the PSO-NNDO-SMBC controller was less affected by external disturbances. The disturbance tracking error under the PSO-NNDO-SMBC controller was controlled at 1.39 mm with a speedy response. The disturbance tracking error under the PSO-SMBC controller was 2.81 mm with a slow response. The disturbance tracking error of the traditional PID controller was 5.60 mm, and the response was remarkably lagging. In accordance with the experimental analysis, the PSO-NNDO-SMBC controller has a desirable dynamic quality, namely, the robustness of the system to the comprehensive disturbance is ameliorated. In such a case, it can quickly and accurately realize the signal tracking and complete the established tracking and control objectives of the system.
Table 6 clearly displays the control performance indicators of the PID controller, PSO-SMBC controller, and PSO-NNDO-SMBC controller in the experiment.
As illustrated by comparing the performance indicators of the three controllers in Table 6, under the experimental sinusoidal signal, it can be observed that the maximum absolute tracking error, average tracking error, and tracking error standard deviation of the PSO-NNDO-SMBC controller were reduced by 64.4%, 38.0%, 72.4%, 58.4%, and 74.6%, 55.0% compared to the PID and PSO-SMBC controllers, respectively. Under the experimental ramp signal, it can be observed that the maximum absolute tracking error, average tracking error, and tracking error standard deviation of the PSO-NNDO-SMBC controller were reduced by 75.2%, 50.5%, 71.6%, 54.3%, and 72.1%, 53.0% compared to the PID and PSO-SMBC controllers, respectively. As demonstrated by the experimental results, the PSO-NNDO-SMBC controller is superior to the other two controllers in the two target signal outputs.

7. Conclusions

A position control method of a sliding mode backstepping electro-hydraulic servo on the basis of a particle swarm optimization algorithm and neural network disturbance observer is recommended based upon the Lyapunov theory, so as to deal with the problems of nonlinear parameter uncertainty and weak vibration in the excavator bucket electro-hydraulic servo system. The sliding mode backstepping controller not only combines the particle swarm optimization algorithm and the neural network disturbance observer, but also copes with the unknown disturbance and weak vibration of the nonlinear parameter uncertainty in the system. The excavator bucket hydraulic cylinder system can track the given position accurately and smoothly, and can lessen the trajectory deviation resulting from the above problems. Nonetheless, the control method put forward in this paper will encounter a multitude of challenges when applied to practical engineering. Measures such as optimizing algorithm design to elevate the robustness and adaptability of controllers, strengthening system integration and compatibility testing, and establishing effective maintenance and update mechanisms can gradually overcome these challenges and facilitate the application of related technologies.
Through the co-simulation of MATLAB/Sumlink and AMESim, the simulation results demonstrate that the suggested control strategy has higher-than-expected trajectory tracking accuracy than the PSO-SMBC controller and traditional PID controller under the condition of parameter uncertainty and external unknown disturbance. In contrast to the PSO-SMBC controller, the response speed is elevated by 40.3%, and the error of displacement tracking control precision is lowered by 73.1%. In contrast to the traditional PID controller, the respond speed is augmented by 50.7%, and the error of displacement tracking control precision is lowered by 86.1%. From the analysis of simulation data, it can be shown that the recommended control strategy is superior to the PSO-SMBC controller and the traditional PID controller in both tracking performance and transient response performance under different operating conditions. Nonetheless, the simulation results obtained by adopting theoretical values on multitudinous system parameters have a certain ideal, and it remains essential to build a hydraulic excavator test bed for displacement-loading experiments to verify the feasibility of the controller.
Finally, the control strategy recommended in this paper was applied to the 2T hydraulic excavator test bench for experimental verification. As illustrated by the ramp and sinusoidal test results, the control strategy significantly elevates the tracking accuracy, response speed, tracking accuracy, and anti-interference performance of the electro-hydraulic servo system. In comparison with the PSO-SMBC controller, the error-of-displacement tracking control precision is lessened by 50.5%. In contrast to the traditional PID controller, the error of displacement tracking control precision is lowered by 75.2%. In line with the above experiments, we can conclude that the control method significantly augments the tracking accuracy and robustness when faced with disturbance of the excavator bucket electro-hydraulic servo system. Its tracking accuracy, transient response speed, and anti-interference ability can well meet the accuracy and transient response performance required by the excavator.

Author Contributions

Theoretical analysis: X.T. and K.L.; designing experiments and analyzing data: X.T. and J.Y.; conducting simulations: X.T. and Y.C.; writing the paper: X.T.; revising the paper: J.C. and H.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Youth Program of the National Natural Science Foundation of China (Grant No. 51805228), The Natural Science Foundation of the Jiangsu Higher Education Institutions of China (Grant No. 22KJB460021, 23KJA460006), the Changzhou Leading Innovative Talents Introduction and Cultivation Project (Grant No. CQ20210093, CQ20220089), and the Practice Innovation Program of Jiangsu Province (Grant No. SJCX23_1626).

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

Nomenclature

P s Inlet pressure
P r Return oil pressure
P 1 Hydraulic cylinder rodless chamber pressure
P 2 Hydraulic cylinder rod chamber pressure
Q 1 Inlet flow
Q 2 Outlet flow
F L External load force
mSystem load quality
x 1 Hydraulic cylinder output displacement
x 2 Hydraulic cylinder output speed
A 1 Hydraulic cylinder rodless chamber area
A 2 Hydraulic cylinder has rod chamber area
V 01 Initial volume of rodless chamber in hydraulic cylinder
V 02 Hydraulic cylinder with rod chamber initial volume
C t Leakage coefficient
β e Hydraulic oil elastic modulus
GSystem load weight
τ ν Servo valve time constant
k i Valve core current gain
u Control in
x v Valve core displacement
k q Discharge Coefficient
C d Flow coefficient of servo valve throttle hole
w 1 Left gradient
w 2 Right gradient
ρ Hydraulic oil density
d Unknown disturbance in the system
y d Given position signal
α 1 Virtual controller variables 1
α 2 Virtual controller variables 2
k 1 The control coefficient of α 1
k 2 The control coefficient of α 2
u e q Equivalent control
u v s s Switch control
e Number of hidden neurons
D ( x ) Composite disturbance
f Internal uncertainty
Ω θ Feasible region of network weights
m θ Design parameters
θ Adjustable weight
φ ( x ) Basis function vector
D ^ Neural network output
ω Design parameters
ε Neural network approximation error
ε N Upper bound of approximation error
τ Observation error
P b e s t Individual extremum
g b e s t Global extremum
ω Inertia weight
c 1 Acceleration constant
c 2 Acceleration constant
r 1 Random number
ω m a x Maximum inertia weight
ω m i n Minimum inertia weight
k Current iteration count
K m a x Maximum Number Of Iterations
N m a x Execution frequency
u S M B C Sliding Mode control law
u N N D O NNDO output equivalent control law
i Electric current
k a Proportional amplification factor
Δ u Input voltage
z i Position vector
v i Velocity vector
K p Scale factor
K i Integral coefficient
K d Differential coefficient
N Number of signals
M s Maximum step error
M e Maximum absolute value error
μ e Average value
σ e Standard deviation
s e Steady-state error
t s Steady-state time

References

  1. Groll, T.; Hemer, S.; Ropertz, T.; Berns, K. Autonomous trenching with hierarchically organized primitives. Autom. Constr. 2019, 98, 214–224. [Google Scholar] [CrossRef]
  2. Do, T.C.; Dang, T.D.; Dinh, T.Q.; Ahn, K.K. Developments in energy regeneration technologies for hydraulic excavators: A review. Renew. Sustain. Energy Rev. 2021, 145, 111076. [Google Scholar] [CrossRef]
  3. Zhang, L.; Zhao, J.; Long, P.; Wang, L.; Qian, L.; Lu, F.; Song, X.; Manocha, D. An autonomous excavator system for material loading tasks. Sci. Robot. 2021, 6, eabc3164. [Google Scholar] [CrossRef] [PubMed]
  4. Shuprajhaa, T.; Sujit, S.K.; Srinivasan, K. Reinforcement learning based adaptive PID controller design for control of linear/nonlinear unstable processes. Appl. Soft Comput. J. 2022, 128, 109450. [Google Scholar] [CrossRef]
  5. Al Aela, A.M.; Kenne, J.P.; Mintsa, H.A. Adaptive neural network and nonlinear electrohydraulic active suspension control system. J. Vib. Control. 2022, 28, 243–259. [Google Scholar] [CrossRef]
  6. Deng, W.; Yao, J.; Wang, Y.; Yang, X.; Chen, J. Output feedback backstepping control of hydraulic actuators with valve dynamics compensation. Mech. Syst. Signal Process. 2021, 158, 107769. [Google Scholar] [CrossRef]
  7. Wan, Z.; Fu, Y.; Liu, C.; Yue, L. Sliding Mode Control Based on High Gain Observer for Electro-Hydraulic Servo System. J. Electr. Comput. Eng. 2023, 2023, 7932117. [Google Scholar] [CrossRef]
  8. Nguyen, M.H.; Dao, H.V.; Ahn, K.K. Adaptive Robust Position Control of Electro-Hydraulic Servo Systems with Large Uncertainties and Disturbances. Appl. Sci. 2022, 12, 794. [Google Scholar] [CrossRef]
  9. Tang, R.; Zhang, Q. Dynamic Sliding Mode Control Scheme for Electro-Hydraulic Position Servo System. Procedia Eng. 2011, 24, 28–32. [Google Scholar] [CrossRef]
  10. Wang, Y.; Zhao, J.; Zhang, H.; Wang, H. Robust output feedback control for electro-hydraulic servo system with error constraint based on high-order sliding mode observer. Trans. Inst. Meas. Control. 2023, 45, 1703–1712. [Google Scholar] [CrossRef]
  11. Liu, R.; Wang, Z.; Jia, P.; Yan, G.; Zhang, T.; Jia, C.; Chen, G. Research on Pressure Control of an Electro-Hydraulic Servo System Based on Sliding-Mode Variable-Structure Direct Torque Control. Processes 2022, 11, 92. [Google Scholar] [CrossRef]
  12. Guan, C.; Pan, S. Adaptive sliding mode control of electro-hydraulic system with nonlinear unknown parameters. Control. Eng. Pract. 2008, 16, 1275–1284. [Google Scholar] [CrossRef]
  13. Thien, T.D.; Xuan, B.D.; Ahn, K.K. Adaptive Backstepping Sliding Mode Control for Equilibrium Position Tracking of an Electrohydraulic Elastic Manipulator. IEEE Trans. Ind. Electron. 2020, 67, 3860–3869. [Google Scholar]
  14. Xie, H.; Tang, Y.; Shen, G.; Li, X.; Bai, D.; Sa, Y. Command filtered adaptive backstepping control for high-accuracy motion tracking of hydraulic systems with extended state observer. Proc. Inst. Mech. Eng. Part I J. Syst. Control. Eng. 2022, 236, 654–668. [Google Scholar] [CrossRef]
  15. Wan, Z.; Yue, L.; Fu, Y. Neural Network Based Adaptive Backstepping Control for Electro-Hydraulic Servo System Position Tracking. Int. J. Aerosp. Eng. 2022, 2022, 3069092. [Google Scholar] [CrossRef]
  16. Zhang, J.; Yan, J.; Zhang, P. Multi-UAV Formation Control Based on a Novel Back-Stepping Approach. IEEE Trans. Veh. Technol. 2020, 69, 2437–2448. [Google Scholar] [CrossRef]
  17. Dalwadi, N.; Deb, D.; Rath, J.J. Biplane Trajectory Tracking Using Hybrid Controller Based on Backstepping and Integral Terminal Sliding Mode Control. Drones 2022, 6, 58. [Google Scholar] [CrossRef]
  18. Fan, R.D.; Qian, L.F.; Chen, G.S.; Wei, Y.K. Disturbance Observer based Backstepping Control for Electro-hydraulic Position Servo System of the Projectile Coordination Arm. J. Phys. Conf. Ser. 2023, 2460, 012056. [Google Scholar] [CrossRef]
  19. Sa, Y.; Zhu, Z.; Tang, Y.; Li, X.; Shen, G. Adaptive dynamic surface control using nonlinear disturbance observers for position tracking of electro-hydraulic servo systems. Proc. Inst. Mech. Eng. Part I J. Syst. Control. Eng. 2022, 236, 634–653. [Google Scholar] [CrossRef]
  20. Li, M.; Shi, W.; Wei, J.; Fang, J.; Guo, K.; Zhang, Q. Parallel Velocity Control of an Electro-Hydraulic Actuator with Dual Disturbance Observers. IEEE Access 2019, 7, 56631–56641. [Google Scholar] [CrossRef]
  21. Yao, J.; Jiao, Z.; Ma, D. Extended-State-Observer-Based Output Feedback Nonlinear Robust Control of Hydraulic Systems with Backstepping. IEEE Trans. Ind. Electron. 2014, 61, 6285–6293. [Google Scholar] [CrossRef]
  22. Guo, Q.; Zhang, Y.; Celler, B.G.; Su, S.W. Backstepping Control of Electro-Hydraulic System Based on Extended-State-Observer With Plant Dynamics Largely Unknown. IEEE Trans. Ind. Electron. 2016, 63, 6909–6920. [Google Scholar] [CrossRef]
  23. Rashno, A.; Fadaei, S. Convolutional neural networks optimization using multi-objective particle swarm optimization algorithm. Inf. Sci. 2025, 689, 121443. [Google Scholar] [CrossRef]
  24. Zheng, W.M.; Liu, N.; Chai, Q.W.; Chu, S.C. A Compact Adaptive Particle Swarm Optimization Algorithm in the Application of the Mobile Sensor Localization. Wirel. Commun. Mob. Comput. 2021, 2021, 1676879. [Google Scholar] [CrossRef]
  25. Liu, X.; Zhang, P.; Fang, H.; Zhou, Y. Multi-Objective Reactive Power Optimization Based on Improved Particle Swarm Optimization with epsilon-Greedy Strategy and Pareto Archive Algorithm. IEEE Access 2021, 9, 65650–65659. [Google Scholar] [CrossRef]
  26. Ellahi, M.; Abbas, G.; Satrya, G.B.; Usman, M.R.; Gu, J. A Modified Hybrid Particle Swarm Optimization with Bat Algorithm Parameter Inspired Acceleration Coefficients for Solving Eco-Friendly and Economic Dispatch Problems. IEEE Access 2021, 9, 82169–82187. [Google Scholar] [CrossRef]
Figure 1. Hydraulic principle diagram of valve-controlled asymmetric cylinder.
Figure 1. Hydraulic principle diagram of valve-controlled asymmetric cylinder.
Actuators 14 00009 g001
Figure 2. Multilayer feedforward neural network diagram.
Figure 2. Multilayer feedforward neural network diagram.
Actuators 14 00009 g002
Figure 3. Radial basis function neural network diagram.
Figure 3. Radial basis function neural network diagram.
Actuators 14 00009 g003
Figure 4. PSO optimization SMBC parameter flow chart.
Figure 4. PSO optimization SMBC parameter flow chart.
Actuators 14 00009 g004
Figure 5. Control system architecture diagram.
Figure 5. Control system architecture diagram.
Actuators 14 00009 g005
Figure 6. AMESim simulation model. 1—Hydraulic oil; 2—Co-simulation interface; 3—Oil source; 4—Proportional valve; 5—Proportional amplifier 6—Rodless chamber pressure sensor; 7—Pressure sensor with rod chamber; 8—External load; 9—Force sensor; 10—Displacement sensor; 11—Speed sensor; 12—Hydraulic cylinder; 13—Oil tank.
Figure 6. AMESim simulation model. 1—Hydraulic oil; 2—Co-simulation interface; 3—Oil source; 4—Proportional valve; 5—Proportional amplifier 6—Rodless chamber pressure sensor; 7—Pressure sensor with rod chamber; 8—External load; 9—Force sensor; 10—Displacement sensor; 11—Speed sensor; 12—Hydraulic cylinder; 13—Oil tank.
Actuators 14 00009 g006
Figure 7. Simulink simulation model. 1—Command shift; 2—Instruction displacement first-order derivative; 3—Instruction displacement second-order derivative; 4—Instruction displacement third-order derivative; 5—Particle swarm optimization algorithm; 6—sliding mode backstepping controller 2; 7—Neural network disturbance observer; 8—Co-simulation interface.
Figure 7. Simulink simulation model. 1—Command shift; 2—Instruction displacement first-order derivative; 3—Instruction displacement second-order derivative; 4—Instruction displacement third-order derivative; 5—Particle swarm optimization algorithm; 6—sliding mode backstepping controller 2; 7—Neural network disturbance observer; 8—Co-simulation interface.
Actuators 14 00009 g007
Figure 8. Iterative curve of particle swarm optimization algorithm.
Figure 8. Iterative curve of particle swarm optimization algorithm.
Actuators 14 00009 g008
Figure 9. Extend step signal response curve.
Figure 9. Extend step signal response curve.
Actuators 14 00009 g009
Figure 10. Extend step signal error curve.
Figure 10. Extend step signal error curve.
Actuators 14 00009 g010
Figure 11. Retract step signal response curve.
Figure 11. Retract step signal response curve.
Actuators 14 00009 g011
Figure 12. Retract step signal error curve.
Figure 12. Retract step signal error curve.
Actuators 14 00009 g012
Figure 13. Control input of the three controllers for retract step signal.
Figure 13. Control input of the three controllers for retract step signal.
Actuators 14 00009 g013
Figure 14. Simulation sinusoidal signal response curve.
Figure 14. Simulation sinusoidal signal response curve.
Actuators 14 00009 g014
Figure 15. Simulation sinusoidal signal error curve.
Figure 15. Simulation sinusoidal signal error curve.
Actuators 14 00009 g015
Figure 16. Control input of the three controllers for simulation sinusoidal signal.
Figure 16. Control input of the three controllers for simulation sinusoidal signal.
Actuators 14 00009 g016
Figure 17. Simulation ramp signal response curve.
Figure 17. Simulation ramp signal response curve.
Actuators 14 00009 g017
Figure 18. Simulation ramp signal error curve.
Figure 18. Simulation ramp signal error curve.
Actuators 14 00009 g018
Figure 19. Control input of the three controllers for simulation ramp signal.
Figure 19. Control input of the three controllers for simulation ramp signal.
Actuators 14 00009 g019
Figure 20. 2T hydraulic excavator test bench.
Figure 20. 2T hydraulic excavator test bench.
Actuators 14 00009 g020
Figure 21. Sinusoidal signal response curve.
Figure 21. Sinusoidal signal response curve.
Actuators 14 00009 g021
Figure 22. Sinusoidal signal error curve.
Figure 22. Sinusoidal signal error curve.
Actuators 14 00009 g022
Figure 23. Ramp signal response curve.
Figure 23. Ramp signal response curve.
Actuators 14 00009 g023
Figure 24. Ramp signal error curve.
Figure 24. Ramp signal error curve.
Actuators 14 00009 g024
Table 1. Main parameters of co-simulation.
Table 1. Main parameters of co-simulation.
NameMain Setting Parameters
Hydraulic oilHydraulic oil density 850 kg/m3,
Hydraulic oil elastic modulus 17,000 bar
Oil SourceOil source pressure 15 Mpa
Three position, four-way proportional valveMaximum flow rate 85 L/min,
Natural frequency 3 Hz, Damping ratio 0.8
Hydraulic cylinderPiston diameter 63 mm, Piston rod diameter 30 mm, Stroke 400 mm, Piston rod mass 40 kg
Proportional amplifierZoom-in coefficient 30
Table 2. Control parameters of PSO-NNDO-SMBC controller.
Table 2. Control parameters of PSO-NNDO-SMBC controller.
Control ParameterNumerical Value
N m a x 100
c 1 1
c 2 1
ω 0.5
c 1
h 150
η 4
Table 3. PSO-NNDO-SMBC controller-tuning parameters.
Table 3. PSO-NNDO-SMBC controller-tuning parameters.
ParameterPSO-NNDO-SMBC
k 1 456
k 2 158
Table 4. Comparison of simulation results of step control signals.
Table 4. Comparison of simulation results of step control signals.
ParameterPIDPSO-SMBCPSO-NNDO-SMBC
Average   value   μ e   (mm)2.902.631.15
Standard   deviation   σ e   (mm)4.253.292.90
Maximum   step   error   M s   (mm)3.972.931.81
Steady - state   error   s e   (mm)0.030.020
Steady - state   time   t s   ( mm ) 0.750.620.37
Table 5. Comparison of simulation control signal results.
Table 5. Comparison of simulation control signal results.
SignalParameterPIDPSO-SMBCPSO-NNDO-SMBC
Simulation Sinusoidal Signal Maximum   absolute   error   M e   (mm)3.251.670.45
Average   value   μ e   (mm)1.520.580.24
Standard   deviation   σ e   (mm)0.820.400.12
Simulation Ramp Signal Maximum   absolute   error   M e   (mm)2.060.910.78
Average   value   μ e   (mm)1.180.620.22
Standard   deviation   σ e   (mm)0.530.150.08
Table 6. Comparison of experimental control signal results.
Table 6. Comparison of experimental control signal results.
SignalParameterPIDPSO-SMBCPSO-NNDO-SMBC
Sinusoidal Signal Maximum   absolute   error   M e   (mm)5.643.242.01
Average   value   μ e   (mm)2.251.490.62
Standard   deviation   σ e   (mm)1.420.800.36
Ramp Signal Maximum   absolute   error   M e   (mm)5.602.811.39
Average   value   μ e   (mm)0.740.460.21
Standard   deviation   σ e   (mm)1.110.660.31
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

Tao, X.; Liu, K.; Yang, J.; Chen, Y.; Chen, J.; Zhu, H. Sliding Mode Backstepping Control of Excavator Bucket Trajectory Synovial in Particle Swarm Optimization Algorithm and Neural Network Disturbance Observer. Actuators 2025, 14, 9. https://doi.org/10.3390/act14010009

AMA Style

Tao X, Liu K, Yang J, Chen Y, Chen J, Zhu H. Sliding Mode Backstepping Control of Excavator Bucket Trajectory Synovial in Particle Swarm Optimization Algorithm and Neural Network Disturbance Observer. Actuators. 2025; 14(1):9. https://doi.org/10.3390/act14010009

Chicago/Turabian Style

Tao, Xiangfei, Kailei Liu, Jing Yang, Yu Chen, Jiayuan Chen, and Haoran Zhu. 2025. "Sliding Mode Backstepping Control of Excavator Bucket Trajectory Synovial in Particle Swarm Optimization Algorithm and Neural Network Disturbance Observer" Actuators 14, no. 1: 9. https://doi.org/10.3390/act14010009

APA Style

Tao, X., Liu, K., Yang, J., Chen, Y., Chen, J., & Zhu, H. (2025). Sliding Mode Backstepping Control of Excavator Bucket Trajectory Synovial in Particle Swarm Optimization Algorithm and Neural Network Disturbance Observer. Actuators, 14(1), 9. https://doi.org/10.3390/act14010009

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