Presentation is loading. Please wait.

Presentation is loading. Please wait.

12016-6-21Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.

Similar presentations


Presentation on theme: "12016-6-21Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control."— Presentation transcript:

1 12016-6-21Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control Science and Engineering, Shandong University Biomedical Signal processing

2 2 Chapter 8 The Discrete Fourier Transform  8.0 Introduction  8.1 Representation of Periodic Sequence: the Discrete Fourier Series  8.2 Properties of the Discrete Fourier Series  8.3 The Fourier Transform of Periodic Signal  8.4 Sampling the Fourier Transform  8.5 Fourier Representation of Finite-Duration Sequence: the Discrete Fourier Transform  8.6 Properties of the Discrete Fourier Transform  8.7 Linear Convolution using the Discrete Fourier Transform

3 3 Filter Design Techniques 8.0 Introduction

4 4  Discrete Fourier Transform (DFT) for finite duration sequence  DFT is a sequence rather than a function of a continuous variable  DFT corresponds to sample, equally spaced in frequency, of the Fourier transform of the signal.

5 5 8.0 Introduction  The relationship between periodic sequence and finite-length sequences :  The Fourier series representation of the periodic sequence corresponds to the DFT of the finite-length sequence.

6 6  Fourier series representation of continuous-time periodic signals require infinite many complex exponentials  Not that for discrete-time periodic signals we have 8.1 Representation of Periodic Sequence: the Discrete Fourier Series  Given a periodic sequence with period N so that  The Fourier series representation can be written as

7 7 8.1 Representation of Periodic Sequence: the Discrete Fourier Series  Due to the periodicity of the complex exponential we only need N exponentials for discrete time Fourier series  No need

8 8 Discrete Fourier Series Pair  A periodic sequence in terms of Fourier series coefficients  To obtain the Fourier series coefficients we multiply both sides by for 0  n  N-1 and then sum both the sides, we obtain

9 9 Discrete Fourier Series Pair Problem 8.51, HW

10 10 8.1 Representation of Periodic Sequence: the Discrete Fourier Series  a periodic sequence with period N,  The Fourier series coefficients of is

11 11 8.1 Representation of Periodic Sequence: the Discrete Fourier Series  The sequence is periodic with period N

12 12 Discrete Fourier Series (DFS)  Let  Analysis equation:  Synthesis equation:

13 13 Ex. 8.1 DFS of a impulse train  Consider the periodic impulse train n 01 2 …… N-1NN+1N+2 …… -2 …… -N+1-N N points

14 14 Ex. 8.1 DFS of a impulse train 01 2 …… N-1NN+1N+2 …… -2 …… -N+1-N N points k

15 15 k 01 2 …… N-1NN+1N+2 …… -2 …… -N+1-N N points 1 n 01 2 …… N-1NN+1N+2 …… -2 …… -N+1-N N points 1

16 16 Example 8.2 Duality in the Discrete Fourier Series  The discrete Fourier series coefficients is the periodic impulse train      1 0 ~ ~ N n kn N WnxkX 0 12 … N … -2 … -N N points N

17 17 k n 01 2 …… N-1NN+1N+2 …… -2 …… -N+1-N N points N 01 2 …… N-1NN+1N+2 …… -2 …… -N+1-N N points 1

18 18 k 01 2 …… N-1NN+1N+2 …… -2 …… -N+1-N N points 1 n 01 2 …… N-1NN+1N+2 …… -2 …… -N+1-N N points 1 01 2 …… N-1NN+1N+2 …… -2 …… -N+1-N N points N 01 2 …… N-1NN+1N+2 …… -2 …… -N+1-N N points 1

19 19 Example 8.3 The Discrete Fourier Series of a Periodic Rectangular Pulse Train  Periodic sequence with period N=10 1

20 20 magnitude phase

21 21 magnitude phase

22 22 8.2 Properties of the Discrete Fourier Series  Linearity: two periodic sequence, both with period N

