Introduction
In previous modules have seen that a Fourier transform can be used to calculate the frequency distribution of a signal. Various Fourier transforms have been discussed, each for a different type signal. In this section we will introduce again another Fourier transform: The Discrete Fourier Transform (DFT). The main advantage of the DFT is that this transform, in contrast to almost all other Fourier transforms, can be calculated on a computer. In this section we will give a conceptual view of the DFT. In the first subsection we show how the DFT equation can be related, in different intermediate steps, to the Fourier Transform for Continuous time signals (FTC). In the second subsection we will discuss the periodic behaviour of the DFT. In order to calculate the frequency distribution on a computer, we will explain in the last subsection how the DFT can extract frequencies of a signal.
Screencast video [⯈]
Module overview
This module will cover the following topics:
- From FTC to DFT - This section will describe the process of deriving the DFT starting from the FTC. From this derivation it is now possible to derive the frequency distribution of a sampled discrete-time signal.
- The DFT [⯈] - This section will go into more depth and describe how the DFT actually extract frequencies.
- DFT properties [⯈] - Just like with the FTC, there are several properties which greatly simply calculations. These properties will be derived in this section.
- Convolution implementation - The DFT can be implemented using a simple convolution operation, which means that an FIR-filter can extract the frequency distribution of a signal.
- Length of the DFT [⯈] - The resolution of the frequency distribution depends on the length of the signal. However, by appending zeros to the signal, this resolution can be increased.
- DFT for continuous signals - In practice the DFT, or its efficient version the FFT, is often used to calculate the frequency content of (non periodic) continuous time signals. This will always result in an approximation from which the various causes of errors are shown in this section.
Summary
Definition:
- Both DFT and IDFT discrete and periodic.
- Periodic extension (PE): Choose succeeding samples of (usually for ) and repeat these samples. This results in the periodic signal .
DFT properties:
- DFT summation property: With twiddle factor
- Linearity:
- Circular shift:
- Circular convolution:
- Complex conjugation:
- Preserve energy (Parceval):
Linear by circular convolution:
- Convolution two finite duration signals:
If signal consists of samples and of samples the result of the linear convolution can be obtained from a circular convolution in which both periodic extended and are padded with zeros up to a length of samples.
- Convolution infinite duration with finite duration signal:
The overlap-add procedure is as follows:
- Split in length non-overlapping segments
- Calculate (efficiently with FFT's)
- Add last samples previous segment with first samples current segment
The overlap-save procedure is as follows:
- Split in length overlapping segments, overlap
- Calculate (efficiently with FFT's)
- Construct : Discard first samples, last are correct
How choose DFT length
- Periodic signals: With integer , if DFT length samples in one period Artefacts during PE Use windowing.
- Signals of finite duration :
DFT coefficients sampled version of FTD:
Note: For :Zero padding with zeros:- Increase resolution spectral plot
- No extra spectral information of underlying signal
- Non periodic infinite length signals:
The DFT of an infinite duration signal is always an approximation. Exact spectral content can only be obtained by an FTD.
DFT for continuous signals: Time- bandwidth product constant