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

1 次查看(过去 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 中查找有关 Assembly 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by