Abstract

This paper presents a stability analysis for LNDS (Lagrangian nonlinear dynamical systems) with dynamic uncertain using a PID controller with external disturbances rejection based on attractive ellipsoid methods, since the PID-CT (proportional integral derivative computed torque) compensator has been used for the nonlinear trajectory tracking of an LNDS, when there are external perturbations and system uncertainties. The global system convergence of the trivial solution has not been proved. In this sense, we propose an approach to find the gains of the nonlinear PID-CT controller to guarantee the boundedness of the trivial solution by means of the concept of the UUB (uniform-ultimately bounded) stability. In order to show the effectiveness of the methodology proposed, we applied it in a real 2-DoF robot system.

1. Introduction

The mathematical model for many physical (mechanical and electrical) systems is described by a set of nonlinear ordinary differential equations. Commonly, these mathematical models are described by a trajectory optimization procedure or by Lagrangian (Euler-Lagrange) dynamic equations [1, 2]. The main control problem for these systems involves some concepts of stability such as asymptotic, exponential, and uniform stability, among many others (see, e.g., [35]). Moreover, the high precision position and velocity control in Lagrangian systems are a fundamental and important control problem. In practice, the problem of tracking a reference trajectory where external disturbances, parameter uncertainties, or dynamical uncertainties are present has received relatively less attention in the literature. Traditionally, the methods to stabilize the Lagrangian systems are based on conventional PD (proportional derivative), PD+ (PD with gravity compensation), PID (proportional integral derivative), and PID-CT compensators. It is well known that a PD controller can guarantee only asymptotic stability of Lagrangian systems in the regulation case. For the control theory viewpoint, it is well known that the steady-state error can be dissipated by introducing an integral compensator to the PD control or PID compensator. Nevertheless, in order to remove steady-state error caused by external disturbances, uncertainties, and noise, the integrator gain has to be increased. Nowadays, in industrial applications industrial linear PIDs are still used; however under certain circumstances, the stability of the closed-loop system with traditional PID is not guaranteed (from theoretical viewpoint). Thus, a high number of authors have been studying the global asymptotic stability around the origin of conventional compensators using the LNDS and the LaSalle’s invariant principle theorem [3, 4, 6, 7]. However, when the LNDS has unknown bounded external perturbations, the traditional analysis does not have a good efficiency. Besides, the transient performance and stability problems in the integrator theory analysis are also difficult to deal with for industrial linear PID controller. In order to ensure asymptotic stability of the PID controller, a traditional method is to modify the linear PID into a nonlinear one.

Nonetheless, it is well known that in many theoretical and practical applications the PID compensator, under satisfactory gain tuning, provides a workable trajectory enforcement. Moreover, from a certain point of view, the PID compensator, without full system description, achieves some robustness properties [6, 810]. Based on the above assumptions and after an exhaustive research in the area of classical closed-loop controllers for LNDS we are inevitability addressed to the next question: under which conditions the classical PID is workable? Unfortunately, this is an open question because the classical PID compensator in presence of strong nonlinearities (like LNDS, tribology effects, external perturbations, or dynamic uncertainties) involves difficulties in dynamical analysis (see, e.g., [11, 12]). Even more, the qualitative operation of PID closed-loop solution of LNDS plays an important role in many engineering practical applications such as mechanical and power systems [7, 12, 13]. Although, for the classical linear PID, it is easy to prove asymptotic stability [11], it is not the case for the nonlinear system (this is the case for control analysis of LNDS or the Geometrical viewpoint (see [14, chapters 10-11] and [15])). So, in [14, 15] the authors established exponential stability only for the velocity error and feedforward compensator for LNDS, but this analysis does not tell us what happend with the external perturbations. In this work, we intend to define UUB-stability (for all system states) on the class of perturbed LNDS. Although PID control has been used in industrial robots for a long time, there is few explicit stability analysis on it. A wide variety of authors ensure asymptotic stability, but they do not take into account a robust analysis.

Nowadays, the development of high-performance robust control as well as its physical implementation is one of the main problems in the control theory, because in the experimental applications, we require a workable instrument to design compensators, which are able to operate successfully under consideration of external perturbations (see, e.g., [1618]). This paper deals with the trajectory tracking control problem for LNDS, applied for a two-degree-of-freedom (DoF) benchmark robotic manipulator. Here, we consider the PID-CT for LNDS with unknown but bounded external perturbations. This kind of perturbation belongs to the class of nonlinear functions so called quasi-Lipschitz functions. This class of functions permits to consider strong nonlinearities, like tribology effects and relay effects (such as the case when a robot task is to take an object from one point to another, which induces a switch on the parameters, e.g., mass and length to the center of mass). Even more, we suggest a robust analysis for a class of LNDS with bounded disturbances. Thus, in this paper we give an analysis of UUB-stability for LNDS with unknown but bounded external perturbations from a class of quasi-Lipschitz functions.

