Abstract

This work presents a novel fuzzy adaptive sliding mode-based feedback linearization controller for trajectory tracking of a flexible robot manipulator. To reach this goal, after deriving the dynamical equations of the robot, the feedback linearization approach is utilized to change the nonlinear dynamics to a linear one and find the control law. Then, the sliding mode control strategy is implemented to design a stabilizer for trajectory tracking of the flexible robot. In order to adaptively tune the parameters of the designed controller, the gradient descent approach and the chain derivative rule are employed. Moreover, the Takagi–Sugeno–Kang fuzzy system is applied to regulate the controller gains. Finally, a multiobjective particle swarm optimization algorithm is used to find the optimum fuzzy rules. The conflicting objective functions considered as the integrals of the absolute values of the state error and the control effort should be minimized, simultaneously. The simulation results illustrate the effectiveness and capability of the introduced scenario in comparison with other methods.

1. Introduction

In the recent years, the study of the flexible robots has been widely developed. The main reasons for this attraction could be mentioned as reaching to exact solutions and accurate performances. In fact, in order to reach high stiffness for rigid manipulators, their volume and weight would be increasingly raised, and therefore, the performance speed and energy consumption might be incremented [15].

On the contrary, all actual systems are inherently nonlinear, and their governing dynamical equations are also nonlinear. For stabilization of these systems, two approaches have been commonly proposed. The first method is based on the linearization about the equilibrium point via Taylor expansion and named the Jacobian method. The main limitations of this scheme are neglecting the nonlinearities and operating around the equilibrium point. The second one is the feedback linearization method that changes the nonlinear variables instead of neglecting them [610].

After changing the variables via the feedback linearization method, it would be better to apply a nonlinear controller to stabilize the system instead of a linear one. In this work, the sliding mode control, initially introduced by Utkin in 1997 [11] as a robust, powerful, and nonlinear approach, is utilized for the considered flexible robot manipulator. After that, a lot of researchers have applied this approach in many fields of science and technology such as Xiong et al. solved the distributed sliding mode control problem of complex networks with inner coupling under a quantization mechanism [12]. Yuguang and Fan proposed a method for dynamic modeling and a modified sliding mode control for multilink underwater manipulators [13]. An adaptive funnel sliding mode controller for servo mechanisms with friction compensation was introduced by Wang et al. [14]. Divandari et al. suggested the fuzzy fast terminal sliding mode control method for speed control of a switched reluctance motor [15]. A voltage-based sliding mode control was presented to control the position of the serial robot manipulators by Zaare et al. [16]. Peza-Solís et al. intended modeling a single flexible-link robot using the finite difference method and sliding mode control [17]. Two different sliding mode control approaches for the trajectory control of a flexible-link robot were investigated in the theory, simulation, and experiments by Hisseine and Lohmann [18].

Moreover, one of the main issues for the controller design is the appropriate regulation of the gains. The most common schemes to tune the control parameters are adaptation approaches that have been widely utilized to improve the performance of the controllers. To name but a few, Miao et al. recommended an adaptive fast nonsingular terminal sliding mode control scheme for a spacecraft with a rotating flexible appendage with accurate attitude tracking [19]. Zhao et al. concerned the vibration control and global stabilization of a distributed parameter flexible-riser system in the presence of the nonlinear input saturation and system uncertainties by an adaptive robust method [20]. An effective model-free adaptive fault-tolerant attitude-tracking controller was developed for a flexible spacecraft with flexible solar arrays actuated using redundant reaction wheels in the presence of inertia uncertainties, external disturbances, and uncertain actuator failures by Boulouma et al. [21]. Gierlak and Szuster presented an approach to control an object operating with a flexible environment based on the knowledge of the mathematical structure of the system model [22]. A systematic adaptive control approach was investigated by Seyed Danesh et al. to achieve the prediction of optimal input displacement for a gripper by means of an extreme learning machine strategy [23].

