Different Modelling and Controlling Technique For Stabilization Of Inverted Pendulam

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

Inverted Pendulum. Objectives

Application of Neural Networks for Control of Inverted Pendulum

System simulation using Matlab, state plane plots

Lagrange s Equations of Motion and the Generalized Inertia

The Inverted Pendulum

University of Petroleum & Energy Studies, Dehradun Uttrakhand, India

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

University of Utah Electrical & Computer Engineering Department ECE 3510 Lab 9 Inverted Pendulum

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

VIBRATING BASE PENDULUM. Math 485 Project team Thomas Bello Emily Huang Fabian Lopez Kellin Rumsey Tao Tao

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

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

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

Stabilizing the dual inverted pendulum

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

The dynamics of a Mobile Inverted Pendulum (MIP)

Reverse Order Swing-up Control of Serial Double Inverted Pendulums

Chapter 2 SDOF Vibration Control 2.1 Transfer Function

Dynamic Modeling of Rotary Double Inverted Pendulum Using Classical Mechanics

Solutions. 8th Annual Boston Area Undergraduate Physics Competition April 27, 2002

Neural Network Control of an Inverted Pendulum on a Cart

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

M2A2 Problem Sheet 3 - Hamiltonian Mechanics

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

Modelling of Ball and Plate System Based on First Principle Model and Optimal Control

CHAPTER 7 STEADY-STATE RESPONSE ANALYSES

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions

KINETIC ENERGY SHAPING IN THE INVERTED PENDULUM

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

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

Controlling the Inverted Pendulum

Outline. Classical Control. Lecture 2

CEE 271: Applied Mechanics II, Dynamics Lecture 27: Ch.18, Sec.1 5

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

CP1 REVISION LECTURE 3 INTRODUCTION TO CLASSICAL MECHANICS. Prof. N. Harnew University of Oxford TT 2017

Topic # Feedback Control Systems

Inverted Pendulum with Moving Reference for Benchmarking Control Systems Performance

ME 375 Final Examination Thursday, May 7, 2015 SOLUTION

Lagrangian Dynamics: Generalized Coordinates and Forces

Mechatronic System Case Study: Rotary Inverted Pendulum Dynamic System Investigation

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

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) =

Note: Referred equations are from your textbook.

PHYS2330 Intermediate Mechanics Fall Final Exam Tuesday, 21 Dec 2010

Linear Control Systems Solution to Assignment #1

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

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

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

5HC99 Embedded Vision Control. Feedback Control Systems. dr. Dip Goswami Flux Department of Electrical Engineering

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

Non-Linear Swing-Up and Stabilizing Control of an Inverted Pendulum System

King Saud University

Daba Meshesha Gusu and O.Chandra Sekhara Reddy 1

Example: DC Motor Speed Modeling

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

Time- and Energy-Based Stability

Chapter 1 Lecture 2. Introduction 2. Topics. Chapter-1

Systems Analysis and Control

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

Tacoma Narrows Bridge

Dragline Bucket and Rigging Dynamics

EE 16B Midterm 2, March 21, Name: SID #: Discussion Section and TA: Lab Section and TA: Name of left neighbor: Name of right neighbor:

Introductory Physics. Week 2015/05/29

Physics 5A Final Review Solutions

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

DC Motor Position: System Modeling

Modelling, identification and simulation of the inverted pendulum PS600

Modelling and Control of DWR 1.0 A Two Wheeled Mobile Robot

AP Physics. Harmonic Motion. Multiple Choice. Test E

ROTARY INVERTED PENDULUM AND CONTROL OF ROTARY INVERTED PENDULUM BY ARTIFICIAL NEURAL NETWORK

LIAPUNOV S STABILITY THEORY-BASED MODEL REFERENCE ADAPTIVE CONTROL FOR DC MOTOR

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

Extremum Seeking for Dead-Zone Compensation and Its Application to a Two-Wheeled Robot

Interactions Between Two Non-Stationary Pendulums

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

Rotational Kinetic Energy

Modelling and Control of Ball-Plate System

Lab 6a: Pole Placement for the Inverted Pendulum

Lecture 25: Tue Nov 27, 2018

Identification and Control of Nonlinear Systems using Soft Computing Techniques

Lecture 19: Calculus of Variations II - Lagrangian

