Factors Limiting Controlling of an Inverted Pendulum

Similar documents
Modelling, identification and simulation of the inverted pendulum PS600

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

ECE-320: Linear Control Systems Homework 8. 1) For one of the rectilinear systems in lab, I found the following state variable representations:

CDS 101/110a: Lecture 8-1 Frequency Domain Design

AMME3500: System Dynamics & Control

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

Design and Comparison of Different Controllers to Stabilize a Rotary Inverted Pendulum

Inverted Pendulum. Objectives

A SIMPLIFIED ANALYSIS OF NONLINEAR LONGITUDINAL DYNAMICS AND CONCEPTUAL CONTROL SYSTEM DESIGN

State Regulator. Advanced Control. design of controllers using pole placement and LQ design rules

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

Example: DC Motor Speed Modeling

H inf. Loop Shaping Robust Control vs. Classical PI(D) Control: A case study on the Longitudinal Dynamics of Hezarfen UAV

Time Response of Systems

Linearization problem. The simplest example

Table of Laplacetransform

Systems Analysis and Control

18. Linearization: the phugoid equation as example

Parameter Derivation of Type-2 Discrete-Time Phase-Locked Loops Containing Feedback Delays

SRV02-Series Rotary Experiment # 7. Rotary Inverted Pendulum. Student Handout

A plane autonomous system is a pair of simultaneous first-order differential equations,

In the presence of viscous damping, a more generalized form of the Lagrange s equation of motion can be written as

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review

Aim. Unit abstract. Learning outcomes. QCF level: 6 Credit value: 15

Chapter 2 PARAMETRIC OSCILLATOR

CHAPTER 1. Introduction

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42

Lab 6a: Pole Placement for the Inverted Pendulum

Lab 5a: Pole Placement for the Inverted Pendulum

Classical Dual-Inverted-Pendulum Control

ME 475/591 Control Systems Final Exam Fall '99

1 (20 pts) Nyquist Exercise

Rotary Inverted Pendulum

Table of Contents 1.0 OBJECTIVE APPARATUS PROCEDURE LAB PREP WORK POLE-PLACEMENT DESIGN

Application of Neural Networks for Control of Inverted Pendulum

MCE 366 System Dynamics, Spring Problem Set 2. Solutions to Set 2

Chemical Process Dynamics and Control. Aisha Osman Mohamed Ahmed Department of Chemical Engineering Faculty of Engineering, Red Sea University

Lecture D21 - Pendulums

STABILITY. Have looked at modeling dynamic systems using differential equations. and used the Laplace transform to help find step and impulse

Research Article State-PID Feedback for Pole Placement of LTI Systems

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

Mech 6091 Flight Control System Course Project. Team Member: Bai, Jing Cui, Yi Wang, Xiaoli

M2A2 Problem Sheet 3 - Hamiltonian Mechanics

Pitch Rate CAS Design Project

6.1 Sketch the z-domain root locus and find the critical gain for the following systems K., the closed-loop characteristic equation is K + z 0.

EECS C128/ ME C134 Final Wed. Dec. 15, am. Closed book. Two pages of formula sheets. No calculators.

Flight Dynamics and Control. Lecture 3: Longitudinal stability Derivatives G. Dimitriadis University of Liege

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

Lecture 5 Classical Control Overview III. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

ELECTRONICS & COMMUNICATIONS DEP. 3rd YEAR, 2010/2011 CONTROL ENGINEERING SHEET 5 Lead-Lag Compensation Techniques

Example: Modeling DC Motor Position Physical Setup System Equations Design Requirements MATLAB Representation and Open-Loop Response

EE Homework 3 Due Date: 03 / 30 / Spring 2015

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

Department of Aerospace Engineering and Mechanics University of Minnesota Written Preliminary Examination: Control Systems Friday, April 9, 2010

Advanced Generalized Modeling of Classical Inverted Pendulum Systems

Topic # Feedback Control Systems

Trajectory Design using State Feedback for Satellite on a Halo Orbit

Lab 3: Model based Position Control of a Cart

Reverse Order Swing-up Control of Serial Double Inverted Pendulums

Control 2. Proportional and Integral control

Appendix A: Exercise Problems on Classical Feedback Control Theory (Chaps. 1 and 2)

Design of a Model of a System to Control the Pitch angle of Helicopter using State Estimator

University of Alberta ENGM 541: Modeling and Simulation of Engineering Systems Laboratory #7. M.G. Lipsett & M. Mashkournia 2011

