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

129 views (last 30 days)
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."

Answers (3)

Steve Miller
Steve Miller on 7 Jun 2021
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 Comment
hossein m
hossein m on 14 Sep 2023
Edited: hossein m on 14 Sep 2023
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

Sign in to comment.


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

mariangela bonaccurso
mariangela bonaccurso on 18 Sep 2022
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

Categories

Find more on Applications in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!