Research Article | Open Access

Shijie Zhang, Yi Ning, "Parametric Approach to Trajectory Tracking Control of Robot Manipulators", *Journal of Applied Mathematics*, vol. 2013, Article ID 958597, 6 pages, 2013. https://doi.org/10.1155/2013/958597

# Parametric Approach to Trajectory Tracking Control of Robot Manipulators

**Academic Editor:**Weihai Zhang

#### Abstract

The mathematic description of the trajectory of robot manipulators with the optimal trajectory tracking problem is formulated as an optimal control problem, and a parametric approach is proposed for the optimal trajectory tracking control problem. The optimal control problem is first solved as an open loop optimal control problem by using a time scaling transform and the control parameterization method. Then, by virtue of the relationship between the optimal open loop control and the optimal closed loop control along the optimal trajectory, a practical method is presented to calculate an approximate optimal feedback gain matrix, without having to solve an optimal control problem involving the complex Riccati-like matrix differential equation coupled with the original system dynamics. Simulation results of 2-link robot manipulator are presented to show the effectiveness of the proposed method.

#### 1. Introduction

Trajectory tracking problem is the most significant and fundamental task in control of robotic manipulator. Motivated by requirements such as a high degree of automation and fast speed operation from industry, various control methods are used such as PID control, adaptive control, variable structure control, neural networks control, and fuzzy control [1–5].

In the past two decades, the optimal control schemes for manipulator arms have been actively researched because the optimal motions that minimize energy consumption, error trajectories, or motion time yield high productivity, efficiency, smooth motion, durability of machine parts, and so forth [6–11]. Various types of methods have been developed to solve the robotic manipulator optimal control schemes.

By the application of the optimal control theory, Pontryagin’s maximum principle leads to a two-point boundary value problem. Although this theory and its solutions are rigorous, it has been used to solve equations for the motions of 2-link or at most 3-link planar manipulators due to the complexity and the nonlinearity of the manipulator dynamics [6]. Approximation methods have been studied to obtain the solutions for three or more DOF spatial manipulators. However, the solutions obtained have not been proved to be optimal. These approximation methods are roughly divided into two groups depending on whether or not they utilize gradients [11]. Recently, the applications of intelligent control techniques (such as fuzzy control or neural network control) with optimal algorithm to the motion control of robot manipulators have received considerable attention [12–17]. But sometimes these methods take quite a long time to find a coefficient that satisfies the requirement of the controlling task. In addition, lack of theoretical analysis and stability security makes industrialists wary of using the results in real industrial environments.

This paper is concerned with the nonlinear optimal feedback control of robot manipulator trajectory tracking. The energy consumption and error trajectories are minimized as performance index in the optimal control problem. An optimal open loop control is first obtained by using a time scaling transform [18] and the control parameterization technique [19]. Then, we derive the form of the optimal closed loop control law, which involves a feedback gain matrix, for the optimal control problem. The optimal feedback gain matrix is required to satisfy a Riccati-like matrix differential equation. Then, the third order -spline function, which has been proved to be very efficient for solving optimal approximation and optimal control problems, is employed to construct the components of the feedback gain matrix. By virtue of the relationship between the optimal open loop control and the optimal closed loop control along the optimal trajectory, a practical computational method is presented for finding an approximate optimal feedback gain matrix, without having to solve an optimal control problem involving the complex Riccati-like matrix differential equation coupled with the original system dynamics [20].

#### 2. Robot Manipulators Dynamics

##### 2.1. Models of Robot Dynamics

Consider the dynamic equation of a robot manipulator where are the vectors of the generalized joint coordinates, velocity, and acceleration; denotes a symmetric positive definite inertia matrix; stands for the Coriolis and centrifugal torques; models the gravity forces; and is the torque input. Some useful properties of robot dynamic are as follows.

*Property 1. *Matrix is symmetric and positive definite.

*Property 2. *Matrix is skew symmetric and satisfies that

