Fuzzy Logic. Sourabh Kothari. Asst. Prof. Department of Electrical Engg. Presentation By

Similar documents
Introduction to Fuzzy Logic and Fuzzy Systems Adel Nadjaran Toosi

Fuzzy Reasoning. Outline

FUZZY INFERENCE SYSTEMS

Why Fuzzy? Definitions Bit of History Component of a fuzzy system Fuzzy Applications Fuzzy Sets Fuzzy Boundaries Fuzzy Representation

Why Fuzzy Fuzzy Logic and Sets Fuzzy Reasoning. DKS - Module 7. Why fuzzy thinking?

Background Fuzzy control enables noncontrol-specialists. A fuzzy controller works with verbal rules rather than mathematical relationships.

Intelligent Systems Lecture 15 Fuzzy Logic

Introduction. Aleksandar Rakić Contents

Chapter 4 Fuzzy Logic

Dinner for Two, Reprise

FUZZY LOGIC TECHNIQUES. on random processes. In such situations, fuzzy logic exhibits immense potential for

Lecture notes. Com Page 1

Fuzzy Sets and Fuzzy Logic

ARTIFICIAL INTELLIGENCE. Uncertainty: fuzzy systems

Fuzzy Sets and Fuzzy Logic. KR Chowdhary, Professor, Department of Computer Science & Engineering, MBM Engineering College, JNV University, Jodhpur,

CHAPTER 4 FREQUENCY STABILIZATION USING FUZZY LOGIC CONTROLLER

CHAPTER 5 FUZZY LOGIC CONTROL

7. Decision Making

CPS331 Lecture: Fuzzy Logic last revised October 11, Objectives: 1. To introduce fuzzy logic as a way of handling imprecise information

Introduction 2 Fuzzy Sets & Fuzzy Rules. Aleksandar Rakić Contents

Dra. Ma. del Pilar Gómez Gil Primavera 2014

CHAPTER 6 SOLUTION TO NETWORK TRAFFIC PROBLEM IN MIGRATING PARALLEL CRAWLERS USING FUZZY LOGIC

Lotfi Zadeh (professor at UC Berkeley) wrote his original paper on fuzzy set theory. In various occasions, this is what he said

Chapter 7 Fuzzy Logic Controller

ARTIFICIAL INTELLIGENCE - FUZZY LOGIC SYSTEMS

REASONING UNDER UNCERTAINTY: FUZZY LOGIC

Introduction to Fuzzy Logic. IJCAI2018 Tutorial

GEOG 5113 Special Topics in GIScience. Why is Classical set theory restricted? Contradiction & Excluded Middle. Fuzzy Set Theory in GIScience

Fuzzy Logic Toolbox 2 User s Guide

Fuzzy Logic - A powerful new technology

Neural Networks Lesson 9 - Fuzzy Logic

Fuzzy If-Then Rules. Fuzzy If-Then Rules. Adnan Yazıcı

SOLUTION: 1. First define the temperature range, e.g. [0 0,40 0 ].

Machine Learning & Statistical Models

COSC 6397 Big Data Analytics. Fuzzy Clustering. Some slides based on a lecture by Prof. Shishir Shah. Edgar Gabriel Spring 2015.

Fuzzy Logic and Fuzzy Control. Fuzzy Logic & Fuzzy Control K. Craig 1

Introduction to Intelligent Control Part 2

Speed regulation in fan rotation using fuzzy inference system

What is all the Fuzz about?

Introduction 3 Fuzzy Inference. Aleksandar Rakić Contents

A Brief Idea on Fuzzy and Crisp Sets

Granular Computing: A Paradigm in Information Processing Saroj K. Meher Center for Soft Computing Research Indian Statistical Institute, Kolkata

MODELING FOR RESIDUAL STRESS, SURFACE ROUGHNESS AND TOOL WEAR USING AN ADAPTIVE NEURO FUZZY INFERENCE SYSTEM

Fuzzy Logic Toolbox. User s Guide. For Use with MATLAB. Computation. Visualization. Programming. Version 2

Fuzzy Sets and Systems. Lecture 1 (Introduction) Bu- Ali Sina University Computer Engineering Dep. Spring 2010

Intuitionistic fuzzification functions

Fuzzy if-then rules fuzzy database modeling

Fuzzy Logic. This amounts to the use of a characteristic function f for a set A, where f(a)=1 if the element belongs to A, otherwise it is 0;

