#### Abstract

Nonlinear synthesis is developed to solve the tracking control problem restricted to a two degrees-of-freedom (DOF) underactuated mechanical manipulator where position measurements are the only available information for feedback. A local controller is derived by means of a certain perturbation of the differential Riccati equations, appearing in solving the control problem for the linearized system. Stabilizability and detectability properties of the control system are thus ensured by the existence of the proper solutions of the unperturbed differential Riccati equations, and hence the proposed synthesis procedure obviates an extra verification work of these properties. Due to the nature of the approach, the resulting controller additionally yields the desired robustness properties against unknown but bounded external disturbances. The desired trajectory is centered at the upright position where the manipulator becomes a nonminimum-phase system. Simulation results made for a double pendulum show the effectiveness of the proposed controller.

#### 1. Introduction

The focus of this paper is to solve the tracking control problem for a 2-DOF underactuated mechanism via nonlinear -control for time-varying systems [1] where joint position measurements are the only available information for feedback. Further research applications in the control of underactuated systems have gone in many directions, for example, fully actuated robots where it is required that motion continues in spite of a failure of any of its actuators. Other typical examples are the systems where its desired operation mode is oscillatory such as biped walking robots where a periodic trajectory is required to produce a coordinated motion (see, e.g., [2]); hopping robots where thrust, decompression, flight, and compression phases are also governed by a periodic motion (see, e.g., [3]); tracking control in drive systems with backlash where usually the position sensor is placed on the side of the motor instead of the side of the load (see, e.g., [4] and [5, page 456]); juggling systems [6]; among others.

*Objective*

In the present paper, we address the output tracking control problem in *nonminimum-phase* underactuated mechanical system. Representative works in this topic include orbital stabilization of underactuated systems by means of reference models as generator of limit cycles (see, e.g., [7–10]). In particular, this paper is devoted to the solution of a periodic balancing problem for a two-link underactuated mechanical manipulator introduced in [7], whose first link is not actuated whereas the second joint is actuated.

*Contribution*

For nonlinear mechanical systems, tracking control problem is known to be more difficult than stabilization mainly for underactuated systems whose initial conditions are close to an unstable equilibrium point. The central problem in nonminimum-phase underactuated systems, solved here, is the specification and design of output feedback inner-tracking controllers to drive the output (joint position) to a nontrivial reference trajectory in spite of external disturbances.

The prior work on the tracking control of nonminiminum-phase systems includes, among others, the results of Consolini and Tosques [11] and Berkemeier and Fearing [7] who developed an exact tracking control via state-feedback. Wang [12] partially addressed the above problem by considering the regulation problem in linear systems. A unified treatment of the control of such systems via output feedback can be found in [13]. In the present paper, the nonlinear control approach is extended for the time-varying nonlinear nonminimum-phase systems applied to tracking control problems for underactuated mechanical systems.

*Methodology*

The method we use for defining a desired trajectory for underactuated system is based on the work of Berkemeier and Fearing [7]. The method was successfully applied to derive a set of exact trajectories for the nonlinear equation which involve inverted periodic motion. This method was selected because the desired trajectories are at least twice-differentiable satisfying the smoothness assumption imposed on the system for the development of control theory (see, e.g., [14]).

The above problem is locally resolved within the framework of nonlinear -control methods from [1, 14–16]. Those methods do not admit a straightforward application to the problem in question because in contrast to the standard case, a partial state stabilization (i.e., asymptotic stabilization of the output of the system) is only required provided that the complementary variables remain bounded. Their modification developed in the present paper is of the same level of simplicity, and it follows the common practice of proper solution to corresponding differential Riccati equations which is performed numerically.

The aforementioned synthesis took its origins from game-theoretic approach from Basar and Bernhard [15], and the -gain analysis from Isidori and Astolfi [14]. It followed the line of reasoning, used in Orlov et al. [17], where the corresponding Hamilton-Jacobi-Isaacs expressions were required to be negative definite rather than semidefinite.

In contrast to the standard -gain analysis from Isidori and Astolfi [14] and Van der Shaft [18] the resulting design procedure imposed the nonstabilizability-detectability conditions on the control systems. Under appropriate assumptions the existence of suitable solutions of Riccati differential equations, appearing in solving the control problem for the linearized system, was shown to be necessary and sufficient condition for a local solution of the control problem to exist. This mean that the verification of stabilizability and detectability conditions will be not required. A local solution was then derived by means of a certain perturbation of the Riccati equations when these unperturbed equations had bounded positive-semidefinite solutions. Thus, the local stabilizability and detectability properties of the control system were ensured by the existence of the proper solutions of the unperturbed Riccati equations, and hence the synthesis obviated any extra work on verification of these properties.

*Organization of the Paper*

The paper is organized as follows. Background materials on time-varying -control synthesis are presented in Section 2. The tracking control problem of a 2-DOF underactuated system and its state equations are introduced in Section 3 while desired trajectory synthesis procedure is also discussed. A nonlinear -output control for time varying systems is also constructed. Performance issues of this controller are illustrated in a simulation study in Section 4. Finally, Section 5 presents conclusions.

