Rigid body dynamics is a key technology in the robotics field. In trajectory optimization and model predictive control algorithms, there are usually a large number of rigid body dynamics computing tasks. Using CPUs to process these tasks consumes a lot of time, which will affect the real-time performance of robots. To this end, we propose a multifunctional robot rigid body dynamics accelerator, named RBDCore, to address the performance bottleneck. By analyzing different functions commonly used in robot dynamics calculations, we summarize their reuse relationship and optimize them according to the hardware. Based on this, RBDCore can fully reuse common hardware modules when processing different computing tasks. By dynamically switching the dataflow path, RBDCore can accelerate various dynamics functions without reconfiguring the hardware. We design Structure-Adaptive Pipelines for RBDCore, which can greatly improve the throughput of the accelerator. Robots with different structures and parameters can be optimized specifically. Compared with the state-of-the-art CPU, GPU dynamics libraries and FPGA accelerator, RBDCore can significantly improve the performance.
翻译:刚体动力学是机器人领域的关键技术。在轨迹优化和模型预测控制算法中,通常存在大量刚体动力学计算任务。使用CPU处理这些任务会消耗大量时间,从而影响机器人的实时性。为此,我们提出一种多功能机器人刚体动力学加速器RBDCore,以解决性能瓶颈问题。通过分析机器人动力学计算中常用的不同函数,我们总结了它们的复用关系,并根据硬件进行了优化优化。基于此,RBDCore在处理不同计算任务时可充分复用公共硬件模块。通过动态切换数据流路径,RBDCore无需重新配置硬件即可加速各种动力学函数。我们为RBDCore设计了结构自适应流水线,可大幅提升加速器的吞吐量。具有不同结构和参数的机器人可进行针对性优化。与最先进的CPU、GPU动力学库和FPGA加速器相比,RBDCore可显著提升性能。