Approximate Reasoning with Fuzzy Booleans

Fuzzy system theory originates from fuzzy sets, which were proposed by Professor L.A.

Contents. The Definition of Fuzzy Logic Rules. Fuzzy Logic and Functions. Fuzzy Sets, Statements, and Rules

Unit V. Neural Fuzzy System

FUZZY SYSTEMS: Basics using MATLAB Fuzzy Toolbox. Heikki N. Koivo

> Introducing human reasoning within decision-making systems Presentation

CHAPTER 3 ADAPTIVE NEURO-FUZZY INFERENCE SYSTEM

A control-based algorithm for rate adaption in MPEG-DASH

Figure 2-1: Membership Functions for the Set of All Numbers (N = Negative, P = Positive, L = Large, M = Medium, S = Small)

Fuzzy Logic : Introduction

COSC 6339 Big Data Analytics. Fuzzy Clustering. Some slides based on a lecture by Prof. Shishir Shah. Edgar Gabriel Spring 2017.

Efficient CPU Scheduling Algorithm Using Fuzzy Logic

FUZZY INFERENCE. Siti Zaiton Mohd Hashim, PhD

A FUZZY LOGIC APPROACH IN ROBOTIC MOTION CONTROL

CHAPTER 3 FUZZY RULE BASED MODEL FOR FAULT DIAGNOSIS

Fuzzy Logic Using Matlab

What is all the Fuzz about?

Fuzzy Logic Approach towards Complex Solutions: A Review

Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference Case study Summary

Fuzzy Reasoning. Linguistic Variables

Reducing Quantization Error and Contextual Bias Problems in Object-Oriented Methods by Applying Fuzzy-Logic Techniques

Application of fuzzy set theory in image analysis. Nataša Sladoje Centre for Image Analysis

A Fuzzy Logic Based Algorithm for Electric Power Network Management

Fuzzy rule-based decision making model for classification of aquaculture farms

