This paper proposes a smooth second-order sliding mode controller for a class of multi-input multi-output mechanical systems with uncertain parameters and external disturbances. Since the control law is smooth, the chattering effect that can occur with non-smooth controllers is reduced. Lyapunov-based theorems are used to prove global and finite-time convergence of the sliding mode controller. Numerical simulations are presented to illustrate the performance of the proposed controller by applying it first to a variable-length pendulum and then to a two-link robotic manipulator. For the robotic manipulator, a detailed comparison is given of the finite-time convergence and chattering properties of the proposed controller, a super-twisting controller and a super-twisting like controller.
AbstractSection Article Highlights-
A new smooth second-order sliding mode controller is proposed for multivariable systems with uncertain parameters and external disturbances.
-
Global finite-time convergence of the controller is proved using Lyapunov theory.
-
Numerical simulations are used to show the performance of the controller on the variable-length pendulum and two-link robotic manipulator.
1 Introduction
Modern mechanical systems (e.g., manipulators, flexible structures, autonomous aerial vehicles, spacecraft, etc.) require high performance control schemes. These systems usually contain uncertain parameters and are always subject to external disturbances. Thus, control schemes that make systems insensitive to uncertain parameters and external disturbances are highly desirable. Among the existing control methods, sliding mode control (SMC), originally proposed by Utkin [1], has been considered as one of the best methods because of its simplicity and high robustness. SMC has been successfully applied to many types of dynamical systems including discrete-time systems [2, 3], multi-input multi-output (MIMO) systems [4, 5], time-delay systems [6], large-scale and infinite-dimensional systems [7, 8], and stochastic systems [9,10,11].
Using the SMC, a suitable sliding surface is first defined and then a controller based on the signum function is designed to drive the system state to the defined sliding surface (see, e.g., [12, 13]). However, the SMC can produce high-frequency amplitude oscillations (chattering) due to the discontinuous control signal. For mechanical systems, this chattering can cause vibration-induced fatigue. It also decreases the control performance and may cause instability of the control system. Thus, chattering should be avoided or reduced to a low level.
Higher-order sliding mode control (HOSMC) was introduced in [14, 15] in an attempt to reduce the chattering problem while still maintaining the advantages of the conventional SMC. Twisting and super-twisting algorithms are two of the best-known HOSMC methods [16, 17]. In HOSMC, the signum function acts on higher-order time-derivatives of sliding variables, instead of only on the first time-derivative as in conventional SMC controllers. The HOSMC has also been claimed to provide better accuracy with respect to discrete sampling times. Recent detailed discussions and comparisons of HOSMC and conventional SMC have been given by Shtessel et al. [18] and Utkin and colleagues [19,20,21].
A number of different algorithms based on HOSMC have been developed to achieve finite-time stability in a variety of systems. An HOSMC approach for stabilizing nonholonomic perturbed systems has been presented in [22]. The results showed that the trajectory of the system converged in finite time. In [23], an optimal-control based HOSMC approach with finite-time convergence was proposed, and the approach was successfully applied to control electropneumatic actuators. In [24], a HOSMC scheme for uncertain nonlinear systems was proposed. By utilizing an integral sliding surface, robustness of the control scheme was ensured. However, this method has the main disadvantage that it depends on the initial condition of the system which usually cannot be known precisely. A geometric homogeneity based HOSMC was proposed in [25] for a chain of integrator systems. The controller yielded finite-time stability for the control system. A novel geometric homogeneity-based HOSMC was developed in [26] and successfully applied to a MIMO nonlinear system. A chattering-free terminal sliding mode control of an nth-order system was developed in [27]. This controller drives the system state to zero in finite time.
A smooth modified super twisting (MST) sliding mode scheme has been developed from a smooth second-order sliding mode control [28] by [29] by adding linear correction terms to improve the performance of the closed-loop system. The smooth MST was proved to have finite-time convergence by using strong Lyapunov design.
There have been a number of papers discussing applications of HOSMC to mechanical systems. For example, Chutiphon et al. [30] designed an HOSM controller for attitude tracking control of a spacecraft. Mondal and Mahanta [31] developed an adaptive second-order sliding mode controller for robotic manipulators. Guendouzi et al. [32] applied an HOSMC to a small-size autonomous helicopter. Finite-time controllers that guarantee finite-time convergence of the system states to a desired state have also been discussed recently in [33,34,35,36].
There have also been applications of smooth second-order sliding mode control (SOSMC) to a variety of mechanical systems. For example, Shtessel et al. [28] proposed a smooth SOSMC for a target performing evasive maneuvers to escape an interceptor missile and they proved the finite-time convergence of the method using a homogeneity based technique. Wang [37] proposed an adaptive smooth SOSMC and showed its application to missile guidance. Wang proved finite-time convergence of the adaptive smooth SOSMC by using a quadratic Lyapunov function. Yang et al. [38] proposed a fast smooth SOSMC for a class of stochastic systems with colored noise and proved finite-time convergence of the controller for a second-order nonlinear stochastic system by using stochastic Lyapunov techniques.
In this paper, we propose a new smooth SOSMC controller with the finite-time convergence property for multivariable mechanical systems in the presence of uncertain parameters and external disturbances. The controller is a smooth continuous controller with reduced chattering. The control law generalizes a sliding surface developed in [25], which is based on geometric homogeneity. The novelties of our work are as follows:
-
1.
Standard SOSMC methods can include discontinuous first-order time derivatives of the sliding variables which can induce chattering in the controller. Our proposed smooth SOSMC includes continuous first-order time derivatives of the sliding variables and hence chattering is reduced.
-
2.
The proposed multivariable smooth SOSMC algorithms are analyzed by using the Lyapunov-based ideas from Moreno and Osorio [39]. However, our analysis differs from that of Moreno and Osorio because we use a Lyapunov function containing state variables with an unknown fractional power to prove the finite-time stability of the controller.
The paper is organized as follows. In Sect. 2, basic lemmas and theorems are presented and the details of the class of multivariable mechanical systems that we study in this paper are discussed. In Sect. 3, the second-order sliding surface used in this paper is described and the properties of the proposed finite-time smooth SOSMC law are analyzed. A Lypunov-based analysis is given to prove the global stability of the controller and finite-time stability of the system. In Sect. 4, results of numerical simulations are presented showing the finite-time convergence of the proposed controller for a variable-length pendulum [40] and for a two-link robotic manipulator [41]. For the manipulator, a detailed comparison is given of the behavior of the finite-time convergence and chattering properties of the proposed smooth SOSMC and the behavior of a super-twisting (STW) algorithm [16] and a super-twisting like (STL) algorithm [17]. Finally, Sects. 5 and 6 contain discussion and conclusions.
2 Preliminaries
2.1 Lemmas and theorems
Theorem 1
(Lyapunov Theorem) (see, e.g., [42,43,44]). Consider the autonomous system
where \(f:{\mathcal{D}} \subset {\mathfrak{R}}^n \rightarrow {\mathfrak{R}}^n\) is continuous and \(f(0)=0\). The equilibrium point 0 of system (1) is globally stable for all initial points \(x(0) \in {\mathcal{D}}\) if there exists a continuously differentiable function \(V:{\mathcal{D}} \rightarrow {\mathfrak{R}}^n\), called a Lyapunov function, such that
-
(a)
V(x) is positive definite in \({\mathcal{D}}\),
-
(b)
V(x) has a unique minimum at the equilibrium point 0,
-
(c)
\(\dot{V}(x)= \frac{dV(x(t))}{dt}\) is negative semi-definite in \({\mathcal{D}}\).
If, in addition, \(\dot{V}(x)\) is negative definite in \({\mathcal{D}}\), then the equilibrium point 0 is globally asymptotically stable for all initial points \(x(0) \in {\mathcal{D}}\).
Lemma 1
([45]) Consider a positive-definite function V(t), which satisfies the following differential inequality
where \(\delta \) and \(\beta \) are two positive coefficients, and \(\eta \) is a positive number with \(0<\eta <1\). Then, the function V(t) converges to zero in the finite time
Theorem 2
[25] Consider the system
where u is the input of the system given by
and where \(\text{ sgn }(\cdot )\) is the signum function, the polynomial \(\phi (\lambda ) = \lambda ^{n}+a_{n}\lambda ^{n-1}+\ldots +a_{2}\lambda +a_{1}\) is Hurwitz, and \(\rho _{1}, \ldots , \rho _{n}\) satisfy \(\rho _{i-1} = \frac{\rho _{i}\rho _{i+1}}{2\rho _{i+1}-\rho _{i}}\), \(i = 2, \ldots , n\) with \(\rho _{n+1} = 1\) and \(\rho _n = \rho \).
Then, for system (4), there exists a value \(\varepsilon \in (0,1)\) such that for every \( \rho _i \in (1-\varepsilon ,1)\), the origin of system (4) is a globally stable equilibrium in finite time under the input u in (5).
Lemma 2
([46]) For any \(x_i \in {\mathfrak{R}}^n, i=1, 2,\ldots , n\) and \(0 < \eta \le 1\), the following inequalities hold
2.2 Mechanical system description
We consider a class of multivariable mechanical systems given by ([47])
where \({\mathbf{q}} \in {\mathfrak{R}}^n\) is a generalized coordinates vector, \(M({\mathbf{q}}) \in {\mathfrak{R}}^{n \times n}\) is an inertia matrix, \(C({\mathbf{q}},\dot{{\mathbf{q}}}) \in {\mathfrak{R}}^{n \times n}\) is the centrifugal-Coriolis matrix, \(g({\mathbf{q}}) \in {\mathfrak{R}}^n\) is the gravity force, \(D(t,{\mathbf{q}},\dot{{\mathbf{q}}}) \in {\mathfrak{R}}^n\) is a disturbance, and \(\tau \in {{\mathfrak{R}}}^n\) is a control torque. Here, \(D(t,{\mathbf{q}},\dot{{\mathbf{q}}})\) can consist of all kinds of disturbance factors, such as parameter uncertainty, unmodeled dynamics, external disturbance, etc. Denoting \({{\mathbf {v}}} = \dot{{\mathbf{q}}} \in {{\mathfrak{R}}}^n\), the system (7) can be written as
where \({\mathbf {u}} = M^{-1}\varvec{\tau } \in {\mathfrak{R}}^n\), \({\mathbf {d}} = -M^{-1}D(t,{\mathbf{q}},{\mathbf {v}}) \in {\mathfrak{R}}^n\) and \(f = -M^{-1}(C({\mathbf{q}},{\mathbf {v}}){\mathbf {v}}+g({\mathbf{q}})) \in {\mathfrak{R}}^n\) can be seen respectively as the control input, the disturbance and the nonlinearity of system (8).
Assumption 1
([34]) The disturbance vector \({\mathbf {d}}\) in (8) is a bounded continuous function and its first derivative \(\dot{{\mathbf {d}}} = \overline{\varvec{\phi }}\) is bounded. Thus, there exist positive constants \(\bar{{\mathbf {d}}}\) and \(\overline{\varvec{\phi }}\) such that \(\Vert {\mathbf {d}}\Vert \le \bar{{\mathbf {d}}}\) and \(\Vert \varvec{\phi }\Vert \le \overline{\varvec{\phi }}\).
Let the desired position \({\mathbf{q}}_d \in {\mathfrak{R}}^n\) and velocity \({\mathbf {v}}_d \in {\mathfrak{R}}^n\) satisfy the following system
where \({\mathbf {f}}_d \in {\mathfrak{R}}^{n}\) is a continuous function. We will define \({\mathbf{e}} = {\mathbf{q}} - {\mathbf{q}}_d \in {\mathfrak{R}}^n\) and \(\varvec{\varepsilon } = {\mathbf {v}} - {\mathbf {v}}_d \in {\mathfrak{R}}^n\) as tracking errors. From (8) and (9), the error dynamics can be written as
where \({\mathbf {f}}_e = {\mathbf {f}}-{\mathbf {f}}_d \in {\mathfrak{R}}^n\), \({\mathbf {u}}\) is the control and \({\mathbf {d}}\) is a disturbance.
We introduce the following notation for use in the next section. For a vector \({\mathbf {x}} = [ x_{1} \ x_{2} \ \ldots \ x_{n} ]^T \in {\mathfrak{R}}^n\) and \(\rho \in {\mathfrak{R}}\), we define
where \({\mathrm{sgn}}\) is the signum function.
3 Main results
Our objective is to design a smooth SOSMC featuring finite-time convergence to deal with the class of multivariable mechanical systems given by (8). Specifically, a sliding surface and a control law will first be designed so that if the system is on the sliding surface, then the control law will keep the system on the sliding surface and drive the errors e and \(\varvec\varepsilon \) in (10) to a neighborhood of zero in finite time. Secondly, a control law is designed to drive the system into a neighborhood of the sliding surface in finite time.
For second-order sliding motion for an n-dimensional multi-input multi-output system, it is necessary to specify an equation for the time derivative of the sliding variable \(\dot{{\mathbf{s}}}(t)={\mathbf{0}}_n\), where \({\mathbf{0}}_n = [ 0\ 0\ \ldots \ 0 ]^T \in {\mathfrak{R}}^n\) (see, e.g., [28]). The equation for the sliding variable is then obtained as the integral of the \(\dot{{\mathbf{s}}}(t)= {\mathbf{0}}_n\) equation. We propose the following sliding mode equations for a smooth SOSMC that will give finite-time control.
where \({\mathrm{sig}}({\mathbf {x}})^\rho \) is defined in Eq. (11), \(A=\text{ diag }(a_i>0) \in {\mathfrak{R}}^{n\times n},\ \ B=\text{ diag }(b_i>0) \in {\mathfrak{R}}^{n\times n}\), \(\lambda ^{2}+b_i\lambda +a_i\) is Hurwitz, \(0< \rho _2 < 1\) and \(\rho _1 = \frac{\rho _2}{2-\rho _2}\).
We now define a control vector \({\mathbf {u}}_0\) that will drive the system along the sliding surface to the zero state in finite time. From Eqs. (10) and (12) and setting the disturbance \({\mathbf {d}}={\mathbf{0}}\), the equations of motion for the mechanical system errors on the sliding surface are given by
and the definition of \({\mathbf {u}}_0\) is
From Theorem 2, the finite-time convergence of (13) is guaranteed. Thus, if the system is on the sliding surface (disturbance \({\mathbf {d}}={\mathbf{0}}\)), then the errors \({\mathbf{e}}\) and \(\varvec{\varepsilon }\) in (13) will converge to zero in finite time and the control vector \({\mathbf {u}}_0\) required is given by (14).
Next, we define a control vector \({\mathbf {u}}_s\) so that the combined control \({\mathbf {u}} = {\mathbf {u}}_0 +{\mathbf {u}}_s\) is a smooth SOSMC that will drive the mechanical system (10) subject to a disturbance \({\mathbf {d}}\ne {\mathbf{0}}_n\) onto the sliding surface \({\mathbf{s}} = {\mathbf{0}}_n\) in finite time and then drive the errors on the sliding surface to a neighborhood of \({\mathbf{0}}_n\) in finite time.
We will prove in Theorem 3 that the following choice for \({\mathbf {u}}_s\) gives the required finite-time convergence.
where \(\alpha \in (0,1)\) and
Therefore, combining (14) and (15), we obtain the proposed smooth SOSMC control law as
Note that the initial conditions \({\mathbf{s}}(0)\) and \(\dot{{\mathbf{s}}}(0)\) can be nonzero since we are assuming that the disturbances d and \({\mathbf{\dot{d}}}\) can initially be non-zero, i.e., the system is not initially on the sliding surface.
For the disturbed system (10) and control (17), the time dependence of \({\mathbf{s}}\) is given by
where
We now prove that the control law \({\mathbf {u}}={\mathbf {u}}_0+{\mathbf {u}}_s\) in (17) will drive the disturbed system (18) into a neigborhood of the sliding surface in finite time.
Theorem 3
If the control law is defined as (17) and the positive gains \(h_i\), \(k_i\), \(n_i\) and \(p_i\), \((i=1,2,\ldots ,n)\) in (16) are chosen such that the conditions
are satisfied, then the trajectory \({\mathbf{s}}(t)\) in (18) converges to the neighborhood of zero in finite time.
Proof
In (18), let \(\mathbf {z} = [ z_{1} \ z_{2} \ \ldots \ z_{n} ]^T ={\mathbf{s}} \in {\mathfrak{R}}^n\) and \(\varvec{\xi } = [ \xi _{1} \ \xi _{2} \ \ldots \ \xi _{n} ]^T = \varvec{\gamma }+{\mathbf {d}} \in {\mathfrak{R}}^n\). Then, we have
where \(\varvec{\phi } = \dot{{\mathbf {d}}}\).
Since the matrices H, K, N and P in (17) are assumed to be diagonal, the system of Eq. (20) can be considered independently for each component \(z_i\) and \(\xi _i\). Then, from (20), and using (11) and (16), we have
where \(\phi _i = \dot{d}_i\).
We will first use a Lyapunov function to prove global convergence of the components \(z_i\), \(\xi _i\) to the neighborhood of the origin, and then prove finite-time convergence by proving that the conditions of Lemma 1 are satisfied for the Lyapunov function.
Let a Lyapunov candidate function be defined as
where
and
It is clear that the functions \(V_i\) are positive definite and have unique minima at \((z_i,\xi _i) = (0,0)\). However, to prove finite-time convergence using Lemma 1 it is necessary to transform the \(V_i\) into positive-definite matrix forms.
Equations (23) and (24) can be written in the following matrix form as
where
Further, the matrix \(\varPi _i\) is positive definite since its principal minors are positive as shown below:
Thus, the \(V_i\) can be written in positive-definite matrix forms with unique minima \(V_i(0)=0\). Also, since \(\varPi _i\) is positive definite, all eigenvalues of \(\varPi _i\) are real and positive.
We now prove that the system (20) is globally asymptotically convergent by proving that the time derivatives of the \(V_i\) are negative definite.
Taking the derivative of (23), we obtain
Then, substituting (20) into (28), we have
We can expand Eq. (29) and obtain
Next, using \({\mathrm{sgn}}(z_i) = \frac{z_i}{|z_i|}\) and simplifying the equation, we obtain
Finally, we have
Equation (32) can then be rewritten in the matrix form:
where \(\varGamma _i\) is defined in (26), \(\varsigma _i = \left[ h_i\ k_i\ -2 \right] ^T\), and the matrices \(Q_{i}\) and \(R_{i}\) are given by
and
Next, we find conditions for the \(Q_{i}\) and \(R_{i}\) to be positive-definite matrices by checking their principal minors. The principal minors of \(Q_{i}\) are
Thus, \(Q_{i}\) is positive definite for all positive values of \(h_i\), \(k_i\), \(n_i\) and \(p_i\). The principal minors of \(R_{i}\) are
Therefore, by choosing the parameters \(h_i\), \(k_i\), \(n_i\) and \(p_i\) to satisfy the conditions in (19), the principal minors \(\varDelta _{13} > 0\) and \(\varDelta _{33} > 0\), and hence \(R_{i}\) is also positive definite.
From Eq. (26), we have
and therefore, since \(\alpha -1 < 0\), we obtain \( \Vert \varGamma _i\Vert ^{\frac{\alpha -1}{2}} \le |z_i|^\frac{\alpha -1}{2}\).
Thus, we can rewrite (33) as
Using the assumption \(|\phi _i| \le \overline{\phi }_i\), we obtain
Then, from Eq. (25), we have \( \displaystyle \frac{V_i}{\lambda _{max}(\varPi _i)} \le \Vert \varGamma _i\Vert ^2 \), and therefore
where
For \(\theta \in (0,1)\), we can rewrite (39) as
Thus,
whenever
The differential inequality in (42) is a special case of the differential inequality (2) in Lemma 1. Hence, if the matrices H, K, N and P are selected satisfying the conditions in (19), each component of the system (20) will converge into a region
in finite time.
From Eq. (3), each component should converge in the finite time
and therefore all components will converge in the finite time \(T_f = \text{ max }(T_i)\).
Therefore, we have proved that the trajectory s(t) in (12) with the control law (17) will converge to the neighborhood of the sliding surface s in (12) in finite time. \(\square \)
In this section, we have proved that the smooth SOSMC that we have proposed will drive a disturbed system given by Eqs. (9) and (10) into a neigborhood of the sliding surface s in (12) in finite time and then drive the system along the sliding surface to a desired trajectory \((\mathbf{q}_d,\mathbf{v}_d)\) in finite time.
4 Simulation study
In this section, we illustrate the effectiveness of the proposed smooth SOSMC for finite-time control of mechanical systems. As a first simple example, we illusrate the effectiveness of the smooth SOSMC on the one-dimensional system of the variable-length pendulum [40] and compare its effectiveness with a super-twisting (STW) algorithm [16]. We then test the finite-time convergence and chattering properties of the smooth SOSMC on a multivariable system, namely the two-link robot manipulator [41], and compare its behavior with an STW algorithm [16] and a super-twisting like (STL) algorithm [17]. Since both the STW and STL controls are discontinuous, we have used Euler’s method with step size 0.0001 to integrate the equations of motion for the smooth SOSMC, STW and STL methods. The step size of 0.0001 was selected to obtain reasonable accuracy in the numerical studies.
4.1 Numerical results for variable-length pendulum
We have carried out simulations on the variable-length pendulum shown in Fig. 1.
The equation of motion for the variable-length pendulum with disturbance R can be written as [40, 48]
where x is the oscillation angle (rad), \(g = 9.81 m \cdot s^{-2}\) is the acceleration due to gravity, m is the mass of the pendulum (kg), R is the distance (m) from the axis of rotation of the pendulum to the mass, and u is the control input (\(N\cdot m\)).
Equation (46) can be rewritten as the first-order differential system:
where \(q = x\) (rad) and \(v = \dot{x}\) (\(rad \cdot s^{-1}\)).
We then define the smooth second-order sliding surface as
and then the control u in Eq. (46) is given by
The equivalent control for the smooth SOSMC is then
and the equivalent control for the supertwisting control STW is
It can be seen that the main differences between the two controllers are that the STW has a fixed fractional power of 1/2, whereas the SOSMC has a variable fractional power \(\alpha \) and it also includes linear terms ks and ps, i.e., the STW is a special case of the SOSMC and corresponds to a choice of \(\alpha = 0\), \(k=0\), \(p = 0\) in the SOSMC.
In the numerical simulations, we chose the parameter values \(m = 1\, kg\), \(R = 1 - 0.1 \sin (5t)\, m\) and the initial values for \(q(0) = 0.3\, rad\), \(v(0) = 0.5\, rad\cdot s^{-1} \), \(s(0) = 10\, rad\cdot s^{-1}\) and \(\gamma (0) = 0\). We also defined the error state e and \(\varepsilon \) as \(e = q - q_d\, rad\) and \(\varepsilon = v - v_d\, rad\cdot s^{-1} \), where the desired trajectory is \(q_d = 0.5 \sin (0.5t)\, rad\) and \(v_d = 0.25 \cos (0.5t)\, rad\cdot s^{-1} \). We also assumed that the distance \(R(t) = 1-0.1 \sin (5t(k))\) and \(\dot{R}(t) = -0.5\cos (5t(k))\).
For both the SOSMC and STW control, the parameter values assumed for the control u in Eq. (49) were
and the parameter values assumed for the control \(u_s\) in Eqs. (50) and (51) are shown in Table 1 for the SOSMC and STW.
The values for a, b, \(\rho _1\) and \(\rho _2\) were chosen to satisfy the conditions in Theorem 2 and the values for h, k, and \(\alpha \in (0,1)\) were selected to have reasonable values.
Finally, the values for n and p in Eq. (50) were defined as
to satisfy the conditions (19) in Theorem 3.
Comparisons of the results from the smooth SOSMC for the values of \(\alpha = 0.3, 0.8\) and for the STW are shown in Figs. 2 and 3. As noted above, the STW corresponds to a choice of \(\alpha = 0\), \(k=0\), \(p = 0\) in the SOSMC. It can be seen that both the smooth SOSMC and the STW give fast finite-time convergence to the desired states with the order of convergence being SOSMC with \(\alpha = 0.8\), SOSMC with \(\alpha = 0.3\) and STW. In addition, the STW has a larger overshoot in oscillation angle than the SOSMC.
4.2 Two-link robotic manipulator
We have carried out numerical simulations for the multivariable system of the two-link robotic manipulator shown in Fig. 4.
From [41], the Lagrangian equations of motion for the manipulator can be written in the form of (7) as
where \(q = [q_{1} \; q_{2}]^{T}\) denotes the vector of joint positions (rad), \(\dot{q} = [\dot{q}_{1} \; \dot{q}_{2}]^{T}\) is the vector of joint velocities (\(rad \cdot s^{-1}\)), \(\tau = [\tau _{1} \;\tau _{2}]^{T}\) is the vector of control torques (\(N\cdot m\)), M(q) is the inertia matrix (\(kg \cdot m^2\)), \(C(q,\dot{q})\) is the centrifugal-Coriolis matrix (\(kg\cdot m^2 \cdot s^{-1}\)), g(q) is the gravitational force vector (\(N\cdot m\)) and \(D(t,q,\dot{q})\) is the disturbance vector (\(N \cdot m)\).
The meanings of the physical parameters of the manipulator and the values used in the simulations are summarized in Table 2.
The inertia matrix for the manipulator in (54) is
where
The centrifugal-Coriolis matrix is
where
The gravitational force vector is
where
The disturbance vector is defined as
where \(D_1\) and \(D_2\) are assumed to satisfy Assumption 1.
The system (54) can be written in the form of (8) as
where
From Eqs. (10), (12) and (17), we can explicitly write the control law as
where the errors, the sliding surfaces and the \(f_e\) are defined respectively by
and
By using (60), we obtained the control torques as
where \(u_1\) and \(u_2\) are given in (61).
4.3 Numerical results for the two-link robot manipulator
We assumed that the desired trajectories \(q_{d1}(t)\), \(q_{d2}(t)\) and the disturbances \(D_1\), \(D_2\) were given by
The initial conditions of the manipulator were set as \(q_1(0)=q_2(0)=0\ rad\) and \(v_1(0)=v_2(0)=0\ rad\cdot s^{-1}\). The initial conditions for the sliding vector components were assumed to be \(s_1(0)=10\) and \(s_2(0)=-10\). It was also assumed that the initial conditions for \(\gamma _1(t)\) and \(\gamma _2(t)\) were \(\gamma _1(0)=\gamma _2(0)=0\).
The values assumed for the parameters in the control law (61) are summarized in Table 3. The values for \(a_1=a_2\), \(b_1=b_2\) and \(\rho _1\) were chosen to satisfy the conditions in Theorem 2 and the values for \(h_1=h_2\), \(k_1=k_2\), and \(\alpha \in (0,1)\) were selected to have reasonable values. Finally, the values for \(n_1=n_2\) and \(p_1=p_2\) were defined as
to satisfy the conditions (19) in Theorem 3.
Substituting the parameter values in Table 3 into Eqs. (26), (34) and (35), we obtain
As shown in Table 4, the eigenvalues of \(\varPi \), Q and R are all positive, confirming that \(\varPi \), Q and R are positive-definite matrices.
Plots of the results obtained from the numerical simulations are shown in Figs. 5, 6 and 7. Figure 5a and b show the trajectories of \(q_1\) and \(q_2\) and the desired trajectories \(q_{d1}\) and \(q_{d2}\) and Fig. 6a and b show the velocities and the desired velocities of the two joints. It can be seen that the controller forces the trajectories into a neighborhood of the desired trajectories in less than 2 s. The time histories of the control torques are shown in Fig. 7a. It can be seen that the controls rapidly converge to an oscillatory behavior which keeps the actual trajectories of \(q_1\) and \(q_2\) close to the desired trajectories \(q_{d1}\) and \(q_{d2}\). The convergence of the sliding surface variables \(s_1\) and \(s_2\) are shown in Fig. 7b. It can be seen that the variables initially oscillate and then converge to a neighborhood of zero, i.e., to a neighborhood of the sliding surface, in approximately 4 s.
4.4 Comparison of SOSMC with super-twisting (STW) and super-twisting like (STL) algorithms for two-link robot manipulator
In this section, we compare the performance of our smooth SOSMC algorithm with the performance of the STW algorithm of [16] and the STL algorithm of [17]. In the comparisons, we will assume that the sliding mode Eq. (12) and the sliding mode controller \(u_0\) in (14) are the same in the SOSMC, STW and STL comparisons and compare the effects of changing the smooth SOSMC controller \(u_s\) in (15) to the equivalent STW and STL controllers. In the STW of [16], the equivalent control vector components \((u_{s1},u_{s2})\) are
and in the STL of [17], the corresponding control vector components \((u_{s1},u_{s2})\) are
The values of the parameters that we have used for the STW and STL controls are shown in Table 5.
We have found that the numerical simulations for STW and STL also show rapid finite-time convergence to neighborhoods of the desired trajectories within approximately three seconds with the main differences between the three methods occurring in the initial period of 3 s. Comparisons of the SOSMC results with the STW and STL results are shown for the first 3 s in Figs. 8, 9, 10 and 11. It can be seen that the trajectories for the three algorithms all converge to the desired trajectories in less than 2 s. Although not shown in this paper, the graphs for the period from 3 to 20 s for the STW and STL algorithms are the same as the graphs for SOSMC in Figs. 5, 6 and 7. A more detailed picture of the behavior of the torques in the convergence region are shown for the three algorithms in Fig. 12. It can be seen that the torque for STL algorithm shows a much higher level of chattering than the torque for the STW algorithm and that the torque for the SOSMC algorithm shows virtually no chattering.
5 Discussion
Because of their practical importance, many methods have been developed to control electrical and mechanical systems with uncertain parameters and external disturbances. These methods include nonlinear adaptive control [49], model predictive control [50], adaptive backstepping control [51] and, of course, sliding mode control. In general, as explained by Boutalbi et al. [52], the control methods can be divided into two main classes, namely, adaptive control and robust control. In adaptive control, one of the main aims is to design the controller to estimate the uncertain system parameters of the dynamical system and then to follow some specified desired dynamics. In robust control, which includes sliding mode control, the aim is to develop a simple fixed controller that yields acceptable performance for bounded disturbances.
Because of the importance of robotic manipulators, many papers have been published in recent years giving the application of various control methods to the control of these systems. These methods include proportional-derivative control [53], adaptive control [52], and integral-type saturated sliding mode control [54]. The main features of these papers are as follows.
The controller of Cruz-Zavala et al. [53] is a finite-time nonlinear scheme that includes a proportional-derivative nonlinear feedback and a feed-forward compensation term. The stability of the robot manipulators was proved for three cases (i) Finite-time trajectory-tracking without model uncertainties and perturbations, (ii) finite-time trajectory-tracking with uncertainties and without perturbations, and (iii) finite-time trajectory-tracking with model uncertainty and perturbations. In each case, the controller was proved to be globally finite-time stable by using Lyapunov theory.
In the adaptive controller of Boutalbi et al. [52], the values of the parameters of the manipulator were estimated for both bounded and unbounded parameters. The finite-time stability of the controller was proved using Lyapunov theory and the weighted homogeneity principle for unknown model parameters and external disturbances.
In the integral-type saturated sliding mode controller of Guo et al. [54], the sliding surface and sliding mode controller was defined in terms of saturating functions rather than the signum functions used in our controller. They proved the reachability of the sliding surface, the finite-time convergence of the state system and the boundedness of the controller using Lyapunov-based methods.
In the present paper, we have proposed a smooth second-order sliding mode control scheme with the aim of finite-time convergence and reduced chattering for a system with bounds on the values of uncertain parameters and external disturbances and we have shown the application of the controller to the variable-length pendulum and a two-link robotic manipulator. The main differences between our paper and the papers mentioned above are that, as with sliding mode controllers, the disturbances are assumed to be bounded and no attempt is made to estimate values of uncertain parameters of the dynamical system.
6 Conclusions
In this paper, we have developed a smooth second-order sliding mode controller (SOSMC) for finite-time control of a class of multi-input multi-output mechanical systems with uncertain parameters and external disturbances. Our proposed sliding surface is based on an integral form and chosen such that the error states converge to the origin in finite time. Since our smooth SOSMC includes continuous first-order time derivatives of the sliding variables, the chattering that can occur with standard sliding mode controllers is reduced. By utilizing a Lyapunov-based method, we have proved that the controller drives a disturbed state of a representative mechanical system to the sliding surface in finite time and then drives the system along the sliding surface to a desired state in finite time.
Numerical simulations have been carried out for a variable-length pendulum and a two-link robotic manipulator to illustrate the effectiveness of the proposed controller. We have compared the effectiveness of the smooth SOSMC for the manipulator with the effectiveness of a super-twisting (STW) controller [16] and a super-twisting like (STL) controller [17] by setting the parameter values of our controller with the same structure as the STW and the STL controllers. The numerical results show that all three controllers give fast finite-time convergence to a neighborhood of a desired trajectory and that the SOSMC has the lowest level of chattering. As noted in subsection 4.1, the main differences between the SOSMC and STW controllers are that the STW controller has a fixed fractional power of 1/2, whereas the SOSMC has a variable fractional power \(\alpha \) and it also includes linear terms ks and ps. Also, the STW and STL both include a term in Eqs. (51), (71) and (72) for \(\dot{\gamma } = - k {\mathrm{sgn}}(s)\) which gives a discontinuity in the first derivative of the control. The equivalent SOSMC formula in Eqs. (50) and (61) is \(\dot{\gamma }=- n|s|^\alpha {\mathrm{sgn}}(s) - ps\) which gives a continuous first derivative in the control.
As shown in the simulations for the variable-length pendulum, tuning the value of \(\alpha \) can improve the performance of the SOSMC. In this work, we have manually selected values of the parameters in the SOSMC. However, an optimization method can be utilized to tune them if needed for a given mechanical system, but this tuning is beyond the scope of the present paper.
Finally, the question can be asked whether our smooth sliding mode controller can be implemented in practise. Nowadays, controllers are computer based, and therefore any complicated control law can be easily implemented. Moreover, the processing unit of modern computers is very fast compared to the response of controlled systems, which means that discretized effects can be ignored. However, if the discretized effect cannot be ignored for any reason then, as in the recent work of Li et al. [55] and Wang et al. [56], the discrete-time version of the control law might need to be further investigated. We consider this as future research. In fact, our control law is not significantly more complicated than any existing SMC-based methods such as the super-twisting algorithm.
Data availability
Data sharing is not applicable to this article as no datasets were generated or analyzed during the current study.
Code availability
All computer code used is available from the corresponding author.
References
Utkin VI (1977) Variable structure systems with sliding modes. IEEE Trans Autom Control 22(2):212–222
Bartolini G, Ferrara A, Utkin VI (1995) Adaptive sliding mode control in discrete-time systems. Automatica 31(5):769–773
Abidi K, Jian-Xin X, Xinghuo Yu (2007) On the discrete-time integral sliding-mode control. IEEE Trans Autom Control 52(4):709–715
Benamor A, Chrifi-alaui L, Messaoud H, Chaabane M (2011) Sliding mode control, with integrator, for a class of MIMO nonlinear systems. Sci Res 3(5):435–444
Pisano A (2011) On the multi-input second-order sliding mode control of nonlinear uncertain systems. Int J Robust Nonlinear Control 22:1–14
Li Y, Zhang J, Wu X, Zhu Q (2014) Sliding mode control for discrete time switched systems with uncertain parameters and time delay. In: International conference on modelling, identification and control, pp 505–512. IEEE
Loukianov AG, Soto-Cota A, Fridman LM, Canedo JM (2004) Sliding mode control of large scale power systems, 5th Asian Control Conference (IEEE Cat. No.04EX904) 1:629–634
Orlov Y, Louz Y, Christofides PD (2004) Robust stabilization of infinite-dimensional systems using sliding-mode output feedback control. Int J Control 77:1115–1136
Feng Z, Shi P (2015) Sliding mode control of singular stochastic Markov jump systems. J Latex Class Files 14:1–8
Song H, Chen S-C, Yam Y (2017) Sliding mode control for discrete-time systems with Markovian packet dropouts. IEEE Trans Cybern 47:3669–3679
Zhang Q, Li J (2016) Static output feedback sliding mode control for stochastic descriptor systems. In: Control and decision conference, pp 1093–1097. IEEE
Edwards C, Spurgeon SK (1998) Sliding mode control: theory and applications. Taylor & Francis Ltd, London
Utkin VI (2013) Sliding modes in control and optimization. Communications and Control Engineering. Springer-Verlag, Berlin, Germany
Levant A (1993) Sliding order and sliding accuracy in sliding mode control. Int J Control 58(6):1247–1263
Levant A (2001) Universal single-input-single-output (SISO) sliding-mode controllers with finite-time convergence. IEEE Trans Autom Control 46(9):1447–1451
Levant A (2003) Higher-order sliding modes, differentiation and output-feedback control. Int J Control 76(9–10):924–941
Basin M, Panathula CB, Shtessel Y (2017) Multivariable continuous fixed-time second-order sliding mode control: design and convergence time estimation. IET Control Theory Appl 11:1104–1111
Shtessel Y, Edwards C, Fridman L, Levant A (2014) Sliding mode control and observation. Birkhauser, New York, USA
Utkin V (2016) Discussion aspects of high-order sliding mode control. IEEE Trans Autom Control 61(3):829–833
Utkin V, Poznyak A, Orlov Y, Polyakov A (2020) Conventional and high order sliding mode control. J Franklin Inst 357(15):10244–10261
Utkin V, Poznyak A, Orlov Y, Polyakov A (2020) Road map for sliding mode control design. Springer, Switzerland
Floquet T, Barbot J-P, Perruquetti W (2003) Higher-order sliding mode stabilization for a class of nonholonomic perturbed systems. Automatica 39:1077–1083
Laghrouche S, Smaoui M, Plestan F, Brun X (2006) Higher order sliding mode control based on optimal approach of an electropneumatic actuator. Int J Control 79:119–131
Laghrouche S, Plestan F, Glumineau A (2007) Higher order sliding mode control based on integral sliding mode. Automatica 43:531–537
Bhat SP, Bernstein DS (2005) Geometric homogeneity with applications to finite-time stability. Math Control Signals Syst 17(2):101–127
Defoort M, Floquet T, Kökösy A, Perruquetti W (2009) A novel higher order sliding mode control scheme. Syst Control Lett 58(2):102–108
Feng Y, Han F, Xinghuo Yu (2014) Chattering free full-order sliding-mode control. Automatica 50(4):1310–1314
Shtessel YB, Shkolnikov IA, Levant A (2007) Smooth second-order sliding modes: Missile guidance application. Automatica 43(8):1470–1476
Pukdeboon C (2013) Finite-time second-order sliding mode controllers for spacecraft attitude tracking. Math Probl Eng 2013:12
Pukdeboon C, Zinober Alan SI, Thein May-Win L (2010) Quasi-continuous higher order sliding-mode controllers for spacecraft-attitude-tracking maneuvers. IEEE Trans Indus Electron 57(4):1436–1444
Mondal S, Mahanta C (2013) Adaptive integral higher order sliding mode controller for uncertain systems. J Control Theory Appl 11:61–68
Guendouzi A, Larbi AH, Hamerlain M, Guendouzi F (2013) Higher order sliding mode control structure for a scale model autonomous helicopter. In: 3rd international conference on systems and control, pp 868–873, Algiers, Algeria
Meng Q, Sun Z-Y, Li Y (2018) Finite-time controller design for four-wheel-steering of electric vehicle driven by four in-wheel motors. Int J Control Autom Syst 81:52–62
Zhang C (2018) Finite-time convergence of an nth nonlinear system with unmatched disturbance and its application in integrated guidance and control system. Int J Model Simul Sci Comput 09(5):1850039
Mao J, Li S, Li Q, Yang J (2019) Design and implementation of continuous finite-time sliding mode control for 2-dof inertially stabilized platform subject to multiple disturbances. ISA Trans 84:214–224
Sangpet T, Kuntanapreeda S (2020) Finite-time synchronization of hyperchaotic systems based on feedback passivation. Chaos, Solitons Fractals 132:109605
Wang Z (2017) Adaptive smooth second-order sliding mode control method with application to missile guidance. Trans Inst Meas Control 39(6):848–860
Yang P, Fang Y, You-li W, Zhang D, Yang X (2018) Fast smooth second-order sliding mode control for stochastic systems with enumerable coloured noises. Int J Syst Sci 49(2):312–323
Moreno JA, Osorio M (2012) Strict Lyapunov functions for the super-twisting algorithm. IEEE Trans Autom Control 57(4):1035–1040
Shi S, Shengyuan X, Zhang B, Ma Q, Zhang Z (2019) Global second-order sliding mode control for nonlinear uncertain systems. Int J Robust Nonlinear Control 29(1):224–237
Bouakrif F, Zasadzinski M (2018) High order iterative learning control to solve the trajectory tracking problem for robot manipulators using Lyapunov theory. Trans Inst Meas Control 40(15):4105–4114
Slotine JJE, Li W (1991) Applied nonlinear control. Prentice Hall, New Jersey, USA
Khalil HK (2002) Nonlinear systems. Prentice Hall, New Jersey, USA
Luenberger DG (1979) Introduction to dynamic systems: theory, models, and applications. John Wiley & Sons, New York, NY
Shuanghe Yu, Xinghuo Yu, Shirinzadeh B, Man Z (2005) Continuous finite-time control for robotic manipulators with terminal sliding mode. Automatica 41(11):1957–1964
Liu S, Geng Z, Sun J (2015) Finite-time attitude control: a finite-time passivity approach. IEEE/CAA J Automatica Sinica 2(1):102–108
Davila J, Fridman L, Levant A (2005) Second-order sliding-mode observer for mechanical systems. IEEE Trans Autom Control 50(11):1785–1789
Levant A (2007) Principles of 2-sliding mode design. Automatica 43:576–586
Astolfi A, Karagiannis D, Ortega R (2007) Nonlinear and adaptive control with applications. Communications and Control Engineering. Springer-Verlag, London, UK
Alba CB (2012) Model predictive control. Advanced Textbooks in Control and Signal Processing. Springer-Verlag, London
Zhou J, Wen C (2008) Adaptive backstepping control of uncertain systems: nonsmooth nonlinearities. Interactions or Time-variations. Lecture Notes in Control and Information Sciences. Springer-Verlag, Berlin, Germany
Boutalbi O, Benmahammed K, Boukezata B (2021) An adaptive finite-time stable control law for manipulator robots with unknown parameters. Int J Robust Nonlinear Control 31(11): 5218–5243
Cruz-Zavala E, Nuno E, Moreno JA (2021) Robust trajectory-tracking in finite-time for robot manipulators using nonlinear proportional-derivative control plus feed-forward compensation. Int J Robust Nonlinear Control 31(9):3878–3907. https://doi.org/10.1002/rnc.5334
Guo Y, Huang B, Li AJ, Wang CQ (2019) Integral sliding mode control for Euler-Lagrange systems with input saturation. Int J Robust Nonlinear Control 29:1088–1100. https://doi.org/10.1002/rnc.4431
Li Shihua, Haibo Du, Xinghuo Yu (2014) Discrete-time terminal sliding mode control systems based on Euler’s discretization. IEEE Trans Autom Control 59(2):546–552
Wang B, Brogliato B, Acary V, Boubakir A, Plestan F (2015) Experimental comparisons between implicit and explicit implementations of discrete-time sliding mode controllers: Toward input and output chattering suppression. IEEE Trans Control Syst Technol 21(5):2071–2075
Acknowledgements
The authors wish to acknowledge the valuable comments and suggestions they have received from the Managing Editor of the journal and the three reviewers. The authors would also like to acknowledge the assistance they have received from the Transfer Section of the SpringerNature editorial office in submitting this paper to SN Applied Sciences.
Funding
Panitnart Chawengkrittayanont would like to acknowledge financial support from a Science Achievement Scholarship of Thailand (SAST).
Author information
Authors and Affiliations
Contributions
All authors contributed equally to this work. Unfortunately, C.P. passed away before this paper was completed. All other authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Chawengkrittayanont, P., Pukdeboon, C., Kuntanapreeda, S. et al. Smooth second-order sliding mode controller for multivariable mechanical systems. SN Appl. Sci. 3, 816 (2021). https://doi.org/10.1007/s42452-021-04800-4
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s42452-021-04800-4
Keywords
- Finite-time convergence
- Second-order sliding mode control
- Smooth sliding mode control
- Multi-input multi-output system