14 views

Uploaded by Dinesh Dinu

Description of fuzzy

- Ki 3218051809
- Fuzzy Logic 2
- Literature Review
- Fuzzy Logic
- A Fuzzy Rule-Based Approach for Islanding
- Fuzzy Modeling of Perceived Stress, And Cortisol Responses to Awakening Using Distance for Fuzzy Sets
- Manual - RT60
- Distance and Similarity Measures of Interval Neutrosophic Soft Set
- A New Approach of Learning Hierarchy Construction Based on Fuzzy Logic
- Logic Fuzzy 01
- 14-fuzzy-4p
- new similarity measures between two fuzzy sets
- PID Controller based DC Motor Speed Control
- Fuzzy Logic Paper
- HEISTER, Sfumato Chiaroscuro
- 55273906-42
- Chapter 01_Introduction to Industrial Control Systems
- Using a Fuzzy Poka-Yoke Based Controller to Restrain Emissions in Naturally
- A LabVIEW Based Submarine Depth Control
- 1114.pdf

You are on page 1of 45

Dr Alexiei Dingli

Definition of fuzzy

their contexts.

Formal Definition

Fuzzy logic provides a method to formalize reasoning when dealing with vague terms. Traditional computing requires finite precision which is not always possible in real world scenarios. Not every decision is either true or false, or as with Boolean logic either 0 or 1. Fuzzy logic allows for membership functions, or degrees of truthfulness and falsehoods. Or as with Boolean logic, not only 0 and 1 but all the numbers that fall in between.

