SlideShare a Scribd company logo
1 of 5
Assignment
ArtificialIntelligence
4/28/2015
What is Fuzzy Logic?
SUBMITTED TO:
SIR RAFI ULLAH
MADE BY:
SHAHZEBPIRZADA (5701)
Fuzzy logic
Fuzzy logic for most of us: It’s not as fuzzy as you might think and has been working quietly
behind the scenes for years. Fuzzy logic is a rule-based system that can rely on the practical
experience of an operator, particularly useful to capture experienced operator knowledge.
Here’s what you need to know.
Fuzzy logic is not as fuzzy as you might think and has been working quietly behind the scenes
for more than 20 years in more places than most admit. Fuzzy logic is a rule-based system that
can rely on the practical experience of an operator, particularly useful to capture experienced
operator knowledge. Fuzzy logic is a form of artificial intelligence software; therefore, it would
be considered a subset of AI. Since it is performing a form of decision making, it can be loosely
included as a member of the AI software toolkit. Here’s what you need to know to consider
using fuzzy logic to help solve your next application. It’s not as fuzzy as you might think.
Fuzzy logic has been around since the mid 1960s; however, it was not until the 70s that a
practical application was demonstrated. Since that time the Japanese have traditionally been
the largest producer of fuzzy logic applications. Fuzzy logic has appeared in cameras, washing
machines, and even in stock trading applications. In the last decade the United States has
started to catch on to the use of fuzzy logic. There are many applications that use fuzzy logic,
but fail to tell us of its use. Probably the biggest reason is that the term “fuzzy logic” may have a
negative connotation.
Fuzzy logic can be applied to non-engineering applications as illustrated in the stock trading
application. It has also been used in medical diagnosis systems and in handwriting recognition
applications. In fact a fuzzy logic systemcan be applied to almost any type of systemthat has
inputs and outputs.
Fuzzy logic systems are well suited to nonlinear systems and systems that have multiple inputs
and multiple outputs. Any reasonable number of inputs and outputs can be accommodated.
Fuzzy logic also works well when the systemcannot be modeled easily by conventional means.
Many engineers are afraid to dive into fuzzy logic due to a lack of understanding. Fuzzy logic
does not have to be hard to understand, even though the math behind it can be intimidating,
especially to those of us who have not been in a math class for many years.
Binary logic is either 1 or 0. Fuzzy logic is a continuum of values between 0 and 1. This may also
be thought of as 0% to 100%. An example is the variable YOUNG. We may say that age 5 is
100% YOUNG, 18 is 50% YOUNG, and 30 is 0% YOUNG. In the binary world everything below 18
would be 100% YOUNG, and everything above would be 0% YOUNG.
The design of a fuzzy logic systemstarts with a set of membership functions for each input and
a set for each output. A set of rules is then applied to the membership functions to yield a
“crisp” output value.
For this process control explanation of fuzzy logic, TEMPERATURE is the input and FAN SPEED is
the output. Create a set of membership functions for each input. A membership function is
simply a graphical representation of the fuzzy variable sets. For this example, use three fuzzy
sets, COLD, WARM, and HOT. We will then create a membership function for each of three sets
of temperature as shown in the cold-normal-hot graphic, Figure 1.
Figure 1
We will use three fuzzy sets for the output, SLOW, MEDIUM, and FAST. A set of functions is
created for each output set just as for the input sets.
Figure 2
It should be noted that the shape of the membership functions do not need to be triangles as
we have used in Figure 1 and Figure 2. Various shapes that can be used, such as Trapezoid,
Gaussian, Sigmoid, or user definable. By changing the shape of the membership function, the
user can tune the system to provide optimum response.
Now that we have our membership functions defined, we can create the rules that will define
how the membership functions will be applied to the final system. We will create three rules for
this system.
 If HOT then FAST
 If WARM then MEDIUM
 If COLD then SLOW
