1. Introduction
Robotic manipulators are fundamental components of industrial automation and play a critical role in tasks that require precision, repeatability, and flexibility. However, the precise control of these systems remains a complex challenge and of interest to researchers, especially when faced with model uncertainties, external disturbances, and dynamic motions [
1]. Several control strategies have been developed to control a robotic manipulator [
2,
3].
There are controllers as in [
4], which employ improved classical techniques such as adaptive PID that do not depend on the model and are robust to load variations. However, nonlinear controllers, such as sliding-mode controllers (SMCs), efficiently improve the tracking of the robotic manipulator [
5]. The proposal of [
6] focuses on the improvement of chattering by using three SMCs with the sign function, saturation, and hyperbolic tangent function—the SMC with saturation had the best results. In [
7], an SMC + PD is implemented with an algorithm that does not require knowledge of the robot model, so the SMC is induced to consider the robot dynamics as an uncertainty and avoid using the model. It is worth noting the superiority in the efficiency of SMCs over classical controllers such as PDs, whose steady-state error is notoriously higher compared to an SMC-type controller [
8]. SMCs have also been combined with fuzzy techniques to improve controller performance [
9]. One of the challenges of SMCs is implementing techniques to mitigate the chattering effect through controller stability analysis using Lyapunov theory [
10] and other SMC controls with backstepping [
11]. In the work presented in [
12], it is observed that the determination of an unsteady sliding surface improves the implemented control law for the sliding-mode controller; however, the control is applied to the robot joints and not to the trajectory generation. In [
13,
14,
15,
16], emphasis is placed on the implementation of a robust controller based on the sliding mode for the trajectory-tracking of a robotic manipulator; however, these works do not present a robustness analysis of the variation present in the model.
The main contributions of this work are that the controller works on the end-effector error and not on the joints, allowing us to take advantage of the redundancy of the manipulator. Another contribution corresponds to the design of an SMC that is based on the robot model, thus obtaining a controller robust to model variations, unlike other works where the perturbations are considered in the references or at the output and not with regard to the model. Also, in the design, the discontinuous component has been considered as a variant of the sigmoid to improve the chattering of the system. Another proposal of this work is the comparison through the development and evaluation of four control strategies for the trajectory-tracking of a SCARA-type robotic manipulator: (i) a proportional-derivative (PD) controller; (ii) a PD controller with friction compensation (PD + G); (iii) an inverse-dynamics controller; and (iv) a sliding-mode controller with a dynamic model (SMCD). This includes the formulation of the cinematic and dynamic model of the manipulator robot and the design of the SMCD, which includes an optimized sliding surface and a control law based on Lyapunov’s theory, ensuring superior robustness to system perturbations. The validation of the proposed approach is performed by a simulation of the robotic manipulator, including trajectory algorithms, and the implementation of several test scenarios that allow for a comprehensive evaluation of the position error. The use of the Integral Squared Error (ISE) and Integral of Time-weighted Squared Error (ITSE) indexes allows for measuring the performance of the controllers, providing a quantitative comparison.
This paper is organized as follows:
Section 2 presents the modeling of the SCARA-type manipulator robot;
Section 3 describes the four implemented controllers;
Section 4 outlines the simulation level tests of the controllers and the results of the system under perturbations; and finally,
Section 5 provides the conclusions obtained from the results of the development and evaluation of the controllers.
2. Modeling
The manipulator robot used in this work is of an industrial type and corresponds to a SCARA-type structure (model BOSCH SR-800 of German origin), which has two degrees of freedom. The implementation of the four control strategies requires knowledge of its kinematic and dynamic models, which are described below.
2.1. Kinematic Model of the Manipulator Robot
The kinematic model of the two-degree-of-freedom SCARA manipulator shown in
Figure 1 relates the position of the operating end in the
plane to the variables of the two joints
. (
x,
y) is the referential plane of the end-effector position, and
, and
, are the angular positions of joint 1 and 2, respectively. The robot parameters are the length of the first link,
, and the length of the second link,
, [
17]. The kinematic model of the robot is defined by
The inverse kinematics of the robot can be obtained by means of geometric analysis:
From the derivation of (1), the kinematic model can be represented as
is the derivative of the error in
and
, respectively;
is the derivative of the angular error of joint 1 and 2; and
is the Jacobian matrix, which is given by
2.2. Robot Dynamic Model
The dynamic model for the SCARA robotic arm with two degrees of freedom is defined as
τ is the vector of torques of joints 1 and 2, respectively;
is the inertia matrix of the manipulator robot;
is the matrix representing the centrifugal and Coriolis forces; and
is the vector representing the effects of viscous friction. The dynamic parameters of the Bosh SR-800 manipulator robot are obtained from [
17].
3. Controllers
Four control strategies for trajectory-tracking the SCARA-type manipulator robot are presented: (i) a proportional-derivative (PD) controller, (ii) a PD controller with friction compensation (PD + G), (iii) an inverse-dynamics controller, and (iv) a sliding-mode controller with a dynamic model (SMCD).
3.1. Dynamic Sliding Mode Controller (SMCD)
The controller in sliding mode with a dynamic model allows us to improve the performance of the system. Since it considers the dynamics of the manipulator, it will allow us to reduce the position error in the steady state, which means
as time tends to infinity
. The sliding-mode control structure with a dynamic model (SMCD) is defined as the following:
where
describes the SMCD control action;
represents the continuous part; and
represents the discontinuous part of the control action.
Figure 2 shows the SMCD controller scheme, where
represents the robot’s desired trajectory and
represents the trajectory described by the robot.
The sliding surface is defined by
where
is the end-effector position error;
represents the desired end-effector positions;
is the current position of the robot end effector;
,
, and
are the coefficients of the proportional, integral, and derivative parts of the sliding surface, respectively.
is the error of the end-effector velocity;
is the desired velocity of the end effector;
is the acceleration error;
is the desired end-effector acceleration; and
is the acceleration of the robot end-effector. Deriving (11) and substituting
, we obtain (12):
Substituting (6) in (12), we obtain the following expression:
To determine
, we assume
and set
, obtaining (14):
For
, the Lyapunov candidate function is defined as
. Deriving
with respect to time,
is obtained. Substituting (12) and in a closed loop,
, and replacing (14), we obtain the following:
To ensure that
,
is defined as
where
and
represent a positive scalar;
is a sign function. We substitute (16) in (15).
This guarantees that
therefore,
as
. Deriving (11) and setting it equal to zero, we obtain the following:
The roots of the second-order system can be defined as . In this second-order system, to have different real roots, it must be satisfied that ; then, with .
3.2. Inverse-Dynamics Controller
The control law used to implement the model is taken from [
18], and is defined as follows:
where
is the end-effector velocity error;
is the desired end-effector speed;
is the manipulator robot end-effector speed;
is the end-effector position error; and
represent the velocity and position gain matrices, respectively.
3.3. Controller PD + G
For the PD + G controller, the following control law given in [
19] is used, described by
3.4. Controller PD
For the PD controller, we use the control law given in [
19], which is defined as follows:
4. Results
In order to compare the four controllers, the tests of all the controllers consist of the manipulator robot tracking a trajectory of a five-petal flower. The parameters of the desired trajectory are as follows: and , where and . The parameters of the proportional and derivative actions of the PD controller are and and those of the PD + G controller are and . The parameters of the proposed SMCD are , , . To analyze the behavior of the controllers, it is proposed to develop two experiments. A time of is considered the simulation duration of Experiment 1, and is the simulation duration of Experiment 2. In Experiment 1, the desired trajectory is implemented without any disturbance. In Experiment 2, the desired trajectory is considered with disturbance at time . For both experiments, two error-tracking indices are evaluated: ISE and ITSE. The simulation platform used in this work is Matlab version R2022B.
4.1. Experiment 1
Using the dynamic model from (6), each of the four controllers was implemented.
Figure 3 shows the trajectory-tracking performance achieved by each controller. The results show that the trajectory-tracking signals described by the PD controller exhibit the highest error, while the SMCD achieves the most precise trajectory-tracking.
Figure 4 shows the position errors for each controller. From the results obtained, the SMCD performs better than the others, since it has a lower amplitude and the error is visually negligible compared to the PD, PD + G, and inverse-dynamics controllers.
Table 1 shows the error-based performance indices (ISE and ITSE) for the four controllers. From the results shown, it is observed that the values obtained for the SMCD have the lowest indices, so it is verified that it is the best controller in terms of trajectory-tracking without disturbance. On the other hand, the PD controller is the least accurate due to its high error rates.
4.2. Experiment 2
For the robustness analysis, a perturbation is incorporated into the matrix
obtained in (7); this disturbance factor is referred to as
. For the analysis with perturbation, each controller has a different perturbation factor,
. However, the disturbance in all controllers is considered to occur at the time instant of
.
Figure 5 displays the trajectories obtained by incorporating the maximum allowed disturbance magnitude for each controller without compromising their execution capability. The results indicate that the SMCD exhibits superior performance in trajectory-tracking under disturbance conditions. In contrast, the other controllers—PD, PD + G, and inverse dynamics—experience significant destabilization due to the disturbance, and they deviate notably from the desired trajectory.
Finally,
Figure 6 presents the position error values obtained by introducing the disturbance into the system. An analysis of the different results reveals that the error magnitude increases at the moment of disturbance occurs; despite the control actions of the different controllers, they fail to minimize the position error. The ability of each controller to handle the maximum disturbance without losing control and becoming unstable was evaluated. As a result, we found that the PD controller can tolerate a disturbance of
, the PD + G controller can tolerate
; the inverse-dynamics controller can tolerate
, and the SMCD can tolerate
, making the SMCD the most robust against disturbances.
5. Conclusions
The SMCD demonstrated significant superiority in trajectory-tracking the robotic manipulator, outperforming the other evaluated controllers both under normal conditions and with disturbances. This controller exhibited the lowest error indices (ISE and ITSE) and maintained good accuracy, even in the presence of external disturbances, highlighting its robustness and effectiveness for applications in dynamic environments. In contrast, the inverse-dynamics controller showed good performance under normal conditions but displayed notable limitations in handling disturbances, suggesting that it may not be suitable for robotic systems that require high precision and operate in dynamic environments. Meanwhile, the PD and PD + G controllers experienced considerable increases in position error when faced with disturbances, resulting in inferior performance compared to the SMCD. These results underscore the importance of considering robustness and disturbance-recovery capability in the controller design of robotic systems intended to operate in non-ideal environments.
Author Contributions
This work presents the development and evaluation of PD, PD + G, inverse-dynamics, and sliding-mode control strategies for trajectory-tracking in a robotic manipulator. For the development, the contribution was as follows: Conceptualization: G.M.A. and P.L.; Investigation and Methodology: G.M.A. and P.L.; Software and Validation: D.R., N.M., Y.C. and M.P.; Writing—original draft preparation: D.R., N.M., Y.C. and M.P.; Writing—review and editing: G.M.A. and P.L.; Supervision: P.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Data are contained within the article.
Acknowledgments
The authors would like to thank the GIECAR group and ARCI for the technical support for the work carried out. Also, the ESPE-LA and Escuela Politécnica Nacional that through the PIEX-DACI-ESPE-24 project, Autonomous control of Aerial Manipulator Robots, and PIS-23-09 have provided research hours for the development of the project.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Nuhel, A.K.; Sazid, M.M.; Bhuiyan, N.M.; Arif, A.I. Designing and Performance-Analysis of a 3 DOF Robotic Manipulator Arm and its Higher Order Integration of 7 DOF Robotic Arm. In Proceedings of the 2022 4th International Conference on Sustainable Technologies for Industry 4.0 (STI), Dhaka, Bangladesh, 17–18 December 2024. [Google Scholar] [CrossRef]
- Khan, G.D. Adaptive Neural Network Control Framework for Industrial Robot Manipulators. IEEE Access 2024, 12, 63477–63483. [Google Scholar] [CrossRef]
- Dai, L.; Yu, Y.; Zhai, D.-H.; Huang, T.; Xia, Y. Robust Model Predictive Tracking Control for Robot Manipulators with Disturbances. IEEE Trans. Ind. Electron. 2021, 68, 4288–4297. [Google Scholar] [CrossRef]
- Lee, J.; Chang, P.H.; Yu, B.; Jin, M. An Adaptive PID Control for Robot Manipulators Under Substantial Payload Variations. IEEE Access 2020, 8, 162261–162270. [Google Scholar] [CrossRef]
- Truong, T.N.; Vo, A.T.; Kang, H.-J. A Backstepping Global Fast Terminal Sliding Mode Control for Trajectory Tracking Control of Industrial Robotic Manipulators. IEEE Access 2021, 9, 31921–31931. [Google Scholar] [CrossRef]
- Animesh, A.; Ohri, J. Trajectory Tracking in a 3-DOF Robotic Manipulator using Sliding Mode Controller. In Proceedings of the 2020 First IEEE International Conference on Measurement, Instrumentation, Control and Automation (ICMICA), Kurukshetra, India, 24–26 June 2020. [Google Scholar] [CrossRef]
- Ouyang, P.; Acob, J.; Pano, V. PD with sliding mode control for trajectory tracking of robotic system. Robot. Comput. Manuf. 2014, 30, 189–200. [Google Scholar] [CrossRef]
- Ashagrie, A.; Salau, A.O.; Weldcherkos, T. Modeling and control of a 3-DOF articulated robotic manipulator using self-tuning fuzzy sliding mode controller. Cogent Eng. 2021, 8, 1950105. [Google Scholar] [CrossRef]
- Obando, C.; Chávez, D.; Leica, P.; Camacho, O. Sliding Mode Controller Based on a Hybrid Surface for Tracking Improvement of Non-Linear Processes. IFAC-Pap. 2020, 53, 11747–11752. [Google Scholar] [CrossRef]
- Zhao, R.; Yang, J.; Li, X.; Mo, H. Adaptive Variable Universe Fuzzy Sliding-Mode Control for Robot Manipulators with Model Uncertainty. IEEE J. Radio Freq. Identif. 2024, 8, 658–664. [Google Scholar] [CrossRef]
- Li, Z.; Zhai, J. Event-Triggered Based Sliding Mode Asymptotic Tracking Control of Robotic Manipulators. IEEE Trans. Circuits Syst. II: Express Briefs 2023, 71, 1266–1270. [Google Scholar] [CrossRef]
- Ma, Z.; Sun, G. Dual terminal sliding mode control design for rigid robotic manipulator. J. Frankl. Inst. 2018, 355, 9127–9148. [Google Scholar] [CrossRef]
- Azeez, M.I.; Abdelhaleem, A.M.M.; Elnaggar, S.; Moustafa, K.A.F.; Atia, K.R. Optimized sliding mode controller for trajectory tracking of flexible joints three-link manipulator with noise in input and output. Sci. Rep. 2023, 13, 12518. [Google Scholar] [CrossRef] [PubMed]
- Naik, P.R.; Samantaray, J.; Roy, B.K.; Pattanayak, S.K. 2-DOF robot manipulator control using fuzzy PD control with SimMechanics and sliding mode control: A comparative study. In Proceedings of the 2015 International Conference on Energy, Power and Environment: Towards Sustainable Growth (ICEPE), Shillong, India, 12–13 June 2015; pp. 1–6. [Google Scholar] [CrossRef]
- Vijay, M.; Jena, D. Optimal GA based SMC with adaptive PID sliding surface for robot manipulator. In Proceedings of the 2014 9th International Conference on Industrial and Information Systems (ICIIS), Gwalior, India, 15–17 December 2014; pp. 1–6. [Google Scholar] [CrossRef]
- Azeez, M.I.; Elnaggar, S.; Abdelhaleem, A.M.M.; Moustafa, K.A.F.; Atia, K.R. Enhancing robustness and noise rejection in flexible joint manipulators: An optimized sliding mode controller with enhanced gray wolf optimization for trajectory tracking. J. Braz. Soc. Mech. Sci. Eng. 2023, 45, 4–7. [Google Scholar] [CrossRef]
- Roberti, F.; Soria, C.; Slawinski, E.; Mut, V.; Carelli, R. Open Software Structure for Controlling Industrial Robot Manipulators. In Robot Manipulators Trends and Development; INTECH Open Access Publisher: Rijeka, Croatia, 2010; pp. 497–520. [Google Scholar] [CrossRef]
- Orozco-Soto, S. Fuzzy PD+G Type 2 Interval Fuzzy PD+G Control for Position Control of Robot Manipulators. Technol. Mag. 2015, 2, 899–909. [Google Scholar]
- Lozano, R.; Valera, A.; Albertos, P.; Arimoto, S.; Nakayama, T. PD control of robot manipulators with joint flexibility, actuators dynamics and friction. Automatica 1999, 35, 1697–1700. [Google Scholar] [CrossRef]
| 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. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).