Modeling and Simulation of the Nonlinear Computed Torque Control in Simulink/MATLAB for an Industrial Robot

Richiami di Controlli Automatici

7 Pendulum. Part II: More complicated situations

UAV Coordinate Frames and Rigid Body Dynamics

Lecture 9: Input Disturbance A Design Example Dr.-Ing. Sudchai Boonto

Examples of Applications of Potential Functions in Problem Solving (Web Appendix to the Paper)

MODELLING OF BATH WASHING CONCENTRATION FIELD IN BIOPOLYMER AT THE START OF WASHING

Lecture 5: Frequency domain analysis: Nyquist, Bode Diagrams, second order systems, system types

Time Response Analysis (Part II)

Laws of gyroscopes / cardanic gyroscope

Homework #5 Solutions

1 x(k +1)=(Φ LH) x(k) = T 1 x 2 (k) x1 (0) 1 T x 2(0) T x 1 (0) x 2 (0) x(1) = x(2) = x(3) =

A FEEDBACK STRUCTURE WITH HIGHER ORDER DERIVATIVES IN REGULATOR. Ryszard Gessing

!T = 2# T = 2! " The velocity and acceleration of the object are found by taking the first and second derivative of the position:

Oscillations. Tacoma Narrow Bridge: Example of Torsional Oscillation

SHOCK AND VIBRATION RESPONSE SPECTRA COURSE Unit 1B. Damping

Introduction to Feedback Control

Kater s Pendulum. Stuart Field and Eric Hazlett

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

ECEn 483 / ME 431 Case Studies. Randal W. Beard Brigham Young University

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

Lab 6d: Self-Erecting Inverted Pendulum (SEIP)

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

EE C128 / ME C134 Midterm Fall 2014

θ + mgl θ = 0 or θ + ω 2 θ = 0 (2) ω 2 = I θ = mgl sinθ (1) + Ml 2 I = I CM mgl Kater s Pendulum The Compound Pendulum

Localizer Hold Autopilot

Review: control, feedback, etc. Today s topic: state-space models of systems; linearization

Improving the Control System for Pumped Storage Hydro Plant

DISTURBANCE ATTENUATION IN A MAGNETIC LEVITATION SYSTEM WITH ACCELERATION FEEDBACK

Robust Optimal Sliding Mode Control of Twin Rotor MIMO System

NONLINEAR MECHANICAL SYSTEMS (MECHANISMS)

Modeling and Experimentation: Compound Pendulum

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

Modelling the Dynamics of Flight Control Surfaces Under Actuation Compliances and Losses

Chapter 2 SDOF Vibration Control 2.1 Transfer Function

Manufacturing Equipment Control

Lecture AC-1. Aircraft Dynamics. Copy right 2003 by Jon at h an H ow

Transcription:

Acta Polytechnica Hungarica Vol. 8, No. 4, 11 Factors Limiting Controlling of an nverted Pendulum Tobiáš Lazar, Peter Pástor Department of Avionics Faculty of Aeronautics Technical University of Košice Rampová 7, 41 1 Košice, Slovakia E-mail: tobias.lazar@tuke.sk, pastor_peto@yahoo.com Abstract: The aim of this paper is to show the limitation during an inverted pendulum control process. Assume the control signal and its derivate are limited. The goal is to find the imum permissible value of the θ angle and state if this value can be determined only by symbolical calculation by using Maple software. This imum value must guarantee the stability of whole system and the quality of the transient process. The nonlinear mathematical model of the inverted pendulum implemented in Simulink is utilized for result verification. A detailed description of these limitations is important for the application of advanced control methods based on expert knowledge to aircraft equipped with a thrust vectoring nozzles system. Keywords: inverted pendulum; transfer function; nonlinear analyses; maple 1 ntroduction An inverted pendulum is an inherently unstable system. This system approximates the dynamics of a rocket immediately after lift-off, or dynamics of a thrust vectored aircraft in unstable flight regimes in negligible small dynamic pressure conditions []. Assume the force for the inverted pendulum control represents the force generated by a thrust vectoring nozzles system. The nozzle deflection is limited up to ± deg, the rate of deflection is limited up to ±6 deg/sec and the nozzle dynamics is described by nd order transfer function, similarly as in the publication [1]: s 4 + 4s+ 4 (1 3

T. Lazar et al. Factors Limiting Controlling of an nverted Pendulum The dynamics of the pendulum is given by following nonlinear differential equations system [7]: d x d θ dθ M + m + ml cosθ ml u = dt dt dt d θ d x J + ml = ml cosθ + mglsin θ (3 dt dt where M cart mass (in this case it can be neglected, m pendulum mass (m=1518 kg, l length to the pendulum centre of gravity (l=5,4 m, J moment of inertia of the pendulum (J=4.138 1 5 kg m, g gravity (g=9.81m s -, θ the angle between pendulum and vertical axes [3]. The θ angle transfer function can be obtained after linearization of the system described by equations (, (3: l θ ( s K J 1, 815 1 = = = U( s s + ω ml s 1, 9836 s g J The algorithm for pendulum control is given by following control law: F s = sd s + P s + s s (5 5 θ θ [ θ θ ] s where F(s=U(s inverted pendulum control signal, P proportional coefficient, integral coefficient, D derivative coefficient. The control system structure is depicted in Figure 1. ( (4 Figure 1 Control system structure with inverted pendulum transfer function The final transfer function of the system shown in Figure 1 is: K ( ω 3 s + KDs + KP + s + K (6 4

Acta Polytechnica Hungarica Vol. 8, No. 4, 11 Control Signal Limitation in Steady State Utilize the equation (3 for imal θ angle computation. Condition θ=const is valid for steady state. f θ=const, its derivate is zero and its second derivate is also zero. The following equation can be obtained by solving equation (3: d x ml dt cosθ = mgl sinθ (7 Expression d x m dt represents the control signal, the imum value of which is given by: F =Tsinφ [6], where φ the angle of deflection of vectored nozzle. Assume the thrust and aircraft s weight are equal (T=G=mg. t is possible to transform equation (7 to get the following equation: mg sin ϕ cosθ = mg sinθ (8 Divide equation (8 by expression cosθ: sinθ sin ϕ = = tgθ (9 cosθ The condition (1 for imum value of θ angle in steady state has been obtained by solving equation (9: θ ( sin ϕ = arctg (1 3 Limitation during Transient Process nverted pendulum control signal is denoted as (s and is depicted in the structure shown in Figure. This structure can be utilized for (s transfer function calculation. Figure Control system structure with signal's description 5

T. Lazar et al. Factors Limiting Controlling of an nverted Pendulum The following equation is valid for (s: = + ω + ω + ω K KP KDs X s s s s s s s s s Solve the equation (11 and place the expression involving (s on the right side: K KP KDs X ( s = ( s + s + s + s s s s + ω s + ω s + ω (s transfer function can be calculated from the previous equation: ( s = ( s + ω ( ω + + + + 3 X s s KDs KP s K Denominators of transfer functions (6 and (13 are equal and represent the poles of the transfer function and their values guarantee whole system stability and transient process quality. Because the proportional, derivative and integral coefficients influence the poles placement, it is necessary to select optimal values. The 3 rd order polynomials in denominator of transfer functions (6 and (13 are the same. Assume that the 3 rd order polynomial has one real root and two complex conjugate roots: ( s ξω s ω ( s ω (11 (1 (13 + + + (14 where ω is the desired natural frequency of the system and ξ is the desired system damping. Apply convolution operations to compute the product of polynomial in equation (14 to obtain the generalized 3 rd order polynomial form: ( 1 ( 1 s + ξ + ω s + ξ + ω s+ ω (15 3 3 Substitute the denominator of transfer function (13 by the generalized 3 rd order polynomial given by equation (15: ( s + ω s = X s s + ξ + ω s + ξ + ω s+ ω ( 1 ( 1 3 3 Transfer function (16 must be transformed into time domain by applying the inverse Laplace transformation for imum positive and negative values determination. Maple software is used to provide this transformation [4]. t is possible to find a time function of equation (16, but this function is complicated for further symbolical analyses. State the damping value of the system as ξ=1 and substitute this value into equation (16: (16 6

Acta Polytechnica Hungarica Vol. 8, No. 4, 11 ( s ( s + ω = 3 3 X s s + 3ω s + 3ω s+ ω (17 Polynomial of equation (17 has a triple root and is relatively simple for further symbolical analyses and represents the ideal transient process with acceptable quality. The optimal coefficient of the PD regulator can be found by comparing denominators of transfer functions (6, (17: J P = 3 + mg kgms l ω (18 J 3 3 kgms l ω = D 1 = ω kgms 3 J l (19 ( The derivative of the control signal in time domain can be obtained by applying inverse Laplace transform to equation (17: 1 ω z ( t = e ( t t ω + ω 4ω t + Control signal step response in s domain is given by following equation: ( s (1 ( s + ω 3 3 ( + 3ω + 3ω + ω = X s s s s s ( The control signal in time domain can be obtained again by applying the inverse Laplace transform to equation ( and is described by the following equation: t 4 = ω ω + ω ω + ω ω ω + ω ω ( t ( z t 3 n Figure 3 is shown the inverted pendulum s control signal step response given by equation (3. Value ω is given in transfer function (4 and desired natural frequency value has been selected (ω =. (3 7

T. Lazar et al. Factors Limiting Controlling of an nverted Pendulum Figure 3 Control signal time response The extreme value theorem states that if a function f is defined on a closed interval [a,b] (or any closed and bounded set and is continuous, then the function attains its imum, i.e. there exists c Є [a,b] with f(c f(x for all x Є [a,b]. The same is true for the minimum of f. The derivative of function f in c is zero. Equation (1 represents the derivative of the control signal. The equation has two roots: = 1, ω + ω t ( ω ± ω ω The function described by equation (3 reaches its imum positive value in time t 1 (t 1 =3.56 s and its imum negative value in time t (t =.7s. t can be observed in Figure 3. Equations (5 and (6 represent imum positive and negative values of control signal and are gained by substituting (4 into (3: (4 F F Ω 1 e = ω + ω + ω ω ω ω ω, t1 3 Ω e = ω ω + ω ω ω ω ω, t 3 where Ω 1 and Ω are given by equation (7, (8 respectively: ( + + ω ω ω ω Ω = 1 ω + ω (5 (6, (7 8

Acta Polytechnica Hungarica Vol. 8, No. 4, 11 ( + ω ω ω ω Ω = ω + ω (8 Maximum force is transformed into imum angle by using following assumption: T sin F T sin ϕ ϕ = θ θ = (9 F The imum θ angle value for the desired frequency ω can be calculated by utilizing equation (9. θ values are depicted in Figure 4. Figure 4 Maximum θ angle values depicted as a function of the desired natural frequency value 9

T. Lazar et al. Factors Limiting Controlling of an nverted Pendulum 4 Limitation Given by Vectoring Nozzle Deflection Rate The derivative of the control signal given by equation (1 is depicted in Figure 5. Figure 5 Control signal derivation depicted in 3-dimensional graph for ω values in region from to 5 rad/sec t can be observed in Figure 5, that the control signal derivative reaches its imum value in time t=. The following expression can be utilized for imum θ angle computation: df θ = dt z ( (3 The imum derivative of the control signal can be determined by applying the derivative operation to the right side of equation (9: df d dϕ = ( T sin ϕ = T cosϕ (31 dt dt dt Assume in time t= the nozzle deflection is zero so cosφ=1. The imum nozzle deflection rate is 6 deg/sec (approximately π/3 rad/sec and the imum thrust is supposed to be constant (T =148916N: dϕ dϕ T cosϕ T = 155945 N / s (3 dt dt 3

Acta Polytechnica Hungarica Vol. 8, No. 4, 11 5 Nonlinear Analyses The structure of the system used for nonlinear analysis is shown in Figure 6 and consists of two main blocks. Block vectored_nozzles describes the vectored nozzles together with their dynamics and limitations mentioned in the introduction of this paper. The nonlinear mathematical model of inverted pendulum given by equations (33 and (34 is implemented in block nverted pendulum. d x dθ ml cos θ ml g sinθ cosθ M + m = ml + u J + ml dt dt J + ml (33 ml cos θ d θ mlcosθ dθ J + ml = mlgsinθ ml + u M + m dt M + m dt (34 These equations are based on equations ( and (3 that have to be rewritten for algebraic loop elimination []: Figure 6 Structure used for nonlinear analyses t can be seen in Figure 6 that the force generated by the vectoring system is controlled by the pitch command. The coefficients of the PD regulator can be calculated by dividing equations (18, (19 and ( by the imum thrust value (T =148916N. t is possible to consider this simplification only for small angle (up to deg. The following m-file was utilized for coefficients calculation: m=1518;%[m] mass of the aircraft J=4.138e5;%[kg*m^] moment of inertia l=5.4;%[m] CG position T=148916;%[N] thrust g=9.81;%[m*s^] gravity omega=;%desired natural frequency value P=-(3*omega^*(J/l+m*g/T;%proportional coefficient =-(J*omega^3/(l*T;%integral coefficient D=-(3*omega*J/(l*T;%derivate coefficient 31

T. Lazar et al. Factors Limiting Controlling of an nverted Pendulum The natural frequency desired value is shown in the first column of Table 1. The values in nd and 3 rd column are depicted in Figure 4. The values in the 4 th column are the minimum of the values calculated according to equations (1, (5 and (6. The values obtained from nonlinear analyses when the rate limitation and nozzle dynamics has not been assumed are in the 5 th column. n the 6 th column are values computed calculated according to equation (3 in Chapter 4. The values obtained from nonlinear analyses with rate limitation and nozzle dynamics are in the last column of Table 1. Table 1 ω θ t1 θ t θ(,3 θ θ(4 θ.341.737.395.34.498.37.5.39.465.38.313(.316.18.79 (.97 3.35.31.35.98(.33.74.144 (.178 3.5.77.34.34.76(.87.47.81(.93 4.48.179.179.45(.61.31.4 (.58 4.5.1.141.141.11(.31..37 5.197.114.114.181(.3.16.3 The values obtained from nonlinear simulation are in the 5 th and 7 th column of Table 1. Both values delineate imum value of given θ angle of the system in stable conditions but transient process for the first values is with acceptable quality (Figure 7 and transient process for the values in brackets is with poor quality (Figure 8. The desired frequency for both responses was ω =4. Figure 7 θ angle (solid line and rate (dotted line time response with acceptable quality of the transient process 3

Acta Polytechnica Hungarica Vol. 8, No. 4, 11 Figure 8 θ angle (solid line and rate (dotted line time response with poor quality of the transient process Time response in Figure 8 converges, but the observable oscillations increase the settling time. From Table 1, it is visible that the calculated values approximately describe the limiting conditions. This behaviour of the system is explained in Figure 9b where the time response of the control signal is depicted. t can be observed that the control signal reaches its imum value. The oscillations are observed exactly in time when control signal reaches its imum value. Figure 9 θ angle (solid line, rate (dotted line and control signal time response 33

T. Lazar et al. Factors Limiting Controlling of an nverted Pendulum f the given θ angle value does not exceed the limiting conditions, calculated according to the procedure shown in Chapters and 3, the system s time response will certainly be stable with required transient process quality. t is necessary to perform an experiment (e.g. nonlinear simulation for accurate marginal θ angle value determination. The dynamic properties of the nozzle are much more limiting for the higher desired natural frequency (approximately from ω =4. t can be seen by comparing limiting θ angle values in the 5 th and in the last column of Table 1. Conclusions The possibility to symbolically calculate limitation by using linear analyses and Maple software was shown in this paper. This procedure is appropriate for relatively simple transfer functions and the calculated results only approximately describe the limiting conditions, but do guarantee the system stability. t was shown that it is necessary to perform an experiment for marginal value determination. The obtained values provide a better idea about inverted pendulum dynamics and all factors considered for successful realization of the control system. These facts are also expected to be utilized during application of advanced control methods based on expert knowledge into the inherently unstable systems. Acknowledgement This work was supported by projects: KEGA 1-1TUKE-4/1 Use of intelligent methods in modelling and control of aircraft engines in education. References [1] Adams, Richard J. Buffington, James M. Sparks, Andrew G. Banda, Siva S.: Robust Multivariable Flight Control, London: Springer-Verlag, 1994. SBN 3-54-1996-3 [] Dabney, J. B Harman, T. L: Mastering Simulink, Pearson Prentice Hall, 4, SBN -13-14477-7 [3] Lazar, T. Adamčík, F. Labun, J.: Modelovanie vlastností a riadenia lietadiel, Technická Univerzita v Košiciach Letecká Fakulta, 7. SBN 978 8 873 8396 [in Slovak] [4] Maple help a part of Maple software [5] Škrášek, Josef Tichý, deněk: áklady aplikované matematiky, Praha: SNTL, 1986 [in Czech] [6] Taranenko, V. T.: Dinamika samoleta s vertikaľnym vzletom i posadkoj, Moskva: Mašinostrojenije, 1978 [in Russian] [7] http://www.profjrwhite.com/system_dynamics/sdyn/s7/s7invp1 /s7invp1.html#equations 34