Writing a Fuzzy controller with Codewarrior

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Writing a Fuzzy controller with Codewarrior

6,015 Views
Anastasios
Contributor I
Hello all,
First of all my best wishes for the new forum, it is nice to have something so helpful.

Concerning my topic, I am trying to write a fuzzy controller in the 68HC912B32 EVB using codewarrior v3.1 .I would like to know if there is a C library in codewarrior for that purpose. Of course a tutorial, personal experience,links to examples or anything that you think I could use would be a great help.

Thank you in Advance

Anastasios
Labels (1)
Tags (1)
0 Kudos
5 Replies

817 Views
CrasyCat
Specialist III

Hello

There is no library available for fuzzy logic functions. If you wish to use fuzzy logic in your application, you will have to encode the fuzzy algorithm in inline assembler.

You can find useful information around using Fuzzy Logic instruction in the CPU12 Reference manual. 

CrasyCat

0 Kudos

817 Views
Anastasios
Contributor I
Thanks CrasyCat, I've already checked the CPU12RM and I hoped for an easier way. No detour here I quess :smileyhappy:

Message Edited by Anastasios on 02-14-200608:03 PM

0 Kudos

817 Views
MCP2006
Contributor I
You can create Fuzzy algos with Maple and output directly in C / Fortran etc.
0 Kudos

817 Views
Anastasios
Contributor I
Do you have an example I can relay on ? I have never used Maple before.
0 Kudos

817 Views
MCP2006
Contributor I
Writing fuzzy controllers with Maple 10:
 
have a look on their website - there are tons of sample files to download
which explain things better than I can.
 
sorry for the inconvenience, but it would fill pages and pages to explain.
 
 
 
0 Kudos