INPUT-STATE LINEARIZATION OF A ROTARY INVERTED PENDULUM

Similar documents
QUATERNION FEEDBACK ATTITUDE CONTROL DESIGN: A NONLINEAR H APPROACH

MCE693/793: Analysis and Control of Nonlinear Systems

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

Control Using Sliding Mode Of the Magnetic Suspension System

Mathematics for Control Theory

A RECEDING HORIZON CONTROL FOR LIFTING PING-PONG BALL. Sumiko Majima and Keii Chou

System simulation using Matlab, state plane plots

SYNCHRONIZATION CRITERION OF CHAOTIC PERMANENT MAGNET SYNCHRONOUS MOTOR VIA OUTPUT FEEDBACK AND ITS SIMULATION

Dynamic Modeling of Rotary Double Inverted Pendulum Using Classical Mechanics

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

NONLINEAR CONTROL OF A MAGNETIC LEVITATION SYSTEM USING FEEDBACK LINEARIZATION

Balancing of an Inverted Pendulum with a SCARA Robot

Real-Time Implementation of a LQR-Based Controller for the Stabilization of a Double Inverted Pendulum

Nonlinear Control Lecture 9: Feedback Linearization

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

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

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

APPLICATION OF INPUT STATE OF THE SYSTEM TRANSFORMATION FOR LINEARIZATION OF SELECTED ELECTRICAL CIRCUITS

Stabilization and Passivity-Based Control

M2A2 Problem Sheet 3 - Hamiltonian Mechanics

FUZZY LOGIC CONTROL Vs. CONVENTIONAL PID CONTROL OF AN INVERTED PENDULUM ROBOT

Design and Stability Analysis of Single-Input Fuzzy Logic Controller

Adaptive Nonlinear Control of an Electric Motor

Controlling the Inverted Pendulum

Lecture 12. Upcoming labs: Final Exam on 12/21/2015 (Monday)10:30-12:30

THE REACTION WHEEL PENDULUM

Physics 12. Unit 5 Circular Motion and Gravitation Part 1

SWINGING UP A PENDULUM BY ENERGY CONTROL

Design of Fuzzy PD-Controlled Overhead Crane System with Anti-Swing Compensation

D(s) G(s) A control system design definition

Lecture 9 Nonlinear Control Design

Feedback Linearization

LQG/LTR CONTROLLER DESIGN FOR ROTARY INVERTED PENDULUM QUANSER REAL-TIME EXPERIMENT

Rotary Inverted Pendulum

Control of Mobile Robots

Nonlinear Controller Design of the Inverted Pendulum System based on Extended State Observer Limin Du, Fucheng Cao

Linearization problem. The simplest example

CHATTERING-FREE SMC WITH UNIDIRECTIONAL AUXILIARY SURFACES FOR NONLINEAR SYSTEM WITH STATE CONSTRAINTS. Jian Fu, Qing-Xian Wu and Ze-Hui Mao

Physics 207 Lecture 10. Lecture 10. Employ Newton s Laws in 2D problems with circular motion

Trajectory-tracking control of a planar 3-RRR parallel manipulator

ADMISSION TEST INDUSTRIAL AUTOMATION ENGINEERING

Mechatronic System Case Study: Rotary Inverted Pendulum Dynamic System Investigation

Consider a particle in 1D at position x(t), subject to a force F (x), so that mẍ = F (x). Define the kinetic energy to be.

The dynamics of a Mobile Inverted Pendulum (MIP)

Mechanics II. Which of the following relations among the forces W, k, N, and F must be true?

Modeling nonlinear systems using multiple piecewise linear equations

Control of a Car-Like Vehicle with a Reference Model and Particularization

Control Systems I. Lecture 2: Modeling. Suggested Readings: Åström & Murray Ch. 2-3, Guzzella Ch Emilio Frazzoli

Feedback Optimal Control for Inverted Pendulum Problem by Using the Generating Function Technique

Disturbance Decoupling Problem

TOPIC E: OSCILLATIONS SPRING 2019

APPLICATION OF ADAPTIVE CONTROLLER TO WATER HYDRAULIC SERVO CYLINDER

