Processes 10 02699
Processes 10 02699
processes
Article
Tecnólógico Nacional de México, IT de Chihuahua, Ave. Tecnólógico #2909, Chihuahua 31310, Mexico *
Correspondence: [email protected]
Abstract: The control of robotic manipulators has become increasingly difficult over recent years
due to their high accuracy, performance, speed, and reliability in a variety of applications, such as
industry, medicine, research, etc. These serial manipulator systems are extremely complex
because their dynamic models include perturbations, parametric variations, coupled nonlinear
dynamics, and non-modular dynamics, all of which require robust control for trajectory tracking.
This paper compares two control techniques: computational torque control (CTC) and sliding
mode control (SMC). In this study, the latter was used for a physical robotic arm with six degrees
of freedom (DOF) and online experiments were conducted, which has received little attention in
the literature. As a result, the contribution of this work was based on the real-time application of
this controller via a self-developing interface. The great resilience of sliding mode controllers to
disturbances was also demonstrated in this study.
are a well-known drawback of SMC systems. By doing this, the SMC only deals with the
nonmodeled dynamics and the estimation errors of the parameters [10–12].
In the field of robotics, the known part of an ECM is the dynamic model of a robotic arm
[13]. These dynamic models are complex due to the coupling of the chain of masses and
inertia and the large number of terms that appear for arms with more than three DOFs [14].
For this reason, in the literature, various authors have combined different control techniques
and computer algorithms to estimate the known part of the ECM. In [15], Bailey and
Arapostathis used a classical SMC surface with the known part of the ECM in a 2DOF
manipulator. Kumar and Prasad [16–18] compared the use of CTC and SMC to the known
part of the ECM, which shows the advantage of using SMC over the ECM in a 3DOF
manipulator. The paper [19] proposed a novel sliding mode control (NSMC) that was based
on an extended gray wolf optimizer (EGWO). The NSMC employed a PD surface with an
exponential term that was combined with the ECM in a 2DOF manipulator and surface gains
were selected using the EGWO. However, as in CTC, it is necessary to know the dynamic
model in the ECM. In [20], Thuan et al. combined intelligent control with second-order sliding
mode control (SOSMC). A radial basis function network (RBFN) calculates the dynamic model
and nonmodeled dynamics of a 4DOF dual arm (DAM)
(2DOF in each arm). Furthermore, Thuan et al. in [21] used model reference adaptive
control (MRAC) instead of RBFN with SOSMC for the same DAM. An optimal sliding
mode control approach, which was used in [22], combines optimal control with SMC for
optimal robustness properties. In this approach, an observer of the disturbance was in
charge of the adaptive part of the control and applied this control to the 2DOF planar manipulator.
There are two main problems with the techniques that were presented in [9–14].
One is that SMC is a simple control law that depends only on the selection of a gain and a
surface, which, in turn, depends on the state of the system [23]. The use of this technique
makes the control law and its application more difficult. Second, they only simulate the control
strategy. For implementation, ref. [24] proposed an SMC with a sliding perturbation observer
(SPO). The SPO estimates the reaction force of a 6DOF DAM (3DOFs in each arm). Jeong
et al. [25] applied a super-twisting algorithm (STA) with an adaptive law to an industrial 4DOF
robot using only 2DOF and an XY planar manipulator.
Paper [26] presented an adaptive sliding mode neural network control (ASMNN). This
control approach couples the SMC with a radial basis function neural network (RBFNN),
which was implemented in a three-link robot manipulator (3DOF). Similarly, ref. [27] used
the same control strategy for the same manipulator, taking into account the dead zone.
Control techniques for other types of system can also be found in the literature. In
[28], an NN in combination with a fractional order SMC was used to control an active
power filter. The NN was in charge of the estimation of the uncertainties and nonlinearities,
while the fractional order SMC improved the precision and performance of the control.
The controller was implemented in real time and produced excellent results.
Ref. [29] combined a pole placement control, time delay estimation (TDE), and
adaptive sliding mode control. The authors implemented the controller with a 6DOF
Mitsubishi robot that used only 2DOF. To increase robustness in the reaching phase of
the SMC, article [30] proposed an adaptive integral sliding mode control (AISMC) with a
TDE, which was implemented with 3DOF of a 6DOF PUMA robot. The articles [15–20]
only implement controllers with a few DOFs of the manipulator. Hee et al. in [31]
implement a PID controller for the gravitational term of a physical 7DOF DAM. An SPO
was used to estimate the evaluation force of the manipulator. However, as mentioned
above, the PID controller could not be used for trajectory tracking.
The literature has proposed a variety of control techniques. Most of them involve the
simulation of the controllers. For the implemented controllers, the majority used fewer DOFs
than were available in the corresponding system. One example was an implementation of a
7DOF controller, but only for set-point tracking. Another point to address is the gain selection
of the sliding-mode control. For a robot driven by DC motors, the limit gain is the maximum
voltage in the power converter. When the controller needs
Machine Translated by Google
more energy, the robot cannot reach or stay on the surface. The main focus of this paper
was to find the voltage (SMC gain) that is needed for trajectory tracking. The novelty of
this paper is the procedure that was used to validate the SMC gain in an n-DOF
manipulator driven by DC motors. To the authors' knowledge, there has not yet been a
discussion regarding the verification of the above.
In [32], a suggested strategy was compared to achieve finite-time convergence,
flicker- free control input, superior tracking performance, and resilience of the robotic manipulator.
The difficulty of this type of method is implementation in real time, as in this project, since
the programming of fractional control algorithms is quite complex to carry out in an
embedded way. In [33], an unmanned aerial vehicle (UAV) system with 6 degrees of
freedom (6DOF) and external disturbances that corresponded to sensor failure was
discussed. This form of pure SMC controller is still employed in robotics, and we utilize it
in this paper to control the manipulator robot in a robust trajectory, following our proposed
work. Using Lyapunov's theory, see Ref. [34] shown that a well-designed control could
ensure that transnational and rotational tracking errors converge at the origin in a finite
amount of time. However, only numerical simulations were carried out to demonstrate
that the developed control scheme had a high level of robustness and a quick
convergence time and demonstrated elimination of entry saturation and suppression of
chattering. In this study, we propose the use of real-time control through an SMC.
In this paper, a classical SMC deals with the nonmodeled dynamics for the error
estimation of the parameters and perturbations of a 6DOF manipulator that was driven
by DC motors. The dynamical model was not applied to the control law (the known part
of the ECM), which made the control law of the SMC simpler. When the numerical
simulations were compared to those of CTC and SMC, SMC showed better robustness
with easy implementation. The SMC experiments were performed using self-developed
hardware that sent and received data between MATLAB and the robot. SMC gain was
validated using Lyapunov stability analysis and actuator dynamics.
The paper is organized as follows. The mathematical model of the actuator manip-
ulator is presented in Section 2. Section 3 deals with the CTC and the SMC. Numerical
simulations of the CTC and SMC are presented in Section 4. Section 5 details the experi-
mental results of the obtained SMC gain. Finally, Section 6 discusses the conclusions
and areas for further development.
The inertia, Coriolis, and centrifugal matrices and the gravity vector are given by D(q), C(q,
ÿq), and g, respectively, and u(t) are the control inputs of the system. By representing (1) as a
separation of equations for each DOF, it yields the following.
n n
ÿ ÿ cijk(q)qÿ
dkj(q)q¨ iqÿ
+ j + gk (q) = uk (2)
j=1 i,j
the model in voltage terms by combining the dynamical models of the manipulator and
the actuators. The linear model of a DC motor was given by:
where the inductance La, electrical resistance Ra, and electrical constant Ke are the electrical
parameters and the rotor inertia J, viscous friction B, and mechanical constant Kt are the mechanical
parameters. The current and voltage are va = va(t) and ia = ia(t), the motor shaft angular displacement
is ÿ = ÿ(t) , n is the transmission ratio, and ÿ = ÿ(t) is the toque load, which is also known as the
disturbance.
When we coupled Equations (1) and (3), there were three state variables (angular
position, angular velocity, and current). In the literature, we found that Equation (3)
could be reduced to one state variable. To achieve this, we compared the magnitude of
the electrical time constant (ETC) with the mechanical time constant (MTC) by defining these
constants as:
La
ETC = Go out
MTC = J
B
For the manipulator used in this article, the MTC was 168 times higher than the ETC in the arm
motor and 40 times higher in the wrist motors. Dividing Equation (3) by Ra, ie, La/Ra = 0, and writing
Equation (3) according to its components yield:
KekKtk Ktk
Jk ¨ÿk + (B + ) ÿÿk = vak ÿ nkÿk (4)
Rak Rak
B Ktk
Jk ¨ÿk + ÿÿk = vak ÿ ÿk (5)
nk nk Raknk
where ÿk is the angular displacement that the motor saw. When we wanted to combine (5) and (2), ÿk was necessary in
qk
terms of the manipulator. By substituting ÿk = into Equation (5), it yields: nk
B Ktk
Jk q¨k + qÿk = vak ÿ ÿk (6)
2 2 Raknk
nk nk
When comparing Equation (2) with (6), the control input of (2) is the load torque of (6). By
combining these equations, we obtain a model for the manipulator that was driven by a DC motor,
which was presented as follows:
n n B
Jk Ktk
ÿ ÿ cijk(q)qÿ
dkj(q)q¨ +iqÿ j + q¨k + qÿk + gk (q) = vak
2 2 Raknk
nk j=1 i,j nk
or as matrices:
(D(q) + J)¨q + C(q, ÿq)ÿq + B ÿq + g(q) = u (7)
where
Kk
uk = vak (8)
Raknk
Machine Translated by Google
As in the analysis that was performed in [1], we could calculate the voltage input that
was needed for the control.
CTC is a feedback linearization technique that uses the dynamic model of a manipula-
tor in the control law. To achieve this, we write Equation (7) as follows:
where
M(q) = (D(q) + J)
h(q, qÿ) = C(q, ÿq)ÿq + B ÿq + g(q)
As M(q) was full-rank and square, its inverse also exists. Thus, we selected a control
law as follows:
u = M(q)v + h(q, qÿ) (10)
where
v = ÿÿq ÿ ÿqÿ + r(t) (11)
where ÿ and ÿ are diagonal matrices and r(t) is the trajectory of each DOF, which was defined as:
Equation (11) contains the position (qd (t)), velocity (qÿ d (t)), and acceleration (q¨ d
(t)) of the trajectory that was proposed. Substituting Equation (11) into (10) yields the following:
Equation (14) shows a homogeneous second-order linear differential equation. An- other
property demonstrated by Equation (14) was that the set of equations did not lump together. In this
sense, we could treat each differential equation separately. With this in mind, we added a disturbance
to Equation (9) and, using the same control law as (10), we obtained the following:
xÿ1(t) = x2(t)
(16)
xÿ2(t) = ÿÿ11x2(t) ÿ ÿ11x1(t) + f1(t)
12 12x
V = ÿ11x 1 2 (t) + 22 (t) (17)
Vÿ = ÿV ÿV x1(t)
ÿx1 ÿx2
(18)
x2(t)
Machine Translated by Google
2
Vÿ = ÿÿ11x 2 (t) + x2 f1(t) (19)
The function presented in Equation (19) was not definitely negative because we could not
use a static negative sign in the term x2 f1(t). When we did not take the disturbance into account,
Equation (19) became:
2
Vÿ = ÿÿ11x2(t) (20)
The above derivative was always negative, but only in the state x2(t). To prove total stability,
we use La Salle's theorem with Vÿ = 0:
2
0 = ÿÿ11x 2 (t) (21)
This meant that x2(t) = 0. Thus, its derivative is also equaled zero: xÿ2(t) = 0. Substitut-
ing x2(t) and xÿ2(t) into the state-space Equation (16) yields the following result:
xÿ1(t) =
(22)
0 0 = ÿÿ11x1(t)
where x1(t) = 0. In this manner, we show that both states become zero when following the
desired trajectory with no disturbances in the system.
Numerical simulations are addressed in Section 4, which describes the control with and without
disturbances.
3.2. SMC
We have seen that CTC reduced the dynamic model of the manipulator to a set of
homogeneous second-order differential equations that were not lumped. However, to
achieve this, the robot parameters need to be fully known. Sometimes the parameters
are not available or the system has disturbances in one or various DOFs, which affects
the performance of CTC in trajectory tracking.
To deal with the problems mentioned above, SMC is a highly robust control that has been achieved
discussed in the literature. To apply this control scheme, we select a surface as follows:
where vector s contains all of the sliding surfaces in each DOF and c is a diagonal matrix with the
constant ck .
Using the following Lyapunov candidate function:
1 T
V = ss 2 (24)
Vÿ = sT ÿs (26)
Vÿ = sT ÿs
T ÿ1
=s [¨qd (t) ÿ M(q) (u ÿ h(q, ÿq) + f(t)) + c ÿe(t)] (27)
Machine Translated by Google
Applying the control u = ÿosign(s), where ÿo is a diagonal matrix of gains ÿok, and
substituting the control into (27) produced:
Vÿ = sT ÿs
ÿ1
T=s [¨qd (t) + c ÿe(t) + M(q) (h(q, ÿq) + f(t))]
ÿ1
ÿ s TM(q) sign(s) (28)
hence:
T T
abs(s ) = s sign(s) (29)
with:
T T
abs(s ) = [|s1||s2| . . . |sn|] (30)
and:
abs(f(t)) < L (31)
Equation (29) states that each fi(t) had an upper bound constant of Li . By combining
Equations (29)–(31) into (28), we obtain the following inequality:
T ÿ1
Vÿ ÿ abs(s )[abs(¨qd (t) + c ÿe(t) + M(q) (h(q, ÿq) + L)
ÿ1
ÿ M(q) ÿ0] < 0 (32)
Equation (32) was definitely negative when the following was always true:
In other words, when all the gains along the diagonal of the matrix ÿ0 fulfilled the inequality, the system
reached the surface and stayed there for the entire period of time t. As with CTC, the simulations are addressed in
Section 4 to validate the robustness of the SMC.
The parameters and a diagram of the manipulator are shown in Table 2 and Figure 1,
respectively. The procedure that was used to obtain the dynamic model of the manipulator
can be seen in [14].
Machine Translated by Google
l3 l4 l6
a2 l7
a1
l1
a1 = 6 cm l3 = 23 cm a1 = 6 cm
ac1 = 3.036 cm lc3 = 10.513 cm ac1 = 3.036 cm
m1 = 0.11 kg m2 = 0.2125 kg ms = 0.5574 kg
Izz1 = 2.6 × 10ÿ6 kgm2 Ixx2 = 9.2 × 10ÿ4 kgm2 Ixxs = 2.922 × 10ÿ6 kgm2
Iyy2 = 2.0515 × 10ÿ3 kgm2 Iyys = 2.922 × 10ÿ6 kgm2
Izz2 = 2.9224 × 10ÿ3 kgm2 Izzs = 5.615 × 10ÿ6 kgm2
l4 = 24 cm
lc4 = 4.310 cm
m3 = 0.215 kg
Ixx3 = 1.9229 × 10ÿ5 kgm2
1 Iyy3 = 2.1720 × 10ÿ4 kgm2
Izz3 = 2.3177 × 10ÿ4 kgm2
Fourth Articulation Fifth Articulation Sixth Articulation
a2 = 10 cm l6 = 4 cm l7 = 10 cm
ac2 = 5 cm lc6 = 2 cm lc7 = 5 cm
m4 = 0.0803 kg m5 = 0.1412 kg m5 = 0.0712 kg
Ixx4 = 4.7373 × 10ÿ5 kgm2 Ixx5 = 2.6153 × 10ÿ5 kgm2 Ixx6 = 7.3043 × 10ÿ5 kgm2
Iyy4 = 1.8376 × 10ÿ5 kgm2 Iyy5 = 3.9774 × 10ÿ5 kgm2 Iyy6 = 7.4434 × 10ÿ5 kgm2
Izz4 = 4.7373 × 10ÿ5 kgm2 Izz5 = 4.1205 × 10ÿ5 kgm2 Izz6 = 6.86 × 10ÿ6 kgm2
For trajectory tracking, a Linear Segment Parabola Blending (LSPB) was used. This
function was defined as follows:
ÿ a2t
q0 + 2 0 < t ÿ tb
q f +q0+vtf
qd =
ÿÿÿ
+ vt tb < t ÿ tf ÿ tb (34)
2 at2 t
f a t2
ÿÿÿ qfÿ 2 + atf t ÿ 2 tf ÿ tb < t ÿ tf
where qd is the trajectory LSPB, q0 and q f are the initial and final values of the trajectory,
tb and tf are the mixing and final times, and v and a are the velocity and acceleration of
and
the trajectory, respectively. We could compute v and a using the values of q0, q f , tf , 3 tf . The LSPB trajectory with tf
1
tb = = 4, q0 = 0, and q f = ÿ is shown in Figure 2. In both
Machine Translated by Google
the CTC and STM control simulations, a step perturbation and an LSPB trajectory were
used. used. The tf of each DOF was 4 s and the final degree of each DOF was:
ÿ
2
ÿ ÿ ÿ
ÿ
ÿ
3 ÿ
ÿÿ
3
ÿ ÿ
ÿ ÿ
qf = ÿ
4
ÿ ÿ
ÿ ÿ
ÿ
3
ÿ ÿÿ ÿ
6
3
1
2
qd
0.5
1
0
0
0 1 2 3 t(sec) 4 5 0 1 2 3 t(sec) 4 5
Acceleration of LSPB
0.5
0
a
-0.5
-1
Each DOF on the manipulator followed the desired trajectory when there were no
perturbations, as shown in Figure 3, but the robot lost the trajectory when we applied a
perturbation in each DOF. As we shown in Section 3, the Lyapunov function could not
have a definite sign when a perturbation was applied to the CTC, so there was no guarantee
Machine Translated by Google
that stability exists. This can be seen in Figure 4. The SMC and its control are shown in
Figures 5 and 6, respectively.
Figure 6. Simulation of the signal regulation of the SMC with perturbations using numerical methods.
Three different techniques to measure error (ITAE, IAE and ISE) in trajectory tracking
were used to compare the two controllers with perturbations, which can be seen in Figure 7.
First Articulation ITAE First Articulation IAE First Articulation ISE
#10-3
0.25 0.1 3.5
0.2 3
0.08
2.5
0.15
0.06
2
0.1
Error
Error
Error
1.5
0.04
0.05
1
0.02
0 CTC CTC 0.5 CTC
SMC SMC SMC
-0.05 0 0
0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4
t(sec) t(sec) t(sec)
1.2
0.4 0.08
1
0.3 0.06
0.8
Error
Error
Error
0.6
0.2 0.04
0.4
0.1 0.02
0.2 CTC CTC CTC
SMC SMC SMC
0 0 0
0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4
t(sec) t(sec) t(sec)
0.25 0.03
0.6
0.025
0.2
0.02
0.4 0.15
Error
Error
Error
0.015
0.1
0.01
0.2
CTC 0.05 CTC 0.005 CTC
SMC SMC SMC
0 0 0
0 0.5 1 1.5 2 2.5 t(sec) 3 3.5 4 0 0.5 1 1.5 2.5 3 3.5 4 0 0.5 1 1.5 2.5 3 3.5 4
2 t(sec) 2 t(sec)
Figure 7. Cont.
Machine Translated by Google
10 6
3
5
8
4
6 2
Error
Error
Error
3
4
2
1
2 CTC CTC 1 CTC
SMC SMC SMC
0 0 0
0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4
t(sec) t(sec) t(sec)
1.2 0.6
0.15
1 0.5
0.8 0.4
0.1
Error
Error
Error
0.6 0.3
0.4 0.2
0.05
0.2 CTC 0.1 CTC CTC
SMC SMC SMC
0 0 0
0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4
t(sec) t(sec) t(sec)
150 60 1500
100 40 1000
Error
Error
Error
50 20 500
CTC CTC CTC
SMC SMC SMC
0 0 0
0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4 0 0.5 1 1.5 2 2.5 3 3.5 4
t(sec) t(sec) t(sec)
It can be seen in Figure 5 that the manipulator followed the trajectory when we had
Sufficient gain in the SMC control, as demonstrated in Section 3, and that the time derivative
of the Lyapunov function was always negative. However, it can be seen in Figure 6 that
the effect of using a discontinuous controller causes the applied torque to oscillate within
the manipulator.
The comparison between the SMC and CTC with perturbation can be seen in Figure 7.
This comparison demonstrates the robustness of the SMC against perturbations. The
CTC had a visible and high magnitude of error, but the SMC error was not visible. In the
following section, an SMC was applied to a 6DOF manipulator using a self-developed
electronic interface (SDEI) in MATLAB. The advantages and disadvantages of the proposed
control scheme are also discussed.
• SDEI (UART-SPI); 4
• PIC18F26K20; •
FTDI FT232RL (USB-UART).
The control system starts in the computer, which contains the control algorithm within the
MATLAB environment. MATLAB sends the information via a virtual serial port to the FTDI (USB),
then the SDEI sends the information to the SEDI via the UART protocol.
SEDI had four PIC18F26K20s, one of which was the master that received the data from FTDI
and sent them to slaves via SPI. The slaves were in charge of generating the PWM that was
needed for the power system and reading the position sensors of the serial manipulator.
The slaves sent the data positions to the master and, using the same sequence as before, the
data reached MATLAB. MATLAB compute the control law with the information obtained and send
it to the FTDI; then, the process was repeated again. It took 5 milli-seconds for the SDEI to
complete the cycle, which was the sample time of the system. Diagrams of the experimental setup
and the SDEI configuration are shown in Figure 9.
Power Supply
SDEI
Computer FTDI SDEI
Virtual Control
Serial Port UART Signal
System
Power
SDEI
Master
Sensors
Position
Power
Signal
SPI
l3 l4 l6
a2 l7
a1
SPI
l1
Robot Arm
SPI
Slaves
The power system was responsible for supplying the voltage to the SDEI, the H bridge,
1
and the power converters. The elements of the power system are the following: • Power
supply (12 Volts); • Four H-
bridges; • DC–DC
converter (12 Volts ÿ 5 Volts); • DC–DC
converter (12 Volts ÿ 3.3 Volts).
Machine Translated by Google
The DC–DC converters were connected to the power supply of 12 Volts. One of them reduces the voltage to 3.3 V
to power the SDEI. The other reduces the voltage to 5 V to power the 2 H-bridges. The 2 H bridges with 5 V are connected
to wrist motors, while the other 2 H bridges are connected to the power supply (12 V). These H-bridges are in charge of
the power of the arm motors. A diagram of the power system is presented in Figure 10.
DC-DC
DC-DC
5V
3.3V
Power Supply SDEI
12V
bridge
H-
H-bridge Arm Motors
Wrist Motors
Power System
With SDEI, communication was achieved between MATLAB and the manipulator.
The control algorithm (SMC) and its reference, the LSPB trajectory in this case, were programmed in MATLAB. Figure 11
shows the control diagram.
The physical arm only communicates with the position sensor, which meant that we could only measure the position
error, but we needed both the position and velocity errors for the sliding surface. Due to this, a backward Euler method
was used as a differentiator to estimate the velocity error. To accomplish this, we use the following.
where ÿt is the sample time and e(t ÿ ÿt) is the previous error value. As the control was implemented in a digital environment,
the limit of (35) could not reach zero and (35) was approximated in the following way:
In other words, when the sample time was shorter, Equation (36) obtained a better approximation of Equation (35).
We needed to know whether the voltage in each DC motor could follow the desired trajectory. As mentioned above, these
voltages were the sliding mode increases in voltage terms. Using a numerical simulation, we graphed Equation (33) and
the maximum of this graph was the torque required to reach the surface and stay there for the entire period of time. Since
we did not know how much torque was needed, the simulation started with a gain of 5 nm for the arm motors and 1 nm for
the wrist motors. For the physical experiment, each DOF followed an LSPB. The final times of the LSPB were tf = 10 12 9
6 8 7 and the final degrees of the LSPB are qf =
ÿ ÿ ÿ ÿ ÿ
ÿ
3 2 4 3 2 . Figures 12–14 present these results.
Machine Translated by Google
It can be seen in Figure 12 that the manipulator followed the desired trajectory, which meant that the correct
gains were used. To obtain the minimum required gain, we calculated the maximum of each torque (L1 to L6)
using the Lyapunov analysis shown in Figure 14 and converted it into voltage using Equation (8). With these taken
into account, the maximum torques ÿ0, the minimum required voltages V0, and the voltage in each motor Vm are
shown in Table 3.
Table 3. Comparison between the voltage that was needed to follow the trajectory and the voltage of
the electronic interface.
When we compared the voltage in each motor Vm to the minimum required voltage
(sliding-mode gain in voltage terms) V0, V0 < Vm. Therefore, the voltage in each motor was
sufficient to track the LSPB trajectory. In this manner, the verification of the sliding mode
was completed, and a physical application was performed. Figures 15 and 16 show the
results of the physical implementation. As expected, the gain of the SMC was responsible
for all tracking of the trajectories because the dynamic model of the manipulator (the
known part of the ECM) was not in the control law. The result was a high magnitude
discontinuous control law, as shown in Figure 16, which causes each DOF of the robot arm
to vibrate (chatter) (see Figure 15). As can be seen in Figure 15, the physical arm followed
the proposed trajectory of each DOF, as in the simulation. Thus, the voltage in each motor
was sufficient. According to this result, we could validate the sliding mode gain using
the Lyapunov stability analysis. This solves the problem of using iterative methods in the
design of the sliding gain. A verification of this gain before this application has not been obtained
shown before in the literature. In this sense, the gain could be selected without increasing
the gain in the experiments or simulations. The following advantages of the control strategy
proposed in this paper were:
• The desired trajectory was perfectly followed without knowing the parameters of
the manipulator;
• The SMC was a simple control strategy compared to CTC. The CTC had the dynamic
model of the manipulator in its control law, which makes it a complex law due to
the 6DOF of the robot. For the SMC, we only had to know the sign of the surface,
which did not depend on any parameter or perturbation of the manipulator. Print
Machine Translated by Google
this way, the SMC programming was less complicated and performed better in the software
environment; • The gain
validation of the SMC in this paper could be used as a straightfor- ward developed tuning
procedure. As mentioned above, the main drawback of the well-known PID controller is the
tuning process. This makes the SMC a better option in terms of selecting the gains of the
controllers; • There was no need to
obtain the gain of the sliding mode using iterative methods in
simulations or experiments.
However, even though the classic SMC had some great advantages, the following
disadvantages were seen in the controller strategy when it was implemented:
• As mentioned in the literature, the chattering problem was present in the movement of
the manipulator due to the discontinuous law. This can create fatigue in the
actuators and the mechanical parts of the robot;
• A discontinuous law was implemented, which used all the gain in power of the
electronic interface and developed an inefficient use of energy in the control law.
The most significant result of this paper is the gain validation of the SMC for its application
in the experimental results. Furthermore, Lyapunov analysis was used as a simple tuning method
for the gain of the SMC, which was a great advantage for this type of controller. However, the
chattering phenomenon was present in robotic trajectory tracking.
One of the reasons for the chattering in the manipulator is the numerical differentiator. In all of
the simulations, little chattering was present because the velocity was taken directly from the
model. However, in the implementation, the sample time of the SDEI induce numerical errors in
the sliding surface. For better performance and a reduction in chattering, enhanced sliding mode
controllers or hybrid sliding mode controllers need to be used.
Similarly, when the classical SMC was applied with the numerical differentiator used in this paper,
electronic interfaces with lower sample times had to be used. The approach for advanced
differentiators could also reduce the chattering phenomenon.
Author Contributions: Conceptualization, IR-V., AG-R. and REB-A.; methodology, AG-R. and
REB-A.; software, AG-R. and REB-A.; validation, AG-R. and REB-A.; formal analysis, AG-R., AER-
M. and REB-A.; investigation, AG-R., AER-M. and REB-A.; writing—original draft preparation, AG-
R., PRACdlR, IR-V. and REB-A.; writing—review and editing, AG-R., PRACdlR, IR-V. and REB-A.;
supervision, AG-R., PRACdlR, IR-V. and REB-A.; project administration, REB-A.; funding
acquisition, REB-A. All authors have read and agreed to the published version of the manuscript.
Funding: This project was funded by the project thanks to the “Brazo manipulador con morfología
adaptada a una plataforma muivil robotizada tipo industrial.” TENM key: 6050.17-P.
Data Availability Statement: Not applicable.
Machine Translated by Google
Acknowledgments: The Tecnológico Nacional de México campus Instituto Tecnológico de Chi- huahua is
thanked for the economic funding “Brazo manipulador con morfología adaptada a una
plataforma muivil robotizada tipo industrial.” key: 6050.17-P. This work is grateful to CONACYT for
supporting the first author with a scholarship.
Conflicts of Interest: The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
References
1. Spong, M.W.; Vidyasagar, M. Robot Dynamics and Control; John Wiley & Sons: Hoboken, NJ, USA, 2008.
2. Kelly, R. A tuning procedure for stable PID control of robot manipulators. Robotica 1995, 13, 141–148. [CrossRef]
3. Kelly, R.; Davila, V.S.; Perez, JAL Control of Robot Manipulators in Joint Space; Springer Science & Business Media: Berlin,
Germany, 2006.
4. Liu, M. Computed torque scheme based adaptive tracking for robot manipulators. In Proceedings of the 1995 IEEE International
Conference on Robotics and Automation, Nagoya, Japan, May 21–27 1995; Volume 1, pp. 587–590.
5. Llama, M.; Kelly, R.; Santibanez, V. Stable computed-torque control of robot manipulators via fuzzy self-tuning. IEEE Trans. Syst.
Man Cybern. Part B (Cybern.) 2000, 30, 143–150. [CrossRef] [PubMed]
6. Jiang, J.; Cao, S.; Dai, Y. Research on RBF neural network model compensation and adaptive control of robot manipulators. Print
Proceedings of the 2016 Chinese Control and Decision Conference (CCDC), Yinchuan, China, May 28–30 2016; pp. 516–520.
7. Shtessel, Y.; Edwards, C.; Fridman, L.; Levant, A. Sliding Mode Control and Observation; Springer: Berlin/Heidelberg, Germany,
2014; Volume 10.
8. Hu, Q.; Zhang, D.; Wu, Z. Trajectory planning and tracking control for 6-DOF Stanford manipulator based on adaptive sliding
mode multi-stage switching control. Int. J. Robust Nonlinear Control. 2021, 31, 6602–6625. [CrossRef]
9. Utkin, V. Sliding mode control design principles and applications to electric drives. IEEE Trans. Ind. Electrons. 1993, 40, 23–36.
[CrossRef]
10. Haddad, SQG; Akkar, HA Intelligent swarm algorithms for optimizing nonlinear sliding mode controller for robot manipulator.
Int. J. Electr. Comput. Eng. 2021, 11, 3943–3955. [CrossRef]
11. Pérez-San Lázaro, R.; Salgado, I.; Chairez, I. Adaptive sliding-mode controller of a lower limb mobile exoskeleton for activation
rehab. ISA Trans. 2021, 109, 218–228. [CrossRef] [PubMed]
12. Lei, Yl; Wen, G.; Fu, Y.; Li, X.; Hou, B.; Geng, X. Trajectory-following of a 4WID-4WIS vehicle via feedforward–backstepping
sliding mode control. Proc. Inst. Mech. Eng. Part D J. Automob. Eng. 2022, 236, 322–333. [CrossRef]
13. Utkin, V.; Guldner, J.; Shi, J. Sliding Mode Control in Electro-Mechanical Systems; CRC Press: Boca Raton, FL, USA, 2017.
14. González, A.; Baray, R. Desarrollo del modelo dinámico de un brazo articulado de seis grados de libertad con comprobación.
Congr. Int. en Ing. Electronica. Mem. ELECTRO 2020, 42, 130–139.
Machine Translated by Google
15. Bailey, E.; Arapostathis, A. Simple sliding mode control scheme applied to robot manipulators. Int. J. Control. 1987, 45, 1197–1209.
[CrossRef]
16. Chaturvedi, NK; Prasad, L. A comparison of computed torque control and sliding mode control for a three link robot manipulator.
In Proceedings of the 2018 International Conference on Computing, Power and Communication Technologies (GUCON), Greater Noida,
India, 28–29 September 2018; pp. 1019–1024.
17. Chu, X. Two degrees of freedom Cooperative Suspension Control for Maglev Wind Yaw System. IEEE/ASME Trans. Mechatron.
2021. [CrossRef]
18. Gutiérrez-Oribio, D.; Mercado-Uribe, J.A.; Moreno, J.A.; Fridman, L. Robust global stabilization of a class of underactuated mechanical
systems of two degrees of freedom. Int. J. Robust Nonlinear Control. 2021, 31, 3908–3928. [CrossRef]
19. Rahmani, M.; Komijani, H.; Rahman, MH New sliding mode control of 2-DOF robot manipulator based on extended gray wolf
optimizer. Int. J. Control. Autom. Syst. 2020, 18, 1572–1580. [CrossRef]
20. Tuan, LA; Joo, Y.H.; Tien, LQ; Duong, PX Adaptive neural network second-order sliding mode control of dual arm robots. Int.
J. Control. Autom. Syst. 2017, 15, 2883–2891. [CrossRef]
21. Tuan, LA; Joo, Y.H.; Duong, PX; Tien, LQ Parameter estimator integrated-sliding mode control of dual arm robots. Int. J.
Control. Autom. Syst. 2017, 15, 2754–2763. [CrossRef]
22. Chen, KY Robust optimal adaptive sliding mode control with the disturbance observer for a manipulator robot system. Int. J.
Control. Autom. Syst. 2018, 16, 1701–1715. [CrossRef]
23. Utkin, VI Sliding Modes in Control and Optimization; Springer Science & Business Media: Berlin, Germany, 2013.
24. Kallu, K.D.; Jie, W.; Lee, MC Sensorless reaction force estimation of the end effector of a dual-arm robot manipulator using sliding mode
control with a sliding perturbation observer. Int. J. Control. Autom. Syst. 2018, 16, 1367–1378. [CrossRef]
25. Jeong, CS; Kim, J.S.; Han, SI Tracking error constrained super-twisting sliding mode control for robotic systems. Int. J. Control.
Autom. Syst. 2018, 16, 804–814. [CrossRef]
26. Yen, VT; Nan, WY; Van Cuong, P. Robust adaptive sliding mode neural networks control for industrial robot manipulators. Int.
J. Control. Autom. Syst. 2019, 17, 783–792. [CrossRef]
27. Truong, LV; Huang, S.D.; Yen, VT; Van Cuong, P. Adaptive trajectory neural network tracking control for industrial robot manipulators with
deadzone robust compensator. Int. J. Control. Autom. Syst. 2020, 18, 2423–2434. [CrossRef]
28. Fei, J.; Wang, H.; Fang, Y. Novel Neural Network Fractional-Order Sliding-Mode Control With Application to Active Power Filter.
IEEE Trans. Syst. Man, Cybern. Syst. 2021. [CrossRef]
29. Baek, J.; Jin, M.; Han, S. A new adaptive sliding-mode control scheme for application to robot manipulators. IEEE Trans. Ind.
Electrons. 2016, 63, 3628–3637. [CrossRef]
30. Lee, J.; Chang, P.H.; Jin, M. Adaptive integral sliding mode control with time-delay estimation for robot manipulators. IEEE
Trans. Ind. Electrons. 2017, 64, 6796–6804. [CrossRef]
31. Kim, H.H.; Lee, M.C.; Kyung, J.H.; Do, HM Evaluation of Force Estimation Method Based on Sliding Perturbation Observer for
Dual-arm Robot System. Int. J. Control. Autom. Syst. 2021, 19, 1–10. [CrossRef]
32. Dumlu, A. Design of a fractional-order adaptive integral sliding mode controller for the trajectory tracking control of robot manipulators. Proc.
Inst. Mech. Eng. Part I J. Syst. Control. Eng. 2018, 232, 1212–1229. [CrossRef]
33. Mofid, O.; Mobayen, S.; Wong, WK Adaptive terminal sliding mode control for attitude and position tracking control of
quadrotor UAVs in the existence of external disturbance. IEEE Access 2020, 9, 3428–3440. [CrossRef]
34. Liu, K.; Wang, Y.; Ji, H.; Wang, S. Adaptive saturated tracking control for spacecraft proximity operations via integral terminal
sliding mode technique. Int. J. Robust Nonlinear Control. 2021, 31, 9372–9396. [CrossRef]