Abstract

In this paper, nonlinear dynamical equations of the flexible manipulator with a lumped payload at the free end are derived from Hamilton's principle. The obtained model consists of both distributed parameters and lumped parameters, namely, partial differential equations (PDEs) governing the flexible motion of links and boundary conditions in the form of ordinary differential equations (ODEs). Considering the great nonlinear approximation ability of the radial basis function (RBF) neural network, we propose a combined control algorithm that includes two parts: one is a boundary controller to track the desired joint positions and suppress the vibration of flexible links; another is a RBF neural network designed to compensate for the parametric uncertainties. The iteration criterion of the RBF neural network weight matrix is derived from the extended Lyapunov function. Stabilization analysis is further carried out theoretically via LaSalle’s invariance principle. Finally, the results of the numerical simulation verify that the proposed control law can realize the asymptotic convergence of tracking error and suppression of the elastic vibration as well.

1. Introduction

Flexible manipulators are widely used in automation field including space station solar array and advanced robots, as well as mechanical manufacture. In contrast with their rigid counterparts, flexible manipulators own several advantages, such as smaller size, lower energy consumption, more workspace, lighter weight, and more portability. However, since the flexible manipulator is a large-span structure with great elasticity and geometrical nonlinearity, the vibration of the link induced during the motion is inevitable [1]. In addition, the parameters of the system are generally partially known and time varying. Therefore, it is hard to obtain the accurate mathematical model of flexible manipulators, which could further cause the control strategies to become even more complex. The dynamics of such class of systems is usually governed by a combination of ODEs, PDEs, and a set of boundary conditions. Conventional control algorithms for parameter uncertainty are generally constructed on dynamic models derived from the assumed mode method or finite element method [24], both using mode truncations. In spite of the convenience, some defects still exist in these methods, such as spillover instability caused by neglected higher modes, error of mode truncations, and higher order of the controller. To describe the elastic vibration of the flexible manipulator system more completely, it is rather suitable to establish a series of PDE equations to describe the dynamics of the system.

In view of the aforementioned problems, it is quite a challenging task to design a controller directly without knowing the system dynamics completely. Furthermore, due to the payload variation, the exact values of the payload mass or inertial during the operation are generally unknown. Boundary control is a feedforward control method based on PDE dynamic models and derives from ODE boundary conditions, which has been developed to obtain ideal control results for these PDE model-based systems. In this control method, both joint motor and force actuator are used as control inputs. Nguyen et al. used Lyapunov theory to design an exponentially stable boundary controller for the robot arm, which could avoid the spillover problem [5]. Liu et al. established a boundary control algorithm for a flexible double-link manipulator based on the PDE dynamic model [6]. Based on the infinite-dimensional dynamic model, He et al. utilized an output feedback method to represent a boundary controller with input backlash [7]. Jiang et al. established a boundary control algorithm for an output constrained flexible double-link manipulator and proved by a barrier Lyapunov function [8]. However, this study ignored the uncertainty of the joint mass, which also has much influence on the dynamics of flexible manipulator. In such cases, artificial neural networks (ANNs) are suitable to be used as an adaptive controller since it requires relatively less information of the system dynamics. According to its different mechanisms in control field, ANN can be divided into two categories: one is used to establish the model of the dynamic system [911], especially for nonlinear system [12]; another is efficient in predicting the dynamic behavior of the partially defined dynamic system with uncertain parameters [13]. Thus, many researchers focused on using ANN to design an adaptive controller for flexible manipulators in order to track the trajectory error of the payload [14, 15]. Besides, other cooperative control strategies interacted with ANN were proposed for control problems of flexible manipulators in previous studies [16], including ANN controllers combined with PID control law [17, 18] or sliding mode control law [19, 20].

