Presentation

Download Report

Transcript Presentation

Introduction to Analytical
Mechanics
Lagrange’s Equations
Siamak G. Faal
1/1
07/29/2016
1
Rigid body dynamics
Dynamic equations:
β€’ Provide a relation between forces and system accelerations
β€’ Explain rigid body motion and trajectories
Image sources (left to right):
https://www.etsy.com/listing/96803935/funnel-shaped-spinning-top-natural-wood
https://spaceflightnow.com/2016/06/30/juno-switched-to-autopilot-mode-for-jupiter-final-approach/
https://upload.wikimedia.org/wikipedia/commons/d/d8/NASA_Mars_Rover.jpg
http://www.popularmechanics.com/cars/a14665/why-car-suspensions-are-better-than-ever/
2
Kinematics vs Kinetics
Kinematics
Focuses on pure motion of
particles and bodies (without
considering masses and
forces)
Image sources (left to right):
https://www.youtube.com/watch?v=PAHjo4DXOjc
http://www.timelinecoverbanner.com/facebook-covers/billiard.jpg
Kinetics
Relationship between the
motion of bodies and forces
and torques
3
Dynamic Forces and Reactions
Dynamic analysis are essential to determine reaction forces
that are cussed by dynamic forces (e.g. Accelerations)
Image sources (left to right):
http://r.hswstatic.com/w_404/gif/worlds-greatest-roller-coasters-149508746.jpg
http://www.murraymitchell.com/wp-content/uploads/2011/04/red_aircraft_performing_aerobatics.jpg
4
Differential Equations of Motion
provide a set of differential equations which allow
modeling, simulation and control of dynamic
mechanical systems
Why humanoid
robots do not walk
or act like humans
!?
5
Background Information
6
Notations
Throughout this presentation:
Parameters
Definitions
β€’ Vectors are noted with overlines: π‘Ž
subscript G
(e.g. π‘ŽπΊ )
The quantity related to
center of mass
β€’ The first derivative with respect to
𝑣
Linear velocity
πœ”
Angular velocity
π‘Ž
Linear Acceleration
time: π‘₯ =
𝑑π‘₯
𝑑𝑑
β€’ The second derivative with respect to
time: π‘₯ =
𝑑2 π‘₯
𝑑𝑑 2
Σ𝐹
Resultant force vector
𝑔
Gravitational acceleration
π‘ž
Generalized coordinate
7
Time Derivative of a Vector
Time derivative of a vector in rotating coordinate frame is:
𝑑
𝐴 = π΄π‘Ÿπ‘’π‘™ + πœ” × π΄
𝑑𝑑
Angular velocity of the
frame
Relative rate of change of
the vector
𝐴
πœ”
8
Newtonian Dynamics
Newton laws of motion:
I.
The velocity of a particle can be changed by the application of a force
II.
The resultant force is proportional to the acceleration of particle with
the factor of mass
Σ𝐹 = π‘š π‘Ž
III.
The forces acting on a body result from an interaction with another
body. The action and reaction forces have the same magnitude, the
same line of action but opposite directions
9
Newtonian Equations of Motion
For each rigid body:
Linear momentum of
the center of mass:
𝑑
Σ𝐹 = 𝑝𝐺
𝑑𝑑
𝑝𝐺 = π‘šπ‘£πΊ
Σ𝑀𝐴 = π‘šπ‘ŸπΊ/𝐴 × π‘Žπ΄ + 𝐻𝐴
Vector from arbitrary point
A to G (center of mass)
Time derivative of the
angular momentum of
the object about point A
Acceleration of the
arbitrary point A
𝐻𝐴 = 𝐼𝐴 πœ” + πœ” × πΌπ΄ πœ”
10
Newtonian Equations of Motion
A simplified form of the equations are achieved by considering the
following assumptions:
 Mass of the object is constant
 Moment equations are calculated at the center of mass
