My Multibody Project Problem

8 ビュー (過去 30 日間)
Enes Küçüksoy
Enes Küçüksoy 2020 年 12 月 10 日
回答済み: Steve Miller 2022 年 11 月 27 日
I have a project that I couldn't find a way to do it.
In that link there is a chain sprocket model and my teacher wants me to simulate that model in simscape multibody. I downloaded the parts and assemble files, and after I import solidworks to matlab, there are lots of warnings in the commend window.Those chain and sprockets has to turn(move) but because of that warnings I cannot made them move. I almost watched every youtube videos but I can't find the solution.
Can you please help me to move chain and sporckets?
  1 件のコメント
Luke Halberstadt
Luke Halberstadt 2021 年 7 月 6 日
The animation link doesn't work for me. Can you provide a screenshot of the system and/or a new animation link?


回答 (1 件)

Steve Miller
Steve Miller 2022 年 11 月 27 日
I exported the model from SolidWorks, imported into Simscape Multibody, and dealt with enough of the warnings to get it to run. There are some settings in the CAD model that make it a bit awkward to work with - there are many mates that were added for the animation in CAD that are not necessary in a multibody simulation, so I followed the diagnostics that Simscape Multibody provides and commented out the unneeded blocks.
The next step, getting it to turn the sprockets, can be done in an abstract or a detailed way.
  1. Abstract - have the chain links move along a Point-to-Curve Constraint and use the Common Gear Constraint to move the sprockets. This will simulate quickly but will not capture variation in gear speed as chain links engage/disengage.
  2. Detailed - Use the Point Cloud block to add points to the sprockets for contact modeling, and add Spatial Contact Force blocks between each chain segment and each sprocket. This will take longer to compile and run due to the added detail, but it will also capture the variation in speed more accurately.
In the model I attached, the chain loop is not properly closed, again due to the CAD model lacking the correct mate definitions.


Find more on Simscape Multibody 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!

Translated by