Mathematical Problems in Engineering

Volume 2012 (2012), Article ID 270649, 23 pages

http://dx.doi.org/10.1155/2012/270649

## An Adaptive Variable Structure Control Scheme for Underactuated Mechanical Manipulators

^{1}Department of Vehicle Engineering, National Pingtung University of Science and Technology, Pingtung 91201, Taiwan^{2}Department of Mechanical and Electro-Mechanical Engineering, National Sun Yat-sen University, Kaohsiung 80424, Taiwan

Received 10 August 2012; Accepted 20 October 2012

Academic Editor: Zhijian Ji

Copyright © 2012 Jung Hua Yang and Kuang Shine Yang. 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.

#### Abstract

Mechanical arms have been widely used in the industry for many decades. They have played a dominant role in factory automation. However the control performance, or even system stability, would be deteriorated if some of the actuators fail during the operations. Hence, in this study, an adaptive variable structure scheme is presented to solve this problem. It is shown that, by applying the control mechanism proposed in this paper, the motion of robot systems can maintain asymptotical stability in case of actuators failure. The control algorithms as well as the convergence analysis are theoretically proved based on Lyapunov theory. In addition, to demonstrate the validity of the controller, a number of simulations as well as real-time experiments are also performed for Pendubot robot and Furuta robot systems. The results confirm the applicability of the proposed controller.

#### 1. Introduction

Stabilization and tracking control problems of the nonlinear uncertain underactuated systems are difficult to be dealt with because of their fewer independent control actuators than the degrees of freedom to be controlled. In addition to the lack of enough control inputs for system’s degrees of freedom, the dynamics of underactuated mechanical systems is generally characterized by uncertain nonholonomic constraints. And hence, the underactuated system is always a challenging problem in the field of control applications. Robot manipulators have been ubiquitously equipped in many industrial plants for manufacturing automation and most of them were fully actuated. In general, the controller is designed for fully actuated systems based on the properties such as linear controllability, feedback linearizability, and passivity. However, actuators failure might occur due to infrequent maintenance or limited life cycle, which could cause severe damages to the operators and products. In general, the parts with actuator failures would be unactuated. The underactuated system presents challenging control program since the control design must typically exploit some coupling between the unactuated and the actuated states to achieve the control objective. In this paper, an adaptive variable structure control is presented to obtain globally asymptotical stabilization for a class of underactuated mechanical systems.

Underactuated systems are known as the systems with fewer independent control actuators than the degree of freedom to be controlled. The mathematical representation can be as below: The system is said to be underactuated if the system satisfies the condition , where is the state vector of generalized coordinates on the configuration manifold, is the generalized velocity vector, and is the input state vector.

The underactuated system generally exhibits nonminimum phase [1] and is subject to nonholonomic constraints [2]. In contrast to fully actuated systems controller design, the underactuated system is more difficult with less independent control actuators than the degrees of freedom to be controlled. Tracking control of nonminimum phase systems is a highly sophisticated problem encountered in many practical engineering applications such as rocket control [3], aircraft control [4], flexible link manipulator control [5], and inverted pendulum systems [6]. The nonminimum phase property has long been recognized to be a major obstacle in many control problems. It is well known that unstable zeros cannot be moved with state feedback while the poles can be arbitrarily placed (if completely controllable). For this reason, a growing interest is arising for the design of automatic control systems for the underactuated systems. A lot of literature discussing the control of underactuated systems models has been published in the past years. Wang and other researchers [7, 8] presented a new sliding mode controller for second order underactuated systems. This paper has shown that all sliding surfaces are asymptotically stable. In [9, 10] the authors introduce an IDA-PBC approach to the underactuated mechanical systems. In [11, 12] some nonlinear control schemes, such as feedback linearization, inverse dynamics, and adaptive controller design, have been proposed for the control of underactuated systems. In order to achieve better performance, possibly unknown dynamics must also be considered in control design. In [13], the sliding mode control is proposed to achieve the robustness of many systems such as power systems, electronic motors, and robot manipulators. In [14], the paper provides the state of the art of recent developments in sliding mode control systems with soft computing, examining key technical research issues and future perspectives. In [15], a nonlinear control design is presented, but it requires the solution of a Hamilton-Jacobi type differential equation. It renders the solutions to achieve stability of the system robustly asymptotically stable. The robust backstepping method is utilized to find a stabilizing controller in [16]. The adaptive backstepping controller evolves from [17] with unknown parameters appearing linearly in the state equation, and adaptation mechanism is included to cope with unknown parameters. In [18], the controller is designed for a general class of input-output linearizable systems without zero dynamics, which can be extendable to minimum phase systems. The control scheme uses the backstepping design technique and guarantees semiglobal stability. In paper [19], an adaptive fuzzy output feedback control approach is proposed for single-input–single-output nonlinear systems without the measurements of the states. It is shown that by applying the proposed adaptive fuzzy control approach, the closed-loop systems are semiglobally uniformly ultimately bounded. In [20], the backstepping technique and adaptive fuzzy backstepping-control approaches for a class of strict-feedback large-scale nonlinear systems with unmodeled dynamics, dynamic disturbances, unknown high-frequency gain signs, and unmeasured states are designed. It has been proved that the proposed adaptive fuzzy control approach can guarantee the uniformly ultimate boundedness of all the signals in the closed-loop system. In [21] a robust adaptive multiestimation-based scheme has been designed for robotic manipulators with force reflection and uncertainties. The closed-loop stability is guaranteed if a minimum residence time, which might be updated online when unknown, between different controller parameterizations is respected. In paper [22], the stable adaptive fuzzy sliding mode controller is developed for nonlinear multivariable systems with unavailable states. It is proved that uniformly asymptotic output feedback stabilization can be achieved. In [23] the authors utilize the coupled sliding mode control concept to achieve the stabilization of inverted pendulum systems. By properly designing the control parameters, the resulting zero dynamics is proved to be semiglobally stable in the presence of bound disturbance.

