SlideShare a Scribd company logo
INTRODUCTION TO FUZZY 
CONTROLLERS-PART 1
Flnn
Flnn
Flnn
Flnn
• There are several ways to define the result of a rule, but one of the most 
common and simplest is the "max-min" inference method, in which the 
output membership function is given the truth value generated by the 
premise. 
• Rules can be solved in parallel in hardware, or sequentially in software. 
The results of all the rules that have fired are "defuzzified" to a crisp value 
by one of several methods. There are dozens, in theory, each with various 
advantages or drawbacks. 
• The "centroid" method is very popular, in which the "center of mass" of 
the result provides the crisp value. Another approach is the "height" 
method, which takes the value of the biggest contributor. 
•The centroid method favors the rule with the output of greatest area, 
while the height method obviously favors the rule with the greatest output 
value.
The diagram below demonstrates max-min inferencing and centroid 
defuzzification for a system with input variables "x", "y", and "z" and an 
output variable "n". Note that "mu" is standard fuzzy-logic nomenclature for 
"truth value":
Fuzzy control system design is based on empirical methods, basically a 
methodical approach to trial-and-error. The general process is as follows: 
1. Document the system's operational specifications and inputs and 
outputs. 
2. Document the fuzzy sets for the inputs. 
3. Document the rule set. 
4. Determine the defuzzification method. 
5. Run through test suite to validate system, adjust details as required. 
6. Complete document and release to production.
As a general example, consider the design of a fuzzy controller for a steam 
turbine. The block diagram of this control system appears as follows: 
The input and output variables map into the following fuzzy set:
where: 
N3: Large negative. N2: Medium negative. N1: Small negative. Z: Zero. P1: Small 
positive. P2: Medium positive. P3: Large positive. 
The rule set includes such rules as: 
rule 1: IF temperature IS cool AND pressure IS weak, THEN throttle is P3. 
rule 2: IF temperature IS cool AND pressure IS low, THEN throttle is P2. 
rule 3: IF temperature IS cool AND pressure IS ok, THEN throttle is Z. 
rule 4: IF temperature IS cool AND pressure IS strong, THEN throttle is N2.
Flnn
Methods1 for defuzzifying fuzzy output functions 
1. Max membership principle: (Also known as the height method)where z∗is 
the defuzzified value
Methods2 for defuzzifying fuzzy output functions 
2. Centroid method: (also called center of area, center of gravity)
Method 3 for defuzzifying fuzzy output functions 
Weighted average method: (it is usually restricted to symmetrical output 
membership functions.) 
Z is the centroid of each symmetric membership function
Weighted average method 
As an example,
Method 4 for defuzzifying fuzzy output functions 
Mean max membership: (also called middle-of-maxima) 
the maximum membership can be a plateau rather than a single point).
Flnn
Flnn
Flnn
Z ^is the centroid of each symmetric 
membership function.
According to the mean max membership method, Eq. (4.7), z∗is given by 
(6 + 7)/2 = 6.5 meters.
Flnn
Flnn
FUZZY BASED TEMPERATURE CONTROL 
There are 5 steps in implementing the Fuzzy Logic. 
They are : 
• Defining inputs and outputs. 
• Fuzzification of input. 
• Fuzzification of output. 
• Create Fuzzy rule base. 
• Defuzzification of output.
Defining Inputs and Outputs For Fuzzy Logic Control 
This step involves the declaration of the range of inputs and outputs. This 
process of 
declaring is called Universe of Discourse.
Flnn
Flnn
Flnn
Flnn
Flnn

More Related Content

PPTX
Iv defuzzification methods
PPTX
Precision and accuracy, science, lab report, terminology
PPTX
Function overloading
PDF
Poster_Modeling_of_Optical_Scattering_in_Advanced_LIGO
PDF
Discrete MRF Inference of Marginal Densities for Non-uniformly Discretized Va...
PDF
A0420105
PPTX
Interference light physics
Iv defuzzification methods
Precision and accuracy, science, lab report, terminology
Function overloading
Poster_Modeling_of_Optical_Scattering_in_Advanced_LIGO
Discrete MRF Inference of Marginal Densities for Non-uniformly Discretized Va...
A0420105
Interference light physics

Similar to Flnn (20)