Recently, RBF neural network (NN) applied in control filed has attracted more and more research interest. RBF NN was first proposed by Broomhead and Lowe who used it in the prediction of the chaotic time series [21]. Due to the great global approximation capability and learning ability of RBF NNs, many researchers studied its application in approximating the inverse dynamics of flexible manipulators [22]. Moreover, Rogers et al. applied RBF NN to generate an orthogonal basis to estimate the uncertain parameters [23]. He et al. proposed one RBF NN to approximate the estimated input dead-zone effect, and another RBF NN is used to estimate the unknown dynamics of the flexible manipulator [24]. However, two RBF NNs for different uncertain parameters, respectively, will increase the complexity of the control system. The synchronization between different networks also needs to be carefully considered. Therefore, using one RBF NN to compensate for all uncertain parameters provides a more efficient and concise way to control the flexible manipulator. To the best of the authors’ knowledge, none of the previous researchers have ever used RBF NN to build a combined controller with the boundary control method. In the present study, we first use RBF NN to compensate for the multi-parameter uncertainty, further realizing online learning during the manipulator operation. The uncertain function constructed in our work is time varying, which consists of two different parameters. In comparison with previous work, we note that the outlined novelty of this paper(1)Utilizes a more complete dynamic model containing multiuncertain parameters and build the co-influence function of the uncertainty(2)Combines the boundary control with RBF NN to deal with different parameter uncertainties

In this paper, Hamilton’s principle is used to derive the dynamic equations of a two-link flexible manipulator. The second joint mass and payload mass are both uncertain in the dynamic model. Then, the dynamic model is simplified under some reasonable assumptions. A combined control law including boundary control algorithm and adaptive RBF NN control algorithm is proposed to track the angular positions and suppress the vibration of the flexible links, respectively.

The rest of this paper is organized as follows. Dynamic equations of the flexible manipulator are derived in Section 2. Adaptive combined control law consisting of boundary control strategy and RBF NN is proposed in Section 3. Stability analysis and Lyapunov function of the control strategy are established in Section 4. Simulation study is carried out in Section 5 and some conclusions are given in the end.

2. Dynamic Model

Consider a two-link flexible manipulator holding a payload at its free end in a horizontal plane illustrated in Figure 1. is the global inertial coordinate system. and are body-fixed coordinate systems fixed on the first and second link, respectively. We assume that the two links are both modelled as Euler–Bernoulli beams, flexible only in a direction transverse to their principal longitudinal axes in the plane of motion. Consequently, neither out-of-plane deflections nor axial elongation exist in this system. The payload is a rigid body with mass . Link () has length and moment of inertia . and represent uniform linear density and uniform flexural rigidity of the flexible link , respectively. denotes the moment of inertia of the th link tip, where includes the moment of inertia of the payload. Motor i located on the joint has lumped mass and moment of inertia , where contains the mass of the tip of link 1. represents the input torque generated by motor , while is the input force generated by the actuator at the tip of link . stands for the absolute position vector of each point of link in the global coordinate system. is the elastic deformation of the point at position of link for time t, where . Here, we use superscript “dot” to represent the derivative with respect to time variable and superscript “prime” to denote the derivative with respect to spatial variable , i.e., and . Besides, subscript “E” expresses variable equal to , while subscript “0” expresses variable equal to 0, i.e., and . denotes the angular position of joint ; is the angular position of link . Notice that and . Since is relatively small, this term can be ignored in the following derivations, leading to [22].

To establish the dynamic model of the whole system, we apply Hamilton’s principle aswhere T is the kinetic energy of the system, U is the totally potential energy, and Q is the work by the nonconservative forces, i.e., the input torques and the actuator forces. The expressions of these three terms are given by equations (2)–(4):where and represents the position vector of the i th hub, while and . is the arc length of flexible link i, which can be written aswhere means that the displacement in position induced by joint rotation of both link 1 and link 2, represents the transverse displacement of the flexible link, and denotes the displacement at induced by the motion of the end of link 1. The integral term of equation (6) means that the displacement generated by the velocity of link 1 from time 0 to t. All vectors proposed above are in the global coordinate system.

Substituting equations (2)–(4) into equation (1) and applying integration by parts, we can obtain the dynamic model as well as boundary conditions of the flexible manipulator. To ensure that the boundary conditions only contain static boundary states, we further calculate the integrations in the above model with respect to spatial variable and neglect the higher-order terms such as that are relatively small. After some necessary derivations, we can derive the dynamic model of the flexible manipulator as follows.

Equations of the flexible motion:

Boundary conditions:where the auxiliary functions above are defined as

