1. Introduction
Polishing is a surface finishing process that aims to enhance the appearance or the functionality of a workpiece through material removal or shape modification [
1]. It is widely applied in various fields, including metal processing, mold manufacturing, aero-space engineering, and biomedical engineering [
2,
3]. However, the traditional manual polishing process heavily depends on skilled labor, resulting in inconsistent quality and low productivity. Consequently, there has been a growing interest in automating the polishing process to achieve higher throughput, repeatability, and consistency [
4,
5]. Among the popular methods for automated polishing, pneumatic polishing systems integrated with robotic arms have emerged as a preferred approach. An essential aspect of automatic polishing is the precise control of the end effector within the pneumatic system of the polishing robot [
3,
6].
Pneumatic systems offer several advantages, such as a simple structure, low cost, fast response, and a high power-to-weight ratio [
7,
8]. However, they also present challenges, including nonlinear characteristics, parameter uncertainty, complex friction forces, and unknown disturbances. Therefore, it is crucial to develop an effective control method for pneumatic systems to achieve precise automatic polishing. Proportion-al-Integral-Derivative (PID) control is a widely employed method in the industrial field due to its simplicity and robustness [
5,
9]. PID control has been successfully implemented in various polishing applications, such as robotic belt grinding and robotic abrasive flow machining. Nevertheless, despite its extensive use, PID control has limitations, such as sensitivity to parameter variations, suboptimal performance under nonlinear conditions, and limited disturbance rejection capabilities. As a result, it may be inadequate for highly nonlinear systems such as pneumatic polishing [
10].
In order to overcome these limitations, alternative control methods, such as sliding mode control, have been investigated. Sliding mode control is a nonlinear robust control method that can effectively handle parameter uncertainty and external disturbance by utilizing a discontinuous switching function [
11]. Compared to PID control, sliding mode control offers advantages, such as fast convergence speed, strong robustness, and easy implementation. It has been applied in various pneumatic system applications, such as pneumatic servo positioning, pneumatic artificial muscle actuation, and pneumatic hammering force regulation [
12,
13,
14].
However, sliding mode control also has some drawbacks, such as the chattering phenomenon caused by high-frequency switching functions, the difficulty of designing a sliding surface for high-order systems, and the requirement of accurate system model in-formation [
15,
16]. The polishing pneumatic system is a high-order, strongly nonlinear system that involves complex dynamics, including friction forces and random disturbances. Therefore, traditional sliding mode control may not achieve satisfactory performance for the polishing pneumatic system. To address these problems, backstepping control is introduced to enhance the performance of sliding mode control. Backstepping control is a recursive design method that can handle high-order nonlinear systems by decomposing them into lower-order subsystems and applying feedback stabilization at each step [
17,
18,
19]. It offers several advantages, such as a systematic design procedure, a flexible structure, and good tracking performance. Backstepping control has been successfully applied in various sliding mode control applications, such as robot manipulator control, induction motor control, and spacecraft attitude control [
20,
21].
In addition to the challenges mentioned earlier, another factor that contributes to the in-accurate control of the polishing pneumatic system is the presence of unknown disturbances that affect the system dynamics [
22,
23]. These unknown disturbances in the pneumatic system can result from various factors, such as load variation, air leakage, valve dead zone, and more [
15,
23]. Consequently, it becomes crucial to eliminate or compensate for these unknown disturbances during the control process. By effectively addressing the impact of these disturbances, the control performance can be enhanced and more accurate and reliable control of the polishing pneumatic system can be achieved.
Various methods have been employed to address the issue of unknown disturbances in the control process, including adaptive control, robust control, and disturbance observer [
24,
25]. However, these methods often come with certain disadvantages, such as complex design procedures, conservative performance, and high computational burdens. A promising approach to tackle these challenges is the extended state observer (ESO), which is a novel method capable of estimating and compensating for unknown disturbances by augmenting the system state with an additional variable that represents the total disturbance [
26,
27]. The ESO offers several advantages over other methods, including its simple structure, low computational cost, wide applicability, and strong robustness [
28,
29]. The ESO has been successfully applied in various control applications, such as servo motor control, magnetic levitation system control, and flexible joint robot control [
30,
31]. However, there is a limited amount of literature available on the application of an ESO to polishing pneumatic system control. Therefore, in this paper, a backstepping sliding mode control (BSMC) method based on an ESO for the polishing pneumatic system is proposed. The proposed method only requires the measurement of the displacement of the pneumatic cylinder, enabling it to estimate and compensate for the velocity, acceleration, and composite disturbance signal. By effectively suppressing and compensating for unmodeled friction forces and random disturbances in the system, the proposed method demonstrates strong engineering practicability, high control accuracy, and robustness. The effectiveness of the proposed method is validated through simulation and experimental results.
The rest of this paper is organized as follows:
Section 2 develops the mathematical model of the polishing robot pneumatic system and presents the expression of the state equation.
Section 3 designs the observer and controller. Based on the Lyapunov stability theory, the stability of the observer and controller is proved.
Section 4 establishes an AMESim and MATLAB/Simulink co-simulation model of the polishing robot pneumatic system, compares the simulation results of the traditional PID control method and the BSMC method proposed in this paper, and quantitatively analyzes the experimental effects of the two algorithms.
Section 5 summarizes the main contributions of this paper and discusses the application significance of the proposed method.
2. Construction of System Modeling
This paragraph describes the structure of the pneumatic control system of a polishing robot, as shown in
Figure 1. The system consists of a pressure source, a relief valve, a pneumatic cylinder, and a displacement sensor. The pressure source supplies gas pressure for the entire system, while the relief valve serves as a protective function. The pneumatic cylinder acts as an actuator and the displacement sensor is mounted at the end of the pneumatic cylinder to feed back its displacement. The controller outputs a control signal to the proportional valve based on the displacement error of the pneumatic cylinder, which controls its position.
The dynamic equation of the pneumatic cylinder is derived from Newton’s second law:
In Equation (1), is the area of the rear end of the pneumatic cylinder, ; is the area of the rod end of the pneumatic cylinder, ; is the air pressure in the rod-less chamber of the pneumatic cylinder, Pa; is the air pressure in the rod chamber of the pneumatic cylinder, Pa; is the equivalent mass of the load and air cylinder, kg; is the displacement of the pneumatic cylinder, m; is the load force and difficult-to-model interference force N.
Since the improvement of sealing technology, the external leakage of the pneumatic cylinder is so minor that it can be ignored. The pressure-flow equation of the pneumatic cylinder can be expressed as follows [
23]:
In Equations (2) and (3),
is the gas elastic modulus, Pa;
and
are the initial volumes of the air cylinder with and without rod, respectively,
;
is the internal leakage coefficient of the pneumatic cylinder,
;
and
are the gas flows in the pneumatic cylinder without and with the rod, respectively. The flow equation of the proportional valve is expressed as [
12]:
In Equations (4) and (5), ; ; and are the area gradients of the proportional valve; is the gas density, ; is the displacement of the proportional valve spool, m; is the pressure of the pressure source, Pa; is the return air tank pressure of the proportional valve.
Then,
s (·) is a symbolic function expressed as:
Since the frequency response of a proportional valve is typically much faster than that of a pneumatic cylinder, it is often assumed that the displacement of the valve core and the input voltage have an approximately linear relationship. In other words, this relationship can be expressed as follows:
In Equation (7),
ki is the amplification factor, and Equations (4) and (5) can be simplified as follows:
where
,
,
.
If the equation of variable can be expressed as
, then the system state equation is:
In Equation (10), , , , is a compound disturbance.
3. Design of the Backstepping Sliding Mode Pneumatic Cylinder Position Controller
The control objective of a pneumatic system is to achieve accurate tracking of the desired trajectory for the pneumatic cylinder in different environments, regardless of the influence of external disturbances. In this section, a backstepping sliding mode position controller for the pneumatic cylinder is designed by incorporating an extended state observer (ESO). However, before proceeding with the design, the following assumptions are established:
Assumption 1. The third derivative of y of the displacement signal of the pneumatic cylinder exists and is derivable, that is, and
. and
are constants.
Assumption 2. The first-order differential of perturbation force exists and is upper bounded (the lower bound is, as we commonly know, 0), that is, . is constant.
Remark 1. Assumption 2 is widely accepted by researchers and can be proved in literature [
32,
33].
Another important work of this paper is the stability analysis of the designed controller, which includes the stability analysis of both an ESO and BSMC. Stability analysis is crucial for assessing the reliability and robustness of the control system, and it plays a key role in ensuring the stability of the designed controller. The Lyapunov method is a important technique for stability analysis, which involves analyzing the properties of a Lyapunov function. By examining the derivative of this function, the stability of the system can be established. Applying the Lyapunov method to the designed controller can ensure accurate state estimation and robust control performance.
3.1. The Extended State Observer
Before designing, it is necessary to expand the complex disturbance into a new state variable and define the following: .
Then, Equation (10) is rewritten as [
34]:
The variable is defined as the estimated value of the ESO for each state, and the ESO is constructed according to the mathematical model of Equation (11):
where
are all positive numbers.
3.2. Stability Analysis of the ESO
Define
as the ESO estimation error. The observer error equation can be obtained by subtracting Equation (12) from Equation (11):
According to Equation (13):
where
,
,
is a bounded variable. Then, there is
that makes
.
When , if Hurwitz polynomial can be satisfied by , then is a Hurwitz matrix, and there is a real symmetric positive definite matrix and a positive definite matrix to make , that is, the existence of makes Therefore, the observer has an upper bound boundary, and its stability can be proved.
3.3. Backstepping Sliding Mode Control
The backstepping sliding mode controller for the pneumatic cylinder position is designed as follows:
Step 1: According to the pneumatic cylinder’s displacement
and expected displacement
, the tracking error can be expressed as:
Derivation of Equation (15):
Define the first Lyapunov function
V1:
Derivation of the first Lyapunov function:
Define
, where
is the virtual control variable. To make
negative, let
. If
, then:
If , then . The controller is stable. The next design goal is to make .
Step 2: Define the second Lyapunov function
:
Take the derivative of
and bring Equation (20) into:
where
, define
, where
is the virtual control variable. To make
negative, let
. If
, then:
Step 3: Define the synovial function:
Derivation of Equation (23) gives:
Set
, and bring
e1,
e2 into the equation to obtain the control law:
3.4. Stability Analysis of Backstepping Sliding Mode Control
From
, it can be obtained:
From Equations (25) and (26), it can be obtained:
Define Lyapunov function:
Take the derivative of Equation (27) and bring it into Equation (28):
From
,
and the Young inequality [
35], it can be obtained that:
From Equation (30), it can be obtained that [
36]:
where
From Equation (32), it can be seen that , meaning the controller designed has an upper bound and the controller is stable.
The control strategy of the algorithm designed in this paper is illustrated in
Figure 2. The speed, acceleration, and complex disturbance force of the pneumatic cylinder are estimated by the extended state observer (ESO) based on the controller output and displacement of the cylinder. The estimation information from the ESO and the displacement tracking error of the pneumatic cylinder are fed into the controller, which then calculates and outputs the control signal. The control signal is received by the electric proportional valve to regulate the gas flow into the pneumatic cylinder, thus enabling precise control of its position. This is successfully accomplished by making the high pressure gas entering the left chamber (red dotted line) and the low pressure gas leaving the right chamber (blue dotted line).
4. Simulation and Experimental Results and Discussion of the Pneumatic System
4.1. Simulation Setup
A co-simulation model combining AMESim and MATLAB/Simulink was established to verify the control method proposed in this paper, as shown in
Figure 3. The pneumatic system was modeled using AMESim, while the control algorithm was implemented using MATLAB/Simulink. This approach takes full advantage of the capabilities of both software tools to improve the accuracy of the simulation. Controller1 is a PID controller, while Controller2 is a backstepping sliding mode controller based on an extended state observer (ESO).
Table 1 shows some of the modeling parameters of the co-simulation model. The dimensional parameters, such as the mass, diameter of the piston and rod of the pneumatic cylinder, are obtained by direct measurement in the three-dimensional modeling software (Solidworks 2020). Another part of the parameters describes the state and properties of the working medium, which is important for the pneumatic system, as it is sensitive to the environment, especially the temperature. However, these parameters are not easy to determine, as there are no professional tools available for measurement. The parameter range is determined by referring to some literature [
37,
38,
39] and user manuals, and then iteratively debugging the simulation model.
The reference signal is set as a composite signal: . Initially, the piston of the pneumatic cylinder is in the middle of the air cylinder. The piston dis-placement is positive with the extension stroke of the pneumatic cylinder, and negative with the retract stroke. In the simulation process, the model is subjected to a sinusoidal disturbance force of Nonlinear Coulomb Friction with and .
Table 2 shows the parameter values of the two controllers in this paper. The performance of the PID controller depends on three parameters: the proportional gain
Kp, the integral gain
Ki, and the differential gain
Kd. Due to its few control parameters, a classic trial-and-error method, Ziegler-Nichols, is used to obtain the values of
Kp,
Ki, and
Kd [
40]. This method is simple and easy to use, but it is slightly inferior in terms of accuracy and stability. The performance of the backstepping sliding mode controller depends on parameters such as the backstepping transformation function, the sliding mode surface function, and the sliding mode control law function. The determination method of these parameters is more complicated. In
Section 3, the control law was derived by an analytical method. Based on this, some parameters were adjusted by referring to some literature [
41,
42] and combining with our model.
4.2. Simulation Results and Discussions
According to the simulation setup of the proposed method,
Figure 4 and
Figure 5 show the comparison of the control effects of two controllers under external disturbance forces.
Figure 4 compares the displacement tracking results of the pneumatic cylinder. As shown in
Figure 4, the ESO-based BSMC method has a faster response speed, higher control accuracy, and smaller tracking error than the traditional PID control method. This is also confirmed by the comparison of the pneumatic cylinder displacement error in
Figure 5. The displacement tracking simulation results of the pneumatic cylinder demonstrate that the proposed control algorithm has better control performance.
Figure 6 shows the comparison of the outputs of two controllers, indicating that the proposed backstepping sliding mode controller (BSMC) can still ensure stable output under external disturbances.
Figure 7,
Figure 8 and
Figure 9 compare the simulated and estimated values of the displacement, velocity, and acceleration of the pneumatic cylinder, respectively. The solid lines represent the simulated signals, while the dashed lines represent the estimated signals. The comparison results at each observation point show that the estimation effect using the extended state observer (ESO) method is satisfactory. As the simulation time increases, the estimation error gradually decreases, ensuring control accuracy. Therefore, the observer designed in this paper can realize sensorless information estimation, providing convenience for some application scenarios where sensors are not convenient to install.
Figure 10 shows the estimated value of the comprehensive disturbance force on the pneumatic cylinder. It can be seen that the disturbance force is sinusoidal and nonlinear, consistent with the disturbance signal set in
Section 4.1. Therefore, the observer designed in this paper is also effective for complex disturbance estimation.
To evaluate the control effect of the two controllers qualitatively, the following three indicators are introduced to assess the displacement tracking error of the pneumatic cylinder [
43]:
- (1)
Mean absolute error (MAE):
- (2)
Root mean square error (RMSE):
- (3)
Integrated time and absolute error (ITAE):
The MAE value indicates the average level of the control error, as it represents the mean absolute error between the actual and the expected displacement of the pneumatic cylinder. The RMSE value reflects the dispersion of the displacement control error, as it is computed from the square root of the ratio of the squared deviation between the actual and the expected displacement of the pneumatic cylinder and the number of measurements n. The RMSE value is sensitive to the outliers of the error. The ITAE value is obtained by weighting the displacement control error of the pneumatic cylinder with time. This indicator is insensitive to the initial error but sensitive to the later error.
Table 3 presents the calculation results of three indicators for two control algorithms. It can be observed that the ESO-based backstepping sliding mode controller has better indicators than the traditional PID controller. The result demonstrates that the proposed method has higher control accuracy and robustness, as it is less affected by errors.
4.3. Experimental Setup
The test bench (
Figure 11) enables the horizontal orientation of the pneumatic cylinder, using the rod as the moving element, and
Figure 12 shows the test bench scheme, which illustrates the experimental bench designed and constructed in this work. This scheme, which is used in typical industrial applications, allows for the analysis of the behavior of the pneumatic cylinder in a realistic application environment. Moreover, a special structure is designed inside the hydraulic cylinder to achieve accurate measurement of the cylinder displacement.
The system components implemented in the test bench are as follows:
SPEEDAIRE® Single-acting pneumatic cylinder, model 6CPZ8, which is made from stainless steel, and has a cylinder body with a diameter of 5/16 in, a stroke length 1 in.
Two miniature pressure sensors, type XMLPM60RC23F, for measuring the pressure in the two chambers of the pneumatic cylinder.
5/2 solenoid valve B522ADA53C, to control the pneumatic cylinder.
24 volts push button to activate the 5/2 proportional solenoid valve.
A dSPACE DS1104 data acquisition system for receiving sensor signals and triggering control signals.
A power supply to provide electrical energy.
A Lenovo Notebook G15, for operation control.
The pressure source of the pneumatic system, Ps, is supplied by a gas tank, which is regulated and maintained at a constant pressure by a regulating valve. The input voltage of the proportional solenoid valve is changed by a push button, allowing the pneumatic cylinder rod to move to the expected position. Two pressure sensors, model XMLPM60RC23F, are mounted 10 cm from the cylinder to measure the pressure in the pneumatic cylinder chambers. The dSPACE 1104 data acquisition board, with a real-time data acquisition rate of 0.2 kHz, can receive the analog voltage generated by the sensors and send commands to the push button with the help of a computer. A linear optical encoder is used to measure the displacement of the pneumatic cylinder, connected to the pneumatic cylinder on one end and to the dSPACE DS1104 on the other. The encoder has a resolution of 200 lines per inch and is fixed to the end of the cylinder’s moving rod to ensure correct alignment with the coding strip affixed to the inside of the protective housing. Vibration damping devices such as sponges and brackets are used to protect the encoder, ensuring that the movement of the cylinder rod is accurately captured during sudden strong air pressure shocks. Real-time interaction and recording of data are performed by MATLAB/Simulink (R2017b), which is commonly used in industry.
4.4. Experimental Design
To verify the advantages of the proposed control strategy, comparative experiments were conducted using the same parameters as the simulation as much as possible. However, it should be noted that due to the existence of various disturbances in the experiments, the experimental environment was difficult to be consistent with the simulation. It should also be mentioned that for a polishing robot pneumatic system, low-pressure control has obvious benefits in reducing throttling loss, but it also poses challenges to control stability. PID control is the most widely used algorithm in engineering due to its simplicity, ease of operation, and stability. Therefore, PID control was chosen to validate the designed control algorithm. To verify the effectiveness of the proposed control algorithm, four cases were designed as follows:
Case 1: Sinusoidal trajectory test condition. xd = 200sin(0.5πt) with F = 40 N and the gas source pressure is set to 4 MPa
Case 2: Ramp trajectory test condition. The trajectory consists of two slopes with speed of 20 mm/s and the gas source pressure are set to 4 MPa.
Case 3: Step trajectory test condition. The amplitude and frequency of the trajectory are 200 mm and 0.25 Hz, respectively.
Case 4: Sinusoidal trajectory test condition. xd = 200sin(0.5πt) with F = 40 N and the gas source pressure is set to 3 MPa.
The parameters of the experimental platform are provided in
Table 4. As pneumatic systems are time-varying systems, some parameters are difficult to obtain precisely. Therefore, only some values from manufacturers’ samples or from experimental measurements are listed here, which were experimentally determined.
In the experiment, the gas source pressure was set to 4 MPa and the parameters shown in
Table 5 were adopted for both controllers as an example. All controller parameters were adjusted to achieve the best possible control performance. The performance metrics used in the simulation were also applied to evaluate the experimental results. However, for the sake of experimental simplicity and repeatability, the RMSE metric was chosen as the evaluation criterion, which is also commonly used in experimental design. It is important to note that although only one metric was used to evaluate the performance of the two controllers in the experiment, the simulation results showed that all 3 performance metrics had a consistent trend. Therefore, this experimental approach, which used only the RMSE to evaluate the experimental results, was sufficiently convincing.
4.5. Experimental Results and Discussions
Before discussing the results of the experimental tests, it should be clarified that in Cases 1 to 4, different expected trajectory signals were also tested. The main purpose was to verify the validity of the two algorithms in different test environments. To better compare the control effects of the two control algorithms under different cases, the same hydraulic cylinder displacement (200 mm) was finally selected.
In this operating condition, where limited space on the test bench restricts the placement of an adequate number of sensors for detailed measurements of each information, the extended state observer (ESO) demonstrates excellent applicability. The estimation capability of the ESO for system information was first tested. In the experimental setup, external forces were controllable, making the force signal a suitable criterion for evaluation.
Figure 13 illustrates the interference force estimation during the test. The black curve represents the output force of the ESO, which is nonsmooth due to environmental noise and other disturbances. The red curve represents the filtered and smoothed result. From approximately 0 to 0.25 s, the estimated force rises from 0 N to around 60 N and fluctuates in the vicinity until 2 s. Subsequently, it stabilizes around 50 N. This can be explained by the fact that within the initial 0.25 s, the pneumatic system is just starting and is in an unstable state. Due to factors such as frictional forces within the pneumatic cylinder and medium resistance, the estimated interference force fluctuates within a larger range. After 2 s, the entire system tends to stabilize, and additional interference forces decrease. Therefore, the estimated force is observed to stabilize around a smaller value. Finally, an external force of approximately 48 N is obtained, which is larger than the set value of 40 N. This indicates that a portion of the interference force, including frictional forces, can also be indirectly estimated, demonstrating the accuracy of the ESO method in testing.
In addition to the trajectory tracking error, the control performance is also assessed using the maximum error percentage (MEP), which is obtained by dividing the maximum error by the maximum position value [
44]. The trajectory results for Cases 1 to 4, comparing BSMC and PID, are shown in
Figure 14,
Figure 15,
Figure 16 and
Figure 17.
The MEP chart and displacement tracking curves show that both the BSMC algorithm and the PID algorithm achieved good control performance, but the two algorithms exhibit significant differences for different test conditions. When the test conditions are stable and the reference is smooth, as shown in
Figure 14, both the PID and BSMC tracking results are satisfactory and show no significant performance differences. However, when the reference signal is a ramp excitation, as shown in
Figure 15, the BSMC algorithm outperforms the PID algorithm in terms of tracking speed and accuracy. This result is attributed to the ability of the BSMC algorithm to more accurately and quickly observe and compensate for errors and uncertainties through the ESO, with the advantage of fast adjustment of the observed state of the ESO. In addition, the BSMC controller achieves stability faster and the error converges to 0, which has a clear advantage over PID. Compared to
Figure 14 and
Figure 17, the accuracy of either the BSMC or PID control decreases when the gas pressure becomes smaller in the experiment. The decrease in gas pressure results in a reduction of the drive force applied to the cylinder, thereby amplifying the impact of cylinder friction and overall system nonlinearity. Consequently, controlling the position of the pneumatic system at low speeds and low pressures becomes a crucial and challenging task.
As mentioned above, the RMSE values of the two algorithms under the four cases are calculated as shown in
Table 6. Compared to the PID, the average RMSE of the BSMC is reduced by 77.04% ((6.7 − 1.54)/6.7), with smaller RMSE values indicating higher control accuracy. This result strongly supports the analysis presented and demonstrates the effectiveness of the BSMC algorithm in achieving higher control accuracy and robustness.