




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A new approach to learning about mechanical systems based on Lagrangian dynamics. The authors explain how the properties of the Lagrangian, such as symmetries, lead to physical properties of the system, like conservation laws. They propose that instead of learning the dynamics directly, one should learn the Lagrangian and incorporate known symmetries to obtain models that respect these laws. The document also discusses how to find the Lagrangian from data and provides examples of forced Duffing equation and Acrobot.
Typology: Exams
1 / 28
This page cannot be seen from the preview
Don't miss anything!
Clancy Rowley
Joint work with Mohamadreza Ahmadi and Ufuk Topcu (UT Austin)
I (^) Many mechanical systems are described by Lagrangian dynamics I (^) Properties of the Lagrangian (e.g., symmetries) lead to physical properties of the system (e.g., conservation laws)
I (^) Consider a 2n dimensional state space with variables q = (q 1 ,... , qn) (“positions”) and q˙ = ( ˙q 1 ,... , q˙n) (“velocities”). I (^) Define a real-valued function L(q, q˙). I (^) The corresponding dynamics are given by the Euler-Lagrange equations: d dt
∂ q˙i
∂qi
= 0 , i = 1 ,... , n.
I (^) Consider a 2n dimensional state space with variables q = (q 1 ,... , qn) (“positions”) and q˙ = ( ˙q 1 ,... , q˙n) (“velocities”). I (^) Define a real-valued function L(q, q˙). I (^) The corresponding dynamics are given by the Euler-Lagrange equations: d dt
∂ q˙i
∂qi
= 0 , i = 1 ,... , n.
I (^) For mechanical systems, the Lagrangian is kinetic energy minus potential energy:
L(q, q˙) =
q˙T^ M q˙ − V (q)
Suppose the dynamics of a system are given by
x ˙ = f (x),
where x = (q, q˙) is the state. I (^) One approach to learning is to use data (e.g., samples of x(ti )) to try to find the function f : R^2 n^ → R^2 n.
Suppose the dynamics of a system are given by
x ˙ = f (x),
where x = (q, q˙) is the state. I (^) One approach to learning is to use data (e.g., samples of x(ti )) to try to find the function f : R^2 n^ → R^2 n. I (^) If the dynamics come from a Lagrangian L(q, q˙), then a different approach is to use data to try to find the Lagrangian L : R^2 n^ → R.
Why would we want to do this?
I (^) Symmetries are a type of side information. For instance, the Lagrangian may be independent of a particular variable qj , or invariant to the action of some group (e.g., rotations). I (^) For instance, suppose L(q, q˙) is independent of position qj (for some j). I (^) Then the Euler-Lagrange equation for that variable is d dt
∂ q˙j
so the “generalized momentum” ∂L/∂ q˙j is conserved.
I (^) Symmetries are a type of side information. For instance, the Lagrangian may be independent of a particular variable qj , or invariant to the action of some group (e.g., rotations). I (^) For instance, suppose L(q, q˙) is independent of position qj (for some j). I (^) Then the Euler-Lagrange equation for that variable is d dt
∂ q˙j
so the “generalized momentum” ∂L/∂ q˙j is conserved. I (^) Emmy Noether showed that a similar result holds for symmetries described by arbitrary Lie groups.
I (^) If there are known symmetries, incorporate these as “side information”. I (^) The resulting models will then automatically satisfy the corresponding conservation laws. (^) 6 / 16
We will assume the dynamics satisfy Euler-Lagrange equations of the form d dt
∂ q˙
∂q
= B(q)u.
I (^) u(t) is a control input, which we get to choose I (^) B(q) is known I (^) The function L(q, q˙) is unknown, and we will try to determine it from data.
t
q(t), q˙(t)
q(0)
q ˙(0)
q ˙(tN )
q(tN )
I (^) The goal is to learn L(q, q˙) given data {ti , u(ti ), q(ti ), q˙(ti ), q¨(ti )}Ni= 1. I (^) Parameterize the Lagrangian:
L(q, q˙) =
∑^ d
i= 1
αi ϕi (q, q˙),
for given basis functions ϕi (e.g., monomials)
t
q(t), q˙(t)
q(0)
q ˙(0)
q ˙(tN )
q(tN )
I (^) The goal is to learn L(q, q˙) given data {ti , u(ti ), q(ti ), q˙(ti ), q¨(ti )}Ni= 1. I (^) Parameterize the Lagrangian:
L(q, q˙) =
∑^ d
i= 1
αi ϕi (q, q˙),
for given basis functions ϕi (e.g., monomials) I (^) Find constants αi that best fit the data. I (^) One can then predict the future evolution from E-L equations. (^) 8 / 16
We take steps to find a particular (non-trivial) Lagrangian whose corresponding dynamics agree with the data. For details, see paper (M. Ahmadi, U. Topcu, C. Rowley, ACC 2018).
q
A cos(ωt)
N/S N/S
beam
magnet magnet
rigid frame