Besides, fuzzy systems based on the fuzzy logic are the only way to employ the human knowledge and linguistic variables for modeling the dynamical systems. For instance, Zheng et al. suggested an intelligent fuzzy sliding mode control method that takes the advantages of the sliding mode control, fuzzy control, and deep learning algorithms and successfully applied on a robot [24]. A prescribed performance tracking control scheme was presented by Shi for a class of multi-input multioutput nonlinear systems having immeasurable states and unknown control direction [25]. Hongqian et al. awarded the circle criterion and its extended version to analyze the global asymptotical stability of the simplest Takagi–Sugeno fuzzy control system in the frequency domain [26]. Self-tuning based on the evolutionary algorithms for the first-order Takagi–Sugeno–Kang-type fuzzy controller was applied for the trajectory tracking of a quadcopter drone by Yazid et al. [27].

Finally, one of the most common and well-known ways to determine the appropriate values for the constant parameters of the controller is implementation of the evolutionary optimization algorithms. These methods, usually inspired by a natural phenomenon, have been widely developed to solve different scientific problems in the recent decades: to name but a few, particle swarm optimization [2830], firefly optimization algorithm [31], ant colony optimization algorithm [3235], genetic algorithm [3639], imperialist competitive algorithm [4042], team game algorithm [43], and teacher-learning-optimization algorithm [44, 45]. On the contrary, most of engineering problems, especially controller design, have more than one objective function (criterion) for optimization [4650]. As a success approach, multiobjective high exploration particle swarm optimization is a recently introduced algorithm by the authors of this work to solve real-world and complicated multicriterion problems [51]. This algorithm utilizes the main operators of three schemes, the particle swarm optimization, the bee colony algorithm, and the multi-crossover genetic algorithm, to enhance the quality of solutions and guide them to the global best position [52].

The motivation of this research is to design a novel combination of the fuzzy logic, adaptation laws, and sliding mode concepts with the feedback linearization approach and the multiobjective particle swarm optimization. In fact, at first, the dynamical equations of a flexible robot are derived and linearized by the feedback linearization method. Then, the robust and nonlinear sliding mode scheme is successfully applied to control the system states from the initial conditions to the desired values. The controller gains are tuned, regulated, and optimized by the gradient descent method, the fuzzy systems, and the PSO algorithm, respectively. The simulation results are illustrated to prove the ability, effectiveness, and efficiency of the introduced scenario to track the defined trajectory for the considered manipulator.

The remainder of the paper is arranged as follows. Section 2 presents the dynamical equations for the desired robot. Section 3 describes the linearization of the system using the feedback method. Section 4 describes the corresponding equations to the sliding mode control. Sections 5 and 6, respectively, deal with the adaptation laws and the fuzzy system designed to improve the controller performance. Moreover, the optimization method, design variables, and objective functions are presented in Section 7. Section 8 presents simulation results and comparative studies to confirm the capability of the proposed method. Finally, Section 9 concludes the paper and describes the related future works.

2. Dynamical Equations of the Flexible Robot

The regarded single-link robot is shown in Figure 1, and its dynamical equations obtained by the Lagrange approach are written in the following relations [53]:where and denote the angular positions of the motor shaft and the flexible link, respectively, , , and , respectively, present the mass, the length, and the inertia moment of the link, is the gravity acceleration, is the stiffness of the flexible part of the link, is the inertia moment of the motor shaft, and, finally, shows the torque applied by the motor. If the state variables are defined as follows,then the state-space equations would be represented by the following relations:

Hence, the matrix form of the governing equations could be stated as follows:where

3. Feedback Linearization

As it can be seen from the dynamical equations of the system represented in the previous section, the order of the system is . Therefore, the necessary and sufficient conditions for feedback linearization of this system could be mentioned as follows:and that the setbe involute. Regarding the indicated conditions, it is easy to check thatwhich has rank 4 for . Moreover, since fields are constant, they form an involutive set. To see this, it is sufficient to note that the Lie bracket of two constant vector fields is zero. Hence, the Lie bracket of any two members of the set of the vector field in equation (7) is zero as a linear combination of the regarded vector fields [6, 7]. It follows that the system illustrated as equation (4) is feedback-linearizable. Therefore, the new coordinates are defined as follows based upon :where

Carrying out the above calculations leads to the following set of equations:

It is obvious that variable is only dependent to . Therefore, a simple solution for could be mentioned as follows:

The other variables are obtained as follows:

The following control input is defined to linearize the above system:

Therefore,

Based on new coordinates () and by applying the control law (18), the governing equations of the system could be represented as follows:

