DESIGN OF AN FPGA BASED MULTI-FEATURE SPECTRUM ANALYZER

Authors

  • Yusuf Ayuba Department of Computer Engineering, University of Maiduguri, NIGERIA.
  • Peter Dibal Department of Computer Engineering, University of Maiduguri, NIGERIA.
  • Ngene Christopher Umerah Department of Computer Engineering, University of Maiduguri, NIGERIA.
  • Okpor James Department of Computer Engineering, Federal University Wukari, Taraba, NIGERIA.

DOI:

https://doi.org/10.4314/njt.2026.3713

Keywords:

Spectrum Analyzer, Very High Speed Integrated Circuit Hardware Description Language (VHDL), Spectrum, Fast Fourier Transform (FFT)

Abstract

A spectrum analyzer is a device that plays central roles in many signal processing, machine monitoring, and diagnostics applications. It is used in evaluating the performance or functionality of a system through the analysis of the spectrum features of the signals from the system under observation. In this paper, a spectrum analyzer (SA) was designed for implementation on a field programmable gate array (FPGA); the SA was designed to output four important signal spectrum features- frequency, amplitude, phase, and power. The design approach in this work involved the design of an architecture for the SA, and coding implementation and verification using a combination of a high level synthesis (HLS) based on C language, and register-transfer-level (RTL) based on very high speed integrated circuits hardware description language (VHDL). The performance of the design obtained via simulation showed for the real signal, a root mean squared (RMSE) value of 4.86857e-4 when compared a MATLAB equivalent model. Similarly for the imaginary signal, an RMSE value of 3.3538e-1 was obtained. The performance for the frequency spectrum showed device (number of hardware components) utilization value of 897 with RMSE value of 0.0. The RMSE value implies that there is no error between the value from the MATLAB model of the spectrum extractor subsystem and the FPGA-based design in this work. Another reason for an RMSE value of 0.0 is that the Euclidean distance between two consecutive elements is constant in the set that represents the frequency index. For the amplitude spectrum, device utilization performance yielded a value of 46,286 with an RMSE value of 3.2e-6 when compared the equivalent MATLAB model. Similarly, the power spectrum device utilization performance yielded a value of 46, 762, and an RMSE value of 2.27237e-4 when compared with the equivalent MATLAB model. Performance comparison was also made with related works; it was observed that the design in this work showed significant improvement in terms of accuracy and resource utilization.

References

[1] Smith, J. O., III, “Introduction to the DFT,” in Mathematics of the Discrete Fourier Transform (DFT), 2nd ed., Stanford, California: CCRMA, 2002. chapter 1, pp. 1–3. [Online]. Available: http://ccrma.stanford.edu/~jos/mdft/

[2] Jasmin, M. and Hemalatha, S, B. “VLSI-Based Frequency Spectrum Analyzer for Low Area Chip Design by using Yasmirub Method,” Int. J. Pure Appl. Math., 116(15), pp. 557–561, 2017.

[3] Ashenden, J, P. Digital Design: An Embedded Systems Approach Using VHDL. Burlington, MA: Morgan Kaufmann, 2008. [Online]. Available: https://shop.elsevier.com/books/digital-design-vhdl/ashenden/978-0-12-369528-4

[4] Lv, M. Gao, T. Yan, D. and Qiao, L. “Design of Audio Signal Analyzer Based on MCU and FPGA,” J. Physical Conference Ser., 1544 (1), pp. 1–6, 2020. doi: 10.1088/1742-6596/1544/1/012111.

[5] Raharjo, B, J, R. and Zakaria, M. “Real-Time Audio Spectrum Analyzer to Analyze Loudspeaker,” J. Physical Conference Service, 1413, pp. 1–8, 2019, doi: 10.1088/1742-6596/1413/1/012005.

[6] Borade, R. Dimber, A. Gharpure, D. and Ananthakrishnan, S. “Design and Development of FPGA-Based Spectrum Analyzer,” IETE J. Educ., 59(1), pp. 5–17, 2018. doi: 10.1080/09747338.2018.1450648.

[7] Qi, D. Guo, X. and Du, W. “Design of Digital Signal Spectrum Analyzer Based on FPGA,” in Proceeding of the 2015 IEEE International Conference on Information and Automation, Lijiang, China, 2015. pp. 2725–2729.

[8] Yu, H. Kexue, S. Yanming, L. Siqing, Z. and Xiefeng, C. “A Design and Implementation of Simple Spectrum Analyzer Based on DDS,” in 3rd International Conference on Machinery, Materials and Information Technology Applications, Qingdao, China, 2015. pp. 1257–1261. doi: 10.2991/icmmita-15.2015.232

