SlideShare a Scribd company logo
1 of 17
TUNING OF PID CONTROLLER WITH
         FUZZY LOGIC
CONTENTS                                             2
Serial No.      Topic                         Slide No.
1               Introduction                  3
2               Fuzzy Logic                   4
3               Example                       5
4               PID Controller                6
5               Designing of PID Controller 7
6               Necessity of Tuning           8
7               ZEIGLER NICHOLS Method        9
8               Inferences from ZN            10
                method of tuning
9               PID tuning using fuzzy set-   11
                point weighting
10              Block diagram for PID         13
                tuning
11              Conclusion                    15
12              References                    16
INTRODUCTION                                                         3
->PID controllers constitute an important part at industrial control systems so any
  improvement in PID design and implementation methodology has a serious potential
  to be used at industrial engineering applications.

->The PID controllers which were invented in the 1900s are still used in more than 95%
  of industrial control loops .

-> They have survived many changes in technology from mechanics and Pneumatics to
  microprocessors via electronic tubes , transistors and integrated circuits .

-> Present day PID controllers are made by using microprocessors/microcontrollers and
  using Programmable logic control technology.
Fuzzy Logic                                                  4
-> Fuzzy logic is an approach to computing based on ‘degrees of truth’ rather than the
 usual ‘true or false’(1 or 0) Boolean logic on which the modern computer is based.

-> Boolean logic is a subset of fuzzy logic.

-> the FL is based on the implementation of human understanding and human thinking in
 control algorithms.

-> Fuzzy logic has been applied to many fields, from control theory to artificial intelligence.

-> As the complexity of a system increases, it becomes more difficult and eventually
 impossible to make a precise statement about its behaviour, eventually arriving at a point
 of complexity where the fuzzy logic method is the only way to get at the problem.
EXAMPLE                                                         5
Given a number between 0 and 10 that represents the quality of service at a restaurant
(where 10 is excellent), what should the tip be?

The Non-fuzzy Approach                        The fuzzy Approach
 Suppose that the tip always equals 15% of     This takes into account the quality of the service.
 the total bill.                               Because service is rated on a scale of 0 to 10, let
  tip=0.15                                     the tip go linearly from 5% if the service is bad to
                                               25% if the service is excellent.
                                                tip=0.20/10*service+0.05
PID CONTROLLER                                                                6
 A proportional-integrating-derivative controller is a generic control loop feedback mechanism
 widely used in industrial control systems.
 A PID controller calculates an "error" value as the difference between a measured process variable
 and a desired set- point.
 The controller attempts to minimize the error by adjusting the process control inputs.

 ALGORITHM




  p – depends on present error
  I - depends on accumulation of past errors
  D - is a prediction of future errors
DESIGNING OF PID CONTROLLER                                                 7
   An open-loop response is taken and the parameters to be improved are listed .

     Constants        Rise time        Overshoot        Settling Time      ess
     Kp ↑             Decrease         Increase         Small change      Decrease
     Ki ↑             Decrease         Increase         Increase          Eliminate
     Kd ↑             Small Change     Decrease         Decrease          Small Change



    Values of Kp, Ki, and Kd are adjusted until we obtain the optimum response .
NECESSITY OF TUNING                                                   8
 Tuning is the process of finding appropriate parameters for the PID controller . Tuning
 determines the overall performance of control loop which affects quality of product , cost
 etc .

A pid control system needs tuning if –
a) Careful consideration was not given to the units of gains and other parameters.
b) The process dynamics were not well-understood when the gains were first set, or the
  dynamics have (for any reason) changed.
c) Some characteristics of the control system are direction-dependent (e.g. actuator piston
  area, heat-up/cool-down of powerful heaters).
ZEIGLER NICHOLS METHOD                                                       9
This method proposed by Ziegler and Nichols is based on experimentally determining the
point of marginal stability.



Formula –
u(t)= Kp [e(t)+Td de(t)/dt+1/Ti ∫e(t)dt]




Procedure –
1- The pid controller is turned into p controller by setting Ti=infinity and Td=0.
2 – The gain Kp is set to zero.
3 – The control loop is closed by setting the controller in automatic mode.
4 - Kp was increased until there are sustained oscillations in the signals in the control system.
Inferences from ZN method of tuning                                                 10
1 – Ensures good load disturbance attenuation.
2 – The algorithm and application is quite simple .



