Improving A PID Controller Using Fuzzy Logic Andrew Thompson Ni Li Ara Tchobanian Professor: Riadh Habash TA: Hanliu Chen.

Slides:



Advertisements
Similar presentations
Lecture 20 Dimitar Stefanov. Microprocessor control of Powered Wheelchairs Flexible control; speed synchronization of both driving wheels, flexible control.
Advertisements

PID Controllers and PID tuning
Modern Control Systems (MCS)
Steer-by-Wire: Modification of Vehicle Handling Characteristics Daniel Beaubien Ryan Germain Véronique Millette Dr. Riadh Habash TA: Fouad Khalil.
Pulse Width Modulation and Motor Control
Design with Root Locus Lecture 9.
Digital Control Lab Islamic University of Gaza Eng: Moayed Mobaied DC MOTOR.
Slobodan Lubura. Model-Based-System Design use the models to describe the specifications, operation, performance of a component or a system of components.
R   Ball and Beam Ө = c*Input Voltage(u) Y = a*x System Equations State Space Model.
Chapter 10 – The Design of Feedback Control Systems PID Compensation Networks.
Control Theory (2) Jeremy Wyatt School of Computer Science University of Birmingham.
Examples of Control Systems Application. Modeling the Ball and Beam Experiment.
Introduction What is Fuzzy Logic? HOW DOES FL WORK? Differences between Classical set (crisps) and Fuzzy set theory Example 1 Example 2 Classifying Houses.
Design of Control Systems Cascade Root Locus Design This is the first lecture devoted to the control system design. In the previous lectures we laid the.
DC motor model ETEC6419. Motors of Models There are many different models of DC motors that use differential equations. During this set of slides we will.
SOUTHERN TAIWAN UNIVERSITY Department of Electrical Engineering DESIGN OF FUZZY PID CONTROLLER FOR BRUSHLESS DC (BLDC)MOTOR Student: Dang Thanh Trung Subject:
Modelling of a motor. Approaches to motor identification Go to the data sheets from the manufacturer and obtain the relevant motor performance characteristics.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
1 SOUTHERN TAIWAN UNIVERSITY ELECTRICAL ENGINEERING DEPARTMENT Gain Scheduler Middleware: A Methodology to Enable Existing Controllers for Networked Control.
Adaptive Cruise Control (ACC)
A Shaft Sensorless Control for PMSM Using Direct Neural Network Adaptive Observer Authors: Guo Qingding Luo Ruifu Wang Limei IEEE IECON 22 nd International.
ECE 4115 Control Systems Lab 1 Spring 2005
Ch. 6 Single Variable Control
It is the time response of a system to an input that sets the criteria for our control systems. Many quantitative criteria have been defined to characterise.
System/Plant/Process (Transfer function) Output Input The relationship between the input and output are mentioned in terms of transfer function, which.
Unit 4: Electromechanical drive systems An Introduction to Mechanical Engineering: Part Two Electromechanical drive systems Learning summary By the end.
Huixian Liu and Shihua Li, Senior Member, IEEE
Modified by Albert W.J. Hsue,
ELG 4152 :Modern Control Winter 2007 Printer Belt Drive Design Presented to : Prof: Dr.R.Habash TA: Wei Yang Presented by: Alaa Farhat Mohammed Al-Hashmi.
ME 335 Boğaziçi University A Study on Motor Speed Control.
INC341 Design Using Graphical Tool (continue)
1 Chap 6 The Compensation of the linear control systems P553.
Session 6 - Sensor Modelling
CLOSED LOOP CONTROL OF DC DRIVES. Controller Requirements  Fast tracking capability  Less steady state error  Robust to load disturbance during steady.
oPEN Simulation Environment PENSE PENSE PENSE is a simulation framework written in C++ using fully object oriented design patterns and it's designed.
Fuzzy sliding mode controller for DC motor Advisor : Ying Shieh Kung Student: Bui Thi Hai Linh Southern Taiwan University Seminar class
PID. The proportional term produces an output value that is proportional to the current error value. Kp, called the proportional gain constant.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
1 MATLAB AND CONTROLS PRESENTED BY:- AGILESWARI K. RAMASAMY DR. FARRUKH HAFIZ NAGI.
DC Motor Speed Modeling in Simulink
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
SPEED CONTROL OF ( SEDM ) ADOPTING CHOPPER CONVERTER AND PI CONTROLLER
(thanks to Gary Fedder)
Control 3 Keypoints: PID control
Chapter 4 A First Analysis of Feedback Feedback Control A Feedback Control seeks to bring the measured quantity to its desired value or set-point (also.
2.1 Step Input Response: Eigenvalues: p 1 =-4.526, p 2,3 = ±2.7883i, p 4 = Final value theorem: Stability: If the step response reaches to.
Control Engineering. Introduction What we will discuss in this introduction: – What is control engineering? – What are the main types of control systems?
Introduction to Linear System Theory and simple feedback PID Controllers EE125 Ruzena Bajcsy.
Intelligent Robot Lab Pusan National University Intelligent Robot Lab Chapter 7. Forced Response Errors Pusan National University Intelligent Robot Laboratory.
SKEE 3143 Control Systems Design Chapter 2 – PID Controllers Design
BIRLA VISHWAKARMA MAHAVIDHYALAYA ELECTRONICS & TELECOMUNICATION DEPARTMENT o – ANKUR BUSA o – KHUSHBOO DESAI UNDER THE GUIDENCE.
A Simple Fuzzy Excitation Control System for Synchronous Generator International conference on emerging trends in electrical and computer technology, p.p.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Exercise 1 Suppose we have a simple mass, spring, and damper problem. Find The modeling equation of this system (F input, x output). The transfer function.
Intelligent Control Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics.
Dr. Hatem Elaydi Digital Control, EELE 4360 Dec. 16, 2014
Salman Bin Abdulaziz University
Speed Limiter for Watercrafts
Chapter 7 The Root Locus Method The root-locus method is a powerful tool for designing and analyzing feedback control systems The Root Locus Concept The.
SOUTHERN TAIWAN UNIVERSITY ELECTRICAL ENGINEERING DEPARTMENT
Stanisław H. Żak School of Electrical and Computer Engineering
Dynamic Controllers for Wind Turbines
PID Controller.
Basic Design of PID Controller
Chapter 9 Design via Root Locus <<<4.1>>>
Chapter 9 Design via Root Locus <<<4.1>>>
Example 2-2: Multi-DOF mechanical systems
Introduction to Motor Drives
HOMEWORK-03 Problem Kuo-95 (p. 377)
The Design of Feedback Control Systems
Presentation transcript:

Improving A PID Controller Using Fuzzy Logic Andrew Thompson Ni Li Ara Tchobanian Professor: Riadh Habash TA: Hanliu Chen

Problem Although PID controllers are able to provide adequate control for simple systems, they are unable to compensate for disturbances. We will use Fuzzy Logic controllers to improve the PID controllers ability to handle disturbances.

Hypothesis We feel like all the designs for the fuzzy compensator will be an improvement upon the PID controller and will have greater ability to deal with disturbances.

IEEE Papers

Group Contribution Andrew Thompson: –Research and development of Fuzzy precompensator design and rules –Research and development of PID Controller Ni Li: –Research and development of various Fuzzy logic compensator (PD, PI) designs and rules Ara Tchobanian: –Research and modeling of DC motor –Research and development of PID Controller

Procedure We first needed to decide upon a system which we could control using a PID controller as well as be able to introduce a disturbance. We chose to model a basic DC motor.

DC Motor We used the following values for the model of the DC Motor moment of inertia of the rotor J = 0.01 kg.m 2 /s 2 damping ratio of the mechanical system b = 0.1 Nms electromotive force constant K = 0.01 Nm/Amp electric resistance R = 1 ohm electric inductance L = 0.5 H input V: Source Voltage output Θ’: Speed of motor

DC Motor Model

Step 2 We next had to design a PID controller to control the speed of the motor.

PID Controller We wanted the PID controller to satisfy the following criteria: –Settling time less than 2 seconds –Overshoot less than 5% –Steady-state error less than 1% By using trial and error, and examining the step response we obtained the following gains: Kp = 100, Ki = 200, Kd = 10

PID Model

Step 3 The final step in the development of our controllers was to design various forms Fuzzy logic compensators in order to improve the performance of the PID controller and to allow it to account for the disturbance. We designed three types of Fuzzy logic Compensators –Fuzzy PI –Fuzzy PD –Fuzzy Precompensated

Fuzzy logic Introduction Fuzzy logic is a problem-solving control system methodology that lends itself to implementation in systems ranging from simple, small, embedded micro- controllers to large, networked, multi-channel PC or workstation-based data acquisition and control systems. It can be implemented in hardware, software, or a combination of both. Inputs Rules Output

Fuzzy Precompensated PID Membership Functions, and Fuzzy Rule Sets

Surface and Rule Sets

Fuzzy Precompensated PID Model

Fuzzy logic Equation for the fuzzy PI Kp*X + Ki*Y = Z The output for the fuzzy Y example input for Ki The gain for Ki X example input for Kp The gain for Kp

Membership functions for the PI component. (a) Input membership functions. (b) Output membership functions. L A) B) Optical HighLow

