??? 07/17/05 21:10 Read: times |
#97532 - Some tips. Responding to: ???'s previous message |
I recently implemented a fuzzy logic controller for an elevator using 8052.
I chose to use a Takagi Sugeno model because it was simple to program and didn't take much time. To make the membership functions you have two choices: a) you can calculate the value that the function takes using math routines. b) you can make a table of the function values in code memory and access them via movc. I chose this one. Instead of using numbers from 0 to 1 I used from 0 to 100 which resolved the fixed point problem. Zero order takagi models are the easiest to implement. The math involved is quite simple if you go with option b). Other methods require many multiplications and stuff which usually take too long. I found the Matlab Fuzzy Logic Tutorial and toolbox to be quite interesting; I also have a 40 page tutorial which might be helpful. Be warned however that it has quite a lot set theory math. |
Topic | Author | Date |
Fuzzy logic using 8052... | 01/01/70 00:00 | |
Lots of fuzz | 01/01/70 00:00 | |
tehnique | 01/01/70 00:00 | |
Possible | 01/01/70 00:00 | |
example questions | 01/01/70 00:00 | |
Yes | 01/01/70 00:00 | |
Why Assembler? | 01/01/70 00:00 | |
My spec is assembler | 01/01/70 00:00 | |
didide and conquer | 01/01/70 00:00 | |
Alrighty then | 01/01/70 00:00 | |
ooo...my god | 01/01/70 00:00 | |
Fool me once... | 01/01/70 00:00 | |
to Dan | 01/01/70 00:00 | |
Rigel link | 01/01/70 00:00 | |
Re: Lots of fuzz (link) | 01/01/70 00:00 | |
Some suggestions | 01/01/70 00:00 | |
Yup... | 01/01/70 00:00 | |
To James | 01/01/70 00:00 | |
Rigel service improved? | 01/01/70 00:00 | |
Some tips. | 01/01/70 00:00 | |
The Matlab first | 01/01/70 00:00 | |
Link | 01/01/70 00:00 | |
Thank You Andres | 01/01/70 00:00 | |
Fuzzy logic is still being used? | 01/01/70 00:00 | |
Absolutely, Andy | 01/01/70 00:00 | |
Real world![]() | 01/01/70 00:00 | |
Fuzzy logic | 01/01/70 00:00 | |
Finish | 01/01/70 00:00 | |
comp.ai.fuzzy | 01/01/70 00:00 | |
Byte Craft Fuzz-C | 01/01/70 00:00 | |
Nice Link:) | 01/01/70 00:00 |