#### 2. Background Material on Nonlinear -Control of Time-Varying Systems

##### 2.1. Basic Assumptions and Problem Statement

Consider a nonlinear system of the form where is the state space vector, is the time, is the control input, is the unknown disturbance, is the unknown output to be controlled, and is the only available measurement on the system. The following assumptions are assumed to hold.

(A1)The functions , , , , , , and are piecewise continuous in for all and locally Lipschitz continuous in for all . (A2), , and for all . (A3), , , .These assumptions are made for technical reasons. Assumption (A1) guarantees the well-posedness of the above dynamic system, while being enforced by integrable exogenous inputs. Assumption (A2) ensures that the origin is an equilibrium point of the nondriven () disturbance-free () dynamic system (1). Assumption (A3) is a simplifying assumption inherited from the standard -control problem.

A causal dynamic feedback compensator with internal state , is said to be globally (locally) admissible controller if the closed-loop systems (1)-(2) are globally (uniformly) asymptotically stable when .

Given a real number , it is said that systems (1), (2) have-gain less than if the response , resulting from for initial state , , satisfies for all and all piecewise continuous functions .

The time-varying -control problem is to find a globally admissible controller (2)-(3) such that -gain of the closed-loop systems (1), (2), (3) is less than . In turn, a locally admissible controller (2), (3) is said to be a local solution of the -control problem if there exists a neighborhood of the equilibrium such that inequality (4) is satisfied for all and all piecewise continuous functions for which the state trajectory of the closed-loop system starting from the initial point remains in for all .

##### 2.2. Local State-Space Solution

Assumptions (A1)–(A3) allow one to linearize the corresponding Hamilton-Jacobi-Isaacs inequalities from [1] that arise in the state feedback and output-injection design thereby yielding a local solution of the time-varying -control problem. The subsequent local analysis involves the linear time-varying -control problem for the system where Such a problem is now well understood if the linear system (A.1) is stabilizable and detectable from and , respectively. Under these assumptions, the following conditions are necessary and sufficient for a solution to exist (see, e.g., [16]).

(C1)There exists a bounded positive semidefinite symmetric solution of the equation such that the system is exponentially stable. (Throughout, a time-dependent -matrix is positive semidefinite if and only if for all -vectors and all time instants whereas is positive definite if and only if for all and , and some constant . Respectively, is bounded if and only if for all and some constant . )(C2)There exists a bounded positive semidefinite symmetric solution to the equation specified with , such that the system is exponentially stable.According to the time-varying bounded real lemma [17], conditions (C1) and (C2) ensure that there exists a positive constant such that the system of the perturbed differential Riccati equations has a unique positive definite symmetric solution () for each where .

Differential equations (11) and (12) are subsequently utilized to derive a local solution of the nonlinear -control problem for (1). The following resuls is extracted from [1].

Theorem 1. *Let conditions (C1) and (C2) be satisfied, and let be the corresponding positive solution of (11), (12) under some . Then the output feedback
**
is a local solution of the -control problem.*

In what follows, Theorem 1 is used to design an tracking controller for the underactuated system.

#### 3. -Control of Underactuated System

##### 3.1. Problem Statement

Consider the equation of motion of an underactuated mechanical system given by the Lagrange equation where is a vector of generalized coordinates where and are the unactuated and actuated joints, respectively; is the vector of applied joint torques; is the input matrix that maps the torque input to the joint of coordinates space; is the unknown disturbance vector to account for destabilizing model discrepancies due to hard-to-model nonlinear phenomena such as friction and backlash, is the time; is the symmetric positive-definite inertia matrix; is the vector that contains the Coriolis, centrifugal, and gravity torques. Appendix A presents the dynamic model of the double pendulum.

The *control objective* is to design a nonlinear tracking controller that ensures
to be achieved asymptotically, while also attenuates the influence of external disturbances. Here, is a continuously differentiable desired trajectory.

##### 3.2. The Desired Trajectory

We point out that the present formulation is different from typical formulation of output tracking and regulation [1, 19], where the set point or the reference trajectory is a priori given because underactuated systems are not feedback or input-state linearizables due to its complexity. Therefore, special attention is required in the selection of the desired trajectory for the system under study. There are a few procedures to find desired trajectories for underactuated systems in literature [7, 8, 10, 20, 21], and under reasonable hypotheses all of them can be used to obtain a desired trajectory. The methodology from [7] is used here, where a set of exact trajectories is derived for the nonlinear equation of motion which involves inverted periodic motion. To this end, let us consider the desired trajectory which is solution of where are the desired joint positions and velocities, respectively, and is the control input that makes the desired virtual output remains at zero for all when starts at is a constant parameter that parameterizes the equilibrium manifold of the pendulum, and the oscillations given by (16)–(18) are around this manifold. Throughout, we confine our research interest in desired oscillations around the upright position of the pendulum which correspond to the more difficult case due that the open-loop system has an unstable zero dynamics. Toward this end, we choose for all in (18). It was shown in [7] that (16) and (17) generate a set of exact periodic trajectories given by that can be interpreted as the zero dynamics of the system (16) with respect to the output . Time evolution of the desired trajectory is illustrated in Figure 1 where the value of is modified along the time: where is given in seconds. Notice that frequency and amplitude of oscillations change according to variations in . Figure 2 shows the profile of the frequency and amplitude of oscillations for several values of .

