Adaptive Fuzzy PID For The Control Of Ball And Beam System

Similar documents
Index Terms Magnetic Levitation System, Interval type-2 fuzzy logic controller, Self tuning type-2 fuzzy controller.

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

Design On-Line Tunable Gain Artificial Nonlinear Controller

3- DOF Scara type Robot Manipulator using Mamdani Based Fuzzy Controller

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

International Journal of Emerging Technology and Advanced Engineering Website: (ISSN , Volume 2, Issue 5, May 2012)

Mechatronics. MANE 4490 Fall 2002 Assignment # 1

The basic principle to be used in mechanical systems to derive a mathematical model is Newton s law,

Type-2 Fuzzy Logic Control of Continuous Stirred Tank Reactor

MECH 3140 Final Project

FUZZY CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL

Fuzzy Based Robust Controller Design for Robotic Two-Link Manipulator

Fuzzy Logic Control for Half Car Suspension System Using Matlab

CHAPTER 7 MODELING AND CONTROL OF SPHERICAL TANK LEVEL PROCESS 7.1 INTRODUCTION

THE REACTION WHEEL PENDULUM

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

H-infinity Model Reference Controller Design for Magnetic Levitation System

Modelling and Control of DWR 1.0 A Two Wheeled Mobile Robot

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

DC Motor Position: System Modeling

Design and Stability Analysis of Single-Input Fuzzy Logic Controller

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

Balancing of an Inverted Pendulum with a SCARA Robot

Performance Of Power System Stabilizerusing Fuzzy Logic Controller

Mechatronic System Case Study: Rotary Inverted Pendulum Dynamic System Investigation

Available online at ScienceDirect. Procedia Technology 25 (2016 )

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

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

RamchandraBhosale, Bindu R (Electrical Department, Fr.CRIT,Navi Mumbai,India)

Reduced Size Rule Set Based Fuzzy Logic Dual Input Power System Stabilizer

Design Artificial Nonlinear Controller Based on Computed Torque like Controller with Tunable Gain

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING. MSc SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2015/2016

RULE-BASED FUZZY EXPERT SYSTEMS

COMPARISON OF DAMPING PERFORMANCE OF CONVENTIONAL AND NEURO FUZZY BASED POWER SYSTEM STABILIZERS APPLIED IN MULTI MACHINE POWER SYSTEMS

Final Exam April 30, 2013

Nonlinear PD Controllers with Gravity Compensation for Robot Manipulators

Rigid bodies - general theory

Application of GA and PSO Tuned Fuzzy Controller for AGC of Three Area Thermal- Thermal-Hydro Power System

DESIGN OF FUZZY ESTIMATOR TO ASSIST FAULT RECOVERY IN A NON LINEAR SYSTEM K.

Engineering Mechanics Prof. U. S. Dixit Department of Mechanical Engineering Indian Institute of Technology, Guwahati Introduction to vibration

Modeling and Simulation of Cigarette Weight Control System

1.053J/2.003J Dynamics and Control I Fall Final Exam 18 th December, 2007

(Refer Slide Time: 00:01:30 min)

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

Introduction to Control (034040) lecture no. 2

DOUBLE ARM JUGGLING SYSTEM Progress Presentation ECSE-4962 Control Systems Design

Satellite Attitude Control System Design Using Reaction Wheels Bhanu Gouda Brian Fast Dan Simon

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

A Benchmark Problem for Robust Control of a Multivariable Nonlinear Flexible Manipulator

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

Uncertain System Control: An Engineering Approach

Intelligent Control of a SPM System Design with Parameter Variations

A Sliding Mode Control based on Nonlinear Disturbance Observer for the Mobile Manipulator

1038. Adaptive input estimation method and fuzzy robust controller combined for active cantilever beam structural system vibration control

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

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

Design and Implementation of Two-Degree-of-Freedom Nonlinear PID Controller for a Nonlinear Process

Speed Control of Torsional Drive Systems with Backlash

A successful application of an intelligent hybrid controller for feed drive control of CNC Machine tool

Control Of Heat Exchanger Using Internal Model Controller

Design of Fuzzy Logic Control System for Segway Type Mobile Robots

Varuvan Vadivelan. Institute of Technology LAB MANUAL. : 2013 : B.E. MECHANICAL ENGINEERING : III Year / V Semester. Regulation Branch Year & Semester