*Property 3. *The robot dynamics are passive in open loop, from torque input to velocity output, with the Hamiltonian as its storage function. If viscous friction was considered, the energy dissipates and the system is strictly passive.

The two-link revolute (RR) robot manipulator is shown in Figure 1. The masses of both links and actuators are denoted by and with and as mass moment of inertia. and denote the length; and are joints torques. The joints positions of the two links are defined by and .

The dynamic equations of 2-link RR robot are written in state space form as where is the system state, , and where Define then, here

##### 2.2. Problem Statement

The purpose of control is to determine an optimal closed loop control signal so that the robot manipulator tracks the desired trajectory with minimal energy consumption, The optimal control problem can be formulated as follows.

Given system (3), find a closed loop control such that the cost function is minimized, where , is the free terminal time, is the desired trajectory, and are the weighting parameters, and and are symmetric positive semidefinite and symmetric positive definite weighting matrices, respectively.

We refer to the above problem as problem . This optimal close loop control problem is very difficult to be solved directly. In this paper, we derive the form of the optimal closed loop control law after obtaining an optimal open loop control by using a time scaling transform and the control parameterization technique. Then the difficulty of the problem is transformed to find a feedback gain matrix which is involved in the optimal closed loop control law. A practical computational method is presented in [20] for finding an approximate optimal feedback gain matrix, without having to solve an optimal control problem involving the complex Riccati-like matrix differential equation coupled with the original system dynamics.

#### 3. Parametric Approach to the Optimal Controller Design

By using a time scaling transform and the control parameterization technique, the above problem is solved as an optimal open loop control problem firstly. An optimal open loop control and the corresponding optimal trajectory will be provided.

Let the time horizon be partitioned into subintervals as follows: The switching times , are regarded as decision variables. Employing the time scaling transform introduced in [19] to map these switching times into a set of fixed time points , on a new time horizon . Then the following differential equation is achieved: where where denotes the indicator function of defined by and .

For , we have where . Clearly,

Then after the time scaling transform, system (3) can be converted into the following form: where , and .

Now we apply the control parameterization technique to approximate the control as follows: where is the cubic spline basis function.

Define , , and ; let denote the set containing all . Then is determined uniquely by the switching vector . Thus, it can be written as . Now the optimal parameterization selection problem, which is an approximation of problem , can be stated as follows.

Problem . Given system (16), find a combined vector , such that the cost function is minimized, where and is the desired trajectory.

Now problem is approximated by a sequence of optimal parameter selection problems, each of which can be viewed as a mathematical programming problem and hence can be solved by existing gradient-based optimization methods. Here, our controls are approximated in terms of cubic spline basis functions, and thus they are smooth. problem can be solved easily by the use of the optimal control software package MISER 3.3 [21].

Suppose that is the optimal solution of problem . Then it follows that the optimal solution to problem is , where is the optimal open loop control, is the corresponding optimal state vector, and is the optimal terminal time. For the computation of the optimal closed loop control problem, we have the following theorem.

Theorem 1. *The optimal closed loop control for problem is given by
**
where is the optimal state and is the solution of the following Riccati-like differential equation
**
where
*

The proof is similar to that given for Theorem 3.1 in [22]. Details can refer to this literature.

Problem . Subject to the dynamical system (1), with given by Theorem 1, find a such that the cost function (17) also with is minimized.

By Theorem 1, although the form of the optimal closed loop control law is given, the matrix function is still required to be obtained. The solving process involves solving a new optimal control problem denoted as follow. Using the method proposed in [20], problem could be solved well.

In [15], an alternative approach was proposed to construct an approximate optimal matrix function without having to solve this complicated optimal control problem . The basic idea is explained as follows. Suppose that is an optimal open loop control of problem and that is the corresponding optimal state. We now consider problem with , that is, along the optimal open loop path, and our task is to find a such that best approximates the control in the mean square sense. Then can be regarded as a good approximate optimal feedback control for problem .

The calculation steps of solving are as follows.

*Step 1. *The time horizon is partitioned into equal subintervals:

*Step 2. * Let
where , are real constant coefficients that are to be determined. is the number of equality subintervals on , and is the total number of cubic spline basis functions used in the approximation of each .

*Step 3. *Let
where

*Step 4. *Find coefficients such that the cost function (25) is minimized. These optimal coefficients can be obtained by solving the following optimality conditions:
We can see that these are linear equations and hence are easy to solve.

#### 4. Simulation

In this section, the simulations of the nonlinear optimal control for the 2-link RR-robot manipulator are performed to show the efficiency of the proposed method.

Assuming that the friction is negligible, two-link robot manipulators is simulated with following parameters:

The control objective is to track the desired trajectory given by

The evolution of tracking errors are as follows

In the simulation, the time horizon is partitioned into subintervals. , and and are unit matrices of proper dimension. We first use the time scaling transform and the control parameterization method to construct the corresponding approximated problem . Then, MISER 3.3 is utilized to solve it, giving rise to an optimal open loop control and the corresponding optimal trajectory. Then the feedback gain matrix is obtained by the above calculation steps.

Simulation results are shown in Figures 2 to 4. The position tracking and the velocity tracking of the end joint are shown in Figures 2 and 3, and the control input of the end joint is shown in Figure 4.

**(a)**

**(b)**

**(a)**

**(b)**

#### 5. Conclusions

A parametric approach to trajectory tracking control of robot manipulators is studied in this paper, in which an optimal open loop control is obtained firstly by using the control parametrization method and the time scaling transform. Then, we obtained the form of the optimal closed loop control law, where the feedback gain matrix is required to satisfy a Riccati-like matrix differential equation, and a practical method was proposed to calculate the feedback gain matrix. The simulation results demonstrate the validity of the proposed method.

#### Acknowledgments

This work was supported by the National Natural Science Foundation of China (61075083), the Natural Science Foundation of Henan Education Department (13A120204), the Technology Innovation Talents Plan of Henan University of Technology (2012CXRC14), and the Science Foundation of Henan University of Technology (2012BS043).

#### References