The outline of this paper is as follows. In Section 2, we present a basic definitions and the problem formulation. Next section presents the main contribution of this work, based on the robust analysis of PID-CT compensator for Lagrangian systems. In Section 4, we obtain numerical results which define a two-link manipulator trajectory track. Finally, we present the conclusions.

2. Basic Definitions and Problem Formulation

In this section, we introduce the mathematical and LNDS mechanical tools needed for the remainder of this work.

2.1. Lagrangian Dynamics
2.1.1. Lagrangian Classical Model

The dynamic equation for mechanical or electrical systems can be obtained via the Newton’s or Kirchhoff’s laws approach, for -DoF system or like in this case from the Lagrangian. These equations are obtained by the Lagrangian equation (for mechanical viewpoint). The general equation for the robot manipulator is given aswhere the position coordinates with their associated velocities and accelerations are controlled by the vector of driving forces. The Coriolis (centripetal) forces are , and the gravitational forces are denoted by . The dynamics (1) presents some interesting properties which will be useful in establishing the stability control analysis (see the Appendix).

2.1.2. Lagrangian Equations in First ODE Form

Observe that the general Lagrangian equation (1) can be represented in the first-order extended system as follows:where , is the control input, and are the initial conditions. From Lagrangian formulation under basic change of variables , , , and , one has the mathematical model as

2.1.3. The Uncertain External Perturbation

The external perturbations, affecting the system dynamics, are supposed to be bounded. By including this expression on the LNDS, we have where the external perturbations have the following property:for positive scalars , . Even more, it is admitted to have an unknown nonlinearity from a given class so-called quasi-Lipschitz functions [19]. Then, the nonlinearities are from the class of quasi-Lipschitz functions.

Definition 1 (the class of quasi-Lipschitz functions [19]). A vector function is said to be from the class of quasi-Lipschitz-functions if for any , it satisfies the inequalityNotice that(i)the growth rate of as is not faster than linear;(ii)if , the class is the class of Lipschitz functions.This class of nonlinear functions may include discontinuous and hysteresis functions as well. Here, the perturbation under dynamics has the following property:which implies that . The scalar, , is given by the bounded property of the inertia matrix (see the Appendix). Finally, the Lagrangian equations in Cauchy form (2) in presence of external perturbations (4) have the following form: In this work, we allow the external perturbations from a class of quasi-Lipschitz functions. Now, our control objective is to stabilize (8) by using the PID-CT compensator.

2.1.4. PID-CT Configuration

In this work, the structure of the proposed control action is as follows: with the gain matrices , , and ,   as dynamics error, where and are the deviation position and velocity, respectively, and . In the classical robotics control strategies, the control action (9) is known as PID-CT compensator and it is well known that it has robustness properties.

2.2. Problem Formulation

In this section, we explain the problem formulation, which states that all system trajectories arrive to a neighborhood of a desired trajectory. This is by the following facts: When it is present noise in the position measurements (e.g., where the velocity and acceleration are estimated, by definition, from position measurement); possible change or switch in the system parameters, the time varying or like relay change on the parameters; external disturbances, the link contact with the external environment; dynamic uncertainties, Maxwell-slip friction model, Stribeck effect in sliding, frictional lag, varying break-away forces, stick-slip behavior, and among others tribology effects. For this reason, in this work, we approximate the error tracking path of the nonlinear system (8) to an AE (attractive ellipsoid).

Definition 2 (attractive ellipsoid). One says that the ellipsoid (with the center in the origin and with the corresponding ellipsoidal matrix ) is attractive for some dynamic system if for any of its trajectories the following property holds: Remark that all trajectories of a dynamic system remain bounded, if for this system there exists an attractive ellipsoid . The existence of an AE is the generalization of the UUB-property (uniform-ultimately boundedness) discussed in [5]. Our main goal is to design a robust feedback based on PID compensator; moreover, the compensator rejects disturbances without loss of tracking trajectories paths.

3. On the UUB-Stability of the PID-CT for LNDS

