| Issue |
JNWPU
Volume 43, Number 4, August 2025
|
|
|---|---|---|
| Page(s) | 659 - 667 | |
| DOI | https://doi.org/10.1051/jnwpu/20254340659 | |
| Published online | 07 October 2025 | |
A rapid trajectory optimization method based on parallel computing
基于并行计算的轨迹快速优化方法研究
School of Astronautics, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China
Received:
24
August
2024
The direct collocation method transforms a trajectory optimization problem into a nonlinear programming (NLP) problem by discretizing both control and state variables. During the NLP solution process, repeated calculations of the first and second derivatives of the NLP and the values of the dynamic system at each discrete point are required, leading to great computational complexities. Therefore, this paper proposes the following method: First, the hyper-dual number method is introduced to accurately identify the sparsity of the second-derivative matrix of the NLP and to determine the locations of the non-zero elements. Then, a multi-core parallel approach is used to rapidly compute the non-zero elements of the first and second derivatives of the NLP as well as the values of the dynamic system at each discrete point. Finally, OpenMP is employed for programming calculation in the C++ environment to further enhance computational efficiency from the perspective of programming language. Simulation results demonstrate that the proposed method effectively improves the efficiency of trajectory optimization and its computational efficiency without compromising accuracy.
摘要
直接配点法通过对控制变量和状态变量都进行离散将轨迹优化问题转化为非线性规划(nonlinear programming, NLP)进行求解。在求解NLP时, 需要反复计算NLP的一阶/二阶偏导数和动力学系统在各离散点处的值, 计算量比较大。针对该问题, 提出如下解决策略: 引入超对偶数方法准确识别NLP二阶偏导数矩阵的稀疏型, 确定其中非零元素的位置; 采用多核并行方式快速计算NLP的一阶/二阶偏导数的非零元素以及动力学系统在各离散点处的值; 在C++环境下采用OpenMP方式进行编程计算, 从编程语言角度进一步提高计算效率。仿真结果表明, 文中方法给出的策略在不影响精度的情况下, 均能显著提高轨迹优化效率。
Key words: trajectory optimization / nonlinear programming / sparsity / hyper-dual numbers / parallel computing
关键字 : 轨迹优化 / 非线性规划 / 稀疏 / 超对偶数 / 并行计算
© 2025 Journal of Northwestern Polytechnical University. All rights reserved.
This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.
