Digital Signal Processing Chapter 3 Discrete transforms.

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.
Chapter 8: The Discrete Fourier Transform
Lecture #17 INTRODUCTION TO THE FAST FOURIER TRANSFORM ALGORITHM Department of Electrical and Computer Engineering Carnegie Mellon University Pittsburgh,
Introduction to Fast Fourier Transform (FFT) Algorithms R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
Chapter 12 Fourier Transforms of Discrete Signals.
Lecture #18 FAST FOURIER TRANSFORM INVERSES AND ALTERNATE IMPLEMENTATIONS Department of Electrical and Computer Engineering Carnegie Mellon University.
Signals and Systems Discrete Time Fourier Series.
Unit 7 Fourier, DFT, and FFT 1. Time and Frequency Representation The most common representation of signals and waveforms is in the time domain Most signal.
Prepared by: Deepak Kumar Rout
Fast Fourier Transforms
Copyright © Shi Ping CUC Chapter 3 Discrete Fourier Transform Review Features in common We need a numerically computable transform, that is Discrete.
Integral Transform Dongsup Kim Department of Biosystems, KAIST Fall, 2004.
Discrete-Time and System (A Review)
University of Ioannina - Department of Computer Science Filtering in the Frequency Domain (Fundamentals) Digital Image Processing Christophoros Nikou
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.
Numerical Analysis – Digital Signal Processing Hanyang University Jong-Il Park.
CHAPTER 3 Discrete-Time Signals in the Transform-Domain
DISCRETE FOURIER TRANSFORM
CHAPTER 8 DSP Algorithm Implementation Wang Weilian School of Information Science and Technology Yunnan University.
Fourier Series Summary (From Salivahanan et al, 2002)
8.1 representation of periodic sequences:the discrete fourier series 8.2 the fourier transform of periodic signals 8.3 properties of the discrete fourier.
1 The Fourier Series for Discrete- Time Signals Suppose that we are given a periodic sequence with period N. The Fourier series representation for x[n]
Digital Signal Processing – Chapter 10
FFT USING OPEN-MP Done by: HUSSEIN SALIM QASIM & Tiba Zaki Abdulhameed
Decimation-in-frequency FFT algorithm The decimation-in-time FFT algorithms are all based on structuring the DFT computation by forming smaller and smaller.
Finite-Length Discrete Transform
The Discrete Fourier Transform 主講人:虞台文. Content Introduction Representation of Periodic Sequences – DFS (Discrete Fourier Series) Properties of DFS The.
Chapter 4 Fourier transform Prepared by Dr. Taha MAhdy.
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
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
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 3: Fourier domain 1.The Fourier domain 2.Discrete-Time Fourier Transform (DTFT) 3.Discrete.
7- 1 Chapter 7: Fourier Analysis Fourier analysis = Series + Transform ◎ Fourier Series -- A periodic (T) function f(x) can be written as the sum of sines.
Discrete-Time Signals and Systems
Digital Signal Processing
Linear filtering based on the DFT
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.
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
Fast Fourier Transforms. 2 Discrete Fourier Transform The DFT pair was given as Baseline for computational complexity: –Each DFT coefficient requires.
The Discrete Fourier Transform
EE345S Real-Time Digital Signal Processing Lab Fall 2006 Lecture 17 Fast Fourier Transform Prof. Brian L. Evans Dept. of Electrical and Computer Engineering.
Dr. Michael Nasief Digital Signal Processing Lec 7 1.
Husheng Li, UTK-EECS, Fall The specification of filter is usually given by the tolerance scheme.  Discrete Fourier Transform (DFT) has both discrete.
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 14 FFT-Radix-2 Decimation in Frequency And Radix -4 Algorithm University of Khartoum Department.
Chapter 9. Computation of Discrete Fourier Transform 9.1 Introduction 9.2 Decimation-in-Time Factorization 9.3 Decimation-in-Frequency Factorization 9.4.
Discrete Fourier Transform
بسم الله الرحمن الرحيم 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.)
 Carrier signal is strong and stable sinusoidal signal x(t) = A cos(  c t +  )  Carrier transports information (audio, video, text, ) across.