**(a)**

**(b)**

##### 3.3. The Task

Our objective is to design a controller of the form with internal state , that ensures (15). Thus, the controller to be constructed consists of the trajectory compensator (17) and a disturbance attenuator given in (2), (3) internally stabilizing the closed-loop system around the desired trajectory. In the sequel, we confine our investigation to the tracking problem, where

(1)the output to be controlled is given by with a positive weight coefficient ;(2)the joint position vector is the only available measurement, and this measurement is corrupted by the error vector , that is,The control problem in question is thus stated as follows. Given the system representation (14)–(23), the desired trajectory and a real number , it is required to find (if any) a causal dynamic feedback controller (2), (3) such that the undisturbed closed-loop system is uniformly asymptotically stable around the origin, and its -gain is locally less than , that is, inequality (4) is satisfied for all and all piecewise continuous functions for which the corresponding state trajectory of the closed-loop system, initialized at the origin, remains in some neighborhood of this point.

##### 3.4. Synthesis

To begin with, let us introduce the state deviation vector where and . After that let us rewrite the system (14), the output to be controlled (22), and the output (23) in terms of the state vector : Clearly, the above tracking control problem is nothing else than a standard nonlinear control problem from [1] stated for a time-varying nonlinear system (1) specified as Now by applying Theorem 1 to system (1) thus specified, we derive a local solution of the tracking control problem.

Thus, the output feedback controller (13), specified according to (26), locally solves the tracking control problem (4)–(24). Stabilizability and detectability properties of the control systems are ensured by the existence of the proper solutions of the unperturbed differential Riccati equations, and hence the corresponding synthesis procedure obviates an extra work (formidable in the nonlinear case) on verification of these properties.

#### 4. Simulation Results

The controller performance was studied in simulation by applying the exposed ideas to the Acrobot, depicted in Figure 3, which is a two-link planar robot with no actuator at the shoulder (link 1) and actuator at the elbow (link 2). In the simulation, performed with MATLAB, the Acrobot was required to move from to the desired trajectory and . The initial velocity and the initial compensator state were set to zero for all the simulations. The matrices and for the Acrobot are given in Appendix A. We seek for orbital stabilization of the unactuated link around the equilibrium point .

The control goal was achieved by implementing the nonlinear controller with a weight parameter on the Acrobot. By iterating on , we found the infimal achievable level . However, in the subsequent simulations was selected to avoid an undesirable high-gain controller design that would appear for a value of close to the optimum. With we obtained that for the corresponding differential Riccati equations (11)-(12) with have positive-definite solutions. These solutions can be numerically found with MATLAB. Matrix is given in Appendix B. It should be pointed out that the constant does not appear in due to straightforward calculation of (A.2), but it is definitely required in (22) to improve the selection of which affects inequality (4) thus avoiding the synthesis of a high-gain controllers. Resulting trajectories is depicted in Figure 4. This figure demonstrates that the controller does asymptotically stabilize the system motion around the desired trajectory. In addition, the controller was successfully applied to the Acrobot under external disturbances where [] and [] are the disturbance levels at first and second joints, respectively. Resulting trajectories are depicted in Figure 5. Figures 6 and 7 show the time evolution of the determinant of minors of matrices and denoted as These Figures highlight that matrices and , which are solution of (11) and (12), respectively, are bounded and positive definite for all .

**(a)**

**(b)**

**(a)**

**(b)**

**(a)**

**(b)**

**(c)**

**(d)**

**(a)**

**(b)**

**(c)**

**(d)**

#### 5. Conclusions

The output feedback Nonlinear tracking control problem is locally solved for an underactuaded mechanical system. The desired periodic orbit is centered at the upright position where the open-loop plant becomes a nonminimum-phase system. The developed controller drives the trajectories of the robot into a set of inverted exact desired trajectories governed by its zero dynamics. Simulation studies, made for the Acrobot, showed the effectiveness of the controller. The design of methods to generate reference trajectories evolving more frequencies and amplitudes in the upright position is in progress, and few results have been published for double-pendulums in [20, 22]. In future work there are two extensions of the result of the paper. First, one would like to synthesize the control taking into account reference trajectories derived from alternative methods. The other would also like to extend the result of the paper for the nonsmooth case.

#### Appendices

#### A. Dynamic Model of Acrobot

The equation motion of Acrobot, described by (14), was specified by applying the Euler-Lagrange formulation [23] where with where the values of (), given in Table 1, were taken from the experimental Acrobot provided in [7].

#### B. Matrix

In this appendix we provide the computed matrix for the Acrobot which was used in the solution of differential Riccati equations (11) and (12): where where .