Robust Control Design for Rotary Inverted Pendulum Balance

Similar documents
SRV02-Series Rotary Experiment # 3. Ball & Beam. Student Handout

Implementation of Proportional and Derivative Controller in a Ball and Beam System

Development of Fuzzy Logic Controller for Quanser Bench-Top Helicopter

Rotary Motion Servo Plant: SRV02. Rotary Experiment #02: Position Control. SRV02 Position Control using QuaRC. Student Manual

Comparative Study of PID and Fuzzy Controllers for Speed Control of DC Motor

Figure 1: Unity Feedback System. The transfer function of the PID controller looks like the following:

Digital Control of MS-150 Modular Position Servo System

Modeling And Pid Cascade Control For Uav Type Quadrotor

PID, I-PD and PD-PI Controller Design for the Ball and Beam System: A Comparative Study

Figure 1.1: Quanser Driving Simulator

Comparative Analysis of PID, SMC, SMC with PID Controller for Speed Control of DC Motor

Penn State Erie, The Behrend College School of Engineering

SRV02-Series. Rotary Servo Plant. User Manual

Rotary Motion Servo Plant: SRV02. Rotary Experiment #03: Speed Control. SRV02 Speed Control using QuaRC. Student Manual

Modelling and Implementation of PID Control for Balancing of an Inverted Pendulum

Segway Robot Designing And Simulating, Using BELBIC

PYKC 7 March 2019 EA2.3 Electronics 2 Lecture 18-1

Performance Comparisons between PID and Adaptive PID Controllers for Travel Angle Control of a Bench-Top Helicopter

OPTIMAL AND PID CONTROLLER FOR CONTROLLING CAMERA S POSITION IN UNMANNED AERIAL VEHICLES

Design of Self-tuning PID Controller Parameters Using Fuzzy Logic Controller for Quad-rotor Helicopter

Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback

DC Motor Control using Fuzzy Logic Controller for Input to Five Bar Planar Mechanism

MCE441/541 Midterm Project Position Control of Rotary Servomechanism

TRACK-FOLLOWING CONTROLLER FOR HARD DISK DRIVE ACTUATOR USING QUANTITATIVE FEEDBACK THEORY

SELF-BALANCING MOBILE ROBOT TILTER

Sensors and Sensing Motors, Encoders and Motor Control

Embedded Robust Control of Self-balancing Two-wheeled Robot

Modeling and Control of a Robot Arm on a Two Wheeled Moving Platform Mert Onkol 1,a, Cosku Kasnakoglu 1,b

Comparisons of Different Controller for Position Tracking of DC Servo Motor

Design and Implementation of an Inverted Pendulum Controller to be used as a Lab Setup

ANALYSIS OF V/f CONTROL OF INDUCTION MOTOR USING CONVENTIONAL CONTROLLERS AND FUZZY LOGIC CONTROLLER

Inverted Pendulum Swing Up Controller

A Fast PID Tuning Algorithm for Feed Drive Servo Loop

Quanser Products and solutions

Fuzzy Adapting PID Based Boiler Drum Water Level Controller

Motor Modeling and Position Control Lab 3 MAE 334

A Searching Analyses for Best PID Tuning Method for CNC Servo Drive

A Brushless DC Motor Speed Control By Fuzzy PID Controller

Sfwr Eng/TRON 3DX4, Lab 4 Introduction to Computer Based Control

ME375 Lab Project. Bradley Boane & Jeremy Bourque April 25, 2018

Automobile Prototype Servo Control

CHAPTER 2 PID CONTROLLER BASED CLOSED LOOP CONTROL OF DC DRIVE

A Novel Harmonics-Free Fuzzy Logic based Controller Design for Switched Reluctance Motor Drive

Control Design for Servomechanisms July 2005, Glasgow Detailed Training Course Agenda

The Research on Servo Control System for AC PMSM Based on DSP BaiLei1, a, Wengang Zheng2, b

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL

Ball Balancing on a Beam

MEM01: DC-Motor Servomechanism

VECTOR CONTROL SCHEME FOR INDUCTION MOTOR WITH DIFFERENT CONTROLLERS FOR NEGLECTING THE END EFFECTS IN HEV APPLICATIONS

