e01.org

Differential dynamic programming

Differential dynamic programming (DDP) is an optimal control algorithm of the trajectory optimization class. The algorithm was introduced in 1966 by Mayne and subsequently analysed in Jacobson and Mayne's eponymous book. The algorithm uses locally-quadratic models of the dynamics and cost functions, and displays quadratic convergence. It is closely related to Pantoja's step-wise Newton's method.

Differential dynamic programming (DDP) is an optimal control algorithm of the trajectory optimization class. The algorithm was introduced in 1966 by Mayne and subsequently analysed in Jacobson and Mayne's eponymous book. The algorithm uses locally-quadratic models of the dynamics and cost functions, and displays quadratic convergence. It is closely related to Pantoja's step-wise Newton's method. J_0(\mathbf{x},\mathbf{U})=\sum_{i=0}^{N-1}\ell(\mathbf{x}_i,\mathbf{u}_i) + \ell_f(\mathbf{x}_N), where \mathbf{x}_0\equiv\mathbf{x} , and the \mathbf{x}_i for i>0 are given by . The solution of the optimal control problem is the minimizing control sequence \mathbf{U}^*(\mathbf{x})\equiv \operatorname{argmin}_{\mathbf{U}} J_0(\mathbf{x},\mathbf{U}). Trajectory optimization means finding \mathbf{U}^*(\mathbf{x}) for a particular \mathbf{x}_0 , rather than for all possible initial states. J_i(\mathbf{x},\mathbf{U}_i)=\sum_{j=i}^{N-1}\ell(\mathbf{x}_j,\mathbf{u}_j) + \ell_f(\mathbf{x}_N). The optimal cost-to-go or value function at time i is the cost-to-go given the minimizing control sequence: V(\mathbf{x},i)\equiv \min_{\mathbf{U}_i}J_i(\mathbf{x},\mathbf{U}_i). Setting V(\mathbf{x},N)\equiv \ell_f(\mathbf{x}_N) , the dynamic programming principle reduces the minimization over an entire sequence of controls to a sequence of minimizations over a single control, proceeding backwards in time: {{NumBlk|:| V(\mathbf{x},i)= \min_{\mathbf{u}}[\ell(\mathbf{x},\mathbf{u}) + V(\mathbf{f}(\mathbf{x},\mathbf{u}),i+1)]. | }} This is the Bellman equation. Q_\mathbf{x} &= \ell_\mathbf{x}+ \mathbf{f}_\mathbf{x}^\mathsf{T} V'_\mathbf{x} \\ Q_\mathbf{u} &= \ell_\mathbf{u}+ \mathbf{f}_\mathbf{u}^\mathsf{T} V'_\mathbf{x} \\ Q_{\mathbf{x}\mathbf{x}} &= \ell_{\mathbf{x}\mathbf{x}} + \mathbf{f}_\mathbf{x}^\mathsf{T} V'_{\mathbf{x}\mathbf{x}}\mathbf{f}_\mathbf{x}+V_\mathbf{x}'\cdot\mathbf{f}_{\mathbf{x}\mathbf{x}}\\ Q_{\mathbf{u}\mathbf{u}} &= \ell_{\mathbf{u}\mathbf{u}} + \mathbf{f}_\mathbf{u}^\mathsf{T} V'_{\mathbf{x}\mathbf{x}}\mathbf{f}_\mathbf{u}+{V'_\mathbf{x}} \cdot\mathbf{f}_{\mathbf{u} \mathbf{u}}\\ Q_{\mathbf{u}\mathbf{x}} &= \ell_{\mathbf{u}\mathbf{x}} + \mathbf{f}_\mathbf{u}^\mathsf{T} V'_{\mathbf{x}\mathbf{x}}\mathbf{f}_\mathbf{x} + {V'_\mathbf{x}} \cdot \mathbf{f}_{\mathbf{u} \mathbf{x}}. \end{alignat} The last terms in the last three equations denote contraction of a vector with a tensor. Minimizing the quadratic approximation with respect to \delta\mathbf{u} we have {{NumBlk|:| {\delta \mathbf{u}}^* = \operatorname{argmin}\limits_{\delta \mathbf{u}}Q(\delta \mathbf{x},\delta \mathbf{u})=-Q_{\mathbf{u}\mathbf{u}}^{-1}(Q_\mathbf{u}+Q_{\mathbf{u}\mathbf{x}}\delta \mathbf{x}), | }} giving an open-loop term \mathbf{k}=-Q_{\mathbf{u}\mathbf{u}}^{-1}Q_\mathbf{u} and a feedback gain term \mathbf{K}=-Q_{\mathbf{u}\mathbf{u}}^{-1}Q_{\mathbf{u}\mathbf{x}} . Plugging the result back into , we now have a quadratic model of the value at time i : \begin{alignat}{2} \Delta V(i) &= &{} -\tfrac{1}{2}Q^T_\mathbf{u} Q_{\mathbf{u}\mathbf{u}}^{-1}Q_\mathbf{u}\\ V_\mathbf{x}(i) &= Q_\mathbf{x} & {}- Q_\mathbf{xu} Q_{\mathbf{u}\mathbf{u}}^{-1}Q_{\mathbf{u}}\\ V_{\mathbf{x}\mathbf{x}}(i) &= Q_{\mathbf{x}\mathbf{x}} &{} - Q_{\mathbf{x}\mathbf{u}}Q_{\mathbf{u}\mathbf{u}}^{-1}Q_{\mathbf{u}\mathbf{x}}. \end{alignat} Recursively computing the local quadratic models of V(i) and the control modifications \{\mathbf{k}(i),\mathbf{K}(i)\} , from i=N-1 down to i=1 , constitutes the backward pass. As above, the Value is initialized with V(\mathbf{x},N)\equiv \ell_f(\mathbf{x}_N) . Once the backward pass is completed, a forward pass computes a new trajectory: \begin{align} \hat{\mathbf{x}}(1)&=\mathbf{x}(1)\\ \hat{\mathbf{u}}(i)&=\mathbf{u}(i) + \mathbf{k}(i) +\mathbf{K}(i)(\hat{\mathbf{x}}(i) - \mathbf{x}(i))\\ \hat{\mathbf{x}}(i+1)&=\mathbf{f}(\hat{\mathbf{x}}(i),\hat{\mathbf{u}}(i)) \end{align} The backward passes and forward passes are iterated until convergence. If the Hessians Q_{\mathbf{x}\mathbf{x}}, Q_{\mathbf{u}\mathbf{u}}, Q_{\mathbf{u}\mathbf{x}}, Q_{\mathbf{x}\mathbf{u}} are replaced by their Gauss-Newton approximation, the method reduces to the iterative Linear Quadratic Regulator (iLQR).

References

  1. ^ Mayne, D. Q. (1966). "A second-order gradient method of optimizing non-linear discrete time systems". Int J Control . 3 : 85– 95. doi : 10.1080/00207176608921369 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1795042800.0
  2. ^ Rajamäki, Joose; Hämäläinen, Perttu (June 2018). Regularizing Sampled Differential Dynamic Programming - IEEE Conference Publication . 2018 Annual American Control Conference (ACC). pp. 2182– 2189. doi : 10.23919/ACC.2018.8430799 . S2CID 243932441 . Retrieved 2018-10-19 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1539903600.0
  3. ^ Rajamäki, Joose (2018). Random Search Algorithms for Optimal Control . Aalto University. ISBN 978-952-60-8156-4 . ISSN 1799-4942 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1795042800.0
  4. ^ Lefebvre, Tom; Crevecoeur, Guillaume (July 2019). "Path Integral Policy Improvement with Differential Dynamic Programming" . 2019 IEEE/ASME International Conference on Advanced Intelligent Mechatronics (AIM) . pp. 739– 745. doi : 10.1109/AIM.2019.8868359 . hdl : 1854/LU-8623968 . ISBN 978-1-7281-2493-3 . S2CID 204816072 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1795042800.0
  5. ^ Theodorou, Evangelos; Buchli, Jonas; Schaal, Stefan (May 2010). "Reinforcement learning of motor skills in high dimensions: A path integral approach". 2010 IEEE International Conference on Robotics and Automation . pp. 2397– 2403. doi : 10.1109/ROBOT.2010.5509336 . ISBN 978-1-4244-5038-1 . S2CID 15116370 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1795042800.0
  6. ^ Pavlov, Andrei; Shames, Iman; Manzie, Chris (2020). "Interior Point Differential Dynamic Programming". IEEE Transactions on Control Systems Technology . 29 (6): 2720. arXiv : 2004.12710 . Bibcode : 2021ITCST..29.2720P . doi : 10.1109/TCST.2021.3049416 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1795042800.0
  7. ^ Mayne, David Q.; Jacobson, David H. (1970). Differential dynamic programming . New York: American Elsevier Pub. Co. ISBN 978-0-444-00070-5 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1795042800.0
  8. ^ de O. Pantoja, J. F. A. (1988). "Differential dynamic programming and Newton's method". International Journal of Control . 47 (5): 1539– 1553. doi : 10.1080/00207178808906114 . ISSN 0020-7179 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1795042800.0
  9. ^ Liao, L. Z.; C. A Shoemaker (1992). "Advantages of differential dynamic programming over Newton's method for discrete-time optimal control problems" . Cornell University . hdl : 1813/5474 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1795042800.0
  10. ^ Morimoto, J.; G. Zeglin; C.G. Atkeson (2003). "Minimax differential dynamic programming: Application to a biped walking robot". Intelligent Robots and Systems, 2003.(IROS 2003). Proceedings. 2003 IEEE/RSJ International Conference on . Vol. 2. pp. 1927– 1932. Wikipedia revision 1307759774, retrieved 2026-11-19 · 1795042800.0
  11. ^ Baumgärtner, K. (2023). A Unified Local Convergence Analysis of Differential Dynamic Programming, Direct Single Shooting, and Direct Multiple Shooting . 2023 European Control Conference (ECC). pp. 1– 7. doi : 10.23919/ECC57647.2023.10178367 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1795042800.0
  12. ^ Liao, L. Z; C. A Shoemaker (1991). "Convergence in unconstrained discrete-time differential dynamic programming". IEEE Transactions on Automatic Control . 36 (6): 692. doi : 10.1109/9.86943 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1795042800.0
  13. ^ Tassa, Y. (2011). Theory and implementation of bio-mimetic motor controllers (PDF) (Thesis). Hebrew University. Archived from the original (PDF) on 2016-03-04 . Retrieved 2012-02-27 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1330297200.0
  14. ^ "Sampled differential dynamic programming". 2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) . doi : 10.1109/IROS.2016.7759229 . S2CID 1338737 . Wikipedia revision 1307759774, retrieved 2026-11-19 · 1795042800.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Differential dynamic programming". 1756126191. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1307759774

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·