These relations could be mentioned in the matrix form as follows:where

By considering equations (13)–(15), the main state variables of the flexible robot are obtained as follows:

4. Sliding Mode Control

Sliding control is a powerful approach for stabilization of nonlinear systems in the presence of modeling uncertainties and parametric disturbances [54, 55]. This scheme is based on the idea that controlling a first-order system is much easier than a general -order one. Usually, the sliding mode scalar function is defined as follows:where is the tracking error vector, is a positive parameter, and binomial coefficient is defined as. Equation defines a time-dependent surface in the space , and is its unique solution. Hence, the problem of tracking control will be equivalent to putting zero in the scalar function . Based on the Lyapunov theory, control effort must be selected so that the following inequality is satisfied:where is a positive constant.

On the contrary, the sliding mode controller commonly includes two parts: the equivalent term () and the switching control law (). The switching control law tries to guide the system states toward the sliding surface, and the equivalent control law, which is gained from solving the equation guarantees that the system states stay on the sliding surface and converge to zero along the sliding surface.where parameter is selected so that Lyapunov condition (24) is satisfied. For a more uniform performance, saturation function , defined as follows, is replaced by function in equation (24):where is a positive parameter to illustrate the width of the boundary layer around the sliding surface. Considering the control problem of the flexible robot manipulator, the desired trajectory that must be tracked is defined as , and the error signal will be Hence, the sliding surface is defined as follows:

Therefore,

Finally, by applying the sliding mode control theory, the control law can be stated as follows:

5. Adaptation Laws

