Unit 3 Fuzzy
Unit 3 Fuzzy
1. Introduction
In the real world, many situations are not black and white (true or false), but rather
shades of gray. For example:
A Fuzzy System is a rule-based system that uses fuzzy logic to make decisions or
inferences. It is especially useful in systems that must deal with human-like
reasoning.
1. Fuzzification Module:
o Converts crisp input values (like temperature = 40°C) into fuzzy values
(like “high temperature” with membership 0.8).
2. Fuzzy Rule Base:
3. Inference Engine:
o Applies the fuzzy rules to the fuzzified inputs to derive fuzzy outputs.
4. Defuzzification Module:
Example:
Common types:
Triangular
Trapezoidal
Gaussian
3.3 Linguistic Variables
Washing Machines:
Automatically adjusts wash time and water level based on load weight and
dirtiness.
Rules like:
Cement Kilns:
Fuzzy systems control temperature and raw material flow to ensure quality
and reduce fuel usage.
6.3 Transportation
Automobiles:
Gear shifting
Traction control
Subway Systems:
Japan uses fuzzy control in train braking systems to ensure smooth stops.
Fuzzy systems help diagnose diseases based on symptoms that are often vague or
overlapping.
Example:
6.5 Robotics
Robots deal with uncertain and noisy environments. Fuzzy logic helps:
In path planning
Obstacle avoidance
Motion control
6.7 Agriculture
Used in:
Example:
10. Conclusion
Fuzzy systems are powerful tools to model and control complex, imprecise, and
uncertain systems. They are widely used in both everyday appliances and high-
end industrial systems. Their ability to represent human knowledge in a formal
way makes them invaluable in real-world decision-making applications.
Though they have some limitations, they can be combined with techniques like
neural networks or genetic algorithms to create adaptive systems (e.g., neuro-
fuzzy systems) that learn from data and improve over time.
1. Fuzzy Sets
Definition
Fuzzy sets are an extension of classical (or "crisp") sets. In classical sets, an element
either belongs or does not belong to the set. But fuzzy sets allow partial
membership, which is useful when dealing with imprecise or uncertain data.
Membership Function
In fuzzy sets, each element has a membership degree (μ) ranging between 0 and
1:
μ = 1: Fully belongs
μ = 0: Does not belong
0 < μ < 1: Partially belongs
Example
Let’s define a fuzzy set "Tall":
Unlike classical logic where someone is either tall or not, fuzzy logic gives a degree
of tallness.
Types
Approximate Reasoning: Deals with conclusions that are not absolutely
true but are likely.
Inference Mechanism
The reasoning is performed by matching fuzzy input values to the rules and
combining the results using fuzzy logic operations.
Example
Suppose:
Fuzzy reasoning concludes that the fan should run at a "fast" speed with intensity
0.7.
Components of FIS
1. Fuzzification: Converts crisp input to fuzzy values.
2. Rule Base: Contains IF-THEN rules based on expert knowledge.
3. Inference Engine: Applies rules to derive fuzzy output.
4. Defuzzification: Converts fuzzy output back to crisp values.
Types of FIS
Mamdani Model: Most common; uses fuzzy rules and sets for both input
and output.
Sugeno Model: Outputs are linear functions or constants; used in control
systems.
Rules:
FIS maps input values through fuzzy rules and gives output like "30 minutes".
4. Fuzzy Control
Definition
Fuzzy control refers to the use of fuzzy logic to manage dynamic systems where
precise mathematical models are hard to define.
The controller adjusts the fan speed or compressor level based on the rules.
5. Fuzzy Clustering
Definition
Fuzzy clustering is a method of grouping data into clusters with partial
membership instead of assigning each data point to one cluster only.
Example
Customer Segmentation:
2. Automotive
Automatic Gear Control: Adjusts gear based on fuzzy logic of speed and
throttle.
Anti-lock Braking Systems (ABS): Makes decisions based on road grip
fuzziness.
Cruise Control: Maintains vehicle speed with fuzzy tuning.
3. Healthcare
Medical Diagnosis Systems: Fuzzy logic helps to manage symptoms that
don’t have sharp boundaries (e.g., blood pressure: normal/high).
Patient Monitoring: Fuzzy systems analyze fuzzy indicators like heart rate,
oxygen levels.
4. Industrial Automation
Robot Control: Helps in tasks like navigation, gripping, and balancing.
Process Control: Used in cement factories, chemical plants, etc., where
systems are non-linear and uncertain.
6. Pattern Recognition
Voice and Speech Recognition: Handles uncertain, noisy audio inputs.
Image Processing: Used in edge detection, noise filtering with fuzzy
clustering.
7. Agricultural Systems
Irrigation Control: Based on fuzzy logic combining temperature, soil
moisture, and humidity.
Crop Yield Prediction: Fuzzy inference based on rainfall, fertilizer, and seed
quality.
Conclusion
Fuzzy logic and fuzzy systems provide powerful tools to handle imprecision,
uncertainty, and human-like reasoning in computing systems. Unlike traditional
binary logic, fuzzy logic supports gradual transitions, which makes it ideal for
real-world applications like control systems, pattern recognition, and decision-
making. Whether it’s controlling a washing machine, diagnosing a disease, or
segmenting customers in marketing, fuzzy systems offer flexible and intelligent
solutions where traditional mathematical models fall short.