How can I find the center of gravity of a moving object in simulink ?

6 次查看(过去 30 天)
The object is physically no present.There is Robot which is being simulated in simulink and I've to find cg of that bot.
If it is possible then help me.
Thank you in advance.

回答(1 个)

Jim Riggs
Jim Riggs 2019-1-7
编辑:Jim Riggs 2019-1-7
The location of the mass center of a collection of parts is compued by finding the point about which the mass moment is zero, (in other words, the "average" mass moment). This is done as follows;
1) Compute the mass moment of each part of the system:
Mass moment = position vector (of CG) x mass - this gives the mass moment about the x, y, and z axis.
2) sum all of the mass moment vectors (Total x, y, and z moment)
3) divide the total moment vector by the total mass (sum of all the masses)
This is a vector that points to the location of the mass center.
(Note that all of the position vectors must be in the same reference frame. The resulting mass center is in this reference frame)
  1 个评论
Jim Riggs
Jim Riggs 2019-1-7
Here is an example in 2 dimensions:
The total mass moment, M = R1*m1 + R2*m2 + R3*m3
(M is a 2 elememt array, with an x, and a y component)
The Mass center is located at Rc = M/(m1+m2+m3)
Rc is a 2-D vector, containing the x,y position of the mass cener.
MatlabAnswers 20190107.JPG

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by