Σ𝐹 = π‘š π‘ŽπΊ
Σ𝑀𝐺 = 𝐼𝐺 πœ” + πœ” × πΌ πœ”
11
Energy
Kinetic energy of a rigid body:
1
1
𝑇 = π‘š 𝑣𝐺 , 𝑣𝐺 + πœ”, πΌπœ”
2
2
Potential energy of an object with mass π‘š located at altitude β„Ž due to
gravity:
𝑉 = π‘šπ‘”β„Ž
Potential energy stored in an spring with stiffness π‘˜:
1
𝑉 = π‘˜Ξ”π‘₯
2
12
Degrees of Freedom
The number of independent parameters that define
system configuration
πœƒ
πœ“
In planar motion
In 3D space
πœ™
A free object has
A free object has
6
DOF
𝑦
𝑧
π‘₯
𝑦
πœƒ
3
DOF
π‘₯
13
Mechanical Joints
Revolute joint
Adds 5 constraints
οƒ  Relative DOF: 1
Cylindrical joint
Adds 4 constraints
οƒ  Relative DOF: 2
Planar joint
Adds 3 constraints
οƒ  Relative DOF: 3
Prismatic joint
Adds 5 constraints
οƒ  Relative DOF: 1
Spherical joint
Adds 3 constraints
οƒ  Relative DOF: 3
14
Generalized Coordinates
A set of geometrical parameters which uniquely defines the
position / configuration of the system
The minimum number of generalized coordinates that required
to specify the position of the system is equal to the number of
DOF of the system (unconstrained or independent coordinates)
Generalized coordinates do not form a unique set!
Generalized coordinates are commonly notes with π‘ž
15
Generalized Coordinates
Q) What can be a set of generalized coordinates for a simple
rod in on a plane.
A)
𝑦
𝐡
𝑦𝐴
𝐿
πœƒ
𝐴
𝑂
π‘₯𝐴
π‘₯
16
Generalized Coordinates
Q) Can you think about any other generalized coordinates set
for the same system?
A)
𝑦
𝑦𝐡
𝐡
πœƒ
𝐿
π‘₯𝐡
𝐴
𝑂
π‘₯
17
Generalized Coordinates
Q) How about another one?
A)
𝑦
𝐡
𝑦𝐴
This is an
ambiguous set of
coordinates!
𝐿
π‘₯𝐡
𝐴
𝑂
π‘₯𝐴
π‘₯
18
Generalized Coordinates
Here we have more coordinates than the digress
of freedom of the system, Thus the coordinates
can not have any arbitrary value and they need
to satisfy two constrain equations:
Q) Let’s do one more
π‘₯𝐡 βˆ’ π‘₯𝐴 = 𝐿 cos πœƒ
𝑦𝐡 βˆ’ 𝑦𝐴 = 𝐿 sin πœƒ
A)
𝑦
𝑦𝐡
𝐡
𝑦𝐴
𝐿
πœƒ
𝐴
𝑂
π‘₯𝐡
π‘₯𝐴
π‘₯
19
Constraints
Any generalized coordinate which can not have any
arbitrary value is a constrained coordinate
Relation between constrained generalized coordinates
is called constraint equation
𝑀 βˆ’ 𝑁 : Number of constraint equations
Number of constrained
generalized coordinates
Number of degrees
of freedom
20
Virtual Displacement
π‘ž3
In a virtual movement, the
generalized coordinates of the
system are considered to be
incremented by infinitesimal amount
Ξ΄π‘Ÿ
Ξ΄π‘žπ‘— from the values they have at an
arbitrary instant, with time held
constant.
π‘ž2
𝑀
Ξ΄π‘Ÿ =
Ξ΄π‘žπ‘— 𝑒𝑗
𝑗=1
π‘ž1
21
Virtual Displacement
π‘₯
Example:
Generalized coordinate: π‘₯
𝑙
𝑙
C
Q)
What are the virtual displacements
of pin F and virtual rotation of bar
EF resulting from Ξ΄π‘₯
B
A
𝑙
𝑙
D
E
𝑙
F
22
Virtual Displacement
π‘₯
Solution:
π‘₯
A
πœƒ
πœƒ = cosβˆ’1
π‘ŸπΉ/𝐴
π‘₯
2𝑙
𝑙
π‘₯
3
= 𝑖 + 4𝑙2 βˆ’ π‘₯ 2
2
2
𝑑
π‘₯
Ξ΄πœƒ =
cosβˆ’1
𝑑π‘₯
2𝑙
Ξ΄π‘ŸπΉ/𝐴 =
B
πœƒ
𝑙
C
1/2
𝑗
Ξ΄π‘₯
Ξ΄π‘₯ = βˆ’ 2
4𝑙 βˆ’ π‘₯ 2
𝑙
𝑙
D
E
1/2
𝑑
1
3π‘₯
π‘ŸπΉ/𝐴 Ξ΄π‘₯ = 𝑖 βˆ’
𝑑π‘₯
2
2 4𝑙2 βˆ’ π‘₯ 2
1/2
𝑙
𝑗 𝛿π‘₯
F
𝑦
23
Virtual Work
When a particle is given a virtual displacement Ξ΄π‘Ÿ, the forces acting on the
particle do virtual work Ξ΄π‘Š
Since Ξ΄π‘Ÿ is infinitesimal, Ξ΄π‘Š is infinitesimal as well
Because the change is virtual, time is held constant at an arbitrary value
The virtual work done by constraint or internal forces is zero!
24
Generalized Forces
Ξ΄π‘Š =
𝐹 β‹… Ξ΄π‘Ÿ
𝑀
β†’ Ξ΄π‘Š =
𝐹⋅
𝑗=1
𝑀
Ξ΄π‘Š =
𝑗=1
πœ•π‘Ÿ
Ξ΄π‘žπ‘—
πœ•π‘žπ‘—
πœ•π‘Ÿ
𝐹⋅
Ξ΄π‘žπ‘—
πœ•π‘žπ‘—
𝑄𝑗 Generalized force
25
Joseph-Louis Lagrange
25 January 1736 – 10 April 1813,
Italian Enlightenment Era mathematician
and astronomer. Lagrange made
significant contributions to the fields of
analysis, number theory, and both
classical and celestial mechanics.
Lagrange’s Equations
26
Lagrange’s Equations of Motion
𝑑 πœ•π‘‡
πœ•π‘‡
πœ•π‘‰
βˆ’
+
= 𝑄𝑗 ,
𝑑𝑑 πœ•π‘žπ‘—
πœ•π‘žπ‘— πœ•π‘žπ‘—
𝑗 = 1, 2, … , 𝑀
Alternative (common) form:
β„’ =π‘‡βˆ’π‘‰
𝑑 πœ•β„’
πœ•β„’
βˆ’
= 𝑄𝑗 ,
𝑑𝑑 πœ•π‘žπ‘—
πœ•π‘žπ‘—
𝑗 = 1, 2, … , 𝑀
27
Lagrange’s Equations of Motion
 Directly provides the differential equations of motion
