ENERGY BASED CONTROL OF A CLASS OF UNDERACTUATED. Mark W. Spong. Coordinated Science Laboratory, University of Illinois, 1308 West Main Street,

Similar documents
1 Introduction The Gyroscopic Pendulum is shown schematically in Figure 1. It is a physical pendulum with a symmetric mass (disk) attached to the end

q HYBRID CONTROL FOR BALANCE 0.5 Position: q (radian) q Time: t (seconds) q1 err (radian)

A Normal Form for Energy Shaping: Application to the Furuta Pendulum

Stable Limit Cycle Generation for Underactuated Mechanical Systems, Application: Inertia Wheel Inverted Pendulum

A Fuzzy Control Strategy for Acrobots Combining Model-Free and Model-Based Control

KINETIC ENERGY SHAPING IN THE INVERTED PENDULUM

Lyapunov-Based Controller for the Inverted Pendulum Cart System

Exponential Controller for Robot Manipulators

The Acrobot and Cart-Pole

Energy-based Swing-up of the Acrobot and Time-optimal Motion

A GLOBAL STABILIZATION STRATEGY FOR AN INVERTED PENDULUM. B. Srinivasan, P. Huguenin, K. Guemghar, and D. Bonvin

Hybrid Control of the Pendubot

Angular Momentum Based Controller for Balancing an Inverted Double Pendulum

Stabilization of a 3D Rigid Pendulum

Nonlinear Tracking Control of Underactuated Surface Vessel

Control of the Inertia Wheel Pendulum by Bounded Torques

SWINGING UP A PENDULUM BY ENERGY CONTROL

SWING UP A DOUBLE PENDULUM BY SIMPLE FEEDBACK CONTROL

Reverse Order Swing-up Control of Serial Double Inverted Pendulums

available online at CONTROL OF THE DOUBLE INVERTED PENDULUM ON A CART USING THE NATURAL MOTION

Swinging Up a Pendulum by Energy Control

Adaptive Robust Tracking Control of Robot Manipulators in the Task-space under Uncertainties

Control of the Underactuated Inertia Wheel Inverted Pendulum for Stable Limit Cycle Generation

Model Orbit Robust Stabilization (MORS) of Pendubot with Application to Swing up Control

Linköping University Electronic Press

A Nonlinear Strategy to Control Unstable Underactuated Mechanical Systems with Underactuation > 1. Applications to Control Augmentations

Efficient Swing-up of the Acrobot Using Continuous Torque and Impulsive Braking

Video 8.1 Vijay Kumar. Property of University of Pennsylvania, Vijay Kumar

Closed Loop Control of a Gravity-assisted Underactuated Snake Robot with Application to Aircraft Wing-Box Assembly

Transverse Linearization for Controlled Mechanical Systems with Several Passive Degrees of Freedom (Application to Orbital Stabilization)

Robotics, Geometry and Control - A Preview

Relaxed Matching for Stabilization of Mechanical Systems

Controlled Lagrangians and the Stabilization of Mechanical Systems II: Potential Shaping

Lecture 9 Nonlinear Control Design. Course Outline. Exact linearization: example [one-link robot] Exact Feedback Linearization

Position in the xy plane y position x position

