Errors in feedback control after setting the input of a prismatic joint to motion/provided by input
2 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
Divyanshu
on 6 Aug 2024
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 Comments
Yifeng Tang
on 7 Aug 2024
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.
More Answers (0)
See Also
Categories
Find more on Assembly in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!