Robot Dynamics - Rotary Wing UAS: Control of a Quadrotor

Swinging Tension sensor and Control Structure for Gyroscope Fiber Winding Process

1 MR SAMPLE EXAM 3 FALL 2013

Chapter 8. Rotational Equilibrium and Rotational Dynamics. 1. Torque. 2. Torque and Equilibrium. 3. Center of Mass and Center of Gravity

Summer Physics 41 Pretest. Shorty Shorts (2 pts ea): Circle the best answer. Show work if a calculation is required.

Mechatronics Engineering. Li Wen

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

Enhanced Fuzzy Model Reference Learning Control for Conical tank process

D DAVID PUBLISHING. Design of Torque Balancing Mechanisms. 1. Introduction. Bruno Zappa, Vittorio Lorenzi, Paolo Righettini and Roberto Strada

DAMPING OF SUBSYNCHRONOUS MODES OF OSCILLATIONS

Control Lab. Thermal Plant. Chriss Grimholt

Lagrangian Dynamics: Generalized Coordinates and Forces

Static Equilibrium and Torque

Final Examination Thursday May Please initial the statement below to show that you have read it

THE GYROSCOPE REFERENCES

Lab 5a: Pole Placement for the Inverted Pendulum

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BSC (HONS) MECHATRONICS TOP-UP SEMESTER 1 EXAMINATION 2017/2018 ADVANCED MECHATRONIC SYSTEMS

Plane Motion of Rigid Bodies: Forces and Accelerations

1 Introduction. 2 Process description

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

FUZZY LOGIC BASED ADAPTATION MECHANISM FOR ADAPTIVE LUENBERGER OBSERVER SENSORLESS DIRECT TORQUE CONTROL OF INDUCTION MOTOR

Researcher 2016;8(6) Vector control of permanent magnet synchronous motor using fuzzy algorithm

Video 5.1 Vijay Kumar and Ani Hsieh

MEAM 510 Fall 2012 Bruce D. Kothmann

A uniform rod of length L and Mass M is attached at one end to a frictionless pivot. If the rod is released from rest from the horizontal position,

DESIGN OF POWER SYSTEM STABILIZER USING FUZZY BASED SLIDING MODE CONTROL TECHNIQUE

ROBUST CONTROL OF A FLEXIBLE MANIPULATOR ARM: A BENCHMARK PROBLEM. Stig Moberg Jonas Öhr

Models for Inexact Reasoning. Fuzzy Logic Lesson 8 Fuzzy Controllers. Master in Computational Logic Department of Artificial Intelligence

HADDONFIELD PUBLIC SCHOOLS Curriculum Map for AP Physics, Mechanics C

Intelligent Systems and Control Prof. Laxmidhar Behera Indian Institute of Technology, Kanpur

Design and Analysis of Speed Control Using Hybrid PID-Fuzzy Controller for Induction Motors

Contact Force-Controlled SPM System Design with Fuzzy Controller

MODELLING AND SIMULATION OF AN INVERTED PENDULUM SYSTEM: COMPARISON BETWEEN EXPERIMENT AND CAD PHYSICAL MODEL

Fuzzy logic based control design for active dancer closed loop web tension control

Fuzzy PID Control System In Industrial Environment

Vibration Suppression of a 2-Mass Drive System with Multiple Feedbacks

Sensorless Control for High-Speed BLDC Motors With Low Inductance and Nonideal Back EMF

Phys 270 Final Exam. Figure 1: Question 1

Transcription:

Adaptive Fuzzy PID For The Control Of Ball And Beam System Shabeer Ali K P₁, Dr. Vijay Kumar₂ ₁ Student, E & CE Department, IIT Roorkee,Roorkee, India ₂ Professor, E & CE Department, IIT Roorkee,Roorkee, India Abstract This paper introduces an effective approach about the self-adaptive fuzzy PID control and fuzzy control. Apply the control method in Googol s GBB1004 ball and beam system and the implementary results sufficiently demonstrates its validity and realizes the effective control for the ball and beam system. Index Terms Ball and beam system, Adaptive fuzzy logic controller. I. INTRODUCTION Control of a Ball and Beam system is one of the most interesting and classical problems for control engineering. The objective of this project is to design a controller which is capable of controlling the Ball and Beam system. The ball and beam system can usually be found in most university control labs since it is relatively easy to build, model and control theoretically. The system includes a ball, a beam, a motor and several sensors. The basic idea is to use the torque generated from motor to the control the position of the ball on the beam. The ball rolls on the beam freely. By employing linear sensing techniques, the information from the sensor can be taken and compared with desired positions values. The difference can be fed back into the controller, and then in to the motor in order to gain the desired position. The mathematical model for this system is inherently nonlinear but may be linearised around the horizontal region. This simplified linearised model, however, still represents many typical real systems, such as horizontally stabilizing an airplane during landing and in turbulent airflow. By considering real plant problems such as the sensor noise and actuator saturation, the controllers of the system become more efficient and robust. II. THE BALL AND BEAM SYSTEM MODEL A ball is placed on a beam, see figure below, where it is allowed to roll with 1 degree of freedom along the length of the beam. A lever arm is attached to the beam at one end and a servo gear at the other. As the servo gear turns by an angle theta, the lever changes the angle of the beam by alpha. When the angle is changed from the horizontal position, gravity causes the ball to roll along the beam. A controller will be designed for this system so that the ball's position can be manipulated. 1942

For this problem, we will assume that the ball rolls without slipping and friction between the beam and ball is negligible. The constants and variable for this example are defined as follows: The system diagram given in Fig. 1 shows that there are three main components are involved in the system which includes moments and forces acting on them, the motor, the beam, and the ball. To simplify the design, the motor shaft and beam are considered to be the rigid body (i-e the stiffness across the transmission to be near the plane of ball contact, and there is no skidding). The sum of forces at the point of intersection can be written as, Figure 1: Ball and Beam model In this, rather than express all the forces and geometric constraints (which is difficult to model in Simulink for dynamic systems with constraints) we will model the nonlinear Lagrangian equation of motion directly. This equation gives d/dt(r) as a function of the state and input variable, r, d/dt(r), alpha, and d/dt(alpha). We will make use of the Nonlinear Function Block to express this function. First, we must express the derivatives of the output, r. Fb = mgsinø Fr mx (1) Where the subscript b denotes forces acting on the ball, m is the mass of the ball, g is gravity, Fr is the rolling constraint forces on the ball and x is the position of the ball along the beam. By geometry, the position can be defined as, x=α*a (2) Where α is the angular displacement of the ball, and a is the distance between the axis of rotation of the ball and point of contact of the ball with the beam. The torque balance of the ball, T b is also a product of the rolling constraint force as, Tb=Fr*a =Jb*α (3) Jb=m*a 2 (4) Figure 2: Simplified model for Ball and Beam System. Where Jb is the moment of inertial of the ball, and a is the radius of the ball. The torque balance is given by, Tbm=JbmØ (5) 1943