The adaptation laws help to find the controller gains as dynamic and time varying so as the tracking procedure would be modified [5660]. Furthermore, the adaptation laws used in this paper apply the robust sliding mode concepts to produce the time-varying functions for the control gains (, and as follows:where , , and are the tuned forms of control gains , and . Moreover, , , and are the adaptive parameters obtained via the gradient descent method as follows:where , , and are named as the learning rate parameters that would be determined by the fuzzy systems introduced in the next section.

6. Fuzzy Systems

The fuzzy logic has been widely utilized to employ the human knowledge for system modeling. There are three types of fuzzy systems that are commonly used in the literature: (1) pure fuzzy systems, (2) Takagi–Sugeno–Kang (TSK) fuzzy systems, and (3) fuzzy systems with the fuzzifier and defuzzifier.

In this research, the Takagi–Sugeno–Kang (TSK) fuzzy system [6165] is utilized for the regulation of learning rate parameters , and which could be constructed from the following rules: if is , then , where are the fuzzy sets depicted in Figure 2, are constant parameters for the th rule and th learning rate which would be found by the optimization process. Given an input , output of the TSK fuzzy system is computed as the weighted average of as follows:where, as it can be evident from the above equations, the TSK fuzzy system is a mapping from to .

7. Multiobjective Particle Swarm Optimization

The particle swarm optimization (PSO) algorithm was initially proposed by Eberhart and Kennedy [66] in 1995 and inspired by the social behavior of birds. The PSO regards the search space of the problem as a flight space and considered each bird as a candidate solution for the problem. The basic idea of the algorithm is to find the optimal solution through cooperation and information sharing among the particles in the swarm.

In the PSO, each particle has its own position and velocity vectors, where the position of each particle is a potential solution. The personal historical best position of a particle () and the global best position of the swarm () are employed to guide the particle’s flight and update its position as follows:where and are the position and velocity vectors of the ith particle at the itth iteration, respectively. and symbolize the random vectors between [0,1]. Furthermore, , and denote the inertia parameter, cognitive coefficient, and social coefficient, respectively [66].

On the contrary, a multiobjective optimization problem has multiple conflicting objectives which need to be optimized, simultaneously. Unlike a single-objective optimization problem, the solution of the multiobjective optimization problem is not unique, and a set of the optimum solutions called Pareto front or nondominated solutions would be obtained and stored in external memory (archive) [51]. In most of multiobjective optimization methods, the archive contains a specified number of the optimum solutions having a good spread. However, if all nondominated solutions are maintained in the archive, then its size grows very quickly. In the regarded multiobjective algorithm, a fuzzy elimination technique is applied to prune the archive. In this approach, all particles in the archive have a neighborhood radius which is equal to (equation (34)), and if their Euclidean distances are fewer than , then one of them would be randomly removed.where it is the current iteration, max it is the maximum number of iterations, represents a positive constant value, and denotes the fuzzy variable introduced in [51].

In order to assign a leader for the swarm in each iteration, a neighborhood method is suggested in the considered multiobjective particle swarm optimization algorithm. In this scheme, a neighborhood radius is defined for the archive members. If the Euclidean distance between two nondominated solutions is smaller than this radius, then they would be regarded as the neighbor. Finally, the nondominated solution having the fewer number of neighbors is assigned as the leader of the swarm [51]. The flowchart related to this procedure is depicted in Figure 3.

In this research, the constant control gains (, and are regarded as the design variables for the optimization problem. Besides, the following weighted integrals of the absolute values of the state error and the control effort are remarked as two objective functions that should be simultaneously minimized:where and are, respectively, set at 1000 and 0.001 to close the changing ranges of the objective functions.

8. Results and Discussion

In this section, the proposed controller is employed for the regarded flexible manipulator having the physical parameters mentioned in Table 1 to track the defined trajectory. The initial conditions are selected as , and the desired trajectory is remarked as .

In the multiobjective optimization process, the function evaluation of the objective functions is set at 3000. The Pareto front found using the proposed multiobjective particle swarm optimization algorithm is depicted in Figure 4. As it was mentioned before this, all optimum points in this diagram are nondominated to each other, and a designer could choose one of them based on the design criterion. The optimum point selected in this work is shown in the Pareto front of Figure 4, and the related design variables are demonstrated in Tables 2 and 3 for the adaptation laws and fuzzy rules, respectively. Moreover, changing of the fuzzy parameters (, , and ), the tuned parameters (, , and ), and the adaptive parameters (, , and ) is displayed in Figures 57, respectively. As it can be observed from these figures, all sets of the variables converge to the constant values after the transient time about 2 s. Figures 811 depict the time histories of the joint angle, angular velocity, control effort, and phase plane diagrams, respectively. In these figures, the results obtained from the optimized fuzzy adaptive sliding mode-based feedback linearization controller are compared with those of the feedback linearization-based proportional derivative (FLPD) method introduced in [53]. As it could be evident from these diagrams, the approach proposed by this work forces the robot to track the desired trajectory in about 2 s, while the feedback linearization-based proportional derivative achieves it in about 5 s.

Generally, the suggested strategy in this research work is able to converge the joint angles and angular velocities to the desired trajectories with less errors in the shorter settling time in comparison with the FLPD controller. However, the fuzzy adaptive sliding mode-based feedback linearization approach utilizes a bit more control effort compared with the FLPD scheme.

9. Conclusions and Future Work

A novel control method as a combination of the feedback linearization scheme, sliding mode control, adaptation laws, and fuzzy systems has been introduced in this work. At first, the feedback linearization method has been successfully utilized to change the nonlinear states of the system to their linear forms. Next, a robust sliding mode control approach has been implemented to find the related control effort to track the desired trajectory designed for a robot manipulator with the flexible link. In order to timely adapt the control parameters, a combination of the gradient descent methodology and the sliding mode surface has been utilized. A Takagi–Sugeno–Kang fuzzy system has been employed to regulate the constant parameters of the control system. This problem has been considered as a multiobjective optimization problem and solved using the high exploration swarm optimization. The obtained Pareto front has been illustrated, and one of the depicted nondominated solutions has been selected to simulate the control performance of the regarded flexible-link robot. The efficiency and ability of the introduced scenario have been easily shown via the diagrams of the state variables compared with other convenient methods.

The future works related to this research could be mentioned as follows:(1)The suggested scenario is used to control robots with more degrees of freedom(2)The integral sliding mode surfaces are utilized to design the controller and adaptation laws(3)Parametric and structural uncertainties are added to the dynamical system to challenge the performance of the proposed stabilizer(4)Neural networks and moving least squares are applied to timely tune the control gains against the time-varying uncertainties(5)The introduced optimum fuzzy adaptive robust-based feedback linearization controller is employed to solve actual problems in the real-world application

Data Availability

No data were used to support the findings of this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.