arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.06001cs.RO
收藏

刚体动力学二阶导数的理论与实现

On Second-Order Derivatives of Rigid-Body Dynamics: Theory & Implementation

The University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Notre Dame(圣母大学)

Shubham Singh, Ryan P. Russell, Patrick M. Wensing

摘要:

基于模型的机器人控制越来越依赖于基于优化的方法,如微分动态规划和迭代LQR(iLQR)。这些方法可以形成模型预测控制(MPC)的基础,MPC通常用于控制足式机器人。计算动力学的偏导数通常是这些算法中最昂贵的部分,无论使用的是分析方法、有限差分、自动微分(AD)还是链式规则累积。由于动力学的二阶导数导致张量计算,因此它们通常被忽略,导致使用iLQR,而不是完整的二阶DDP方法。在本文中,我们提出的分析方法来计算的逆和正动力学的二阶导数的开链刚体系统与多自由度关节和固定/浮动基地。AD和其他方法的准确性和运行时性能的广泛比较,包括考虑在C/C++的代码生成技术,以加快计算。对于36 DoF ATLAS人形机器人,二阶逆动力学导数和正动力学导数分别约为200 μ s和2.1 ms,比AD方法加速3倍。

英文摘要:

Model-based control for robots has increasingly been dependent on optimization-based methods like Differential Dynamic Programming and iterative LQR (iLQR). These methods can form the basis of Model-Predictive Control (MPC), which is commonly used for controlling legged robots. Computing the partial derivatives of the dynamics is often the most expensive part of these algorithms, regardless of whether analytical methods, Finite Difference, Automatic Differentiation (AD), or Chain-Rule accumulation is used. Since the second-order derivatives of dynamics result in tensor computations, they are often ignored, leading to the use of iLQR, instead of the full second-order DDP method. In this paper, we present analytical methods to compute the second-order derivatives of inverse and forward dynamics for open-chain rigid-body systems with multi-DoF joints and fixed/floating bases. An extensive comparison of accuracy and run-time performance with AD and other methods is provided, including the consideration of code-generation techniques in C/C++ to speed up the computations. For the 36 DoF ATLAS humanoid, the second-order Inverse, and the Forward dynamics derivatives take approx 200 mu s, and approx 2.1 ms respectively, resulting in a 3x speedup over the AD approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