department of mathematics, university of … › ~mleok › pdf › poster-gafos_36x24.pdfdepartment...

1
Computational Geometric Mechanics and Geometric Control Melvin Leok Department of Mathematics, University of California, San Diego The Geometry of Falling Cats and Satellite Control Cats are able to control their orientation while falling by changing their shape, so as to land on their feet. There is a nontrivial coupling between the shape and orientation due to the curvature of the space of zero angular momentum. This is described mathematically by a connection, which provide a means of comparing elements of a fiber based at different points on the manifold. This approach can be used to control the orientation of satellites by using internal momentum wheels and gyroscopes, and is more precise than methods based on chemical propulsion. area = A finish start rigid carrier spinning rotors Geometry and Numerical Methods Many continuous dynamical systems have conserved geometric invariants: Energy Symmetries, Reversibility, Monotonicity Momentum - Angular, Linear, Kelvin Circulation Theorem. Symplectic Form Integrability At other times, the equations themselves are defined on a manifold, such as a Lie group, or more generally, a configuration manifold of a mechanical system, and we require numerical methods that automatically remain on the manifold. Geometric invariants affect the qualitative properties of dynamical systems, and geometric numerical integrators conserve discrete geometric invariants. Discrete Variational Mechanics Mechanics can be described covariantly by considering a Lagrangian, L : TQ R. that is given by the difference of kinetic and potential energies. Hamilton’s principle states that the trajectory q (t ) that joins two points q (t 1 ) and q (t 2 ) extremizes the action integral S (q )= t 2 t 1 L(q (t ), ˙ q (t ))dt . qa () qb () dqt () Q qt () varied curve q0 qN dqi Q qi varied point We introduce a discrete Lagrangian, L d (q 0 , q 1 ) h 0 L(q (t ), ˙ q (t ))dt . The discrete Hamilton’s principle states that S d = N 1 k =0 L d (q k , q k +1 ) is stationary. This leads to the discrete Euler–Lagrange equations, D 2 L d (q k 1 , q k )+ D 1 L d (q k , q k +1 )=0, which induces a map F L d :(q k 1 , q k ) (q k , q k +1 ), that is automatically symplectic, momentum-preserving, and exhibits good energy behavior. Comparing representations of the rotation group SO (3) Euler Angles Local coordinate chart, exhibits singularities. Requires change of charts to simulate large attitude maneuvers. Unit Quaternions Reprojection used to stay on unit 3-sphere. The 3-sphere is a double-cover of SO (3) which causes topological problems for optimization. Rotation Matrices 9 dimensional space (3 × 3 matrices) with a 6 dimensional constraint (orthogonality), but the exponential map saves the day. Variational Lie Group Techniques To stay on the Lie group, we parametrize the curve by the initial point g 0 , and elements of the Lie algebra ξ i , such that, g d (t ) = exp ξ s ˜ l κ,s (t ) g 0 . The Lie algebra is a linear space, and we use standard approximation methods on the Lie algebra and lift to the group by using the exponential map. Automatically stays on SO (n ) without the need for reprojection, constraints, or local coordinates. Cayley transform based methods perform 5-6 times faster, without loss of geometric conservation properties. Numerical Simulations Our Lie group variational integrator (LGVI) is a Lie St¨ ormer–Verlet method, so it is a second-order symplectic Lie group method. We compare it to other second-order accurate methods: Explicit Midpoint Rule (RK): Preserves neither symplectic nor Lie group properties. Implicit Midpoint Rule (SRK): Symplectic but does not preserve Lie group properties. Crouch-Grossman (LGM): Lie group method but not symplectic. 0 10 20 30 Ŧ0.1593 Ŧ0.159 time E RK SRK LGM LGVI Computed total energy for 30 seconds 10 Ŧ4 10 Ŧ3 10 Ŧ2 10 Ŧ8 10 Ŧ6 10 Ŧ4 10 Ŧ2 Step size mean |' E| RK SRK LGM LGVI Mean total energy error |E E 0 | vs. step size 10 Ŧ4 10 Ŧ3 10 Ŧ2 10 Ŧ15 10 Ŧ10 10 Ŧ5 10 0 Step size mean |IŦR T R| Mean orthogonality error I R T R vs. step size 10 Ŧ4 10 Ŧ3 10 Ŧ2 10 2 10 3 10 4 10 5 Step size CPU time (sec) CPU time vs. step size Geometric Optimal Control Algorithms Traditional approach Local analysis of the connection near the desired shape position. Gives a closed form expression for the geometric phase associated with infinitesimally small loops in shape space. Resulting shape trajectories are often suboptimal and slow. Proposed approach Homotopy-based optimal control algorithm using geometrically exact numerical schemes. Allows for large-amplitude trajectories that are global in nature, and more efficient than infinitesimal loops. Discrete Geometric Optimal Control Use the discrete Lagrange–d’Alembert principle, δ L d (q k , q k +1 )+ F d (q k , q k +1 ) · (δ q k q k +1 )=0, to derive the discrete forced Euler–Lagrange equations, and impose these as constraints at every time-step. This yields greater fidelity to the equations of motion than imposing the dynamical constraints using the method of collocation. The resulting numerical solutions are group-equivariant, which implies that the numerical solutions are independent of the choice of coordinate frame. Underactuated Control of a 3D Pendulum Ŧ2 Ŧ1.5 Ŧ1 Ŧ0.5 Ŧ2 Ŧ1.5 Ŧ1 Ŧ0.5 Ŧ12 Ŧ10 Ŧ8 Ŧ6 Ŧ4 Ŧ2 Ŧ12 Ŧ10 Ŧ8 Ŧ6 Ŧ4 Ŧ2 Uncertainty Propagation on Lie Groups Gromov’s nonsqueezing theorem from symplectic geometry implies that there is a lower bound to the projected volume onto position-momentum planes that depends on the initial projected volume of the ensemble. The proposed method generalizes the generalized polynomial chaos approach, and involves solving the Liouville equation by using sample trajectories generated by Lie group variational integrators to reconstruct the distribution. We construct an approximation of the distribution using noncommutative harmonic analysis, in particular, the Peter–Weyl theorem, which relates irreducible unitary representations with a complete basis for L 2 (G ). Summary Geometry has an important role in nonlinear control and numerical methods. Geometric control theory takes into account the interaction between shape and group variables. Discrete geometry and mechanics is important for developing accurate and efficient computational schemes. Supported by NSF Grants DMS-0726263, DMS-1001521, DMS-1010687 (CAREER), CMMI-1029445, DMS-1065972 (FRG) 18th Annual German-American Frontiers of Science Symposium, Potsdam, Germany, May 10-13, 2012