23 23 8.2 Properties of the Discrete Fourier Series  Shift of a sequence Problem 8.52, HW

24 24 8.2 Properties of the Discrete Fourier Series  Duality 01 2 …… N-1 n 1 01 2 …… N-1 k 1 1 01 2 …… N-1 n 01 2 …… N-1 k N

25 25 8.2.4 Symmetry Problem 8.53, HW

26 26 8.2.5 Periodic Convolution  and are two periodic sequences, each with period N and with discrete Fourier series and

27 27 8.2.5 Periodic Convolution  The sum is over the finite interval  The value of in the interval repeat periodically for m outside of that interval

28 28 Example 8.4 Periodic Convolution

29 29 8.2.5 Periodic Convolution

30 30 8.1 Representation of Periodic Sequence: the Discrete Fourier Series  a periodic sequence with period N,  The Fourier series coefficients of is Review

31 31 Discrete Fourier Series (DFS)  Let  Analysis equation:  Synthesis equation:

32 32 8.2 Properties of the Discrete Fourier Series  Shift of a sequence

33 33 8.2 Properties of the Discrete Fourier Series  Duality 01 2 …… N-1 n 1 01 2 …… N-1 k 1 1 01 2 …… N-1 n 01 2 …… N-1 k N

34 34 8.2.5 Periodic Convolution

35 35 Example 8.4 Periodic Convolution

36 36 8.3 The Fourier Transform of Periodic Signal  Periodic sequences are neither absolutely summable nor square summable, hence they don ’ t have a strict Fourier Transform

37 37 8.3 The Fourier Transform of Periodic Signal  We can represent Periodic sequences as sums of complex exponentials: DFS  We can combine DFS and Fourier transform  Fourier transform of periodic sequences  Periodic impulse train with values proportional to DFS coefficients

38 38 8.3 The Fourier Transform of Periodic Signal This is periodic with 2  since DFS is periodic  The inverse transform can be written as

39 39  Consider the periodic impulse train Ex. 8.5 Fourier Transform of a periodic impulse train 0 12 … N … -2 … -N N points 1  Therefore the Fourier transform is  The DFS was calculated previously to be N points n 01 2 … N-1N … -2 … -N 1

40 40 Relation between Finite-length and Periodic Signals  Consider finite length signal x[n] spanning from 0 to N-1  Convolve with periodic impulse train  The Fourier transform of the periodic sequence is 0 12 N … -2-2 … -N 1

41 41 Relation between Finite-length and Periodic Signals  This implies that  DFS coefficients of a periodic signal can be thought as equally spaced samples of the Fourier transform of one period

42 42 Relation between Finite-length and Periodic Signals  If is periodic with period N, the DFS are  If for and otherwise then

43 43 Ex. 8.5 Relation between FS coefficients and FT  Consider the sequence  The Fourier transform

44 44  Consider the sequence  The DFS coefficients  The Fourier transform Ex. 8.5 Relation between FS coefficients and FT

45 45  Consider the sequence  The DFS coefficients  The Fourier transform Ex. 8.5 Relation between FS coefficients and FT

46 46 8.4 Sampling the Fourier Transform  Consider an aperiodic sequence with Fourier transform,and assume that a sequence is obtained by sampling at frequency  is Fourier series coefficients of periodic sequence

47 47 Sampling the Fourier Transform

48 48 Sampling the Fourier Transform 0 12 … N … -2 … -N N points 1

49 49 Sampling the Fourier Transform

50 50  Samples of the DTFT of an aperiodic sequence  can be thought of as DFS coefficients  of a periodic sequence  obtained through summing periodic replicas of original sequence  If the original sequence is of finite length,  and we take sufficient number of samples of its DTFT,  then the original sequence can be recovered by Sampling the Fourier Transform

51 51 Sampling the Fourier Transform  It is not necessary to know the DTFT at all frequencies  To recover the discrete-time sequence in time domain  Discrete Fourier Transform is used in  Representing a finite length sequence by samples of DTFT