Chapter 4 Discrete-Time Signals and transform
DIGITAL SIGNAL PROCESSING ELECTRONICS
CE Digital Signal Processing Fall Discrete-time Fourier Transform
Fast Fourier Transforms Dr. Vinu Thomas
4.1 DFT In practice the Fourier components of data are obtained by digital computation rather than by analog processing. The analog values have to be.
Chapter 8 The Discrete Fourier Transform
Z TRANSFORM AND DFT Z Transform
Chapter 9 Computation of the Discrete Fourier Transform
Chapter 8 The Discrete Fourier Transform
Chapter 8 The Discrete Fourier Transform
Fast Fourier Transform (FFT) Algorithms
Fast Fourier Transform
Fourier Transforms of Discrete Signals By Dr. Varsha Shah
Presentation transcript:

Digital Signal Processing Chapter 3 Discrete transforms

2 2.1 Introduction Up to now, we have converted analog signals into discrete-time sequences. So now we can process these sequences by computers. But we cannot process the spectra, i.e., Fourier transforms, in digital way, because they are continuous. In order for that the signals can be processed by computers in the discrete-frequency domain, we should sample the continuous-frequency Fourier transforms, to obtain the discrete-frequency Fourier transforms.

3 3.2 Discrete Fourier transform Sampling X(z) at |z| =1, the discrete Fourier transform can be obtained.

4 3.2 Discrete Fourier transform The continuous-frequency Fourier transform X(e jω ) is sampled by an impulse train as follows This sampling process can be described as According to the convolution theorem, we get that

5 3.2 Discrete Fourier transform

6 This expression shows that, after sampling the continuous-frequency Fourier transform, the sequence becomes periodic. is a precise periodic shifted repetition of x(n).

7 3.2 Discrete Fourier transform For a finite length sequence, its Fourier transform can be represented by the samples in frequency. Only if the number of samples, N, of the Fourier transform in one period is larger than or equal to the length of the sequence, can represent x(n) utterly.

8 3.2 Discrete Fourier transform

9

Discrete Fourier transform The expression shows that a finite-length sequence can be obtained from the samples of its Fourier transform. This expression is referred to as the inverse discrete Fourier transform, IDFT for short.

Discrete Fourier transform

Discrete Fourier transform The Fourier transform X(e jω ), after sampled, is defined as the discrete Fourier transform,that is

Discrete Fourier transform

Discrete Fourier transform Usually, the simplified notation is used, that is

Discrete Fourier transform Furthermore, let we get the canonical form of discrete Fourier transforms, that is

Discrete Fourier transform a finite-length sequence with length N: x(n) a periodic sequence with period N: the Fourier transform of x(n): X(e jω ) the Fourier transform of : sampling FT IFT taking one period DFS taking one period a finite-length sequence with length N: x(n) taking one period DFT The discrete Fourier transform of x(n): X(k)

17 Example 1 Compute the DFT of the following sequence Solution

18 Example 1 (cont.) 0 6 0k |H(k)| 0 –π –π/2 π/2 π k arg[H(k)]

19 Example 2 Compute the DFT of the following sequence Solution

20 Example 3 Compute the DFT of the following sequence Solution

21 Comparison between Ex. 2 and Ex

22 Matrix notation of discrete Fourier transform

Properties of the DFT Linearity If x(n) = k 1 x 1 (n) + k 2 x 2 (n), then X(k) = k 1 X 1 (k) + k 2 X 2 (k) Note that the two sequences and two DFTs must have the same length.

Properties of the DFT Time-reversal If x(n) ↔ X(k), then x((– n) mod N) ↔ X ((–k) mod N) x(n)x(n) n x(– n)x(– n) n x((– n) mod N) n

Properties of the DFT Time-shift theorem Note that the sequence x(n+l) should be considered as a circular shift of x(n). x(n)x(n) n x((n–2) mod N) n

Properties of the DFT Circular frequency-shift theorem (modulation theorem) Note that the DFT X(k+l) should also be considered as a circular shift of X(k). From we get that

