Question
Objective The objective of this task is: To design fuzzy system for air-conditioner temperature based on fuzzy logic To develop a fuzzy system for air-conditioner
Objective | The objective of this task is:
| |
Design | The design of this system involves two inputs unit of number of people and time of the day. Whereas, the output turns out by the system is a temperature value of the air condition. | |
|
Figure 1: The Design of an Intelligent Air Conditioner System | |
Fuzzification | Fuzzification is the method of decomposing the input and/or output of the system into one or more fuzzy sets. Many types of curves and tables can be used, but triangular or trapezoidal membership functions are the most common, as they are simpler to represent in embedded controllers.
| |
| Input 1:
Input 2:
Output:
| |
Description | Membership function | Membership graph |
PEOPLE
|
|
|
TIME
|
|
|
TEMPERATURE
|
|
|
The pseudo code:
| Enter the value of number of people. Assign the value entered as variable named PEOPLE
Initialize the value of x0, x1, x2, x3, label1, label2, label3 x0 =4 x1 = 10 x2 = 16 x3 = 20 label1 = few label2 = many label3 = toomany
If PEOPLE x0 Label1 = 1.0 Label2 = 0.0 Label3 = 0.0
If x0 < PEOPLE x1 Label1 = (PEOPLE x1) / (x0 x1) Label2 = (PEOPLE x0) / (x1 x0) Label3 = 0.0
If x1 < PEOPLE x2 Label1 = 0.0 Label2 = 1.0 Label3 = 0.0
If x2 < PEOPLE x3 Label1 = 0.0 Label2 = (PEOPLE x3) / (x2 x3) Label3 = (PEOPLE x2) / (x3 x2)
PEOPLE x3 Label1 = 0.0 Label2 = 0.0 Label3 = 1.0
|
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started