SEMINAR ON FUZZY LOGIC
Submitted to:
Submitted by:
Mr. Shreyaskar Gaur Asst. Professor Dept. of Computer science and engineering
Nisha Ansari B.Tech 3rd yr Branch: CSE Roll no : 0928210032
FUZZY LOGIC
OVERVIEW
Introduction What is Fuzzy Logic? Where did it begin? Fuzzy Logic vs. Neural Networks
Fuzzy Logic in Control Systems
Fuzzy Logic in Other Fields Future
INTRODUCTION
Definition of fuzzy
Fuzzy not clear, distinct, or precise; blurred
Definition of fuzzy logic
A form of knowledge representation suitable for notions that cannot be defined precisely, but which depend upon their contexts.
ORIGINS OF FUZZY LOGIC
Traces
back to Ancient Greece Lotfi Asker Zadeh ( 1965 ) First to publish ideas of fuzzy logic. Professor Toshire Terano ( 1972 ) Organized the world's first working group on fuzzy system F.L. Smidth & Co. ( 1980 ) First to market fuzzy expert systems.
WHAT IS FUZZY LOGIC
FL is a problem-solving control system methodology that lends itself to implementation in systems ranging from simple, small, embedded micro-controllers to large, networked, multi-channel PC or workstationbased data acquisition and control systems. It can be implemented in hardware, software, or a combination of both. FL provides a simple way to arrive at a definite conclusion based upon vague, ambiguous, imprecise, noisy, or missing input information. FL's approach to control problems mimics how a person would make decisions, only much faster.
A CRISP DEFINITION OF FUZZY LOGIC
Does
not exist, however - Fuzzifies bivalent Aristotelian (Crisp) logic Is The sky are blue True or False?
Modus
Ponens IF <Antecedent == True> THEN <Do Consequent> IF (X is a prime number) THEN (Send TCP packet) Generalized Modus Ponens IF a region is green and highly textured AND the region is somewhat below a sky region THEN the region contains trees with high confidence
8
FUZZY LOGIC REPRESENTATION
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 ]
FUZZY LOGIC REPRESENTATION CONT.
Slowest
Slow
Fast
Fastest
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 }
SOME RELATED FIELDS
Evidence Theory
Knowledge Engineering
Fuzzy Logic & Fuzzy Set Theory
Pattern Recognition & Image Processing
Control Theory
11
CONTROLLER STRUCTURE
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
INFORMATION FLOW IN FUZZY SYSTEM
FUZZY LOGIC VS. NEURAL NETWORKS
How does a Neural Network work? Both model the human brain.
Fuzzy Logic
Neural Networks
Both used to create behavioral systems.
FUZZY LOGIC IN CONTROL SYSTEMS
Fuzzy Logic provides a more efficient and resourceful way to solve Control Systems.
Some Examples
Temperature Controller Anti Lock Break System ( ABS )
SIMPLE TEMPERATURE CONTROL
RULE BASE
Air Temperature
Fan Speed
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}
Set stop {0, 0, 0} Set slow {50, 30, 10} Set medium {60, 50, 40} Set fast {90, 70, 50} Set blast {, 100, 80}
TEMPERATURE CONTROLLER
DEVICE
TEMPERATURE CONTROLLER
The problem
Change the speed of a heater fan, based on the room temperature and humidity. Cold, Cool, Warm, and Hot Low, Medium, and High
A temperature control system has four settings
Humidity can be defined by:
Using this we can define the fuzzy set.
ANTI LOCK BREAK SYSTEM ( ABS )
Nonlinear and dynamic in nature Inputs for Intel Fuzzy ABS are derived from
Brake 4 WD Feedback Wheel speed Ignition
Outputs
Pulsewidth Error lamp
FUZZY INFERENCE (EXPERT) SYSTEMS
Input_1 Input_2 Input_3
Fuzzy IF-THEN Rules
Output
22
FUZZY LOGIC IN OTHER FIELDS
Business
Hybrid Modeling Expert Systems
BENEFITS OF USING FUZZY LOGIC
COMMON OBJECTIONS TO FUZZY LOGIC
Much of the opposition to fuzzy logic is based on the misconception Fuzzy logic invites the belief that the modeling process generates imprecise answers
CONCLUSION
Fuzzy logic provides an alternative way to represent linguistic and subjective attributes of the real world in computing.
It is able to be applied to control systems and
other applications in order to improve the
efficiency and simplicity of the design process.
FUTURE ASPECTS
It is clear that fuzzy logic can be used in numerous applications. It can appear almost anyplace where computers and modern control theory are overly precise as well as in tasks requiring delicate human intuition and experience-based knowledge. There is no limit to where it can go. The future is bright. The future is fuzzy.
QUESTIONS ?