Fuzzy Logic Rules for the PI The P is Low and I is Low then output is –R The P is Low and I is Optimal then output is –(R+S)/2 The P is Low and I is High then output is -S The P is Optimal and I is Low then output is (–R+S)/2 The P is Optimal and I is Optimal then output is 0 The P is Optimal and I is High then output is (R-S)/2 The P is High and I is Low then output is S The P is High and I is optimal then output is (R+S)/2 The P is High and I is High then output is R Where R=L 1 *K i +L 2 *K p S=L 2 *K p +L 1 *K i

Linear Fuzzy PI Control Table OutputLow ( D)Optimal ( D )High ( D ) Low ( P )-R-(R+S)/2-S Optimal ( P )-(R-S)/20(R-S)/2 High ( P )S(R+S)/2R Surface Viewer

Fuzzy PI Model

Fuzzy PD Membership Functions

Fuzzy PD Model

Simulation Results Step Response PID Fuzzy Precompensated Fuzzy PI Fuzzy PD

Simulation Results Step Response with sine disturbance PID Fuzzy Precompensated Fuzzy PI Fuzzy PD

Simulation Results Step Response with Gaussian Noise disturbance PID Fuzzy Precompensated Fuzzy PI Fuzzy PD

Simulation Results Sine Input PID Fuzzy Precompensated Fuzzy PI Fuzzy PD

Simulation Results Sine Input with sine disturbance PID Fuzzy Precompensated Fuzzy PI Fuzzy PD

Simulation Results Sine Response with Gaussian Noise disturbance PID Fuzzy Precompensated Fuzzy PI Fuzzy PD