Sensors and Sensing Motors, Encoders and Motor Control

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering Vol. 2, Issue 6, June 2013

Active sway control of a gantry crane using hybrid input shaping and PID control schemes

Design and Control for Differential Drive Mobile Robot

Development of an Experimental Testbed for Multiple Vehicles Formation Flight Control

Optimal Control System Design

Speed control of Permanent Magnet Synchronous Motor using Power Reaching Law based Sliding Mode Controller

PRODUCTS AND LAB SOLUTIONS

Review Paper on Comparison of various PID Controllers Tuning Methodologies for Heat Exchanger Model

Auto-Balancing Two Wheeled Inverted Pendulum Robot

Interfacing dspace to the Quanser Rotary Series of Experiments (SRV02ET)

Sloshing Damping Control in a Cylindrical Container on a Wheeled Mobile Robot Using Dual-Swing Active-Vibration Reduction

Active Vibration Isolation of an Unbalanced Machine Tool Spindle

Investigations of Fuzzy Logic Controller for Sensorless Switched Reluctance Motor Drive

Artificial Neural Networks based Attitude Controlling of Longitudinal Autopilot for General Aviation Aircraft Nagababu V *1, Imran A 2

MTE 360 Automatic Control Systems University of Waterloo, Department of Mechanical & Mechatronics Engineering

Design of Joint Controller for Welding Robot and Parameter Optimization

Modelling for Temperature Non-Isothermal Continuous Stirred Tank Reactor Using Fuzzy Logic

Position Control of AC Servomotor Using Internal Model Control Strategy

Design of Different Controller for Cruise Control System

Position Control of a Hydraulic Servo System using PID Control

Design of Fractional Order Proportionalintegrator-derivative. Loop of Permanent Magnet Synchronous Motor

Control System for a Segway

Experiment Of Speed Control for an Electric Trishaw Based on PID Control Algorithm

Speed Control of BLDC Motor-A Fuzzy Logic Approach

A New Perspective to Altitude Acquire-and- Hold for Fixed Wing UAVs

Motomatic Servo Control

Hopper Spacecraft Simulator. Billy Hau and Brian Wisniewski

Rotary Motion Servo Plant: SRV02. Rotary Experiment #17: 2D Ball Balancer. 2D Ball Balancer Control using QUARC. Instructor Manual

PWM, ALT, HALT, HAST.

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control

EE 4314 Lab 3 Handout Speed Control of the DC Motor System Using a PID Controller Fall Lab Information

PID Control with Derivative Filtering and Integral Anti-Windup for a DC Servo

UNIVERSITY OF NAIROBI FACULTY OF ENGINEERING DEPARTMENT OF ELECTRICAL AND INFORMATION ENGINEERING