A Physical Pendulum 2

School of Engineering Faculty of Built Environment, Engineering, Technology & Design

1 Introduction. 2 Process description

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

FU REASONING INFERENCE ASSOCIATED WIT GENETIC ALGORIT M APPLIED TO A TWO-W EELED SELF-BALANCING ROBOT OF LEGO MINDSTORMS NXT

Classical Mechanics. FIG. 1. Figure for (a), (b) and (c). FIG. 2. Figure for (d) and (e).

rad/sec Example 2.13: Find out the equation of motion for the vibratory system shown in fig Sample copy

Physics 106a, Caltech 4 December, Lecture 18: Examples on Rigid Body Dynamics. Rotating rectangle. Heavy symmetric top

Performance of Feedback Control Systems

The Modeling of Single-dof Mechanical Systems

THE REACTION WHEEL PENDULUM

Physics for Scientists and Engineers 4th Edition, 2017

Rotary Inverted Pendulum

Exam 3 Practice Solutions

7 Pendulum. Part II: More complicated situations

A COMPARATIVE ANALYSIS OF FUZZY BASED HYBRID ANFIS CONTROLLER FOR STABILIZATION AND CONTROL OF NON- LINEAR SYSTEMS

Digital Pendulum Control Experiments

MEAM 510 Fall 2012 Bruce D. Kothmann

Transcription:

International Journal of Scientific & Engineering Research Volume 4, Issue 2, February-23 Different Modelling and Controlling Technique For Stabilization Of Inverted Pendulam K.CHAKRABORTY,, R.R. MUKHERJEE, S. MUKHERJEE Abstract In this paper modeling of an inverted pendulum has been done and then two different controllers (PID & SFB) have been used for stabilization of the pendulum. The proposed system extends classical inverted pendulum by incorporating two moving masses. The motion of two masses that slide along the horizontal plane is controllable.the results of computer simulation for the system with Proportional, Integral and Derivative (PID) & State Feedback Controllers are shown. Index Terms-Inverted pendulam,swing up control,nonlinear control, gain formulae, pole placement,pid controller,state Feedback INTRODUCTION An inverted pendulum is one of the most commonly studied system in the control area[6]. The control objective of the inverted pendulum is to swing up the pendulum hinged on the moving cart by a linear motor from stable position (vertically down state) to the zero state(vertically upward state) and to keep the pendulum in vertically upward state in spite of the disturbance[]. In the field of engineering and technology the importance of benchmark[] needs no explanation. They make it easy to check whether a particular algorithm is giving the requisite results. A lot of work has been carried out on the inverted pendulum in terms of its stabilization. Many attempts have been made to control it using classical control ([2],[4]). Thus it is a knowledge which has been widely used in the study of stabilization of space vehicle [6]. It has been used as a test apparatus in computer aided analysis and design thus making it easier to understand and to experiment different control schemes ([3],[5]). Mathematical models of mechanical systems are usually described by the Newtonion or Euler-Lagrange equations. These models have a structure which is very attractive for the design of control algorithms. This Euler-Lagrange approach has already been proved to be effective in the control design for mechanical and electro mechanical system [7]. In this paper this method is utilized to investigate global properties of the designed 2. MECHANICAL CONSTRUCTION The system comprises of a horizontal plate that is connected to two wheels through a connecting rod. The wheels are independent of each other and are placed in the centre of the rail. Thus the platform can move on a horizontal surface and is able to rotate about the axis of wheels. There are two masses on top of the system that can slide along the horizontal rail, the masses being on both sides of the rail. The system is shown in fig() Kunal Chakraborty is a final year student of M.Tech in the department of Electrical Engineering of Asansol Engineering college Kanyapur, Vivekananda Sarani, Asansol, Burdwan-7335. He received his B.Tech degree in EIE from West Bengal University of Technology in the year 2. He has two & one number of publications in National & International Conferences.(phone:+9-9563528557,emailsabu_kunal7@yahoo.co.in).He recently joined IMPS Engg. College as Lecturer in EE department. Rabi Ranjan Mukherjee is a final year student of M.Tech in the department of Electrical Engineering of Asansol Engineering college Kanyapur, Vivekananda Sarani, Asansol, Burdwan-7335. He received his B.Tech degree in Electrical Engineering from West Bengal University of Technology in the year 2. He has two & one number of publications in National & International Conferences respectively.(phone:+9-943466492,email- mukherjee.rabi6@gmail.com) 3 Suvobratra Mukherjee is a final year student of M.Tech in the department of Electrical Engineering of Asansol Engineering college Kanyapur, Vivekananda Sarani, Asansol, Burdwan-7335. He received his B.Tech degree in Electrical Engineering from West Bengal University of Technology in the year 27. He is also an Assistant Professor in Dept. of E.E, IMPS Engineering College, Malda. He has two & one IJSER 23 number of publications in National & International Conferences.(phone:+9-8962832,email-elec.engg7 @gmail.com) 3.MATHEMATICAL MODEL OF PHYSICAL SYSTEM : The inverted pendulum is a classical problem in dynamics and control theory and is widely used as a benchmark for