The paper is organized as follows. In Section 2, an adaptive variable structure control scheme for a class of underactuated mechanical systems is developed. It is verified by computer simulations as well as experiments for the Pendubot system and the Furuta pendulum system, as shown in Sections 3 and 4, respectively. It is observed from both the simulations and the experiments that the effectiveness of the designed controller can be confirmed. Finally, some conclusions are given in Section 5.

#### 2. Adaptive Variable Structure Controller Design

##### 2.1. Problem Formulation

For convenience, the dynamic equations of a general underactuated mechanical manipulator system can be expressed as where where is a vector of joint displacement, is the applied torque vector, is the effective moment of inertia matrix which is symmetric and positive definite, is defined as the actuated joint, denotes the unactuated joint, and m is the number of actuated joint. The centripetal and Coriolis terms collected in the vector and represent the gravitational forces.

The dynamic system given in (2.1) exhibits the following properties that are utilized in the subsequent control development and stability analysis.(P1) The property of matrices is positive definite and satisfies the following inequalities: where are positive constants.(P2) The property of skew-symmetric matrices satisfies the following relationship: Equivalently, (2.1) can be rewritten in following partitioned form: The control objective in this section is to, for all arbitrary initial conditions, ensure the asymptotical stability of error signal, that is, . To achieve the tracking control objective, the controller is based on the assumption that , are measurable.

The position tracking error is defined as follows: where with , are some designated positive constants. is identity matrix, , and and are the desired trajectories with and , where are some bound positive values and the design of and has to satisfy the zero dynamics . In general, the desired trajectories are often chosen to be constant. Then, in view of (2.5), it is readily obtained that or more compactly where and , are some positive constants.

##### 2.2. Controller Design

In this subsection, an adaptive variable structure control scheme is presented to account for parameter uncertainty existing in and. From the system dynamics of a robot manipulator with revolute joints, it is well known and can be easily verified that where , , , are some unknown positive constants, and are known positive functions of and .

Based on the development of the aforementioned error dynamics, the control law is presented as follows: where is some positive integer chosen by designer, are some positive constants, and is the sign function, which is defined as In (2.11) and (2.12) denote the parameter estimates, and the estimation errors are defined as follow:

Let the parameter estimation laws be designed as where , , are positive definite gain matrices.

*Remark 2.1. *From the robustness point of view, it would be better if additional feedback term is included in the control law (2.11). With such an inclusion, the stabilization of subject to external disturbance can also be maintained as the arrived at zero. This can be easily checked from the stability proof given in the theorem.

In the following theorem, it is shown that, by applying the adaptive variable structure controller designed above, the asymptotical stabilization of overall closed-loop system can be achieved.

Theorem 2.2. *Consider the robot system (2.5) with imprecise system parameters. By applying the control laws (2.11)-(2.12) and estimate laws (2.15)-(2.16), the objective of global asymptotical stabilization can be achieved, that is, all signals inside the close-loop system are bounded and asymptotically. *

