Simscape Multibody mutually dependant definitions

1 回表示 (過去 30 日間)
Sean
Sean 2017 年 6 月 26 日
回答済み: Steve Miller 2019 年 4 月 3 日
I'd like to model two masses that are attached by springs and dampers (picture below). I'm interested in their behavior after they are let go and acted upon by gravity.
So far I have the following system:
I get an error stating that: "Coordinate systems CS1@Body1, CS2@Body Spring & Damper2/Body1 on the highlighted Bodies have mutually dependent definitions. Remove mutual dependencies among coordinate systems so that at least one coordinate system is directly or indirectly referenced to World."
Everything online says that this error is the result of a circular definition of the coordinate system. I don't think that this is the case in my model.
Does anyone know of a Simscape Multibody example that uses the Body Spring & Damper block?
Thank you very much for your help.
  1 件のコメント
Swarooph
Swarooph 2017 年 6 月 27 日
Have you looked at this FileExchange entry? Seems like it is modeling the same system. It also allows you to specify some trajectory as well and see the response. If you wanted to see what the effect is just under gravity, comment the 'Extremity Trajectory' subsystem in the model. (Although I haven't looked at this model in detail, I am guessing that's what that does).

サインインしてコメントする。

回答 (1 件)

Steve Miller
Steve Miller 2019 年 4 月 3 日
Hi - if you posted your model, we could debug it.
I would highly recommend you explore modeling this in Simscape Multibody Second Generation technology. You would use fewer blocks (the spring-dampers are contained in the joints) and would not have to create so many coordinate systems.
--Steve

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by