52 52 8.5 Fourier Representation of Finite-Duration Sequence: Discrete Fourier Transform  Consider a finite-length sequence of length N samples such that outside the range  To each finite-length sequence of length N, we can associate a period sequence

53 53 Discrete Fourier Transform  For, the DFS is with period N  The Discrete Fourier Transform of is

54 54 Discrete Fourier Transform

55 55 Discrete Fourier Transform pairs  Analysis equation  Synthesis equation

56 56 Discrete Fourier Transform TimeFrequency Fourier transform (FT) continuous Fourier series (FS)continuous periodic Continuous impulse train Discrete-time Fourier transform (DTFT) discretecontinuous periodic Discrete Fourier series (DFS) discrete periodic continuous impulse train, periodic Discrete Fourier transform (DFT) discrete

57 57 四种傅立叶变换

58 58 Ex. 8.7 The DFT of a Rectangular Pulse  x[n] is of length 5  We can consider x[n] of any length greater than 5  Let ’ s pick N=5  Calculate the DFS of the periodic form of x[n]

59 59 Ex. 8.7 The DFT of a Rectangular Pulse  If we consider x[n] of length 10  We get a different set of DFT coefficients  Still samples of the DTFT but in different places

60 60 Review Relation of DTFT,DFS, DFT DTFT N sampling DFS DFT DFS  Let

61 61 Discrete Fourier Transform

62 62 Review Relation of DTFT,DFS, DFT DTFT N sampling DFS DFT DFS

63 63 Sampling of DTFT of Linear Convolution  Consider of length L and of length P Linear Convolution  The inverse DFT of is :

64 64 8.6 Properties of the Discrete Fourier Transform  If has length and has length, 8.6.1 Linearity

65 65 8.6.2 Circular Shift of a Sequence

66 66 Figure 8.12 circular shift Ex. 8.8 Circular Shift of a Sequence

67 67 8.6.2 Circular Shift of a Sequence

68 68 8.6.2 Circular Shift of a Sequence

69 69 8.6.2 Circular Shift of a Sequence

70 70 8.6.3 Duality

71 71 Ex.8.9 The Duality Relationship for the DFT

72 72 8.6.4 Symmetry Properties

73 73 8.6.4 Symmetry Properties

74 74 8.6.4 Symmetry Properties

75 75 8.6.4 Symmetry Properties

76 76 8.6.4 Symmetry Properties

77 77 8.6.4 习题答案修正  Problem 8.56 的证明上式中应该没有 一 项,并且该式后面加上限制 0 ≦ n ≦ N-1 ,也正因为 0 ≦ n ≦ N-1 ,所以在下式中, 也应该没有此项 。其他涉及此项的也该去除,因为 0 ≦ n ≦ N-1

78 78 8.6.5 Circular Convolution  For two finite-duration sequences and, both of length N, with DFTs and

79 79 8.6.5 Circular Convolution

80 80 8.6.5 Circular Convolution

81 81 Ex. 8.10 Circular Convolution with a Delayed Impulse Sequence

82 82 Ex. 8.10 Circular Convolution with a Delayed Impulse Sequence

83 83 Example 8.11 Circular Convolution of Two Rectangular Pulses

84 84 Ex. 8.11 Circular Convolution of Two Rectangular Pulses

85 85 8.6.6 Summary of Properties of the Discrete Fourier Transform

86 86 8.6.6 Summary of Properties of the Discrete Fourier Transform

87 87 8.7 Linear Convolution using the Discrete Fourier Transform  1. Compute the N-point DFT and of the two sequence and  2. Compute for  3. Compute as the inverse DFT of  Implement a convolution of two sequences by the following procedure:

88 88 8.7 Linear Convolution using the Discrete Fourier Transform  In most applications, we are interested in implementing a linear convolution of two sequence.  To obtain a linear convolution, we will discuss the relationship between linear convolution and circular convolution.

