SC 05
SC 05
SEMESTER – 3rd
LIVE SESSION - 5
Fuzzy Logic
• Fuzzy Logic: Handling Imprecise or Uncertain Information: An air conditioner adjusts its temperature
smoothly based on fuzzy logic for "slightly warm" or "a bit cool.“
• Partial Truths (Values Between 0 and 1): A car braking system applies partial pressure (e.g., 0.6) based on
the distance to the object.
• Membership Function: A washing machine adjusts its cycle based on how "moderately dirty" (0.7) the
clothes are.
• Fuzzy Rules (If-Then Statements):"If the road is slightly slippery, reduce speed by 20%" is a fuzzy rule in
autonomous driving.
• Control Systems: Traffic lights extend the green signal slightly longer when the traffic is moderately heavy.
• AI and Image Processing: Fuzzy logic adjusts image brightness to be "slightly brighter" during enhancement.
• Medical Diagnosis: A medical system concludes a 70% likelihood of disease based on a patient's fuzzy
symptoms.
Architecture of Fuzzy logic
The air conditioner measures the temperature (say After deciding the fan speed based on the
29°C) and converts it into a fuzzy set like "hot" with a fuzzy inputs, the system converts the result
membership value of 0.7. into a crisp output like "Set fan speed to 4."
• The input space (universe of discourse) could be the range of temperatures (e.g., 0°C to 40°C).
• The membership function for "warm" might map 25°C to a membership value of 0.7, indicating that
25°C is 70% "warm".
Fuzzy Control
• Human-like Thinking: Fuzzy control can mimic how humans think and make decisions.
Example: A washing machine adjusting its cycle time based on the dirtiness of clothes, rather than
using a fixed time.
• Acceptable Reasoning: Designed to provide results that are "good enough" rather than perfect.
Example: An air conditioner adjusting the temperature to a comfortable range, not necessarily an
exact degree.
• Human Deductive Thinking: Fuzzy logic simulates how humans draw conclusions.
Example: A car's cruise control system adjusting speed based on traffic flow.
Advantages:
• Flexibility in handling imprecise and uncertain inputs.
• Interpretable rules that are easy for humans to understand.
• Robustness to noisy or incomplete data.
Disadvantages:
• Subjectivity in defining linguistic terms and rules.
• Potential computational complexity for large systems.
• Requires expert knowledge to formulate accurate rules.