without any need for solving a system of equations.
 Provides a much easier method to solve multi-body systems
 It is very systematic and can be used to automatically
generate differential equations of motion for different
systems (As long as the derivatives are computed correctly)
28
Example 1
Find differential equations of motion for the following system
using both Newtonian mechanics and Lagrange’s equations
π‘₯
π‘˜
π‘š
29
Example 1
Newtonian approach:
π‘₯
Spring force is equal to: 𝐹𝑠 = βˆ’π‘˜ π‘₯ βˆ’ π‘₯0
π‘˜
π‘š
Assume π‘₯0 = 0
β†’ 𝐹𝑠 = βˆ’π‘˜π‘₯
Newton’s second law for x-axis:
Free-body diagram:
Σ𝐹 = π‘šπ‘₯
Since the only force applied to the system is the spring
force:
π‘₯
𝐹𝑠
π‘š
Σ𝐹 = 𝐹𝑠 = βˆ’π‘˜π‘₯
So the differential equation of motion for the system is:
π‘₯ + π‘˜π‘₯ = 0
30
Example 1
Lagrangian approach:
π‘₯
1
2
The kinetic energy of the system is: 𝑇 = π‘šπ‘₯ 2
π‘˜
π‘š
1
2
The potential energy of the system is: 𝑉 = π‘˜π‘₯ 2
Since there is no force acting on the system, the generalized
Calculations:
force is zero: 𝑄 = 0
Lagrangian of the system is:
1
1
β„’ = π‘šπ‘₯ 2 βˆ’ π‘˜π‘₯ 2
2
2
πœ•β„’
= π‘šπ‘₯
πœ•π‘ž
𝑑 πœ•β„’
= π‘šπ‘₯
𝑑𝑑 πœ• π‘ž
Thus, the differential equation of motion is:
𝑑 πœ•β„’
πœ•β„’
βˆ’
= 0 β†’ π‘šπ‘₯ βˆ’ π‘˜π‘₯ = 0
𝑑𝑑 πœ• π‘žπ‘—
πœ•π‘žπ‘—
πœ•β„’
= βˆ’π‘˜π‘₯
πœ•π‘ž
31
Example 2
Find differential equations of motion for the following system
using both Newtonian mechanics and Lagrange’s equations
π‘₯
π‘˜
π‘š
𝑒
32
Example 2
Newtonian approach:
π‘₯
π‘˜
Spring force is equal to: 𝐹𝑠 = βˆ’π‘˜ π‘₯ βˆ’ π‘₯0
π‘š
𝑒
Assume π‘₯0 = 0
β†’ 𝐹𝑠 = βˆ’π‘˜π‘₯
Newton’s second law for x-axis:
Free-body diagram:
Σ𝐹 = π‘šπ‘₯
The summation of forces along x axis is:
π‘₯
𝐹𝑠
π‘š
𝑒
Σ𝐹 = 𝑒 βˆ’ π‘˜π‘₯
So the differential equation of motion for the system is:
π‘₯ + π‘˜π‘₯ = 𝑒
33
Example 2
Lagrangian approach:
π‘₯
1
The kinetic energy of the system is: 𝑇 = π‘šπ‘₯
2
π‘˜
2
π‘š
1
The potential energy of the system is: 𝑉 = π‘˜π‘₯
2
2
The generalized force acting on the system is:
πœ•π‘Ÿ
πœ•π‘₯
Σ𝐹 β‹…
=𝑒⋅
=𝑒
πœ•π‘žπ‘—
πœ•π‘₯
Lagrangian of the system is:
1
1
β„’ = π‘šπ‘₯ 2 βˆ’ π‘˜π‘₯ 2
2
2
Thus, the differential equation of motion is:
𝑑 πœ•β„’
πœ•β„’
βˆ’
= 𝑒 β†’ π‘šπ‘₯ + π‘˜π‘₯ = 𝑒
𝑑𝑑 πœ•π‘žπ‘—
πœ•π‘žπ‘—
Calculations:
πœ•β„’
= π‘šπ‘₯
πœ•π‘ž
𝑑 πœ•β„’
= π‘šπ‘₯
𝑑𝑑 πœ• π‘ž
πœ•β„’
= βˆ’π‘˜π‘₯
πœ•π‘ž
34
Example 3
Find differential equations of motion for the following system
using both Newtonian mechanics and Lagrange’s equations
𝑦
𝑙
𝑔
π‘š, 𝐼
𝜏
πœƒ
π‘₯
35
Example 3
𝑔
π‘š, 𝐼
𝜏
Moment of inertia of a rod:
1 2
π‘šπ‘™
3
𝑙
𝑦
Newtonian approach:
πœƒ
1
π‘šπ‘™ 2
12
π‘₯
Free-body diagram:
𝑦
π‘šπ‘”
Moment equation around point O gives us:
1 2
𝑙
π‘šπ‘™ πœƒ = 𝜏 βˆ’ π‘šπ‘” cos πœƒ
3
2
𝐹𝑦
𝑙
2
πœƒ
π‘₯
𝑂
𝐹π‘₯
36
Example 3
𝑦
Lagrangian approach:
Center of mass position in terms of generalized coordinates
𝑙
𝑙
cos πœƒ 𝑖 + sin πœƒ 𝑗 β†’
2
2
𝑙
𝑙
= βˆ’ πœƒ sin πœƒ 𝑖 + πœƒ cos πœƒ 𝑗
2
2
π‘Ÿπ‘π‘š =
π‘Ÿπ‘π‘š
𝑙
𝑔
π‘š, 𝐼
πœƒ
π‘₯
The kinetic energy of the system is:
𝑇=
=
1
1
1
1
π‘š π‘Ÿπ‘π‘š , π‘Ÿπ‘π‘š + πœ” , 𝐼 πœ” = π‘šπ‘™ 2 πœƒ 2 +
π‘šπ‘™2 πœƒ 2
2
2
8
24
1 2 2
π‘šπ‘™ πœƒ
6
The potential energy of the system is:
𝑙
𝑉 = π‘šπ‘” π‘Ÿπ‘π‘š β‹… 𝑗 = π‘šπ‘” sin πœƒ
2
37
Example 3
𝑦
Lagrangian approach (cont.):
The generalized force is
𝑄 = Σ𝐹 β‹…
𝑙
𝑔
π‘š, 𝐼
πœƒ
πœ•π‘Ÿ
πœ•πœƒ
=𝜏
=𝜏
πœ•π‘žπ‘—
πœ•πœƒ
π‘₯
Lagrangian of the system is:
Calculations:
1
𝑙
β„’ = π‘šπ‘™ 2 πœƒ 2 + π‘šπ‘” sin πœƒ
6
2
πœ•β„’ 1 2
= π‘šπ‘™ πœƒ
πœ•π‘ž 3
Thus, the differential equation of motion is:
𝑑 πœ•β„’
πœ•β„’
βˆ’
=𝜏
𝑑𝑑 πœ•π‘žπ‘—
πœ•π‘žπ‘—
1 2
𝑙
β†’ π‘šπ‘™ βˆ’ π‘šπ‘” cos πœƒ = 𝜏
3
2
𝑑 πœ•β„’
1
= π‘šπ‘™2 πœƒ
𝑑𝑑 πœ• π‘ž
3
πœ•β„’
𝑙
= π‘šπ‘” cos πœƒ
πœ•π‘ž
2
38
References
[1] Ginsberg, Jerry H. Advanced engineering dynamics. Cambridge
University Press, 1998.
[2] Greenwood, Donald T. Advanced dynamics. Cambridge University
Press, 2006.
39