Dear Lubin:
We are designing a fuzzy logic controller (Mandani) using matlab and simulink dspic tool and the idea is to implement it into a dsPIC33fj128mc802.
At the compilation process we obtain an error message.
Can you please help me to fix this problem please.
I send you the files of my controller. Thank you.
Sincerely,
Ricardo
fuzzy logic controlller
-
- Posts: 2
- Joined: Wed Sep 14, 2011 11:03 pm
fuzzy logic controlller
- Attachments
-
- FUZZY.rar
- (9.64 KiB) Downloaded 1740 times
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: fuzzy logic controlller
Hi Ricardo,
I could not open the fuzzy-logic block of yoru model as I do not have the Fuzzy-Logic Toolbox.
Anyway, The model seems fine otherwise.
Usually, theses fuzzy-logic blocks use a lot of memory as they implement huge look-up table for sigmoide function or similar.
Could you copy-past the error you get ?
Lubin
I could not open the fuzzy-logic block of yoru model as I do not have the Fuzzy-Logic Toolbox.
Anyway, The model seems fine otherwise.
Usually, theses fuzzy-logic blocks use a lot of memory as they implement huge look-up table for sigmoide function or similar.
Could you copy-past the error you get ?
Lubin
-
- Posts: 2
- Joined: Wed Sep 14, 2011 11:03 pm
Re: fuzzy logic controlller
Hi lubin,
thank you for your response.
In fact actually my project do not show any error, now it generate the dspic code, but when I try to program the system, it does not nothing.
I check the memory usage and its ok, so is not a memory problem.
I thank you your help.
Ricardo
thank you for your response.
In fact actually my project do not show any error, now it generate the dspic code, but when I try to program the system, it does not nothing.
I check the memory usage and its ok, so is not a memory problem.
I thank you your help.
Ricardo
Re: fuzzy logic controlller
Hi Ricardo,
I was curious about your post so had a quick look. I notice that you have 1ms sample time (relatively fast) but are only running the processor at 2.00 MIPS. Perhaps the processor is unable to complete the task within the 1ms period. Crank up the MIPS by a factor of 10 and you may see a result?
Dave.
I was curious about your post so had a quick look. I notice that you have 1ms sample time (relatively fast) but are only running the processor at 2.00 MIPS. Perhaps the processor is unable to complete the task within the 1ms period. Crank up the MIPS by a factor of 10 and you may see a result?
Dave.
Who is online
Users browsing this forum: No registered users and 17 guests