Why are my SimMechanics joints breaking apart in my model?
1 view (last 30 days)
Show older comments
Ashley Raby
on 18 May 2016
Commented: Ashley Raby
on 2 Jun 2016
I am trying to create a model of a piston with translational motion in the y-direction that is attached to three beams and mounted at a fixed point outside of the system (picture below).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164583/image.png)
I used: (1.) weld joint to attach the piston to beam 1 (2.) custom joint (rotational about z-axis and translational along the x-axis) to attach beam 1 to beam 2 (3.) planar joint (translational in xy-plane and rotational about z-axis) to attach beam 2 to 3 (4.) revolute joint (rotational about z-axis) to attach beam 3 to the point outside of my system
I also added a joint actuator at the planar joint and actuated it with motion. When I run the simulation my system falls apart between beam 1 and beam 2 (at the custom joint) and between beam 2 and beam 3 (at the planar joint). How can I keep the joints attached?
2 Comments
Steve Miller
on 18 May 2016
Hi Ashley -- I looked at your model. I believe you should use: 1. Prismatic Joint between Piston and Ground 2. Revolute Joint between Piston and Beam1 3. Revolute Joint between Beam1 and Beam2 4. Revolute Joint between Beam2 and Beam3 5. Revolute Joint between Beam3 and Ground
However, a more important Point is that you should be using Second Generation Technology. The model you uploaded is using First Generation Technology. Type in >> sm_four_bar at the MATLAB prompt to see an example that is pretty close to what you are modeling. I would build it for you but it appears you are using R2015a and I do not have that installed on my machine.
--Steve
Accepted Answer
Mehmet Berk AZDURAL
on 31 May 2016
Your joints are overdefined.This Mechanism's degree of freedom must be one.I guess you thought motion allowance instead of joints degrees of freedom.I prepared diagram like this ground-Beam3:Revolute,Beam3-Beam2:Revolute,Beam2-Beam1:Revolute,Beam1-Piston:weld,Piston-Ground:Prismatic.Weld is not kinematic structure by the way.You may assume like one body(Beam1-Piston).If I have mistakes at English sorry about it.
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!