SlideShare a Scribd company logo
Introduction to Fuzzy
Logic Control
Overview
 Outline to the left in green
 Current topic in yellow
 References
 Introduction
 Crisp Variables
 Fuzzy Variables
 Fuzzy Logic Operators
 Fuzzy Control
 Case Study
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
References
 L. Zadah, “Fuzzy sets as a basis of possibility” Fuzzy Sets Systems, Vol. 1, pp3-
28, 1978.
 T. J. Ross, “Fuzzy Logic with Engineering Applications”, McGraw-Hill, 1995.
 K. M. Passino, S. Yurkovich, "Fuzzy Control" Addison Wesley, 1998.
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Introduction
 Fuzzy logic:
 A way to represent variation or imprecision in logic
 A way to make use of natural language in logic
 Approximate reasoning
 Humans say things like "If it is sunny and warm today, I will
drive fast"
 Linguistic variables:
 Temp: {freezing, cool, warm, hot}
 Cloud Cover: {overcast, partly cloudy, sunny}
 Speed: {slow, fast}
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Crisp (Traditional) Variables
 Crisp variables represent precise
quantities:
 x = 3.1415296
 A ∈{0,1}
 A proposition is either True or False
 A ∧ B ⇒ C
 King(Richard) ∧ Greedy(Richard)
⇒ Evil(Richard)
 Richard is either greedy or he isn't:
 Greedy(Richard) ∈{0,1}
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Fuzzy Sets
 What if Richard is only
somewhat greedy?
 Fuzzy Sets can represent the degree to which a quality
is possessed.
 Fuzzy Sets (Simple Fuzzy Variables) have values in the
range of [0,1]
 Greedy(Richard) = 0.7
 Question: How evil is Richard?
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Fuzzy Linguistic Variables
 Fuzzy Linguistic Variables are used
to represent qualities spanning a
particular spectrum
 Temp: {Freezing, Cool, Warm, Hot}
 Membership Function
 Question: What is the
temperature?
 Answer: It is warm.
 Question: How warm is it?
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Membership Functions
 Temp: {Freezing, Cool, Warm, Hot}
 Degree of Truth or "Membership"
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Membership Functions
 How cool is 36 F° ?
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Membership Functions
 How cool is 36 F° ?
 It is 30% Cool and 70% Freezing
0.7
0.3
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Fuzzy Logic
 How do we use fuzzy membership functions in predicate logic?
 Fuzzy logic Connectives:
 Fuzzy Conjunction, ∧
 Fuzzy Disjunction, ∨
 Operate on degrees of membership in fuzzy sets
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Fuzzy Disjunction
 A∨B max(A, B)
 A∨B = C "Quality C is the disjunction of Quality A and
B"
• (A∨B = C) ⇒ (C = 0.75)
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Fuzzy Conjunction
 A∧B min(A, B)
 A∧B = C "Quality C is the conjunction of Quality A
and B"
• (A∧B = C) ⇒ (C = 0.375)
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Example: Fuzzy Conjunction
Calculate A∧B given that A is .4 and B is 20• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Example: Fuzzy Conjunction
Calculate A∧B given that A is .4 and B is 20
• Determine degrees of membership:
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Example: Fuzzy Conjunction
Calculate A∧B given that A is .4 and B is 20
• Determine degrees of membership:
• A = 0.7
0.7
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Example: Fuzzy Conjunction
Calculate A∧B given that A is .4 and B is 20
• Determine degrees of membership:
• A = 0.7 B = 0.9
0.7
0.9
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Example: Fuzzy Conjunction
Calculate A∧B given that A is .4 and B is 20
• Determine degrees of membership:
• A = 0.7 B = 0.9
• Apply Fuzzy AND
• A∧B = min(A, B) = 0.7
0.7
0.9
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Fuzzy Control
 Fuzzy Control combines the use of fuzzy linguistic variables with fuzzy logic
 Example: Speed Control
 How fast am I going to drive today?
 It depends on the weather.
 Disjunction of Conjunctions
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Inputs: Temperature
 Temp: {Freezing, Cool, Warm, Hot}
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Inputs: Temperature, Cloud Cover
 Temp: {Freezing, Cool, Warm, Hot}
 Cover: {Sunny, Partly, Overcast}
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Output: Speed
 Speed: {Slow, Fast}
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Rules
 If it's Sunny and Warm, drive Fast
