Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
98 views5 pages

Fuzzy Solved Maths

The document presents problems and solutions related to Mamdani and Sugeno fuzzy models, focusing on applications such as fan speed control based on temperature and rainfall prediction based on humidity. It details the fuzzification process, rule application, and defuzzification methods for each scenario, providing final outputs for fan speed, rainfall intensity, heater output, and car acceleration. Each problem is systematically approached, demonstrating the use of fuzzy logic in real-world situations.

Uploaded by

iqoo20000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views5 pages

Fuzzy Solved Maths

The document presents problems and solutions related to Mamdani and Sugeno fuzzy models, focusing on applications such as fan speed control based on temperature and rainfall prediction based on humidity. It details the fuzzification process, rule application, and defuzzification methods for each scenario, providing final outputs for fan speed, rainfall intensity, heater output, and car acceleration. Each problem is systematically approached, demonstrating the use of fuzzy logic in real-world situations.

Uploaded by

iqoo20000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Mamdani Fuzzy Model Problems

Problem 1: Design a Simple Mamdani Fuzzy Inference System

Question:

A fuzzy system controls a fan speed based on room temperature. The input (temperature) and
output (fan speed) are described as follows:

Fuzzy Sets for Temperature:

 Low: (0,1), (10,1), (20,0)


 Medium: (10,0), (20,1), (30,0)
 High: (20,0), (30,1), (40,1)

Fuzzy Sets for Fan Speed:

 Slow: (0,1), (10,1), (20,0)


 Medium: (10,0), (20,1), (30,0)
 Fast: (20,0), (30,1), (40,1)

Rules:

1. IF Temperature is Low THEN Fan Speed is Slow


2. IF Temperature is Medium THEN Fan Speed is Medium
3. IF Temperature is High THEN Fan Speed is Fast

For a given temperature of 25°C, determine the fan speed using Mamdani Fuzzy Model.

Solution:

Fuzzification:

 Medium Membership at 25°C:

30−25
𝜇Medium (25) = = 0.5
30−20

High Membership at 25°C


25−20
𝜇High (25) = = 0.5
30−20

Apply Rules:

 Rule 2: Medium Temperature → Medium Speed (0.5)


 Rule 3: High Temperature → Fast Speed (0.5)

Defuzzification using Centroid Method:


(0.5×20)+(0.5×30) 10+15
= = = 25
0.5+0.5 1

Final Fan Speed: 25 RPM

Problem 2: Mamdani Fuzzy Model for Rainfall Prediction

Question:

A fuzzy system predicts rainfall intensity based on humidity (input).

Fuzzy Sets for Humidity:

 Low: (0,1), (30,1), (60,0)


 Medium: (30,0), (60,1), (90,0)
 High: (60,0), (90,1), (100,1)

Fuzzy Sets for Rainfall Intensity:

 Low: (0,1), (10,1), (20,0)


 Medium: (10,0), (20,1), (30,0)
 High: (20,0), (30,1), (40,1)

Rules:

1. IF Humidity is Low THEN Rainfall is Low


2. IF Humidity is Medium THEN Rainfall is Medium
3. IF Humidity is High THEN Rainfall is High

For Humidity = 75%, determine Rainfall Intensity.

Solution:

1. Fuzzification:
o Medium Membership at 75%:

90−75
𝜇Medium (75) = 90−60 = 0.5

2. High Membership at 75%:


75 − 60
𝜇High (75) = = 0.5
90 − 60
 Apply Rules:

 Rule 2: Medium Humidity → Medium Rainfall (0.5)


 Rule 3: High Humidity → High Rainfall (0.5)

 Defuzzification using Centroid Method:

(0.5 × 20) + (0.5 × 30)


Rainfall =
0.5 + 0.5
10+15
= = 25
1

Final Rainfall Intensity: 25 mm/hr

Sugeno Fuzzy Model Problems


Problem 3: Design a Simple Sugeno Model

Question:

A Sugeno-type fuzzy system is used to control a heater based on room temperature (T).
The output is a linear function of temperature:

Rules:

1. IF Temperature is Low THEN Output = 10


2. IF Temperature is Medium THEN Output = 0.5T+50.5T + 50.5T+5
3. IF Temperature is High THEN Output = 2T

For a temperature of 25°C, determine the output.

Solution:

1. Fuzzification:
o Medium Membership at 25°C:

30−25
𝜇Medium (25) = = 0.5
30−20

2. High Membership at 25°C:


25−20
𝜇High (25) = 30−20 = 0.5

Apply Rules:

 Rule 2: Medium Temperature → Output = 0.5(25) + 5 = 17.5


 Rule 3: High Temperature → Output = 2(25) = 50

Final Output using Weighted Average Method:

(0.5 × 17.5) + (0.5 × 50)


Output =
0.5 + 0.5

𝟖.𝟕𝟓+𝟐𝟓
= = 𝟑𝟑. 𝟕𝟓
𝟏

Final Output: 33.75

Problem 4: Sugeno Model for Speed Control

Question:

A Sugeno-based fuzzy system determines car acceleration (A) based on speed (S). The
rules are:

1. IF Speed is Low THEN 𝐴 = 20


2. IF Speed is Medium THEN 𝐴 = 0.4𝑆 + 10
3. IF Speed is High THEN 𝐴 = 0.2𝑆 + 5
4. For Speed = 60 km/h, determine Acceleration.

Solution:

1. Fuzzification:

Medium Membership at 60 km/h: 𝜇Medium (60) = 0.5

2. High Membership at 60 km/h: 𝜇High (60) = 0.5


3. Apply Rules:
o Rule 2: 𝐴 = 0.4(60) + 10 = 34
o Rule 3: 𝐴 = 0.2(60) + 5 = 17
4. Final Output using Weighted Average Method:
(0.5 × 34) + (0.5 × 17)
𝐴=
0.5 + 0.5
17+8.5
= = 25.5
1

Final Acceleration: 25.5 km/h²

You might also like