Digital Signal Processing – Chapter 10

Slides:



Advertisements
Similar presentations
DFT & FFT Computation.
Advertisements

Digital Kommunikationselektronik TNE027 Lecture 5 1 Fourier Transforms Discrete Fourier Transform (DFT) Algorithms Fast Fourier Transform (FFT) Algorithms.
LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Use of Frequency Domain Telecommunication Channel |A| f fcfc Frequency.
AMI 4622 Digital Signal Processing
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)
EECS 20 Chapter 8 Part 21 Frequency Response Last time we Revisited formal definitions of linearity and time-invariance Found an eigenfunction for linear.
Chapter 12 Fourier Transforms of Discrete Signals.
Signals and Systems Discrete Time Fourier Series.
Chapter 4 The Fourier Series and Fourier Transform
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.
Chapter 4 The Fourier Series and Fourier Transform.
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)
DTFT And Fourier Transform
1 7.1 Discrete Fourier Transform (DFT) 7.2 DFT Properties 7.3 Cyclic Convolution 7.4 Linear Convolution via DFT Chapter 7 Discrete Fourier Transform Section.
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.
Chapter 2: Discrete time signals and systems
(Lecture #08)1 Digital Signal Processing Lecture# 8 Chapter 5.
Fourier Series. Introduction Decompose a periodic input signal into primitive periodic components. A periodic sequence T2T3T t f(t)f(t)
1 Z-Transform. CHAPTER 5 School of Electrical System Engineering, UniMAP School of Electrical System Engineering, UniMAP NORSHAFINASH BT SAUDIN
1 Fourier Representations of Signals & Linear Time-Invariant Systems Chapter 3.
The Discrete Fourier Transform 主講人:虞台文. Content Introduction Representation of Periodic Sequences – DFS (Discrete Fourier Series) Properties of DFS The.
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.
Department of Computer Eng. Sharif University of Technology Discrete-time signal processing Chapter 3: THE Z-TRANSFORM Content and Figures are from Discrete-Time.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Real time DSP Professors: Eng. Julian S. Bruno Eng. Jerónimo F. Atencio Sr. Lucio Martinez Garbino.
Digital Signal Processing Chapter 3 Discrete transforms.
Fourier Analysis of Discrete Time Signals
Z TRANSFORM AND DFT Z Transform
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
Lecture 6: DFT XILIANG LUO 2014/10. Periodic Sequence  Discrete Fourier Series For a sequence with period N, we only need N DFS coefs.
Chapter 5 Finite-Length Discrete Transform
Fourier Analysis of Signals and Systems
ES97H Biomedical Signal Processing
ES97H Biomedical Signal Processing
revision Transfer function. Frequency Response
Digital Signal Processing – Chapter 10 Fourier Analysis of Discrete-Time Signals and Systems Dr. Ahmed Samir Fahmy Associate Professor Systems and Biomedical.
Digital Signal Processing
Lecture 5 – 6 Z - Transform By Dileep Kumar.
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.
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 3 Review of Discerete time Fourier Transform (DTFT) University of Khartoum Department of Electrical.
Frequency Domain Representation of Biomedical Signals.
EE345S Real-Time Digital Signal Processing Lab Fall 2006 Lecture 17 Fast Fourier Transform Prof. Brian L. Evans Dept. of Electrical and Computer Engineering.
Chapter 2 The z-transform and Fourier Transforms The Z Transform The Inverse of Z Transform The Prosperity of Z Transform System Function System Function.
Lecture 18: The Discrete Fourier Transform Instructor: Dr. Ghazi Al Sukkar Dept. of Electrical Engineering The University of Jordan
Dr. Michael Nasief Digital Signal Processing Lec 7 1.
In summary If x[n] is a finite-length sequence (n  0 only when |n|
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 14 FFT-Radix-2 Decimation in Frequency And Radix -4 Algorithm University of Khartoum Department.
Review of DSP.
بسم الله الرحمن الرحيم Lecture (12) Dr. Iman Abuel Maaly The Discrete Fourier Transform Dr. Iman Abuel Maaly University of Khartoum Department of Electrical.
1 Chapter 8 The Discrete Fourier Transform (cont.)
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
Lecture 19 Spectrogram: Spectral Analysis via DFT & DTFT
Review of DSP.
DIGITAL SIGNAL PROCESSING ELECTRONICS
CE Digital Signal Processing Fall Discrete-time Fourier Transform
The Discrete Fourier Transform
UNIT II Analysis of Continuous Time signal
Chapter 8 The Discrete Fourier Transform
Sampling the Fourier Transform
Z TRANSFORM AND DFT Z Transform
Lecture 18 DFS: Discrete Fourier Series, and Windowing
Lecture 17 DFT: Discrete Fourier Transform
Chapter 8 The Discrete Fourier Transform
Discrete-Time Signal processing Chapter 3 the Z-transform
Chapter 8 The Discrete Fourier Transform
Review of DSP.
Presentation transcript:

Digital Signal Processing – Chapter 10 Fourier Analysis of Discrete-Time Signals and Systems Dr. Ahmed Samir Fahmy Associate Professor Systems and Biomedical Eng. Dept. Cairo University

Review Complex Variables

Complex Variables Most of the theory of signals and systems is based on functions of a complex variable However, practical signals are functions of a real variable corresponding to time or space Complex variables represent mathematical tools that allow characteristics of signals to be defined in an easier to manipulate form Example: phase of a sinusoidal signal

Complex Numbers and Vectors A complex number z represents any point (x, y): z = x + j y, x =Re[z] (real part of z) y =Im[z] (imaginary part of z) j =Sqrt(-1) Vector representation Rectangular or polar form Magnitude and Phase

Complex Numbers and Vectors Identical: use either depending on operation Rectangular form for addition or subtraction Polar form for multiplication or division Example: let More Difficult

Complex Numbers and Vectors Powers of complex numbers: polar form Conjugate

Functions of a Complex Variable Just like real-valued functions Example: Logarithm Euler’s identity Proof: compute polar representation of R.H.S. Example:

Functions of a Complex Variable Starting from Euler’s Identity, one can show:

Phasors and Sinusoidal Steady State A sinusoid is a periodic signal represented by, If one knows the frequency, cosine is characterized by its amplitude and phase. Define Phasor as complex number characterized by amplitude and the phase of a cosine signal Such that

example Example: Steady state solution of RC circuit with input Assume that the steady-state response of this circuit is also a sinusoid Then, we can let Substitute in

Discrete Time Fourier Transform

The Fourier Transform On Board Illustration this slide is intentionally left blank

Discrete-Time Fourier Transform Sampled time domain signal  periodic Fourier transform Periodic time domain signal  sampled Fourier transform Periodic and sampled time domain signal  Fourier transform that is both periodic and sampled Forward DTFT Inverse DTFT

Notes on DTFT DTFT DTFT is periodic, with period 2π: For convergence:

Notes on DTFT Eigen functions: Let the input to LTI be: Using Convolution: DTFT of h[k] calculated at input frequency The O/P is similar to I/P (multiplied by a factor)

DTFT vs. Z-Transform DTFT Compare to z-transform, it is clear that: DTFT is the values on the unit circle in z-Transform Unit circle must be included in the ROC

DTFT vs. Z-Transform Example Consider the noncausal signal , with Determine its DTFT. Use the obtained DTFT to find Solution: Z-trans: The ROC is: 1st term: 2nd term: Overall ROC:  includes unit circle!

DTFT vs. Z-Transform Example Thus the DTFT is given by Also, the DC component is given by: Another way to calculate is:

Notes on DTFT Problem: the sampled signal is still infinite in length Impossible to obtain using computers Consider cases when the signal has compact support The frequency variable is continuous!

Discrete Fourier Transform (DFT) Defined as the Fourier transform of a signal that is both discrete and periodic Fourier transform will also be discrete and periodic Can assume periodicity if we have a finite duration of a signal: better than zero assumption since it allows reducing the frequency domain to a sampled function

Discrete Fourier Transform (DFT)

Discrete Fourier Transform (DFT)

Discrete Fourier Transform (DFT)

Discrete Fourier Transform (DFT)

DFT Formula Given a periodic signal x[n] of period N, its DFT is given by, Its inverse is given by, Both X[k] and x[n] are periodic of the same period N.

Computation of DFT Using FFT A very efficient computation of the DFT is done by means of the FFT algorithm, which takes advantage of some special characteristics of the DFT DFT requires O(N2) computations FFT requires O(N log2N) computations Both compute the same thing It should be understood that the FFT is NOT another transformation but an algorithm to efficiently compute DFTs. Always remember that the signal and its DFT are both periodic

Improving Resolution in DFT When the signal x[n] is periodic of period N, the DFT values are normalized Fourier series coefficients of x[n] that only exist for the N harmonic frequencies {2k/N}, as no frequency components exist for any other frequencies The number of possible frequencies depend on the length L chosen to compute its DFT. Frequencies at which we compute the DFT can be seen as frequencies around the unit circle in the z-plane We can improve the frequency resolution of its DFT by increasing the number of samples in the signal without distorting the signal by padding the signal with zeros Increase samples of the units circle

Zero-Padding Example Matlab Code N= 32; Original N2= 128; Signal n=0:N-1; n2= 0:N2-1; x= zeros(N,1); x(1:16)= 1; X= fftshift(fft(x)); X2= fftshift(fft(x,N2)); subplot(3,1,1) stem(n,x) subplot(3,1,2) stem(n,abs(X)) subplot(3,1,3) stem(n2,abs(X2)) Original Signal No zero-padding 32-Point FFT With zero-padding 128-Point FFT

Phase in DFT Output of DFT is complex numbers Phase is just as important as magnitude in DFT (in fact, it is more important!) Time shift amounts to linear phase Phase wrapping occurs for large shifts Linear phase can be unwrapped to its correct form using the “unwrap” function of Matlab N= 32; x= zeros(N,1); x(11:15)= [0.2 0.5 1 0.5 0.2]; X= fftshift(fft(x)); subplot(4,1,1); stem(1:N,x); title('Signal') subplot(4,1,2); plot(abs(X)); title('DFT Magnitude') subplot(4,1,3); plot(angle(X)); title('Computed Phase') subplot(4,1,4); plot(unwrap(angle(X))); title('Unwrapped Phase')

Phase in DFT: Examples More Time Shift Less Time Shift Slower linear phase Steeper linear phase

Properties of DFT Linearity Duality

Properties of DFT Duality: example (n=0:9)

Properties of DFT Circular Shift of a Sequence

Linear vs. Circular Convolution Convolution in continuous and discrete time aperiodic signals is called linear convolution Convolution can be calculated as a multiplication in the frequency domain Convolution property of the Fourier transform Problem: when using DFT to compute convolution of aperiodic signals, the periodicity assumption results in errors in computing the convolution Signal outside the N points used is not zero: periodic extension of the N points disturb the computation What we compute is called circular convolution

Linear vs. Circular Convolution Given x[n] and h[n] of lengths M and K, the linear convolution sum y[n] of length N=(M+K-1) can be found by following these three steps: Compute DFTs X[k] and H[k] of length LN for x[n] and h[n] using zero-padding Multiply them to get Y[k]= X[k]H[k]. Find the inverse DFT of Y[k] of length L to obtain y[n]

Linear vs. Circular Convolution: Example N= 32; % N>N1+N2-1 x1= zeros(N1,1); x2= zeros(N2,1); x1(1:4)= 1; x2(:)= 1; X1= fft(x1,N1); X2= fft(x2,N1); X_circ= X1.*X2; x_circ= ifft(X_circ); X1= fft(x1,N); X2= fft(x2,N); X_lin= X1.*X2; x_lin= ifft(X_lin); figure(1); subplot(4,1,1); stem(1:N1,x1) subplot(4,1,2); stem(1:N2,x2) subplot(4,1,3); stem(1:N1, abs(x_circ)) title('Circular Convolution'); subplot(4,1,4); stem(1:N,abs(x_lin))

Fourier Transformations Chart Signal Classification Frequency Continuous Discrete Time Continuous Fourier Transform (CFT) Discrete Fourier Series (DFS) Discrete-Time Fourier Transform (DTFT) Discrete Fourier Transform (DFT) Most General Form: others are special cases Only one that can be done on a computer

Problem Assignments Problems: 10.12, 10.26, 10.27, 10.29 Partial Solutions available from the student section of the textbook web site