Abstract
Simultaneous Localization and Mapping (SLAM) is one of the main components of autonomous navigation systems. With the increase in popularity of drones, autonomous navigation on low-power systems is seeing widespread application. Most SLAM algorithms are computationally intensive and struggle to run in real-time on embedded devices with reasonable accuracy. ORB-SLAM is an open-sourced feature-based SLAM that achieves high accuracy with reduced computational complexity. We propose an SoC based ORB-SLAM system that accelerates the computationally intensive visual feature extraction and matching on hardware. Our FPGA system based on a Zynq-family SoC runs 8.5x, 1.55x and 1.35x faster compared to an ARM CPU, Intel Desktop CPU, and a state-of-the-art FPGA system respectively, while averaging a 2x improvement in accuracy compared to prior work on FPGA.
Introduction
Simultaneous Localization and Mapping (SLAM) serves as the "inner ear" for autonomous systems, enabling robots to map unknown environments while tracking their own position. While algorithms like ORB-SLAM offer high accuracy, they are notoriously resource-hungry.
On embedded platforms such as ARM-based CPUs, these algorithms often fail to reach the 30+ frames per second (fps) required for fast-moving drones, typically hovering around 10–20 fps. The primary bottleneck is the "front-end": the continuous extraction and matching of visual features like corners and edges from video frames. This research addresses the need for a high-speed, accurate SLAM solution suitable for low-power hardware.
Hardware-Software Co-Design
The proposed system utilizes a Zynq-family SoC FPGA, partitioning the workload to maximize efficiency:
- Hardware (FPGA): Executes the "front-end" (ORB feature extraction and matching), which typically consumes 60-70% of total processing time.
- Software (ARM CPU): Manages the "back-end" (Bundle Adjustment and map optimization), which involves complex, less parallelizable logic.
Key Hardware Innovations
- Streaming Architecture: Pixels are processed as they arrive rather than storing entire images in Block RAM (BRAM), significantly reducing memory overhead.
- Recursive Moment Calculation: A recursive mathematical approach updates intensity moments as the processing window slides, accelerating feature orientation calculations.
- DSP-Free Filtering: Binomial kernels replace standard Gaussian filters, allowing implementation via simple bit-shifts instead of resource-heavy Digital Signal Processing (DSP) blocks.
- Discretized Angle Approximation: Orientation is divided into 64 sectors, avoiding complex arctangent calculations while maintaining sufficient accuracy for SLAM.
Evaluation and Results
The system was benchmarked using the TUM dataset, a standard for RGB-D SLAM evaluation that includes high-accuracy ground truth from motion-capture systems. The FPGA-based accelerator demonstrated superior performance across key metrics:
- Speed: Achieved 62 fps, outperforming an ARM CPU by 8.5x and an Intel i5 Desktop CPU by 1.55x.
- Efficiency: Consumed only 4.6W. Compared to a 200W desktop GPU setup, the FPGA is approximately 43x more power-efficient.
- Accuracy: Achieved a 2x improvement in accuracy over previous FPGA implementations (e.g., eSLAM) by supporting full Local Bundle Adjustment and Loop Closing.
Key Insights
The researchers found that SLAM is resilient to certain approximations. By discretizing orientations and reducing pixel bit-depth from 8 to 6 bits, they achieved a 25% reduction in hardware resources with only a 3.9% impact on accuracy. Furthermore, implementing multiple parallel BRIEF modules with an arbiter ensured a consistent throughput of one pixel per clock cycle, preventing bottlenecks during feature-heavy scenes.
Conclusion
This SoC FPGA implementation enables real-time, high-accuracy SLAM on low-power devices. While extremely feature-dense images may occasionally cause keypoint drops, the system remains robust. Future work will focus on further optimizing the ARM-based back-end and testing the architecture with higher-resolution sensors in high-speed outdoor flight scenarios.
Summary updated