From the above derivations, we can see that two PDEs (7) and (8) represent the vibration equations of the two flexible links, while ODEs (11)–(16) represent the system boundary conditions. Equations (9) and (10) represent the relation between the joint angle and its corresponding input torque of link 1 and link 2, respectively. Then, we design a boundary controller updated via the RBF NN algorithm in the followings. The input torques of the controller are used to track the angular positions, while the input forces are proposed to suppress the vibration of flexible manipulators simultaneously. Thus, the counteractive effect caused by only torque input control can be avoided well.

Remark 1. To make the subsequent control law derivation and stability analysis more convenient, we further facilitate the boundary conditions of two PDEs (7) and (8) by differentiating with respect to :when , leading toso that we can obtain thatBy means of deriving on both sides of equations (5) and (6) with respect to time, it is straightforward to derive the following initial conditions (25) and (26):

Assumption 1. Given that the flexural displacements are sufficiently small, the transverse displacement could be considered as a linear function of the spatial variable , i.e.,

Property 1. Substituting Assumption 1 into the expressions of and , respectively, then substituting equation (24) into the results, we can obtain the additional property as follows:

3. Adaptive Boundary Control Strategy

3.1. Boundary Controller

In the proposed dynamic model above, the 2nd joint mass contains the total mass of the force actuator and the sensor which both install at the end of joint 1. Thus, is seen as uncertain in our study, too. Considering the parametric uncertainties above, i.e., the payload mass and the 2nd joint mass whose values have much influence on the motion of flexible links, and we first propose a boundary control algorithm to track the angular positions and suppress the vibration. Then, the RBF NN is utilized in the design of the adaptive controller, so as to compensate for the multi-parameter uncertainty. We assume that the following parameters could be measured in practice or calculated by the backward difference approach: , , , , , , and , for any (i.e., the above measurements are only changed with time ). Note that represents the transverse internal force at the tip of link .

Defining the position error of the joint angle as , we use the position error in the boundary control law to track the joint angles, where the subscript “d” denotes the desired values. Thus, the issue is to design such a controller that the angular positions and elastic deformations could ensure that

Based on the form of boundary conditions (16), (17), (19), and (23) and the subsequent stability analysis shown in Section 4, we give the boundary control law as follows:where , represent the control gains, which are all strictly positive constants. In equation (33), is the estimate value of the auxiliary function , which has the form of . and are the estimate values of and , respectively. We assume that the uncertain parameters and are both bounded, satisfying and . Therefore, is also bounded. According to the boundary control law (31)–(34), we can see that the parametric uncertainties have important influence on the auxiliary function, which further influences the accuracy of the input force f1 directly. Thus, considering the good nonlinear approximation ability of the RBF NN, we further utilize it to design an adaptive algorithm to approach the uncertain function .

3.2. RBF NN Adaptation Algorithm

Since the RBF NN has good ability to approximate nonlinear functions, it is utilized to compensate for the parametric uncertainty in this Section. In order to update the value of the estimate function adaptively during the control strategy, here we use the real value of as our objective function while the estimate value of can be the output function of the RBF network. RBF NN is a forward network, using RBF as the basis of hidden neurons to form the hidden layer space. The structure of the proposed RBF NN is shown in Figure 2. It consists of three components, i.e., input layer, hidden layer, and output layer, respectively. The Gaussian function is chosen as the basis function in the RBF NN.

In Figure 2, we can see that the input activation is defined as , and the Gaussian function is defined as . is the basis center vector, ; represents the basis width of the jth Gaussian function, . Both and have the same dimensions as the input . represents the jth element of weight vector so that

Define that the optimal weight matrix aswhere is the set of W. Thus, the auxiliary function can be rewritten as , where is the network approximation error, . is the given network approximation accuracy, satisfying . Therefore, the output of the network can be defined as the estimate value , which has the following expression:where and is the estimate value of the weight vector . Then, the estimate error of uncertain function is

The training process of the RBF NN is divided into three steps. (1) Determine the initial input and output vectors of the network. (2) Determine the basis centers and widths of the Gaussian function. (3) Determine the weight matrix between the hidden layer and the output layer. Since the end of each link has the largest amplitude of vibration, the performance index minimized by the RBF NN is given as follows:

Here, we use the control error as the input vector so that we have . The weight matrix of the RBF NN is updated with the following adaptation law, which is given aswhere is the learning rate of the network and . Here, we introduce the parameter to offset the approximation error of the network and . Substituting the RBF NN adaptive law (41) into the boundary control law (31)–(34), we can derive the adaptation closed-loop control system as well as Theorem 1, which is shown in Section 4. It means that no offline training or learning process is needed for the designed RBF NN and the approximation could be completed during the operation of the flexible manipulator. To make the consequent stable analysis more clear, here we introduce Lemma 1 [24] as follows.

Lemma 1. Suppose there are two matrices and , satisfying and ; then, we have

4. Stability Analysis

Theorem 1. The combined adaptive control law (31)–(34) with the adaptation law (41) can ensure that the asymptotic stability and uniform convergence of the closed-loop system, i.e.,

Proof. To prove the asymptotic stability of the adaptive boundary controller, we use the Lyapunov direct approach. Combined with LaSalle’s invariance principle, here the Lyapunov direct approach is extended to infinite-dimensional space [25]. Different from Ref. [6], the tip mass of link 1 is also uncertain in this paper. Hence, the combined uncertain function is utilized to describe the co-uncertainty of the two parameters. We need to prove that the proposed RBF NN adaptive law can ensure that the uncertain function will converge to its optimal value, i.e., the estimate error can converge to zero as time . Substituting the control law (31)–(34) into equations (9), (10), (12), and (15), we can derive the closed-loop dynamics of the system:whereSubstituting the expressions of and into equations (7) and (8), respectively, then putting (44) and (45) into the results, we can obtainTo transfer the closed-loop system into the state space, we define the following variables of state space asIntroducing a state vector , we can rewrite equations (46)–(50) in the following compact form:where vector is defined in the Hilbert space , and . represents the infinite linear operator, i.e.,where is a positive constant. represents an infinite-dimensional linear operator defined aswhereConsider the boundary conditions in equations (11) and (14), the domain of the linear operator and arewhereThen, the Lyapunov function of the whole system is defined aswhereTaking into account of the approximation error , we therefore design term in the Lyapunov function. Note that and . According to Lemma 1, we haveWe can see that V is obviously positive definite. Furthermore, we need to guarantee the stability of the Lyapunov function. Differentiating V with respect to time and then substituting equations (41)–(46) and boundary conditions (22)–(29) into the result, we can obtain the derivative of the Lyapunov function:Since the network error is bounded and the RBF control parameters satisfy , substituting (38) and (39) into equation (76), we obtainSubstituting the RBF NN adaptive law (41) into equations (71) and properly choosing satisfieswhere is the maximum value of the estimate mass of the payload and is the minimum mass of the joint . Then, we can guarantee thatEquation (73) shows that is a bounded function and the energy of the whole system is dissipated. Based on Lumer-Philips theorem, represents that the operator is dissipative. Then, we prove that there exists satisfying range .
Define , setwhereFrom the equations of state space above, we can solve the vector by integration. Thus, the abstract equation has a unique solution , which means that there exists that maps into . Since the mapping from into is compact, we can obtain that the operator is also compact. Considering the equation,Based on contraction mapping principle, when , equation (76) has a unique solution . That means operator holds for any . According to Lumer-Phillips principle, operator can generate a C0-semigroup in . Furthermore, since is a compact operator, the spectrum of consists of isolated eigenvalues completely. For any belongs to the resolvent set of , the operator is compact. Thus, the solution trajectories of (54) are precompact in .
Now, we can conclude that the following three conditions hold: (1) the energy of system (54) is dissipative; (2) the operator can generate a C0-semigroup in Hilbert space ; (3) the solution trajectories of the system are precompact in . According to LaSalle’s invariance principle, the control system (54) is asymptotically stable if could derive .
Let ; we have and , i.e., , , and . Substituting the results into the flexible motion equation, we can obtainFrom (77), we can derive that . Based on the variable separation method, let the solution be ; then, the transversal deformations of the two flexible links can be written asi.e., . Substituting the boundary conditions (11), (15), and (17), we can get the solution of equation (78) that , which means . Thus, the system performance can be asymptotically stabilized with properly choosing the control parameters, leading to the tracking error , , and as .

5. Numerical Simulation