International Journal of Scientific & Engineering Research Volume 4, Issue 2, February-23 2 testing control algorithms (PID controllers, SFB etc). Balancing the cart & pendulum is related to rocket or missile guidance where the centre of gravity is located behind the centre of drag causing aerodynamic instabity. As a more realistic example of the design and simulation of controlled systems we now focus on the development and analysis of an inverted pendulum on a motor driven cart. A sketch of this system is shown in fig(2). To study the system in detail we need its mathematical model. In this paper we find the mathematical model of the system using Euler-Lagrange s equations. The resulting non-linear model is then linearized The cart with an inverted pendulum, shown below is bumped with an impulse force F. The dynamic equation of motion for the system is linearized about the pendulum s angle, theta. The physical data [9] of the system are given in table no. Pendulum damping coefficient(d) Moment of inertia of pendulum(l).5 Mm/rad.99 Kg/m Gravitation force(g) 9.8 m/s F= control force; X=displacement of the cart; θ =pendulum angle from vertical; Let V be the resultant velocity V 2 =x + y Therefore kinetic energy of the pendulum, K = mv 2 + Iω2 x = x + l sin θ y = l cos θ lsinθ mg l = m (x 2 +2lx θ cosθ+ml 2 θ 2 ] + Iθ 2 Kinetic energy of the of the cart, K 2 = Mx 2, Potential energy of the pendulum, P = mglcosθ Potential energy of the cart P 2 = F M Fig 2 : The Inverted Pendulum System Table. Parameters of the system from feedback instrument.u.k. Parameter Value unit Cart mass(m).26 Kilo gram Mass of the pendulum(n).2693 Kilo gram Length of pendulum(l).623 meter Coefficient of frictional force(b).5 Ns/m X The Lagrangian of the entire system is given as, L= (mx 2 +2mlx cosθ+ml 2 θ 2 +Mx 2 )+ Iθ 2 ]-mglcosθ The Euler-Lagrange s equation for the cart &resultant system is given as d dt δl δl + bx = F δx δx d dt δl δl δθ δθ + dθ = Using these two above equations and putting the system parameters value we get, (I + ml )θ + ml cos θ x mgl sin θ + dθ = (M + m)x + ml cos θ θ ml sin θ θ + bx = F The above equation shows the dynamics of the system. IJSER 23

International Journal of Scientific & Engineering Research Volume 4, Issue 2, February-23 3 4. LINEAR DIFFERENTIAL EQUATION MODELING In order to derive the system transfer functions, we need to liberalize the differtional equation obtained so far. For small angle deviation around equilibrium point.when pendulum is in upright position sin θ = θ, cos θ =, θ = Using above relation we can write as, rθ +qx -kθ+d = px + qθ + bx = F Y= X X X X 7. PID Controller design: The mathematical equation for PID control is e (t) = K e(t) + K d (t) dt + K e(τ) dτ The block diagram of the whole system is shoen in fig (3) Where, (M+m)= p, mgl=k, ml=q, I+ml 2 =r 5 Transfer Function Modelling: After taking Laplace transform of linear differential equation we get the following T.F. model, R(S) + E(s) K +sk + - G(S) C(S) () () = () () = θ(s) F(s) =.2783 S s (s + 2.26) (s.978) (s +.342) & ( ) () () X(s) F(s) =.68843 (s + 2.4) (s.967) s (s + 2.26) (s.978) (s +.342) 6 State Space Modeling: Let,θ=x, θ =x =x, θ =x =x and, x = x, x =x =x, x =x =x From state space modeling, the system matrices are found in vector from given below. and. A= 4.88.47753952.3955..68666.93955.3442.2783 B=.68842 The output equations are Fig3:- Block Diagram of a system with PID Controller 8. State Feedback Controller Design:- CONDITIONS: Our problem is to have a closed loop system having an overshoot of % and settling time of sec. Since the overshoot M P =e =.. Therefore, ξ =.59328 and w n =6.7644 rad/sec. The dominant poles are at=-4 ± j5.4553, the third and fourth pole are placed 5 & times deeper into the s-plane than the dominant poles. Hence the desired characteristics equation:- s 4 + 68s 3 +845.764s 2 +9625.6s + 3668.32 = Let gain, k= [k k 2 k 3 k 4 ] A Bk= - k.2346-k 2 6.8963-k 3 -.765- k 4 Closed loop characteristics equation:- IJSER 23

