Problem with Fuzzy controller blocks in simulink
14 次查看(过去 30 天)
显示 更早的评论
I've already developed a control model by using fuzzy controller in simulink. there are some problems that seems like bugs. If you just agree with me please let me know how can I report this bugs to Mathworks respondents?
1. When I use a fuzzy controller block with rule viewer, the block output is zero all the time however rule viewer works properly and show true outputs. When I try to show block output signal by using the tool show value label of the port I see that the value is grounded all the time.
2. The aforementioned problem does not exist for the fuzzy controller block without rule viewer. But there is another problem. The fuzzy controller works properly since a point time and after that reports zero in the rest of the simulation. I'm sure that this problem does not come from my fuzzy structure file and rule base because I've checked it outside simulink in programming environment. it works properly.
Thanks in advance
Pouya
4 个评论
Mohamed ARRACH
2024-8-16
Dear Staff and members,
I have the same issue on my Fuzzy block which display only zero value on Matlab R2017b in a P&O MPPT algorithm model. Can you help me please ?
Francis-Kabangu Tshibangu
2024-11-9,19:25
Hi Pouya, I’ve read your comment on fuzzy logic controller. It is a subject I’m working on. Please, I would like to know what you would like to do and get output grounded. Which method are you using to get the fuzzy logic controller output? Knowing that I may know the wrong thing in the process. Please, I am waiting to read from you soon if possible. Thanks
采纳的回答
更多回答(3 个)
alexandre
2013-5-3
Hallo dear Jamali / Ryan G,
First of all, sorry for my english, i hope you can read it and understand me well !
i have the same problem using fuzzy logic ! After giving all the rules and implement a fuzzy block in simulink, i have a permanent zero as output !
while looking in the fuzzy rules viewer, it seems all to be ok... but while implement it in Simulink..."don´t get enough zero" !!!
I look in the FIS WIZARD (Model Browser) and i have see that they are some ports who are not connected ( maybe the reason of this permanent zero )... i have made some screenshots and maybe i can mail them to you !
I suspect that this error is running under Matlab 2010a , while when i use Matlab 2012 i don´t have this problem ( but i have to test it one more time
I hope you can understand my sentences and maybe you have a solution of this bug
0 个评论
Boyan Xie
2019-9-11
Hi Pouya,
I run into some similar situation as you did. It seems no matter how I manipulate the range of MFs, the output of the FLC is always zero. I wonder how exactly did you solve the problem for yourself?
Cheers,
Peter
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!