*Proof. *To prove the theorem, let the Lyapunov function candidate be defined as
and take the time derivative of to get
In the above derivations, (2.4) has been applied. Then, by using the boundedness of parameter uncertainties (2.10), the time derivative of can be further expressed as
Thus, by applying the designed controller (2.11)-(2.12) and the adaptive laws (2.15)-(2.16), the following inequality holds:
where . Thus, it is clear that if . Then, according to Barbalat’s lemma [22], it is readily obtained that as asymptotically and, hence, as .

In the next section, the Pendubot system and the Furuta pendulum system are studied to verify the above theoretical results.

#### 3. Applications to the Pendubot System

In this section, the adaptive sliding mode control scheme developed previously is applied to the Pendubot system. The Pendubot system is a two link planner manipulator in which the first link is driven by an actuator but the second link is unactuated, as shown in Figure 1. Link 1 and link 2 are connected by revolute joint, and link 1 can freely rotate about 360 degrees in the horizontal plane. In this section, the kinematic and dynamic models of a Pendubot system are presented.

The equation of motion is derived using Lagrange’s equation [24] as The Lagrange’s function is given by where is the kinetic energy of the system and is The potential energy of the system.

From the Lagrange’s equation, it is shown that the equation of motion for this system can be represented in the following form: is the inertia matrix, is the centripetal-Coriolis matrix.

Where is the joint position defined as follows: where and denote the angles of link 1 and link 2, respectively. , , and control input vector are defined as follows: where From (3.1), as mentioned above, the inertia and centripetal-Coriolis matrices satisfy the following condition: where which is a skew-symmetric matrix. The system variables and parameters are defined in Table 1.

As described in the preceding section, the adaptive variable structure controller will be adopted to drive the first link to the desired position, and keep the second link to settle down at the original angle. From the dynamic equation shown above, the following bounding assumption can be made for and : where , and , are unknown positive bounded constants. Before proceeding with the adaptive sliding mode control design, let the parameter estimation errors be defined as From the error dynamics (2.7), the adaptive controllers can be designed as with the adaptive laws where , , are positive constants.

##### 3.1. Simulation Results

A number of simulations are performed for the adaptive sliding mode schemes proposed in this section. In this simulation, the initial positions of link 1 and link 2 are identically . The desired final position for link 1 is and for link 2 is , respectively.

The simulation results are shown in Figures 2–6. Figures 2 and 3 show the link 1 output angle and link 2 output angle responses, respectively. It is seen that link 1 and link 2 can converge to the target in 16 seconds. Figure 4 shows the convergence of the adaptive laws, while Figure 5 shows the control adaptation gain parameters . Finally, the control input is shown in Figures 6 and 12. The control gains used in the simulation are chosen to be , , , and , and the adaptive gains are chosen as .

##### 3.2. Experimental Results

To validate the practical application of the proposed algorithm experiments on the underactuated mechanical system apparatus is also conducted, as shown in Figure 7. In the mechanical system the actuator is dc motor mounted on the arm (link 1) and coupled to links through the power MOSFET chopper amplifier. A 500 pulse/rev shaft encoder is used to sense the arm (link 1) position and pendulum position or link 2 position. A 12 bit A/D converter provides the required signal. The microcomputer used is a INTEL-P4-based system with 3 GHz clock.

To demonstrate the effectiveness of our proposed controller, a comparison with the results in [23] is made. The controller gains are chosen to be , , and and the results are depicted in Figures 8 and 9. In the experiment, the desired final position for link 1 is , and for link 2 is . From Figure 10 it is seen that link 1 could converge to 23 degrees at nearly 5 seconds but link 2 couldn’t keep at 0 degree as indicated in Figure 11. From the experimental results, it is clearly observed that even though the exact dynamics of the nonlinear model is available but with the system parameter unknown, the control precision is still a problem needed to be solved.

For the experiment by using the controller proposed in this paper, the same conditions as above are set, for link 1 and for link 2. For the controller proposed in this paper, the following controlled gains are chosen for experiments: , , , and , and the adaptive gains are set to be . Figures 10 and 11 depict the position response of link 1 and link 2, and from the figures it is observed that link 1 converges to the target nearly in 2 seconds, while the convergence of link 2 is completed in 6 seconds. The control input is described in Figure 14. It is seen that the adaptive controller can provide stable and better performance over a wide range of parameter variations in comparison with the conventional sliding mode controller.

#### 4. Applications to the Furuta Pendulum System