PPTX
Copy of Other uncertain techniques.pptx.
DOCX
IC_FinalReport_WorkSoFarv4
PPT
P1121133705
PDF
Automated Tuning and Controller Design for DC-DC Boost Converter
PPT
Speedcontrolofdcmotorbyfuzzycontroller 120320013939-phpapp01
PPTX
Speed control of dc motor by fuzzy controller
PPT
Ch03 fls
PPTX
Fuzzy Logic Seminar with Implementation
PPTX
08 neural networks
PDF
A Self-Tuned Simulated Annealing Algorithm using Hidden Markov Mode
PDF
109 me0422
PPTX
STQA Lecture Slides 09.pptxjjjjjjjjjjjjj
PPT
L20.ppt
PDF
Design and Analysis of a Control System Using Root Locus and Frequency Respon...
PPTX
Daa unit 1
PPTX
Fuzzy_Membership_Functions_Presentation.pptx
PDF
Fuzzy logic systems
PDF
Estimation of Air-Cooling Devices Run Time Via Fuzzy Logic and Adaptive Neuro...
PPT
Fuzzylogic
Copy of Other uncertain techniques.pptx.
IC_FinalReport_WorkSoFarv4
P1121133705
Automated Tuning and Controller Design for DC-DC Boost Converter
Speedcontrolofdcmotorbyfuzzycontroller 120320013939-phpapp01
Speed control of dc motor by fuzzy controller
Ch03 fls
Fuzzy Logic Seminar with Implementation
08 neural networks
A Self-Tuned Simulated Annealing Algorithm using Hidden Markov Mode
109 me0422
STQA Lecture Slides 09.pptxjjjjjjjjjjjjj
L20.ppt
Design and Analysis of a Control System Using Root Locus and Frequency Respon...
Daa unit 1
Fuzzy_Membership_Functions_Presentation.pptx
Fuzzy logic systems
Estimation of Air-Cooling Devices Run Time Via Fuzzy Logic and Adaptive Neuro...
Fuzzylogic
Ad

Recently uploaded (20)

PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
DOCX
573137875-Attendance-Management-System-original
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Well-logging-methods_new................
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PPTX
Artificial Intelligence
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Geodesy 1.pptx...............................................
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
573137875-Attendance-Management-System-original
Internet of Things (IOT) - A guide to understanding
Well-logging-methods_new................
Fundamentals of safety and accident prevention -final (1).pptx
Artificial Intelligence
Embodied AI: Ushering in the Next Era of Intelligent Systems
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Geodesy 1.pptx...............................................
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Safety Seminar civil to be ensured for safe working.
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Ad

Flnn

  • 1. INTRODUCTION TO FUZZY CONTROLLERS-PART 1
  • 6. • There are several ways to define the result of a rule, but one of the most common and simplest is the "max-min" inference method, in which the output membership function is given the truth value generated by the premise. • Rules can be solved in parallel in hardware, or sequentially in software. The results of all the rules that have fired are "defuzzified" to a crisp value by one of several methods. There are dozens, in theory, each with various advantages or drawbacks. • The "centroid" method is very popular, in which the "center of mass" of the result provides the crisp value. Another approach is the "height" method, which takes the value of the biggest contributor. •The centroid method favors the rule with the output of greatest area, while the height method obviously favors the rule with the greatest output value.
  • 7. The diagram below demonstrates max-min inferencing and centroid defuzzification for a system with input variables "x", "y", and "z" and an output variable "n". Note that "mu" is standard fuzzy-logic nomenclature for "truth value":
  • 8. Fuzzy control system design is based on empirical methods, basically a methodical approach to trial-and-error. The general process is as follows: 1. Document the system's operational specifications and inputs and outputs. 2. Document the fuzzy sets for the inputs. 3. Document the rule set. 4. Determine the defuzzification method. 5. Run through test suite to validate system, adjust details as required. 6. Complete document and release to production.
  • 9. As a general example, consider the design of a fuzzy controller for a steam turbine. The block diagram of this control system appears as follows: The input and output variables map into the following fuzzy set:
  • 10. where: N3: Large negative. N2: Medium negative. N1: Small negative. Z: Zero. P1: Small positive. P2: Medium positive. P3: Large positive. The rule set includes such rules as: rule 1: IF temperature IS cool AND pressure IS weak, THEN throttle is P3. rule 2: IF temperature IS cool AND pressure IS low, THEN throttle is P2. rule 3: IF temperature IS cool AND pressure IS ok, THEN throttle is Z. rule 4: IF temperature IS cool AND pressure IS strong, THEN throttle is N2.
  • 12. Methods1 for defuzzifying fuzzy output functions 1. Max membership principle: (Also known as the height method)where z∗is the defuzzified value
  • 13. Methods2 for defuzzifying fuzzy output functions 2. Centroid method: (also called center of area, center of gravity)
  • 14. Method 3 for defuzzifying fuzzy output functions Weighted average method: (it is usually restricted to symmetrical output membership functions.) Z is the centroid of each symmetric membership function
  • 15. Weighted average method As an example,
  • 16. Method 4 for defuzzifying fuzzy output functions Mean max membership: (also called middle-of-maxima) the maximum membership can be a plateau rather than a single point).
  • 20. Z ^is the centroid of each symmetric membership function.
  • 21. According to the mean max membership method, Eq. (4.7), z∗is given by (6 + 7)/2 = 6.5 meters.
  • 24. FUZZY BASED TEMPERATURE CONTROL There are 5 steps in implementing the Fuzzy Logic. They are : • Defining inputs and outputs. • Fuzzification of input. • Fuzzification of output. • Create Fuzzy rule base. • Defuzzification of output.
  • 25. Defining Inputs and Outputs For Fuzzy Logic Control This step involves the declaration of the range of inputs and outputs. This process of declaring is called Universe of Discourse.