Discrete-time Fourier transform

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Bob K (talk | contribs) at 15:12, 17 May 2012 (→‎Convolution: Add Wikilink to new section of "Convolution theorem"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In mathematics, the discrete-time Fourier transform (DTFT) is one of the specific forms of Fourier analysis. As such, it transforms one function into another, which is called the frequency domain representation, or simply the "DTFT", of the original function (which is often a function in the time-domain). The DTFT requires an input function that is discrete. Such inputs are often created by digitally sampling a continuous function, like a person's voice.

The DTFT frequency-domain representation is always a periodic function. Since one period of the function contains all of the unique information, it is sometimes convenient to say that the DTFT is a transform to a "finite" frequency-domain (the length of one period), rather than to the entire real line.

Definition

Given a discrete set of real or complex numbers: (integers), the discrete-time Fourier transform (or DTFT) of is usually written:

(Eq.1)

Relationship to sampling

Often the x[n] sequence represents the values (aka samples) of a continuous-time function, x(t), at discrete moments in time: t = nT, where T is the sampling interval (in seconds), and    is the sampling rate (samples per second).  Then the DTFT provides an approximation of the continuous-time Fourier transform:

To understand this, consider the Poisson summation formula, which indicates that a periodic summation of function X(f) can be constructed from the samples of function x(t).[note 1]  The result is:

(Eq.2)

comprises exact copies of that are shifted by multiples of ƒs and combined by addition.  For sufficiently large ƒs,  the k=0 term can be observed in the region [−ƒs/2, ƒs/2] with little or no distortion (aliasing) from the other terms.

With the following definition of a normalized frequency, the expressions in Eq.2 and  Eq.1 are identical:  

Since represents ordinary frequency (cycles per second) and has units of samples per second, the units of are cycles per sample. It is common notational practice to replace this ratio with a single variable, which represents actual frequencies as multiples (usually fractional) of the sample rate. In terms of that normalization, the periodicty of the DTFT is 1.   ω is also a normalized frequency, with units of radians per sample.   And in terms of ω, the periodicity is 2π.

Periodic data

When the input data sequence x[n] is N-periodic, Eq.2 can be computationally reduced to a discrete Fourier transform (DFT) by expanding the periodic comb function into a Fourier series:

which also shows that periodicity in the time domain causes the DTFT to become discontinuous, and in fact it diverges (to a comb function) at the harmonic frequencies. Nevertheless, we can evaluate the coefficients that modulate the comb, and the integral formula conveniently reduces to an N-term summation:

which is also an N-periodic sequence (in k); i.e. there is no need to evaluate more than N coefficients.

Inverse transform

An operation that recovers the discrete data sequence from the DTFT function is called an inverse DTFT.  For instance, the inverse continuous Fourier transform of both sides of Eq.2 produces the sequence in the form of a modulated Dirac comb function:

However, noting that is periodic, all the necessary information is contained within any interval of length 1/T.  In both Eq.1 and Eq.2, the summations over n are a Fourier series, with coefficients x[n].  The standard formulas for the Fourier coefficients are also the inverse transforms:

Sampling the DTFT

When the DTFT is continuous, a common practice is to compute an arbitrary number of samples (N) of one cycle of the periodic function X1/T :

where xN is a periodic summation:

The sequence is the inverse DFT. Thus, our sampling of the DTFT causes the inverse transform to become periodic.


In order to evaluate one cycle of numerically, we require a finite-length x[n] sequence. For instance, a long sequence might be truncated by a window function of length resulting in two cases worthy of special mention: L ≤ N and L = I•N, for some integer I (typically 6 or 8). For notational simplicity, consider the x[n] values below to represent the modified values.


When   a cycle of   reduces to a summation of I blocks of length N. This goes by various names, such as multi-block windowing and window presum-DFT [1] [2] [3] .  A good way to understand/motivate the technique is to recall that decimation of sampled data in one domain (time or frequency) produces aliasing in the other, and vice versa. The xN summation is mathematically equivalent to aliasing, leading to decimation in frequency, leaving only DTFT samples least affected by spectral leakage. That is usually a priority when implementing an FFT filter-bank (channelizer). With a conventional window function of length L, scalloping loss would be unacceptable. So multi-block windows are created using FIR filter design tools. Their frequency profile is flat at the highest point and falls off quickly at the midpoint between the remaining DTFT samples. The larger the value of parameter the better the potential performance. We note that the same results can be obtained by computing and decimating an L-length DFT, but that is not computationally efficient.


When   the DFT is usually written in this more familiar form:

In order to take advantage of a fast Fourier transform algorithm for computing the DFT, the summation is usually performed over all N terms, even though N-L of them are zeros. Therefore, the case L < N is often referred to as zero-padding.

Spectral leakage, which increases as L decreases, is detrimental to certain important performance metrics, such as resolution of multiple frequency components and the amount of noise measured by each DTFT sample. But those things don't always matter, for instance when the x[n] sequence is a noiseless sinusoid (or a constant), shaped by a window function. Then it is a common practice to use zero-padding to graphically display and compare the detailed leakage patterns of window functions. To illustrate that for a rectangular window, consider the sequence:

The two figures below are plots of the magnitude of two different sized DFTs, as indicated in their labels. In both cases, the dominant component is at the signal frequency: . Also visible on the right is the spectral leakage pattern of the L=64 rectangular window. The illusion on the left is a result of sampling the DTFT at all of its zero-crossings. Rather than the DTFT of a finite-length sequence, it gives the impression of an infinitely long sinusoidal sequence. Contributing factors to the illusion are the use of a rectangular window, and the choice of a frequency () with exactly 8 (an integer) cycles per 64 samples.

DFT for L = 64 and N = 64
DFT for L = 64 and N = 256

Convolution

The Convolution theorem for sequences is:



An important special case is the circular convolution of sequences   and defined by    where   is a periodic summation.  The discrete-frequency nature of "selects" only discrete values from the continuous function which results in considerable simplification of the inverse transform.  As shown at Convolution_theorem#Functions_of_a_discrete_variable..._sequences:


For and sequences whose non-zero duration is ≤ N, a final simplification is:



The significance of this result is expounded at Circular convolution and Fast convolution algorithms.

Relationship to the Z-transform

The DTFT is a special case of the Z-transform. The bilateral Z-transform is defined as:

So the special case is   .   Since , it is the evaluation of the Z-transform around the unit circle in the complex plane.

Alternative notation

A popular notation for the DTFT is with several desireable features:

  1. highlights the periodicity property, and
  2. helps distinguish between the DTFT and the underlying Fourier transform of ; that is, (or ), and
  3. emphasizes the relationship of the DTFT to the Z-transform.

However, its relevance is obscured when the DTFT is formed by the frequency domain method (periodic summation), line Eq.2. So the notation is also commonly used, as in the table below.

Table of discrete-time Fourier transforms

Some common transform pairs are shown below. The following notation applies:

  • is an integer representing the discrete-time domain (in samples)
  • is a real number in , representing continuous angular frequency (in radians per sample).
    • The remainder of the transform is defined by:
  • is the discrete-time unit step function
  • is the normalized sinc function
  • is the Dirac delta function
  • is the Kronecker delta
  • is the rectangle function for arbitrary real-valued t:
  • is the triangle function for arbitrary real-valued t:
Time domain
Frequency domain
Remarks
integer M
integer M
The term must be interpreted as a distribution in the sense of a Cauchy principal value around its poles at .
real number a
real number a
real number a
integer M
real number a
real number W
real numbers W
it works as a differentiator filter
real numbers W, a
Hilbert transform
real numbers A, B
complex C

Properties

This table shows some mathematical operations in the time-domain and the corresponding effects in the frequency domain.

Property Time domain Frequency domain Remarks
Linearity
Shift in time integer k
Shift in frequency (modulation) real number a
Time reversal
Time conjugation
Time reversal & conjugation
Derivative in frequency
Integral in frequency
Convolve in time
Multiply in time Periodic convolution
Cross correlation
Parseval's theorem

Symmetry Properties

The Fourier Transform can be decomposed into a real and imaginary part or into an even and odd part.

or

Time Domain
Frequency Domain

Notes

  1. ^ The same result can be obtained by observing that:

Citations

  1. ^ Gumas, Charles Constantine (1997). "Window-presum FFT achieves high-dynamic range, resolution". Personal Engineering & Instrumentation News: 58–64. {{cite journal}}: Unknown parameter |month= ignored (help)
  2. ^ Dahl, Jason F (2003). "Chapter 3.4". Time Aliasing Methods of Spectral Estimation (PDF) (PhD thesis). Brigham Young University.
  3. ^ Lyons, Richard G. (2008). "DSP Tricks: Building a practical spectrum analyzer". EE Times. {{cite web}}: Unknown parameter |month= ignored (help)

References

  • Alan V. Oppenheim and Ronald W. Schafer (1999). Discrete-Time Signal Processing (2nd Edition ed.). Prentice Hall Signal Processing Series. ISBN 0-13-754920-2. {{cite book}}: |edition= has extra text (help)
  • William McC. Siebert (1986). Circuits, Signals, and Systems. MIT Electrical Engineering and Computer Science Series. Cambridge, MA: MIT Press.
  • Boaz Porat. A Course in Digital Signal Processing. John Wiley and Sons. pp. 27–29 and 104–105. ISBN 0-471-14961-6.