Abstract

This work presents a novel controller for the dynamics of robots using a dynamic variations observer. The proposed controller uses a saturated control law based on function instead of . Besides, this function is an alternative to the use of in saturation control, since it reaches its maximum value more gradually than the hyperbolic tangent function. Using this characteristic, the transition between states is smoother, with similar accuracy to . The controller is designed using a saturated SMC (sliding mode controller) and a dynamic variations observer based on (general regression neural network). The originality of this work is the use of a combination of adaptive with a sliding mode controller (SMC) including a new saturation function. Finally, experiments based on trajectory tracking demonstrate the robustness and simplicity of this method.

1. Introduction

Several years ago, the work of many researchers resulted in the development of various controllers for robots and mechatronic systems [16]. These algorithms were the first in the literature whose stability was proved using different theories [79] or using finite-time stability [1013].

Moreover, some of these algorithms were implemented on different robot arms [1416] and subsequent authors proposed different variants of adaptive control for robot manipulators [1720]. Only a few of those algorithms solve the particular problems present in industrial robots; in this research work, our main objective is to reduce the lack of fidelity present in robot’s arms that could vitiate any real benefits from a model-based controller. Because of this specific situation, some authors use some type of estimators to identify such infidelities between models (plant controller) or disturbances to improve controller efficiency. In this case, Mohammadi et al. [21] designed a general systematic disturbance observer for robot manipulators, where the proposed estimator doesn’t have restrictions on the number of DOF, configuration, and joints. The disturbance observer has been designed based on the Linear Matrix Inequality (LMI) theory. This method presents different types of convergence depending on the disturbance characteristics, and this technique was designed to minimize large and fast disturbances while the controller drives the output to the desired reference. For efficient operation, the disturbances must be bounded. Also, as stated by Feemster et al. [22], it is necessary that the external disturbance has to be bounded and its period known.

Na et al. [23] proposed an unknown system dynamic estimator (USDE) based on simple algebraic calculations. This estimator can be modified by an unknown disturbance estimator (UDE) for external disturbances. Both estimators can adjust their parameters to approximate the unknown dynamics and disturbances, respectively. This work proposes these estimators in the design of composite controllers for trajectory tracking, but the estimations do not consider the accelerations of the joints.

Xie et al. [24] proposed a kinematic controller based on global asymptotic stability, which is combined with the speed-based adaptive dynamic compensation controller design. This work uses the function only in its kinematic controller.

Bussola et al. [25] used a redundant SCARA architecture to execute different tasks and compared the performance with a classical SCARA in different situational tasks. This control proposes to use nonlinear control in both cases.

In another work, Freire et al. [26] proposed an adaptive PID control to control a manipulator robot in trajectory tracking. To adjust the PID gains, an ANN to retropropagate the trajectory error is applied. Similarly, Sharma et al. [27] used a recurrent neural network to implement an adaptive PID controller.

Al-Khedher and Alshamasin [28] used artificial neural networks (ANN) for the control of a SCARA robot, and its performance is compared with a classical PD controller. An alternative type of solution has been proposed for robot manipulators control problems in Rossomando and Soria [29]; their work is based on the design of an SMC adaptive controller in discrete time on a discretized model.

Jha and Biswal [30] utilized an ANN model to solve the inverse kinematics problem of a SCARA manipulator; the ANN is based on a multilayer perceptron using a gradient descendent rule to find the weights tuning law.

Yi and Zhai [31] showed a novel control technique for chattering-free in trajectory tracking for the robot’s manipulators when external disturbances and different uncertainties are acting on its dynamics. To reduce these undesirable perturbations, a second-order fast nonsingular terminal sliding mode (SOFNTSM) control is designed. This proposal guarantees robustness and ensures convergence. Also, using a simulation technique demonstrates the effectiveness of the control method. More recently, Rosas et al. [32] developed an active compensation of disturbances (ADRC) where the effectiveness of this proposal is applied on a SCARA robot arm.

