Simscape Multibody *** Model not assembled: position violation ***

조회 수: 67(최근 30일)
Garett Mcculloch
Garett Mcculloch 2020년 12월 3일
댓글: Juan Sagarduy 2020년 12월 4일
Hi, I'm currently trying to simlulate the movement of an RRRP linkage in Simscape Multibody but I am running into an assembly error when running. I Have determined which joint the issue is and have followed this tutorials steps ( ) to attempt to fix the problem. According to this I had to allign the axis of the frames to be parellel to each other and I have done so as seen in the picture below.
With the frames rotated like so I am still recieveing the "*** Model not assembled: position violation *** Resolve this issue in order to simulate the model." error when running the simulation. Would anybody know where I went wrong with attempting to fix this?


Juan Sagarduy
Juan Sagarduy 2020년 12월 3일
Hi Garett Do you have the chance to share the model? It must be a detail in there that needs sorting out. Br Juan
  댓글 수: 2
Juan Sagarduy
Juan Sagarduy 2020년 12월 4일
Hi Garett
This mechanism is more compex that what one would think. I remember using it for my first Simscape workshop. I guess that there are different approaches and you need to find the one you prefer.
As an attachment, I had the model I've built using local frames for the rods and simualting motion in the x-Y plane (gravity along -Y). Since the mechanism is a kinematic closed path, you need to be able to access the end point from origin through the prismatic joint and slider, and from the path created by the rods. If you do carefully, it works out well.
I am sure that in your case, you did not succeed in reaching the end point transform consistently, and hence the model assembly violation error. Until the model is correctly assembled, it is better not to prescribe any motion as it can complicate the process.
Check this out & Good Luck.
Cheers Juan

댓글을 달려면 로그인하십시오.





Community Treasure Hunt

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

Start Hunting!

Translated by