Upload: others

Post on 07-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Department of Mathematics, University of … › ~mleok › pdf › Poster-GAFOS_36x24.pdfDepartment of Mathematics, University of California, San Diego The Geometry of Falling Cats

Computational Geometric Mechanics and Geometric ControlMelvin Leok

Department of Mathematics, University of California, San Diego

The Geometry of Falling Cats and Satellite Control

�Cats are able to control their orientation while falling bychanging their shape, so as to land on their feet.

�There is a nontrivial coupling between the shape and orientationdue to the curvature of the space of zero angular momentum.

�This is described mathematically by a connection, whichprovide a means of comparing elements of a fiber based atdifferent points on the manifold.

�This approach can be used to control the orientation ofsatellites by using internal momentum wheels and gyroscopes,and is more precise than methods based on chemical propulsion.

area = A

finish

start

rigid carrier

spinning rotors

Geometry and Numerical Methods

�Many continuous dynamical systems have conserved geometric invariants:� Energy� Symmetries, Reversibility, Monotonicity�Momentum - Angular, Linear, Kelvin Circulation Theorem.� Symplectic Form� Integrability

�At other times, the equations themselves are defined on a manifold, such as aLie group, or more generally, a configuration manifold of a mechanical system,and we require numerical methods that automatically remain on the manifold.

�Geometric invariants affect the qualitative properties of dynamical systems,and geometric numerical integrators conserve discrete geometric invariants.

Discrete Variational Mechanics

�Mechanics can be described covariantly by considering a Lagrangian,L : TQ → R. that is given by the difference of kinetic and potential energies.

�Hamilton’s principle states that the trajectory q(t) that joins two points q(t1)and q(t2) extremizes the action integral S(q) =

�t2

t1L(q(t), q(t))dt.

q a( )

q b( )

!q t( )

Q

q t( ) varied curve

q0

qN

!qi

Q

qi varied point

�We introduce a discrete Lagrangian, Ld(q0, q1) ≈�h

0 L(q(t), q(t))dt.

�The discrete Hamilton’s principle states that Sd =�

N−1k=0 Ld(qk, qk+1) is

