Vectorized Sparse Second-Order Forward Automatic Differentiation for Optimal Control Direct Methods

Direct collocation transcription is a dominant technique for solving complex optimal control problems, converting continuous dynamics into large-scale, sparse nonlinear programming problems. The computational efficiency of this approach is fundamentally limited by the evaluation of first- and second-order derivatives required by modern optimization algorithms. While general-purpose automatic differentiation tools exist, they often fail to fully exploit the repetitive substructure inherent in trajectory discretization. This paper presents a vectorized, sparse, second-order forward automatic differentiation framework specifically tailored for direct collocation methods. By explicitly distinguishing between scalar and vector nodes within the expression graph, the proposed method leverages the independence of mesh point evaluations to enable Single Instruction, Multiple Data (SIMD) execution and optimize memory access patterns. This structure-aware approach ensures linear time complexity with respect to the number of discretization nodes while maintaining the flexibility to handle complex dependencies. The methodology is implemented in the open-source software package pockit and is validated through three distinct engineering case studies: the aggressive stabilization of a nano-quadrotor, the powered descent guidance of a reusable launch vehicle, and a low-thrust heliocentric orbital transfer. These applications demonstrate the framework’s capability to deliver high-performance derivative computation for large-scale, nonlinear dynamical systems.

Authors

Institutions

Publication Details

Journal
Astronautics
Published
2026-03-02
DOI
https://doi.org/10.3390/astronautics1010008
Primary Topic
Spacecraft Dynamics and Control
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Vectorized Sparse Second-Order Forward Automatic Differentiation for Optimal Control Direct Methods

Yilin Zou, Fanghua Jiang
Astronautics
Spacecraft Dynamics and Control
article

Vectorized Sparse Second-Order Forward Automatic Differentiation for Optimal Control Direct Methods

Yilin Zou, Fanghua Jiang
article en

Abstract

Direct collocation transcription is a dominant technique for solving complex optimal control problems, converting continuous dynamics into large-scale, sparse nonlinear programming problems. The computational efficiency of this approach is fundamentally limited by the evaluation of first- and second-order derivatives required by modern optimization algorithms. While general-purpose automatic differentiation tools exist, they often fail to fully exploit the repetitive substructure inherent in trajectory discretization. This paper presents a vectorized, sparse, second-order forward automatic differentiation framework specifically tailored for direct collocation methods. By explicitly distinguishing between scalar and vector nodes within the expression graph, the proposed method leverages the independence of mesh point evaluations to enable Single Instruction, Multiple Data (SIMD) execution and optimize memory access patterns. This structure-aware approach ensures linear time complexity with respect to the number of discretization nodes while maintaining the flexibility to handle complex dependencies. The methodology is implemented in the open-source software package pockit and is validated through three distinct engineering case studies: the aggressive stabilization of a nano-quadrotor, the powered descent guidance of a reusable launch vehicle, and a low-thrust heliocentric orbital transfer. These applications demonstrate the framework’s capability to deliver high-performance derivative computation for large-scale, nonlinear dynamical systems.

AstronauticsVol. 1(1)
Tsinghua University (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 38%
Spacecraft Dynamics and Control
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.