Single-board computers (SBCs) like the Raspberry Pi have revolutionized portable technology, but they often struggle with the heavy computational lifting required for Global Navigation Satellite System (GNSS) signal processing. While these boards now frequently ship with Neural Processing Units (NPUs) designed for AI, those accelerators often sit idle in non-AI applications.
A new paper titled "NPU-Accelerated GNSS Signal Acquisition" by Taro Suzuki proposes a clever pivot: using the NPU not for machine learning, but as a high-speed math engine to accelerate the "search" phase of GPS and Galileo signal acquisition.
TL;DR
This research repurposes the Neural Processing Units (NPUs) found on modern single-board computers to accelerate GNSS signal acquisition by up to 3.8x. By reframing the Discrete Fourier Transform (DFT) as a series of matrix operations, the authors significantly reduced CPU load, enabling low-power devices to track more satellites in real-time and acquire complex "long code" signals that were previously impractical.
What Problem Does This Paper Address?
When you turn on a GNSS receiver, it must perform "acquisition"—a massive two-dimensional search to find the correct satellite code phase and Doppler frequency. This is computationally expensive, especially on low-power ARM-based SBCs.
The high CPU load of acquisition leads to several headaches:
- Slow Time-to-First-Fix (TTFF): It takes a long time to get your initial position.
- Tracking Bottlenecks: The CPU is so busy searching for new signals that it can't keep up with tracking the ones it already has.
- Long Code Impracticality: Modern, high-accuracy signals with long codes (like GPS L1C or L2C) require so much math that direct acquisition on a standard SBC CPU is effectively impossible in real-time.
Methods
The core innovation lies in how the authors mapped traditional signal processing to hardware designed for deep learning. NPUs are essentially massive arrays of matrix-multiplication units. They are incredibly fast at convolutions but usually lack dedicated Fast Fourier Transform (FFT) hardware.
The authors utilized the four-step DFT decomposition to break down a large DFT into a sequence of smaller matrix products. They then expressed these products using operations that NPUs are built to crush: 1×1 convolutions, element-wise products, and transposes.
The implementation was tailored for two distinct hardware configurations:
- Dedicated-memory type (Raspberry Pi 5 + Axera AX8850): Since data must travel over a PCIe bus, the authors offloaded the DFT, non-coherent integration, and peak detection to the NPU to minimize data transfers back to the CPU.
- Shared-memory type (Radxa ROCK 5C / RK3588): Because the CPU and NPU share the same RAM, the overhead is lower, allowing for a more flexible division of labor.
Datasets
The researchers evaluated their method using:
- Real-world IF data: 300 seconds of 4-channel GNSS data (L1, L2, L5, and E5b bands) recorded at 24 MHz from a rooftop antenna.
- Synthetic signals: Used to calibrate the NPU's low-precision (INT8/INT16) quantization and ensure that the "rounding" of numbers didn't result in a loss of signal sensitivity.
Key Insights and Ideas
- Hardware Utilization over Operation Count: Interestingly, the matrix-based DFT requires about 8 times more operations than a standard Radix-2 FFT. However, because the NPU hardware is so much more efficient at matrix math than a general-purpose CPU is at FFTs, the NPU implementation still runs significantly faster.
- Quantization is Viable: The study proved that 8-bit and 16-bit integer quantization (standard for NPUs) is sufficient for GNSS acquisition. The sensitivity difference between the NPU and a high-precision CPU implementation was less than 0.1 dB.
- Freeing the CPU: By offloading the "search" to the NPU, the CPU is freed up to handle more tracking channels, effectively increasing the "capacity" of the receiver.
Key Results
The performance gains were substantial across the board:
- Speedup: Acquisition of short codes was 3.0–3.8 times faster on the Raspberry Pi 5 compared to an optimized CPU implementation (FFTW).
- Long Code Breakthrough: Direct acquisition of long codes (L1CP and L2CM) became practical. For a set of 32 satellites, the NPU reduced the search time from 423 seconds down to just 51 seconds.
- Increased Capacity: The number of satellite channels that could be tracked in real-time on a Raspberry Pi 5 jumped from 175 to 230.
- Faster Lock: The time required for 90% of channels to reach their first lock was slashed from 66 seconds to 26 seconds.
Limitations and Future Work
While the results are promising, the authors noted a few areas for caution:
- Interference Sensitivity: The low-precision quantization was calibrated for clean signals. Strong narrowband interference might saturate the NPU's dynamic range more easily than a 32-bit float CPU implementation.
- Model Compilation: The NPU models must be pre-compiled for specific hardware (e.g.,
.axmodelfor Axera or.rknnfor Rockchip), which adds a step to the deployment pipeline.
The implementation is available as open-source software under the name PocketSDR-NPU, providing a blueprint for others to leverage "AI hardware" for high-performance signal processing.
Summary updated