Errors in feedback control after setting the input of a prismatic joint to motion/provided by input

조회 수: 2 (최근 30일)
Hello, I am currently controlling the prismatic joint actuators of a Stewart platform using Simulink. I have set the input to motion/provided by input in order to change the position of the eight actuators over time. However, when I try to perform feedback control in the simulation, I encounter errors as shown in the image below. Feedback control works when the input is set to force, but why do these errors occur when the input is set to motion? If anyone knows the answer, I would be very grateful for your help.

채택된 답변

Divyanshu
Divyanshu 2024년 8월 6일
A possible reason for such errors is that an algebraic loop is formed in your model when input is set to motion.
For more information about identification and removal of algebraic loops have can refer the following links:
Hope it helps!
  댓글 수: 2
석준
석준 2024년 8월 6일
Thank you very much! By using the Unit Delay block, I was able to solve the algebraic loop problem in the feedback model.
Yifeng Tang
Yifeng Tang 2024년 8월 7일
Unit Delay may work just fine, or create some numerical inefficiency, depending on the nature of the rest of your system. You may check the step sizes and solver resets using Solver Profiler and see if that's the case. One potential concern is mixing discrete block (Unit Delay) with continuous ones (Simscape). If indeed that gives you issues, consider replace the Unit Delay with a Transfer Fcn block, with a reasonable time constant.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Trimming and Linearization에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by