3– System maybe driven towards instability.
4– poor phase margin, hence large overshoot and settling time for step response .
5 – We don’t know in advance the amplitude of sustained oscillations.
6- Does not work if operating point is unstable.
7 - Poor performance for processes with a dominant delay.
8 - Closed loop very sensitive to parameter variations.
PID tuning using fuzzy set-point weighting11
Formula - u(t)= Kp [e(t)+Td de(t)/dt+1/Ti ∫e(t)dt]

->Set-point for the proportional action is weighted by means of a constant b <1 .

 so we get u(t)= Kpep(t)+Kdde(t)/dt+Ki∫e(t)dt
 where ep(t)=bysp(t)—y(t)

-> In this way, a simple two-degree of freedom scheme is implemented .
-> one part of the controller is devoted to the attenuation of load disturbances, and the other
 to the set-point following as shown in figure, where the following transfer functions are
 indicated:

  Gff = Kp [b+1/(sTi)+Td]
  Gc = Kp[1+1/(sTi)+Td]
12
     However, the use of set-point weighting
                                               Ysp
    generally leads to an increase in the rise         Gff
    time since the effectiveness of the
    proportional action is somewhat reduced.

    This significant drawback can be avoided
    by using a fuzzy inference system to                                                      Y
    determine the value of the weight b(t)             Gc                      PROCESS
    depending on the current value of the
    system error e(t) and its time derivative è(t).

                                                                       -1
    the output f(t) of the fuzzy module is added
    to a constant parameter w, resulting in a
    coefficient b(t) that multiplies the set-point.
                                                      Two degrees of freedom implementation
13




Block diagram for PID Tuning
START
                                            Fine-tune the
                                              fuzzy-logic         No            Is the
                                                                                                      14
                                            controller by
                                           slightly varying                   desired
                                           the parameters                   performance
Calculate Kp, Ti, Td according to               and/or
                                            modifying the                    obtained?
  the Ziegler Nichols method
                                            rules suitably
                                                                       Yes
                                                                       Simulate the models and
Obtain suitable of fixed set point                                   compare the values of Ziegler
     b for minimising IAE .                                           Nichols fixed b and fuzzy b.



Select error and change in error as the
 input variables to the fuzzy inference                                         END
                system.


                                                               The same procedure is repeated for
 The value of the constant parameter w                          three, five and seven membership
 and scaling coefficients Kin2 and Kout,                        functions for input variables . The
 are obtained by an iterative procedure                       conventional, fixed weight and fuzzy-
      for obtaining minimum IAE .                                   set-point weighted tuning
                                                                    procedures are compared.
CONCLUSION                                             15
    The results have clearly emphasized the advantages of fuzzy inference systems .

    The main benefits in the use of FL appear when process non-linearities such as
    saturation are significant.

    a balance is obtained between both rise time and overshoot in the response i.e lesser
    overshoot and smaller rise time are obtained simultaneously by using FL which is
    impossible using conventional methodologies .

 The   ease of tuning of fuzzy mechanism parameters plays a key role in the practical
    applicability of the methodologies, since it determines the improvement in the cost per
    benefit ratio with respect to standard methods.
References                                                  16

1 - Gaddam Mallesham Akula Rajani ,“automatic tuning of pid controller using fuzzy logic”
8th international conference on development and application system ; Suceava,Romania,
May 25-27 , 2006.

2 - A Visioli of Diupartimento di Elettronica per l’Automazione,Brescia University ,
“tuning of pid controllers with fuzzy logic” proceedings of ieee, Volume 148, issue-1,
Pages:1-8 , jan 2001

3 - L.J.Nagrath and M.Gopal , “Control System engineering” , New age internatrional
publication , 4th edition , 2006.
THANK YOU

More Related Content

What's hot

Types of snubber circuits | Design of snubber for flyback converter | Simulat...
Types of snubber circuits | Design of snubber for flyback converter | Simulat...Types of snubber circuits | Design of snubber for flyback converter | Simulat...
Types of snubber circuits | Design of snubber for flyback converter | Simulat...Kaushik Naik
 
PID Controller
PID ControllerPID Controller
PID Controllersaishah72
 
PID Controller and its design
PID Controller and its designPID Controller and its design
PID Controller and its designKonirDom1
 
PID Control Basics
PID Control BasicsPID Control Basics
PID Control BasicsYokogawa1
 
PID Controller Tuning
PID Controller TuningPID Controller Tuning
PID Controller TuningAhmad Taan
 