The rules are then applied to the membership functions to produce the “crisp” output value to
drive the system. For simplicity we will illustrate using only two input and two output functions.
For an input value of 52 degrees we intersect the membership functions. We see that in this
example the intersection will be on both functions, thus two rules are applied. The intersection
points are extended to the output functions to produce an intersecting point. The output
functions are then truncated at the height of the intersecting points. The area under the curves
for each membership function is then added to give us a total area. The centroid of this area is
calculated. The output value is then the centroid value. In this example 44% is the output FAN
SPEED value. This process is illustrated in Figure 3.
Figure 3
This is a very simple explanation of how the fuzzy logic systems work. In a real working system,
there would be many inputs and possibility several outputs. This would result in a fairly
complex set of functions and many more rules. It is not uncommon for there to be 40 or more
rules in a system. Even so, the principles remain the same as in our simple system.
National Instruments has included in LabVIEW a set of pallet functions and a fuzzy system
designer to greatly simplify the task of building a fuzzy logic system. It has included several
demo programs in the examples to get started. In the graphical environment, the user can
easily see what the effects are as the functions and rules are built and changed.
The user should remember that a fuzzy logic systemis not a “silver bullet” for all control system
needs. Traditional control methods are still very much a viable solution. In fact they may be
combined with fuzzy logic to produce a dynamically changing system. The validation of a fuzzy
logic systemcan be difficult due to the fact that it is a nonformal system. Its use in safety
systems should be considered with care.
I hope this short article will inspire the exploration and use of fuzzy logic in some of your future
designs. I encourage the reader to do further study on the subject. There are numerous books
and articles that go into much more detail. This serves as a simple introduction to fuzzy logic
controls.

More Related Content

Similar to What is Fuzzy Logic?

Rule Evaluation on a Motorola SIMD
Rule Evaluation on a Motorola SIMDRule Evaluation on a Motorola SIMD
Rule Evaluation on a Motorola SIMDMeltin Bell
 
Fuzzy Logic Controller
Fuzzy Logic ControllerFuzzy Logic Controller
Fuzzy Logic Controllervinayvickky
 
A gentle introduction to algorithm complexity analysis
A gentle introduction to algorithm complexity analysisA gentle introduction to algorithm complexity analysis
A gentle introduction to algorithm complexity analysisLewis Lin 🦊
 
Computer logical organization_tutorial
Computer logical organization_tutorialComputer logical organization_tutorial
Computer logical organization_tutorialHarikaReddy115
 
PLC unit 5 lab Brett Bloomberg-1
PLC unit 5 lab Brett Bloomberg-1PLC unit 5 lab Brett Bloomberg-1
PLC unit 5 lab Brett Bloomberg-1Brett Bloomberg
 
IRJET - Face Recognition Door Lock using IoT
IRJET - Face Recognition Door Lock using IoTIRJET - Face Recognition Door Lock using IoT
IRJET - Face Recognition Door Lock using IoTIRJET Journal
 
ALGORITHM.pptx
ALGORITHM.pptxALGORITHM.pptx
ALGORITHM.pptxMdAkram73
 
IRJET - Application of Fuzzy Logic: A Review
IRJET - Application of Fuzzy Logic: A ReviewIRJET - Application of Fuzzy Logic: A Review
IRJET - Application of Fuzzy Logic: A ReviewIRJET Journal
 
Neural networks and fuzzy logic
Neural networks and fuzzy logicNeural networks and fuzzy logic
Neural networks and fuzzy logicSaurav Prasad
 
Fuzzification of College Adviser Proficiency Based on Specific Knowledge
Fuzzification of College Adviser Proficiency Based on Specific KnowledgeFuzzification of College Adviser Proficiency Based on Specific Knowledge
Fuzzification of College Adviser Proficiency Based on Specific KnowledgeUniversitas Pembangunan Panca Budi
 
A General Framework for Electronic Circuit Verification
A General Framework for Electronic Circuit VerificationA General Framework for Electronic Circuit Verification
A General Framework for Electronic Circuit VerificationIRJET Journal
 
Fuzzy logic systems
Fuzzy logic systemsFuzzy logic systems
Fuzzy logic systemsPham Tung
 

Similar to What is Fuzzy Logic? (20)

Rule Evaluation on a Motorola SIMD
Rule Evaluation on a Motorola SIMDRule Evaluation on a Motorola SIMD
Rule Evaluation on a Motorola SIMD
 