Application of Neural Networks for Control of Inverted Pendulum

The Damped Pendulum. Physics 211 Lab 3 3/18/2016

Mechatronics. MANE 4490 Fall 2002 Assignment # 1

Nonlinear Control of Electrodynamic Tether in Equatorial or Somewhat Inclined Orbits

The distance of the object from the equilibrium position is m.

High-Gain Observers in Nonlinear Feedback Control. Lecture # 3 Regulation

EQUATIONS OF MOTION: ROTATION ABOUT A FIXED AXIS (Section 17.4) Today s Objectives: Students will be able to analyze the planar kinetics of a rigid

Mechanical Resonance and Chaos

PHYS2330 Intermediate Mechanics Fall Final Exam Tuesday, 21 Dec 2010

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

Nonlinear Control Systems

H-infinity Model Reference Controller Design for Magnetic Levitation System

Robot Manipulator Control. Hesheng Wang Dept. of Automation

In-Class Problems 30-32: Moment of Inertia, Torque, and Pendulum: Solutions

MEAM 510 Fall 2011 Bruce D. Kothmann

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

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

Rotational Mechanics Part III Dynamics. Pre AP Physics

Lecture : Feedback Linearization

H-INFINITY CONTROLLER DESIGN FOR A DC MOTOR MODEL WITH UNCERTAIN PARAMETERS

Exact Linearization Of Stochastic Dynamical Systems By State Space Coordinate Transformation And Feedback I g-linearization

Adaptive Robust Control for Servo Mechanisms With Partially Unknown States via Dynamic Surface Control Approach

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

Computing Optimized Nonlinear Sliding Surfaces

Chapter 14 Periodic Motion

Comparison of LQR and PD controller for stabilizing Double Inverted Pendulum System

Feedback Linearization Lectures delivered at IIT-Kanpur, TEQIP program, September 2016.

PRECISION CONTROL OF LINEAR MOTOR DRIVEN HIGH-SPEED/ACCELERATION ELECTRO-MECHANICAL SYSTEMS. Bin Yao

Positioning Servo Design Example

ECE557 Systems Control

Chaos Suppression in Forced Van Der Pol Oscillator

Project Lab Report. Michael Hall. Hao Zhu. Neil Nevgi. Station 6. Ta: Yan Cui

A Backstepping control strategy for constrained tendon driven robotic finger

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

Two-Dimensional Rotational Kinematics

MEAM 510 Fall 2012 Bruce D. Kothmann

Nonlinear Autonomous Systems of Differential

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

PERIODIC signals are commonly experienced in industrial

ADAPTIVE FEEDBACK LINEARIZING CONTROL OF CHUA S CIRCUIT

Reverse Order Swing-up Control of Serial Double Inverted Pendulums

2.010 Fall 2000 Solution of Homework Assignment 1

Lecture 10. Example: Friction and Motion

Introduction to Feedback Control

Simple and Physical Pendulums Challenge Problem Solutions

Vibrations Qualifying Exam Study Material

Richiami di Controlli Automatici

Double Pendulum Power Method for Extracting AC Power from a Mechanical Oscillator

Transcription:

