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.
댓글 수: 1
참고 항목
카테고리
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!