In this section, the Furuta pendulum system [1] is considered for demonstration. Figure 13 illustrates the mechanical system.

The equation of motion can be written in the following general form: where Form (3.14)-(3.15), it is straightforward to show that the following relationship is satisfied: Clearly, is a skew-symmetric matrix. The system variables and parameters are defined in Table 2.

*Stage 1 (Swing up the Pendulum). *The control objective here is to move the pendulum from the stable equilibrium position to the unstable equilibrium position. In order to balance the pendulum to the unstable equilibrium point, a swing-up controller should be first applied to make the pendulum inside some acceptable region around the vertical line. Then, the adaptive controller will be activated to keep the pendulum upright at the unstable equilibrium point.

The swing-up control law can be written as
where are positive constants.

As shown in Figure 14, when the pendulum is within ±0.8 rad of the vertical position, the balancing controller is activated. Otherwise, the system operates under swing-up control.

*Stage 2 (Balance the Pendulum). *Form the dynamic equation shown above, it is found that bounds of and can be written as

The controller and adaptive gain are designed as follows:

The adaptive laws is as follows: where are positive constants.

##### 4.1. Simulation Results

The simulations are performed using MATLAB and SIMULINK to show the validity of the controller. The results are indicated in Figures 15–19.

In the simulations, the initial positions of and are chosen identically as . The desired arm position and pendulum position are chosen as rad, as rad, respectively. As illustrated in Figure 15 the steady state position tracking error can approach to zero in 6 seconds. As the results in Figure 17 show, the tracking error of unactuated link can converge stably in a fast manner, and it is observed that all the parameter estimates trajectories are convergent, as shown in Figure 18. The control input is shown in Figure 16. Figure 19 plots the trajectory of .

##### 4.2. Experimental Results

Similarly, the results obtained from the sliding mode controller [23] and the adaptive controller proposed in this paper are also performed and compared in Figures 22–24. From Figures 20 and 21 it is seen that, although the pendulum converge to target, the arm could not precisely settle down to its desired position but oscillates within some bounded region by using the sliding mode controller. It means that the poor closed-loop system response might arise due to system parameters.

As for the experiment of adaptive controller, the controlled gains are chosen as , , , and . The corresponding adaptive gains are set to be . In this experiment, the control gains are difficult to determine due to the unknown uncertainties in practical applications and are generally chosen as a compromise between the stability and the control performance. Figures 22 and 23 depict the position response of arm and pendulum. It is observed from the figures that the arm could converge to the desired position at 6 sec with the pendulum swinging up to top position in 5 seconds. Finally the control input is described in the Figure 24.

#### 5. Conclusion

In this paper, the adaptive control for underactuated mechanical systems with parameter uncertainty is discussed. By utilizing Lyapunov-based stability analysis asymptotical stabilization of such systems can be guaranteed. The control schemes are also implemented in the Pendubot system and Furuta pendulum system to verify the performance of the proposed adaptive sliding controller. It is shown that the tracking error can be made asymptotically stable undergoing such controller design.

#### References

