Embedded FFT with dsPIC30F4013

Rachmad Setiawan


FFT-based digital spectral analyzer has become more and more widely used as a result of the development of Digital Signal Processing (DSP) techniques. Modern Analog-to-Digital Converters (ADC) and processors have made it possible to make fast measurements with a limited number of hardware.

In this paper, a design of a simple low-cost FFT-based digital spectrum analyzer was presented. The author discusses the design of each components of the system in qualitatively and quantitatively. The report presents the whole system design in detail which contains filter design, micro-controller design and UART transmission design. Some satisfying measurement result of the system were presented in the paper. The system can provide fast measurement with good accuracy. But the measured result has a limited range and resolution of the display is not very high. At last, the advantages and disadvantages of the system was discussed which is considered as guidelines for further work.


Keywords: FFT, Digital Signal Processing, spectrum analyzer.

Full Text:



M. T. Hunter , A. G. Kourtellis, C. D. Ziomek and W. B. Mikhael, "Fundamentals of Modern Spectral Analysis," in AUTOTESTCON, 2010 IEEE, 13-16 2010, pp. 1-5.

M. T. Hunter, W. B. Mikheal and A. G. Kourtellis, "Wideband digital down converters for Synthetic instrumentation," in IEEE Transaction on Instrumentation and Measurement, vol. 58, no.2, pp. 263-269, Feb. 2009.

M. Hunter, "Efficient fft-based spectral analysis using polynomial-based filters for next generation test systems," in AUTOTESTCON, 2007 IEEE, 17-20 2007, pp. 677-686.

W. Lowdermilk and F. Harris, "Cost effective, versatile, high performance, spectral analysis in a synthetic instrument," in AUTOTESTCON, 2008 IEEE, 08-11 2008, pp. 148-153.

W. Lowdermilk and F. Harris, "Wide spectral span spectrum analysis with an anlog step and dwell translation pre-processor to a high dynamic range fft-based spectrum analyzer," in AUTOTESTCON, 2009 IEEE, 14-17 2009, pp. 365-368.

RF, Electronics and Wireless Test and Measurement Blog(2010).'RF Spectrum Analyzer Tutorial and Basics'[online]. Available at: http://testrf.com/2010/spectrum-analyzertutorial/ last accessed: 23th March 2011.

J. H. Flink , J. Bertrand and V. Cottage, "Spectrum analyzer using digital filters" in United States Patent, Jun. 1978, pp. 54-75

A. M. Chwastyk, "A fast digital spectral analyzer," in IEEE Transaction on Instrumentation and Measurement, vo. 20, no. 4, pp. 198-202, Nov. 1971.

"A DFT and FFT tutorial " (2011), available at : http://www.alwayslearn.com/DFT%20and%20FFT%20Tutorial/DFTandFFT_FFT_Overview .html

R. Manchini. "Op amps for everyone" available at :http://focus.ti.com/lit/an/slod006b/slod006b.pdf. Last acceded on: 12th June 2011

“Butterworth Filters" (2011), available at :http://wwwk.ext.ti.com/SRVS/Data/ti/KnowledgeBases/analog/document/faqs/bu.htm [12] Microchip Technology Inc. (2007), "dsPIC30F3014, dsPIC30F4013 Data Sheet". [13] Microchip Technology Inc. (2004), "dsPIC language tools libraries".

DOI: https://doi.org/10.12962/j25796216.v1.i1.12


  • There are currently no refbacks.