International Journal of Scientific & Engineering Research Volume 4, Issue 2, February-23 4 S 4 +(.765-k 4 )s 3 +(-6.8963 + k 3 )s 2 +(-.2346 +k 2 )s +k = Comparing all the coefficient of above equation we found. K = [3668.32 9625.8346 852.6567-67.9235] 9. Simulation and Results:-. 9.-Stabilisation of position of the cart with PID.4 Am plitude.4.2.8.6.2.4.2.8.6.4 2 4 6 8 2 4 Fig4(c): step response of the system when angle as output for small time.2.4..2.3.4.5.6.7.8.2 Fig4(a) : step response of the system when position as output for small time For stabilization we found the PID controller parameters are, K : - 45 K : - 2 K : - 24.2 Am plitude.8.6.4.4.2.2.8.6.4.2 2 3 4 5 6 7 8 9 Fig4(b): step response of the system when position as output for large time 9..-Stabilisation of angel of the cart with PID 2 3 4 5 6 7 8 9 Fig4(d):- step response of the system when angle as output for small time and large time For stabilization we found the PID controller parameters are, K =-5 k = -58 K = -5 9.2-Stabilisation of Angle of the Pendulum by State Feedback Controller with Initial Condition:- IJSER 23

International Journal of Scientific & Engineering Research Volume 4, Issue 2, February-23 5 s ta te v a ria b le X X 2 X 4.2 -.2.5.5 2 2.5 3 3.5 4 4.5 5.5 -.5.5.5 2 2.5 3 3.5 4 4.5 5 5 X 3-5.5.5 2 2.5 3 3.5 4 4.5 5 -.5.5 2 2.5 3 3.5 4 4.5 5 Fig5.7:- Response of state feedback controller considering initial condition in MATLAB 9.2.- of the System by State Feedback Controller:- the system can be stabilized. while PID controller method is cumbersome because of selection of constants of controller, the controller parameters in case of state feedback are chosen analytically. Constant of the controllers can be tuned by some optimization technique for better result. REFERENCES: []H. J. T Smith, experimental study on inverted pendulum in April 992. IEEE 99. [2] Alan Bradshaw and Jindi Shao, Swing-up control of inverted pendulum systems, robotica,996, volume 4. pp 397-45. [4] Mario E. Magana and Frank Holzapfel, Fuzzy Logic Control of an inverted pendulum with Vision Feedback, IEEE transactions on education, volume 4, no. 2, May 998. [5] K.J. Astrom and K. Furuta, Swinging up a pendulum by energy control, Automatic 36 (2) 287-295, Received 3 November 997; revised August 998; received in final form May 999. [6] feedback instrument,u.k [7] I.J.Nagrath, M.Goplal, Control Systems Engineering fourth edition,975 [8]Ogata,ModernControlEngineering,Fourth Edition,26 5 x -4-5 -.5.5 2 2.5 3 3.5 4 4.5 2 x -4 - -2.2.4.6.8.2.4.6.8 Fig5.8:- Response of Transfer Function represents Angle as output using state feedback controller considering Step input in MATLAB. Conclusion:- Modelling of inverted pendulum shows that system is unstable with non-minimum phase zero. Results of applying two different controllers (PID & SFB) show that IJSER 23