Fuzzy Logic Controller
Fuzzy Logic ControllerFuzzy Logic Controller
Fuzzy Logic Controller
 
A gentle introduction to algorithm complexity analysis
A gentle introduction to algorithm complexity analysisA gentle introduction to algorithm complexity analysis
A gentle introduction to algorithm complexity analysis
 
Computer logical organization_tutorial
Computer logical organization_tutorialComputer logical organization_tutorial
Computer logical organization_tutorial
 
LVTS APC fuzzy controller
LVTS APC fuzzy controllerLVTS APC fuzzy controller
LVTS APC fuzzy controller
 
Swaroop.m.r
Swaroop.m.rSwaroop.m.r
Swaroop.m.r
 
Swaroop.m.r
Swaroop.m.rSwaroop.m.r
Swaroop.m.r
 
PLC unit 5 lab Brett Bloomberg-1
PLC unit 5 lab Brett Bloomberg-1PLC unit 5 lab Brett Bloomberg-1
PLC unit 5 lab Brett Bloomberg-1
 
IRJET - Face Recognition Door Lock using IoT
IRJET - Face Recognition Door Lock using IoTIRJET - Face Recognition Door Lock using IoT
IRJET - Face Recognition Door Lock using IoT
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
ALGORITHM.pptx
ALGORITHM.pptxALGORITHM.pptx
ALGORITHM.pptx
 
IRJET - Application of Fuzzy Logic: A Review
IRJET - Application of Fuzzy Logic: A ReviewIRJET - Application of Fuzzy Logic: A Review
IRJET - Application of Fuzzy Logic: A Review
 
Neural networks and fuzzy logic
Neural networks and fuzzy logicNeural networks and fuzzy logic
Neural networks and fuzzy logic
 
Fuzzification of College Adviser Proficiency Based on Specific Knowledge
Fuzzification of College Adviser Proficiency Based on Specific KnowledgeFuzzification of College Adviser Proficiency Based on Specific Knowledge
Fuzzification of College Adviser Proficiency Based on Specific Knowledge
 
Project_Report_Debargha
Project_Report_DebarghaProject_Report_Debargha
Project_Report_Debargha
 
J010528691
J010528691J010528691
J010528691
 
A General Framework for Electronic Circuit Verification
A General Framework for Electronic Circuit VerificationA General Framework for Electronic Circuit Verification
A General Framework for Electronic Circuit Verification
 
Practical --2..pdf
Practical --2..pdfPractical --2..pdf
Practical --2..pdf
 
Fuzzy logic systems
Fuzzy logic systemsFuzzy logic systems
Fuzzy logic systems
 
Week 8.pptx
Week 8.pptxWeek 8.pptx
Week 8.pptx
 

More from Shahzeb Pirzada

Sigma Society Inauguration
Sigma Society Inauguration Sigma Society Inauguration
Sigma Society Inauguration Shahzeb Pirzada
 
Newton's Ninja - Combat'13
Newton's Ninja - Combat'13Newton's Ninja - Combat'13
Newton's Ninja - Combat'13Shahzeb Pirzada
 
The Open Systems Interconnect (OSI) Model - IS AUDIT
The Open Systems Interconnect (OSI) Model - IS AUDITThe Open Systems Interconnect (OSI) Model - IS AUDIT
The Open Systems Interconnect (OSI) Model - IS AUDITShahzeb Pirzada
 
Process Improvement Techniques - IS AUDIT
Process Improvement Techniques - IS AUDITProcess Improvement Techniques - IS AUDIT
Process Improvement Techniques - IS AUDITShahzeb Pirzada
 
Project Management Certifications - IS AUDIT
Project Management Certifications - IS AUDITProject Management Certifications - IS AUDIT
Project Management Certifications - IS AUDITShahzeb Pirzada
 
Computer Assisted Audit Techniques (CAATS) - IS AUDIT
Computer Assisted Audit Techniques (CAATS) - IS AUDITComputer Assisted Audit Techniques (CAATS) - IS AUDIT
Computer Assisted Audit Techniques (CAATS) - IS AUDITShahzeb Pirzada
 
