On Designing Computing Systems for Autonomous Vehicles: a PerceptIn Case Study

Bo Yu, Jie Tang, Shaoshan Liu

This case study by PerceptIn, presented at ASP-DAC 2021, offers a "behind-the-scenes" look at the engineering and business trade-offs involved in building a commercial autonomous vehicle (AV) for the micromobility market.

TL;DR

PerceptIn details the development of their proprietary DragonFly computing system, which uses a heterogeneous "Server + FPGA" architecture. By offloading localization tasks (SLAM) to a custom FPGA-based accelerator, they achieved a 1.6x improvement in perception latency and massive power savings compared to traditional CPU/GPU-only approaches, all while keeping the vehicle's total cost under a strict $70,000 target.

What Problem Does This Paper Address?

The authors identify a "computing bottleneck" in the commercial deployment of autonomous vehicles. For micromobility (low-speed, short-trip vehicles like pods and shuttles), the industry faces a dilemma:

  1. Mobile SoCs (like the Nvidia TX2) are affordable and power-efficient but lack the raw compute power for realistic end-to-end AV workloads.
  2. Specialized ASICs/High-end GPUs (like the Nvidia PX2) provide the necessary performance but are prohibitively expensive (often >$10,000 per unit) and power-hungry.

PerceptIn needed a system that was reliable, affordable, and energy-efficient. They specifically highlight the conflict between scene understanding (object detection via DNNs) and localization (finding the vehicle's position). When both run on a GPU, they compete for resources, leading to high latency that can compromise safety.

Methods

The authors settled on a heterogeneous hardware architecture consisting of an on-vehicle PC (Intel CPU + Nvidia GPU) paired with a Xilinx Zynq UltraScale+ FPGA.

  • The FPGA as a Sensor Hub: The FPGA handles sensor synchronization, triggering multiple cameras simultaneously to ensure "clean" data for pose estimation—a feature often missing in standard mobile SoCs.
  • Localization Offloading: They moved the entire Visual SLAM pipeline to the FPGA.
  • Front-end: They implemented ORB feature extraction (oFAST and BRIEF descriptors) in RTL for high parallelism.
  • Back-end: They accelerated the most time-consuming parts of Bundle Adjustment (Jacobian updates and Schur elimination) on the FPGA logic, while leaving the less regular Cholesky factorization to the embedded ARM processor.
  • Algorithm Selection: To save power, they opted for traditional stereo vision (ELAS algorithm) for depth estimation rather than compute-intensive DNNs, arguing that the marginal accuracy gains of DNNs didn't justify the massive overhead for low-speed use cases.

Datasets

  • Field Data: PerceptIn used their own proprietary data collected from their fleet of 2-seater pods and 8-seater shuttles to train their object detection DNNs.
  • Standard Benchmarks: For profiling the Bundle Adjustment (back-end) performance, they utilized the "Bundle Adjustment in the Large" dataset, a standard in the robotics community for evaluating SLAM optimization.

Key Insights and Ideas

  • Parallelism is the Cure for Latency: By moving localization to the FPGA, it runs in parallel with the GPU’s object detection. This reduced the critical path of perception latency from 120ms to 77ms.
  • FPGA > GPU for SLAM: While GPUs are the kings of DNNs, the authors found FPGAs are better suited for the specific, irregular data flows of localization and provide superior hardware-level sensor synchronization.
  • The "Detour" Cost: The authors candidly admit that they initially spent six months trying to make mobile SoCs work before realizing they were insufficient. This highlights the lack of mature design-space exploration tools for AV engineers.
  • Micromobility Constraints: Because the vehicles are capped at 20 mph, the planning and perception requirements are slightly relaxed, allowing for "lighter" non-DNN algorithms that wouldn't work for high-speed highway driving.

Key Results

The quantitative gains of the FPGA-based DragonFly system over a standard Intel Coffee Lake CPU are stark:

  • Speedup: The localization front-end was 4.8x faster on the FPGA, while the back-end (Bundle Adjustment) saw a 9.8x speedup.
  • Power Efficiency: The FPGA implementation reduced power consumption by 96% for the front-end and 92% for the back-end compared to the CPU.
  • System Impact: Overall perception latency improved by 1.6x, directly contributing to a safer, more responsive autonomous system.

Limitations and Future Work

  • Tooling Gaps: The authors emphasize that the biggest hurdle was the lack of scenario simulators and SoC simulators to help them explore the design space quickly. They spent significant time on "unsuccessful exploration" of off-the-shelf parts.
  • Future Directions: PerceptIn plans to focus on developing these missing tools—scenario simulators and specialized benchmarks—to accelerate the design flow for the next generation of autonomous machine computing.
  • Scalability: While this architecture works for low-speed micromobility, the paper does not discuss how well this "Server + FPGA" model would scale to high-speed, complex urban environments requiring much higher frame rates and more complex DNNs.

Summary updated

BibTeX
@inproceedings{yu2021designing,
  author = {Bo Yu and Jie Tang and Shaoshan Liu},
  title = {{On Designing Computing Systems for Autonomous Vehicles: a PerceptIn Case Study}},
  booktitle = {ASP-DAC},
  year = {2021},
  doi = {10.1145/3394885.3431621},
}
Figure