How to add Common gear to a Simulink Multibody imported from Solidworks?
3 views (last 30 days)
Show older comments
Modeled a SCORBOT in Solidworks for a class I am taking, was able to import into Simulink with no issues. Trying to connect the gears that cause main body of robot to rotate around base. Connected the 'common gear' block several different ways between the two spur gears, but continue to get: "['Robot_with_Gear']: Following errors were found in the model Robot_with_Gear. Caused by: ['Robot_with_Gear']: * Model not assembled: position violation * Resolve this issue in order to simulate the model.
The files attached are of the assembly after importing to simulink, one before adding the 'common gear' block and one for after.
0 Comments
Answers (1)
Nicolas Schmit
on 23 Mar 2018
The port F of the common gear constraint should be connected to the port B (not F) of Revolute1. Connecting the common gear constraint to the port F of Revolute1 jams your mechanism because the port F is rigidly connected to the base. Also, check that the xy planes of the two reference frames connected by the common gear constraint are coplanar.
2 Comments
Usman Saleem
on 4 Sep 2020
Hey, I was designing a mechanism and came across the same error. No matter where I attach the gear constraint, simulink gives me the same error. Should I make a separate question? I was wondering if you figured it out somehow?
See Also
Categories
Find more on Simscape Multibody in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!