How to resolve position violation errors in Simulink
2 次查看(过去 30 天)
显示 更早的评论
Hello, I am working on an 8-axis Stewart platform simulator in Simulink. I have set motion inputs for the 8 prismatic joints using formula-based values and feedback control. Since the initial position of all prismatic joints is 0.5m, I set the priority to high in the Specify Position Target option and entered a value of 0.5m. However, when I run the simulation, a Position Violation error occurs as shown in the picture below. It seems that there is an issue with the motion input for the 8 prismatic joints. If you know how to solve this problem, I would appreciate your help.
I apologize for not being able to attach the entire model as it is part of an ongoing research project.
Thank you for your understanding.
2 个评论
Umar
2024-8-8
Hi @석준,
I would recommend reviewing the formula-based values and feedback control settings for the 8 prismatic joints to ensure they are correctly defined. Then, verify the solver settings in Simulink to make sure they are appropriate for the simulation. Make sure to double check the specified position targets for the prismatic joints and making sure that the initial positions and target positions are set correctly. Afterwards, re-run the simulation after making adjustments to the motion inputs, solver configuration, and position targets.
Yifeng Tang
2024-8-15
I suspect that some inputs, or the initial value of the inputs, is in conflict with the desired initial position of the joints. The solver isn't able to find a solution that will satify all these information sent to the joints. An input of position to the joint will override the initial target you set.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multibody Dynamics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!