Discrete Mechanics and Optimal Control (DMOC)
Author: Tianjiang Shuo
Website: https://cislunarspace.cn
Definition
Discrete mechanics and optimal control (DMOC) is the structure-preserving branch of direct methods, introduced by Junge, Marsden, and Ober-Blöbaum (Junge et al. 2005; Ober-Blöbaum et al. 2011). The key distinction: DMOC discretizes the variational principle, not the ODE. The system Lagrangian is replaced by a discrete Lagrangian ; varying the discrete action yields the forced discrete Euler-Lagrange equations, which serve as NLP constraints; the control cost is the objective. The resulting finite-dimensional constrained optimization is solved by SNOPT or another SQP solver (Ober-Blöbaum et al. 2011; Moore 2011).
DMOC resembles direct collocation in form (discretize-then-optimize), but the objects discretized differ: collocation discretizes , DMOC discretizes Hamilton's principle . The result: DMOC solutions are symplectic and momentum-preserving, with far better long-time energy behavior than non-symplectic schemes (Marsden & West 2001).
Mathematical form
Consider a mechanical system with configuration , Lagrangian , and external force . The continuous Lagrange-d'Alembert principle reads
Discretization: split into steps of size , with configuration sequence . Approximate the discrete Lagrangian by the midpoint rule
Left and right discrete forces are approximated similarly. Varying the discrete action yields the forced discrete Euler-Lagrange equations (DEL):
DMOC treats the control force as , discretized as node values ; DEL equations become NLP equality constraints, initial/terminal conditions are boundary constraints, control energy is the objective, solved by SNOPT or another SQP solver (Ober-Blöbaum et al. 2011; Moore 2011, Ch. 2). Midpoint-rule DMOC is second-order accurate.
Structure-preserving properties
DMOC solutions inherit the key properties of variational integrators:
- Symplectic. The symplectic 2-form on phase space is preserved exactly under iteration.
- Momentum-preserving. The Noether momentum map associated with any system symmetry is preserved exactly, independent of step size.
- Good energy behavior. Symplecticity guarantees no long-time energy drift or dissipation — energy oscillates within a small bound.
These three properties are the core advantages of DMOC over general direct collocation, especially for CR3BP and low-energy Earth-Moon transfers that need long-time integration and are sensitive to energy preservation (Marsden & West 2001; Moore 2011).
Practical implementation
- Variable step size. Standard DMOC assumes a uniform . In CR3BP, dynamics near perilune require very small steps while apoapsis tolerates coarse steps. Moore (2011) introduces time-adaptive DMOC: introduce as variables with constraints on the time-adapted Lagrangian, then apply the time-adapted variational principle. The cost is that time-adaptive DMOC becomes an indirect method (extra costate variables).
- Initial guesses. DMOC is a local method and needs a good initial guess. Moore (2011) uses invariant-manifold stitching (Sun-Earth + Earth-Moon manifolds intersecting on a Poincaré section) as the initial guess; DMOC optimization can then eliminate the mid-course required by the manifold solution, yielding a fully zero-fuel low-energy channel.
- Comparison with collocation.
| Feature | DMOC | Direct collocation |
|---|---|---|
| Discretization target | Variational principle | ODE |
| Symplectic | yes | no |
| Momentum-preserving | yes | no |
| Large-step behavior | reasonable | error accumulation |
| Generality | Lagrangian systems only | arbitrary ODE |
| Tooling maturity | mostly academic | industrial (OTIS, SOCS, …) |
Applications
- Low-energy Earth-Moon transfers. DMOC + invariant manifolds is a classic pairing: manifolds supply the dynamics-based skeleton as initial guess; DMOC refines in the 4-body model and drives the manifold-stitching mid-course to zero (Moore 2011, Ch. 3; Moore et al. 2012).
- Formation flight. CubeSat formation reconfiguration benefits from DMOC's momentum preservation — formation geometry remains stable over long simulations.
- When not to use. Systems with strong dissipation (atmospheric entry), non-conservative constraints (heat-flux limits), or no Lagrangian in closed form lose DMOC's advantages — direct collocation is then more appropriate.
Related concepts
References
- Junge, O., Marsden, J. E., & Ober-Blöbaum, S. (2005). Discrete mechanics and optimal control. IFAC Proceedings Volumes, 38(1), 538–543.
- Ober-Blöbaum, S., Junge, O., & Marsden, J. E. (2011). Discrete mechanics and optimal control: an analysis. ESAIM: Control, Optimisation and Calculus of Variations, 17(2), 322–352.
- Marsden, J. E., & West, M. (2001). Discrete mechanics and variational integrators. Acta Numerica, 10, 357–514.
- Moore, B. E. (2011). Discrete mechanics and optimal control for space trajectory design. PhD thesis, Purdue University.
- Moore, B. E., Ober-Blöbaum, S., & Marsden, J. E. (2012). Trajectory design combining invariant manifolds with discrete mechanics and optimal control. Journal of Guidance, Control, and Dynamics, 35(5), 1507–1525.
- Leyendecker, S., Ober-Blöbaum, S., Marsden, J. E., & Ortiz, M. (2010). Discrete mechanics and optimal control for constrained systems. Optimal Control Applications and Methods, 31(6), 505–528.