Where the subscript bm denotes the beam and motor, and Tbm represents the torque generated by the motor. The torque relation is given by, Tin=Kt*Iin (6) Where K, is motor torque constant, and lin is the current supplied to the motor. From (6), it can be shown that a linearized model at 0 can be written as, Gbb= Ø(s) Iin (s) = g s 2 (1+0.4 a a 2 ) (2.6) (7) ec and their outputs are respectively Kp, (2.7) ki, Kd. And in this paper, e,ec and Kp, Ki are all Where 'a' is the angular displacement of the divided into seven fuzzy sets, and linguistic ball and (a') is the diameter of the ball used variables [ NB NM NS ZE PS PM PB] are and (g) is gravity. adopted for fuzzy sets chosen before. e,ec are Based on the motor parameters, Km=O. converted into fuzzy domain [-6 6] via 7Irevlsecivolts, T =0.014 sec, J=1. 4x 10.6 quantization factors and fuzzy domain [-10 Kg_m2, motor model can be written as, 10] is corresponding to Kp, Ki, Kd. In order to (8) Gm= θ(s) Iin (s) = 0.7 s(0.014s+1) III. CONTROL STRATEGY Adaptive Fuzzy PID Controller: The self-adaptive fuzzy PID control principle can be described as follows: m t = Kp + ΔKp e t + (Ki t + ΔKi) e t dt 0 + Kd e(t)/dt Where Kp,Ki,Kd are initial PID parameters, and ΔKp and ΔKi are PID tuning variables obtained via fuzzy inference. In this article three double-input and single output fuzzy controllers are designed to timely adjust Kp, Ki. The fuzzy controller inputs are e and make sure the input and output variable s states don t change abruptly overlapping and triangle-shaped membership functions (MFS) are used to describe each fuzzy set. The regulating rules of Kp, Ki, Kd according to different e,ec are as follows: When e is much large choose larger dk p to eliminate error immediately and improve response of the system and choose a little bit Figure 3: Ball and Beam nonlinear model. small dk d and to avoid oscillation define dk i as zero. 1944

When e ec>0 - In this case if e is much large we have to take larger dk p, a little bit small dk i and medium dk d. When e is small, use medium dk p, a little large dk i and small dk d. Here the given value is deviating from the controlled value causing the system oscillating and becomes less stable. e ec ΔKp NB NM NS ZE PS PM PB NB PB PB PM PM PS ZE ZE NM PB PB PM PS PS ZE NS NS PM PM PM PS ZE NS NS ZE PM PM PS ZE NS NM NM PS PS PS ZE NS NS NM NM When e ec<0, the controlled value changes towards the given value. If e is much large it is suitable to select medium Kp,Kd and small Ki to improve system s dynamic features and stability. In contrary, if e is very small it is recommended to select small Kp,Kd and larger Ki. ec indicates the error change rate, thus when ec is larger it is appropriate to choose smaller Kp and larger Ki. PM PS ZE NS NM NM NM NB PB ZE ZE NM NM NM NB NB Table1:Fuzzy rule base for ΔKp e ec ΔKi NB NM NS ZE PS PM PB NB PS PS ZE PM PS PM PB NM PS PS ZE PS ZE NS NS NS ZE ZE ZE PS NS NS NM ZE PB PM PS ZE NS NM NB PS PM PS ZE NS ZE NS NM PM PS ZE PS NM ZE NS NS PB NB NM NS NM ZE NS NS Table2:Fuzzy rule base for ΔKi e ec ΔKd NB NM NS ZE PS PM PB NB PM PM PS PM NS NM ZE NM PM PM PS PS NS ZE NM NS PS PS PS PS ZE NS NS ZE PM PM PS ZE NS NM NM PS PS PS ZE NS NS NS NS PM PM ZE NS NS NS NM NM PB ZE NS NS NM NM NM NM Table3:Fuzzy rule base for ΔKd 1945

IV. SIMULATION AND REAL TIME EVALUATION OF SELF-ADAPTIVE FUZZY PID CONTROLLER V. RESULTS The initial PID parameters obtained by experimental method. It is worth noting that differential item exists in mathematical model of IP system. It is therefore facile for the IP system to cause high-frequency noise and lead to decline the anti-disturbance capability. Taken these issues and system s dynamic nature into account, when choosing differential weighting coefficients, it is recommended to select a small Kd. In the end, it is obtained that Kp=6, Ki=0.2, Kd=5 via trial and error approach. Quantization factors and scale factors of self-adaptive fuzzy PID controller are Ke=4, Kec=20, Kpu=0.05, Kiu=0.05, Kdu=-0.25. These parameters are obtained after continuously simulating and experimenting. Figure 5: Ball and Beam unit response of non-linear model In real time control as expected ball maintained in balance state in 3.5 sec in the reference position. VI. CONCLUSION this paper presents Self adaptive fuzzy PID controller for the ball and beam system. The effectiveness of the proposed controller has been investigated through simulation studies and in real time. The simulation shows a better performance compared to PID. The proposed controller is more robust compared PID. The simulation results are validated with the experimental real time model of googol s magnetic levitation system. Figure 5: Ball and Beam Real time controller. 1946

REFERENCES [1] A Simplified Intelligent Controller for Ball and Beam System, M. Amjad, KashifM.I., S.S Abdullah, Faculty of Electrical Engineering, University Teknologi Malaysia. Skudai, Johor Bahru, Malaysia. [2] One Rod Inverted Pendulum Controller DesignBased on Self-Adaptive Fuzzy PID with Fuzzy Yuejuan Han and Yongxin Liu College of Electronic Information Engineering Inner Mongolia University Hohhot 010021, P.R. China, Proceedings of the 8 th World Congress on Intelligent Control and Automation July 6-9 2010, Jinan, China [3] Googol s Ball and Beam system manual. [4] Antti-Matti Vainio, Miika Valtonen, and Jukka Vanhala, Proactive Fuzzy Control and Adaptation Methods for Smart Homes, IEEE Computer Society, pp.43-48, Aprial 2008. 1947