This report shows how to determine the equations of motion for a rigid bar pendulum (also
called a physical pendulum) on a moving cart as shown in the following diagram. This is
done using both Newton’s method and the energy (Lagrangian) method.
It is useful to solve the same problem whenever possible using both methods as this helps
verify the results and also adds more understanding to the physics involved.
There are two degrees of freedom. The coordinate and the coordinate. Hence there are two
equations of motion, one for each coordinate.
2 Newton’s Method
The first step is to make a free body diagram (FBD). One for the cart and one for the
physical pendulum and equate each FBD to the kinematics diagrams in order to write down
the equations of motion.
2.1 FBD for cart
Equation of motion along the positive direction is Equation of motion along positive is
not needed since cart does not move in the vertical direction. We see that to
find the equation of motion for we just need to determine , since that is the only
unknown in (1). will be found from the physical pendulum equation as is shown
below.
2.2 FBD for pendulum
We see now that the equation of motion along the positive is This gives the term needed.
Substituting (2) into (1) gives
Hence The above is the equation of motion for .
To find the equation of motion for we apply , (equivalent to for linear motion) where is the
torque.
When taking moments to find the torque, we should always take moments around the center
of mass of the rotating body, even though the pendulum is hinged at one of its
ends and it is actually rotating about that hinge ofcourse. If we take moments
around the hinge instead of center of mass, then we need to account for the inertia
forces due to motion of cart around center of mass of the rigid pendulum which
complicates the equations. By taking moments around center of mass, these forces do not
account, since their moments is now zero. Using counter clock wise as positive
gives
Notice the minus sign on . This is because we choose the pendulum to be rotating clockwise
which is negative. Therefore is
We already know from Eq. (2). We know need to find . This is found from resolving forces in
the vertical direction for the pendulum free body diagram. Therefore
Plugging (2) and (5) into (4) to eliminate , then Eq. (4) simplifies to
Therefore The above is the required equation of motion for . Equations (3,6) are coupled and
have to be solved numerically since they are nonlinear. Another option is to use small angle
approximation to linearize them in order to simplify these two equations and to solve them
analytically.
3 Lagrange (Energy) method
The first step in using Lagrange method is to make a velocity diagram to each object. These
diagrams are given below
From the velocity diagram above we see that the kinetic energy of the system is Where is
K.E. of the cart due to its linear motion, and is K.E. of physical pendulum due to its
translation linear motion of its center of mass, and is K.E. of physical pendulum due to its
rotational motion. Now the velocity of the center of mass of the physical pendulum is
determined
Therefore the K.E. from (7) becomes
Taking zero potential energy as the horizontal level where the pendulum is attached to the
cart, then P.E. comes from only spring extension and the change of vertical position of center
of mass of pendulum. Hence P.E. is The Lagrangian becomes
There are two degrees of freedom: and . The generalized force in direction is and the
generalized force for is . Equation of motions are now found. For
Therefore Which is the same result as Newton method found above in Eq. (3). Equation of
motion for is But
Hence becomes
Therefore Which is the same equation of motion in Eq. (6) above given by Newton’s
method.