Properties of the DFT Circular convolution in time

Properties of the DFT Proof

29 Example 1 Compute the 6 point circular convolution. Solution

30 Example 1 (cont.) The 6 point circular convolution is Now, let’s see the linear convolution.

31 Example 1 (cont.) The 6 point circular convolution is and the linear convolution is Comparison between the circular and the linear. –Usually, two convolutions are different from each other; –The circular one is the periodic repetition of the linear one. –In a certain condition, two convolutions could be the same, that is, the period N is greater than or equal to the length of the linear convolution.

Properties of the DFT Circular correlation The DFT of the correlation in time between two sequences is such that Circular autocorrelation

Properties of the DFT Real and imaginary sequences –If x(n) is a real sequence, then Re[X(k)] = Re[X((–k) mod N)] Im[X(k)] = – Im[X((–k) mod N)] –If x(n) is an imaginary sequence, then Re[X(k)] = – Re[X((–k) mod N)] Im[X(k)] = Im[X((–k) mod N)] –If x(n) is a real or an imaginary sequence, then |X(k)| = |X((–k) mod N)| arg[X(k)] = – arg[X((–k) mod N)]

Properties of the DFT Symmetric and antisymmetric sequences –If x(n) = x * ((–n) mod N), it is a periodically conjugate symmetric sequence; –If x(n) = – x * ((–n) mod N), it is a periodically conjugate antisymmetric. Periodically conjugate symmetric and antisymmetric sequences have the following properties: –If x(n) is conjugate symmetric, X(k) is real; –If x(n) is conjugate antisymmetric, X(k) is imaginary;

Properties of the DFT Parseval’s theorem

Properties of the DFT Relation between the DFT and z transform –Sampling the z transform at, we can obtain the DFT. –The z transform can be obtained from the DFT.

Digital filtering using the DFT Linear and circular convolutions Assume that x(n) has duration L and h(n) has duration K. For the linear convolution, the duration of y(n) is L + K –1. If the convolution size N satisfies the condition N ≥ L + K –1 then the circular convolution is equivalent to the linear convolution.

Digital filtering using the DFT Overlap-and-add method … x(n)x(n) LLL h(n)h(n) K L+K–1 y(n)y(n) …

Digital filtering using the DFT Overlap-and-save method … x(n)x(n) h(n)h(n) L+K–1 y(n)y(n) … K L saved discarded K–1

Fast Fourier transform (FFT) Algorithm analysis of DFT When computing the DFT of an N-point sequence, we need about N 2 complex multiplications and N 2 complex additions. In early 1960s, Cooley and Tukey proposed the fast Fourier transform, which requires the order of Nlog 2 N.

Radix-2 decimation-in-time algorithm Separating x(n) into its even- and odd-numbered points, we obtain that or with n=2r for n even and n=2r+1 for n odd,

Radix-2 decimation-in-time algorithm If we note that for N even, then we have that An N-point DFT can be broken into two (N/2)-point computations.

Radix-2 decimation-in-time algorithm Algorithm analysis Computing this DFT, we need complex multiplications and complex additions.

Radix-2 decimation-in-time algorithm If N is equal to a power of 2, we can go on to break two (N/2)-point DFTs into four (N/4)-point DFTs. And repeat this procedure till the computation is reduced to N one point DFTs. For N=2 r, where r is an integer, the procedure of decomposition can be done at most r =log 2 N times.

Radix-2 decimation-in-time algorithm Algorithm analysis once more –When an N-point DFT is broken into two (N/2)-point DFTs, N 2 multiplications are decreased to 2(N/2) 2 +N multiplications; –When an (N/2)-point DFT is decomposed into two (N/4)-point DFTs, (N/2) 2 decreases to 2(N/4) 2 + N/2, so the overall computation needs 2[2(N/4) 2 + N/2]+N = 4(N/4) 2 +2N complex multiplications ; –After carrying out this procedure to the last, we actually accomplish the decompositions r =log 2 N times. At this time, the computation requires Nlog 2 N multiplications.

