Fuzzy reasoning
Fuzzy reasoning
intelligence into a system through fuzzy IF-THEN rules, allowing for the handling of
transitional values between absolute truth and absolute false using fuzzy sets with
membership degrees.
Fuzzy Logic (FL) is a method of reasoning that resembles human reasoning. The approach of
FL imitates the way of decision making in humans that involves all intermediate possibilities
between digital values YES and NO.
The conventional logic block that a computer can understand takes precise input and
produces a definite output as TRUE or FALSE, which is equivalent to human’s YES or NO.
The inventor of fuzzy logic, Lotfi Zadeh, observed that unlike computers, the human decision
making includes a range of possibilities between YES and NO, such as −
CERTAINLY YES
POSSIBLY YES
CANNOT SAY
POSSIBLY NO
CERTAINLY NO
The fuzzy logic works on the levels of possibilities of input to achieve the definite output.
Fuzzy Logic Systems Architecture
It has four main parts as shown −
Its Architecture contains four parts :
RULE BASE: It contains the set of rules and the IF-THEN conditions provided by the
experts to govern the decision-making system, on the basis of linguistic information.
Recent developments in fuzzy theory offer several effective methods for the design and
tuning of fuzzy controllers. Most of these developments reduce the number of fuzzy
rules.
FUZZIFICATION: It is used to convert inputs i.e. crisp numbers into fuzzy sets. Crisp
inputs are basically the exact inputs measured by sensors and passed into the control
system for processing, such as temperature, pressure, rpm’s, etc.
INFERENCE ENGINE: It determines the matching degree of the current fuzzy input
with respect to each rule and decides which rules are to be fired according to the input
field. Next, the fired rules are combined to form the control actions.
DEFUZZIFICATION: It is used to convert the fuzzy sets obtained by the inference
engine into a crisp value. There are several defuzzification methods available and the
best-suited one is used with a specific expert system to reduce the error.
Membership function
Definition: A graph that defines how each point in the input space is mapped to
membership value between 0 and 1. Input space is often referred to as the universe of
discourse or universal set (u), which contains all the possible elements of concern in each
particular application.
What is Fuzzy Control?
It is a technique to embody human-like thinkings into a control system.
It may not be designed to give accurate reasoning but it is designed to give acceptable
reasoning.
It can emulate human deductive thinking, that is, the process people use to infer
conclusions from what they know.
Any uncertainties can be easily dealt with the help of fuzzy logic.
Define if-then fuzzy rules to describe the relationship between input features and
classes.
Example:
o If (temperature is HIGH) and (humidity is LOW), then (Pattern = Sunny Day).
o If (temperature is MEDIUM) and (humidity is HIGH), then (Pattern = Rainy
Day).
Fuzzy Logic-Based
Feature Classical Pattern Recognition
Recognition
Handling Uncertainty Good Poor
Overlapping Classes Managed with fuzzy sets Requires strict boundaries
Noise Tolerance High Low
Mathematical Complexity Moderate Often high (e.g., deep learning)
Interpretability Easy (rule-based) Hard (e.g., black-box models)
Let’s consider a simple fuzzy system for recognizing weather patterns based on temperature
and humidity.
Cold: 0–15°C0–15°C0–15°C
Moderate: 10–25°C10–25°C10–25°C
Hot: 20–40°C20–40°C20–40°C
Low Humidity: 0–400–40%0–40
Medium Humidity: 30–7030–70%30–70
High Humidity: 60–10060–100%60–100
Example: Let us consider an air conditioning system with 5-level fuzzy logic system. This
system adjusts the temperature of air conditioner by comparing the room temperature and the
target temperature value.
A 5-level fuzzy logic system for an air conditioning system adjusts the air conditioner’s
temperature by comparing the room temperature with the target temperature. Here’s how
it works:
The system uses five linguistic variables to define the temperature difference:
A set of fuzzy rules determines the air conditioner’s cooling or heating intensity. Example
rules:
4. Defuzzification:
The fuzzy output is converted into a precise value using methods like centroid
method.
The air conditioner adjusts its temperature setting accordingly