ppt draft

23
Fuzzy Logic By Astha Dangwal Roll no.- 17

Upload: astha-dangwal

Post on 22-Nov-2014

209 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ppt draft

Fuzzy Logic

ByAstha Dangwal

Roll no.- 17

Page 2: ppt draft

INTRODUCTION

What Is Fuzzy Logic????

¤ A multivalued Logic !

¤ Fuzzy logic deals with intermediate values between 0 and 1.

¤ It gives us the degree of ‘truthfulness’

¤ A way to make use of natural language in logic

¤ A linguistic variable such as temperature may have a value such as hot or its antonym cold

Page 3: ppt draft

HISTORY OF FUZZY LOGIC!¤ During ancient times it was

thought that either a preposition is entirely true or entirely false.

¤World is full of contradiction and there is a degree of truth and a degree false at the same time.

¤ Founder of Fuzzy Logic:

Dr. Lotfi A Zadeh

Fuzz

y’s

Past

!

Page 4: ppt draft

FUZZY OPERATORSRules are usually expressed in the form:

IF variable IS property THEN action

For example, a simple temperature regulator that uses a fan might look like this:

웃 IF temperature IS very cold THEN stop fan 웃 IF temperature IS cold THEN turn down fan

웃 IF temperature IS normal THEN maintain level

웃 IF temperature IS hot THEN speed up fan

Page 5: ppt draft

FUZZY LOGIC OPERATIONS

Page 6: ppt draft

NEGATION

Page 7: ppt draft

AND (Intersection)

Page 8: ppt draft

OR (Union)

Page 9: ppt draft

FUZZY DEVELOPMENT TOOLS

SOFTWARE

Page 10: ppt draft

Software Development toolsA programming language to code the entire

fuzzy sytem manually.

A fuzzy pre-compiler.

Use of Visual Design Interface.

Page 11: ppt draft

FUZZY DEVELOPMENT TOOLSHARDWARE

Page 12: ppt draft

Hardware Development ToolsFirst Generation Fuzzy Logic Processors

-used fuzzy logic gates.-not popular

Second Generation Fuzzy Logic Processors-Could connect to the host micro-controller unit-Expensive

Third Generation Fuzzy Logic Processors-Integrate fuzzy logic operators within microcontrollers-Speedy-Compact codes

Page 13: ppt draft

HOW IS FUZZY LOGIC USED?웃 Define the control objectives and criteria

웃 Determine the input and output relationships

웃 Break the control problem down into a series of IF X IS Y THEN Z

웃 Create FL membership functions that define the meaning (values) of Input/Output terms used in the rules.

Page 14: ppt draft

FUZZY CONTROLLERS 웃 Fuzzy controllers are able to control problems for which

construction of accurate mathematical models are difficult and expensive.

eg. IF temperature IS hot THEN fan speed is high

웃 Fuzzy Controllers are robust.

웃 New sensors can be easily incorporated.

웃 Any reasonable number of inputs can be processed (1-8 or more) and numerous outputs (1-4 or more) generated.

웃 Fuzzy Logic can control nonlinear systems

Page 15: ppt draft

BLOCK DIAGRAM OF FUZZY CONTROLLER

Page 16: ppt draft

APPLICATIONS OF FUZZY LOGICTemperature Control (heating/cooling)

Ever wondered how the AC works?Auto Focus on the Camera

how does the camera knows what to focus on?Elevators

Fuzzy logic helps to reduce waiting time.Subways

Fuzzy-logic controllers make subway journeys more comfortable with smooth braking and acceleration.

Washing Machines

Page 17: ppt draft

CASE STUDY– FUZZY TRAFFIC CONTROL

The Fuzzy controller is supposed to change the cycle time depending upon the densities of cars behind green and red lights and the current cycle time.

Page 18: ppt draft

BACKGROUND웃 In a conventional traffic light controller,

the lights change at constant cycle time.웃 It would be more feasible to pass more

cars at the green interval, if there are fewer cars waiting behind the red lights.

웃 Obviously, a mathematical model for this decision is enormously difficult to find.

웃 However, with fuzzy logic, it is relatively much easier

Page 19: ppt draft

FUZZY DESIGNThe first sensor behind each

traffic light counts the number cars coming to the intersection.

The second counts the cars passing the traffic lights.

The distance D, chosen to be 200ft., is used to determine the maximum density of cars allowed to wait in a very crowded situation

Density between E-W:(s1-s2)+(s5-s6)/400.

Page 20: ppt draft

EVALUATION OF FUZZY TRAFFIC CONTROLLER

P.S : Machine BeatsMan!

Page 21: ppt draft

ADVANTAGES & DISADVANTAGES OF

FUZZY LOGICAdvantages of fuzzy logic

- Allows the use of vague linguistic terms in the rules.-Can accept multiple inputs and generate multiple results.-No complex mathematical model is required.

Disadvantages of fuzzy logic– Difficult to estimate membership function– There are many ways of interpreting fuzzy rules,combining the outputs of several fuzzy rules and

defuzzifying the output.

Page 22: ppt draft

FUTURE SCOPE

The future is bright, the future is fuzzy!

¤ Robots with a humanlike repertoire of behaviour.

¤ Computers that understand and respond to normal human language.

¤ Machines that write interesting novels and screenplays in a selected style.

¤ Molecule-sized soldiers of health that will roam the blood-stream, killing cancer cells and slowing the aging process.

Page 23: ppt draft

Thankyou !