Fuzzy Logic..

Post Reply
Posts: 23
Joined: Wed May 21, 2008 11:53 am

Fuzzy Logic..

Post by NigmaTech » Mon Sep 22, 2008 12:12 am

Hi Lubin!

Is that possible to use Fuzzy Logic Toolbox and your blockset together in dsPIC?

Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France

Re: Fuzzy Logic..

Post by LubinKerhuel » Mon Sep 22, 2008 11:14 pm

i NigmaTech,

All blockset compatible with the Real Time Workshop (RTW) Embedded Coder can be used in model for dsPIC.
Fuzzy Logic Blockset is compatible with the Real Time Workshop (RTW) Embedded Coder thus it will work on dsPIC. (see http://www.mathworks.com/products/fuzzy ... tion2.html)

I did not used it yet. But the fuzzy logic blockset seems to use time consuming function (exponential in sigmoid function and so...)
Calculation are also done in floating point which is also time consumming.
Therefore, it will works find, but the calculations may be slow, it now depends on your needs...

If you are to use dsPIC efficiently, you may considere to convert the fuzzy logic blocks you will used into fixed point equivalent (use "look under mask" of the block). ... (you could for example use look up table instead of using the exponential floating point function and so on...)


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest