Discrete Variational Mechanics Benjamin Stephens J.E. Marsden and M. West, “Discrete mechanics and variational integrators,” Acta Numerica, No. 10, pp.

Slides:



Advertisements
Similar presentations
Numerical Integration
Advertisements

Numeric Integration Methods Jim Van Verth Red Storm Entertainment
Lecture 5: Constraints I
Mechatronics 1 Weeks 5,6, & 7. Learning Outcomes By the end of week 5-7 session, students will understand the dynamics of industrial robots.
Lecture 2. A Day of Principles The principle of virtual work d’Alembert’s principle Hamilton’s principle 1 (with an example that applies ‘em all at the.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Benjamin Stephens Carnegie Mellon University 9 th IEEE-RAS International Conference on Humanoid Robots December 8, 2009 Modeling and Control of Periodic.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013.
Course Outline 1.MATLAB tutorial 2.Motion of systems that can be idealized as particles Description of motion; Newton’s laws; Calculating forces required.
Calculus of Variations
Lagrangian and Hamiltonian Dynamics
Parallel Decomposition-based Contact Response Fehmi Cirak California Institute of Technology.
Variational Calculus. Functional  Calculus operates on functions of one or more variables. Example: derivative to find a minimum or maximumExample: derivative.
Mechanics.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Jana Musilová Masaryk University Brno Olga Rossi University of Ostrava La Trobe University, Melbourne Nonholonomic variational systems.
III Solution of pde’s using variational principles
Simulating Multi-Rigid-Body Dynamics with Contact and Friction Mihai Anitescu SIAM OPTIMIZATION MEETING May 10, 1999.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Stanford University Department of Aeronautics and Astronautics Introduction to Symmetry Analysis Brian Cantwell Department of Aeronautics and Astronautics.
STATIC EQUILIBRIUM [4] Calkin, M. G. “Lagrangian and Hamiltonian Mechanics”, World Scientific, Singapore, 1996, ISBN Consider an object having.
Revision Previous lecture was about Generating Function Approach Derivation of Conservation Laws via Lagrangian via Hamiltonian.
VARIATIONAL PRINCIPALS FOR DYNAMICS By Hamed Adldoost Instructor: Prof. Dr. Zohoor ANALYTICAL DYNAMICS 1 Sharif University of Technology, Int’l Campus,
ME451 Kinematics and Dynamics of Machine Systems
Physics 311 Classical Mechanics Welcome! Syllabus. Discussion of Classical Mechanics. Topics to be Covered. The Role of Classical Mechanics in Physics.
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
A PPLIED M ECHANICS Lecture 02 Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Dynamics.  relationship between the joint actuator torques and the motion of the structure  Derivation of dynamic model of a manipulator  Simulation.
Lecture 13: Stability and Control I We are learning how to analyze mechanisms but what we’d like to do is make them do our bidding We want to be able to.
Physics 430: Lecture 15 Lagrange’s Equations
Quadruped Robot Modeling and Numerical Generation of the Open-Loop Trajectory Introduction We model a symmetric quadruped gait for a planar robot with.
Numerical Integration and Rigid Body Dynamics for Potential Field Planners David Johnson.
Large Steps in Cloth Simulation - SIGGRAPH 98 박 강 수박 강 수.
9/11/2013PHY 711 Fall Lecture 71 PHY 711 Classical Mechanics and Mathematical Methods 10-10:50 AM MWF Olin 103 Plan for Lecture 7: Continue reading.
The Calculus of Variations! A Primer by Chris Wojtan.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
In the Hamiltonian Formulation, the generalized coordinate q k & the generalized momentum p k are called Canonically Conjugate quantities. Hamilton’s.
MA/CS 375 Fall MA/CS 375 Fall 2002 Lecture 12.
Incremental Integration of Computational Physics into Traditional Undergraduate Courses Kelly R. Roos, Department of Physics, Bradley University Peoria,
Seminar on Computational Engineering by Jukka-Pekka Onnela
The inverse variational problem in nonholonomic mechanics
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems May 07, 2009 EOM in non-Cartesian Reference Frames ~ not in textbook~ Quote.
Phy 303: Classical Mechanics (2) Chapter 3 Lagrangian and Hamiltonian Mechanics.
City College of New York 1 John (Jizhong) Xiao Department of Electrical Engineering City College of New York Mobile Robot Control G3300:
The Hamiltonian method
Discrete Geometric Mechanics for Variational Time Integrators Ari Stern Mathieu Desbrun Geometric, Variational Integrators for Computer Animation L. Kharevych.
Game Technology Animation V Generate motion of objects using numerical simulation methods Physically Based Animation.
Lecture Fall 2001 Controlling Animation Boundary-Value Problems Shooting Methods Constrained Optimization Robot Control.
Review of PMP Derivation We want to find control u(t) which minimizes the function: x(t) = x*(t) +  x(t); u(t) = u*(t) +  u(t); (t) = *(t) +  (t);
Structure and Synthesis of Robot Motion Dynamics Subramanian Ramamoorthy School of Informatics 2 February, 2009.
ME451 Kinematics and Dynamics of Machine Systems Numerical Integration October 28, 2013 Radu Serban University of Wisconsin-Madison.
Energy-minimizing Curve Design Gang Xu Zhejiang University Ouyang Building, 20-December-2006.
STE 6239 Simulering Wednesday, Week 2: 8. More models and their simulation, Part II: variational calculus, Hamiltonians, Lagrange multipliers.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
The Lagrangian Equation INTERMEDIATE MECHANICS WESLEY QUEEN.
Dynamics. Motion with Regard to Mass Particle Dynamics Mass concentrated in point Newton’s Equation Governs Motion f = M x.
PHYSICS 361 (Classical Mechanics) Dr. Anatoli Frishman Web Page:
The Lagrangian Equation INTERMEDIATE MECHANICS WESLEY QUEEN.
Ch. 2: Variational Principles & Lagrange’s Eqtns Sect. 2.1: Hamilton’s Principle Our derivation of Lagrange’s Eqtns from D’Alembert’s Principle: Used.
Texas A&M University, Department of Aerospace Engineering AUTOMATIC GENERATION AND INTEGRATION OF EQUATIONS OF MOTION BY OPERATOR OVER- LOADING TECHNIQUES.
Introduction to Lagrangian and Hamiltonian Mechanics
Physically Based Simulations For Games
Yueshi Shen Dept. of Information Engineering
Theoretical Mechanics: Lagrangian dynamics
Variational Time Integrators
Variational Calculus: Euler’s Equation
Try Lam 25 April 2007 Aerospace and Mechanical Engineering
Physically Based Modeling -Overview-
GPAT – Chapter 7 Physics.
Presentation transcript:

Discrete Variational Mechanics Benjamin Stephens J.E. Marsden and M. West, “Discrete mechanics and variational integrators,” Acta Numerica, No. 10, pp , 2001 M. West “Variational Integrators,” PhD Thesis, Caltech,

About My Research Humanoid balance using simple models Compliant floating body force control Dynamic push recovery planning by trajectory optimization 2

3

But this talk is not about that…

The Principle of Least Action The spectacle of the universe seems all the more grand and beautiful and worthy of its Author, when one considers that it is all derived from a small number of laws laid down most wisely. -Maupertuis,

The Main Idea Equations of motion are derived from a variational principle Traditional integrators discretize the equations of motion Variational integrators discretize the variational principle 6

Physically meaningful dynamics simulation Motivation Stein A., Desbrun M. “Discrete geometric mechanics for variational time integrators” in Discrete Differential Geometry. ACM SIGGRAPH Course Notes,

Goals for the Talk Fundamentals (and a little History) Simple Examples/Comparisons Related Work and Applications Discussion 8

The Continuous Lagrangian Q – configuration space TQ – tangent (velocity) space L:TQ→R Kinetic EnergyPotential EnergyLagrangian 9

Variation of the Lagrangian Principle of Least Action = the function, q*(t), minimizes the integral of the Lagrangian Variation of trajectory with endpoints fixed “Hamilton’s Principle” ~ “Calculus of Variations” ~ Lagrange, 1760

Continuous Lagrangian “Euler-Lagrange Equations” 11

Continuous Mechanics 12

The Discrete Lagrangian L:QxQ→R 13

Variation of Discrete Lagrangian “Discrete Euler-Lagrange Equations” 14

Variational Integrator Solve for : 15

Solution: Nonlinear Root Finder 16

Simple Example: Spring-Mass Continuous Lagrangian: Euler-Lagrange Equations: Simple Integration Scheme: 17

Simple Example: Spring-Mass Discrete Lagrangian: Discrete Euler-Lagrange Equations: Integration: 18

Comparison: 3 Types of Integrators Euler – easiest, least accurate Runge-Kutta – more complicated, more accurate Variational – EASY & ACCURATE! 19

20

Notice: Energy does not dissipate over time Energy error is bounded 21

Stein A., Desbrun M. “Discrete geometric mechanics for variational time integrators” in Discrete Differential Geometry. ACM SIGGRAPH Course Notes, 2006 Variational Integrators are “Symplectic” Simple explanation: area of the cat head remains constant over time 22

Forcing Functions Discretization of Lagrange–d’Alembert principle 23

Constraints 24

Example: Constrained Double Pendulum w/ Damping 25

Example: Constrained Double Pendulum w/ Damping Constraints strictly enforced, h= No stabilization heuristics required!

Complex Examples From Literature E. Johnson, T. Murphey, “Scalable Variational Integrators for Constrained Mechanical Systems in Generalized Coordinates,” IEEE Transactions on Robotics, 2009 a.k.a “Beware of ODE” 27

Complex Examples From Literature Variational Integrator ODE 28

Complex Examples From Literature 29

Complex Examples From Literature log Timestep was decreased until error was below threshold, leading to longer runtimes. 30

Applications Marionette Robots E. Johnson and T. Murphey, “Discrete and Continuous Mechanics for Tree Represenatations of Mechanical Systems,” ICRA

Applications Hand modeling E. Johnson, K. Morris and T. Murphey, “A Variational Approach to Stand-Based Modeling of the Human Hand,” Algorithmic Foundations of Robotics VII,

Applications Non-smooth dynamics Fetecau, R. C. and Marsden, J. E. and Ortiz, M. and West, M. (2003) Nonsmooth Lagrangian mechanics and variational collision integrators. SIAM Journal on Applied Dynamical Systems 33

Applications Structural Mechanics Kedar G. Kale and Adrian J. Lew, “Parallel asynchronous variational integrators,” International Journal for Numerical Methods in Engineering,

Trajectory optimization Applications O. Junge, J.E. Marsden, S. Ober-Blöbaum, “Discrete Mechanics and Optimal Control”, in Proccedings of the 16th IFAC World Congress,

Summary Discretization of the variational principle results in symplectic discrete equations of motion Variational integrators perform better than almost all other integrators. This work is being applied to the analysis of robotic systems 36

Discussion What else can this idea be applied to? – Optimal Control is also derived from a variational principle (“Pontryagin’s Minimum Principle”). This idea should be taught in calculus and/or dynamics courses. We don’t need accurate simulation because real systems never agree. 37

Brief History of Lagrangian Mechanics Principle of Least Action – Liebniz, 1707; Euler, 1744; Maupertuis, 1746 Calculus of Variations – Lagrange, 1760 Méchanique Analytique – Lagrange, 1788 Lagrangian Mechanics – Hamilton,