필터 지우기
필터 지우기

How to calculate the common center of mass position of multiple rigid bodies in Simscape Multibody?

조회 수: 32 (최근 30일)
How to calculate the common center of mass position of multiple rigid bodies in Simscape Multibody?
I think it is possible to get the position of the center of mass of each rigid body and then calculate the overall center of mass by weighting, but this is very complicated. Is there a more convenient method?
  댓글 수: 2
Vasco Lenzi
Vasco Lenzi 2020년 11월 11일
편집: Vasco Lenzi 2020년 11월 11일
Hi there
have you taken a look at the inertia sensor block?
it was introduced in 2019b
this should provide a fairly straightforward way to get center of mass, as well as:
  • Mass
  • Center of mass
  • Inertia matrix
  • Centered inertia matrix
  • Principal inertia matrix
  • Orientation of principal inertia frame
Juan Sagarduy
Juan Sagarduy 2020년 11월 11일
Good insight Vasco,
Indeed the Inertia Sensor works well for Jingchiao's query. I attach an example with two masses. When density of one is very high, the centre of mass is in the centre of the heavy body. And viceversa.
Br Juan

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

채택된 답변

Steve Miller
Steve Miller 2021년 6월 2일
As Vasco mentioned above, the Inertia Sensor block was created for this purpose.
From Vasco's Comment above:
Hi there
have you taken a look at the inertia sensor block?
it was introduced in 2019b
this should provide a fairly straightforward way to get center of mass, as well as:
  • Mass
  • Center of mass
  • Inertia matrix
  • Centered inertia matrix
  • Principal inertia matrix
  • Orientation of principal inertia frame

추가 답변 (1개)

Moritz Ischebeck
Moritz Ischebeck 2021년 6월 2일
another example, of a double pendulum
important property to change when recreating: Inertia Sensor > properties > Sensor Extent > "mechanism"
connect sensor port (input) with world frame

카테고리

Help CenterFile Exchange에서 Bodies에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by