Certifications on Security - IS AUDIT
Certifications on Security - IS AUDITCertifications on Security - IS AUDIT
Certifications on Security - IS AUDITShahzeb Pirzada
 
Google Advance Searching- Information System Audit & Control Report
Google Advance Searching- Information System Audit & Control ReportGoogle Advance Searching- Information System Audit & Control Report
Google Advance Searching- Information System Audit & Control ReportShahzeb Pirzada
 
Prolog Code [Family Tree] by Shahzeb Pirzada
Prolog Code [Family Tree] by Shahzeb PirzadaProlog Code [Family Tree] by Shahzeb Pirzada
Prolog Code [Family Tree] by Shahzeb PirzadaShahzeb Pirzada
 
Elements of Quality Management System
Elements of Quality Management SystemElements of Quality Management System
Elements of Quality Management SystemShahzeb Pirzada
 
City School Network- Routing & Switching Final Report
City School Network- Routing & Switching Final ReportCity School Network- Routing & Switching Final Report
City School Network- Routing & Switching Final ReportShahzeb Pirzada
 
THE SEVEN HABITS OF HIGHLY EFFECTIVE TEENS
THE SEVEN HABITS OF HIGHLY EFFECTIVE TEENSTHE SEVEN HABITS OF HIGHLY EFFECTIVE TEENS
THE SEVEN HABITS OF HIGHLY EFFECTIVE TEENSShahzeb Pirzada
 
Entrepreneurial Leadership-FINAL REPORT
Entrepreneurial Leadership-FINAL REPORTEntrepreneurial Leadership-FINAL REPORT
Entrepreneurial Leadership-FINAL REPORTShahzeb Pirzada
 
SP STUDENT MANAGEMENT SYSTEM-Human Computer Interaction Final Report
SP STUDENT MANAGEMENT SYSTEM-Human Computer Interaction Final ReportSP STUDENT MANAGEMENT SYSTEM-Human Computer Interaction Final Report
SP STUDENT MANAGEMENT SYSTEM-Human Computer Interaction Final ReportShahzeb Pirzada
 
White collar vs Blue collar
White collar vs Blue collarWhite collar vs Blue collar
White collar vs Blue collarShahzeb Pirzada
 
Story Narration Competition -Script
Story Narration Competition -Script Story Narration Competition -Script
Story Narration Competition -Script Shahzeb Pirzada
 
Declamation Contest Script for Moc
Declamation Contest Script for MocDeclamation Contest Script for Moc
Declamation Contest Script for MocShahzeb Pirzada
 
BOOTABLE OPERATING SYSTEM PPT
BOOTABLE OPERATING SYSTEM PPTBOOTABLE OPERATING SYSTEM PPT
BOOTABLE OPERATING SYSTEM PPTShahzeb Pirzada
 
BOOTABLE OPERATING SYSTEM
BOOTABLE OPERATING SYSTEMBOOTABLE OPERATING SYSTEM
BOOTABLE OPERATING SYSTEMShahzeb Pirzada
 

More from Shahzeb Pirzada (20)

Sigma Society Inauguration
Sigma Society Inauguration Sigma Society Inauguration
Sigma Society Inauguration
 
Newton's Ninja - Combat'13
Newton's Ninja - Combat'13Newton's Ninja - Combat'13
Newton's Ninja - Combat'13
 
The Open Systems Interconnect (OSI) Model - IS AUDIT
The Open Systems Interconnect (OSI) Model - IS AUDITThe Open Systems Interconnect (OSI) Model - IS AUDIT
The Open Systems Interconnect (OSI) Model - IS AUDIT
 
RAID - IS AUDIT
RAID - IS AUDITRAID - IS AUDIT
RAID - IS AUDIT
 
Process Improvement Techniques - IS AUDIT
Process Improvement Techniques - IS AUDITProcess Improvement Techniques - IS AUDIT
Process Improvement Techniques - IS AUDIT
 
Project Management Certifications - IS AUDIT
Project Management Certifications - IS AUDITProject Management Certifications - IS AUDIT
Project Management Certifications - IS AUDIT
 
