Articulated Body Dynamics

Total Page:16

File Type:pdf, Size:1020Kb

Articulated Body Dynamics Articulated rigid bodies Articulated body dynamics Beyond human models How would you represent a pose? Quadraped animals Wavy hair Animal fur Plants Maximal vs. reduced coordinates How are things connected? Maximal coordinates Reduced coordinates Maximal coordinate θ0, φ0, ψ0 Treat each body part as a separate rigid body (x0, R0) Use explicit constraints to connect body parts θ1, φ1 (x1, R1) Reduced coordinate θ2 (x2, R2) Use joint angles directly as state variables state variables: 6m state variables: n Hard to derive the equation of motion for articulated Assuming there are m links and n DOFs in the articulated body, how many bodies constraints do we need to keep links connected correctly in maximal coordinates? Maximal coordinates Reduced coordinates Direct extension of well understood rigid body dynamics; easy to understand and implement Joint space is more intuitive when dealing with Operate in Cartesian space; hard to complex multi-body structures evaluate joint angles and velocities Fewer DOFs and fewer constraints enforce joint limits Well suited for character motion and motion control apply internal joint torques Inaccuracy in numeric integration can cause body parts to drift apart Forward simulation Featherstone’s algorithm Given current state, current velocity, external forces, and Use reduced coordinates to represent motion joint torques, compute the current acceleration of the articulated body Given the current joint q , current joint velocity q ˙ , E external forces F and joint torque G , compute the joint acceleration q¨ in linear time E Featherstone’s algorithm q¨ = f(q, q˙ , F , G) Lagrangian method link λ(i) joint i connects link i and its parent link i Spatial notation Spatial velocity of each link J Spatial notation combines linear and angular quantities If we v i let be the velocity of link i, and v i be the velocity across joint i then Two ordinary 3-dimensional vectors are replaced by a J v = vi − vλ i single 6-dimensional spatial vector i ( ) The joint velocity can also be described in the form ω v = angular velocity of the body ! x˙ " J linear velocity of the body vi = hiq˙ i ω˙ a = ˙ ! x¨ " where hi is a 6 by di matrix, q is a di by 1 vector and di is the degree of freedom of joint i Spatial acceleration of each link Newton-Euler equations Velocity of link i: Equation of motion for link i: f f E I a v × I v vi = vλ(i) + hiq˙ i i + i = i i + i i i net force applied to link sum of all other forces Acceleration of link i: i through the joints actin on link i ˙ ai = aλ(i) + hiq˙ i + hiq¨i f = f J − f J f J λ i i i ! j i is the force transmitted from link ( ) j∈µ(i) µ(i) is the set of children of link i f J I a v × I v − f E J i = i i + i i i i + ! fj j∈µ(i) Acceleration-force relation Featherstone’s algorithm E The acceleration of bodies are always linear functions of proc ABM_accelerations( q , q˙ , F , G ) the applied forces /* first outbound loop */ v = 0 a = Φf + b 0 for i = 1 to N - 1 = + ˙ The equation can be inverted to vi vλ(i) hiqi A A /* inbound loop */ f = I a + p where IA = Φ−1 pA = −IAb Compute_Inertia_Bias(); A I articulated body inertia /* second outbound loop */ pA bias force, the force required to bring the body’s Compute_joint_accel(); acceleration to zero Inbound loop Second outbound loop Starting at the terminal links, calculate the inertia and Compute joint acceleration from the root to the terminal bias force for each link in turn link τ0 = 0 IA I IA − IAh hT IAh −1hT IA i = i + ! ( j j j( j j j) j j ) aλ(0) = 0 j∈µ(i) for i = 0 to N-1 A α A T A −1 − T α pi = pi + ! (pj + Ij hj(hj Ij hj) (Gi hj pj )) T A −1 − T A α q¨i = (hi Ii hi) (τi hi (Ii aλ(i) + pi )) j∈µ(i) ˙ ai = aλ(i) + hiq˙ i + hiq¨i J A A fi = Ii ai + pi = × − E where pi vi Iivi fi f J = I a + v × I v − f E + J T J i i i i i i i ! fj τi = hi fi α A A ˙ j∈µ(i) pj = pj + Ij hjq˙ j Lagrangian method Generalized coordinates d ∂T ∂T − − Q = 0 The configuration of a multi-body system is identify by a set of ˙ j dt ∂qj ∂qj variables called generalized coordinates These generalized coordinates are independent and completely determine the location and orientation of each body in the system T denotes the kinetic energy one particle: x, y, z Qj is the generalized force associated with coordinate j x, y, z, θ, φ, ψ j is the index for DOFs in generalized coordinates one rigid body: x, y, z, articulated bodies: θ0, φ0, ψ0 θ1, φ1 θ2 Peaucellier mechanism Generalized forces Represent a point ri on the articulated body system by a set of generalized coordinates: ri = ri(q1, q2, . , qn) The purpose of this mechanism is The virtual displacement of ri can be written in terms of to generate a straight-line motion generalized coordinates r r r r r ∂ i ∂ i ∂ i = ∂ i δ i = δq1 + δq2 + . + δqn ! δqj This mechanism has eight bodies ∂q1 ∂q2 ∂qn ∂q j j and yet the number of degrees of The virtual work of force Fi acting on ri is freedom is one ∂r F δr = F i δq = Q δq i i i ! ∂q j ! j j j j j Define generalized force associated with coordinate qj ∂ri Qj = Fi · ∂qj Kinetic energy Lagrangian method 1 T Ti = r˙ r˙τi dx dy dz r = Wr0 2 ! Put it all together 1 d ∂T ∂T ∂W T ˙ T ˙ i − i = tr i M W¨ T = Ti = r0 Wi Wir0τi dx dy dz i i Qj 2 ! dt ∂q˙j ∂qj ! ∂qj " 1 ˙ T ˙ T Ti = tr Wir0r W τi dx dy dz 2 ! 0 i " # Represent external forces fk in terms of generalized coordinates 1 ˙ T ˙ T T Ti = tr Wi r0r0 τi dx dy dz Wi Mi = r0r0 τi dx dy dz 2 ! " $ % ! # ∂W ∂p tr i ¨ T = k MiWi fk 1 ! ∂qj " ∂qj T = tr W˙ M W˙ T #k i 2 ! i i i " d ∂Ti ∂Ti where fk is acting at the point pk on the articulated body system Compute ˙ and by yourself dt ∂qj ∂qj Acceleration of transformation Constraints Represent W ¨ ( q ) in terms of q , q ˙ and q¨ Compute W ¨ ( q ) recursively Penalty methods Wi = Wi−1Ri Use proportional derivative (PD) controllers W˙ i = W˙ i−1Ri + Wi−1R˙ i Analytical methods W¨ i = W¨ i−1Ri + 2W˙ i−1R˙ iWi−1R¨ i Solve a linear system R¨ (q) = Acceleration constraints Multiple constraints Compute the force magnitudes f that satisfy all the Given a desired joint acceleration q ¨ c , what is the acceleration constraints simultaneously torque that gives rise to it? 0 Force - Acceleration relationship h1(q¨) − h1(q¨ ) = k11f1 + k12f2 + · · · + k1mfm 0 0 0 h2 q − h2 q k21f1 k22f2 · · · k2mfm af = kf + a h qf − h q kf (¨) (¨ ) = + + + (¨ ) (¨ ) = . t k 1. Use test torque g to compute 0 ¨t − ¨0 hm(q¨) − hm(q¨ ) = km1f1 + km2f2 + · · · + kmmfm t t 0 = q q q¨ = kg + q¨ k t g h − h0 = Kf c 2. Use k to compute the desired joint torque g c 0 1 t − 0 c t q¨ − q¨ kji = t (hj(q¨i) hj(q¨ )) g = g fi q¨t − q¨0 Impact constraints Impact constraints Use impulse to instantaneously change the body’s Compute desired acceleration on the body point + − − velocities ap = (vp vp )/δt Find the appropriate constraint magnitude that Compute the current joint velocities, satisfy the acceleration constraint fp h a − a q ˙ ! that changes the velocity of body (q¨) = (q¨) p p v− v+ point instantaneously from p to p ¨0 v+ Evaluate the default joint acceleration, q ,and the p p acceleration, q ¨ , after f p is applied p Compute the joint velocity after the impulse v− p − q˙ + = q˙ + (q¨p − q¨0)δt The simulation step Collision response UpdateConstraintSet(): Collision detection ResolveImpact(): Instantaneously change the relative velocity at the contact point ComputeConstraintForces(): Use constraint forces to prevent interpenetration Joint limits Summary UpdateConstraintSet(): Compare current joints Define phase space against joint limits a set of coordinates that fully determine the motion ResolveImpact(): Neutralize the joint velocity that Write down the equation of motion violates the joint limit Deal with constraints ComputeConstraintForces(): Use constraint torque to set joint acceleration to zero penalty methods vs. analytical methods Particle system Rigid body system phase space: x phase space: x ! v " R P L equation of motion: equation of motion: f = mx¨ f = mx¨ τ = Iω˙ + I˙ω constraints: constraints: compute the constraint forces compute impulse and impulsive torque compute contact forces Articulated body system What’s next? phase space: q ! q˙ " Is this enough to simulate animal’s natural motion? equation of motion: How do animals use muscles to generate locomotion? d ∂T ∂T f f E I a v × I v − − = 0 i + i = i i + i i i or Qj dt ∂q˙j ∂qj We will have our first guest lecture on Thursday constraints: Prof. Petros Faloutsos from UCLA use force - acceleration relationship to compute the constraint torques.
Recommended publications
  • Conservation of Total Momentum TM1
    L3:1 Conservation of total momentum TM1 We will here prove that conservation of total momentum is a consequence Taylor: 268-269 of translational invariance. Consider N particles with positions given by . If we translate the whole system with some distance we get The potential energy must be una ected by the translation. (We move the "whole world", no relative position change.) Also, clearly all velocities are independent of the translation Let's consider to be in the x-direction, then Using Lagrange's equation, we can rewrite each derivative as I.e., total momentum is conserved! (Clearly there is nothing special about the x-direction.) L3:2 Generalized coordinates, velocities, momenta and forces Gen:1 Taylor: 241-242 With we have i.e., di erentiating w.r.t. gives us the momentum in -direction. generalized velocity In analogy we de✁ ne the generalized momentum and we say that and are conjugated variables. Note: Def. of gen. force We also de✁ ne the generalized force from Taylor 7.15 di ers from def in HUB I.9.17. such that generalized rate of change of force generalized momentum Note: (generalized coordinate) need not have dimension length (generalized velocity) velocity momentum (generalized momentum) (generalized force) force Example: For a system which rotates around the z-axis we have for V=0 s.t. The angular momentum is thus conjugated variable to length dimensionless length/time 1/time mass*length/time mass*(length)^2/time (torque) energy Cyclic coordinates = ignorable coordinates and Noether's theorem L3:3 Cyclic:1 We have de ned the generalized momentum Taylor: From EL we have 266-267 i.e.
    [Show full text]
  • ME451 Kinematics and Dynamics of Machine Systems
    ME451 Kinematics and Dynamics of Machine Systems Elements of 2D Kinematics September 23, 2014 Dan Negrut Quote of the day: "Success is stumbling from failure to failure with ME451, Fall 2014 no loss of enthusiasm." –Winston Churchill University of Wisconsin-Madison 2 Before we get started… Last time Wrapped up MATLAB overview Understanding how to compute the velocity and acceleration of a point P Relative vs. Absolute Generalized Coordinates Today What it means to carry out Kinematics analysis of 2D mechanisms Position, Velocity, and Acceleration Analysis HW: Haug’s book: 2.5.11, 2.5.12, 2.6.1, 3.1.1, 3.1.2 MATLAB (emailed to you on Th) Due on Th, 9/25, at 9:30 am Post questions on the forum Drop MATLAB assignment in learn@uw dropbox 3 What comes next… Planar Cartesian Kinematics (Chapter 3) Kinematics modeling: deriving the equations that describe motion of a mechanism, independent of the forces that produce the motion. We will be using an Absolute (Cartesian) Coordinates formulation Goals: Develop a general library of constraints (the mathematical equations that model a certain physical constraint or joint) Pose the Position, Velocity and Acceleration analysis problems Numerical Methods in Kinematics (Chapter 4) Kinematics simulation: solving the equations that govern position, velocity and acceleration analysis 4 Nomenclature Modeling Starting with a physical systems and abstracting the physics of interest to a set of equations Simulation Given a set of equations, solve them to understand how the physical system moves in time NOTE: People sometimes simply use “simulation” and include the modeling part under the same term 5 Example 2.4.3 Slider Crank Purpose: revisit several concepts – Cartesian coordinates, modeling, simulation, etc.
    [Show full text]
  • Generalized Coordinates
    GENERALIZED COORDINATES RAVITEJ UPPU Abstract. This primarily deals with the conception of phase space and the uses of it in classical dynamics. Then, we look into the other fundamentals that are required in dynamics before we start with perturbation theory i.e. topics like generalised coordi- nates and genral analysis of dynamical systems. Date: 12 October, 2006. cmi. 1 2 RAVITEJ UPPU The general analysis of dynamics using the conception of phase space is a very deep physical aspect explained in mathematical structure. Let’s intially look what is a phase space and the requirement of a phase space. Well before that let’s see the use of generalized coordinates. 1. Generalized coordinates 1.1. Why generalized coordinates? I have not particularily used the vector symbol over x. It is implicity asssumed to be so and when I speak of components, then I use it with an index (either a subscript or supeerscript) We always try to select coordinates such that they have a visual- izable geometric significance. They are mostly chosen on the basis (being independent usually helps us). They are system dependent un- like the usual coordiantes. Such coordinates are helpful principally in Lagrangian Dynamics, where the forms of the principal equations describing the motion of the system are unchanged by a shift to gen- eralized coordinates from any other coordinate system. 1.2. An approach mentioned. Say we have a N particle system with K holonomic constraint(i.e. constraints of the form fi(x1, x2, ...xN , t) = 0 and i = 1, 2, ...K < 3N) on the system, where, xj are position vectors of N particles.
    [Show full text]
  • 11. Dynamics in Rotating Frames of Reference Gerhard Müller University of Rhode Island, [email protected] Creative Commons License
    University of Rhode Island DigitalCommons@URI Classical Dynamics Physics Course Materials 2015 11. Dynamics in Rotating Frames of Reference Gerhard Müller University of Rhode Island, [email protected] Creative Commons License This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 4.0 License. Follow this and additional works at: http://digitalcommons.uri.edu/classical_dynamics Abstract Part eleven of course materials for Classical Dynamics (Physics 520), taught by Gerhard Müller at the University of Rhode Island. Documents will be updated periodically as more entries become presentable. Recommended Citation Müller, Gerhard, "11. Dynamics in Rotating Frames of Reference" (2015). Classical Dynamics. Paper 11. http://digitalcommons.uri.edu/classical_dynamics/11 This Course Material is brought to you for free and open access by the Physics Course Materials at DigitalCommons@URI. It has been accepted for inclusion in Classical Dynamics by an authorized administrator of DigitalCommons@URI. For more information, please contact [email protected]. Contents of this Document [mtc11] 11. Dynamics in Rotating Frames of Reference • Motion in rotating frame of reference [mln22] • Effect of Coriolis force on falling object [mex61] • Effects of Coriolis force on an object projected vertically up [mex62] • Foucault pendulum [mex64] • Effects of Coriolis force and centrifugal force on falling object [mex63] • Lateral deflection of projectile due to Coriolis force [mex65] • Effect of Coriolis force on range of projectile [mex66] • What is vertical? [mex170] • Lagrange equations in rotating frame [mex171] • Holonomic constraints in rotating frame [mln23] • Parabolic slide on rotating Earth [mex172] Motion in rotating frame of reference [mln22] Consider two frames of reference with identical origins.
    [Show full text]
  • Generalized Coordinates Functions (Fields)
    Other smooth coordinatization qi,i=1,...D Generalized Coordinates Physics 504, Physics 504, Spring 2011 qi(~r) and ~r( qi ) are well defined (in some domain) Spring 2011 i Electricity { } Electricity Cartesian coordinates r ,i=1, 2,...D for Euclidean and mostly 1—1, so Jacobian det(∂qi/∂rj) =0. and space. Magnetism 6 Magnetism 2 i 2 Shapiro Distance between P qi and P qi + δqi is given Shapiro Distance by Pythagoras: (δs) = (δr ) . { } 0 { } i by X i Generalized Generalized Unit vectorse ˆi, displacement ∆~r = i ∆r eˆi Coordinates Coordinates i Cartesian k k Cartesian Fields are functions of position, or of ~r or of r . coords for ED 2 k 2 ∂r i ∂r j coords for ED P { } Generalized (δs) = (δr ) = i δq j δq Generalized Scalar fields Φ(~r), Vector fields V~ (~r) Coordinates ∂q ! ∂q Coordinates Vector Fields Xk Xk Xi Xj Vector Fields ∂Φ Derivatives i j Derivatives ~ Φ= eˆi, Gradient = gijδq δq , Gradient ∇ i Velocity of a Velocity of a i ∂r particle ij particle Derivatives of X Derivatives of X Vectors Vectors ∂Vi Differential where Differential ~ ~ Forms k k Forms V = i , ∇· ∂r 2-forms ∂r ∂r 2-forms i 3-forms gij = i j . 3-forms X Cylindrical ∂q ∂q Cylindrical ∂2Φ Polar and k Polar and 2Φ=~ ~ Φ= , Spherical X Spherical ∇ ∇·∇ i 2 gij is a real symmetric matrix called the metric tensor. i ∂r X In general a nontrivial function of the position, gij(q). ∂Vk ~ V~ = ijk eˆi, 3D only To repeat: ∇× ∂rj 2 i j ijk (δs) = g δq δq .
    [Show full text]
  • Lecture Notes for PC2132 (Classical Mechanics)
    Version: 27th Sept, 2017 11:27; svn-64 Lecture notes for PC2132 (Classical Mechanics) For AY2017/18, Semester 1 Lecturer: Christian Kurtsiefer, Tutors: Adrian Nugraha Utama, Shi Yicheng, Jiaan Qi, Tan Zong Sheng Disclaimer These notes are by no means a suitable replacement for a proper textbook on classical mechanics, nor should it replace your own notes. It is just a best-effort affair with the intention to be useful. This is a document in process – it hopefully does not contain too many mis- takes, but please contact us if you feel that you spotted one. 1 Version: 27th Sept, 2017 11:27; svn-64 Notation There is an attempt to do use consistent notations through this lecture. Below is a list what symbols typically refer to, unless they are referenced to otherwise. a a vector; often the acceleration e a unit vector, i.e., a vector of length 1 (e e = 1) dA a vector differential representing an oriented· surface area element ds a vector differential representing a line element F a vector representing a force H a scalar representing the Hamilton function of a system I the tensor for the inertia of a rigid body L a scalar representing the Lagrange function L a vector representing an angular momentum N a vector representing a torque m a scalar representing the mass of a particle m mass matrix in a system of coupled masses M the total mass of a system p a vector representing the momentum mv of a particle P a vector representing the total momentum of a system qk a generalized coordinate Q the “quality factor” of a damped harmonic oscillator r (or
    [Show full text]
  • Chapter 2 Lagrange's and Hamilton's Equations
    Chapter 2 Lagrange’s and Hamilton’s Equations In this chapter, we consider two reformulations of Newtonian mechanics, the Lagrangian and the Hamiltonian formalism. The first is naturally associated with configuration space, extended by time, while the latter is the natural description for working in phase space. Lagrange developed his approach in 1764 in a study of the libration of the moon, but it is best thought of as a general method of treating dynamics in terms of generalized coordinates for configuration space. It so transcends its origin that the Lagrangian is considered the fundamental object which describes a quantum field theory. Hamilton’s approach arose in 1835 in his unification of the language of optics and mechanics. It too had a usefulness far beyond its origin, and the Hamiltonian is now most familiar as the operator in quantum mechanics which determines the evolution in time of the wave function. We begin by deriving Lagrange’s equation as a simple change of coordi- nates in an unconstrained system, one which is evolving according to New- ton’s laws with force laws given by some potential. Lagrangian mechanics is also and especially useful in the presence of constraints, so we will then extend the formalism to this more general situation. 35 36 CHAPTER 2. LAGRANGE’S AND HAMILTON’S EQUATIONS 2.1 Lagrangian for unconstrained systems For a collection of particles with conservative forces described by a potential, we have in inertial cartesian coordinates mx¨i = Fi. The left hand side of this equation is determined by the kinetic energy func- tion as the time derivative of the momentum pi = ∂T/∂x˙ i, while the right hand side is a derivative of the potential energy, ∂U/∂x .AsT is indepen- − i dent of xi and U is independent ofx ˙ i in these coordinates, we can write both sides in terms of the Lagrangian L = T U, which is then a function of both the coordinates and their velocities.
    [Show full text]
  • Physics 5153 Classical Mechanics Generalized Coordinates and Constraints
    September 6, 2003 22:27:11 P. Gutierrez Physics 5153 Classical Mechanics Generalized Coordinates and Constraints 1 Introduction Dynamics is the study of the motion of interacting objects. It describes the motion in terms of a set of postulates. In our case we will deal with classical dynamics, where we restrict ourselves to system where quantum and relativistic e®ects are negligible. This lecture introduces some basic concepts of classical dynamics, and represents the beginning of our study of analytical mechanics. We will start with a brief discussion of Newtonian mechanics and what we expect to gain from the analytic approach. This will be followed by a discussion of generalized coordinates, and then a discussion of constraints. 1.1 Analytical and Vectorial Mechanics The analytical form of mechanics di®ers considerably from the vectorial form. The analytical form of mechnics is based on the work function and kinetic energy, while the vectorial form is based directly on Newton's three laws, in particular the second law. The following list briefly describes those di®erences, these will become clearer as the semester progresses: 1. The vectorial form requires that each particle be isolated with the forces acting on it be given with each particle forming a separate equation. The analytic method treats the system as a whole with one equation describing the system in terms of the work (potential energy). 2. If there are strong forces that maintain a ¯xed relation between the coordinates of the particles in the system, and an empirical relation that describes it, the vectorial method has to consider the forces that are required to maintain it.
    [Show full text]
  • Physics 235 Chapter 7
    Physics 235 Chapter 7 Chapter 7 Hamilton's Principle - Lagrangian and Hamiltonian Dynamics Many interesting physics systems describe systems of particles on which many forces are acting. Some of these forces are immediately obvious to the person studying the system since they are externally applied. Other forces are not immediately obvious, and are applied by the external constraints imposed on the system. These forces are often difficult to quantify, but the effect of these forces is easy to describe. Trying to describe such a system in terms of Newton's equations of motion is often difficult since it requires us to specify the total force. In this Chapter we will see that describing such a system by applying Hamilton's principle will allow us to determine the equation of motion for system for which we would not be able to derive these equations easily on the basis of Newton's laws. We should stress however, that Hamilton's principle does not provide us with a new physical theory, but it allows us to describe the existing theories in a new and elegant framework. Hamilton's Principle The evolution of many physical systems involves the minimization of certain physical quantities. We already have encountered an example of such a system, namely the case of refraction where light will propagate in such a way that the total time of flight is minimized. This same principle can be used to explain the law of reflection: the angle of incidence is equal to the angle of reflection. The minimization approach to physics was formalized in detail by Hamilton, and resulted in Hamilton's Principle which states: " Of all the possible paths along which a dynamical system may more from one point to another within a specified time interval (consistent with any constraints), the actual path followed is that which minimizes the time integral of the difference between the kinetic and potential energies.
    [Show full text]
  • Chapter 7: Lagrangian & Hamiltonian Dynamics
    Lecture Notes for PHY 405 Classical Mechanics From Thorton & Marion's Classical Mechanics Prepared by Dr. Joseph M. Hahn Saint Mary's University Department of Astronomy & Physics October 17, 2004 Chapter 7: Lagrangian & Hamiltonian Dynamics Problem Set #4 due Tuesday November 1 at start of class text problems 7{7, 7{10, 7{11, 7{12, 7{20. Please derive all solutions|don't simply show that the text's solutions satisfy your EOM. Newton's Law F = mp_ can be problematic at times. For instance, the resulting EOM can at times be messy in spherical, cylin- drical, or other coordinate systems: F=m = x¨x^ + y¨y^ + z¨^z in Cartesian coordinates 1 d = (r¨ − rθ_2)^r + (r2θ_)θ^+ z¨^z in cylindrical coord's r dt Newton's law requires knowing all the forces acting on a particle. In partic- ular, constraints are in additional forces to be accounted for in F = ma. Some forces of constraint are easy ex.: a particle on a flat plane has Fconstraint = +mg^z However other problems may have constraining forces that are too complicated or difficult to formulate. ex.: motion on a curved surface, motion of a bead along a curved wire, etc. 1 Lagrange equations of motion An alternate approach is to use Lagrangian dynamics, which is a reformulation of Newtonian dynamics that can (sometimes) yield simpler EOM. Another advantage of Lagrangian dynamics is that it can easily account for the forces of constraint. Begin by noting that the solution to many physics problems can be solved by first invoking a minimization principle.
    [Show full text]
  • Holonomic and Nonholonomic Constraints
    MEAM 535 Holonomic and Nonholonomic Constraints University of Pennsylvania 1 MEAM 535 Degrees of freedom and constraints Consider a system S with N particles, Pr (r=1,...,N), and their positions vector xr in some reference frame A. The 3N components specify the configuration of the system, S. The configuration space is defined as: 3N T ℵ= X X ∈ R , X = [x1.a1, x1.a 2, x1.a 3,…x N .a1, x N .a 2, x N .a 3 ] { } The 3N scalar numbers are called configuration space variables or coordinates€ for the system. The trajectories of the system in the configuration space are always continuous. University of Pennsylvania 2 MEAM 535 A System of Two Particles on a Line University of Pennsylvania 3 MEAM 535 Holonomic Constraints Constraints on the position Particle is constrained to lie on a (configuration) of a system of particles plane: are called holonomic constraints. A x1 + B x2 + C x3 + D = 0 Constraints in which time explicitly A particle suspended from a taut enters into the constraint equation string in three dimensional space. are called rheonomic. 2 2 2 2 (x1 – a) +(x2 – b) +(x3 – c) – r = 0 Constraints in which time is not explicitly present are called A particle on spinning platter scleronomic. (carousel) x1 = a cos(ωt + φ); x2 = a sin(ωt + φ) A particle constrained to move on a sphere in three-dimensional space whose radius changes with time t. 2 x1 dx1 + x2 dx2 + x3 dx3 - c dt = 0 University of Pennsylvania 4 MEAM 535 Holonomic Constraint x3 Configuration space f(x1, x2, x3)=0 x2 x1 University of Pennsylvania 5 MEAM 535 Scleronomic, holonomic Rheonomic, holonomic t f(x1, x2)=0 f(x1, x2, t)=0 f(x1, x2 , t4)=0 f(x1, x2 , t3)=0 Configuration space f(x1, x2 , t2)=0 x 2 x2 f(x1, x2)=0 x1 x 1 f(x1, x2 , t1)=0 University of Pennsylvania 6 MEAM 535 Nonholonomic Constraints Definition 1 A particle constrained to move on a All constraints that are not circle in three-dimensional space holonomic x whose radius changes with time t.
    [Show full text]
  • Phys 7221 Homework #2
    Phys 7221 Homework #2 Gabriela Gonz´alez September 18, 2006 1. Derivation 1-9: Gauge transformations for electromagnetic potential If two Lagrangians differ by a total derivative of a function of coordinates and time, they lead to the same equation of motion: dF (qi, t) ∂F X ∂F L0(q , q˙ , t) = L(q , q˙ , t) + = L(q , q˙ , t) + + q˙ i i i i dt i i ∂t ∂q j j j as proven in the following lines: ∂L0 ∂L0 ∂F = + ∂q˙i ∂q˙i ∂qi ∂L0 ∂L ∂ dF = + ∂qi ∂qi ∂qi dt d ∂L0 ∂L0 d ∂L ∂L d ∂F ∂ dF − = − + − dt ∂q˙i ∂qi dt ∂q˙i ∂qi dt ∂qi ∂qi dt d ∂F ∂ X ∂ ∂F = + q˙ dt ∂q ∂t j ∂q ∂q i j j i ∂ ∂F X ∂F = + q˙ ∂q ∂t j ∂q i j j ∂ dF = ∂qi dt and thus the equations of motion are the same, derived from either Lagrangian: d ∂L0 ∂L0 d ∂L ∂L − = − dt ∂q˙i ∂qi dt ∂q˙i ∂qi 1 (What goes wrong if F = F (q, q,˙ t)?) A particle moving in an electromagnetic field, with scalar potential φ and vector potential A, has a generalized potential function U = φ − A · v and a Lagrangian 1 L = T − U = mv2 − q (φ − A · v) 2 Consider a gauge transformation for the scalar and vector potentials of the form ∂ψ(r, t) φ0 = φ − ∂t A0 = A + ∇ψ(r, t) The change in potential energy under this transformation is U 0 = φ0 − A0 · v ∂ψ = U − q + ∇ψ · v ∂t ∂ψ dr = U − q + ∇ψ · ∂t dt ∂ψ X ∂ψ dxi = U − q + ∂t ∂xi dt dψ = U − q dt and thus, the new Lagrangian differs from the original one by a total derivative: dψ d(qψ) L0 = T − U 0 = T − U + q = L + dt dt and thus we know the equations of motion are the same.
    [Show full text]