[9] Zengchui, M. and Xin, W. “Design and Realization of Real-Time Spectrum Analysis System Based on DSP Builder,” in Second International Conference on Instrumentation & Measurement, Computer, Communication and Control, Harbin, china, 2012. pp. 1077–1080. doi: 10.1109/IMCCC.2012.254.

[10] Awah, C, Amaghionyeodiwe, C, A. Obasi, O. Oti, S, E. and Nnabuenyi, I, K. “Electromechanical Impact of Poles on the Performance of Double Stator,” Nigeria Journal Technology, 43(3), pp. 534–541, 2024. doi: 10.4314/njt.v43i3.15

[11] Onovo, H, et al. “Properties Enhancement and Compositional Optimization Study of Tailored Nanosilica Reinforced Bioplastic Film Composites,” Nigeria Journal Technology, 44(1), pp. 17–28, 2025. doi: 10.4314/njt.v44i1.3.

[12] Chu, E. “DFT and Band-Limited Periodic Signal,” in Discrete and Continuous Fourier Transforms: Analysis, Applications and Fast Algorithms, Boca Raton: CRC Press, 2008. chapter 2, p. 29.

[13] Broughton, S, A. and Bryan, K. “The One-Dimensional DFT,” in Discrete Fourier Analysis and Wavelets: Applications to Signal and Image Processing, 2nd ed., Hoboken, New Jersey: Wiley, 2018. chapter 2, p. 79.

[14] Cerna, M. and Harvey, A, F. “The Fundamentals of FFT- Based Signal Analysis and Measurement,” National Instruments Application Note 041. Accessed: 2022. [Online]. Available: https://www.sjsu.edu/people/burford.furman/docs/me120/FFT_tutorial_NI.pdf

[15] CENG, “The Discrete Fourier Transform and the FFT.” Accessed: Apr. 25, 2022. [Online]. Available: https://sceweb.sce.uhcl.edu/harman/ceng5431/2015WEB/Chap11tlhDFT.pdf

[16] Tan, L. “Discrete Fourier Transform and Signal Spectrum,” in Digital Signal Processing: Fundamentals and Applications, London, UK: Academic Press, 2008. chapter 4, pp. 87–131. doi: 978-0-12-374090-8.

[17] Arm Ltd, “AMBA AXI and ACE Protocol Specification,” 2022. Arm Ltd. [Online]. Available: https://developer.arm.com/documentation/ihi0022/e/

[18] Ingle, K, V. and Proakis, J, G. Digital Signal Processing using MATLAB, 3rd ed. Stamford CT: Cengage Learning, 2010.

[19] M. Giron-Sierra, J, Digital Signal Processing with MATLAB Examples. Singapore: Springer, 2017. doi: 10.1007/978-981-10-2537-2.

[20] Ingle, V, K. and Proakis, J. G “The Discrete-Time Fourier Analysis,” in Digital Signal Processing Using MATLAB, 3rd ed.,

Cengage Learning, chapter 3, Boston, MA, pp. 59–102, 2012.

[21] Hodson, T, O. “Root mean square error (RMSE) or mean absolute error (MAE): when to use them or not,” Geosci. Model Dev., 15 (14) pp. 1–10, 2022. doi: 10.5194/gmd-2022-64.

[22] Sarma, A. Sun, Y. Simpson, O. and Lauder, D. “Design and Implementation of a Reconfigurable Wideband Radio Frequency Spectrum Analyzer with Image Rejection in the Digital Domain,” IEEE Trans. Instrument Measure, 70, pp. 1–16, 2021. doi: 10.1109/TIM.2021.3060578.

[23] Tong, Y, et al. “A high-performance Fast-Fourier-transform spectrum analyzer for measuring spin noise spectrums,” Chinese Phys. Soc. IOP Publ., 29(9), pp. 090704-1-090704–8, 2020. doi: 10.1088/1674-1056/ab9c04.

[24] Flak, P. “Hardware-Accelerated Real-Time Spectrum Analyzer with a Broadband Fast Sweep Feature Based on the Cost-Effective SDR Platform,” IEEE Access, 10, pp. 110934–110946, 2022. doi: 10.1109/ACCESS.2022.3215800.

[25] Vigil, B. M, L. Urquiaga, W, F. Barbolla, D, B. and Alonso, S, G. “FPGA Based Spectrum Analyzer,” in Congreso Argentino de Sistemas Embedidos, Buenos Aires, Argentina, 2013. pp. 34–38. [Online]. Available: https://www.sase.com.art

Downloads

Published

2026-04-27

Issue

Section

Computer, Telecommunications, Software, Electrical & Electronics Engineering

How to Cite

DESIGN OF AN FPGA BASED MULTI-FEATURE SPECTRUM ANALYZER. (2026). Nigerian Journal of Technology, 45(1). https://doi.org/10.4314/njt.2026.3713