This paper addresses the role of the disturbance observers in nonlinear electromechanical systems, in a particular case of a robot manipulator. Prior information in dynamic information is manifested in terms of nonlinear matrices (inertia, friction, and Coriolis), and this information is applied to design the control action. However, there are differences between the real and known dynamics that can affect the robot performance in trajectory tracking. To overcome this problem, a neural estimator is implemented. This observation technique can obtain good estimations of the dynamical differences to reduce the control error. Also, the main contribution of this proposal is the implementation of the function as saturation function in the control law, which is smoother than or functions. Due to this characteristic, the transition between states can improve the effectiveness of the controller, and similar error levels can be obtained. Also, this bounded function can prevent neural parameters from drifting due to control errors from values outside the saturation’s maximum value. These problems sometimes are occasioned by communication errors between the robot’s control unit and the PC. Being this last consideration the main novelty of this work. To probe the theoretical results, some experiments on the SCARA Bosch SR-800 arm system were performed. The convergence of the presented control technique and the demonstration of the closed loop system stability is another contribution of this work.

This research work is organized as follows: the section “Model Description” presents a brief description of a robot manipulator model SCARA type. The section “Controller Design” shows the design of the controller based on inverse nonlinear sliding mode control. An overview of and a function approximation of the different dynamics is presented in the section “ Function Approximation and Adaptive Tuning Laws.” Also, in this section, the adaptive tuning laws for the are obtained. Finally, realistic simulation results and conclusions are given in the sections “Results and Discussion” and “Conclusions,” respectively.

2. Model Description

Consider the robot manipulator SCARA type model (Figure 1) described in studies by Rossomando et al. [29] and Freire et al. [26],where are the generalized coordinates of position of the robot arm and u are the normalized command signals arranged as components of the control signal torque vector . Moreover, is the inertia matrix, is the Coriolis matrix and is defined as the friction term.

Recalling the terms and replacing in the following equation:

Different robotic arms own intrinsic dynamic properties; these properties will be taken into account for the implementation of the control law. The structural properties of the robot arm are as follows [33]:(1) is a symmetric and positive definite matrix(2) is a skew-symmetric matrix

The known manipulator dynamics is represented bywhere equation (3) will be used in the controller design, and the estimated matrices are defined as follows:

3. Controller Design

3.1. Neuro Adaptive SMC Controller

In this section, the trajectory tracking control scheme is described. The control scheme is based on the generalized coordinates. First, the equation of motion is represented in terms of joint coordinates. Then, the trajectory tracking control scheme with adaptive neural SMC control is proposed. To start this analysis, the control error signal is defined as

Now, in order to apply the control law, a sliding surface is used for the control error signal:where α is a diagonal matrix with positive constants and each is defined as a design parameter. Deriving equation (6), it leads to

Using equation (7) and replacing equation (5),

From equation (6) and rearranging equation (8),

Replacing equation (9) in equation (2),

Obtaining from equation (10),

3.2. Saturation Definition

In this subsection, an approximation of function is proposed. The main objective of this work is to propose an alternative of the function as a smooth saturation function. Figure 2 shows , , and functions, as the function reaches its max value more gradually than the hyperbolic tangent function , and since it presents a smoother transition, this characteristic can be used to take advantage of control applications. In [24], a function was used in a kinematics controller for mobile robot applications, being the tracking accuracy of the robot improved. Now, expressing the function as

Equation (12) changes from trigonometric to an algebraic function. An algebraic function is simpler to implement in microcontrollers and industrial computers.

Assumption 1. It is assumed that the quantity is nonnegative along the evolution of the system.
The control law is expressed aswhere , and it is expressed as . The proposed control structure is shown in Figure 3. Now, closing the control loop and replacing equation (13) in equation (11), we lead toFrom equation (14), denotes the error due to the dynamic difference, and it is expressed aswhere is considered bounded bywhere is a positive constant value.

3.3. GRNN Function Approximation and Adaptive Tuning Laws

In this subsection, a general regression neural network (GRNN) identification technique is presented, where the GRNN is a single-pass neural network which uses a Gaussian activation function in the hidden layer, and it can be used to approximate any continuous function [34].

