Hi Lubin!
Is that possible to use Fuzzy Logic Toolbox and your blockset together in dsPIC?
Fuzzy Logic..
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: Fuzzy Logic..
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...)
Lubin
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...)
Lubin
Who is online
Users browsing this forum: No registered users and 5 guests