On small single-board computers (SBCs), GNSS signal acquisition is a major CPU load. This paper proposes using the neural processing unit (NPU) of an SBC not for machine learning but as an accelerator for the parallel code search in GNSS signal acquisition. The discrete Fourier transform (DFT) used in acquisition is decomposed by the four-step DFT into matrix products of small DFTs and expressed by 1×1 convolutions, element-wise products, and transposes, which NPUs execute efficiently. Furthermore, we propose a method that divides the DFT, the non-coherent integration, and the peak detection between the CPU and the NPU according to the configuration of the NPU (an NPU with its own memory connected via PCIe, or an NPU sharing memory with the CPU). The proposed method is implemented in the open-source software GNSS receiver Pocket SDR and evaluated on a Raspberry Pi 5 combined with the external AX8850 NPU and on the NPU built into the SoC (RK3588) of the ROCK 5C, a small SBC of comparable size. Compared with acquisition by an optimized CPU implementation, the acquisition of short codes on the Raspberry Pi 5 with the AX8850 is 3.0-3.8 times faster. In the evaluation of the whole receiver, the number of tracking channels that reach their first lock within 30 s with the NPU is 1.5 times that with the CPU, and the time until 90% of the channels are locked is reduced from 66 s to 26 s. Furthermore, because the CPU load of acquisition is reduced, the number of tracking channels that can be processed in real time increases from about 175 to about 230. These results show that using the NPU on SBCs with limited CPU resources is effective for achieving both GNSS signal acquisition and tracking. The implementation is publicly available as open source under the name PocketSDR-NPU.
Figures & tables
Raspberry Pi 5 + AX8850
ROCK 5C (RK3588)
CPU
Cortex-A76 × 4, 2.4 GHz
Cortex-A76 × 4, 2.4 GHz + Cortex-A55 × 4, 1.8 GHz
Memory
8 GB
8 GB
NPU
AX8850 (24 TOPS INT8, 3 cores, M5Stack LLM-8850, 4 GB DDR on the card, PCIe Gen2 x1)
RK3588 built-in NPU (6 TOPS, 3 cores)
NPU runtime (model conversion tool)
AXCL 3.6.5 (Pulsar2 8.0)
RKNN runtime 2.3.0 (RKNN-Toolkit2 2.3)
OS
Debian 13 (kernel 6.18)
Radxa Debian 12 (kernel 6.1)
Table 1: Specifications of the SBCs and NPUs
Figure 1: SBCs and NPUs used in this study. The Raspberry Pi 5 with the AX8850 and the Radxa ROCK 5C are used, with the Pocket SDR FE as the GNSS front-end
Figure 2: Structure of the GNSS signal processing. A plugin executes acquisition on the NPU, running the parallel code search with inference models built in advance for each NPU
Signal ( fs )
Code period T
DFT size M
Doppler bins (spacing)
L1CA, B1I (8 MHz)
1 ms
16000
21 (500 Hz)
L5I (24 MHz)
1 ms
48000
21 (500 Hz)
E1B (8 MHz)
4 ms
64000
81 (125 Hz)
L1CP (8 MHz, direct)
10 ms
160000
201 (50 Hz)
L2CM (8 MHz, direct)
20 ms
320000
401 (25 Hz)
Table 2: Signals and search sizes (Doppler bins over ± 5 kHz with a spacing of 0.5/T )
Figure 3: Four-step DFT and shared DFT on the NPU. (a) Dedicated-memory type (AX8850): the forward DFT is computed only once by the FFT on the CPU, and the non-coherent integration and the row-wise maximum, position, and sum are computed on the NPU. (b) Shared-memory type (RK3588): the forward DFT is also computed on the NPU
Method
Stages
Complex multiply-accumulates
Execution time
DFT by matrix products
2
85.3×106
0.88 ms
Radix FFT
10
10.4×106
3.08 ms
Table 3: Representations of the DFT on the NPU (AX8850, M=16000 )
Platform
Signal
CPU PocketFFT
CPU FFTW
NPU
Pi 5 (A76) + AX8850
L1CA 8 MHz
94
51
15
E1B 8 MHz
444
275
72
B1I 8 MHz
94
51
15
L5I 24 MHz
326
197
66
ROCK 5C (A76)
L1CA 8 MHz
106
52
45
E1B 8 MHz
453
306
165
Table 4: Search time of acquisition (ms per signal, all PRNs, mean of five trials)
Figure 4: Comparison of the search time per signal
Figure 5: Speed-up of the NPU relative to the CPU (FFTW) in search time. Mean of five trials. The lower the CPU performance (A55), the larger the speed-up
Figure 6: CPU time used for acquisition. With the NPU, the CPU time is reduced to 1/5.6–1/15 on the Pi 5 and to 1/3.7–1/10 on the ROCK 5C
Figure 7: Detection probability of acquisition versus C/N0 . Synthetic IF data, 100 trials at each C/N0 . The C/N0 at a detection probability of 0.5 differs between the NPU and the CPU by 0.00–0.06 dB. No false detection occurred in the noise-only trials for any method
Platform
Signal
CPU PocketFFT
CPU FFTW
NPU
Pi 5 (A76) + AX8850
L1CP 8 MHz
1426
1088
206
L2CM 8 MHz
4082
2936
581
ROCK 5C (A76)
L1CP 8 MHz
1473
1123
513
L2CM 8 MHz
4696
2918
1231
ROCK 5C (A55)
L1CP 8 MHz
7748
5557
645
L2CM 8 MHz
19241
13213
1584
Table 5: Direct search time of long codes (ms per signal, mean of five trials)
Figure 8: Comparison of the search time of the direct search of long codes
Figure 9: Comparison of the CPU time in the direct search of long codes. With the NPU, the CPU time is reduced to about 1/26 on the Pi 5 and to 1/7–1/13 on the ROCK 5C
Platform (search cores)
N
Method
Locks at 10/30/60/300 s
t90 (s)
Pi 5 (A76) + AX8850
175
CPU
56 / 111 / 153 / 170
66
NPU (AX8850)
97 / 166 / 169 / 173
26
ROCK 5C (A76)
240
CPU
71 / 154 / 233 / 237
49
NPU (RK3588)
74 / 173 / 231 / 238
42
ROCK 5C (A55)
240
CPU
32 / 65 / 91 / 233
215
NPU (RK3588)
62 / 121 / 202 / 238
66
Table 6: End-to-end test with the fixed set (300 s, mean of five trials)
Figure 10: Cumulative number of channels in the fixed set that have reached their first lock. N = 175 on the Pi 5 and N = 240 on the ROCK 5C; lines show the means and bands the ranges of five trials. On the ROCK 5C, the search is pinned to the A76 or the A55
Platform (search cores)
N
CPU
NPU
Pi 5 (A76) + AX8850
175
249 (243–254)
1774 (1730–1885)
ROCK 5C (A76)
240
675 (611–733)
899 (836–1011)
ROCK 5C (A55)
240
300 (298–301)
794 (658–898)
Table 7: Number of searches (300 s, mean and range of five trials)
Figure 11: Number of searches in 300 s for different N (mean and range of five trials)
Department of Mechanical and Robotics Engineering, Gwangju Institute of Science and Technology (GIST), Gwangju 61005, South Korea. · NASA Ames Research Center, CA 94043, USA.