89 89 8.7.1 Linear Convolution of Two Finite-Length Sequences  for  is maximum length of length LP

90 90 8.7.2 Circular Convolution as Linear Convolution with Aliasing and linear convolution  circular convolution corresponding to DFTs:, Whether they are same?  depends on the length of the DFT in relation to the length of and

91 91 8.7 Linear Convolution using the Discrete Fourier Transform  1. Compute the N-point DFT and of the two sequence and  2. Compute for  3. Compute as the inverse DFT of  Implement a convolution of two sequences by the following procedure: Review

92 92 8.7.2 Circular Convolution as Linear Convolution with Aliasing  For finite sequence  The inverse DFT of is one period of :  If N ≧ length of x[n], then x p [n]= x[n]

93 93 8.7.2 Circular Convolution as Linear Convolution with Aliasing  The Fourier transform of is  Linear convolution:  Define a DFT  The inverse DFT of is :

94 94 8.7.2 Circular Convolution as Linear Convolution with Aliasing  And  From  The circular convolution of two-finite sequences is equivalent to linear convolution of the two sequences, followed by time aliasing as above.  Linear convolution:

95 95 8.7.2 Circular Convolution as Linear Convolution with Aliasing  if N, the length of the DFTs, satisfies  If has length L and has length P, then has maximum length  The circular convolution corresponding to is identical to the linear convolution corresponding to DFT DTFT

96 96 linear convolution 6 points shift right of the linear convolution 6 points shift left of the linear convolution 6 points circular convolution= linear convolution with aliasing 12 points circular convolution = linear convolution Ex. 8.12 Circular Convolution as Linear Convolution with Aliasing. N=6 N=12

97 97 Which points of Circular Convolution equal that of Linear Convolution when Aliasing?  Consider of length L and of length P, where P < L Linear Convolution Circular Convolution Fig.8.19 Fig.8.20

98 98

99 99 8.7.3 Implementing Linear Time- Invariant Systems Using the DFT  Linear time-invariant systems can be implemented by linear convolution.  Linear convolution can be obtained from the circular convolution.  So, circular convolution can be used to implement linear time-invariant systems.

100 100 Zero-Pading  Consider an L-point input sequence and a P-point impulse response  The linear convolution of these two sequence has finite duration with length (L+P-1)  For the circular convolution and linear convolution to be identical, the circular convolution must have a length of at least (L+P-1) points.

101 101 Zero-Pading  The circular convolution can be achieved by multiplying the DFTs of and.  Since the length of the linear convolution is (L+P-1) points, the DFTs that we compute must also be of at least that length, i.e., both and must augmented with sequence values of zero.  The process is called Zero-Pading

102 102  Each section can be convolved with the finite-length impulse response and the output sections fitted together in an appropriate way. Block Convolution  If the input signal is of indefinite duration, the input signal to be processed is segmented into sections of length L.  The processing of each section can then be implemented using the DFT.

103 103 Block Convolution overlap-add method (1) segment into sections of length L; (2) fill 0 into and some section of, then do L+P-1 points FFT ; (3) calculate

104 104 P-1 points (4)add the points n=0…P-2 in y[n] to the last P-1 points in the former section y[n] , the output for this section is the points n=0…L-1 (3) calculate (1) segment into sections of length L; (2) fill 0 into and some section of, then do L+P-1 points FFT overlap-add method L=16

105 105 8.7.2 Circular Convolution as Linear Convolution with Aliasing

106 106 overlap-save method P-1 points (4) the output for this section is L-P+1 points of y[n] n=P-1,…L-1 (1) segment into sections of length L, overlap P-1 points; (2) fill 0 into and some section of, then do L points FFT (3) calculate L=25

107 107 2016-6-2 107 Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 HW  8.3, 8.4, 8.7, 8.10, 8.51, 8.52, 8.53, 上一页下一页 返 回


Download ppt "12016-6-21Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control."

Similar presentations


Ads by Google