Sunny(Cover)∧Warm(Temp)⇒ Fast(Speed)
 If it's Cloudy and Cool, drive Slow
Cloudy(Cover)∧Cool(Temp)⇒ Slow(Speed)
 Driving Speed is the combination of output of these rules...
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Example Speed Calculation
 How fast will I go if it is
 65 F°
 25 % Cloud Cover ?
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Fuzzification:
Calculate Input Membership Levels
 65 F° ⇒ Cool = 0.4, Warm= 0.7
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Fuzzification:
Calculate Input Membership Levels
 65 F° ⇒ Cool = 0.4, Warm= 0.7
 25% Cover ⇒Sunny = 0.8, Cloudy =
0.2
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
...Calculating...
 If it's Sunny and Warm, drive Fast
Sunny(Cover)∧Warm(Temp)⇒Fast(Speed)
0.8 ∧ 0.7 = 0.7
⇒ Fast = 0.7
 If it's Cloudy and Cool, drive Slow
Cloudy(Cover)∧Cool(Temp)⇒Slow(Speed)
0.2 ∧ 0.4 = 0.2
⇒ Slow = 0.2
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Defuzzification:
Constructing the Output
 Speed is 20% Slow and 70% Fast
 Find centroids: Location where membership is 100%
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Defuzzification:
Constructing the Output
 Speed is 20% Slow and 70% Fast
 Find centroids: Location where membership is 100%
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Defuzzification:
Constructing the Output
 Speed is 20% Slow and 70% Fast
 Speed = weighted mean