The variable represents the unknown parameters due to mass variation of the payload and can be represented asorwhere is the regressor vector and is defined as . The neuron number is defined as , and the vector is a functions vector where each element is defined as and and define the centers and the spread of each exponential function, respectively. In the same way, the matrix is defined as and and define the centers and the spread of each exponential function, respectively. Besides, and are the optimal parameter matrix; each element of and is constant and unknown. The vector is the approximation error and for . Being n= 2 the model output number, the estimation function is chosen as follows:

The GRNN structure has the capacity of approximating any real continuous vector function; in [34, 35], there are different references about this identification technique. Using the estimated output of GRNN equation (19) and taking the difference between equation (18) and equation (19), we obtain

The approximation error can be approximated by

Taking into account that and and replacing them in equation (21),

Replacing the proposed control law (13) in the robot dynamics (11) and also the neural approximation (22), it leads to

Theorem: the closed-loop system (23) using the proposed control law (13) using the neural approx. (22) has asymptotic stability.

3.3.1. Demonstration

The first step is defining a definite positive Lyapunov’s function candidate (LFC) to demonstrate the convergence of the proposed control method.

Defining the LFC as

Deriving equation (24),

Replacing equation (30) in equation (32),

Rearranging equation (33),

Rearranging equation (34),

Taking into account the last terms between brackets in equation (28) and defining as

In the same way, for is obtained in the next equation:

The subindex in equation (29) and equation (30) denotes the vector weights adjusted by ; replacing the same equation in (28) leads towhere .

Now, it is necessary to analyze two cases, when and .

Analyzing the first case , all the terms with are equal to zero. Thus, can be reduced to

This expression denotes that the control error is bounded when . Analyzing the second case , in this instance, ; rewriting equation (31),

Doing the same operation for the second term,

Defining the auxiliary vector and rewriting (34) aswhere is expressed as

It is necessary to demonstrate that the matrix is a positive definite to demonstrate the convergence of the presented control technique. Taking into account the Sylvester’s criterion, which is a simple way to determine if is a definite positive matrix.

Now computing if the upper left 1-by-1 corner of has a positive determinant. In this case,

Consequently, if the upper left 2-by-2 corner of has a positive determinant, where

Expanding the abovementioned equation (38) and rearranging,

Then, equation (39) can be expressed as

From definition of (equation (24)),

Obtaining from the abovementioned equation (41),

Replacing in equation (40),with condition (i) and condition (ii) and the matrix which is a definite positive; thus, can be the upper bound by the following expression:

From equation (44) , for all t, the sufficient condition for equation (45) can be obtained:

From the definition of LFC, equation (24), is expressed as

Using the abovementioned expression, equation (46) can be rewritten as

Based on previous results and considering equations (24), (37), (39), and (47) and Barbalat’s lemma [36], these results guarantee the boundedness of the error control signal during the closed loop operation.

4. Results and Discussion

4.1. Experiments

The experiments were performed on the SCARA Bosch SR-800 (Figure 1) arm system. A CPU Intel Dual Core, with 2.6 GHz and 4 GB RAM memory to control the robot arm, is used. Debian Linux has been installed in the CPU and it uses RTAI (Real Time Application Interface). The approach proposed in this paper is applied to the robotic manipulator Bosch SR-800 by controlling the power unit that applies the calculated torques (control actions) to the joints of the robot arm. The first experiment shows different experiments with different neural networks. For performance comparison purposes, in addition to the use of the different saturated controllers to control the robotic manipulator, a nonadaptive SMC controller was also applied to the same robot for reference. In the second set of experiments, different saturated functions were used.

4.2. Adaptive Neural Control Comparison

The first set of experiments was made with different neural networks to compensate for the dynamic variations.

The objective of this approach is to contribute to the use of a new saturation function and prove its efficiency in an adaptive control technique. In the first set of experiments, the basic form of Lissajous “8” is considered as a reference trajectory. The experiment was carried out using three different adaptive techniques using the single saturation function , where these controllers were applied on the robot arm to demonstrate their effectiveness. The controllers are based on saturated SMC, the first one uses a nonadaptive SMC, which does not use any on-line adjustment, and the second one, an MLP adaptive controller and the last one, a GRNN adaptive controller based on SMC.

