필터 지우기
필터 지우기

errors while implementing a fuzzy logic controller with feedback ...

조회 수: 8 (최근 30일)
dipan
dipan 2011년 10월 28일
댓글: Sam Chak 2022년 6월 30일
hi i have a simple temperature control simulink model which I am trying to control using fuzzy logic controller. One input (error between the desired and actual temperature) and one output (control voltage of heater).. however i am getting tons of errors while simulating, some which are:
1. "Input data dependency violation due to action subsystems. See Subsystem Examples in the Simulink library for valid and invalid examples of action subsystems" 2. Input ports (Action) of ".. my model path... " are involved in the loop
there are plenty of more errors all mentioning the "involved in the loop"issue. if i remove the feedback loop and just provide some random no. as my error variable then everything works fine.
any ideas on what might be going wrong ? any suggestions ?
thanks, dipan

답변 (3개)

Vidhya Dharshini
Vidhya Dharshini 2014년 2월 4일
Try including a memory block or a delay block in feedback loop.....then the system will work fine.

Shashank
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 inputs of Fuzzy Logic Controller.This will avoid the Algebraic loop.
  댓글 수: 2
Prana
Prana 2022년 6월 30일
Although an old question, I am also facing the same issue. Kindly give more details about adding this delay block
Sam Chak
Sam Chak 2022년 6월 30일
Why not post a new question and put up your Fuzzy System to show where the error has occured?

댓글을 달려면 로그인하십시오.


behzad behzad
behzad behzad 2014년 1월 23일
I have same problem.please answer

카테고리

Help CenterFile Exchange에서 Fuzzy Logic in Simulink에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by