This is a post where I delve into the concept of centre of mass (COM).
In practice in playing around with my simple 2D physics engine moving around simple shapes, the centre of mass is almost always .. well .. the centre of the shape. Combined with the assumption that the density of "matter" comprising the shape is uniform, we can go a long way by simply assuming the COM to be the "geometric centre" of the shape.
There are cases where the "geometric centre" is not immediately obvious (and as we will see later on, the centre of mass of shapes in 2D is not always the simple arithmetic average), and it is useful to understand how the "centre of mass" can be derived.
Before eventually getting to the concept of centre of mass, we will go through the following topics in order:- Area
- First Moment of Area
- Second Moment of Area
- Centre of Mass / Centroid
Area
\[A=\int _A \,dA= \iint dx\,dy\]
Volume
Mass
First Moment of Area
First Moment of Area is commonly used to determine the centroid of an area.
Definition of First Moment of Area
First moment of area about a particular reference axis is the product of the area of the shape and the distance between the centroid of that shape and the reference axis. It is a measure of the spatial distribution of a shape in relation to a particular axis.
For the shape shown in the above with area A, the first moment of area about the x-axis is given by,
\[Q_x=A\times y\]
Similarly, the first moment of area about the y-axis is given by,
\[Q_y=A\times x\]
First Moment of Area by Integral
By the definition of the first moment of area of dA about the x and y-axes are given by:
\[dQ_x=y\times dA\]
\[dQ_y=x\times dA\]
It follows that the first moment of area about the x and y axes are respectively given by:
\[Q_{x}=A{\bar {y}}=\sum _{i=1}^{n}{y_{i}\,dA_{i}}=\int _{A}y\,dA=\iint y\,dx\,dy\]
and
\[Q_{y}=A{\bar {x}}=\sum _{i=1}^{n}{x_{i}\,dA_{i}}=\int _{A}x\,dA=\iint x\,dx\,dy\]
Second Moment of Area
It is a measure of how the cross sectional area is dispersed about the reference axis. It is typically used to measure the stiffness of a beam and its resistance to bending moments.
Definition
Similarity to Moment of Inertia
The mass moment of inertia is the product of mass and distance squared.
\[I_{xx}=\int y^2\,dm\] \[I_{yy}=\int x^2\,dm\]
As you will note, formula wise, they are the same but with the area - dA - replaced by mass - dm.
However, the concept is totally different. It is a measure of how the mass of a system is dispersed about the reference axis. It is used as a measure of the system's resistance to rotation around the reference axis.
Centroid
Hence, centroid (x, y) is given by:
\[\bar{x}=\frac{1}{A}Q_y=\frac{1}{A}\int _A\,y\,dA\]
\[\bar{y}=\frac{1}{A}Q_x=\frac{1}{A}\int _A\,x\,dA\]
Centre of Mass
Finally divide the sum of moments by the total mass of the body M to give the centre of mass of the body relative to the reference mass.
\[x_c=\frac{1}{M}\int x_o \,dm\,dx\]
\[y_c=\frac{1}{M}\int y_o \,dm\,dy\]
\[z_c=\frac{1}{M}\int z_o \,dm\,dz\]
where \((x,y,z)_c\) are the coordinates of the center of mass for the body and \((x,y,z)_o\) are the coordinates of the center of mass of each elemental mass. The quantities xo dm, yo dm, and zo dm represent the first moments of the elemental mass, dm, about each of the coordinate axes.
The centroid and the center of mass coincide when the density is uniform throughout the body.



0 件のコメント:
コメントを投稿