Simscape Multibody - Error "Model not assembled due to a position violation" when I change the value of the actuation input of a RevoluteJoint

112 次查看(过去 30 天)
Hi,
i am currently trying my first major project in Simscape (delta robot).
I want to adjust the angles of the joints RevoluteJoint2, 3 and 4 via three inputs. When I do that I get the mentioned error. If all joints have the same input value, no error occurs.
Can someone tell me why the error occurs? Thank you.
Project:
Is attached.
Error message:
"An error occurred while running the simulation and the simulation was terminated
Caused by:
  • ['untitled_ohneCad/Solver Configuration']: Model not assembled due to a position violation. The failure occurred during the attempt to assemble all joints in the system and satisfy any motion inputs. If an Update Diagram operation completes successfully, the failure is likely caused by motion inputs. Consider adjusting the motion inputs to specify a different starting configuration. Also consider adjusting or adding joint targets to better guide the assembly."

回答(3 个)

Steve Miller
Steve Miller 2021-6-7
Hi Salih
The joints you have in your model (all revolute joints) require that the upper angle of each arm all be actuated to the same angle. You would need to add more degrees of freedom to permit the arms to bend to different angles.
I adjusted your model so that
  1. all arms bend to the same input angle
  2. a slider can be used to set the angle
  3. the simulation is "paced" to run around real time so that you can see the response of the slider interactively.
--Steve
  1 个评论
hossein m
hossein m 2023-9-14
编辑:hossein m 2023-9-14
hi
Can you help with this project?
https://ch.mathworks.com/matlabcentral/answers/2020591-simscape-multibody-error-model-not-assembled-due-to-a-position-violation-when-i-change-the-valu

请先登录,再进行评论。


Rahim Aktas
Rahim Aktas 2022-6-14
I got such an error in the stewart robot model, can you help with the solution?

mariangela bonaccurso
Hello,
i built this model on solidworks and implemented on simscape. Now to the model I have to create a linear movement (i.e. back and forth of the slider on the guideway).
This is the solidworks model:
This is the implementation:
Running this error results:
['Modello21/Solver Configuration']: Model not assembled due to a position violation. The failure occurred during the attempt to assemble all joints in the system and satisfy any motion inputs. If an Update Diagram operation completes successfully, the failure is likely caused by motion inputs. Consider adjusting the motion inputs to specify a different starting configuration. Also consider adjusting or adding joint targets to better guide the assembly.
Can anyone help me how to solve this problem in order to create this movement?
Thanks in advance

类别

Help CenterFile Exchange 中查找有关 Applications 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by