Introduction
For autonomous robots—ranging from tiny drones to self-driving cars—simultaneous localization and mapping (SLAM) is a fundamental but computationally expensive requirement. While modern SLAM systems have moved toward robust "optimization-based" methods, they impose a heavy "math tax" on hardware. Specifically, the localization backend, which involves solving complex non-linear least squares (NLS) problems, can account for up to 78% of a system's total latency. Existing hardware accelerators often target specific SLAM designs and lack the flexibility to adapt to varying environments, leading to wasted power or dropped accuracy.
Methods
The proposed software-hardware co-design optimizes the two heaviest parts of the SLAM backend: the NLS solver and marginalization.
- Three-Level Jacobian Computation: The architecture breaks down computations into keyframe, feature, and observation levels. By prioritizing a "feature-stationary" dataflow, the design maximizes data reuse for features, which typically outnumber keyframes by 10x.
- Mathematical Simplification: The Schur elimination process is optimized by treating certain matrices as diagonal, reducing computational complexity from $O(n^3)$ to $O(n)$ and cutting on-chip memory requirements.
- Pipelined Cholesky Decomposition: A specialized circuit pipelines the "Evaluate" and "Update" steps, using time-multiplexing to reduce latency by 5.75x while using 3.3x fewer hardware resources.
- Exploiting Sparsity: By recognizing the symmetry of the Hessian matrix and the temporal locality of IMU data, the researchers reduced memory storage requirements by 4.1x.
- Runtime Reconfiguration (RR): The system uses an offline-constructed lookup table to dynamically adjust NLS iterations and hardware modules (via clock gating) based on environmental complexity. This allows the chip to save power in "easy" environments without losing accuracy in complex ones.
Key Results
The accelerator, running at 143 MHz on a ZC706 FPGA, was evaluated using the industry-standard EuRoC and KITTI datasets.
The design demonstrated dramatic gains over traditional and specialized platforms:
- Vs. General-Purpose Hardware: It achieved up to a 10.49x speedup and a 183x reduction in energy compared to a 2.9 GHz desktop CPU, and a 70x speedup with 41x energy reduction compared to an NVIDIA Jetson TX1 mobile GPU.
- Vs. Prior Accelerators: The design showed >5x better performance (latency reduction) compared to recent state-of-the-art accelerators like pi-BA and VIO on Chip.
- Efficiency of Dynamic Adaptation: The runtime optimization (RR+CG) reduced power consumption from 5.48W to 3.45W (a 1.59x improvement) with negligible impact on localization accuracy (<0.01cm).
Conclusion
This research presents a highly efficient FPGA-based SLAM accelerator that leverages mathematical optimization and dynamic hardware reconfiguration. By addressing the backend latency bottleneck and adapting to environmental changes in real-time, the system provides a robust solution for power-constrained autonomous robots. Future work includes integrating the vision frontend into the reconfigurable pipeline for further efficiency gains.
Summary updated