- I. Fantoni and R. Lozano,
*Non-Linear Control for Underactuated Mechanical Systems*, Springer, 2002. - A. M. Bloch,
*Nonholonomic mechanics and control*, vol. 24 of*Interdisciplinary Applied Mathematics*, Springer, New York, NY, USA, 2003. View at Publisher · View at Google Scholar - J. Hu and C. Huang, “Simulation on multiple impulse correction control system of rockets,” in
*Proceedings of the IEEE International Conference on Mechatronics and Automation (ICMA '07)*, pp. 1518–1522, August 2007. View at Publisher · View at Google Scholar · View at Scopus - Y. J. Huang, T. C. Kuo, and H. K. Way, “Robust vertical takeoff and landing aircraft control via integral sliding mode,”
*IEE Proceedings*, vol. 150, no. 4, pp. 383–388, 2003. View at Publisher · View at Google Scholar · View at Scopus - F. M. C. Ching and D. Wang, “Exact solution and infinite-dimensional stability analysis of a single flexible link in collision,”
*IEEE Transactions on Robotics and Automation*, vol. 19, no. 6, pp. 1015–1020, 2003. View at Publisher · View at Google Scholar · View at Scopus - S. Awtar, N. King, T. Allen et al., “Inverted pendulum systems: rotary and arm-driven—a mechatronic system design case study,”
*Mechatronics*, vol. 12, no. 2, pp. 357–370, 2002. View at Publisher · View at Google Scholar · View at Scopus - W. Wang, J. Yi, D. Zhao, and D. Liu, “Design of a stable sliding-mode controller for a class of second-order underactuated systems,”
*IEE Proceedings*, vol. 151, no. 6, pp. 683–690, 2004. View at Publisher · View at Google Scholar · View at Scopus - Y. Hao, J. Yi, D. Zhao, and W. Wang, “Proposal of incremental sliding mode control,” in
*Proceedings of the 1st International Conference on Innovative Computing, Information and Control (ICICIC '06)*, pp. 340–343, September 2006. View at Publisher · View at Google Scholar · View at Scopus - J. Acosta, R. Ortega, A. Astolfi, and A. D. Mahindrakar, “Interconnection and damping assignment passivity-based control of mechanical systems with underactuation degree one,”
*IEEE Transactions on Automatic Control*, vol. 50, no. 12, pp. 1936–1955, 2005. View at Publisher · View at Google Scholar - R. Ortega, M. W. Spong, F. Gómez-Estern, and G. Blankenstein, “Stabilization of a class of underactuated mechanical systems via interconnection and damping assignment,”
*IEEE Transactions on Automatic Control*, vol. 47, no. 8, pp. 1218–1233, 2002. View at Publisher · View at Google Scholar - J. Hauser, S. Sastry, and P. Kokotović, “Nonlinear control via approximate input-output linearization: the ball and beam example,”
*IEEE Transactions on Automatic Control*, vol. 37, no. 3, pp. 392–398, 1992. View at Publisher · View at Google Scholar - K. S. Narendra and A. M. Annaswamy,
*Stable Adaptive Systems*, Prentice Hall, 1989. - V. I. Utkin,
*Sliding Modes in Control and Optimization*, Communications and Control Engineering Series, Springer, Berlin, Germnay, 1992. - X. Yu and O. Kaynak, “Sliding-mode control with soft computing: a survey,”
*IEEE Transactions on Industrial Electronics*, vol. 56, no. 9, pp. 3275–3285, 2009. View at Publisher · View at Google Scholar · View at Scopus - A. van der Schaft,
*L*, Springer, 1996._{2}Gain and Passivity Techniques in Nonlinear Control - R. Sepulchre, M. Jankovic, and P. Kokotovic,
*Constructructive Nonlinear Control*, Springer, 1997. - M. Krstic, I. Kanellakopoulos, and P. Kokotovic,
*Nonlinear and Adaptive Control Design*, John Wiley & Sons, 1995. - Y. Zhang and P. Y. Peng, “Stable neural controller design for unknown nonlinear systems using backstepping,” in
*Proceedings of the American Control Conference*, pp. 1067–1071, June 1999. View at Scopus - S. C. Tong, X. L. He, and H. G. Zhang, “A combined backstepping and small-gain approach to robust adaptive fuzzy output feedback control,”
*IEEE Transactions on Fuzzy Systems*, vol. 17, no. 5, pp. 1059–1069, 2009. View at Publisher · View at Google Scholar · View at Scopus - S. Tong, C. Liu, and Y. Li, “Fuzzy-adaptive decentralized output-feedback control for large-scale nonlinear systems with dynamical uncertainties,”
*IEEE Transactions on Fuzzy Systems*, vol. 18, no. 5, pp. 845–861, 2010. View at Publisher · View at Google Scholar · View at Scopus - A. Ibeas and M. de la Sen, “Robustly stable adaptive control of a tandem of master-slave robotic manipulators with force reflection by using a multiestimation scheme,”
*IEEE Transactions on Systems, Man, and Cybernetics, Part B*, vol. 36, no. 5, pp. 1162–1179, 2006. View at Publisher · View at Google Scholar · View at Scopus - S. Tong and H. X. Li, “Fuzzy adaptive sliding-mode control for MIMO nonlinear systems,”
*IEEE Transactions on Fuzzy Systems*, vol. 11, no. 3, pp. 354–360, 2003. View at Publisher · View at Google Scholar · View at Scopus - M. S. Park and D. Chwa, “Swing-up and stabilization control of inverted-pendulum systems via coupled sliding-mode control method,”
*IEEE Transactions on Industrial Electronics*, vol. 56, no. 9, pp. 3541–3555, 2009. View at Publisher · View at Google Scholar · View at Scopus - H. K. Khalil,
*Nonlinear System*, Prentice Hall, Upper Saddle River, NJ, USA, 1996.