Radix-2 decimation-in-time algorithm x(0) x(2) x(4) x(6) x(1) x(3) x(5) x(7) X(1) X(2) X(3) X(4) X(5) X(6) X(7) 4-point DFT 4-point DFT X(0)

Radix-2 decimation-in-time algorithm x(0) x(6) x(2) x(4) x(1) x(5) x(3) x(7) X(1) X(2) X(3) X(4) X(5) X(6) X(7) X(0) 2-point DFT 2-point DFT 2-point DFT 2-point DFT

Radix-2 decimation-in-time algorithm x(0) x(6) x(2) x(4) x(1) x(5) x(3) x(7) X(1) X(2) X(3) X(4) X(5) X(6) X(7) X(0)

Radix-2 decimation-in-time algorithm Basic butterfly computation

Radix-2 decimation-in-time algorithm x(0) x(2) x(4) x(6) x(1) x(5) x(3) x(7) X(1) X(2) X(3) X(4) X(5) X(6) X(7) X(0)

Radix-2 decimation-in-time algorithm Several characteristics of decimation-in-time algorithm –In-place –Bit-reversed ordering

Decimation-in-frequency algorithm Dividing X(k) into smaller parts, we can get another class of FFT algorithms.

Decimation-in-frequency algorithm Now consider k even and k odd separately, that is

Decimation-in-frequency algorithm An N-point DFT X(k) can be divided into two (N/2)- point DFTs. Repeat this procedure till an N-point DFT X(k) is divided into N one-point DFTs.

Decimation-in-frequency algorithm X(2) X(4) X(6) X(1) X(3) X(5) X(7) X(0)x(0) x(1) x(2) x(3) x(4) x(5) x(6) x(7) 4-point DFT 4-point DFT

Decimation-in-frequency algorithm X(4) X(2) X(6) X(1) X(5) X(3) X(7) X(0)x(0) x(1) x(2) x(3) x(4) x(5) x(6) x(7) 2-point DFT 2-point DFT 2-point DFT 2-point DFT

Decimation-in-frequency algorithm X(4) X(2) X(6) X(1) X(5) X(3) X(7) X(0)x(0) x(1) x(2) x(3) x(4) x(5) x(6) x(7)

Radix-4 algorithm When N=4 l, we can divide an N-point DFT into four (N/4)-point DFTs.

Radix-4 algorithm

Algorithms for arbitrary values of N If N is not a power of 2 but a composite number, that is N = N 1 N 2 …N l = N 1 N 2l then we can initially divide an N-point DFT into N 1 DFTs with length N 2l. We can continue this decomposition, until the lengths of all DFTs are N l.

Other discrete transforms (skipped)

Signal representations Laplace transform –Time domain: nonperiodic function of a continuous and real time variable. –Frequency domain: nonperiodic function of a continuous and complex frequency variable. z transform –Time domain: nonperiodic function of a discrete and integer time variable. –Frequency domain: nonperiodic function of a continuous and complex frequency variable.

Signal representations Fourier transform of continuous signals –Time domain: nonperiodic function of a continuous and real time variable. –Frequency domain: nonperiodic function of a continuous and imaginary frequency variable. Fourier transform of discrete signals –Time domain: nonperiodic function of a discrete and integer time variable. –Frequency domain: periodic function of a continuous and imaginary frequency variable.

Signal representations Fourier series of periodic continuous signals –Time domain: periodic function of a continuous and real time variable. –Frequency domain: nonperiodic function of a discrete and integer frequency variable. Fourier series of periodic discrete signals (DFS) –Time domain: periodic function of a discrete and integer time variable. –Frequency domain: periodic function of a discrete and integer frequency variable.

Signal representations Discrete Fourier transform (DFT) –Time domain: finite-length function of a discrete and integer time variable. –Frequency domain: finite-length function of a discrete and integer frequency variable. Fast Fourier transform (FFT) –FFT is no transform –FFT is a kind of fast algorithm of DFT

66 Exercises 3.3 (d) (b)(c) 3.17