العطاء رقم )7106/67( الخاص بشراء أجهز لقسم الهندسة الكهربائية على حساب البحث العلمي

Application Note #2442

Introduction to PID Control

Non-Integer Order Controller Based Robust Performance Analysis of a Conical Tank System

Design and Implementation of Self-Tuning Fuzzy-PID Controller for Process Liquid Level Control

FUZZY CONTROL FOR THE KADET SENIOR RADIOCONTROLLED AIRPLANE

Design of a Simulink-Based Control Workstation for Mobile Wheeled Vehicles with Variable-Velocity Differential Motor Drives

STABILITY IMPROVEMENT OF POWER SYSTEM BY USING PSS WITH PID AVR CONTROLLER IN THE HIGH DAM POWER STATION ASWAN EGYPT

Cantonment, Dhaka-1216, BANGLADESH

Automatic Control Motion control Advanced control techniques

Negative Output Multiple Lift-Push-Pull Switched Capacitor for Automotive Applications by Using Soft Switching Technique

INTEGRATED PID BASED INTELLIGENT CONTROL FOR THREE TANK SYSTEM

FUZZY LOGIC CONTROL FOR NON-LINEAR MODEL OF THE BALL AND BEAM SYSTEM

CHOPPER FED CURRENT CONTROLLED DC MOTOR DRIVE USING PID CONTROLLER WITHOUT SENSOR

Ball and Beam. Workbook BB01. Student Version

DC motor control using arduino

Transcription:

Indian Journal of Science and Technology, Vol 9(28), DOI: 1.17485/ijst/216/v9i28/9387, July 216 ISSN (Print) : 974-6846 ISSN (Online) : 974-5645 Robust Control Design for Rotary Inverted Pendulum Balance P. Jekan 1 * and C. Subramani 2 1 Department of EIE, SRM University, Kattakulathur, Chennai - 6323, Tamil Nadu, India;jekankumar@gmail.com 2 Department of EEE, SRM University, Kattakulathur, Chennai - 6323, Tamil Nadu, India; csmsrm@gmail.com Abstract Background/Objectives: Rotary inverted pendulum is a system that is often used in the domain of control theory to perform experiments. It is a complex yet interesting system that helps better understand concepts of control mechanism. It is an example of a non-linear oscillator. The pendulum is under actuated and extremely non-linear due to the gravitational forces and the coupling arising from centripetal forces.the experiment aims at swinging up the pendulum and balancing it in the upright position.methods/statistical Analysis: This paper describes the existing system of Furuta Inverted Pendulum manufactured by Quanser. The system consists of a motor-run rotary arm which in turn controls a pendulum. PID controller is a very commonly used controller to set the process parameters at the desired values. It can be easily tuned and also helps make use of trial and error mechanism. Cascade controller makes use of two PID controllers. Findings:The main aim of this work is to compare the performance of two controllers, namely PID controller and Cascade controller, in controlling the pendulum in the upright position and to detect their performance. The criteria of comparison would be factors including low settling time and a stable output which would make the control action more efficient and smooth. The simulation results obtained in Matlab Simulink for Conventional PID and Cascade PID controllers are included. From the simulation results the Rise time and settling time has improved by using cascade PID controller but comparatively PID has given less noise.applications/improvements:this work can be made use of in a number of scenarios like flight control, control of rocket propeller, unicycle, Segway transporters (which are self-balancing battery powered vehicles), two-wheel robots etc. Keywords: Cascade PID Controller, Balance Control, PID Controller, Robust Control, Rotary Inverted Pendulum 1. Introduction The Furuta Inverted Pendulum is a Quanser product which is frequently used in experiments based on control theory. A number of controllers have been used in the control mechanism of the inverted pendulum to date. The main task that is associated with the system is to swing up and balance the pendulum in the upright position 1. This concept can be made use of in a number of scenarios like flight control, control of rocket propeller, unicycle, Segway transporters (which are self-balancing battery powered vehicles), two-wheel robots etc. 2. System Description The Rotary Inverted Pendulum (RIP) system consists of an SRV2 servo motor which runs a gear to rotate a rotary arm which in turn affects the motion of inverted pendulum2. There are two encoders in the system. One is fitted at the junction to check the angular position of the arm (label 2). The arm in turn is connected to a pendulum at the other end which can freely rotate about the axis of the arm. Another Encoder (label 1) is used to measure the angle of deflection of the pendulum3,4.the values sensed by the encoders are fed back into the system in order to control the position of the pendulum. The main controller that is being used here is PID controller5,6. Another *Author for correspondence

Robust Control Design for Rotary Inverted Pendulum Balance approach also includes the use of cascade controller which makes use of 2 PID controllers in cascade4,7. The Rotary inverted pendulum is a complex; nonlinear yet effective system which helps us learn and tackle numerous problems in the field of control systems. It is highly reliable and is very effective in providing good and accurate results without much distortion. The system is also very user friendly and opens up a wide range of possibilities for further research. Figure 1 shows the system. The different parts include: Encoder of pendulum used to measure the angle of deflection of the pendulum, Motor and Encoder of rotary arm used on the rotary arm to check the deflection of rotary arm and to rotate the arm, Pendulum The freely rotating part, Rotary arm Controlled by motor with one end supporting to the pendulum, Output gear Controls the rotary arm movement. As the voltage is supplied to motor it rotates and changes the gear which in turn imparts motion to the rotary arm. As the arm moves, the pendulum also starts to oscillate and the swing up control swings it up till it reaches the inverted position. Now the inverted pendulum is held in upright position by PID Controller. Basically the deflection angle of pendulum is input and is tried to be controlled at. When the pendulum is in upright position the angle between the pendulum and vertical axis is which is to be maintained to hold it in upright position. The angle is measured by encoder at 1. The controlling of this is done by movement of rotary arm which is controlled by the motor. The direction of rotation of motor forms the basis of this system control. Let s say when arm is moving in clockwise direction positive voltage is applied to motor and when it is moving in anticlockwise direction negative voltage is applied. When the pendulum reaches the desired position, balance control takes over. Now as α deviates from zero to +α rotary arm moves in clockwise direction (i.e. positive voltage is supplied to motor) to bring α back to zero. Similarly as α deviates to α the rotary arm moves in anticlockwise direction (i.e. negative voltage is supplied to motor) to bring α back to zero. Figure 2 shows that Rotary inverted pendulum conventions, where α : angle of deflection of pendulum θ : angle of deflection of rotary arm r : length of rotary arm m p : centre of mass of pendulum l p : length of pendulum The two main degrees of freedom involved in the system are the angles α and θ. The Table 1 describes the specifications of the system including details of potentiometer, tachometer, motor and the plant in general1. These specifications give us an idea about the measurements made by the system during the experiment. Note that the potentiometer and the tachometer both have a measuring range of +5 to -5 V. The non linear equations of motion of the SRV2 system as follows: - (1) (2) Here Q 1 = τ B r θ. (1) and Q 2 = -B p α (2)are the external non-conservative forces acting on the system with respect to the generalized coordinates α and θ. They are derived through Euler-Lagrange equation. Pendulum Encoder Rotary arm Output gear Motor Figure1. SRV2 Servo Base Unit with ROTPEN. Figure 2. Rotary inverted pendulum conventions. 2 Vol 9 (28) July 216 www.indjst.org Indian Journal of Science and Technology

P. Jekan and C.Subramani Table 1. System specifications SPECIFICATION VALUE UNITS Plant Dimension [L x W x H] 15 x 15 x 18 Cm Plant Weight 1.2 Kg Nominal Voltage 6 V Motor Maximum Continuous Current [recommended] Motor Maximum Speed [recommended] Potentiometer Bias Power Potentiometer Measurement Range 1 A 6 RPM +12 V +5 V Tachometer Bias Power +12 V Tachometer Measurement Range +5 V Tachometer Sensitivity.15 V/RPM Encoder Resolution 496 Counts/rev. Gear Ratio- high gear configuration 3. State Space Modeling 7 n/a The state space representation is usually used to model and analyze systems which have multiple inputs and outputs. Otherwise we would have to perform a huge number of Laplace transforms to include each of this inputs and outputs into the analysis of the system. Here linear state space modeling is carried out where the system is first linearized and then modeled. The basic equations of state space model are = Ax + Bu y = Cx + Du The Table 2 shows the values of the state space matrix s A, B, C and D which have been taken for this particular system. adjust the control mechanism in order to minimize the error and get the desired output. In this case the values have been set to Kp = 1.4, Ki = 6.8 and Kd =.2.The LQR controller used in the existing model is replaced by a PID controller in Matlab Simulink. According to Figure 3, the system is connected to a PID controller where the proportional, integral and derivative parameters are set by the user. A signal generator provides a signal to the controller which in turn provides a control signal to the RIP. Note that the control signal also depends on the feedback from the system. Here only one degree of freedom is assumed to perform the control actioni.e. α. The parameter fed back is angle of deflection α of the pendulum. This is because the other parameter which is the angle of deflection θ of the rotary arm is considered to be automatically controlled by the voltage input. In cascaded control, Figure 4, two PID controllers are used in a cascaded form, the kp, kdand kivalues for both PID controllers are very different from each other. The response of PID controller is expected to be much faster and better. Table 2. DESCRIPTION State Matrix State-Space input Matrix State-Space output Matrix State-Space Matrix Open-Loop Poles State space matrix A B C D OL VALUE 1 1 8.3-45.8 -.95 122-44.1-1.4 83.4 8.3 1 1 {-48.42, 7.6-5.86 and } 4. Controller Design In this approach PID controller is used for swing up and balance control. Trial and error mechanism is used to find the values of the proportional, integral and derivative constants (Kp,Kd, Ki). Tuning of these parameters help to Figure 3. Simulink block diagram of PID controller. Vol 9 (28) July 216 www.indjst.org Indian Journal of Science and Technology 3

Robust Control Design for Rotary Inverted Pendulum Balance One is used to control angle α while the other controls angle θ. Each angle is fed back to the corresponding controllers through encoders in order to carry out the required control mechanism. 5. Result and Discussion Figures5, 6 and 7, show the simulation response of the system by using PID and cascade controllers. The output has a slight overshoot after which it gives a stable output. It can also be noted that the settling time of the output is very low. Figure 8, Figure 9 and Figure 1 show the hardware response of the system by using PID and Cascade controllers. The control signal gives a slight overshoot after which it comes down to a stable state. The settling time of the response is low as can be seen. After the settling of the overshoot the stabilized output seems to slightly elevate which shows that the speed of the rotary arm steadily increases after a certain angle. The stability can be maintained by providing a slight external force to keep the angle within the range. Figure 7. Response of α of PID controller in hardware. Figure 4. Simulink block diagram of Cascade controller. Figure 8. Response of θ of PID controller in hardware. Figure 5. Response of PID controller in simulation. Figure 9. hardware. Response of α of Cascade controller in Figure 6. Response of Cascade controller in simulation. Figure 1. hardware. Response of θ in Cascade controller in 4 Vol 9 (28) July 216 www.indjst.org Indian Journal of Science and Technology

P. Jekan and C.Subramani Table 3. Software Time response PARAMETERS PID CASCADE Rise time for α.5.4 Settling time for α.5.15 Table 4. Noise Less More Hardware Time response PARAMETERS PID CASCADE Rise time for α.3 1 Rise time for θ.2 1.1 Settling time for α 9 14 Noise Less More 6. Conclusion In this work we have designed a controller for rotary inverted pendulum and successfully controlled it. The controllers are used to swing up the pendulum and baance it in upright position. Tables3 and 4 shows that the Simulation results of the controllers in Mat lab Simulink and the response of each controller in hardware respectively. The performance of PID controller can be improved by tuning the parameters.from the experimental results both the controllers are capable in maintaining the rotary inverted pendulum stable. But the cascade controller has given robust performance in rise time and settling time comparatively to the single PID controller in balancing the pendulum in inverted position. 7. References 1. Apkarian J, Karam P, Levis M. Instructor workbook Inverted pendulum experiment for Matlab/Simulink users standardized for ABET evaluation criteria developed by Quanser. 2. Yavin Y. Control of rotary inverted pendulum. Laboratory for Decision and Control Department of Electrical and Electronics Engineering University of Pretoria, South Africa. 3. Sangfeel K, Eunji S, KyungSik K, ByungSeop S. Design of fuzzy logic controller for inverted pendulum-type mobile robot using smart in-wheel motor. Indian Journal of Science and Technology. 215 Mar; 8(S5). DOI:1.17485/ijst/215/ v8is5/722. 4. Sirisha V, Junghare AS. A comparative study of controllers for stabilizing a rotary inverted pendulum. International Journal of Chaos, Control, Modelling and Simulation. 214 Jun; 3(1/2). 5. Ali AJS, Ramesh GP. Comparison of PI and PID controlled wind generator Fed Γ- Z source based PMSM drives. Indian Journal of Science and Technology. 216 Jan; 9(1). DOI:1.17485/ijst/216/v9i1/71289. 6. Akhtaruzzaman M, Shafie AA. Control of a rotary inverted pendulum using various methods, comparative assessment and result analysis.21 International Conference on Mechatronics and Automation (ICMA); 21.p. 4 7. 7. Wang J-J. Simulation study of inverted pendulumusing PID controllers.simulation Modelling Practice and Theory. 211 Jan;19(1):44 9. Vol 9 (28) July 216 www.indjst.org Indian Journal of Science and Technology 5