Paper The following article is Open access

Computations of cross-correlation functions on a single board Raspberry Pi computer

, and

Published under licence by IOP Publishing Ltd
, , Citation V A Faerman et al 2020 J. Phys.: Conf. Ser. 1615 012004 DOI 10.1088/1742-6596/1615/1/012004

1742-6596/1615/1/012004

Abstract

The paper discusses the implementation of correlation algorithm for time delay estimation on a Raspberry Pi single-board computer. The implemented correlation algorithm is based on Fourier transform. In the course of the study, we applied two alternative solutions for the software implementation of discrete Fourier transform. The first solution stands on FFTW library and uses general-purpose quad-core ARM Cortex A53 processing unit. The alternative method uses VideoCore IV graphic processing unit and is implemented via firmware GPU_FFT library. We have performed a computational experiment on a Raspberry Pi 3B to determine which solution is more preferable for the implementation of correlator. After a comparative study we figured out that estimated processing time is highly dependent on computations parameters and input signals. For small FFT window sizes CPU is proved to be a preferable option. However, for large FFT windows GPU allows significantly accelerating the computations. At some point, you can achieve even better performance by using batching and GPU for direct FFT and CPU for inverse FFT. According with the results, we have concluded that both alternatives have their own potential advantages and particular drawback. We also establish, that Raspberry Pi 3 B computer with HiFiberry extension can be used as a real-time correlator for audio signals.

Export citation and abstract BibTeX RIS

Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.

Please wait… references are loading.
10.1088/1742-6596/1615/1/012004