0 Asian Journal of Control Vol 6 No pp 0-5 March 004 Brief Paper INPU-SAE LINEARIZAION OF A ROARY INVERED PENDULUM Chih-Keng Chen Chih-Jer Lin and Liang-Chun Yao ABSRAC he aim of this paper is to design a nonlinear controller for the rotary inverted pendulum system using the input-state linearization method he system is linearized and the conditions necessary for the system to be linearizable are discussed he range of the equilibriums of the system is also investigated Further after the system is linearized the linear servo controllers are designed based on the pole-placement scheme to control the output tracking problem he performance of the controller is studied with different system parameters he computer simulations demonstrate that the controller can effectively track the reference inputs KeyWords: Input-state linearization nonlinear control rotary inverted pendulum pole-placement method I INRODUCION he rotary inverted pendulum is a widely investigated nonlinear system due to its static instability his paper deals with a rotary inverted pendulum system (see Fig ) which is composed of the following components: a rotating disk which is driven by a motor with a rod mounted on its rim he rod moves as an inverted pendulum in a plane perpendicular to the rotating disk he system discussed in this paper is not the same as the normal inverted pendulum or Furuta s pendulum In contrast to the later two systems in which the equilibria are at two points (with the pendulum upright or down vertically) the equilibria of this system are important and will be investigated in the paper he system is used as a simplified model for the control of rider-motorcycle systems in circular motion on paths of different radii he results of this research can be used to study how the riding speeds of the motorcycle and the leaning angles of the rider affect the system dynamics and its motion Wu and Liu [] used genetic algorithm and auto-tuning to improve the performance of a fuzzy controller for their system Yurkovich and Widjaja [] dealt with the control problem using two strategies For swing-up control a fuzzy supervisory mechanism was used For balancing Manuscript received August 8 00; revised March 5 00; accepted April 8 00 he authors are with Department of Mechanical and Automation Engineering Da-Yeh University Changhua aiwan 5505 ROC Inverted Pendulum Mass m = 004kg Disk Mass M = 6kg θ m Motor l = 0m r = 0m Fig A schematic representation of the rotary inverted pendulum control a direct fuzzy controller based on the LQG linear control was utilized hese methods do not directly use the nonlinear mathematical model in the controller design Feedback linearization methods can be viewed as ways of algebraically transforming a nonlinear system dynamic fully or partially into a simple linear one In the standard approach to exact input-state linearization one uses coordinate transformation and static state feedback such that the closed-loop system in the defined region θ b

CK Chen et al: Input-State Linearization of a Rotary Inverted Pendulum takes a linear canonical form After the system s linearization form is obtained the linear control design scheme is empoloyed to achieve stabilization or tracking [57] Many applications can be found in the literature [-5] he problem dealt with in this paper is that of finding a control law to be applied to the motor s torque such that the inverted pendulum motion stays at a specific point and tracks the desired trajectory he system is linearized using the input-state linearization method [5] and the properties of the linearized system are discussed in this paper Further the linear control law is designed using pole-placement scheme to make the output states track the desired trajectory he integral control law is used in the design to eliminate steady-state errors caused by sys- tem uncertainties he performance of the controller is studied using different system parameters and the simulation results verify the capability of the controller II DYNAMIC MODEL In this paper we investigate the motion control of a rotary inverted pendulum as shown in Fig by means of input-state linearization Denote by θ m the angular velocity of the rotation disk which is controlled by the motor torque and by θ b the angle between the rod and the vertical axis which is the output state of the system Denote by r the radius of the disk by M the mass of the disk by l the length of the rod and by m the mass of the rod hen the Lagrange function L is defined as L = V () where is the kinetic energy and V is the potential energy From Lagrange s equation we can have the equations of motion as d L L d L L = u = 0 dt θ m θm dt θ b θb where u is the control torque applied on the rotating disk By substituting the Lagrange function L in () into the equations in () the dynamic equations of the system can be obtained as follows: ml cosθθ b mθ b( l sinθb) + 6u ( + 6 ) + sinθb( sinθb 6 ) r M m ml l r () θ = () m cos θθ b m (lsinθb r) gsinθb θ + b = (4) l Now we can go further to study the control problem for the pendulum angle θ b he system dynamics in Equations () and (4) are nonlinear; thus the linearization procedure can be utilized to design the controller III INPU-SAE LINEARIZAION he standard form of the nonlinear system can be written as x= f( x) + g( x ) u (5) where f(x) and g(x) are smooth vector fields on R n If the state vector is defined as x = [ x x x] = [ θ m θb θ b] then Equations () and (4) can be rewritten in the standard form as in (5) with the vector fields defined as follows: ml cos xxx( l sin x) D fx ( ) = x cos xx (lsin x r) + gsin x 6 gx ( ) = 0 0 D where D = r ( M + m) + mlsin x( lsin x r) he definition of input-state linearization is given in the following One can apply the standard procedure of the method to linearize the nonlinear system (5) Definition [5] A nonlinear system in the form of (5) is said to be input-state linearizable if there exists a region Ω in R n n a diffeomorphism φ : Ω R and a nonlinear feedback control law l (6) u = α( x) + β ( x ) ν (7) such that the new state variables z = φ ( x) and the new input ν satisfy a linear time-invariant relation: z = Az+ b ν (8) he new state vector z is the linearized state and (7) is called the linearizing control law By the above definition the fundamental results of feedback linearization can be used to linearize the system Lemma [56] he nonlinear system (5) with f(x) and g(x) being smooth vector fields is input-state linearizable if and only if there exists a region Ω such that the following conditions hold: n the vector fields { g ad fg ad f g } are linearly independent in Ω n the set { g ad fg ad f g } is involutive in the region Ω

