Introduction
In the field of robotics and autonomous systems, Simultaneous Localization and Mapping (SLAM) is a foundational technology. It enables machines to navigate unknown environments by concurrently building a map and tracking their position within it. However, a significant "mapping gap" exists between two common approaches:
- Sparse SLAM: Efficient enough for mobile CPUs but produces sparse point clouds insufficient for complex tasks like obstacle avoidance.
- Dense SLAM: Provides high-fidelity 3D models but requires significant power and computational resources, typically found in high-end GPUs.
Semi-dense SLAM, such as the LSD-SLAM algorithm, offers a compelling middle ground. Yet, it remains computationally demanding for embedded platforms. Researchers from Imperial College London have addressed this by developing a custom FPGA-based accelerator specifically for the depth estimation component of semi-dense SLAM.
Methodology: Multi-rate Dataflow Architecture
The core of the proposed system is a scalable, streaming architecture designed for FPGA-SoC platforms. The primary challenge in semi-dense SLAM is the Epipolar Line Search, where pixels are matched across frames to triangulate depth.
The architecture introduces several key innovations:
- Multi-rate Dataflow: Recognizing that not every pixel requires a depth update, the system uses a "fast-rate pipeline." This allows pixels needing intensive searches to be processed while others pass through in a single cycle, maximizing hardware utilization.
- Decoupled Memory Access: Custom "Keyframe" and "Camera Frame" pixel caches mitigate bottlenecks from slow off-chip DRAM, ensuring high-speed data fetching.
- Loop Processing Unit (LPU): This dedicated block performs sub-pixel accurate localization by finding the minimum Sum of Squared Errors (SSE) across multiple points on a search line.
Evaluation and Datasets
The architecture was validated using real-world trajectories from the TUM LSD-SLAM Datasets, including "Room" and "Machine Hall" environments. Initial profiling on an Intel i7-4770 revealed that mapping accounts for approximately 44% of total SLAM computation, confirming it as the ideal candidate for hardware acceleration.
Key Insights
- The 30% Rule: Heatmap analysis showed that typically fewer than 30% of pixels in a scene require a full epipolar scan. The multi-rate architecture exploits this sparsity to increase throughput.
- Latency Stability: Unlike general-purpose CPUs that experience latency spikes during complex scenes, the FPGA accelerator maintains nearly flat latency, which is critical for the stability of high-speed autonomous drones.
Results
The FPGA implementation achieves over 60 frames per second at VGA resolution (640x480), matching the performance of a high-end desktop CPU. Crucially, it does so with significantly higher efficiency, consuming approximately 6.5 Watts compared to the 30-50W required by desktop processors. Furthermore, the system demonstrated exceptional consistency; in the "Machine Hall" dataset, 98% of frames were processed within 1ms of the target time, avoiding the processing delays common in software implementations during sharp movements.
Limitations and Future Work
While the current design uses floating-point arithmetic to maintain algorithm fidelity, future iterations could explore fixed-point or custom-precision arithmetic to further reduce the resource footprint. Additionally, while the system currently handles tracking and mapping, integrating global map optimization and loop-closure directly into the hardware fabric remains a goal for future development.
Summary updated