simscape/simelectronics stepper motor model not compatible with fuzzy logic controller?

hi all, i have a project where im supposed to compare fuzzy and pid controllers for wind turbine yaw movement. Stepper motors are appropriate for this purpose but i cant seem to use the simscape stepper model ( elec_controlled_stepper.mdl) with fuzzy controller. It outputs model error and tons of errors for every block. I want to use the controller just to compute the number of pulses at the driver input that correspond to angle degrees. Some of the errors are: Input data dependency violation due to action subsystems. See Subsystem Examples in the Simulink library for valid and invalid examples of action subsystems. Input ports (Action) of 'simstepper/Fuzzy Logic Controller/FIS Wizard/Defuzzification1/Action: One' are involved in the loop* ( this error comes for every fuzzy controller block)

댓글 수: 1

While I don't know the answer to your question, perhaps this FEX submission may help. Wish there was more Simscape traffic here to help you.

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

답변 (2개)

Guy Rouleau
Guy Rouleau 2012년 6월 29일
As the error says... I recommend looking at the Subsystems Examples.
More specificaly, give a look as "sl_subsys_semantics.mdl". You will see many examples and one of them should be representative of your situation.
Based on your comments, it looks like you have an Enabled/Triggered/Fcn-call subsystem in a loop. To give a chance to the Simulink engine to resolve the system, you will need to add a delay in the loop.
giorgis
giorgis 2012년 7월 12일
i finally switched to a simpowersystems stepper motor model and it works fine, thanx for the answers though

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

질문:

2012년 6월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by