Represent this system in terms of a block diagram consisting only of. g From Newton s law: 2 : θ sin θ 9 θ ` T

Swinging-Up and Stabilization Control Based on Natural Frequency for Pendulum Systems

Global stabilization of feedforward systems with exponentially unstable Jacobian linearization

A Backstepping control strategy for constrained tendon driven robotic finger

Pfadverfolgung Von Normalformen zu prädiktiven Reglern

Robust Global Swing-Up of the Pendubot via Hybrid Control

Quaternion Feedback Regulation of Underwater Vehicles Ola-Erik FJELLSTAD and Thor I. FOSSEN Abstract: Position and attitude set-point regulation of au

Cooperative Control and Mobile Sensor Networks

Trigonometric Saturated Controller for Robot Manipulators

Robust Control of Cooperative Underactuated Manipulators

Lecture 9 Nonlinear Control Design

Rigid-Body Attitude Control USING ROTATION MATRICES FOR CONTINUOUS, SINGULARITY-FREE CONTROL LAWS

WE PROPOSE a new approach to robust control of robot

Another Whack at the Pendulum Pump and Balance the Pendulum

Acknowledgements. Feedback Control of Bipedal Locomotion RAS Pioneer Award to Mark Spong. Videos and Papers

Control Education Using Pendulum Apparatus

A Simplified IDA-PBC Design for Underactuated Mechanical Systems with Applications

q 1 F m d p q 2 Figure 1: An automated crane with the relevant kinematic and dynamic definitions.

Matlab-Based Tools for Analysis and Control of Inverted Pendula Systems

International Conference on Electromechanical Engineering ICEE Plenary II. Ahmed CHEMORI

Case Study: The Pelican Prototype Robot

Acrobot stable walking in Hybrid systems notation*

Fuzzy modeling and control of rotary inverted pendulum system using LQR technique

Balancing of an Inverted Pendulum with a SCARA Robot

MECHANISM DESIGN AND DYNAMIC FORMULATION FOR CART/SEESAW/PENDULUM SYSTEM

Nonlinear Control of Mechanical Systems with an Unactuated Cyclic Variable

A Light Weight Rotary Double Pendulum: Maximizing the Domain of Attraction

Force/Position Regulation for Robot Manipulators with. Unmeasurable Velocities and Uncertain Gravity. Antonio Loria and Romeo Ortega

Research Article On the Stabilization of the Inverted-Cart Pendulum Using the Saturation Function Approach

Problem Description The problem we consider is stabilization of a single-input multiple-state system with simultaneous magnitude and rate saturations,

Finite-time control for robot manipulators

Robust Control of Robot Manipulator by Model Based Disturbance Attenuation

Minimizing Cable Swing in a Gantry Crane Using the IDA-PBC Methodology

Dynamics in the dynamic walk of a quadruped robot. Hiroshi Kimura. University of Tohoku. Aramaki Aoba, Aoba-ku, Sendai 980, Japan

Delay-Independent Stabilization for Teleoperation with Time Varying Delay

Estimation-based Disturbance Rejection in Control for Limit Cycle Generation on Inertia wheel Inverted Pendulum Testbed

458 IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, VOL. 16, NO. 3, MAY 2008

FUZZY SWING-UP AND STABILIZATION OF REAL INVERTED PENDULUM USING SINGLE RULEBASE

Dynamics. describe the relationship between the joint actuator torques and the motion of the structure important role for

IN THIS paper, we study the problem of asymptotic stabilization

Control of a Two-Link Robot to Achieve Sliding and Hopping Gaits

NONLINEAR PATH CONTROL FOR A DIFFERENTIAL DRIVE MOBILE ROBOT

Underactuated Dynamic Positioning of a Ship Experimental Results

Robust Control of a 3D Space Robot with an Initial Angular Momentum based on the Nonlinear Model Predictive Control Method

Feedback Control of Dynamic Bipedal Robot Locomotion

FINITE TIME CONTROL FOR ROBOT MANIPULATORS 1. Yiguang Hong Λ Yangsheng Xu ΛΛ Jie Huang ΛΛ

Passivity-based Control of Euler-Lagrange Systems

CDS 101/110a: Lecture 2.1 Dynamic Behavior

Nonlinear PD Controllers with Gravity Compensation for Robot Manipulators

CONTROLLED SYMMETRIES AND PASSIVE WALKING

IMECE NEW APPROACH OF TRACKING CONTROL FOR A CLASS OF NON-MINIMUM PHASE LINEAR SYSTEMS

Experiments on Stabilization of the Hanging Equilibrium of a 3D Asymmetric Rigid Pendulum

Observer Based Output Feedback Tracking Control of Robot Manipulators

Control of Mobile Robots

Experimental Results for Almost Global Asymptotic and Locally Exponential Stabilization of the Natural Equilibria of a 3D Pendulum

El péndulo invertido: un banco de pruebas para el control no lineal. XXV Jornadas de Automática

Abstract: It is a well known fact that a symmetric spacecraft with two control torques supplied by gas

Multibody simulation

IN THE past few years, there has been a surge of interest

CDS 101/110a: Lecture 2.1 Dynamic Behavior

Passive Control of Overhead Cranes

System simulation using Matlab, state plane plots

Feedback Control Strategies for a Nonholonomic Mobile Robot Using a Nonlinear Oscillator

Advanced Generalized Modeling of Classical Inverted Pendulum Systems

Limit Cycles in High-Resolution Quantized Feedback Systems

Transcription:

ENERGY BASED CONTROL OF A CLASS OF UNDERACTUATED MECHANICAL SYSTEMS Mark W. Spong Coordinated Science Laboratory, University of Illinois, 1308 West Main Street, Urbana, Illinois 61801, USA Abstract. In this paper we discuss some design methods for the control of a class of underactuated mechanical systems. This class of systems includes gymnastic robots, such as the Acrobot, as well the classical cart{pole system. The systems considered here are nonminimum phase which greatly complicates the control design issues. Our design techniques combine nonlinear partial feedback linearization with Lyapunov methods based on saturation functions, switching and energy shaping. Keywords. control theory, robotics, mechanical systems, feedback linearization, saturation. 1. INTRODUCTION Underactuated mechanical systems are mechanical systems with fewer actuators than degrees{of{freedom and arise in several ways, from intentional design as in the the Acrobot (Borto, 1992), in mobile robot systems when a manipulator arm is attached to a mobile platform, a space platform, or an undersea vehicle, or because of the mathematical model used for control design as when joint exibility is included in the model. In the latter sense, then, all mechanical systems are underactuated if one wishes to control exible modes that are not directly actuated (the noncollocation problem), or even to include such things as actuator dynamics in the model description. 1.1 Upper and Lower Actuated Systems We consider an n{degree{of{freedom system with generalized coordinates q 1 ::: q n, and m < nactua- Fig. 1. A General Underactuated System tors, each of which directly actuates a single degree of freedom. Each actuated degree of freedom is called an active joint. The remaining ` = n ; m unactuated degrees of freedom are called passive joints, as shown in Figure 1. A so{called Upper Actuated System is one in which the upper arm, or the rst m{joints are actuated while a Lower Actuated System is one in which the lower arm, or the last m{joints are actuated (see Figure 2). By suitably numbering and partitioning the vector q of generalized coordinates we maywriteq T =(q1 T q2 T )where q 1 2 R` corresponds to the passive joints and q 2 2 R m corresponds to the active joints. Thus all systems will

be considered as though they are lower actuated without loss of generality. inertia matrix M in (3). Therefore we may solve for q 1 in equation (4) as q 1 = ;M ;1 11 (M 12q 2 + h 1 + 1 ) (5) UPPER ACTUATED SYSTEM and substitute the resulting expression (5) into (2) to obtain M 22 q 2 + h 2 + 2 = (6) where the terms M 22, h 2, 2 are given by LOWER ACTUATED SYSTEM Fig. 2. Upper and Lower Actuated Systems 1.2 Dynamics With the vector q 2 R n of generalized coordinates partitioned as above withq 1 2 R` and q 2 2 R m,wemay write the dynamic equations of the n degree of freedom system as where M 11 q 1 + M 12 q 2 + h 1 + 1 =0 (1) M 21 q 1 + M 22 q 2 + h 2 + 2 = (2) M11 M M(q) = 12 M 21 M 22 (3) is the symmetric, positive denite inertia matrix, the vector functions h 1 (q _q) 2 R` and h 2 (q _q) 2 R m contain Coriolis and centrifugal terms, the vector functions 1 (q) 2 R` and 2 (q) 2 R m contain gravitational terms, and 2 R m represents the input generalized force produced by the m actuators at the active joints. For notational simplicity we will henceforth not write the explicit dependence on q of these coecients. The equations (1){(2) represent the standard dynamics of n link robots except that there is no control input to the rst ` equations (Spong and Vidyasagar, 1989). 1.3 Collocated Partial Feedback Linearization Consider the rst equation (1) M 11 q 1 + M 12 q 2 + h 1 + 1 =0 (4) M 22 = M 22 ; M 21 M ;1 11 M 12 h 2 = h 2 ; M 21 M ;1 11 h 1 2 = 2 ; M 21 M ;1 11 1 As shown in (Gu and Loh, 1993) the m m matrix M 22 is itself symmetric and positive denite. To see this we note that a simple calculation (Gu and Loh, 1993) yields M 22 = T T MT (7) where T is an n m matrix dened by ;M ;1 T = 11 M 12 I mm (8) with I mm the m m identity matrix. Since T has rank m for all q and M is symmetric and positive denite, it follows that M 22 is symmetric and positive denite. A partial feedback linearizing controller can therefore be dened for equation (6) according to = M22 u + h 2 + 2 (9) where u 2 R m is an additional control input yet to be dened. The complete system up to this point may be written as M 11 q 1 + h 1 + 1 = ;M 12 u (10) q 2 = u (11) We see that the input/output system from u to q 2 is linear and second order. The complete system therefore has m{vector relative degree (2 ::: 2) T (Isidori, 1989) with respect to the output q 2 and the equation (10) represents the internal dynamics. We rst apply a feedback control u according to u = ;k 1 q 2 ; k 2 _q 2 + k 3 u (12) The term M 11 is an invertible ` ` matrix as a consequence of the uniform positive deniteness of the robot so that the linear subsystem (11) is asymptotically stable for u = 0. The remaining design problem then is the

choice of the additional term u. We will address this in the next section. 2. ENERGY BASED CONTROL In the case of exact feedback linearization the control design problem is largely complete once the system is linearized. For partial, or input/output, linearization with asymptotically stable zero dynamics local stabilization is easily achieved, but global or semi{global stabilization requires consideration of issues such as peaking, etc. (Sussman and Kokotovic, 1991 Teel, 1992). For the class of systems considered here, the collocated linearization approach above, generally result in systems having unstable zero dynamics. Thus the second stage control, i.e. the design of the outer loop terms u in (11), more to the point, the choice of u in (12), is nontrivial. To deal with this we will outline methods for the design of u that combines the high gain and/or saturating controls typically considered with methods based on passivity and energy concepts. By exploiting the physical structure of the system in this way,we can achieve closed loop stability without requiring stable zero dynamics. In general, though, the stability achieved is not asymptotic to a xed point, but only to a manifold. For this reason, for problems such as swing up control of inverted pendula or the Acrobot, the control must eventually switch to separate controller that achieves local asymptotic stability to the desired equilibrium conguration. We will illustrate these designs on several examples, without proof. 2.1 Swing Up Control of The Acrobot The Acrobot is a two{link planar robot with a single actuator at the elbow. q1 Fig. 3. The Acrobot Actuator The equations of motion are given by (Spong and Vidyasagar, 1989) q2 where m 11 q 1 + m 12 q 2 + h 1 + 1 =0 (13) m 21 q 1 + m 22 q 2 + h 2 + 2 = 2 (14) m 11 = m 1`2c1 + m 2 (`21 + `2c2 +2`1`c2 cos(q 2 )) + I 1 + I 2 m 22 = m 2`2c2 + I 2 m 12 = m 21 = m 2 (`2c2 + `1`c2 cos(q 2 )) + I 2 h 1 = ;m 2`1`c2 sin(q 2 )_q 2 2 ; 2m 2`1`c2 sin(q 2 )_q 2 _q 1 h 2 = m 2`1`c2 sin(q 2 )_q 2 1 1 =(m 1`c1 + m 2`1)g cos(q 1 )+m 2`c2 g cos(q 1 + q 2 ) 2 = m 2`c2 g cos(q 1 + q 2 ) The parameters m i, `i, `ci, and I i are masses, link lengths, centers of masses, and moments of inertia, respectively. The zero conguration, q i = 0, in this model corresponds to the arm extended horizontally. Therefore, the swing up task is move the robot from the vertically downward conguration q 1 = ;=2, q 2 = 0 to the inverted conguration q 1 =+=2, q 2 = 0. Our strategy is as follows: We rst apply the partial feedback linearization control (9) with the outer loop term given by (12). The resulting system can be written as m 11 q 1 + h 1 + 1 = ;m 12 (u ; k 2 _q 2 ; k 1 q 2 ) (15) q 2 + k 2 _q 2 + k 1 q 2 =u (16) We then choose the additional control u to swing the second link \in phase" with the motion of the rst link in such away that the amplitude of the swing of the rst link increases with each swing. To accomplish this let E represent the total energy of the Acrobot given by E = 1 2 m 11q 2 1 + m 12 q 2 2 + 1 2 m 22q 2 2 + P (q 1 q 2 ) where P (q 1 q 2 )isthepotential Energy. Let E c represent the energy of the Acrobot in its balancing position. Then E c represents the Potential Energy at the conguration q 1 = =2, q 2 =0.Set ~ E = E ; E c,andchoose the outer loop control u as u = sat( ~ E _q 1 ) (17) where sat() is the saturation function. The behavior of the resulting closed loop system is quite interesting and we can discuss its qualitative behavior. We are attempting to make rigorous the following qualitative statements using Lyapunov functions based on the total energy in conjunction with LaSalle's Theorem. In some cases, local proofs are available we

conjecture that at least semi-global results are possible using these techniques. The total energy E should converge to E c while q 2 and _q 2 converge to zero. The \steady{state" behavior of the Acrobot under this control is therefore nearly identical to the behavior of a single simple pendulum converging to its homoclinic orbit. The state trajectory therefore converges to an invariant set consisting of the union of the two equilibrium con- gurations (q 1 _q 1 q 2 _q 2 )=(=2 0 0 0) with the set (E _E q 2 _q 2 )=(E c 0 0 0). The nal step is to switch to a \balancing controller" when the \swingup controller" u brings the state into the basin of attraction of the balancing controller. We have investigated various methods for designing balancing controllers, chiey pseudo{linearization [bor92] and Linear{Quadratic methods. The behavior of the swingup controller followed by the balancing controller is illustrated below in Figure(4). Fig. 5. Three Link Gymnast Robot q 2 = u 2 (22) q 3 = u 3 (23) Using our insight gained from the Acrobot, we specify the outer loop controls according to u 2 = ;k 21 q 2 ; k 22 _q 2 +u 2 (24) u 3 = ;k 32 q 3 ; k 32 _q 3 +u 3 (25) with u 2 = k 23 sat( ~ E _q1 ) (26) u 3 = k 33 sat( ~ E _q 2 ) (27) Fig. 4. Swingup and Balance of The Acrobot where ~ E = E ;Ec, E is the total energy of the three link system and E c is the potential energy at the inverted position. Figure 6 shows a plot of the resulting giant swing maneuver including a switch to a linear controller at the end to balance the robot in the inverted position. 2.2 Three{Link Gymnast Robot Next we apply the partial feedback linearization control to execute a so{called giant swing maneuver and balance for a three{link planar gymnast robot with two actuators shown below. The equations of motion are of the form m 11 q 1 + m 12 q 2 + m 13 q 3 + h 1 + 1 =0 (18) m 21 q 1 + m 22 q 2 + m 23 q 3 + h 2 + 2 = 2 (19) m 31 q 1 + m 32 q 2 + m 33 q 3 + h 3 + 3 = 3 (20) In this case we can linearize two of the three degrees of freedom to obtain m 11 q 1 + h 1 + 1 = ;m 12 u 2 + m 13 u 3 (21) Fig. 6. Three Link Gymnast Robot: Swingup and Balance 2.3 The Cart{Pole System In this section we treat the familiar cart{pole system and show how the same design ideas as above can be

applied. The Euler-Lagrange equations for this system are (M + m)x + ml cos() = ml _ 2 sin()+f (28) x cos()+l = g sin() (29) where x is the cart position and is the pendulum angle measured from the vertical. Applying the partial feedback linearization control, it is easy to show that the cart{pole system may be written as: _x = v (30) _v = u (31) _ =! (32) _! = sin() ; cos()u (33) where we have used the more descriptive notation, x, v, and! instead of z i and i to represent the cart position and velocity, and pendulum angle and angular velocity, respectively, and have normalized the parameter values. Using our above strategy, the simple control u = k 3 sat( ~ E cos()! ; k 1 x ; k 2 v) (34) can be used both to swing up the pendulum by controlling its swinging energy and to regulate the cart position and velocity, where E is the total energy of the pendulum and is given by E = 1 2!2 + cos() (35) and E = 1 corresponds to the upright position of the pendulum. The earliest use of such energy ideas to swing up a pendulum was reported in (Wicklund, et.al., 1993) without consideration of the cart position or velocity. The later controller of (Chung and Hauser, 1995) is identical to our controller (34) if the saturation function is removed, i.e. if Fig. 7. Cart{Pole Response Using (34) Chung, C.C. and Hauser, J.(1995)., \Nonlinear Control of a Swinging Pendulum," Automatica, Vol. 31, No. 6, pp. 851{862. Teel, A.R.(1992). \Using saturation to stabilize a class of single-input partially linear composite systems," IFAC NOLCOS'92 Symposium, Bordeaux. Gu, Y{L, and Xu, Y.(1993). \A Normal Form Augmentation Approach to Adaptive Control of Space Robot Systems," Proc. IEEE Int. Conf. on Robotics and Automation, pp. 731{737, Atlanta, GA. Isidori, A.(1989). Nonlinear Control Systems, 2nd Edition, Springer{Verlag, Berlin. Spong, M.W., and Vidyasagar, M.(1989). Robot Dynamics and Control, John Wiley & Sons, Inc., New York. Sussman, H.J. and Kokotovic, P.V.(1991). \The Peaking Phenomenon and the Global Stabilization of Nonlinear Systems," IEEE Trans. Aut. Cont.,Vol. AC{36, No. 4, pp. 424{440. Wiklund, M., Kristenson, A., and Astrom, K.J.(1993). \A New Strategy for Swinging up an Inverted Pendulum," Proc. IFAC Symposium, Sydney, Australia. u = ;k 1 x ; k 2 v + k 3 ~ E cos(cos()! (36) (Chung and Hauser, 1995) proved local exponential covergence of the cart position and velocity to zero and of the pendulum energy to unity. Figure (7) shows the response of the cart{pole using the control (34). REFERENCES Borto, S.A.(1992). Pseudolinearization using Spline Functions with Application to the Acrobot, Ph.D. Thesis, Dept. of Electrical and Computer Engineering, University of Illinois at Urbana{Champaign.