bool speed; get the speed if ( speed == 0) { // speed is slow } else { // speed is fast }

For every problem must represent in terms of fuzzy sets. What are fuzzy sets?

Slowest

[ 0.0 0.25 ]

Slow

[ 0.25 0.50 ]

Fast

[ 0.50 0.75 ]

Fastest

[ 0.75 1.00 ]

float speed; get the speed if ((speed >= 0.0)&&(speed < 0.25)) { // speed is slowest } else if ((speed >= 0.25)&&(speed < 0.5)) { // speed is slow } else if ((speed >= 0.5)&&(speed < 0.75)) { // speed is fast } else // speed >= 0.75 && speed < 1.0 { // speed is fastest }

The idea behind fuzzy logic dates back to Plato, who recognized not only the logic system of true and false, but also an undetermined area the uncertain. In the 1960s Lotfi A. Zadeh Ph.D,. University of California, Berkeley, published an obscure paper on fuzzy sets. His unconventional theory allowed for approximate information and uncertainty when generating complex solutions; a process that previously did not exist. Fuzzy Logic has been around since the mid 60s but was not readily excepted until the 80s and 90s. Although now prevalent throughout much of the world, China, Japan and Korea were the early adopters

x = 3.1415296 A {0,1}

ABC

Richard is either greedy or he isn't:

Greedy(Richard) {0,1}

Fuzzy Sets

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?

Fuzzy Linguistic Variables are used to represent qualities spanning a particular spectrum

Membership Function

Answer: It is warm. Question: How warm is it?

Membership Functions Temp: {Freezing, Cool, Warm, Hot} Degree of Truth or "Membership"

1 Freezing Cool Warm Hot

Freezing

Cool

Warm

Hot

1 Freezing Cool Warm Hot

0.7 0.3

0 10 30 50 70 90 110 Temp. (F)

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

Fuzzy Disjunction

A

1 1 0.75

0.375

(AB = C) (C = 0.75)

Fuzzy Conjunction

A

1 1 0.75

0.375

(AB = C) (C = 0.375)

A

1 1

.1 .2 .3 .4 .5 .6 .7 .8 .9

1 5 10 15 20 25 30 35 40

A

1 1

.1 .2 .3 .4 .5 .6 .7 .8 .9

1 5 10 15 20 25 30 35 40

A

1 1

0.7

.1 .2 .3 .4 .5 .6 .7 .8 .9

1 5 10 15 20 25 30 35 40

A

1 1

0.9 0.7

.1 .2 .3 .4 .5 .6 .7 .8 .9

1 5 10 15 20 25 30 35 40

A

1 1

0.9 0.7

.1 .2 .3 .4 .5 .6 .7 .8 .9

1 5 10 15 20 25 30 35 40

Determine degrees of membership: A = 0.7 B = 0.9 Apply Fuzzy AND AB = min(A, B) = 0.7

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

Inputs: Temperature

Temp: {Freezing, Cool, Warm, Hot}

1 Freezing Cool Warm Hot

Temp: {Freezing, Cool, Warm, Hot}

1 Freezing Cool Warm Hot

1 Sunny Partly Cloudy Overcast

Output: Speed

Slow Fast

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...

65 F Cool = 0.4, Warm= 0.7

1 Freezing Cool Warm Hot

1 Sunny Partly Cloudy Overcast

...Calculating...

If it's Cloudy and Cool, drive Slow Cloudy(Cover)Cool(Temp)Slow(Speed)

1 Slow Fast

2/9/2004

Fuzzy Logic

30

1 Slow Fast

Find centroids: Location where membership is 100% 100% Slow = 25 100% Fast = 75

1 Slow Fast

1 Slow Fast

2/9/2004 Fuzzy Logic 33

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

Fuzzy Logic provides a more efficient and resourceful way to solve Control Systems.

Some Examples

TEMPERATURE CONTROLLER

The problem

Change the speed of a heater fan, based on the room temperature and humidity

Nonlinear and dynamic in nature Inputs for Intel Fuzzy ABS are derived from

Outputs

Pulsewidth Error lamp

Structure of Controller

Fuzzification Scales and maps input variables to fuzzy sets Inference Mechanism Approximate reasoning Deduces the control action

Defuzzification Convert fuzzy output values to control signals

Rule Base

Air Temperature Set cold {50, 0, 0} Set cool {65, 55, 45} Set just right {70, 65, 60} Set warm {85, 75, 65} Set hot {, 90, 80}

Fan Speed Set stop {0, 0, 0} Set slow {50, 30, 10} Set medium {60, 50, 40} Set fast {90, 70, 50} Set blast {, 100, 80}

Rules

IF Cold then Stop If Cool then Slow If OK then Medium If Warm then Fast IF Hot then Blast

0 100 90 80 70 60 50 40 30 20 10 0 if Cold then Stop

o St

m Co ol

s Bla

Fa s

Med ium

Sl

ow

0 45 50 55 60 65 70 75 80 85 90

Jus Rig t ht

Ho

ar

Co ld

Fuzzy Logic control may not scale well to large or complex problems

Deals with imprecision, and vagueness, but not uncertainty

CONCLUSION

computing.

It is able to be applied to control systems and other applications in order to improve the efficiency and

Questions?

- Ki 3218051809Uploaded byAnonymous 7VPPkWS8O
- Fuzzy Logic 2Uploaded byIftikhar Mehdi
- Literature ReviewUploaded byaquaomz
- Fuzzy LogicUploaded byS Bharadwaj Reddy
- A Fuzzy Rule-Based Approach for IslandingUploaded byKalyan Chakravarthi
- Fuzzy Modeling of Perceived Stress, And Cortisol Responses to Awakening Using Distance for Fuzzy SetsUploaded byIJSRP ORG
- Manual - RT60Uploaded byKostas Athanasiadis
- Distance and Similarity Measures of Interval Neutrosophic Soft SetUploaded byAnonymous 0U9j6BLllB
- A New Approach of Learning Hierarchy Construction Based on Fuzzy LogicUploaded byAnonymous 7VPPkWS8O
- Logic Fuzzy 01Uploaded byjamaros
- 14-fuzzy-4pUploaded byMaheshbabu_2034
- new similarity measures between two fuzzy setsUploaded byhehefny
- PID Controller based DC Motor Speed ControlUploaded byEditor IJRITCC
- Fuzzy Logic PaperUploaded byVirat Kumar
- HEISTER, Sfumato ChiaroscuroUploaded byJuan Nicolás Jaramillo Ramírez
- 55273906-42Uploaded bypreanand
- Chapter 01_Introduction to Industrial Control SystemsUploaded byJustine Fulls
- Using a Fuzzy Poka-Yoke Based Controller to Restrain Emissions in NaturallyUploaded byAngela Castillo
- A LabVIEW Based Submarine Depth ControlUploaded byjamni10
- 1114.pdfUploaded byVinay Yadav
- Fuzzy Logic Expert System for Diagnose Decreased Efficiency of Power PlantUploaded byKingRoger
- Two-Warehouse Fuzzy Inventory Model with K-Release RuleUploaded byAnonymous 0U9j6BLllB
- 1.Tugas Pneumatik (b.inngris)Uploaded byDaud Vamboedie
- Minimal solution of fuzzy neutrosophic soft matrixUploaded byMia Amalia
- Fusion of Qualitative Beliefs Based on Linguistic LabelsUploaded byAnonymous 0U9j6BLllB
- Balanced PID Tuning Application to Series Cascade Control SystemsUploaded byCarlos Bellatin
- 67037-Ch04Uploaded bynilesh0074313
- Mafiadoc.com Elg4152 Modern Control Engineering Textbook Modern 59ce3e8c1723dd6dc1b864beUploaded bydhapra
- CONG2008002Uploaded byiostream
- Revisi Bahasa Inggris Yang BenarUploaded byRia Dwi Izahyanti

- Chalmers HyperintensionalityUploaded byMariusz Popieluch
- The Impact of the Incompleteness Theorems on Mathematics Feferman, Solomon -Uploaded bycx5caf
- (eBook - Gurdjieff - EnG) - Nicolescu, Basarab - Gurdjieff's Philosophy of NatureUploaded byTeo Grigorita
- Topology, Munkres Solution Chapt 3Uploaded byFitriSilalahi
- Undergraduate ProbabilityUploaded byFernando Gonzalez
- Prolog TutorialUploaded byRamesh Nv
- Babich, The Science of WordsUploaded byBabette Babich
- 01_Logic_Probs.pdfUploaded byRaisha Alivia
- 238-2033-2-PBUploaded byteafields
- Pritchard - What is the Swamping ProblemUploaded bymsechman87
- The Structure, Necessity, And Primacy of NothingnessUploaded bySam Foulkes
- for logicUploaded bySharyn Villarez
- Monotheism Polytheism and Modality 1Uploaded byJaiadeva Gosvami Seus
- Week 3 Knowledge Check Study GuideUploaded byJessica
- Real Time Speed Control of Motor Using Fuzzy LogicUploaded byseventhsensegroup
- Is Mental Perception Necessary in a Pramāṇa Theory?Uploaded bysandip
- Parmenides Cosmos BeingUploaded bysamer1956
- What is EpistemologyUploaded byBlissy S. Itom
- 1st q grade 10 regular course outline for printingUploaded byapi-172469602
- Belief and Moores Paradox by Declan SmithiesUploaded byFredy Hernan Prieto Galindo
- Digital Worksheet #2Uploaded byjpe13
- Lars Svendsen Fashion a Philosophy 1Uploaded byLu Unagorra
- 1503.00875Uploaded byFernandoFierroGonzalez
- Of Thorns and RosesUploaded byakimel
- 14557_term Paper Topics (1)Uploaded byEr Prabhjeet Singh
- Google University - Problem Set Algorithm AnalysisUploaded bypicardo
- Sets Relations FunctionsUploaded byMutt3012
- Set TheoryUploaded byvipul dave
- Book Review on Logic for Law Students, How to Think Like a LawyerUploaded byNeldon Jay Verzosa
- logic-programming-in-scheme.pdfUploaded bybwbuiz