fuzzy sets design problem - fuzzy controller with only C

Status
Not open for further replies.

KrAK3N

Newbie level 6
Joined
Mar 7, 2007
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,350
fuzzy sets design

hello everybody

my small question is next

how can i do to create a triangular fuzzy set in C language and represent the main points in this fuzzy set

the idea is create a fuzzy controller with only C so i need a guide to achieve that

an idea of what i want to do appears in the jpg file attached

please help me that im stucked

thanks
 

Re: fuzzy sets design

hello

i made a fuzzy controller in C for a 8051.you can use the book "8051 final word" to see how a fuzzy algorithm is implemented.The solution to your problem is to code the triangle in this way:you use 4 constants
1) is the value of the left point
2) is the value for the middle point
3) is the value for the right point
4) is the slope of the triangle
2
/\
1/ \3 4 is the slope
 
Reactions: zueyan

    KrAK3N

    Points: 2
    Helpful Answer Positive Rating

    zueyan

    Points: 2
    Helpful Answer Positive Rating
how i can create the slope fuzzy logic using ccs software..actually my task is to do fuzzy logic control water heater using PIC 18F4550....i want to know how to start it....
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…