Computer Assisted Audit Techniques (CAATS) - IS AUDIT
Computer Assisted Audit Techniques (CAATS) - IS AUDITComputer Assisted Audit Techniques (CAATS) - IS AUDIT
Computer Assisted Audit Techniques (CAATS) - IS AUDIT
 
Certifications on Security - IS AUDIT
Certifications on Security - IS AUDITCertifications on Security - IS AUDIT
Certifications on Security - IS AUDIT
 
Google Advance Searching- Information System Audit & Control Report
Google Advance Searching- Information System Audit & Control ReportGoogle Advance Searching- Information System Audit & Control Report
Google Advance Searching- Information System Audit & Control Report
 
Prolog Code [Family Tree] by Shahzeb Pirzada
Prolog Code [Family Tree] by Shahzeb PirzadaProlog Code [Family Tree] by Shahzeb Pirzada
Prolog Code [Family Tree] by Shahzeb Pirzada
 
Elements of Quality Management System
Elements of Quality Management SystemElements of Quality Management System
Elements of Quality Management System
 
City School Network- Routing & Switching Final Report
City School Network- Routing & Switching Final ReportCity School Network- Routing & Switching Final Report
City School Network- Routing & Switching Final Report
 
THE SEVEN HABITS OF HIGHLY EFFECTIVE TEENS
THE SEVEN HABITS OF HIGHLY EFFECTIVE TEENSTHE SEVEN HABITS OF HIGHLY EFFECTIVE TEENS
THE SEVEN HABITS OF HIGHLY EFFECTIVE TEENS
 
Entrepreneurial Leadership-FINAL REPORT
Entrepreneurial Leadership-FINAL REPORTEntrepreneurial Leadership-FINAL REPORT
Entrepreneurial Leadership-FINAL REPORT
 
SP STUDENT MANAGEMENT SYSTEM-Human Computer Interaction Final Report
SP STUDENT MANAGEMENT SYSTEM-Human Computer Interaction Final ReportSP STUDENT MANAGEMENT SYSTEM-Human Computer Interaction Final Report
SP STUDENT MANAGEMENT SYSTEM-Human Computer Interaction Final Report
 
White collar vs Blue collar
White collar vs Blue collarWhite collar vs Blue collar
White collar vs Blue collar
 
Story Narration Competition -Script
Story Narration Competition -Script Story Narration Competition -Script
Story Narration Competition -Script
 
Declamation Contest Script for Moc
Declamation Contest Script for MocDeclamation Contest Script for Moc
Declamation Contest Script for Moc
 
BOOTABLE OPERATING SYSTEM PPT
BOOTABLE OPERATING SYSTEM PPTBOOTABLE OPERATING SYSTEM PPT
BOOTABLE OPERATING SYSTEM PPT
 
BOOTABLE OPERATING SYSTEM
BOOTABLE OPERATING SYSTEMBOOTABLE OPERATING SYSTEM
BOOTABLE OPERATING SYSTEM
 

Recently uploaded

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 

