Professional Documents
Culture Documents
Lab 3 - Implementation Tutorial Ce888 - Fuzzy Logic Hybrid Systems
Lab 3 - Implementation Tutorial Ce888 - Fuzzy Logic Hybrid Systems
Lab 3 - Implementation Tutorial Ce888 - Fuzzy Logic Hybrid Systems
FLC Architecture
Inputs
1 , 2
Outputs
1 , 2
Antecedents, consequents
Fuzzy membership functions
Think through the steps in the architecture and make sure you understand and
reason.
Work out how to divide the complex task into smaller ones.
Implementation of Fuzzification
: number of input
: number of rule
: antecedent membership function for input and rule
: input
struct structure_name {
member1
member2
member3
.
};
Further Thinking
How to implement a method that will get the membership function and the
input as a parameter and return the degree of membership?
Useful To Do
Look after your pointers and make sure you pass by reference to the functions
in your code.
When finished with one task, test it to make sure that it is working properly.
It is more efficient to tune your membership functions when you are working on
the real application.
References