DTFT And Fourier Transform

Slides:



Advertisements
Similar presentations
Symmetry and the DTFT If we know a few things about the symmetry properties of the DTFT, it can make life simpler. First, for a real-valued sequence x(n),
Advertisements

LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Use of Frequency Domain Telecommunication Channel |A| f fcfc Frequency.
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
Chapter 8: The Discrete Fourier Transform
EECS 20 Chapter 10 Part 11 Fourier Transform In the last several chapters we Viewed periodic functions in terms of frequency components (Fourier series)
Sampling, Reconstruction, and Elementary Digital Filters R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2007 Shreekanth Mandayam ECE Department Rowan University.
Signals and Systems Discrete Time Fourier Series.
Continuous Time Signals All signals in nature are in continuous time.
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
Discrete Time Periodic Signals A discrete time signal x[n] is periodic with period N if and only if for all n. Definition: Meaning: a periodic signal keeps.
SAMPLING & ALIASING. OVERVIEW Periodic sampling, the process of representing a continuous signal with a sequence of discrete data values, pervades the.
First semester King Saud University College of Applied studies and Community Service 1301CT.
Systems: Definition Filter
Random Processes and LSI Systems What happedns when a random signal is processed by an LSI system? This is illustrated below, where x(n) and y(n) are random.
Discrete-Time Fourier Series
Chapter 4: Sampling of Continuous-Time Signals
FT Representation of DT Signals:
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Copyright © Shi Ping CUC Chapter 3 Discrete Fourier Transform Review Features in common We need a numerically computable transform, that is Discrete.
Discrete-Time and System (A Review)
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
The Wavelet Tutorial: Part3 The Discrete Wavelet Transform
Fourier Series Summary (From Salivahanan et al, 2002)
Digital Signal Processing
Chapter 7: The Fourier Transform 7.1 Introduction
ECE 4710: Lecture #6 1 Bandlimited Signals  Bandlimited waveforms have non-zero spectral components only within a finite frequency range  Waveform is.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
The Discrete Fourier Transform 主講人:虞台文. Content Introduction Representation of Periodic Sequences – DFS (Discrete Fourier Series) Properties of DFS The.
Notice  HW problems for Z-transform at available on the course website  due this Friday (9/26/2014) 
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.
Chapter 6: Sampled Data Systems and the z-Transform 1.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Fourier Analysis of Discrete Time Signals
Chapter 5 Finite-Length Discrete Transform
revision Transfer function. Frequency Response
2D Sampling Goal: Represent a 2D function by a finite set of points.
INTRODUCTION TO SIGNALS
Sampling of Continuous-Time Signals Quote of the Day Optimist: "The glass is half full." Pessimist: "The glass is half empty." Engineer: "That glass is.
DTFT continue (c.f. Shenoi, 2006)  We have introduced DTFT and showed some of its properties. We will investigate them in more detail by showing the associated.
Lecture 3: The Sampling Process and Aliasing 1. Introduction A digital or sampled-data control system operates on discrete- time rather than continuous-time.
Continuous-time Signal Sampling
Topics 1 Specific topics to be covered are: Discrete-time signals Z-transforms Sampling and reconstruction Aliasing and anti-aliasing filters Sampled-data.
Chapter 2 Ideal Sampling and Nyquist Theorem
Lecture 1.4. Sampling. Kotelnikov-Nyquist Theorem.
بسم الله الرحمن الرحيم Lecture (12) Dr. Iman Abuel Maaly The Discrete Fourier Transform Dr. Iman Abuel Maaly University of Khartoum Department of Electrical.
Fourier Analysis Patrice Koehl Department of Biological Sciences National University of Singapore
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
DIGITAL SIGNAL PROCESSING ELECTRONICS
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
SAMPLING & ALIASING.
Sampling and Quantization
Sampling rate conversion by a rational factor
Sampling and Reconstruction
EE Audio Signals and Systems
Sampling and the Discrete Fourier Transform
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
Chapter 8 The Discrete Fourier Transform
Interpolation and Pulse Shaping
Lecture 18 DFS: Discrete Fourier Series, and Windowing
Rectangular Sampling.
Fourier Transform and Spectra
Chapter 8 The Discrete Fourier Transform
Signals and Systems Revision Lecture 2
Chapter 8 The Discrete Fourier Transform
Chapter 3 Sampling.
Lec.6:Discrete Fourier Transform and Signal Spectrum
Electrical Communication Systems ECE Spring 2019
DIGITAL CONTROL SYSTEM WEEK 3 NUMERICAL APPROXIMATION
Electrical Communications Systems ECE
Presentation transcript:

DTFT And Fourier Transform Consider a continuous-time signal xa(t), and a sequence x(n) obtained by sampling xa(t) with sampling period T: xa(t) has a fourier transform, Xa(f). x(n) has a DTFT, X(ej2pft). In chapter 6, this relationship was asserted without proof: It will now be proven.

DTFT And Fourier Transform Consider a continuous-time impluse train (Dirac impulses): s(t) -3T -2T -T 0T T 2T 3T

DTFT And Fourier Transform If we multiply the impulse train and xa(t), we get a weighted impulse train. The weights are the values of xa(t) at integer multiples of T. Since the product of the two signals is zero at all other times, it may also be expressed as:

DTFT And Fourier Transform But we’ve already seen that x(n) = xa(nT), xs(t) is a continuous time signal, which exists for all values of t, not just integer multiples of T. at t = nT, its value is that of x(n). At all other times, it is zero. We’ll now prove

DTFT And Fourier Transform First, we’ll show that that s(t) is periodic, with period T. It can be expressed as a Fourier series: The coefficients of the Fourier series, cn, are given by:

DTFT And Fourier Transform Only one of the impulses is between –T/2 and T-2, and s(t) is zero every where else between the integration limits, so: Using the sifting poperty of the continuous-time impulse,

DTFT And Fourier Transform So the Fourier series representation of s(t) is The Fourier transform of s(t) is

DTFT And Fourier Transform Since we have the following Fourier transform pair We can write the Fourier transform of s(t) as simply: Recalling that xs(t) = xa(t)s(t), we know that

DTFT And Fourier Transform Recalling that xs(t) = xa(t)s(t), we know that

DTFT And Fourier Transform And using the sifting property, The relationship we set out to prove was We’ve just shown that Xs(f) is equal to the right side of the relationship. Now we’ll show that Xs(f) is also equal to the left side, which will complete the proof.

DTFT And Fourier Transform Recall that So

DTFT And Fourier Transform Using this transform pair, We can now write: But this is the same as the DTFT of x(n), X(ejw), if w = 2pfT. Therefore, This completes the proof.

Sampling Theorem A continuous time signal xa(t) that is bandlimited to B Hz (that is, its spectrum contains no energy at any frequency above B Hz) can be completely recovered from it’s samples, xa(nT) if the sampling frequency fs (fs = 1/T) is greater than 2B. Below is a depiction of the spectrum of a bandlimited signal xa(t). Xa(f) f fs 2fs -2fs -fs B -B A

Sampling Theorem If fs > 2B, the sampled signal xs(t) is as depicted spectrally below: Xs(f) A/T -2fs -fs -B B fs 2fs where T = 1/ fs. Spectrally, the sampled signal xs(t) is a scaled copy of xa(t) between –fs/2 and fs/2. It also contains spectral copies centered at n –fs.

Sampling Theorem If we use an ideal lowpass filter to strip off the unwanted spectral copies, we can perfectly recover the spectrum of the original signal xa(t) – and therefore, we also recover xa(t) itself! Again, if we have a signal xa(t) and sample it to obtain the weighted impulse train xs(t), we can recover xa(t) from xs(t) by using an ideal lowpass filter xa(t) is related to the sequence x(n) by

Ideal D/A Conversion If we process the sequence x(n) in a way that converts it to xs(t), then use an ideal lowpass filter to strip off the unwanted spectral copies, then we convert a digital sequence to an analo signal. This is an ideal digital to analog (D/A) converter. Convert to Impulse Train Ideal Lowpass Filter xs(t) x(n) xa(t) Gain = T Cutoff freq = fs/2

Ideal D/A Conversion of course, it’s impossible to make an ideal D/A converter. An ideal lowpass filter can’t be realized, and we can’t create a train of ideal impulses. Furthermore, there will always be errors due to finite word length (quantization error). There will also always be some aliasing, because no signal is perfectly bandlimited. We can approximate an impulse train, though, and we can approximate an ideal lowpass filter. Therefore, we can make an imperfect D/A converter.

Ideal D/A Conversion Now let’s talk about D/A conversion from a time domain viewpoint. When we filter xs(t) to remove the spectral copies and recover xa(t), we’re convolving xs(t) with the impulse response of the ideal lowpass filter.

Ideal D/A Conversion This process connects the “dots”, which are the magnitudes of the impulses that comprise xs(t). In otherwords, the ideal D/A conversion process is also an ideal interpolation process. Convolving the xs(t) with ha(t),

Ideal D/A Conversion But so,

Ideal D/A Conversion Rearranging, And, using the sifting property: This is the ideal interpolation formula.