BLDC control using PID & FUZZY logic controller-CSD PPT
BLDC control using PID & FUZZY logic controller-CSD PPTBLDC control using PID & FUZZY logic controller-CSD PPT
BLDC control using PID & FUZZY logic controller-CSD PPTAmiya Ranjan Behera
 
Lecture 14 15-time_domain_analysis_of_2nd_order_systems
Lecture 14 15-time_domain_analysis_of_2nd_order_systemsLecture 14 15-time_domain_analysis_of_2nd_order_systems
Lecture 14 15-time_domain_analysis_of_2nd_order_systemsSyed Ali Raza Rizvi
 
Proportional integral and derivative PID controller
Proportional integral and derivative PID controller Proportional integral and derivative PID controller
Proportional integral and derivative PID controller Mostafa Ragab
 
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ Simulink
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ SimulinkSimulation and Comparison of P, PI, PID Controllers on MATLAB/ Simulink
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ SimulinkHarshKumar649
 
Ppt on rs logix 5000
Ppt on rs logix 5000Ppt on rs logix 5000
Ppt on rs logix 5000Anil Maurya
 
PID Controllers
PID Controllers PID Controllers
PID Controllers Hussain K
 
PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)Manoj Gowda K
 
digital control Chapter1 slide
digital control Chapter1 slidedigital control Chapter1 slide
digital control Chapter1 slideasyrafjpk
 
Chapter 01
Chapter 01Chapter 01
Chapter 01Tha Mike
 

What's hot (20)

Types of snubber circuits | Design of snubber for flyback converter | Simulat...
Types of snubber circuits | Design of snubber for flyback converter | Simulat...Types of snubber circuits | Design of snubber for flyback converter | Simulat...
Types of snubber circuits | Design of snubber for flyback converter | Simulat...
 
PID Tuning
PID TuningPID Tuning
PID Tuning
 
PID Controller
PID ControllerPID Controller
PID Controller
 
PID Controller and its design
PID Controller and its designPID Controller and its design
PID Controller and its design
 
PID Control Basics
PID Control BasicsPID Control Basics
PID Control Basics
 
PID Controller Tuning
PID Controller TuningPID Controller Tuning
PID Controller Tuning
 
PID Controllers
PID ControllersPID Controllers
PID Controllers
 
PID controller
PID controllerPID controller
PID controller
 
BLDC control using PID & FUZZY logic controller-CSD PPT
BLDC control using PID & FUZZY logic controller-CSD PPTBLDC control using PID & FUZZY logic controller-CSD PPT
BLDC control using PID & FUZZY logic controller-CSD PPT
 
Lecture 14 15-time_domain_analysis_of_2nd_order_systems
Lecture 14 15-time_domain_analysis_of_2nd_order_systemsLecture 14 15-time_domain_analysis_of_2nd_order_systems
Lecture 14 15-time_domain_analysis_of_2nd_order_systems
 
Proportional integral and derivative PID controller
Proportional integral and derivative PID controller Proportional integral and derivative PID controller
Proportional integral and derivative PID controller
 
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ Simulink
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ SimulinkSimulation and Comparison of P, PI, PID Controllers on MATLAB/ Simulink
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ Simulink
 
Ppt on rs logix 5000
Ppt on rs logix 5000Ppt on rs logix 5000
Ppt on rs logix 5000
 
PID Controllers
PID Controllers PID Controllers
PID Controllers
 
Economic Dispatch
Economic DispatchEconomic Dispatch
Economic Dispatch
 
Pid controller
Pid controllerPid controller
Pid controller
 
PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)
 
08 pid.controller
08 pid.controller08 pid.controller
08 pid.controller
 
digital control Chapter1 slide
digital control Chapter1 slidedigital control Chapter1 slide
digital control Chapter1 slide
 
Chapter 01
Chapter 01Chapter 01
Chapter 01
 

Viewers also liked

Speed control of dc motor by fuzzy controller
Speed control of dc motor by fuzzy controllerSpeed control of dc motor by fuzzy controller
Speed control of dc motor by fuzzy controllerMurugappa Group
 
Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicAshique Rasool
 
Proportional-Derivative-Integral (PID) Control
Proportional-Derivative-Integral (PID) ControlProportional-Derivative-Integral (PID) Control
Proportional-Derivative-Integral (PID) Controlguest9006ab
 
Controller ppt
Controller pptController ppt
Controller pptgourav0077
 
Design of fuzzzy pid controller for bldc motor
Design of fuzzzy pid controller for bldc motorDesign of fuzzzy pid controller for bldc motor
Design of fuzzzy pid controller for bldc motorMishal Hussain
 
Application of fuzzy logic
Application of fuzzy logicApplication of fuzzy logic
Application of fuzzy logicViraj Patel
 
Thompson tchobanian ni_li)
Thompson tchobanian ni_li)Thompson tchobanian ni_li)
Thompson tchobanian ni_li)trtrungviet
 
PID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB ApproachPID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB ApproachWaleed El-Badry
 
Pneumatic controllers
Pneumatic controllersPneumatic controllers
Pneumatic controllersbestinkallely
 
Control Systems Design- PID Tuning
Control Systems Design- PID TuningControl Systems Design- PID Tuning
Control Systems Design- PID Tuningparulo123
 
Understanding Melt Curves for Improved SYBR® Green Assay Analysis and Trouble...
Understanding Melt Curves for Improved SYBR® Green Assay Analysis and Trouble...Understanding Melt Curves for Improved SYBR® Green Assay Analysis and Trouble...
Understanding Melt Curves for Improved SYBR® Green Assay Analysis and Trouble...Integrated DNA Technologies
 
Switchyard design overview
Switchyard design overviewSwitchyard design overview
Switchyard design overviewMilind Punj
 
Database administration and security
Database administration and securityDatabase administration and security
Database administration and securityMohd Arif
 

Viewers also liked (20)

Speed control of dc motor by fuzzy controller
Speed control of dc motor by fuzzy controllerSpeed control of dc motor by fuzzy controller
Speed control of dc motor by fuzzy controller
 
Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy Logic
 
Proportional-Derivative-Integral (PID) Control
Proportional-Derivative-Integral (PID) ControlProportional-Derivative-Integral (PID) Control
Proportional-Derivative-Integral (PID) Control
 
Fuzzy logic ppt
Fuzzy logic pptFuzzy logic ppt
Fuzzy logic ppt
 
Controller ppt
Controller pptController ppt
Controller ppt
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
p i d controller
p i d controllerp i d controller
p i d controller
 
Design of fuzzzy pid controller for bldc motor
Design of fuzzzy pid controller for bldc motorDesign of fuzzzy pid controller for bldc motor
Design of fuzzzy pid controller for bldc motor
 
PID Control
PID ControlPID Control
PID Control
 
Application of fuzzy logic
Application of fuzzy logicApplication of fuzzy logic
Application of fuzzy logic
 
Thompson tchobanian ni_li)
Thompson tchobanian ni_li)Thompson tchobanian ni_li)
Thompson tchobanian ni_li)
 
PID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB ApproachPID Tuning using Ziegler Nicholas - MATLAB Approach
PID Tuning using Ziegler Nicholas - MATLAB Approach
 
Pneumatic controllers
Pneumatic controllersPneumatic controllers
Pneumatic controllers
 
Smart transmitter
Smart transmitterSmart transmitter
Smart transmitter
 
PLC Basic
PLC BasicPLC Basic
PLC Basic
 
Control Systems Design- PID Tuning
Control Systems Design- PID TuningControl Systems Design- PID Tuning
Control Systems Design- PID Tuning
 
Understanding Melt Curves for Improved SYBR® Green Assay Analysis and Trouble...
Understanding Melt Curves for Improved SYBR® Green Assay Analysis and Trouble...Understanding Melt Curves for Improved SYBR® Green Assay Analysis and Trouble...
Understanding Melt Curves for Improved SYBR® Green Assay Analysis and Trouble...
 
Switchyard design overview
Switchyard design overviewSwitchyard design overview
Switchyard design overview
 
Database administration and security
Database administration and securityDatabase administration and security
Database administration and security
 
Cellular Narrow Band IoT- using LTE
Cellular Narrow Band IoT- using LTE Cellular Narrow Band IoT- using LTE
Cellular Narrow Band IoT- using LTE
 

Similar to Pid controller tuning using fuzzy logic

PID gain scheduling using fuzzy logic
PID gain scheduling using fuzzy logicPID gain scheduling using fuzzy logic
PID gain scheduling using fuzzy logicISA Interchange
 
PID gain scheduling using fuzzy logic
PID gain scheduling using fuzzy logicPID gain scheduling using fuzzy logic
PID gain scheduling using fuzzy logicISA Interchange
 
Screenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdfScreenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdfmuhammadsubhan626458
 
Pid controller by Mitesh Kumar
Pid controller by Mitesh KumarPid controller by Mitesh Kumar
Pid controller by Mitesh KumarMitesh Kumar
 
Servo Fundamentals
Servo FundamentalsServo Fundamentals
Servo Fundamentalspurnima saha
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singhAdarsh Singh
 
Speed control of dc motor using fuzzy pid controller-mid term progress report
Speed control of dc motor using fuzzy pid controller-mid term progress reportSpeed control of dc motor using fuzzy pid controller-mid term progress report
Speed control of dc motor using fuzzy pid controller-mid term progress reportBinod kafle
 
Performance based Comparison between Various Z-N Tuninng PID and Fuzzy Logic ...
Performance based Comparison between Various Z-N Tuninng PID and Fuzzy Logic ...Performance based Comparison between Various Z-N Tuninng PID and Fuzzy Logic ...
Performance based Comparison between Various Z-N Tuninng PID and Fuzzy Logic ...ijsc
 
Performance Based Comparison Between Various Z-N Tuninng PID And Fuzzy Logic ...
Performance Based Comparison Between Various Z-N Tuninng PID And Fuzzy Logic ...Performance Based Comparison Between Various Z-N Tuninng PID And Fuzzy Logic ...
Performance Based Comparison Between Various Z-N Tuninng PID And Fuzzy Logic ...ijsc
 
A fuzzy model based adaptive pid controller design for nonlinear and uncertai...
A fuzzy model based adaptive pid controller design for nonlinear and uncertai...A fuzzy model based adaptive pid controller design for nonlinear and uncertai...
A fuzzy model based adaptive pid controller design for nonlinear and uncertai...ISA Interchange
 
Iaetsd design of fuzzy self-tuned load frequency controller for power system
Iaetsd design of fuzzy self-tuned load frequency controller for power systemIaetsd design of fuzzy self-tuned load frequency controller for power system
Iaetsd design of fuzzy self-tuned load frequency controller for power systemIaetsd Iaetsd
 
Pid logix wp008--en-p
Pid logix wp008--en-pPid logix wp008--en-p
Pid logix wp008--en-pbenditasea
 

Similar to Pid controller tuning using fuzzy logic (20)

PID gain scheduling using fuzzy logic
PID gain scheduling using fuzzy logicPID gain scheduling using fuzzy logic
PID gain scheduling using fuzzy logic
 
PID gain scheduling using fuzzy logic
PID gain scheduling using fuzzy logicPID gain scheduling using fuzzy logic
PID gain scheduling using fuzzy logic
 
Screenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdfScreenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdf
 
PIDtutorial.pdf
PIDtutorial.pdfPIDtutorial.pdf
PIDtutorial.pdf
 
pid controller
 pid controller pid controller
pid controller
 
Pid controller by Mitesh Kumar
Pid controller by Mitesh KumarPid controller by Mitesh Kumar
Pid controller by Mitesh Kumar
 
D04954148
D04954148D04954148
D04954148
 
4470838.ppt
4470838.ppt4470838.ppt
4470838.ppt
 
1578385.ppt
1578385.ppt1578385.ppt
1578385.ppt
 
call for papers, research paper publishing, where to publish research paper, ...
call for papers, research paper publishing, where to publish research paper, ...call for papers, research paper publishing, where to publish research paper, ...
call for papers, research paper publishing, where to publish research paper, ...
 
Servo Fundamentals
Servo FundamentalsServo Fundamentals
Servo Fundamentals
 
Pid control by Adarsh singh
Pid control  by Adarsh singhPid control  by Adarsh singh
Pid control by Adarsh singh
 
5_2018_12_17!10_45_47_AM.ppt
5_2018_12_17!10_45_47_AM.ppt5_2018_12_17!10_45_47_AM.ppt
5_2018_12_17!10_45_47_AM.ppt
 
Speed control of dc motor using fuzzy pid controller-mid term progress report
Speed control of dc motor using fuzzy pid controller-mid term progress reportSpeed control of dc motor using fuzzy pid controller-mid term progress report
Speed control of dc motor using fuzzy pid controller-mid term progress report
 
Performance based Comparison between Various Z-N Tuninng PID and Fuzzy Logic ...
Performance based Comparison between Various Z-N Tuninng PID and Fuzzy Logic ...Performance based Comparison between Various Z-N Tuninng PID and Fuzzy Logic ...
Performance based Comparison between Various Z-N Tuninng PID and Fuzzy Logic ...
 
Performance Based Comparison Between Various Z-N Tuninng PID And Fuzzy Logic ...
Performance Based Comparison Between Various Z-N Tuninng PID And Fuzzy Logic ...Performance Based Comparison Between Various Z-N Tuninng PID And Fuzzy Logic ...
Performance Based Comparison Between Various Z-N Tuninng PID And Fuzzy Logic ...
 
A fuzzy model based adaptive pid controller design for nonlinear and uncertai...
A fuzzy model based adaptive pid controller design for nonlinear and uncertai...A fuzzy model based adaptive pid controller design for nonlinear and uncertai...
A fuzzy model based adaptive pid controller design for nonlinear and uncertai...
 
Iaetsd design of fuzzy self-tuned load frequency controller for power system
Iaetsd design of fuzzy self-tuned load frequency controller for power systemIaetsd design of fuzzy self-tuned load frequency controller for power system
Iaetsd design of fuzzy self-tuned load frequency controller for power system
 
PID Control
PID ControlPID Control
PID Control
 
Pid logix wp008--en-p
Pid logix wp008--en-pPid logix wp008--en-p
Pid logix wp008--en-p
 

Recently uploaded

Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 

Recently uploaded (20)

Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 

Pid controller tuning using fuzzy logic

  • 1. TUNING OF PID CONTROLLER WITH FUZZY LOGIC
  • 2. CONTENTS 2 Serial No. Topic Slide No. 1 Introduction 3 2 Fuzzy Logic 4 3 Example 5 4 PID Controller 6 5 Designing of PID Controller 7 6 Necessity of Tuning 8 7 ZEIGLER NICHOLS Method 9 8 Inferences from ZN 10 method of tuning 9 PID tuning using fuzzy set- 11 point weighting 10 Block diagram for PID 13 tuning 11 Conclusion 15 12 References 16
  • 3. INTRODUCTION 3 ->PID controllers constitute an important part at industrial control systems so any improvement in PID design and implementation methodology has a serious potential to be used at industrial engineering applications. ->The PID controllers which were invented in the 1900s are still used in more than 95% of industrial control loops . -> They have survived many changes in technology from mechanics and Pneumatics to microprocessors via electronic tubes , transistors and integrated circuits . -> Present day PID controllers are made by using microprocessors/microcontrollers and using Programmable logic control technology.
  • 4. Fuzzy Logic 4 -> Fuzzy logic is an approach to computing based on ‘degrees of truth’ rather than the usual ‘true or false’(1 or 0) Boolean logic on which the modern computer is based. -> Boolean logic is a subset of fuzzy logic. -> the FL is based on the implementation of human understanding and human thinking in control algorithms. -> Fuzzy logic has been applied to many fields, from control theory to artificial intelligence. -> As the complexity of a system increases, it becomes more difficult and eventually impossible to make a precise statement about its behaviour, eventually arriving at a point of complexity where the fuzzy logic method is the only way to get at the problem.
  • 5. EXAMPLE 5 Given a number between 0 and 10 that represents the quality of service at a restaurant (where 10 is excellent), what should the tip be? The Non-fuzzy Approach The fuzzy Approach Suppose that the tip always equals 15% of This takes into account the quality of the service. the total bill. Because service is rated on a scale of 0 to 10, let tip=0.15 the tip go linearly from 5% if the service is bad to 25% if the service is excellent. tip=0.20/10*service+0.05
  • 6. PID CONTROLLER 6  A proportional-integrating-derivative controller is a generic control loop feedback mechanism widely used in industrial control systems.  A PID controller calculates an "error" value as the difference between a measured process variable and a desired set- point.  The controller attempts to minimize the error by adjusting the process control inputs.  ALGORITHM p – depends on present error I - depends on accumulation of past errors D - is a prediction of future errors
  • 7. DESIGNING OF PID CONTROLLER 7  An open-loop response is taken and the parameters to be improved are listed . Constants Rise time Overshoot Settling Time ess Kp ↑ Decrease Increase Small change Decrease Ki ↑ Decrease Increase Increase Eliminate Kd ↑ Small Change Decrease Decrease Small Change  Values of Kp, Ki, and Kd are adjusted until we obtain the optimum response .
  • 8. NECESSITY OF TUNING 8 Tuning is the process of finding appropriate parameters for the PID controller . Tuning determines the overall performance of control loop which affects quality of product , cost etc . A pid control system needs tuning if – a) Careful consideration was not given to the units of gains and other parameters. b) The process dynamics were not well-understood when the gains were first set, or the dynamics have (for any reason) changed. c) Some characteristics of the control system are direction-dependent (e.g. actuator piston area, heat-up/cool-down of powerful heaters).
  • 9. ZEIGLER NICHOLS METHOD 9 This method proposed by Ziegler and Nichols is based on experimentally determining the point of marginal stability. Formula – u(t)= Kp [e(t)+Td de(t)/dt+1/Ti ∫e(t)dt] Procedure – 1- The pid controller is turned into p controller by setting Ti=infinity and Td=0. 2 – The gain Kp is set to zero. 3 – The control loop is closed by setting the controller in automatic mode. 4 - Kp was increased until there are sustained oscillations in the signals in the control system.
  • 10. Inferences from ZN method of tuning 10 1 – Ensures good load disturbance attenuation. 2 – The algorithm and application is quite simple . 3– System maybe driven towards instability. 4– poor phase margin, hence large overshoot and settling time for step response . 5 – We don’t know in advance the amplitude of sustained oscillations. 6- Does not work if operating point is unstable. 7 - Poor performance for processes with a dominant delay. 8 - Closed loop very sensitive to parameter variations.
  • 11. PID tuning using fuzzy set-point weighting11 Formula - u(t)= Kp [e(t)+Td de(t)/dt+1/Ti ∫e(t)dt] ->Set-point for the proportional action is weighted by means of a constant b <1 . so we get u(t)= Kpep(t)+Kdde(t)/dt+Ki∫e(t)dt where ep(t)=bysp(t)—y(t) -> In this way, a simple two-degree of freedom scheme is implemented . -> one part of the controller is devoted to the attenuation of load disturbances, and the other to the set-point following as shown in figure, where the following transfer functions are indicated: Gff = Kp [b+1/(sTi)+Td] Gc = Kp[1+1/(sTi)+Td]
  • 12. 12  However, the use of set-point weighting Ysp generally leads to an increase in the rise Gff time since the effectiveness of the proportional action is somewhat reduced.  This significant drawback can be avoided by using a fuzzy inference system to Y determine the value of the weight b(t) Gc PROCESS depending on the current value of the system error e(t) and its time derivative è(t). -1  the output f(t) of the fuzzy module is added to a constant parameter w, resulting in a coefficient b(t) that multiplies the set-point. Two degrees of freedom implementation
  • 13. 13 Block diagram for PID Tuning
  • 14. START Fine-tune the fuzzy-logic No Is the 14 controller by slightly varying desired the parameters performance Calculate Kp, Ti, Td according to and/or modifying the obtained? the Ziegler Nichols method rules suitably Yes Simulate the models and Obtain suitable of fixed set point compare the values of Ziegler b for minimising IAE . Nichols fixed b and fuzzy b. Select error and change in error as the input variables to the fuzzy inference END system. The same procedure is repeated for The value of the constant parameter w three, five and seven membership and scaling coefficients Kin2 and Kout, functions for input variables . The are obtained by an iterative procedure conventional, fixed weight and fuzzy- for obtaining minimum IAE . set-point weighted tuning procedures are compared.
  • 15. CONCLUSION 15  The results have clearly emphasized the advantages of fuzzy inference systems .  The main benefits in the use of FL appear when process non-linearities such as saturation are significant.  a balance is obtained between both rise time and overshoot in the response i.e lesser overshoot and smaller rise time are obtained simultaneously by using FL which is impossible using conventional methodologies .  The ease of tuning of fuzzy mechanism parameters plays a key role in the practical applicability of the methodologies, since it determines the improvement in the cost per benefit ratio with respect to standard methods.
  • 16. References 16 1 - Gaddam Mallesham Akula Rajani ,“automatic tuning of pid controller using fuzzy logic” 8th international conference on development and application system ; Suceava,Romania, May 25-27 , 2006. 2 - A Visioli of Diupartimento di Elettronica per l’Automazione,Brescia University , “tuning of pid controllers with fuzzy logic” proceedings of ieee, Volume 148, issue-1, Pages:1-8 , jan 2001 3 - L.J.Nagrath and M.Gopal , “Control System engineering” , New age internatrional publication , 4th edition , 2006.