Figure 4 shows the trajectories followed by the robot arm using each one of the control strategies. Figure 5 shows the reference trajectory for each joint ( and ) and the followed trajectory. Figure 6 shows the square norm of the control errors generated by each control strategy (the error norm is defined by ). The experimental results prove that the highest error was obtained by a nonadaptive SMC controller, which has no on-line calibration. In this case, the effects of the model uncertainties on the error can be observed clearly. The methods that compensate the model uncertainties have a lower error than the previous case. Finally, the lowest error was obtained by the GRNN adaptive SMC strategy, which reduces the trajectory error caused by the model uncertainties. In Figure 7, the control actions of the GRNN adaptive SMC are shown, and the chattering phenomenon can be seen. This phenomenon can be reduced using a low pass filter previous to the electromechanical actuator.

Figure 8 presents the distribution of the errors obtained along with the experiment. In the 1st row, it shows the error distribution using nonadaptive SMC control. The 2nd row presents the error distribution using adaptive -SMC control. Finally, in the 3rd row, the error distribution using adaptive MLP-SMC control is shown. In Table 1, the performance indicators and are presented (see equation (48) where T is the total time of the experiments). These indicators are applied on the proposed controllers based on using only function, where the indicators show that the GRNN-SMC controller gets the smallest error as a result:

4.3. Dynamical Comparison between Functions

In the second set of the experiment, a dynamical comparison between functions , , and was made. Figure 9 shows the trajectories performed by the robot arm using each one of the control strategies. Figure 10 shows the reference (dashed line) and trajectory followed (solid line), being the maximum error during the initial time. Figure 11 shows the square norm of the control errors generated by each saturation type applied in the control law. In this figure, it is appreciated that two last strategies have got similar errors. In Figure 12, the control actions based on the adaptive GRNN-SMC controller are shown. Both signals are polluted by the chattering effect, but in a percentage of about 10 with respect to the maximum value of the control signal, higher values are dangerous for the electromechanical systems. Figure 13 presents the distribution of the errors obtained along with the experiment. Figures 13(a) and 13(b) show the error distribution using the function. Figures 13(c) and 13(d) present the error distribution using the function. Figures 13(e) and 13(f) show the error distribution using the function. Finally, in Table 2, the performance indicators and are presented. These indicators are applied on alternative controllers based on adaptive GRNN-SMC using different saturation types , , and . The denoted indicators show similar results as saturation functions in control. Thus, such functions could be used in different applications when a variable must not exceed a certain maximum value.

Based on these results, the viability of the proposed controller is demonstrated. The good results obtained, despite the nonlinearities and uncertainties of the model, together with the variations in the dynamics of the robot, show the level of robustness of the proposed GRNN-SMC controller. In addition, the stability of the closed loop system was demonstrated analytically and the adjustment laws were obtained using Lyapunov’s theory. Another interesting observation is that the selection of the neural net structure of the estimator can improve the accuracy of the proposed control.

In this proposal for intelligent control, it can be considered as a general solution for the control of nonlinear systems. Its uses can be highlighting in robotic systems, in situations where the dynamics are variable or when there are uncertainties associated with the dynamic model.

5. Conclusions

This work presents a saturated control of two techniques using neural networks based on the classical , and functions and also provides the stability proof for a saturated control applied to a robot manipulator.

Comparative experiments of all these control variants have been performed on a standard industrial SCARA manipulator; in all cases, the proposed control gets satisfactory results; in the third case, it has an average error and can be used as an alternative of or function as saturated control.

The feasibility of applying an uncertainty estimator with a control based on sliding mode control, including its asymptotic stability, was also demonstrated.

The experiments showed that the trajectory followed by the manipulator can be controlled precisely by the use of the proposed method and, at the same time, guarantee the asymptotical convergence.

Data Availability

The MATLAB code and sampled data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This work was partially funded by the following Argentine institutions: the National Council of Scientific and Technological Research (CONICET) and Universidad Nacional de San Juan (UNSJ).