Name: Naitik Jain Div.: - BE-A Roll No: 742 SUBJECT: - AISC Experiment No: - 07 EXPERIMENT: To Study and Implement Fuzzy Controller System

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

(Permanently Affiliated to University of Mumbai)

Department of Computer Engineering

Name: Naitik Jain Div.: - BE-A Roll No: 742 SUBJECT: -AISC

EXPERIMENT NO: -07

EXPERIMENT: To study and implement Fuzzy Controller System.

PUNCTUALITY (2)
PERFORMANCE (4)
Q&A (2)
JOURNAL WRITING (2)
TOTAL MARKS (10)

Date of Assignment:
Date of Submission:

LABORATORY: AISC LAB 1


(Permanently Affiliated to University of Mumbai)
Department of Computer Engineering
EXPERIMENT NO:07

Aim: To study and implement fuzzy controller system.

Theory:

Introduction to fuzzy logic:

The term fuzzy refers to things which are not clear or are vague. In the real world
many times we encounter a situation when we can’t determine whether the state
is true or false, their fuzzy logic provides a very valuable flexibility for
reasoning. In this way, we can consider the inaccuracies and uncertainties of any
situation.

Introduction to fuzzy logic control:

Fuzzy logic control (FLC) is the most active research area in the application of
fuzzy set theory, fuzzy reasoning, and fuzzy logic. The application of FLC
extends from industrial process control to biomedical instrumentation and
securities. Compared to conventional control techniques, FLC has been best
utilized in complex ill-defined problems, which can be controlled by an efficient
human operator without knowledge of their underlying dynamics.

Architecture of Fuzzy Logic Control

LABORATORY: AISC LAB 2


(Permanently Affiliated to University of Mumbai)
Department of Computer Engineering

Major Components of FLC

The principal components of an FLC system are a fuzzifier, a fuzzy rule base, a
fuzzy knowledge base, an inference engine, and a defuzzifier. It also includes
parameters for normalization. When the output from the defuzzifier is not a
control action for a plant, then the system is a fuzzy logic decision system.

Steps in Designing FLC

The various steps involved in designing a fuzzy logic controller are as follows:

Step 1: Locate the input, output, and state variables of the plane under
consideration.

Step 2: Split the complete universe of discourse spanned by each variable into a
number of fuzzy subsets, assigning each with a linguistic label. The subsets
include all the elements in the universe.

Step 3: Obtain the membership function for each fuzzy subset.

Step 4: Assign the fuzzy relationships between the inputs or states of fuzzy
subsets on one side and the output of fuzzy subsets on the other side, thereby
forming the rule base.

Step 5: Choose appropriate scaling factors for the input and output variables for
normalizing the variables between [0, 1] and [-1, I] interval.

Step 6: Carry out the fuzzification process.

Step 7: Identify the output contributed from each rule using fuzzy approximate
reasoning.

Step 8: Combine the fuzzy outputs obtained from each rule.

Step 9: Finally, apply defuzzification to form a crisp output.

LABORATORY: AISC LAB 3


(Permanently Affiliated to University of Mumbai)
Department of Computer Engineering

Advantages of Fuzzy Logic Control

✓ This system can work with any type of inputs whether it is imprecise,
distorted or noisy input information.
✓ The construction of Fuzzy Logic Systems is easy and understandable.
✓ Fuzzy logic comes with mathematical concepts of set theory and the
reasoning of that is quite simple.
✓ It provides a very efficient solution to complex problems in all fields of
life as it resembles human reasoning and decision making.
✓ The algorithms can be described with little data, so little memory is
required.

Disadvantages of Fuzzy Logic Control

✓ Many researchers proposed different ways to solve a given problem


through fuzzy logic which led to ambiguity.
✓ There is no systematic approach to solve a given problem through fuzzy
logic. Proof of its characteristics is difficult or impossible in most cases
because every time we do not get mathematical description of our
approach.
✓ As fuzzy logic works on precise as well as imprecise data so most of the
time accuracy is compromised.

Python Libraries for Fuzzy Logic

A Python library for fuzzy logic reasoning, designed to provide a simple and
lightweight API, as close as possible to natural language. Simple supports
Mamdani and Sugeno reasoning of any order, parsing any complex fuzzy rules
involving AND, OR, and NOT operators, using arbitrarily shaped fuzzy sets.
One of the famous Python libraries for fuzzy logic is scikit-fuzzy. Several fuzzy
logic algorithms have already been implemented on this library.
FuzzyWuzzy is a library of Python which is used for string matching. Fuzzy
string matching is the process of finding strings that match a given pattern.
Basically, it uses Levenshtein Distance to calculate the differences between
sequences.

LABORATORY: AISC LAB 4


(Permanently Affiliated to University of Mumbai)
Department of Computer Engineering

Application of Fuzzy Control Systems

FLC systems have proved to be very efficient in comparison with other


conventional control systems. The applications of FLC systems include:

• Traffic Control
• Steam Engine
• Aircraft Flight Control
• Missile Control
• Adaptive Control
• Liquid-Level Control
• Helicopter Model
• Automobile Speed Controller
• Braking System Controller
• Process Control (includes cement kiln control)
• Robotic Control
• Elevator (Automatic Lift) control;
• Automatic Running Control
• Cooling Plant Control
• Water Treatment
• Boiler Control;
• Nuclear Reactor Control;
• Power Systems Control;
• Air Conditioner Control (Temperature Controller)
• Biological Processes
• Knowledge-Based System
• Fault Detection Control Unit
• Fuzzy Hardware implementation and Fuzzy Computers

Conclusion: Thus, we have studied fuzzy controller system.

LABORATORY: AISC LAB 5

You might also like