Simulink model of Sliding DFT at exact analysis frequency

版本 1.0.0 (51.8 KB) 作者: Carl Howard
Simulink model of a sliding Discrete Fourier Transform to calculate the DFT value at non-integer k.
363.0 次下载
更新时间 2021/11/12

查看许可证

An algorithm and network is described in a companion conference paper that implements a sliding Discrete Fourier Transform, such that it outputs an estimate of the DFT value for every input sample. Regular DFT algorithms calculate a complex value that is proportional to the amplitude and phase of an equivalent sine wave at the selected analysis frequency. The analysis frequency that can be selected is typically an integer multiple of the frequency increment of the DFT algorithm, and this might not necessarily correspond to the desired analysis frequency. The sliding DFT algorithm proposed here overcomes this limitation, and permits the analysis frequency to be any value up to half the sampling frequency. The proposed sliding DFT algorithm is demonstrated by analysing a synthetic sine wave, and the exhaust noise from a V8 diesel engine.
These Simulink models accompany the conference paper:
Carl Q. Howard (2022), "Application of Improved Sliding DFT Algorithm for Non-Integer k", Acoustics 2021, Annual Conference of the Australian Acoustical Society, Wollongong, New South Wales, Australia, 21-23 February 2022.
The conference paper describes applications of the sliding Discrete Fourier Transform (SDFT) that was originally proposed in the journal paper:
Lyons, R and Howard, C.Q. (2021), "Improvements to the Sliding Discrete Fourier Transform", IEEE Signal Processing Magazine, vol 38, n4, p119-127, doi: 10.1109/MSP.2021.3075416
shown as Figure 5 in the journal paper.
The Simulink model that was uploaded was 'saved as a previous version', in R2016a to enable compatibility with a wider range of Simulink releases.
Before executing the Simulink model, at the Matlab command line, initialise the variables used in the Simulink model by entering the following commands:
Fs=3750; % Hz sampling frequency
nDFT=500; % number of lines for DFT
nFFT=2^9; % number of lines for FFT 2^9=512
Next, in the Simulink model, click the 'Run' button. The 'Amplitudes Scope' will display the DFT values of the various algorithms. The initial display of the results is confusing because there are so many results that are compared. In the legend of the graph, click the various lines to turn their display in the graph on and off. The 'datum' curve of interest is the yellow line labelled 'convert_DFT_amplitude', that shows the desired value that all algorithms should track towards. The proposed sliding DFT algorithm is labelled in the legend as 'Lyons and Howard Fig 5/1', as the curve with the red dots.
Other algorithms that are implemented and compared in the attached Simulink model include:
  • Duda, K. (2010), "Accurate, Guaranteed Stable, Sliding Discrete Fourier Transform", IEEE Signal Processing Magazine, DSP Tips and Tricks, November, p124-127. DOI:10.1109/MSP.2010.938088
  • Sysel and Rajmic, "Goertzel algorithm generalized to non-integer multiples of fundamental frequency", EURASIP Journal on Advances in Signal Processing 2012 2012:56. doi:10.1186/1687-6180-2012-56
  • Fast Fourier Transform (FFT) algorithm.

引用格式

Carl Howard (2024). Simulink model of Sliding DFT at exact analysis frequency (https://www.mathworks.com/matlabcentral/fileexchange/101944-simulink-model-of-sliding-dft-at-exact-analysis-frequency), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2016a
与 R2016a 及更高版本兼容
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0