You get a bonus - 1 coin for daily activity. Now you have 1 coin

Discrete Fourier Transform (DFT)

Lecture



Discrete Fourier Transform (DFT)
Content
  • Introduction
  • Time sampling. Discrete signal spectrum
  • The repetition of the signal in time. Discrete Fourier Transform
  • Inverse Discrete Fourier Transform
  • Indexing spectral samples. Rearrangement of spectral samples
  • findings
Introduction
Often in the literature on digital signal processing, the expression for the discrete Fourier transform (DFT) is given “as a given”, and the expression for the direct and inverse DFT is not given due attention. However, an understanding of this transition will make it possible to better understand the properties of the DFT and the essence of digital spectral analysis as a whole. To begin with, we also write down the expressions for the continuous and discrete Fourier transform, and then we go to the DFT from the Fourier integral.
Time sampling. Discrete signal spectrum
So a pair of continuous Fourier transform (Fourier integral) has the form:
Discrete Fourier Transform (DFT) (one)
Where Discrete Fourier Transform (DFT) - signal spectrum Discrete Fourier Transform (DFT) (in general, both the signal and the spectrum are complex).
The expressions for the direct DFT and inverse discrete Fourier transform (IDFT) are:
Discrete Fourier Transform (DFT) (2)
The expression for the DFT matches Discrete Fourier Transform (DFT) signal readings Discrete Fourier Transform (DFT) , Discrete Fourier Transform (DFT) , generally integrated, Discrete Fourier Transform (DFT) spectrum readings Discrete Fourier Transform (DFT) , Discrete Fourier Transform (DFT) .
It can be noted that, both in the continuous and in the discrete case, there is a normalization coefficient in the expression for the inverse transformation. In the case of the Fourier integral, this Discrete Fourier Transform (DFT) in the case of ODPP - Discrete Fourier Transform (DFT) . It can be noted that in the case of continuous conversion, the normalization coefficient Discrete Fourier Transform (DFT) It is designed to correctly display the scaling of the signal in time in the frequency domain and vice versa. In other words, if we sequentially calculate the spectrum of a certain signal, and then take the inverse Fourier transform, then the result of the inverse transform should completely coincide with the original signal. Normalization factor Discrete Fourier Transform (DFT) reduces the amplitude of the signal at the output of the inverse transform so that it coincides with the amplitude of the original signal.
Consider now the signal Discrete Fourier Transform (DFT) as a result of multiplying a continuous signal Discrete Fourier Transform (DFT) on the lattice function
Discrete Fourier Transform (DFT) , (3)
Where Discrete Fourier Transform (DFT) - delta function,
Discrete Fourier Transform (DFT) (four)
Discrete Fourier Transform (DFT) - sampling interval. Graphically, the sampling process can be represented as shown in Figure 1.
Discrete Fourier Transform (DFT)
Figure 1: Signal Sampling Process
We calculate the spectrum of a discrete signal, for this we substitute the expression for the discrete signal (3) in the expression for the Fourier transform (1), we get:
Discrete Fourier Transform (DFT) (five)
Swap the operations of summation and integration and recall the filtering property of the delta function:
Discrete Fourier Transform (DFT) . (6)
Then the expression (5) in view of (6):
Discrete Fourier Transform (DFT) (7)
Thus, we got rid of the integration in infinite limits, replacing the complex summation of the complex exponentials. But while the frequency Discrete Fourier Transform (DFT) varies on the entire number axis. However, it can be noted that the complex exponents under the sum sign in expression (7) are periodic functions with a period:
Discrete Fourier Transform (DFT) (eight)
It should be noted that Discrete Fourier Transform (DFT) excluded from expression (8), since Discrete Fourier Transform (DFT) complex exponent is one for all frequencies. Thus the maximum repetition period of the spectrum Discrete Fourier Transform (DFT) will be at Discrete Fourier Transform (DFT) and is equal to
Discrete Fourier Transform (DFT) . (9)
As a result, only one repetition period can be considered. Discrete Fourier Transform (DFT) at Discrete Fourier Transform (DFT)
The repetition of the signal in time. Discrete Fourier Transform
Digital processing requires both discrete signal samples and discrete spectrum samples. It is known that the discrete (or as they say line spectrum) have periodic signals, and the line spectrum is obtained by expanding the Fourier series of a periodic signal. So, to get a discrete spectrum, you must make the original discrete signal periodic, or in other words you must repeat this signal in time an infinite number of times with a certain period Discrete Fourier Transform (DFT) then its spectrum will contain discrete harmonics multiple Discrete Fourier Transform (DFT) . Graphically, the process of repeating a signal in time is presented in Figure 2.
Discrete Fourier Transform (DFT)
Figure 2: Signal Repeat Over Time
The original signal is shown in black, its repetition is grayed out after a certain period. Discrete Fourier Transform (DFT) .
As follows from Figure 2, the signal can be repeated with a different period. Discrete Fourier Transform (DFT) However, it is necessary that the repetition period be more than or equal to the duration of the signal, i.e. Discrete Fourier Transform (DFT) . The minimum repetition period of the signal
Discrete Fourier Transform (DFT) . (ten)
This is the minimum period at which the signal and its repetition do not overlap each other. Repetition signal with a minimum period Discrete Fourier Transform (DFT) presented in Figure 3.
Discrete Fourier Transform (DFT)
Figure 3: Minimum Period Repeat
By repeating a signal with a minimum period, we obtain a line spectrum of the signal, consisting of harmonics of multiples
Discrete Fourier Transform (DFT) (eleven)
and on one period Discrete Fourier Transform (DFT) will get
Discrete Fourier Transform (DFT) (12)
spectrum harmonics.
Thus, we can discretize the spectrum of a discrete signal in one repetition period. Discrete Fourier Transform (DFT) with step Discrete Fourier Transform (DFT) and thereby Discrete Fourier Transform (DFT) spectrum readings. We take into account the above in expression (7), we get:
Discrete Fourier Transform (DFT) (13)
If we omit in the expression (13) the discretization time step Discrete Fourier Transform (DFT) and by frequency Discrete Fourier Transform (DFT) then we get the final expression for the DFT:
Discrete Fourier Transform (DFT) (14)
It can be concluded that the DFT sets Discrete Fourier Transform (DFT) discrete signal samples Discrete Fourier Transform (DFT) samples of the discrete spectrum, while it is assumed that both the signal and the spectrum are periodic and analyzed on the same period.
Details of the DFT properties will be analyzed below. We will deal with the withdrawal of the PDPF.
Inverse Discrete Fourier Transform
Similarly to (3), we can write the expression for the discrete spectrum through the lattice function
Discrete Fourier Transform (DFT) , (15)
Where Discrete Fourier Transform (DFT) - discrete spectrum readings on one repetition period Discrete Fourier Transform (DFT) . Substitute in the expression for the inverse Fourier transform (1):
Discrete Fourier Transform (DFT) (sixteen)
Where Discrete Fourier Transform (DFT) - the coefficient of proportionality, the task of which is to ensure equality in amplitude of the original discrete signal and the result of ODPP, the coefficient of proportionality takes into account the coefficient Discrete Fourier Transform (DFT) . Swapping the operations of summation and integration and take into account the filtering property of the delta function we get:
Discrete Fourier Transform (DFT) (17)
Take discrete samples Discrete Fourier Transform (DFT) after interval Discrete Fourier Transform (DFT) , then (17) can be written:
Discrete Fourier Transform (DFT) (18)
We take into account (11) and get:
Discrete Fourier Transform (DFT) (nineteen)
Omitting the frequency and time sampling intervals in expression (19), leaving only the indices, we obtain an expression for the IDFTs in which the coefficient of proportionality is unknown:
Discrete Fourier Transform (DFT) (20)
In order to calculate the coefficient Discrete Fourier Transform (DFT) , it is necessary to substitute the expression for calculating the spectrum using the DFT (14) in the expression for IDFT (20), we get:
Discrete Fourier Transform (DFT) (21)
Swap the summation procedure in (21) and combine the exponents:
Discrete Fourier Transform (DFT) (22)
Let us consider in more detail the sum of the complex exponentials included in (22). With Discrete Fourier Transform (DFT) we get:
Discrete Fourier Transform (DFT) (23)
Now consider the same amount when Discrete Fourier Transform (DFT) . Let be Discrete Fourier Transform (DFT) then we get:
Discrete Fourier Transform (DFT) . (24)
Then each complex exponent included in the sum is a vector on the complex plane of unit length, rotated by an angle:
Discrete Fourier Transform (DFT) , (25)
such vectors will be Discrete Fourier Transform (DFT) and they are turned relative to each other at the same angles. Since all vectors come from one point (from 0 of the complex plane) and are rotated relative to each other at the same angles, their sum is equal to zero. This is illustrated visually for Discrete Fourier Transform (DFT) in Figure 4.
Discrete Fourier Transform (DFT)
Figure 4: Sum of complex exhibitors
From Figure 4, it is indeed possible to conclude that for all Discrete Fourier Transform (DFT) , Discrete Fourier Transform (DFT) , Discrete Fourier Transform (DFT) , Discrete Fourier Transform (DFT) , sums of complex exponentials (24) are really zero. Then in expression (22) of the amount of Discrete Fourier Transform (DFT) will only add to Discrete Fourier Transform (DFT) . Then you can write (22):
Discrete Fourier Transform (DFT) (26)
From (26) we can conclude that Discrete Fourier Transform (DFT) . Thus, the expression for IDFT can be finally written down:
Discrete Fourier Transform (DFT) (27)
Indexing spectral samples. Rearrangement of spectral samples
Thus, we obtained expressions for both the direct and inverse DFTs. We make a few comments.
Remark 1. The DFT and ODPF are calculated on the basis of time indices. Discrete Fourier Transform (DFT) and spectral Discrete Fourier Transform (DFT) counts without taking into account the sampling frequency. This allows the use of expressions for the DFT and IDFT at any sampling rate without changing the computational program. This is a definite plus of the DFT, and if you need to link the indices to the sampling frequency (to the real frequency axis), then you need to remember that the frequency spectrum was sampled in increments Discrete Fourier Transform (DFT) rad / c, or Discrete Fourier Transform (DFT) Hz where Discrete Fourier Transform (DFT) , Discrete Fourier Transform (DFT) - sampling rate in Hz. Thus, if the sampling rate is known, then Discrete Fourier Transform (DFT) - th spectral count corresponds to frequency Discrete Fourier Transform (DFT) happy / c or Discrete Fourier Transform (DFT) Hz For example, at the sampling rate Discrete Fourier Transform (DFT) kHz with Discrete Fourier Transform (DFT) , Discrete Fourier Transform (DFT) spectral count corresponds to the frequency Discrete Fourier Transform (DFT) kHz
Remark 2. The discretization of the spectrum in the DFT was carried out on one period of the repetition of the spectrum. Discrete Fourier Transform (DFT) . Moreover, due to the periodicity of the spectrum of a discrete signal, the samples Discrete Fourier Transform (DFT) at Discrete Fourier Transform (DFT) correspond to both frequencies Discrete Fourier Transform (DFT) and frequencies Discrete Fourier Transform (DFT) where Discrete Fourier Transform (DFT) , i.e Discrete Fourier Transform (DFT) at Discrete Fourier Transform (DFT) correspond to negative frequencies Discrete Fourier Transform (DFT) i.e. physically at Discrete Fourier Transform (DFT) the second half of the spectrum is the frequencies from - Discrete Fourier Transform (DFT) . This is vividly illustrated by figure 5. In order from the spectrum in the frequency range Discrete Fourier Transform (DFT) calculated using the discrete Fourier transform, obtain the spectrum of the signal in the interval Discrete Fourier Transform (DFT) it is necessary to swap the two halves of the spectral samples (see figure 5).
Discrete Fourier Transform (DFT)
Figure 5: Rearranging Spectral Samples
Note 3. If the original signal is valid, i.e. Discrete Fourier Transform (DFT) for Discrete Fourier Transform (DFT) then
Discrete Fourier Transform (DFT) (28)
Zero spectrum report is a constant component of the signal. If a Discrete Fourier Transform (DFT) - even, then
Discrete Fourier Transform (DFT) (29)
The central spectral reading also has no imaginary part.
Consider now Discrete Fourier Transform (DFT) , Discrete Fourier Transform (DFT) and Discrete Fourier Transform (DFT) :
Discrete Fourier Transform (DFT) (thirty)
Consider that Discrete Fourier Transform (DFT) , then we can conclude: Discrete Fourier Transform (DFT) , Discrete Fourier Transform (DFT) that is, the second half of the spectral samples is complexly coupled with the first. Figure 6 shows a view of the real and imaginary parts of the complex spectrum of the real signal with an even Discrete Fourier Transform (DFT) . Red marked pure real Discrete Fourier Transform (DFT) and Discrete Fourier Transform (DFT) .
Discrete Fourier Transform (DFT)
Figure 6: Real and imaginary parts of the complex spectrum of a valid signal with an even number of samples
findings
In this article, we made the transition from the Fourier integral to the discrete Fourier transform by sampling the signal both in time and frequency. We obtained expressions for the direct and inverse DFT and considered some properties of the DFT. The properties of the DFT will be discussed in more detail in the following articles.

Comments


To leave a comment
If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Digital signal processing

Terms: Digital signal processing