Asian Journal of Control Vol 6 No March 004 heorem he nonlinear system (6) can be linearized as the linear equation (8) in the following region: Ω x R 0 ( ) and sin( x ) k Z l = x x k + Proof We will show that the system can satisfy the conditions in Lemma First for the nonlinear system (6) the set of vector fields can be described as {g ad f g ad f g} and the determinant of the three vector fields can be obtained as follows: det([ g ad fg ad f g ]) = (9) 6x cos x ( lsin x ) Dl (0) If det([ g ad fg ad f g ]) 0 then the vector fields in the set { g ad fg ad f g } are linear independent his leads to the following conditions: x 0 cos x 0 and ( lsin x ) 0 Secondly one can show that the set of vectorfields { g ad f g } are involutive By substituting f and g into Equation (6) the vectorfields ad f g can be obtained as follows: ad f g 6xcos x(lsinx r) 0 0 = Dl Furthermore the Lie bracket of g and ad f g can be computed as follows: [ g ad f g ] It is obvious that ( ) 6cos x lsin x = 0 0 D l [ g ad fg] = αg+ α ad fg where α α are scalar functions defined as α = 0 α = 6x herefore the set of vectorfields { g } D ad f g is involutive in Ω he above satisfaction the two conditions in Lemma proves that the system is linearizable using input-state linearization method Since the nonlinear system (5) satisfies the conditions in Lemma the steps needed to obtain the equivalent linear system by means of input-state linearization are as follows: Lemma [7] he nonlinear system (5) that satisfies the conditions in Lemma can be transferred to the linear system (8) by means of the following state transformations: ransfer the state variables x to z with the first state z satisfying i z g = z adf g = 0 i = 0 n zad 0 n f g () he new state vector is ( ) [ n zx = z Lfz Lf z] and the control command is u = α( x) + β ( x ) ν where Lf z ( ) α x = and β ( x ) = LL g f z LL g f z Lemma can be applied directly to linearize the system as shown in the following theorem heorem Choose the new state vector z and the control law u as follows: [ ] z = x x x u = α( x) + β ( x ) ν; () then system (6) can be linearized to obtain the linear system (8) in the region Ω as defined in (9) with and E α( x ) = x cos x (lsin x r) ld β ( x ) = x cos x (lsin x r) E = lx x cos x (6Mr ml + 4ml cosx + 6mr + 8mrl sin x ) + 9rx x sin x ( Mr + ml + mr ) + gcos x x D lx x (5mr + Mr + ml ) Proof From the computations of the vector fields we have 6 0 0 D = 0 0 P 0 P 0 [ g ad fg ad f g ] 6x cos x ( lsin x ) where P Dl tion () in Lemma the first new state z of system (6) must satisfy the following equations: = o satisfy Equa- z z z = 0 = 0 0 x x x