- S. Mahmoudzadeh and H. Mojallali, “An optimized PID for legless capsubots using modified imperialist competitive algorithm,” in
*Proceedings of the 1st RSI/ISM International Conference on Robotics and Mechatronics*, pp. 194–199, 2013. View at: Google Scholar - J. P. Ferreira, M. M. Crisóstomo, and A. P. Coimbra, “Adaptive PD controller modeled via support vector regression for a biped robot,”
*IEEE Transactions on Control Systems Technology*, vol. 21, no. 3, pp. 941–949, 2013. View at: Publisher Site | Google Scholar - J. Kasac, B. Novakovic, D. Majetic, and D. Brezak, “Passive finite-dimensional repetitive control of robot manipulators,”
*IEEE Transactions on Control Systems Technology*, vol. 16, no. 3, pp. 570–576, 2008. View at: Publisher Site | Google Scholar - M. Asgari and M. A. Ardestani, “Dynamics and control of a novel 3-DoF spatial parallel robot,” in
*Proceedings of the 1st RSI/ISM International Conference on Robotics and Mechatronics*, pp. 183–188, 2013. View at: Google Scholar - R.-J. Wai and R. Muthusamy, “Fuzzy-neural-network inherited sliding-mode control for robot manipulator including actuator dynamics,”
*IEEE Transactions on Neural Networks and Learning Systems*, vol. 24, pp. 274–287, 2013. View at: Google Scholar - E.-B. Meier and A. E. Bryson Jr., “Efficient algorithm for time-optimal control of a two-link manipulator,”
*Journal of Guidance, Control, and Dynamics*, vol. 13, no. 5, pp. 859–866, 1990. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - D. Constantinescu and E. A. Croft, “Smooth and time-optimal trajectory planning for industrial manipulators along specified paths,”
*Journal of Robotic Systems*, vol. 17, pp. 233–249, 2000. View at: Google Scholar - M. Galicki and D. Uciński, “Time-optimal motions of robotic manipulators,”
*Robotica*, vol. 18, no. 6, pp. 659–667, 2000. View at: Publisher Site | Google Scholar - C. W. J. Hol, L. G. Van Willigenburg, E. J. Van Henten, and G. Van Straten, “A new optimization algorithm for singular and non-singular digital time-optimal control of robots,” in
*Proceedings of the IEEE International Conference on Robotics and Automation (ICRA '01)*, pp. 1136–1141, May 2001. View at: Google Scholar - J.-K. Park and J. E. Bobrow, “Reliable computation of minimum-time motions for manipulators moving in obstacle fields using a successive search for minimum-overload trajectories,”
*Journal of Robotic Systems*, vol. 22, no. 1, pp. 1–14, 2005. View at: Publisher Site | Google Scholar - Z. Shiller, “On singular time-optimal control along specified paths,”
*IEEE Transactions on Robotics and Automation*, vol. 10, no. 4, pp. 561–566, 1994. View at: Publisher Site | Google Scholar - E. Bobaşu and D. Popescu, “On modelling and multivariable adaptive control of robotic manipulators,”
*WSEAS Transactions on Systems*, vol. 5, no. 7, pp. 1579–1586, 2006. View at: Google Scholar - F. M. Raimondi and M. Melluso, “A neuro fuzzy controller for planar robot manipulators,”
*WSEAS Transactions on Systems*, vol. 3, pp. 2991–2996, 2004. View at: Google Scholar - D. Popescu, “Neural control of manipulators using a supervisory algorithm,” in
*Proceedings of the International Conference on Automation and Quality Control*, pp. A576–A581, Cluj-Napoca, Romania, 1998. View at: Google Scholar - S.-J. Huang and J.-S. Lee, “A stable self-organizing fuzzy controller for robotic motion control,”
*IEEE Transactions on Industrial Electronics*, vol. 47, no. 2, pp. 421–428, 2000. View at: Publisher Site | Google Scholar - Y. H. Kim and F. L. Lewis, “Optimal design of CMAC neural-network controller for robot manipulators,”
*IEEE Transactions on Systems, Man and Cybernetics Part C*, vol. 30, no. 1, pp. 22–31, 2000. View at: Publisher Site | Google Scholar - F. L. Lewis, A. Yesildirek, and K. Liu, “Multilayer neural-net robot controller with
guaranteed tracking performance,”
*IEEE Transactions on Neural Networks*, vol. 7, pp. 388–396, 1996. View at: Google Scholar - K. L. Teo, L. S. Jennings, H. W. J. Lee, and V. Rehbock, “The control parameterization enhancing transform for constrained optimal control problems,”
*Australian Mathematical Society B*, vol. 40, no. 3, pp. 314–335, 1999. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - K. L. Teo, C. J. Goh, and K. H. Wong,
*A Uniled Computational Approach to Optimal Control Problems*, John Wiley and Sons Press, New York, NY, USA, 1991. - J. Zhou, D. Zhou, K. L. Teo, and G. Zhao, “Nonlinear optimal feedback control for lunar module soft landing,” in
*Proceedings of the IEEE International Conference on Automation and Logistics (ICAL '09)*, pp. 681–685, Shenyang, China, August 2009. View at: Publisher Site | Google Scholar - L. S. Jennings, M. E. Fisher, K. L. Teo, and C. J. Goh,
*MISER3. 3 Optimal Control Software Version 3. 3: Theory and User Manual. Centre for Applied Dynamics and Optimization*, The University of Western Australia, 1996. - H. W. J. Lee, K. L. Teo, and W. Y. Yan, “Nonlinear optimal feedback control law for a class of nonlinear systems,”
*Neural, Parallel & Scientific Computations*, vol. 4, no. 2, pp. 157–178, 1996. View at: Google Scholar | Zentralblatt MATH | MathSciNet

#### Copyright

Copyright © 2013 Shijie Zhang and Yi Ning. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.