In the simulation, the performance of the dynamic system under the proposed adaptive boundary control law is analyzed. We use the finite difference approach in this Section to solve the closed-loop control equations in form of PDEs. Spatial central difference and time forward difference are used in the simulation. The time step and space step are set as and , respectively. The nominal parameters of two flexible links and the rigid payload are given as

The initial values including the flexible manipulator state and the velocity of joint angles are all set to be zeros. Besides, the parameters used in the control algorithm are presented as , , , , , and . The parameters used in the RBF NN are and . So that the stable conditions derived in Section 5 can be satisfied, i.e.,

We design 6 neurons in the hidden layer in the form of Gaussian function, where the initial values of the weight matrix, basis width vector, and center value matrix are shown as follows:

The simulation results are demonstrated in Figures 38. Figure 3 shows the two actual joint angles and ; Figure 4 compares the estimate value of the RBF NN and the real value of the auxiliary function. Figure 5 represents the flexural displacement , while Figure 6 shows the flexural displacement ; Figure 7 shows the two input torques applied at the joints; Figure 8 shows the two input forces applied at the end of link 1 and link 2.

From Figures 3, 5, and 6, we can see that the joint position errors of the two links converge to zero while the flexural displacements are also suppressed under the combined adaptive control law. Figures 5 and 6 show that the vibration during the motion of the links is small, while the peak values of our method are slightly larger. That means the vibration is suppressed well. The larger peak value in the process is generated by the energy concentration of the control system, leading to less energy in vibration. Figure 3 shows that the RBF NN adaptive algorithm can enable the uncertain function approach to its real value if the parameters are chosen properly. Besides, it takes about 1s to track the uncertain function, realizing effective compensation for uncertain function. However, the approximation results of the RBF NN are sensitive to the initial values, which have an important influence on the compensation accuracy. The simulation results are in accordance with the theoretical analysis carried out in Section 4, which illustrates that the validity and effectiveness of the proposed adaptive combinational control law with RBF NN.

To further validate the effectiveness of our control method, we use another dynamic model derived in Ref. [6] and compare our work with the result of pure boundary control method. The relevant simulation parameters are listed in Tables 1 and 2.

The true value of the uncertain end mass is 2 Kg. Through Tables 1 and 2, we can see that k5 in our control algorithm should satisfy . So, we carefully adjust the control gains in our algorithm and choose . By properly tuning the RBF NN to approach the uncertain function , we can have the following simulation results.

Compared with pure boundary control proposed in Ref. [6], we can see that the combined boundary control method with RBF NN converges faster, using less than 5s to up to its real value. Figures 9(c) and 9(d) show the residual vibration of the two flexible links during the flexible motion is also effectively suppressed. As for the multiparameter uncertainty, our RBF NN coincides with the uncertain function from 3.2 s to 15 s, while the pure boundary condition consumes about 6 s. The comparison above means that our combinational control law has a faster learning ability under same accuracy.

6. Conclusions

In this paper, a distributed parameter PDE model with ODE boundary conditions of the flexible manipulator is established first based on Hamilton’s principle, in order to avoid the possible spillover instability. The boundary conditions derived from the dynamic model are further simplified. Then, we propose an adaptive boundary control law to track the desired joint positions and suppress the vibration of flexible links simultaneously. With the combinational consideration of all uncertain parameters, namely, the joint mass and tip mass, we put forward a function to represent these parameters and design a RBF NN to approximate the parametric uncertainty. No offline training or learning process is needed for the proposed RBF NN, which means the approximation process is following the operation of the flexible manipulator. The extended Lyapunov direct approach is used to analyze the asymptotic stability of the combined control scheme. Simulation results illustrate that the flexible manipulator can track the desired joint angles and the vibration of flexible links is suppressed well by the proposed control law. Apart from our present work, other following aspects could be extended in further studies. RBF NN has its own drawbacks, such as relying on the initial values or overfitting, causing fluctuations of the control inputs. Due to the sources of uncertainty, distributed parameters are other factors needed to be considered in adaptive control area.

Data Availability

The data used to support the findings of the study can be 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 supported by National Natural Science Foundation of China, no. 51775270, and a project funded by the Priority Academic Program Development of Jiangsu Higher Education Institutions.