What is Fuzzy Logic?

  • 1. Assignment ArtificialIntelligence 4/28/2015 What is Fuzzy Logic? SUBMITTED TO: SIR RAFI ULLAH MADE BY: SHAHZEBPIRZADA (5701)
  • 2. Fuzzy logic Fuzzy logic for most of us: It’s not as fuzzy as you might think and has been working quietly behind the scenes for years. Fuzzy logic is a rule-based system that can rely on the practical experience of an operator, particularly useful to capture experienced operator knowledge. Here’s what you need to know. Fuzzy logic is not as fuzzy as you might think and has been working quietly behind the scenes for more than 20 years in more places than most admit. Fuzzy logic is a rule-based system that can rely on the practical experience of an operator, particularly useful to capture experienced operator knowledge. Fuzzy logic is a form of artificial intelligence software; therefore, it would be considered a subset of AI. Since it is performing a form of decision making, it can be loosely included as a member of the AI software toolkit. Here’s what you need to know to consider using fuzzy logic to help solve your next application. It’s not as fuzzy as you might think. Fuzzy logic has been around since the mid 1960s; however, it was not until the 70s that a practical application was demonstrated. Since that time the Japanese have traditionally been the largest producer of fuzzy logic applications. Fuzzy logic has appeared in cameras, washing machines, and even in stock trading applications. In the last decade the United States has started to catch on to the use of fuzzy logic. There are many applications that use fuzzy logic, but fail to tell us of its use. Probably the biggest reason is that the term “fuzzy logic” may have a negative connotation. Fuzzy logic can be applied to non-engineering applications as illustrated in the stock trading application. It has also been used in medical diagnosis systems and in handwriting recognition applications. In fact a fuzzy logic systemcan be applied to almost any type of systemthat has inputs and outputs. Fuzzy logic systems are well suited to nonlinear systems and systems that have multiple inputs and multiple outputs. Any reasonable number of inputs and outputs can be accommodated. Fuzzy logic also works well when the systemcannot be modeled easily by conventional means. Many engineers are afraid to dive into fuzzy logic due to a lack of understanding. Fuzzy logic does not have to be hard to understand, even though the math behind it can be intimidating, especially to those of us who have not been in a math class for many years. Binary logic is either 1 or 0. Fuzzy logic is a continuum of values between 0 and 1. This may also be thought of as 0% to 100%. An example is the variable YOUNG. We may say that age 5 is 100% YOUNG, 18 is 50% YOUNG, and 30 is 0% YOUNG. In the binary world everything below 18 would be 100% YOUNG, and everything above would be 0% YOUNG.
  • 3. The design of a fuzzy logic systemstarts with a set of membership functions for each input and a set for each output. A set of rules is then applied to the membership functions to yield a “crisp” output value. For this process control explanation of fuzzy logic, TEMPERATURE is the input and FAN SPEED is the output. Create a set of membership functions for each input. A membership function is simply a graphical representation of the fuzzy variable sets. For this example, use three fuzzy sets, COLD, WARM, and HOT. We will then create a membership function for each of three sets of temperature as shown in the cold-normal-hot graphic, Figure 1. Figure 1 We will use three fuzzy sets for the output, SLOW, MEDIUM, and FAST. A set of functions is created for each output set just as for the input sets.
  • 4. Figure 2 It should be noted that the shape of the membership functions do not need to be triangles as we have used in Figure 1 and Figure 2. Various shapes that can be used, such as Trapezoid, Gaussian, Sigmoid, or user definable. By changing the shape of the membership function, the user can tune the system to provide optimum response. Now that we have our membership functions defined, we can create the rules that will define how the membership functions will be applied to the final system. We will create three rules for this system.  If HOT then FAST  If WARM then MEDIUM  If COLD then SLOW The rules are then applied to the membership functions to produce the “crisp” output value to drive the system. For simplicity we will illustrate using only two input and two output functions. For an input value of 52 degrees we intersect the membership functions. We see that in this example the intersection will be on both functions, thus two rules are applied. The intersection points are extended to the output functions to produce an intersecting point. The output functions are then truncated at the height of the intersecting points. The area under the curves for each membership function is then added to give us a total area. The centroid of this area is
  • 5. calculated. The output value is then the centroid value. In this example 44% is the output FAN SPEED value. This process is illustrated in Figure 3. Figure 3 This is a very simple explanation of how the fuzzy logic systems work. In a real working system, there would be many inputs and possibility several outputs. This would result in a fairly complex set of functions and many more rules. It is not uncommon for there to be 40 or more rules in a system. Even so, the principles remain the same as in our simple system. National Instruments has included in LabVIEW a set of pallet functions and a fuzzy system designer to greatly simplify the task of building a fuzzy logic system. It has included several demo programs in the examples to get started. In the graphical environment, the user can easily see what the effects are as the functions and rules are built and changed. The user should remember that a fuzzy logic systemis not a “silver bullet” for all control system needs. Traditional control methods are still very much a viable solution. In fact they may be combined with fuzzy logic to produce a dynamically changing system. The validation of a fuzzy logic systemcan be difficult due to the fact that it is a nonformal system. Its use in safety systems should be considered with care. I hope this short article will inspire the exploration and use of fuzzy logic in some of your future designs. I encourage the reader to do further study on the subject. There are numerous books and articles that go into much more detail. This serves as a simple introduction to fuzzy logic controls.