Input ports (1, 2) of 'untitled/Fuzzy Logic Controller/FIS Wizard/Defuzzification1/Merge' are involved in the loop
20 次查看(过去 30 天)
显示 更早的评论
Hello,
while implementing a fuzzy-controller with two inputs and one output in Simulink i got the following fault message:
Input ports (1, 2) of 'untitled/Fuzzy Logic Controller/FIS Wizard/Defuzzification1/Merge' are involved in the Loop
I know that there will be many reasons for it, but what does this fault in general mean ?
Thanks a lot and best regards,
A. Reinmuth
0 个评论
回答(1 个)
Shashank
2016-12-30
This may be a case of Algebraic loop formed. Basically, algebraic loops occur when an input port with direct feedthrough is driven by the output of the same block, either directly, or by a feedback path through other blocks which have direct feedthrough.
Algebraic loops are difficult to solve mathematically. Simulink does have algebraic loop solvers that will attempt to resolve this situation iteratively and give the correct answer, which in a lot of cases it does.
You can try placing unit delay blocks before the two inputs of Fuzzy Logic Controller.This will avoid the Algebraic loop.
另请参阅
类别
在 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!