CK Chen et al: Input-State Linearization of a Rotary Inverted Pendulum he simplest solution to the above equations is z = x; then the conditions x = 0 z g = z ad g = 0 zad f g = f 6xcos x(lsinx r) Dl x = x = can be satisfied From the above if the nonlinear system (6) stays in the region Ω defined in Equation (9) then zad f g 0 and the other two states z z can be obtained from z : z = zf = x cos xx (lsin x r) + gsin x z = zf = x = l he control law u given in Lemma is u = α(x) + β(x)ν Lf z where ( ) α x = and β ( x ) = By LL g f z LL g f z letting z = x and computing the above two equations one can obtain the result of Equation () As a result of the above state transformations we can transform the system dynamics into the linear form as shown in (8) with the parameters x = sin (/l) x = x = + sin (/l) x = (a) l x = 0 x = 0 0 0 A = 0 0 0 b = () 0 0 0 and with the state transformations between z and x as follows: (gsin z lz) θ m = x =± cos z lsin z θ b = x = z θ = x = z b ( ) he new state variables are as follows: z = [z z z ] = [ θb θ b θ b] hese are the angular position velocity and acceleration of the pendulum Remark For the nonlinear control system (5) the equilibrium point x * is defined by f(x * ) = 0 without the control effort ie u = 0 For system (6) the equilibrium point can be obtained as gtanx * x = ± x 0 (4) lsinx Since the angular velocity of the disk x = θ m cannot be imaginary the condition for the existence of the equilibrium is x = (b) < l Fig he regions of the equilibrium points gtanx 0 lsinx > (5) Condition (5) leads to two situations: () tan x 0 and lsinx > 0 ; () tan x 0 and l sin x < 0 In each case the equilibrium points are located in the following domains: () When l the equilibrium points are in the region shown in Fig (a) () When < l the equilibrium points are in the region shown in Fig (b) Referring to the configuration of the pendulum the origin of angle x is defined to correspond to the situation where the rod stays vertically upwards as shown in Fig he parameters r and l are the disk radius and the length of the pendulum respectively he condition < l in case () can be interpreted as the case where the relatively long rod is used as the pendulum and the centrifugal force lifts the rod to counteract gravity in the region < x < + sin ( ) In most practical l

4 Asian Journal of Control Vol 6 No March 004 control problems the angles chosen as the reference inputs are within the range 0 < x < hen one must keep in mind that for the long rod case ( < l) the range sin ( ) < x < is not the equilibria and l the pendulum cannot be controlled such that it stays in the region Remark In the linearizable region in Equation (9) the point x = (k+ ) or sin( x ) = is at the bound- l ary of the region shown in Fig Furthermore x = 0 means that the disk stops rotating hese points lead to the singularity condition for input/state feedback linearization Since state variable transformation is involved in the process of input-state linearization the choice of new states is crucial Different choices of states may lead to different complexity of the nonlinear controller In this paper we obtain a set of simple state variables that can effectively transform the nonlinear system into a simple linear one without loss of physical meaning IV CONROLLER DESIGN AND SIMULAIONS he nonlinear system dynamics were transformed into an equivalent linear system in the normal form (8) In this study the linear controller design schemes were used to control the pendulum he integral-type servo controller was used to improve the performance of tracking control of the pendulum angle 4 Linear controller design A block diagram of the controller is shown in Fig Here the integral control is not considered (ie k I = 0) For the linearized system the linear state feedback control law can be designed as follows: r ν = Kz +kr (6) + _ e + v k z = Az + bv + k I s k k z y = z y = Cz Fig A block diagram of the linear servo control system he feedback gain K can be designed using the pole-placement method o minimize the IAE criterion for the step input one can choose dominant poles with a damping ratio of ξ = 0707 and a natural frequency of ω n = 0 he three system poles can consequently be obtained as ( 707±707j 707) he system s nominal parameters are described in able and the feedback gain K can be computed as follows: where the feedback gains are K = [ k k k] [ ] K = 0e 707 099698 008484 (7) However the performance for the tracking problem degrades due to the parameter uncertainties in the system One could improve the steady-state error by adding the k I integral controller as shown in Fig If the same s feedback gain K as in (7) is employed and the integral gain is k I = 0000 then the closed-loop poles of the system are at ( 407±549j 606 706) In addition saturation was also considered in the simulations For practical implementation of the system the motor s driving torque was assumed to be restricted within the range ±7 (N-M); thus the saturator was added to the simulations 4 Simulation results he system parameters are listed in able o investigate the effect of the modeling uncertainties on the controller performance two sets of data were used he nominal parameters were used in the nonlinear controller design and the actual parameters were used in the simulation of the plant he reference inputs were θ b = 5(deg) 0 t < (sec) θ b = 5 (deg) t 4 (sec) and initial system conditions of θ b (0) = 0 (deg) θ b (0) = 0 (deg/sec) and θ m (0) = 0 (deg/sec) were used to study the step responses In Fig 4 the results of three simulation cases are plotted For Cases and as shown in the figure a control saturation limit of u 7 was able he system nominal parameters and actual parameters System Actual Nominal parameters parameters parameters M 6kg 6kg m 00kg 004kg l 05m 0m r 05m 0m

CK Chen et al: Input-State Linearization of a Rotary Inverted Pendulum 5 0 8 6 Refrence input Case : ki = 0 with saturation Case : ki = 0000 without saturation Case : ki = 0000 with saturation 55 50 45 Refrence input Case 4: ki = 0 Case 5: ki = 0000 4 40 5 θ b (deg) 0 8 6 4 0 8 0 05 5 5 5 4 time (sec) Fig 4 Step responses of the inverted pendulum angle applied and the angular speed of the disk cannot be built up in time; thus the pendulum first fell and then swung up due to the centrifugal force Without control saturation (Case ) the pendulum could be controlled directly from an initial position ranging from 0 to 5 However the maximum control torque reached to 9 N-M which is far beyond the constraint of 7 N-M As mentioned above in the saturated case the disk speed could not be built in time to counteract the force of gravity; thus the controller produced higher speed to lift the pendulum For these cases the disk s angular speed converged to the equilibrium point as shown in (4) In Case the integral controller was not used (ie k I = 0) and it can be seen that a steady-state error existed in the response due to system uncertainties his error could be reduced by adding the integral controller as shown in the Cases and he simulation results show the capability of the integral controller in eliminating the tracking error under parameter uncertainties In addition with the same initial conditions we further studied the tracking problem he desired angular trajectory of the pendulum was given by the sinusoidal function 0 + 0sin(t) (deg) he time responses of the pendulum to the sinusoidal input are plotted in Fig 5 As shown by these plots modeling uncertainties still existed in the plant Both of the responses (Cases 4 and 5) to the time-variant reference input showd steady-state errors due to system uncertainties However the tracking error in the Case 5 could be effectively reduced due to the effect of the integral controller V CONCLUSIONS In this research nonlinear control design for a rotary inverted pendulum system has been studied using the input-state linearization method he system has been linearized to obtain a linear system of the normal θ b (deg) 0 5 0 5 0 5 0 4 5 6 7 8 9 0 time (sec) Fig 5 ime responses of the inverted pendulum angle to the sinusoidal input form and a linear controller has been used to achieve tracking control of the pendulum s angular position Simulations were conducted to verify the control results When the input-state linearization method was applied to the system the region of equilibrium points of the system was affected by the geometric parameters his shows that systems with different parameter ranges ( l or < l) will have different equilibrium regions he parameters uncertainties resulted in a tracking error By adding the integral controller to the system it was possible to reduce the steady state error In future research the robust controller will be incorporated to improve the tracking accuracy when time-varying parameters or disturbances exist REFERENCES Wu J C and S Liu Fuzzy Control of Rider-Motorcycle System Using Genetic Algorithm and Auto-uning Mechatronics Vol 5 No 4 pp 44-455 (995) Yurkovich S and M Widjaja Fuzzy Control Synthesis for An Inverted Pendulum System Contr Eng Parct Vol 4 No 4 pp 455-469 (996) Fattah H A Input-output Linearization of Induction Motors with Magnetic Saturation in Proc Amer Contr Conf pp 600-604 (000) 4 Jakubczyk B and W Respondek On Linearization of Control Systems Bull Acad Polonaise Sci Ser Sci Math 8 pp 57-5 (980) 5 Slotine J E and W P Li Applied Nonlinear Control Prentice-Hall NJ (99) 6 Su R On the Linear Equivalents of Nonlinear Systems Syst Contr Lett Vol No pp 48-5 (98) 7 Isidori A Nonlinear Control Systems d Ed Springer New York (995)