stationary. This leads to the discrete Euler–Lagrange equations,

D2Ld(qk−1, qk) + D1Ld(qk, qk+1) = 0,

which induces a map FLd : (qk−1, qk) �→ (qk, qk+1), that is automaticallysymplectic, momentum-preserving, and exhibits good energy behavior.

Comparing representations of the rotation group SO(3)

�Euler Angles� Local coordinate chart, exhibits singularities.� Requires change of charts to simulate large attitude maneuvers.

�Unit Quaternions� Reprojection used to stay on unit 3-sphere.�The 3-sphere is a double-cover of SO(3) which causes topological problems foroptimization.

�Rotation Matrices� 9 dimensional space (3× 3 matrices) with a 6 dimensional constraint (orthogonality), butthe exponential map saves the day.

Variational Lie Group Techniques

�To stay on the Lie group, we parametrize the curve by the initial point g0,

and elements of the Lie algebra ξi , such that, gd(t) = exp��

ξs lκ,s(t)�g0.

�The Lie algebra is a linear space, and we use standard approximation methodson the Lie algebra and lift to the group by using the exponential map.

�Automatically stays on SO(n) without the need for reprojection, constraints,or local coordinates.

�Cayley transform based methods perform 5-6 times faster, without loss ofgeometric conservation properties.

Numerical Simulations

�Our Lie group variational integrator (LGVI) is a Lie Stormer–Verlet method,so it is a second-order symplectic Lie group method.

�We compare it to other second-order accurate methods:� Explicit Midpoint Rule (RK): Preserves neither symplectic nor Lie group properties.� Implicit Midpoint Rule (SRK): Symplectic but does not preserve Lie group properties.� Crouch-Grossman (LGM): Lie group method but not symplectic.

0 10 20 30

0.1593

0.159

time

E

RKSRKLGMLGVI

Computed total energy for 30seconds

104

103

102

108

106

104

102

Step size

mea

n |

E|

RKSRKLGMLGVI

Mean total energy error |E − E0|vs. step size

104

103

102

1015

1010

105

100

Step sizem

ean

|IR

TR

|

Mean orthogonality error�I − RTR� vs. step size

104

103

102

102

103

104

105

Step size

CPU

tim

e (s

ec)

CPU timevs. step size

Geometric Optimal Control Algorithms

�Traditional approach� Local analysis of the connection near the desired shape position.� Gives a closed form expression for the geometric phase associated with infinitesimally smallloops in shape space.

� Resulting shape trajectories are often suboptimal and slow.�Proposed approach

�Homotopy-based optimal control algorithm using geometrically exact numerical schemes.� Allows for large-amplitude trajectories that are global in nature, and more efficient thaninfinitesimal loops.

Discrete Geometric Optimal Control

�Use the discrete Lagrange–d’Alembert principle,

δ�

Ld (qk, qk+1) +�

Fd (qk, qk+1) · (δqk, δqk+1) = 0,

to derive the discrete forced Euler–Lagrange equations, and impose these asconstraints at every time-step.

�This yields greater fidelity to the equations of motion than imposing thedynamical constraints using the method of collocation.

�The resulting numerical solutions are group-equivariant, which implies thatthe numerical solutions are independent of the choice of coordinate frame.

Underactuated Control of a 3D Pendulum

2

1.5

1

0.5

2

1.5

1

0.5

12

10

8

6

4

2

12

10

8

6

4

2

Uncertainty Propagation on Lie Groups

�Gromov’s nonsqueezing theorem from symplectic geometry implies that thereis a lower bound to the projected volume onto position-momentum planesthat depends on the initial projected volume of the ensemble.

�The proposed method generalizes the generalized polynomial chaos approach,and involves solving the Liouville equation by using sample trajectoriesgenerated by Lie group variational integrators to reconstruct the distribution.

�We construct an approximation of the distribution using noncommutativeharmonic analysis, in particular, the Peter–Weyl theorem, which relatesirreducible unitary representations with a complete basis for L2(G ).

Summary

�Geometry has an important role in nonlinear control and numerical methods.�Geometric control theory takes into account the interaction between shapeand group variables.

�Discrete geometry and mechanics is important for developing accurate andefficient computational schemes.

Supported by NSF Grants DMS-0726263, DMS-1001521, DMS-1010687 (CAREER), CMMI-1029445, DMS-1065972 (FRG) 18th Annual German-American Frontiers of Science Symposium, Potsdam, Germany, May 10-13, 2012