Professional Documents
Culture Documents
2.003SC Recitation 8 Notes: Cart and Pendulum (Lagrange)
2.003SC Recitation 8 Notes: Cart and Pendulum (Lagrange)
003SC
Recitation 8 Notes: Cart and Pendulum (Lagrange)
Kinematics
The linear velocity of the pendulums center of mass, vG , is given by
l l l
vG = xI + j = (x + cos)I + ( sin)J
2 2 2
The square of its magnitude is given by
2 l l
vG = (x + cos)2 + ( sin)2
2 2
1
2 lx l l
vG = x2 + 2 cos + ( )2 cos2 + ( )2 sin2
2 2 2
2 l2 2
vG = x2 + xlcos +
4
Kinetic Energy
1 1 1
T = m1 x2 + m2 vG 2 + IG 2
2 2 2
1 2 1 2 l2 2 1 ml2
2
T = m1 x + m2 (x + x lcos + )+ ( )
2 2 4 2 12
Potential Energy
1 l
V = kx2 + m2 g (1 cos)
2 2
Lagrangian
L=T V
1 1 l2 2 1 ml2 2 1 2 l
L = m1 x2 + m2 (x2 + xlcos + )+ ( ) kx m2 g (1 cos)
2 2 4 2 12 2 2
d L L
( ) = Qx
dt x x
yields the rst equation of motion.
m2 l m2 l 2
(m1 + m2 )x + cos sin + kx = 0 (1)
2 2
d L L
( ) = Q
dt
yields the second equation of motion.
m2 l2 m2 l2 m2 l l
( + ) + xcos
+ m2 g sin = 0 (2)
4 12 2 2
2
Cart and Pendulum - Problem Statement
Assume that the cart and pendulum system now contain a damper/dashpot of constant b between the cart
and ground, as well as an external force, F (t) , applied to the cart.
Derive the equations of motion for this system by Lagrange. Specically, show the generalized forces.
Generalized Forces
N
N n
N
nc
W = finc Ri = Qj j
i j=1
Qx = bx + F (t) Q = 0
m2 l m2 l 2
(m1 + m2 )x + cos sin + kx = bx + F (t)
2 2
m2 l m2 l 2
(m1 + m2 )x + cos sin + bx + kx = F (t) (3)
2 2
and
m2 l2 m2 l2 m2 l l
( + ) + xcos
+ m2 g sin = 0 (4)
4 12 2 2
3
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.