0% found this document useful (0 votes)
124 views8 pages

Isp568 Fa 2024

pastyear

Uploaded by

2022496522
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)
124 views8 pages

Isp568 Fa 2024

pastyear

Uploaded by

2022496522
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/ 8

CONFIDENTIAL 1 CS/JULY 2024/ISP568

UNIVERSITI TEKNOLOGI MARA


FINAL ASSESSMENT

COURSE : FUZZY LOGIC SYSTEMS


COURSE CODE : ISP568
EXAMINATION : JULY 2024
TIME : 3 HOURS

INSTRUCTIONS TO CANDIDATES

1. This question paper consists of three (3) parts : PART A, PART B and PART C.

2. Answer ALL questions in the Answer Section.

3. Please convert the Word file to PDF and Save As the following naming format (Group, Name,
Student ID -eg : CS2594A ALI ABQARI 2020676869).

4. Submission for the assignment will be sync to Turnitin, so any similar texts will be marked.

5. All answers need to be submitted to [email protected] – Email Title ->ISP568 Final


Assessment <Naming format - eg:CS2594A ALI ABQARI 2020676869> within the given
time.

6. Answer ALL questions in English.

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 2 CS/JULY 2024/ISP568

This examination paper consists of 8 pages


NAME :
STUDENT ID :
GROUP :

PART A :
Answer ALL questions in the Answer Section.
Identify whether the statement is TRUE or FALSE.

T/F
1. Fuzzy logic can only be applied to linear systems.
2. in fuzzy logic, a membership function defines how each point
in the input space is mapped to a membership value between
-∞ and +∞.
3. Fuzzy sets allow partial membership, meaning an element can
belong to multiple sets to varying degrees.
4. The statement "Tom is a very tall guy" is an example of a fuzzy
rule.
5. Fuzzy logic provides a way to make decisions with imprecise
and uncertain information.
6. The process of converting crisp input values to fuzzy values is
called defuzzification.
7. In a fuzzy expert system, the inference engine is responsible
for applying fuzzy rules to the fuzzified inputs to generate fuzzy
outputs.
8. One advantage of fuzzy logic is its ability to handle nonlinearity
and uncertainty in control systems.
9. A fuzzy rule in the form "IF Temperature is High THEN Fan
Speed is Fast" uses linguistic variables and values.
10. The centroid method is a commonly used technique for
fuzzification in fuzzy logic systems.

(20 marks)

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 3 CS/JULY 2024/ISP568

PART B :
Answer ALL questions in the ANSWER Section.

a) Validate the membership given below, either correct or incorrect. Briefly elaborate
your answer.

The degree of memberships for Speed graph are :

𝜇!"#$ = Y1
𝜇%&' = Y2
ANSWER:

(4 marks)

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 4 CS/JULY 2024/ISP568

b) Identify whether the graph sketched is correct given the membership function as
below. Please justify your answer.

0 for 𝑥 ≤ 4
)
(𝑥 − 4) for 4 < 𝑥 ≤ 16
2+ /
17
𝜇( (𝑥)= )
(𝑥 − 17) for 14 < 𝑥 ≤ 16
1 − 2+ /
17
1 for 𝑥 > 16

1 for 𝑥 ≤ 4
)
(𝑥 − 4) for 4 < 𝑥 ≤ 16
1 − 2+ /
17
𝜇* (𝑥)= )
(𝑥 − 17) for 14 < 𝑥 ≤ 16
2+ /
17
0 for 𝑥 > 16

Graph :

ANSWER:

(6 marks)

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 5 CS/JULY 2024/ISP568

c) Identify whether the calculation of COG given is correct. Please justify your answer.

25 50 75

ANSWER:

(4 marks)

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 6 CS/JULY 2024/ISP568

PART C
Answer in Your Own Paper, Attach the Answer with the Question Paper.

QUESTION 1

Consider the following fuzzy rules of Air Purifier Fuzzy Control System.

Rule 1 : IF Dust Level is Low


AND Odor Level is None
THEN Fan Speed is Low

Rule 2 : IF Dust Level is Medium


AND Odor Level is Mild
THEN Fan Speed is Medium

Rule 2 : IF Dust Level is High


AND Odor Level is Strong
THEN Fan Speed is High

Given the membership value for each of the input are as follows:
Dust Level Odor Level
𝜇%&' = 0.5 𝜇+&,- = 0.8
𝜇.-/"01 = 0.3 𝜇."2/ = 0.4
𝜇!"#$ = 0.6 𝜇345&,# = 0.5

a) Based on the given rules, list the fuzzy variables and fuzzy values.
(3 marks)

b) Assume the following singleton values for the output variable.

𝜇%&' = k1 (25)
𝜇.-/"01 = k2 (55)
𝜇!"#$ = k3 (85)

Calculate the crisp value using weighted average.


(8 marks)

c) Sketch the rule evaluation graph for Rule 1, Rule 2 and Rule 3 based on Sugeno-style
inference, assuming all membership functions are triangular graphs.
(9 marks)

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 7 CS/JULY 2024/ISP568

QUESTION 2

Consider the following Conventional Control Block System diagram.

a) Define the objective of Control System.


(2 marks)

b) Redraw the Conventional Control Block System, when the Fuzzy Control System is
being adapted.
(4 marks)

c) Explain FOUR (4) components of the fuzzy logic controller.


(8 marks)

d) Elaborate the mechanism to design the Fuzzy Logic Control in Electric Vehicle(EV)
Speed Regulation. Consider the following as the input and output variable :
Input : Desired Speed, Current Speed
Output : Acceleration Command (To command the acceleration to EV)

In your answer, explain in detail the end-to-end mechanism of fuzzy logic control system,
including membership graphs and fuzzy logic control processes.
(16 marks)

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 8 CS/JULY 2024/ISP568

QUESTION 3

Consider the following fuzzy rules of Air Purifier Fuzzy Control System.

Rule 1: Rule 1’:

IF x is A1 IF Current Room Temperature is Low

AND y is B3 OR Desired Temperature is High

THEN z is C3 THEN Heater Power is High

Rule 2: Rule 2’:

IF x is A2 IF Current Room Temperature is Medium

AND y is B2 AND Desired Temperature is Medium

THEN z is C2 THEN Heater Power is Medium

Rule 3: Rule 3’:

IF x is A3 IF Current Room Temperature is High

AND y is B1 AND Desired Temperature is Low

THEN z is C1 THEN Heater Power is Low

a) Draw the diagram of ANFIS architecture using the fuzzy rules given above.
(6 marks)

b) Based on the answer in a), explain the process of each layer.


(12 marks)

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL

You might also like