= (2*25+...
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Defuzzification:
Constructing the Output
 Speed is 20% Slow and 70% Fast
 Speed = weighted mean
= (2*25+7*75)/(9)
= 63.8 mph
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Notes: Follow-up Points
 Fuzzy Logic Control allows for the smooth interpolation between variable
centroids with relatively few rules
 This does not work with crisp (traditional Boolean) logic
 Provides a natural way to model some types of human expertise in a
computer program
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Notes: Drawbacks to Fuzzy logic
 Requires tuning of membership functions
 Fuzzy Logic control may not scale well to large or complex problems
 Deals with imprecision, and vagueness, but not uncertainty
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary
Summary
 Fuzzy Logic provides way to calculate with
imprecision and vagueness
 Fuzzy Logic can be used to represent some kinds of
human expertise
 Fuzzy Membership Sets
 Fuzzy Linguistic Variables
 Fuzzy AND and OR
 Fuzzy Control
• References
• Introduction
• Crisp Variables
• Fuzzy Sets
• Linguistic
Variables
• Membership
Functions
• Fuzzy Logic
• Fuzzy OR
• Fuzzy AND
• Example
• Fuzzy Control
• Variables
• Rules
• Fuzzification
• Defuzzification
• Summary

More Related Content

Viewers also liked

Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy Logic
Ashique Rasool
 
Fuzzy logic ppt
Fuzzy logic pptFuzzy logic ppt
Fuzzy logic ppt
Priya_Srivastava
 
Automated Parallel Parking Using Fuzzy Logic
Automated Parallel Parking Using Fuzzy LogicAutomated Parallel Parking Using Fuzzy Logic
Automated Parallel Parking Using Fuzzy Logicguest66dc5f
 
Fuzzy introduction
Fuzzy introductionFuzzy introduction
Fuzzy introductionVivek Kumar
 
Toronto Presentation - A Least Square Ratio (LSR) Approach to Fuzzy Linear Re...
Toronto Presentation - A Least Square Ratio (LSR) Approach to Fuzzy Linear Re...Toronto Presentation - A Least Square Ratio (LSR) Approach to Fuzzy Linear Re...
Toronto Presentation - A Least Square Ratio (LSR) Approach to Fuzzy Linear Re...Murat YAZICI, M.Sc.
 
Fuzzy arithmetic
Fuzzy arithmeticFuzzy arithmetic
Fuzzy arithmetic
Mohit Chimankar
 
Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...
Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...
Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...
Pooyan Jamshidi
 
Diagnosis of diabetes using fuzzy logic method
Diagnosis of diabetes using fuzzy logic methodDiagnosis of diabetes using fuzzy logic method
Diagnosis of diabetes using fuzzy logic method
Vineeth Kumar C G
 
Using Fuzzy Logic in Diagnosis of Tropical Malaria
Using Fuzzy Logic in Diagnosis of Tropical MalariaUsing Fuzzy Logic in Diagnosis of Tropical Malaria
Using Fuzzy Logic in Diagnosis of Tropical Malaria
Sekiziyivu Naggalama
 
Fuzzy logic &_inference_system
Fuzzy logic &_inference_systemFuzzy logic &_inference_system
Fuzzy logic &_inference_system
°ღ•ŚℋÚßℋÁℳ Пℐğáℳ
 
Satellite image classification and content base image retrieval using type-2 ...
Satellite image classification and content base image retrieval using type-2 ...Satellite image classification and content base image retrieval using type-2 ...
Satellite image classification and content base image retrieval using type-2 ...
Shirish Agale
 
Ece478 12es_final_report
Ece478 12es_final_reportEce478 12es_final_report
Ece478 12es_final_report
Thanh Sang Nguyen
 
Fuzzy Set | Statistics
Fuzzy Set | StatisticsFuzzy Set | Statistics
Fuzzy Set | Statistics
Transweb Global Inc
 
Intelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy LogicIntelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy LogicPraneel Chand
 
Fuzzy logic control in automated car system
Fuzzy logic control in automated car systemFuzzy logic control in automated car system
Fuzzy logic control in automated car system
Mrunal Selokar
 
Fuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication SystemsFuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication SystemsQueen's University
 
Fuzzy logic control of washing m achines
Fuzzy logic control of washing m achinesFuzzy logic control of washing m achines
Fuzzy logic control of washing m achines
pradnya patil
 
Fuzzy control and its applications
Fuzzy control and its applicationsFuzzy control and its applications
Fuzzy control and its applications
jeevithaelangovan
 
Fuzzy logic control system
Fuzzy logic control systemFuzzy logic control system
Fuzzy logic control system
Rajanikanta Pradhan
 
Fuzzy Set
Fuzzy SetFuzzy Set
Fuzzy Set
Ehsan Hamzei
 

Viewers also liked (20)

Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy Logic
 
Fuzzy logic ppt
Fuzzy logic pptFuzzy logic ppt
Fuzzy logic ppt
 
Automated Parallel Parking Using Fuzzy Logic
Automated Parallel Parking Using Fuzzy LogicAutomated Parallel Parking Using Fuzzy Logic
Automated Parallel Parking Using Fuzzy Logic
 
Fuzzy introduction
Fuzzy introductionFuzzy introduction
Fuzzy introduction
 
Toronto Presentation - A Least Square Ratio (LSR) Approach to Fuzzy Linear Re...
Toronto Presentation - A Least Square Ratio (LSR) Approach to Fuzzy Linear Re...Toronto Presentation - A Least Square Ratio (LSR) Approach to Fuzzy Linear Re...
Toronto Presentation - A Least Square Ratio (LSR) Approach to Fuzzy Linear Re...
 
Fuzzy arithmetic
Fuzzy arithmeticFuzzy arithmetic
Fuzzy arithmetic
 
Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...
Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...
Fuzzy Self-Learning Controllers for Elasticity Management in Dynamic Cloud Ar...
 
Diagnosis of diabetes using fuzzy logic method
Diagnosis of diabetes using fuzzy logic methodDiagnosis of diabetes using fuzzy logic method
Diagnosis of diabetes using fuzzy logic method
 
Using Fuzzy Logic in Diagnosis of Tropical Malaria
Using Fuzzy Logic in Diagnosis of Tropical MalariaUsing Fuzzy Logic in Diagnosis of Tropical Malaria
Using Fuzzy Logic in Diagnosis of Tropical Malaria
 
Fuzzy logic &_inference_system
Fuzzy logic &_inference_systemFuzzy logic &_inference_system
Fuzzy logic &_inference_system
 
Satellite image classification and content base image retrieval using type-2 ...
Satellite image classification and content base image retrieval using type-2 ...Satellite image classification and content base image retrieval using type-2 ...
Satellite image classification and content base image retrieval using type-2 ...
 
Ece478 12es_final_report
Ece478 12es_final_reportEce478 12es_final_report
Ece478 12es_final_report
 
Fuzzy Set | Statistics
Fuzzy Set | StatisticsFuzzy Set | Statistics
Fuzzy Set | Statistics
 
Intelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy LogicIntelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy Logic
 
Fuzzy logic control in automated car system
Fuzzy logic control in automated car systemFuzzy logic control in automated car system
Fuzzy logic control in automated car system
 
Fuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication SystemsFuzzy logic and Satellite communication Systems
Fuzzy logic and Satellite communication Systems
 
Fuzzy logic control of washing m achines
Fuzzy logic control of washing m achinesFuzzy logic control of washing m achines
Fuzzy logic control of washing m achines
 
Fuzzy control and its applications
Fuzzy control and its applicationsFuzzy control and its applications
Fuzzy control and its applications
 
Fuzzy logic control system
Fuzzy logic control systemFuzzy logic control system
Fuzzy logic control system
 
Fuzzy Set
Fuzzy SetFuzzy Set
Fuzzy Set
 

Similar to 6 weeks summer training in fuzzy logic,ludhiana

nelson-intro-fuzzy.ppt
nelson-intro-fuzzy.pptnelson-intro-fuzzy.ppt
nelson-intro-fuzzy.ppt
AtmacaDevrim
 
fuzzy-logic nit-Bharat.ppt
fuzzy-logic nit-Bharat.pptfuzzy-logic nit-Bharat.ppt
fuzzy-logic nit-Bharat.ppt
BharatSingh656710
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
Sanjay Santhakumar
 
R meetup lm
R meetup lmR meetup lm
R meetup lm
Nathan Day
 
Lec 5 uncertainty
Lec 5 uncertaintyLec 5 uncertainty
Lec 5 uncertainty
Eyob Sisay
 
Common issues, rules and principles
Common issues,  rules and principlesCommon issues,  rules and principles
Common issues, rules and principles
Mnats Karakhanyan
 
Institutional Research and Regression
Institutional Research and RegressionInstitutional Research and Regression
Institutional Research and RegressionColby Stoever
 

Similar to 6 weeks summer training in fuzzy logic,ludhiana (7)

nelson-intro-fuzzy.ppt
nelson-intro-fuzzy.pptnelson-intro-fuzzy.ppt
nelson-intro-fuzzy.ppt
 
fuzzy-logic nit-Bharat.ppt
fuzzy-logic nit-Bharat.pptfuzzy-logic nit-Bharat.ppt
fuzzy-logic nit-Bharat.ppt
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
R meetup lm
R meetup lmR meetup lm
R meetup lm
 
Lec 5 uncertainty
Lec 5 uncertaintyLec 5 uncertainty
Lec 5 uncertainty
 
Common issues, rules and principles
Common issues,  rules and principlesCommon issues,  rules and principles
Common issues, rules and principles
 
Institutional Research and Regression
Institutional Research and RegressionInstitutional Research and Regression
Institutional Research and Regression
 

More from deepikakaler1

Vlsi final year project in ludhiana
Vlsi final year project in ludhianaVlsi final year project in ludhiana
Vlsi final year project in ludhiana
deepikakaler1
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhiana
deepikakaler1
 
Opnet final year project in ludhiana
Opnet final year project in ludhianaOpnet final year project in ludhiana
Opnet final year project in ludhiana
deepikakaler1
 
Matlab final year project in ludhiana
Matlab final year project in ludhianaMatlab final year project in ludhiana
Matlab final year project in ludhiana
deepikakaler1
 
Labview phd project in ludhiana
Labview phd project in ludhianaLabview phd project in ludhiana
Labview phd project in ludhiana
deepikakaler1
 
image processing project course ludhiana
image processing project course ludhianaimage processing project course ludhiana
image processing project course ludhiana
deepikakaler1
 
Hfss final year project in ludhiana
Hfss final year project in ludhianaHfss final year project in ludhiana
Hfss final year project in ludhiana
deepikakaler1
 
Embedded final year project in ludhiana
Embedded final year project in ludhianaEmbedded final year project in ludhiana
Embedded final year project in ludhiana
deepikakaler1
 
Data mining final year project in ludhiana
Data mining final year project in ludhianaData mining final year project in ludhiana
Data mining final year project in ludhiana
deepikakaler1
 
Android mtech project in ludhiana
Android  mtech project in ludhianaAndroid  mtech project in ludhiana
Android mtech project in ludhiana
deepikakaler1
 
Artificial intelligence mtech project in ludhiana
Artificial intelligence mtech project in ludhiana Artificial intelligence mtech project in ludhiana
Artificial intelligence mtech project in ludhiana
deepikakaler1
 
.Net final year project in LUDHIANA
.Net final year project in LUDHIANA.Net final year project in LUDHIANA
.Net final year project in LUDHIANA
deepikakaler1
 
6 weeks/months summer training in vlsi,ludhiana
6 weeks/months summer training in vlsi,ludhiana6 weeks/months summer training in vlsi,ludhiana
6 weeks/months summer training in vlsi,ludhiana
deepikakaler1
 
6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana
deepikakaler1
 
6months industrial training in software testing, ludhiana
6months industrial training in software testing, ludhiana6months industrial training in software testing, ludhiana
6months industrial training in software testing, ludhiana
deepikakaler1
 
6 weeks summer training in labview,ludhiana
6 weeks summer training in labview,ludhiana6 weeks summer training in labview,ludhiana
6 weeks summer training in labview,ludhiana
deepikakaler1
 
6months industrial training in labview, ludhiana
6months industrial training in labview, ludhiana6months industrial training in labview, ludhiana
6months industrial training in labview, ludhiana
deepikakaler1
 
6 weeks summer training in hfss,ludhiana
6 weeks summer training in hfss,ludhiana6 weeks summer training in hfss,ludhiana
6 weeks summer training in hfss,ludhiana
deepikakaler1
 
6months industrial training in hfss, ludhiana
6months industrial training in hfss, ludhiana6months industrial training in hfss, ludhiana
6months industrial training in hfss, ludhiana
deepikakaler1
 
6months industrial training in fuzzy logic, ludhiana
6months industrial training in fuzzy logic, ludhiana6months industrial training in fuzzy logic, ludhiana
6months industrial training in fuzzy logic, ludhiana
deepikakaler1
 

More from deepikakaler1 (20)

Vlsi final year project in ludhiana
Vlsi final year project in ludhianaVlsi final year project in ludhiana
Vlsi final year project in ludhiana
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhiana
 
Opnet final year project in ludhiana
Opnet final year project in ludhianaOpnet final year project in ludhiana
Opnet final year project in ludhiana
 
Matlab final year project in ludhiana
Matlab final year project in ludhianaMatlab final year project in ludhiana
Matlab final year project in ludhiana
 
Labview phd project in ludhiana
Labview phd project in ludhianaLabview phd project in ludhiana
Labview phd project in ludhiana
 
image processing project course ludhiana
image processing project course ludhianaimage processing project course ludhiana
image processing project course ludhiana
 
Hfss final year project in ludhiana
Hfss final year project in ludhianaHfss final year project in ludhiana
Hfss final year project in ludhiana
 
Embedded final year project in ludhiana
Embedded final year project in ludhianaEmbedded final year project in ludhiana
Embedded final year project in ludhiana
 
Data mining final year project in ludhiana
Data mining final year project in ludhianaData mining final year project in ludhiana
Data mining final year project in ludhiana
 
Android mtech project in ludhiana
Android  mtech project in ludhianaAndroid  mtech project in ludhiana
Android mtech project in ludhiana
 
Artificial intelligence mtech project in ludhiana
Artificial intelligence mtech project in ludhiana Artificial intelligence mtech project in ludhiana
Artificial intelligence mtech project in ludhiana
 
.Net final year project in LUDHIANA
.Net final year project in LUDHIANA.Net final year project in LUDHIANA
.Net final year project in LUDHIANA
 
6 weeks/months summer training in vlsi,ludhiana
6 weeks/months summer training in vlsi,ludhiana6 weeks/months summer training in vlsi,ludhiana
6 weeks/months summer training in vlsi,ludhiana
 
6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana
 
6months industrial training in software testing, ludhiana
6months industrial training in software testing, ludhiana6months industrial training in software testing, ludhiana
6months industrial training in software testing, ludhiana
 
6 weeks summer training in labview,ludhiana
6 weeks summer training in labview,ludhiana6 weeks summer training in labview,ludhiana
6 weeks summer training in labview,ludhiana
 
6months industrial training in labview, ludhiana
6months industrial training in labview, ludhiana6months industrial training in labview, ludhiana
6months industrial training in labview, ludhiana
 
6 weeks summer training in hfss,ludhiana
6 weeks summer training in hfss,ludhiana6 weeks summer training in hfss,ludhiana
6 weeks summer training in hfss,ludhiana
 
6months industrial training in hfss, ludhiana
6months industrial training in hfss, ludhiana6months industrial training in hfss, ludhiana
6months industrial training in hfss, ludhiana
 
6months industrial training in fuzzy logic, ludhiana
6months industrial training in fuzzy logic, ludhiana6months industrial training in fuzzy logic, ludhiana
6months industrial training in fuzzy logic, ludhiana
 

Recently uploaded

Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 

Recently uploaded (20)

Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 

6 weeks summer training in fuzzy logic,ludhiana

  • 1.
  • 3. Overview  Outline to the left in green  Current topic in yellow  References  Introduction  Crisp Variables  Fuzzy Variables  Fuzzy Logic Operators  Fuzzy Control  Case Study • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 4. References  L. Zadah, “Fuzzy sets as a basis of possibility” Fuzzy Sets Systems, Vol. 1, pp3- 28, 1978.  T. J. Ross, “Fuzzy Logic with Engineering Applications”, McGraw-Hill, 1995.  K. M. Passino, S. Yurkovich, "Fuzzy Control" Addison Wesley, 1998. • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 5. Introduction  Fuzzy logic:  A way to represent variation or imprecision in logic  A way to make use of natural language in logic  Approximate reasoning  Humans say things like "If it is sunny and warm today, I will drive fast"  Linguistic variables:  Temp: {freezing, cool, warm, hot}  Cloud Cover: {overcast, partly cloudy, sunny}  Speed: {slow, fast} • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 6. Crisp (Traditional) Variables  Crisp variables represent precise quantities:  x = 3.1415296  A ∈{0,1}  A proposition is either True or False  A ∧ B ⇒ C  King(Richard) ∧ Greedy(Richard) ⇒ Evil(Richard)  Richard is either greedy or he isn't:  Greedy(Richard) ∈{0,1} • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 7. Fuzzy Sets  What if Richard is only somewhat greedy?  Fuzzy Sets can represent the degree to which a quality is possessed.  Fuzzy Sets (Simple Fuzzy Variables) have values in the range of [0,1]  Greedy(Richard) = 0.7  Question: How evil is Richard? • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 8. Fuzzy Linguistic Variables  Fuzzy Linguistic Variables are used to represent qualities spanning a particular spectrum  Temp: {Freezing, Cool, Warm, Hot}  Membership Function  Question: What is the temperature?  Answer: It is warm.  Question: How warm is it? • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 9. Membership Functions  Temp: {Freezing, Cool, Warm, Hot}  Degree of Truth or "Membership" • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 10. Membership Functions  How cool is 36 F° ? • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 11. Membership Functions  How cool is 36 F° ?  It is 30% Cool and 70% Freezing 0.7 0.3 • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 12. Fuzzy Logic  How do we use fuzzy membership functions in predicate logic?  Fuzzy logic Connectives:  Fuzzy Conjunction, ∧  Fuzzy Disjunction, ∨  Operate on degrees of membership in fuzzy sets • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 13. Fuzzy Disjunction  A∨B max(A, B)  A∨B = C "Quality C is the disjunction of Quality A and B" • (A∨B = C) ⇒ (C = 0.75) • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 14. Fuzzy Conjunction  A∧B min(A, B)  A∧B = C "Quality C is the conjunction of Quality A and B" • (A∧B = C) ⇒ (C = 0.375) • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 15. Example: Fuzzy Conjunction Calculate A∧B given that A is .4 and B is 20• References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 16. Example: Fuzzy Conjunction Calculate A∧B given that A is .4 and B is 20 • Determine degrees of membership: • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 17. Example: Fuzzy Conjunction Calculate A∧B given that A is .4 and B is 20 • Determine degrees of membership: • A = 0.7 0.7 • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 18. Example: Fuzzy Conjunction Calculate A∧B given that A is .4 and B is 20 • Determine degrees of membership: • A = 0.7 B = 0.9 0.7 0.9 • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 19. Example: Fuzzy Conjunction Calculate A∧B given that A is .4 and B is 20 • Determine degrees of membership: • A = 0.7 B = 0.9 • Apply Fuzzy AND • A∧B = min(A, B) = 0.7 0.7 0.9 • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 20. Fuzzy Control  Fuzzy Control combines the use of fuzzy linguistic variables with fuzzy logic  Example: Speed Control  How fast am I going to drive today?  It depends on the weather.  Disjunction of Conjunctions • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 21. Inputs: Temperature  Temp: {Freezing, Cool, Warm, Hot} • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 22. Inputs: Temperature, Cloud Cover  Temp: {Freezing, Cool, Warm, Hot}  Cover: {Sunny, Partly, Overcast} • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 23. Output: Speed  Speed: {Slow, Fast} • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 24. Rules  If it's Sunny and Warm, drive Fast Sunny(Cover)∧Warm(Temp)⇒ Fast(Speed)  If it's Cloudy and Cool, drive Slow Cloudy(Cover)∧Cool(Temp)⇒ Slow(Speed)  Driving Speed is the combination of output of these rules... • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 25. Example Speed Calculation  How fast will I go if it is  65 F°  25 % Cloud Cover ? • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 26. Fuzzification: Calculate Input Membership Levels  65 F° ⇒ Cool = 0.4, Warm= 0.7 • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 27. Fuzzification: Calculate Input Membership Levels  65 F° ⇒ Cool = 0.4, Warm= 0.7  25% Cover ⇒Sunny = 0.8, Cloudy = 0.2 • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 28. ...Calculating...  If it's Sunny and Warm, drive Fast Sunny(Cover)∧Warm(Temp)⇒Fast(Speed) 0.8 ∧ 0.7 = 0.7 ⇒ Fast = 0.7  If it's Cloudy and Cool, drive Slow Cloudy(Cover)∧Cool(Temp)⇒Slow(Speed) 0.2 ∧ 0.4 = 0.2 ⇒ Slow = 0.2 • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 29. Defuzzification: Constructing the Output  Speed is 20% Slow and 70% Fast  Find centroids: Location where membership is 100% • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 30. Defuzzification: Constructing the Output  Speed is 20% Slow and 70% Fast  Find centroids: Location where membership is 100% • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 31. Defuzzification: Constructing the Output  Speed is 20% Slow and 70% Fast  Speed = weighted mean = (2*25+... • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 32. Defuzzification: Constructing the Output  Speed is 20% Slow and 70% Fast  Speed = weighted mean = (2*25+7*75)/(9) = 63.8 mph • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 33. Notes: Follow-up Points  Fuzzy Logic Control allows for the smooth interpolation between variable centroids with relatively few rules  This does not work with crisp (traditional Boolean) logic  Provides a natural way to model some types of human expertise in a computer program • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 34. Notes: Drawbacks to Fuzzy logic  Requires tuning of membership functions  Fuzzy Logic control may not scale well to large or complex problems  Deals with imprecision, and vagueness, but not uncertainty • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary
  • 35. Summary  Fuzzy Logic provides way to calculate with imprecision and vagueness  Fuzzy Logic can be used to represent some kinds of human expertise  Fuzzy Membership Sets  Fuzzy Linguistic Variables  Fuzzy AND and OR  Fuzzy Control • References • Introduction • Crisp Variables • Fuzzy Sets • Linguistic Variables • Membership Functions • Fuzzy Logic • Fuzzy OR • Fuzzy AND • Example • Fuzzy Control • Variables • Rules • Fuzzification • Defuzzification • Summary