Real-World D/A Conversion The ideal D/A converter uses the sequence x(n) to generate a weighted impulse train, xs(t). An ideal lowpass filter then “connects the dots” by smoothing the impulse train. A real D/A converter generates a series of “rectangular” pulses, weighted according to the sequence x(n).

Real-World D/A Conversion Here’s a depiction of the impulse train generated by an ideal D/A converter for some sequence x(n): xs(t) t 2T 3T 4T T -T -2T -3T -4T

Real-World D/A Conversion Here’s the pulse train generated by a real D/A converter, overlayed with the impulse train. xp(t) t 2T 3T 4T T -T -2T -3T -4T

Real-World D/A Conversion The pulse train is generated by weighting a series of rectangular pulses, like the one shown here: ga(t) t T A The pulse train can be written as:

Real-World D/A Conversion Normally, the D/A converter does not include a lowpass filter (although the pulse train generation is a lowpass process of a sort). In most cases, a analog filter is required downstream. It we compare xp(t) to xa(t) (the original continuous-time signal), xp(t) is a staircase approximation of xa(t) .

Real-World D/A Conversion In the frequency domain, for the ideal converter, where Ha(f) is the transfer function of the ideal lowpass filter, and for the real converter, where Ha(f) is the Fourier transform of the rectangular pulse ga(t)

Real-World D/A Conversion In the frequency domain, Xp(f) is the product of Xs(f) and Ga(f). In the time domain, xp(t) is obtained by convolving xs(t) with ga(t):

Real-World D/A Conversion To see what this looks like spectrally, we need to know the spectrum of the retangular pulse, Ga(f). In chapter 3, we saw that the Fourier transform of the rectangular pulse shown below r(t) A t -T/2 T/2 was given by:

Real-World D/A Conversion By comparing this to ga(t), we see that ga(t) is ra(t) delayed by T/2. Therefore, by the time shifting theorem, and its amplitude response is:

Real-World D/A Conversion If we plot the amplitude response, it looks as shown in figure 7-8 of the textbook. Notice that, in the range of frequencies between 0 and fs/2, the frequency response is far from ideal. If the Nyquist criterion is barely satisfied (fs = 2B), the real world D/A converter attenuates those frequencies close to B more than it should, and this is a source of error in reproducing xa(t)

Real-World D/A Conversion This error can be reduced by oversampling – making fs much greater than 2B. This has the effect of broadening the main lobe of Ga(f), and reduces the difference in amplitude between 0 and B. This is illustrated in Figure 7-9.

Problems

The DFT and The FFT Any sequence, regardless of duration, has a DTFT given by If x(n) is a finite duration sequence, it also has a DFT.

The DFT and The FFT For such a sequence, the DTFT may be found without using infinite summation limits: Keep in mind that, although x(n) is a discrete function, X(ejw) is a continuous function of w. The DFT of x(n) is a discrete function of frequency, and consists of samples of X(ejw).

The DFT and The DTFT In other words, if we take the continuous function of w X(ejw) and sample it in the frequency domain at intervals of then we get the DFT of x(n): Which may be rewritten:

The DFT and The DTFT We could denote the DFT of x(n) as X(ej2pk/N), but it’s usually represented by X(k) instead. Therefore, we have the following discrete Fourier transform pair: where

The DFT and The DTFT Some key points: If the sequence x(n) is N samples in length, X(k) consists of N (generally complex) samples of X(ejw). The spacing (in frequency) between samples of the DFT is 2p/N. More samples means closer spacing, and finer spectral resolution.

The DFT and The DTFT More key points: The N samples of the DFT span the frequency range from 0 to 2p. NOT –p to p. Sample 0 (k=0) is at w=0, and sample N-1 (the last sample) is at w=2p(N-1)/N. There is no sample at w=2p. If the DFT, X(k), is plotted, it is like plotting X(ejw) on the interval from w=0 to w=2p. The frequency variable w ant the DFT index k are related by

The DFT and The DTFT More key points: w and the frequency in Hertz are related by k and the frequency in Hertz are related by

The DFT and The DTFT More key points: The spacing between frequency-domain samples of the DFT (also called the frequency resolution or bin width) is given by The relationship between the DTFT and the DFT is illustrated in Figure 8-2.

The DFT and The FFT We could compute the DFT of a sequence using the DFT definition: Inspection of this equation reveals that evaluating it requires on the order of N2 complex multiplications, a good indication of computational complexity.

The DFT and The FFT The FFT (Fast Fourier Transform) is a more computationally efficient implementation of the DFT, which only requires on the order of N log2(N) multiplications. If N=1024, this comes out to 10,240 multiplications for the FFT, and 1,048,576 for the DFT. Nobody (almost) writes their own implementation of the FFT. It is readily available, in any programming language you like. All you really need to know is how to use it.