#### Abstract

This paper presents a radial basis function (RBF) neural network control scheme for manipulators with actuator nonlinearities. The control scheme consists of a time-varying sliding mode control (TVSMC) and an RBF neural network compensator. Since the actuator nonlinearities are usually included in the manipulator driving motor, a compensator using RBF network is proposed to estimate the actuator nonlinearities and their upper boundaries. Subsequently, an RBF neural network controller that requires neither the evaluation of off-line dynamical model nor the time-consuming training process is given. In addition, Barbalat Lemma is introduced to help prove the stability of the closed control system. Considering the SMC controller and the RBF network compensator as the whole control scheme, the closed-loop system is proved to be uniformly ultimately bounded. The whole scheme provides a general procedure to control the manipulators with actuator nonlinearities. Simulation results verify the effectiveness of the designed scheme and the theoretical discussion.

#### 1. Introduction

The past several decades have seen a rapid increase in parallel manipulators connected to the control system. It is well known that parallel manipulators with high rigidity are of generally higher accuracy and of lower error accumulation than similarly sized serial manipulators. Their closed kinematics structure allows them to obtain high structural stiffness and perform high-speed motions. The inertia of its mobile parts is reduced, since the actuators of a parallel manipulator are often fixed to its base and the end effectors can perform movements with higher accelerations. Adaptive tracking control for a class of nonlinear systems is given in [1–3], and in [4] a design of the sliding mode surface integral algorithm is proposed to inhibit the steady-state error and enhance the robustness. In [5, 6] sliding mode control (SMC) with low-pass filter is used to keep trajectory tracking accurately.

It is known that SMC has the intrinsic nature of robustness, good transient fast response, and insensitivity to the variation of plant parameters and external disturbances in [7]. Thus, the SMC is considered as an effective approach for the control of many systems such as uncertain nonlinear systems in [8], discrete-time nonlinear systems in [9], and singular stochastic hybrid systems in [10–12]. The control process of SMC consists of two parts; one part is continuous and the other discontinuous. When the system reaches the sliding mode, the system with variable structure control is insensitive to the external disturbances and the variations of the plant parameters, and it has been widely applied to the manipulator system due to its operation characteristics for the sake of fastness, robustness, and stability in large load variations. All those merits are gotten at the cost of the chattering. Furthermore, in many time-variable systems, parameters and perturbation upper bounds are often uncertain, so switching control gain should be as high as possible to keep stable [13–16]. The control algorithm in [17–20] reduces the reaching phase extremely and achieves better robustness than SMC. However, in [17] with disturbance observer based on SMC, the algorithm assumes that the disturbance is produced by a linear exogenous system, but in fact it is difficult to accurately predict the uncertainty and disturbance of the time-variable system. In [18–20], the adaptive sliding mode control (ASMC) algorithm is proposed with the switching gain excessive the SMC values, which brings the more serious chattering problems. So the appropriate switching gain is the key to the accurate control in time-variable system.

Motivated by the above observations, we propose a new approach to using RBF neural network to estimate the actuator nonlinearities and their upper boundaries for the switching gain. In this paper, we aim to solve these problems by focusing on the accurate tracking problem of the uncertain mechanical system. Our research begins with a time-variable SMC (TVSMC) algorithm with the dynamics of the manipulator. The main characteristics of such a TVSMC algorithm are discussed. To deal with the finite static error brought by the continuous approximation of the TVSMC algorithm, the RBF neural network is utilized, a novel Lyapunov function is introduced, and then a new time-variable stability criterion is presented. In the numerical simulation, the RBF TVSMC algorithm and the TVSMC algorithm are compared after being tested.

#### 2. System Model

The 2-degree-of-freedom parallel manipulator (2-DOF parallel manipulator) is made up of three groups of two links in one platform, in which one group has a base of open chain mechanism, respectively, installed by the AC servo motor and a speed reducer drive shown in Figure 1 and coordinate in Figure 2. The 2-DOF parallel manipulator system can be described by Laugrange’s equations [21, 22]:

In (1),stands for a displacement angle of generalized coordinates,for the symmetric and positive-definite inertia matrix,for a damping coefficient matrix,for a stiffness coefficient matrix,for a voltage vector of generalized control input, andfor a damping voltage vector of external disturbance.

Defining,, and, the superscriptstands for the nominal value, and the notationrepresents the uncertainty. According to the structural feature, the effect caused by the model uncertainties can be merged into the disturbance term, which then can be regarded as the lumped disturbance in the following form:

From (2), it is assumed that the lumped disturbance is bounded by a upper bound; that is,, whereis a constant scalar andis the infinite norm of a vector.is a skew-symmetric matrix (see details in [23, 24]).

So (1) can be rewritten as

#### 3. TVSMC Design and Parameter Setting

In this paper, we will address the tracking control problem of the system in (3). For the desired trajectory with the system states of,, and, a controllerfor the system is designed so that the system states,, andcan track the desired trajectory in the presence of parametric uncertainty and external disturbance.

For the given trajectory, the tracking error and tracking angle are defined as with the initial tracking error satisfying,, and, where the subscript denotes the appropriate dimensions of the matrix.

In order to derive the SMC algorithm, the switching surface can be chosen as whereis the matrix with strictly positive every elements and. The switching surface is then determined by, which is the desired dynamics.

The input of SMC algorithm is set as

In (6),is the equivalent control. The equivalent control of the ideal sliding mode is obtained onwith; it can be gotten as is the switching control: is the switching gain matrix with the elements, and the presents the sign function.

Theorem 1. *Considering the system in (3) under the lumped disturbance with an upper boundary of, by adopting the time-varying sliding mode function in (5) and the corresponding input control in (6), if, then the controlled system is stable.*

*Proof. *Consider the following Lyapunov function:

Differentiatingwith respect to time yields

is substituted in Lyapunov function, and foris a skew-symmetric matrix such that. The time derivative ofwill be

Asis positively defined and, according to the Lyapunov stability theory, the TVSMC is stable. And Figure 3 is gotten.

**(a) Phase locus**

**(b) Sliding mode function**

#### 4. RBF SMC Algorithm Design

From Figure 3(b), the process of SMC action is divided into two states: one is the reaching state and the other is the sliding state. Then reaching state will be joined to the sliding state inside the sliding tranche with bandwidthsurrounding the sliding surface, in a finite time limited by the switching frequency. The system adopts the dynamic of the surface and reaches the equilibrium point. In a short phrase, the switching gain depends on. Consider the following saturation function to replace the sign function to decrease chattering:

In (12)is tiny positive number and is also the boundary layer thickness, which can reduce the chattering if appropriately chosen.

On the other hand, radial basis function neural network based on controller design is one of the popular methods of high precision control. In the SMC based controller, the RBF NN is used to approximate the upper boundary of lumped disturbance (Figure 4).

The upper boundary of the lumped disturbance can be designed as whereis the Gaussian radial basis function.

Here, further consideration will be given about adjusting the network weights. The weight adjustment is.

The RBF NN earning algorithm is where the value ofcan be substituted by coefficient of learning rate,is in direct proportion toin step response, ,, and.

Socan be described as follows:

Theorem 2. *Considering the system in (3) under the lumped disturbance with an upper boundary of, by adopting the time-varying sliding mode function in (5) and the lumped disturbance identified by using the RBF neural network in (13), the controlled system is global asymptotic stable.*

*Proof. *Let optimal network weights beand the estimated upper boundary value of RBF NN be; then we get
whereis a tiny number andis tiny positive number, and let,. A neural Lyapunov function can be designed as

Differentiatingwith respect to time yields, we get

withand simplifying
Using integral transform in (19), the neural Lyapunov function can be gotten as
By the Barbalat Lemma, the system is asymptotically stable.

#### 5. Simulation Tests

The parameters of the 2-DOF parallel manipulator are listed as follows: joints reduction ratio is 40?:?1,mm, back electromotive force constant is 0.04297?V/(s/rad), torque constant is 3.41?N·m/A, resistance factor in driving side is 8.1 × 10^{-5}?N·m/(rad/s), winding resistance of electrical machine is 1.025?O, winding inductance of electrical machine is 0.03837?H, rotational inertiais 0.39?kg·m^{2}, and the uncertain inertia?kg·m^{2}. The desired manipulator trajectory is the right triangle shown in Figure 5, and the desired joints trajectories are shown in Figure 6.

The trajectory tracking processes controlled by the TVSMC algorithm and the RBF TVSMC algorithm are compared in Figures 7–12 with the corresponding angle displacement in Figure 6.

(a) Control voltage of joint |

(b) Control voltage of joint |

(c) Control voltage of joint |

(a) Control voltage of joint |

(b) Control voltage of joint |

(c) Control voltage of joint |

(a) Trajectory tracking responses of joint |

(b) Trajectory tracking responses of joint |

(c) Trajectory tracking responses of joint |

(a) Trajectory tracking responses of joint |

(b) Trajectory tracking responses of joint |

(c) Trajectory tracking responses of joint |

**(a)**

**(b)**

**(c)**

**(a)**

**(b)**

**(c)**

According to the angle displacement responses in Figures 7 and 8, it can be seen that the maximum control voltage generated by TVSMC algorithms is 10?V, while that by RBF TVSMC algorithms is no more than 2.5?V. And the control voltage generated by the RBF TVSMC algorithms is more stable than the that by TVSMC algorithm. When we focus on the control accuracy, significant differences exist in steady-state regime of the closed-loop system as seen from the angle trajectory tracking responses in Figures 9 and 10. Figure 10 has more accurate trajectory tracking responses than Figure 9. According to angle displacement error responses of joint A1 in Figures 11 and 12, we can see that the angle error of joint stable at origin is within 40?s based on TVSMC algorithm, but based on RBF TVSMC algorithm it is not later than 3?s. The average error responses controlled by the TVSMC algorithm are about 0.3?rad, while for the RBF SMC algorithm, the average error is less than 0.03 rad, which proves the precision improvement of the RBF TVSMC algorithm.

#### 6. Conclusions

In this paper, the accurate tracking control problem of 2-DOF parallel manipulator in the presence of parameter variation and uncertain disturbance is investigated via the TVSMC technique. An effective method is provided for the parameter selection in the TVSMC framework. RBF NN based time-varying sliding mode control algorithm is proposed to address the global chattering problem and increase the control accuracy. Simulation results verify the effectiveness of the proposed algorithm.

This paper provides a trajectory algorithm of RBF neural network based time-varying sliding mode control for 2-DOF parallel manipulator system. And a compensator using RBF network is proposed to estimate the actuator nonlinearities and eliminate their upper boundaries. So that an RBF neural network controller can work properly requiring neither the evaluation of off-line dynamical model nor the time-consuming training process. The other article, “The Implementation to Servomotor Based on RBF Neural Network Equivalent to Sliding Mode Variable Structure Control,” provides a trajectory optimization algorithm for 2-DOF parallel manipulator system of servomotor which is assumed as one linear system. The algorithm of input control is divided into two parts: one is the sliding mode control with the linear control and the other is the nonlinear control of output of the RBF replacing the switching input.This paper is further research based on the other article, and it involves the three joints’ trajectories but the other article just focuses on one joint.

#### Acknowledgments

The authors would like to thank the editors and the anonymous reviewers for their valuable comments and constructive suggestions. This work is supported by the National Natural Science Foundation of China (61201248) and Youth Foundation of JUST (KYY11081).