Final Exam. Controller, F. Expert Sys.., Solving F. Ineq.} {Hopefield, SVM, Comptetive Learning,

Elementos de Inteligencia Artificial. Amaury Caballero Ph.D., P.E. Universidad Internacional de la Florida

CHAPTER 4 FUZZY LOGIC, K-MEANS, FUZZY C-MEANS AND BAYESIAN METHODS

Fuzzy Logic: Human-like decision making

Fuzzy Set, Fuzzy Logic, and its Applications

Similarity Measures of Pentagonal Fuzzy Numbers

Fuzzy Logic and brief overview of its applications

FUZZY INFERENCE SYSTEM AND PREDICTION

XI International PhD Workshop OWD 2009, October Fuzzy Sets as Metasets

Review of Fuzzy Logical Database Models

Types of Expert System: Comparative Study

ADVANCE CONTROL OF AN ELECTROHYDAULIC AXIS & DESIGN OPTIMIZATION OF MECHATRONIC SYSTEM

Rainfall prediction using fuzzy logic

Study of Fuzzy Set Theory and Its Applications

FUZZY SETS. Precision vs. Relevancy LOOK OUT! A 1500 Kg mass is approaching your head OUT!!

CS 354R: Computer Game Technology

WATER LEVEL MONITORING AND CONTROL USING FUZZY LOGIC SYSTEM. Ihedioha Ahmed C. and Eneh Ifeanyichukwu I.

Fuzzy Systems Handbook

CHAPTER 3 ADAPTIVE DECISION BASED MEDIAN FILTER WITH FUZZY LOGIC

Fuzzy Model-View-Controller Pattern

FUZZY SQL for Linguistic Queries Poonam Rathee Department of Computer Science Aim &Act, Banasthali Vidyapeeth Rajasthan India

Projecting Safety Measures in Fireworks Factories in Sivakasi using Fuzzy based Approach

Automation of Grinder - An Introduction of Fuzzy Logic ABSTRACT Keywords I. INTRODUCTION

Aircraft Landing Control Using Fuzzy Logic and Neural Networks

Using a fuzzy inference system for the map overlay problem

Fuzzy Systems (1/2) Francesco Masulli

Fuzzy logic controllers

A Triangular Fuzzy Model for Assessing Problem Solving Skills

Transcription:

Fuzzy Logic Presentation By Sourabh Kothari Asst. Prof. Department of Electrical Engg.

Outline of the Presentation Introduction What is Fuzzy? Why Fuzzy Logic? Concept of Fuzzy Logic Fuzzy Sets Membership Function Fuzzy Logic Controller Fuzzification Fuzzy Rule Base Fuzzy Inference System De-Fuzzification Application Conclusion

Introduction Fuzzy logic can be defined as a superset of conventional (Boolean) logic that has been extended to handle the concept of partial truth - truth values between completely true and completely false. Brought up by Lofti Zedah in the 1960 s, Professor at University of California at Beckley. In 1974 Mamdani and Assilian used fuzzy logic to regulate a steam engine. In 1985 researchers at Bell laboratories developed the first fuzzy logic chip.

What is Fuzzy? Not clear Vague Imprecise Noisy Missing input information

What is Fuzzy? Most Words and Evaluations We Use in Our Daily Reasoning are not clearly defined in a Mathematical manner. Example- Temperature - Today is hot, Height- Mr. A is taller.

What is Fuzzy? A way to represent variation or imprecision in logic A way to make use of natural language in logic i.e. linguistic variable Temp: {freezing, cool, warm, hot} Cloud Cover: {overcast, partly cloudy, sunny} Speed: {slowest, slow, fast, fastetst} Approximate reasoning Example-Humans say things like "If it is sunny and warm today, I will drive fast"

Why Fuzzy Logic? Conceptually easy to understand. Flexible. It is tolerant of imprecise data. Fuzzy logic can be built on top of the experience of experts. It can be blended with conventional control techniques. Based on natural language.

Concept of Fuzzy Logic Fuzzy logic is the logic underlying approximate, rather than exact, modes of reasoning. In bivalent logic, truth is bivalent, implying that every proposition, is either true or false, with no degrees of truth allowed. It is an extension of multivalued logic: Everything, including truth, is a matter of degree.

Concept of Fuzzy Logic Many decision-making and problem-solving tasks are too complex to be defined precisely however; people succeed by using imprecise knowledge. Fuzzy logic resembles human reasoning in its use of approximate information and uncertainty to generate decisions.

Fuzzy Sets Just as Boolean logic has it roots in the theory of crisp set, fuzzy logic has it roots in the theory of fuzzy set. Fuzzy logic starts with the concept of a fuzzy set. A fuzzy set is a set without a crisp, clearly defined boundary. It can contain elements with only a partial degree of membership. A classical set is a container that wholly includes or wholly excludes any given element. For example, the set of days of the week unquestionably includes Monday, Thursday, and Saturday.

Fuzzy Sets Fuzzy sets are useful for dealing with vague properties (attributes) of objects like tall or middle-aged or slow.

Crisp Variables Crisp sets handle only 0 s and 1 s. A proposition is either True or False. (Yes or NO) Example- Speed- Slow or Fast

Crisp Variables Classical set theory also termed as crisp set theory. Spanning range is small.

Fuzzy Variables Fuzzy sets handle all values between 0 and 1. 0-0.25 0.25-0.50 0.50-0.75 0.75-1.00

Membership Function A membership function (MF) defines how each point in the input space is mapped to a membership value (or degree of membership) between 0 and 1. The input space is sometimes referred to as the universe of discourse, a fancy name for a simple concept. It varies between 0 and 1. In fuzzy logic, the truth of any statement becomes a matter of degree.

Example- Tall Let us take an example of fuzzy set of tall people. In this case UOD is Tall people value between 0-6.5 feet. The linguistic term tall is defined by a curve that gives the degree to which the height is tall. Let in case of crisp set tall may be defined as a height which is more than 5 10. But such a distinction is clearly absurd.

Example- Tall It may make sense to consider the set of all real number greater than 5 10 as belonging to set tall but it is unreasonable to reject height 5 9 that is just 1 short of 5 10. The output axis represents the membership value of an element of the fuzzy set that varies between 0 and 1 or degree of membership The curve is known as Membership Function.

Characteristics of Fuzziness Word based, not number based. For instance, hot; not 85. Nonlinear changeable. Analog (ambiguous), not digital (Yes/No). Spanning range is large. No need for a mathematical model. Provides a smooth transition between members and nonmembers. Relatively simple, fast and adaptive. Less sensitive to system fluctuations. Can implement design objectives, difficult to express mathematically, in linguistic or descriptive rules.

Fuzzy Logic Controller The block diagram of the Fuzzy logic controller is shown in figure. It consist four main parts : 1. Fuzzification 2. Fuzzy Rule Base 3. Fuzzy inference system 4. Defuzzification

Fuzzification The process of converting a crisp input value to membership values for each qualifier is called Fuzzification. Definition of the membership function must reflect the designer knowledge. provides smooth transition from member to nonmember of a fuzzy set. simple to calculate. Thus Fuzzification is a process by which, numbers are changed in to linguistic words. The output of the Fuzzification is degree of membership corresponding to this numerical value defined by the qualifying linguistic set.

Fuzzification In the height example, suppose we input 5 feet 10 inches. We require the degree of membership of qualifiers small, mediumsized and tall. Reading from the membership functions we get: small: 0 medium-sized: 0.5 tall: 0.8 Thus the fuzzy variable has three different degrees of membership.

Fuzzy Rule Base A fuzzy rule is defined as a conditional statement in the form: If x is A, then y is B. Where x & y are linguistic variable, A & B are linguistic value determined by fuzzy set on the universe of discourse X & Y respectively. The point of fuzzy logic is to map an input space to an output space, and the mechanism for doing this is a list of if-then statements called rules. To say that the water is hot, you need to define the range that the water's temperature can be expected to vary as well as what we mean by the word hot.

Fuzzy Inference System Fuzzy inference is the process of formulating the mapping from a given input to an output using fuzzy logic. The mapping then provides a basis from which decisions can be made, or patterns discerned. The process of fuzzy inference involves: Membership Functions, Logical Operations, and If-Then Rules.

De-Fuzzification Producing a single crisp value from a collection of membership degree is called De-Fuzzification. The resultant degrees of membership for the qualifiers of the output fuzzy variables are converted back into crisp values.

Example- Tip in Restaurant Fuzzy Vs Non Fuzzy

The Nonfuzzy Approach Begin with the simplest possible relationship. Suppose that the tip always equals 15% of the total bill.

The Nonfuzzy Approach This relationship does not take into account the quality of the service, so you need to add a new term to the equation. Because service is rated on a scale of 0 to 10, you might have the tip go linearly from 5% if the service is bad to 25% if the service is excellent. Now the relation looks like the following relation tip=(0.20/10)*service+0.05

The Nonfuzzy Approach The Extended Tipping Problem Given two sets of numbers between 0 and 10 (where 10 is excellent) that respectively represent the quality of the service and the quality of the food at a restaurant, What should the tip be? See how the formula is affected now that you have added another variable. Try the following equation: tip = 0.20/20*(service+food)+0.05;

The Nonfuzzy Approach

The Nonfuzzy Approach In this case, the results look satisfactory, but when you look at them closely, they do not seem quite right. Suppose you want the service to be a more important factor than the food quality. Specify that service accounts for 80% of the overall tipping grade and the food makes up the other 20%. servratio=0.8; tip= servratio*(0.20/10*service+0.05) +... (1-servRatio)*(0.20/10*food+0.05) ;

The Nonfuzzy Approach

The Nonfuzzy Approach It was a little difficult to code this correctly, and it is definitely not easy to modify this code in the future. Moreover, it is even less apparent, how the algorithm works to someone who did not see the original design process.

Fuzzy Logic Approach To capture the essentials of this problem, leaving aside all the factors that could be arbitrary. If you make a list of what really matters in this problem, you might end up with the rule descriptions.

Fuzzy Logic Approach Tipping Problem Rules Service Factor If service is poor, then tip is cheap If service is good, then tip is average If service is excellent, then tip is generous The order in which the rules are presented here is arbitrary. It does not matter which rules come first. If you want to include the food's effect on the tip, add the following two rules.

Fuzzy Logic Approach Tipping Problem Rules Food Factor : If food is bad, then tip is cheap If food is delicious, then tip is generous Combining the two different lists of rules into one tight list of three rules like so: Tipping Problem Both Service and Food Factors: If service is poor or the food is rancid, then tip is cheap If service is good, then tip is average If service is excellent or food is delicious, then tip is generous

Fuzzy Logic Approach These three rules are the core of our solution. Coincidentally, we have just defined the rules for a fuzzy logic system. When you give mathematical meaning to the linguistic variables (what is an average tip, for example?) we have a complete fuzzy inference system.

Applications ABS brakes Expert Systems Control Units Bullet Trains Video Cameras Automatic Transmissions Image Processing

Conclusion Fuzzy logic is a convenient way to map an input space to an output space. For Fuzzy logic Sky is not the Limit.

Thanking you & Happy Fuzzying.