The robustness of the PID compensators on dynamical systems is a classical topic in control theory. Here, we present a stability sketch from LNDS in closed-loop with PID-CT. It is well known that the kinetic energy plays an important role for stability analysis for LNDS. In this paper, we use the energy function based on kinetic energy as follows: where the matrix is a positive definite matrix and its structure is defined by matrix subblocks as follows:The following theorem presents the analysis for global stability of the PID-CT of system (8) under the specific energetic function (12).

Theorem 3 (on the energy function of the PID-CT). If the tuning of the control gain matrices , , and of the control action (9), under given matrix and positive scalars , , is such that the following LMI constraint holds: then the energy function (12) has the following property:

The proof of all statements is given in the Appendix.

Remark 4. From Schur’s complement it is easy to see that a necessary condition for the linear matrix inequality solution (14) provides positive definite matrix for some , , and .

Notice that the extended trajectories converge to an invariant ellipsoid centered on the origin with ellipsoidal matrix . In other words, as . This ellipsoid is approached with the exponential rate fulfilling with Moreover, notice that the selection of matrix implies a family of possible ellipsoidal matrix configurations and may be selected in order to minimize the energy function (12). In further works, we will study this case from an optimization point of view [19].

Remark 5. It is well-known that the concept of an energetic function was rigorously formalized by means of the Lyapunov stability theory as well as the notion of a positive invariant set. Here, we just notice that the set of solutions , and is given by Theorem 3, such that (15) holds, and the storage function (12) is not obligatory monotonically nonincreasing. That means that is not a Lyapunov function for the considered system at least for this time-interval.

Below, we suggest the construction of a Lyapunov-Like function whose derivative on the trajectories of the considered controlled system is strictly negative outside of an ellipsoid. Which implies that any trajectory that begins outside the ellipsoid (15), this returns asymptotically within the ellipsoid. In other words, UUB-stability is guaranteed if the ellipsoid is an attractive region. The above is set to the next result.

Theorem 6 (on the attractively of the ellipsoid). Under the assumption of Theorem 3, the function is a Lyapunov function, and then the following property is globally satisfied, which exactly means that the set is a positive invariant region.

Notice that the results of Theorem 6 involve the so-called UUB-property on the solution of the system trajectories (see [5]), satisfying the problem statement (15), so we may conclude that the PID-CT compensator, for a nonlinear system (8), is robust under external perturbations.

4. Experimental Validation

In order to show the contribution of the results obtained in this paper, we obtain the PID-CT gain matrices under two approaches. The first one is given by classical Ziegler-Nichols method (popular technique for tuning controllers that use PID actions [11, 12]), while the second one is given by LMI solution (14) introduced in this paper (see Theorem 3). The system to be controlled is a benchmark classical system (the second-link vertical planar robot shown in Figure 1, whose dynamics are given in the literature; see [7]). The model of the motion dynamics is a set of rigid bodies connected and described by a set of generalized coordinates . The derivation of the motion equations is given by (1) and by applying the methods of the Lagrange theory, involving explicit expressions of kinetic energy and potential energy, where we obtained the standard general equation (1). For this robot study case the position, velocity, acceleration, and control input (, , , and , resp.) belong in . Under the change of variable , , and , the nonlinear system described in the first-order Cauchy form (2) is given as follows: Now the parameters of this manipulator (given in the international system of units) are , , , , and , with the total mass of link-1 , the total mass of link-2 , the moment of inertia of link-1 , the moment of inertia of link-2 , the distance to center of mass of link-1 , the distance to center of mass of link-2 , the length of link-1 , the length of link-2 , and the acceleration of gravity constant . The distance to center of mass is defined by and , respectively. Here, we consider that the dynamics are given by where the friction vector forces include a low (the term low friction is defined when the friction coefficients belongs in the set ) Coulomb and Viscose friction, . The initial condition and the control objective are the same as those we present in the previous control shape. Notice that the dissipative vector forces belong in the class of quasi-Lipschitz functions; see Definition 1. For the external disturbances rejection, we introduce a disturbance at time = 10 seconds. The perturbation structure is as follows:where the function is the characteristic function at time [20]. This considered disturbance is because, from the experimental point of view, it introduces a significant deviation than the switched parameter value. For example, if there exist a change of some link mass, it implies a change on the center of mass of each link. Then, the LNDS with dissipative forces (20) can be rewrite as the perturbed form (8). Here belongs in the quasi-Lipscitz nonlinear functions (6) with and the constants and . The control process is given by regulation of the desired reference, and this one is given by the Heaviside step function given by the following equation:moreover, for the control point of view, we implement a regulation point-to-point at the work space. The first point to go is at and meters at time interval seconds, the second follows a trajectory , with for time interval , , respectively, and in the time seconds, we induce an external perturbation with a duration of 0.5 s. The initial conditions of the system for both control examples are The gain matrices given by method of Zingler-Nichols (to obtain the control gain via Zingler-Nichols method, we take into account the linearization of the first-order mathematical model (2) around the center of the area of the desired trajectory tracking) areIn order to obtain the PID-CT gain matrices, we used the MATLAB Toolbox SeDuMi to solve the corresponding constrained LMI problem (14); see for example [21]. Finally, we obtain the gain matrices as follows:

Figure 2 depicts the evolution of steady-state errors . Figure 4 depicts the control signals and for both actuators. Finally, Figure 3 shows how after the induced perturbation the conventional linear PID (red solid line) cannot reject the perturbation, while on the other hand, for the case where the gains were tuned by the proposed methodology (blue solid line), the controller is able to reject the perturbation and to track the desired trajectory.

Clearly, the robust PID control can successfully compensate the uncertainties such as friction, gravity, and other uncertainties of the robot.

5. Concluding Remarks

An analysis of global UUB-stability for Lagrangian systems has been presented in this paper. In order to perform the robust stability analysis, we used like-passivity injection based on the dynamical properties of the system and in the characteristics of the quasi-Lipschitz functions. Theoretical robust analysis stability of PID-CT compensator under external but bounded perturbations has been done successfully. Experimental validation was conducted by perturbations between the robotic arm positions and . Here, we have defined a methodology to obtain the , , and gains matrices of the PID-CT compensator. Even more, we used an storage function based on the trajectory error in order to guarantee the asymptotic convergence. A comparison between the Ziegler Nichols algorithm and the algorithm proposed showed that it has a better performance in order to reject external disturbances and dynamic uncertainties. Additionally, the maximal overshot of the closed-loop system is given by the ultimate bound of the stability analysis; this is because once the trajectory arrives to the ellipsoid, this remains there. Thus, the main result of this contribution opens the door for the study of output feedback compensators for LNDS. Even more with this result, we will study the case when the dynamical system has not external perturbation and dynamic uncertain, waiting to probe exponential stability (see expression (16)).

Appendix

Properties of Lagrangian Mechanical Systems

The dynamic equation for Lagrangian mechanical systems (1) has the following interesting properties. Inertial matrix is positive and definite, and and have the following properties [7, 13, 14].(i)There exist some positive constants such that where denotes the by identity matrix. So, matrix exists and it is positive definite. (ii)Matrix has a relationship with the inertial matrix as follows: In fact, is the skew-symmetric property, where is a matrix, univocally defined by .

Proof of Theorem 3. The time derivative of the energy function is given as follows: or in extended formnotice that, from Lagrangian formulation (3) and from dynamical error, we have using the kinetic-Corolis matrices properties (A.2) on the right hand side of (A.3), we have thatand using the control law (9) we obtain the following:then the time derivative yields asThis expression contains the skew-symmetric property, and it reduces the expression as follows: adding and subtracting the energetic function on (A.10), we obtainand realizing the same procedure over , with in the last equation under assumption that then we have the following expression: where the matrix has the following nonlinear-matrix format: Now, if we apply the upper bounds properties from the Lagrangian formulation (A.1), this nonlinear matrix becomes a bilinear one (see the expression (14)). Then, the energy function time’s derivative can be defined as follows: note that if the matrix is positive and definite, then the energetic function time’s derivative (A.3) holds the following inequality: and its solution on the time interval defines the next inequality (the variable defines a funny change of variable on time, and defines the initial condition of the energetic function):and its final value comes to the expression (15), which means that all trajectories of the extended vector converge to an attractive ellipsoid. The proof is complete.

Proof of the Theorem 6. Notice that the function is not differentiable in the point , but the function is differentiable everywhere. Based on this fact and following [22], we may conclude that the functionis also differentiable everywhere. That is becauseUsing the inequality (A.16), we obtainwhich proves (18). Since the nonnegative function is monotonically nonincreasing, by the Weierstrass theorem, it has a limit; that is, there exists Integrating (A.20) implies thator equivalently thatwhich, for and in view of (A.18), leads to the following conclusion:The convergence of the last integral permits to state that there exists a subsequence such that . But the sequence converges (see (A.21)), and hence all its subsequences have the same limit point, which proves that , and, as a result, we have that is a positive invariant ellipsoid, and then the proof is complete.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.