Digital Signal Processing ECE-307. Tarun Gulati Assoc. Prof., ECE Deptt. MMEC, MMU, Mullana

Size: px
Start display at page:

Download "Digital Signal Processing ECE-307. Tarun Gulati Assoc. Prof., ECE Deptt. MMEC, MMU, Mullana"

Transcription

1 Digital Signal Processing ECE-307 Tarun Gulati Assoc. Prof., ECE Deptt. MMEC, MMU, Mullana

2 The z-transform: Introduction

3 Definition of the z-transform Definition:The z-transform of a discrete-time signal x(n) is defined by where z = re jw is a complex variable. The values of z for which the sum converges define a region in the z-plane referred to as the region of convergence (ROC). Notationally, if x(n) has a z-transform X(z), we write The z-transform may be viewed as the DTFT or an exponentially weighted sequence. Specifically, note that with z = re jw, X(z) can be looked as the DTFT of the sequence r --n x(n) and ROC is determined by the range of values of r of the following right inequation.

4 Complex z-plane z = Re(z)+jIm(z) = re jw Zeros and poles of X(z) ROC & z-plane Many signals have z-transforms that are rational function of z: Factorizing it will give: The roots of the numerator polynomial, β k, are referred to as the zeros (o) and α k are referred to as poles (x). ROC of X(z) will not contain poles.

5 ROC properties ROC is an annulus or disc in the z-plane centred at the origin. i.e. A finite-length sequence has a z-transform with a region of convergence that includes the entire z-plane except, possibly, z = 0 and z =. The point z = will be included if x(n) = 0 for n < 0, and the point z = 0 will be included if x(n) = 0 for n > 0. A right-sided sequence has a z-transform with a region of convergence that is the exterior of a circle: ROC: z >α A left-sided sequence has a z-transform with a region of convergence that is the interior of a circle: ROC: z <β The Fourier Transform of x(n) converges absolutely if and only if ROC of z-transform includes the unit circle

6

7

8

9

10

11

12 Properties of Z-Transform Linearity If x(n) has a z-transform X(z) with a region of convergence Rx, and if y(n) has a z-transform Y(z) with a region of convergence Ry, and the ROC of W(z) will include the intersection of Rx and Ry, that is, Rw contains. Shifting property If x(n) has a z-transform X(z), Time reversal nw )( nax )( nby )( Z zwax )( zby )( z )( R x R y Z n 0 xnn ( ) zx() 0 z If x(n) has a z-transform X(z) with a region of convergence Rx that is the annulus z, the z-transform of the timereversed sequence x(-n) is xn ( ) X( z) and has a region of convergence z, which is denoted Z by Rx

13 Properties of Z-Transform Multiplication by an exponential If a sequence x(n) is multiplied by a complex exponential α n. Convolution theorm If x(n) has a z-transform X(z) with a region of convergence R x, and if h(n) has a z-transform H(z) with a region of convergence R h, The ROC of Y(z) will include the intersection of R x and R h, that is, R y contains R x R h. With x(n), y(n), and h(n) denoting the input, output, and unit-sample response, respectively, and X(z), Y(x), and H(z) their z-transforms. The z-transform of the unit-sample response is often referred to as the system function. Conjugation If X(z) is the z-transform of x(n), the z-transform of the complex conjugate of x(n) is n x Z () n X( z) ny )( nx )( nh )( Z zy )( )( zhzx x() n Z X( z) )(

14 Properties of Z-Transform Derivative If X(z) is the z-transform of x(n), the z- transform of is dx ( z) nx ( n) Z z dz Initial value theorem If X(z) is the z-transform of x(n) and x(n) is equal to zero for n<0, the initial value, x(0), maybe be found from X(z) as follows: x( )0 lim() Xz z

15 DFT algorithm. Conversion of DFT to FFT algorithm. Implementation of the FFT algorithm.

16 DFT Algorithm The Fourier transform of an analogue signal x(t) is given by: X xte j t dt The Discrete Fourier Transform (DFT) of a discrete-time signal x(nt) is given by: N 2 j nk N Xk xne n 0 Where: k0,, N xntxn

17 DFT Algorithm j N If we let: N 2 then : e W Xk N n 0 xnw N nk 2 Sampled signal Amplitude Sample Frequency Domain 0.8 Magnitude Normalised Frequency

18 DFT Algorithm Xk N n 0 xnw N nk x[n] = input X[k] = frequency bins W = twiddle factors X(0) X() X(k) X(N) = x[0]w N0 + x[]w 0* N + + x[n]w 0*(N) N = x[0]w N0 + x[]w * N + + x[n]w *(N) N : = x[0]w N0 + x[]w k* N + + x[n]w k*(n) N : = x[0]w N0 + x[]w (N)* N + + x[n]w (N)(N) N Note: For N samples of x we have N frequencies representing the signal.

19 Performance of the DFT Algorithm The DFT requires N 2 (NxN) complex multiplications: Each X(k) requires N complex multiplications. Therefore to evaluate all the values of the DFT ( X(0) to X(N) ) N 2 multiplications are required. The DFT also requires (N)*N complex additions: Each X(k) requires N additions. Therefore to evaluate all the values of the DFT (N)*N additions are required.

20 Performance of the DFT Algorithm Number of Multiplications Number of Additions Number of Samples Number of Samples Can the number of computations required be reduced?

21 DFT FFT A large amount of work has been devoted to reducing the computation time of a DFT. This has led to efficient algorithms which are known as the Fast Fourier Transform (FFT) algorithms.

22 DFT FFT x[n] = x[0], x[],, x[n] Lets divide the sequence x[n] into even and odd sequences: x[2n] x[2n+] = x[0], x[2],, x[n-2] = x[], x[3],, x[n]

23 DFT FFT Equation can be rewritten as: Since: N 2 kx 2 N 2 2 2nk xwn N xn n 0 n 0 W 2 nk N [2] W 2nk N e 2 j 2nk N W nk N 2 e 2 j nk N2 W 2 n k k nk N W W N N 2 Then: nk k x 2Wn 2 Xk N 2 N n 0 2 k N k YkWZ N 2 nk N N n 0 2 W xn W

24 Or: N Xk 2 N 2 nk k xnw W Xk DFT FFT Periodicity and symmetry of W can be exploited to simplify the DFT further: N n 0 2 N 2 n 0 xnw N nk 2 N 2 N 2 nk N xnw 2 N n 0 2 W N N2 k N 2 n 0 2 xnw N 2 2N 2 2 k j kj j k j k 2 NN2 N j N Nee ee e W N nk 2 N 2 : Symmetry W k N [3] And: N k 2 N 2 We 2 2N j kj N2 N22 e 2 j k N2 e W k N 2 : Periodicity

25 DFT FFT Symmetry and periodicity: W 8 6 W 8 4 W 8 5 W 8 3 W 8 7 W 8 0 = W 8 8 W 8 = W 8 9 W k+n/2 N = - W k N W k+n/2 N/2 = W k N/2 W k+4 8 = - W k 8 W k+8 8 = W k 8 W 8 2

26 DFT FFT Finally by exploiting the symmetry and periodicity, Equation 3 can be written as: N Xk 2 N 2 nk xwn N n 0 2 k k YkWZ N N 2 nk N 2 N n 0 2 k WxWn [4]

27 DFT FFT k N Xk YkWZkk N;,0 2 N k N Xk YkWZkk N;,0 2 2 Y(k) and W N k Z(k) only need to be calculated once and used for both equations. Note: the calculation is reduced from 0 to N to 0 to (N/2 - ).

28 DFT FFT k N Xk YkWZkk N;,0 2 N k N Xk YkWZkk N;,0 2 2 Y(k) and Z(k) can also be divided into N/4 point DFTs using the same process shown above: k k Uk WVk Zk Pk WQk N Yk N 2 N k Yk Uk WVk N N k Zk Pk WQk N 4 2 The process continues until we reach 2 point DFTs.

29 DFT FFT x[0] x[2] x[4] N/2 point DFT y[0] y[] y[2] X[0] = y[0]+ z[0] X[] = y[]+w z[] x[n-2] y[n-2] x[] x[3] x[5] N/2 point DFT z[0] z[] z[2] W X[N/2] = y[0]- z[0] X[N/2+] = y[]-w z[] x[n] z[n/2] Illustration of the first decimation in time FFT.

30 FFT Implementation Calculation of the output of a butterfly : Y(k) = U r +ju i U =U r +ju i = X(k) W Nk Z(k) = (L r +jl i )(W r +jw i ) L =L r +jl i = X(k+N/2) Key: U = Upper r = real L = Lower i = imaginary Different methods are available for calculating the outputs U and L. The best method is the one with the least number of multiplications and additions.

31 FFT Implementation Calculation of the output of a butterfly : U r +ju i U =U r +ju i (L r +jl i )(W r +jw i ) L =L r +jl i L jl WjW WLjL WjL WLW r i U r i rr ri ir ii rr ii WLWL ri ir WLWLj r i rr ii UWLWL r ri ir UWLWLj i UjU r i rr ii ri ir WLWLj UWL r rr ii WL Uj i ri i WLWL r LUjUWL WL

32 FFT Implementation Calculation of the output of a butterfly : U r +ju i U =U r +ju i = (L r W r - L i W i + U r )+j(l r W i + L i W r + U i ) (L r +jl i )(W r +jw i ) L =L r +jl i = (U r - L r W r + L i W i )+j(u i - L r W i - L i W r ) To further minimise the number of operations (* and +), the following are calculated only once: temp = L r W r temp2 = L i W i temp3 = L r W i temp4 = L i W r temp_2 = temp - temp2 temp3_4 = temp3 + temp4 U r = temp - temp2 + U r = temp_2 + U r U i = temp3 + temp4 + U i = temp3_4 + U i L r = U r - temp + temp2 = U r - temp_2 L i = U i - temp3 - temp4 = U i - temp3_4

33 FFT Implementation To efficiently implement the FFT algorithm a few observations are made: Each stage has the same number of butterflies (number of butterflies = N/2, N is number of points). The number of DFT groups per stage is equal to (N/2 stage ). The difference between the upper and lower leg is equal to 2 stage. The number of butterflies in the group is equal to 2 stage.

34 FFT Implementation Example: 8 point FFT W 2 W W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

35 FFT Implementation Example: 8 point FFT () Number of stages: W 2 W W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

36 Stage FFT Implementation Example: 8 point FFT () Number of stages: N stages = W 2 W W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

37 Stage FFT Implementation Stage 2 Example: 8 point FFT () Number of stages: N stages = 2 W 2 W W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

38 Stage FFT Implementation Stage 2 Stage 3 Example: 8 point FFT () Number of stages: N stages = 3 W 2 W W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

39 Stage FFT Implementation Stage 2 Stage 3 W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : W W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

40 lock Stage FFT Implementation Stage 2 Stage 3 W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = W W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

41 lock lock 2 Stage FFT Implementation Stage 2 Stage 3 W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 2 W W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

42 lock lock 2 Stage FFT Implementation Stage 2 Stage 3 W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 3 lock 3 W W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

43 lock lock 2 Stage FFT Implementation Stage 2 Stage 3 W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 4 lock 3 W lock 4 W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

44 lock Stage FFT Implementation Stage 2 Stage 3 W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 4 Stage 2: N blocks = W W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

45 lock Stage FFT Implementation Stage 2 Stage 3 W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 4 Stage 2: N blocks = 2 lock 2 W W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

46 lock Stage FFT Implementation Stage 2 Stage 3 W 2 W Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 4 Stage 2: N blocks = 2 Stage 3: N blocks = W 2 W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

47 Stage FFT Implementation Stage 2 Stage 3 W 2 W W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 4 Stage 2: N blocks = 2 Stage 3: N blocks = (3) B flies/block: Stage : W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

48 Stage FFT Implementation Stage 2 Stage 3 W 2 W W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 4 Stage 2: N blocks = 2 Stage 3: N blocks = (3) B flies/block: Stage : N btf = W 2 W 3 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

49 Stage FFT Implementation Stage 2 Stage 3 W 2 W W 2 W 2 W 3 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 4 Stage 2: N blocks = 2 Stage 3: N blocks = (3) B flies/block: Stage : N btf = Stage 2: N btf = Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

50 Stage FFT Implementation Stage 2 Stage 3 W 2 W W 2 W 2 W 3 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 4 Stage 2: N blocks = 2 Stage 3: N blocks = (3) B flies/block: Stage : N btf = Stage 2: N btf = 2 Decimation in time FFT: Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

51 Stage FFT Implementation Stage 2 Stage 3 W 2 W W 2 W 3 Decimation in time FFT: W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 4 Stage 2: N blocks = 2 Stage 3: N blocks = (3) B flies/block: Stage : N btf = Stage 2: N btf = 2 Stage 3: N btf = Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

52 Stage FFT Implementation Stage 2 Stage 3 W 2 W W 2 W 3 Decimation in time FFT: W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 4 Stage 2: N blocks = 2 Stage 3: N blocks = (3) B flies/block: Stage : N btf = Stage 2: N btf = 2 Stage 3: N btf = 2 Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

53 Stage FFT Implementation Stage 2 Stage 3 W 2 W W 2 W 3 Decimation in time FFT: W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 4 Stage 2: N blocks = 2 Stage 3: N blocks = (3) B flies/block: Stage : N btf = Stage 2: N btf = 2 Stage 3: N btf = 3 Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

54 Stage FFT Implementation Stage 2 Stage 3 W 2 W W 2 W 3 Decimation in time FFT: W 2 Example: 8 point FFT () Number of stages: N stages = 3 (2) Blocks/stage: Stage : N blocks = 4 Stage 2: N blocks = 2 Stage 3: N blocks = (3) B flies/block: Stage : N btf = Stage 2: N btf = 2 Stage 3: N btf = 4 Number of stages = log 2 N Number of blocks/stage = N/2 stage Number of butterflies/block = 2 stage

55 FFT Implementation Stage Stage 2 Stage 3 W 2 W W 2 W 2 W 3 Start Index Input Index 2 4 Twiddle Factor Index N/2 = 4

56 FFT Implementation Stage Stage 2 Stage 3 W 2 W W 2 W 2 W 3 Start Index Input Index 2 4 Twiddle Factor Index N/2 = 4 4/2 = 2

57 FFT Implementation Stage Stage 2 Stage 3 W 2 W W 2 W 2 W 3 Start Index Input Index 2 4 Twiddle Factor Index N/2 = 4 4/2 = 2 2/2 =

58 FFT Implementation Stage Stage 2 Stage 3 W 2 W W 2 W 2 W 3 Start Index 0 Input Index Twiddle Factor Index N/2 = 4 4/2 = 2 2/2 = Indicies Used W 2 W W 2 W 3

59 Structures for Discrete-Time Systems

60 Example Block diagram representation of nyanya2 nxb ny 2 0

61 Block Diagram Representation LTI systems with rational system function can be represented as constant-coefficient difference equation The implementation of difference equations requires delayed values of the input output

62 Direct Form I General form of difference equation N M k nyâ k k nxbˆ k k0 k0 N M ny knyak knxb k 0k Alternative equivalent form k

63 Direct Form I Transfer function can be M written as k bz k Hz k0 N k az k k Hz Direct Form I Represents k HzXz b z Xz Vz H zh z 2 M k0 k N k az k k M k0 b z k k M bxn k k vn N ayn k k v n yn k0 k

64 Alternative Representation Replace order of cascade LTI systems Hz H zxz Xz Wz k HzWz b z Wz Yz H zh z 2 2 M k0 M k0 b z k N k k k az k k N k az k k N awn k k xn wn k M bwn k k yn k0

65 Alternative Block Diagram We can change the order of the cascade systems N awn k k xn wn k M bwn k k yn k0

66 Direct Form II No need to store the same data twice in previous system So we can collapse the delay elements into one chain This is called Direct Form II or the Canonical Form Theoretically no difference between Direct Form I and II

67 Signal Flow Graph Example representation of a difference Representation Similar to block diagram representation Notational differences A network of directed branches connected at nodes

68 Example Representation of Direct Form II with signal flow graphs w n awn 4 xn w n bw 0 2n bw 4n w2 n wn w n 2 w n 3 w n 4 yn 3 nwaw nnx ny nwb nwb 0

69 Determination of System Function from Flow Graph w n w n w4 n xn w n w2 n xn w3 n w n w n w n 2 3 w n 4 yn 2 4 W z W z 2 W z 3 W z 4 W4 z Xz W z W2 z Xz W3 zz Wz Wz Yz 2 4 W z 2 W z 4 Wz Wz Yz Xz z z Xzz z 2 4 Yz z zh Xz z n n nh nu nu

70 Basic Structures for IIR Systems: Direct Form I

71 Basic Structures for IIR Systems: Direct Form II

72 Basic Structures for IIR Systems: Cascade Form General form Mfor cascade implementation M2 fz k zg k zg k zha k N N2 zc zd zd k k k k k0 zh M k More practical form in 2 nd order systems k b zb bz za az k k k 2 k2 2 k2

73 Example 2 z2z zz 2 25 z z z z5.0.0z25 zh.0z75.0 z5.0.0z25 Cascade of Direct Form I subsections Cascade of Direct Form II subsections

74 Basic Structures for IIR Systems: Parallel Form Represent system function using partial NP fraction expansion N P NP k Ak kkzeb zhzc k 0k k zc k zdzd k k k N P k k zh zc S 0k N k eze k0 k 2 k za k2 za Or by pairing the real poles

75 Example Partial Fraction Expansion zh.0z75 2 z2z 8.0z z5.0 z2.0 7z8.0z75 25 z zh 8 2 Combine poles to get

76 Transposed Forms Linear signal flow graph property: Transposing doesn t change the input-output relation Transposing: Reverse directions H z of all branches az Interchange input and output nodes Example: Reverse directions of branches and interchange

77 Example Transpose 2nxbnxbnxb2nyanyany Both have the same system function or difference equation

78 Basic Structures for FIR Systems: Direct Form Special cases of IIR direct form structures Transpose of direct form I gives direct form II Both forms are equal for FIR systems

79 Basic Structures for FIR Systems: Cascade Form M M n 2 zh znh S bzb k0 k k2 zb 0n k Obtained by factoring the polynomial system function

80 Structures for Linear-Phase FIR Systems Structure for even M Structure for odd M

81 IIR Filters

82 The general form for z-transform transfer functions for a digital filter is m b0 zb bz m zh ). n a za za ( 0 n The inverse of this z-transform transfer function h[n] is the impulse response for this digital filter.

83 As an example if Hz) z (. we have baabb 0, 0,, 2a,0 a2 3.0

84 The inverse z-transform of this transfer function (the impulse response) is n hn [] ( ) u[]. n h[n] n

85 This impulse response function goes on forever. That is, the impulse response is infinite in duration. Such filters are referred to as infinite impulse response or IIR filters.

86 Another example would be Hz ( ) z. The corresponding impulse response is h[ n] [] n [ n ].

87 h[n] n This impulse response is finite in duration. Such filters are referred to as finite impulse response or FIR filters.

88 Given a transfer function, how do we know whether this transfer function corresponds to an impulse response that is infinite or finite in duration? In our previous two examples we had Hz) z (. (IIR) Hz ( ) z. (FIR)

89 In general, any filter whose transfer function has a denominator (that does not factor-out) will have an impulse response that is infinite in duration corresponding to an IIR filter. Any filter whose transfer function does not have a denominator will have an impulse response that is finite in duration corresponding to an FIR filter.

90 The distinction between IIR filter transfer functions and FIR filter transfer functions becomes more clear if we look at the corresponding difference equations. In our examples the corresponding difference equations are y[ n] yn [ ] x []. n yn [] xn [] x [ n ]. (IIR) (FIR)

91 The IIR filter difference equation is recursive in nature: the current output depends upon the previous output y[ n] yn [ ] x []. n Since the current output depends upon the previous output and the previous output depends upon its previous output, the output depends upon the infinite past.

92 The FIR filter difference equation is depends only upon the input yn [] xn [] x [ n ]. If the input is finite in duration (such as an impulse) then the output is finite in duration. The output depends upon the finite past.

93 The difference between IIR and FIR filters can also be seen by looking at the transfer functions and noting that the IIR transfer function can be expanded using a geometric series that is infinite: 2 3 () zh zz z. z The FIR filter is already in a finite series form. Hz ( ) z.

94 Most analog filters have an impulse response which is infinite in duration. IIR filters are generally designed by emulating an analog prototype filter. There are two methods for doing this analog filter emulation: () the matched z-transform or impulse invariant transform (2) the bilinear transformation. In both cases, we are given an analog transfer function H(s), and we transform this function into a digital transfer function H(z).

95 The Matched z-transform In the matched z-transform digital filter design method we try to match the impulse response of the analog filter with that of the digital filter being designed. To match the impulse responses, we take the inverse Laplace transform of the analog filter H(s)h(t), then sample the impulse response h(t)h[n], then take the z-transform of the sampled impulse response to get the z-transform transfer function h[n]h(z).

96 Analog Prototype L H (s) Digital Filter H (z) Z sample h (t) h[n] Once we have our z-transform transfer function H(z), we apply the definition of the transfer function to write our digital filter equations: Yz ( ) H( z). Xz ( )

97 Example: Use the matched filter design method to design the digital equivalent of an integrator. Solution: The analog transfer function is The inverse Laplace transform is H( s). s h( t) u( t).

98 We then sample the impulse response to get h[n]: h[ n] u[ n]. Finally, we take the z-transform of the impulse response to get the digital filter transfer function. Hz () z.

99 Finally, we apply the definition of the z-transform transfer function to get the relationship between the input of the digital filter x[n] and the output of the digital filter y[n]. Yz () Hz (). Xz () z Yz ()[ z ] Xz (). []. y[ n] yn [ ] x n

100 y[ n] yn [ ] x []. n Applying this formula to an arbitrary input x[n], we have n x[n] y[n] 0 x[0] x[0] x[] x[0]+x[] 2 x[2] x[0]+x[]+x[2] 3 x[3] x[0]+x[]+x[2]+x[3]

101 We see that the output is the summation of the input. Thus the digital filter accurately represents the analog filter. The digital filter does not always accurately represent the analog filter as will be seen in the next example.

102 Example: Use the matched filter design method to design the following transfer function: Hs () s c, where c = s /4, and s is the sampling frequency. Solution: First, we find the impulse response ht () e c t c.

103 Then we sample the impulse response: [] cnt nh ce ce 2/n. Then we take the z-transform of the (discrete-time) impulse response: Hz ) c e 2 z ( /.

104 We then find the frequency response of the filter e j H(e j ) H(e j ) e 0.26 je e /2 /2 j 0.98 / /2

105 2 Frequency Response H(e j ) , x

106 As we can see, it is not much of a low-pass filter: the frequency rolloff is not very great. The reason for this small rolloff is aliasing error: the frequency response of H(z) is composed of copies of the frequency response of H(s) at 0, s, 2 s, etc. The copy at 2 s overlaps the copy at 0. Aliasing error is an inherent problem in matched filter design. Unless the cutoff frequency is very low compared to the sampling frequency, we will get substantial error due to aliasing. This aliasing problem is solved using the bilinear transformation.

107 The Bilinear Transformation The bilinear transformation is a fairly direct method of converting H(s) to H(z). Rather than map the analog frequencies =0 to s /2 to the digital frequencies =0 to = (as we had done with the matched z- transform), we will map the analog frequencies =0 to to the digital frequencies =0 to = Matched z-transform: =(0, s /2) =(0, Bilinear Transformation: =(0,) =(0,

108 What kind of function maps =(0,) =(0,? How about this: tan. 2 As we can see from the graph on the following slide, this function does perform the necessary mapping.

109 20 Frequency Warping 5 0 = tan (/2) , x

110 We know the relationship between and ; what is the relationship between s and z? ) ( ) ( cos sin 2 tan 2 / 2 / 2 2 / 2 / j j j j j e e e e

111 .. j j j j e e j e e j Since s=j and z=e j, we have. s z z

112 Because of the warped nature of our transformation, it is necessary to pre-warp our analog prototype critical frequencies so as to coincide with the critical frequencies of the corresponding digital filter. T ' tan tan c. c 2 2

113 Example: Use the bilinear transformation method to find the digital equivalent to the following transfer function: Hs () s c, where c = s /4, and s is the sampling frequency. Solution: First, we must pre-warp the analog frequency: T tan tan s 4 c T tan ' c

114 We then substitute our pre-warped frequency,, ( ) Hs s and apply the bilinear (sz) transformation:. 2 )( () z zh sh z z z z s

115 The frequency response of the filter is e j H(e j ) H(e j ) j 2 /2 j

116 2 Frequency Response H(e j ) , x

117 As can be seen, the frequency response is much improved. At =0, the response is the same as the analog filter at =0, and at =, the frequency response is the same as the analog filter at =.

118 Example: Repeat the previous example Hs () s c, where c = s /6. Solution: Our prewarping is slightly different: T tan tan s 6 c T tan ' c

119 Substituting our pre-warped frequency, we have Hs (). 3 s

120 Applying the bilinear transformation, we have. ) 3 ( 3 3 () () z z Hs Hz z z z z s The frequency plot is given on the following slide.

121 2 Frequency Response H(e j ) , x

122 Example: find the digital equivalent of a second-order Butterworth filter using the bilinear transformation. Let c = s /4. Solution: The second-order Butterworth filter has the following form: Hs (), () s2 (2) s c c (Enter [b a] = butter(2,,'s') in MATLAB.)

123 The prewarping is the same as in the first example: T tan tan s 4 c T tan ' c So, Hs (). s 2 2 s

124 Applying the bilinear transformation we have ) ( ) )( 2( ) ( ) ( 2 () () z z z z z Hs Hz z z z z z z s

125 2 2 z z 2( )2 2( )2 z. 2 The frequency response is on the following slide.

126 2 Frequency Response H(e j ) , x

127 Design of FIR Filters by Windowing FIR filters are designed based on directly approximating the desired frequency response of the discrete-time system. Most techniques for approximating the magnitude response of an FIR system assume a linear phase constraint.

128 Window Method An ideal desired frequency response jw He d hn d n hne d d 2 jw H e w c 0 jwn Heedw jwjwn w c, ww jw c He lp,0 c ww lp sin wn c hn n Many idealized systems are defined by piecewise-constant frequency response with discontinuities at the boundaries. As a result, these systems have impulse responses that are noncausal and infinitely long.

129 hn Window Method The most straightforward approach to obtaining a causal FIR approximation is to truncate the ideal impulse response.,0 nm nh d,0 otherwise hnwn hn d, 0nM nw,0 otherwise jw jwjw eh eh ewd d 2

130 Windowing in Frequency Domain Windowed frequency response j eh 2 d j j eh ew d The windowed version is smeared version of desired response

131 Window Method If nw n jwn enw 2 n k jw ew 2 d jw d He HeWedHe jw j jw 2 W e jw 5 wk H e jw w c 0 w c

132 Choice of Window w n is as short as possible in duration. This minimizes computation in the implementation of the filter., 0nM nw,0 otherwise jw W e approximates an impulse. M jw jwn jwn We wne e n n 0 jwm e sin wm 2 jwm 2 jw e e sin2 w 2 M M We 2 M jw

133 Window Method w jw If n is chosen so that W e is concentrated in a narrow band of frequencies around w 0 then jw H e would look like jw H, d e except jw where changes very abruptly. H d e 2 jw jwwj eh ehewd eh M We jw d Hd e jw jw d 2 M 2 M w c 0 w c

134 Rectangular Window jw W e generalized linear phase. for the rectangular window has a wm jw jwm 2 We e sin 2 sin2 w As M increases, the width of the main lobe decreases. 4 M mw While the width of each lobe decreases with M, the peak amplitudes of the main lobe and the side lobes grow such that the area under M each lobe is a constant. M M M M 2 M 2 M

135 H discontinuity. Rectangular Window e jw jw d ew d will oscillate at the The oscillations occur more rapidly, but do not decrease in magnitude as M increases. The Gibbs phenomenon can be moderated through the use of a less abrupt truncation of the Fourier series.

136 Rectangular Window By tapering the window smoothly to zero at each end, the height of the side lobes can be diminished. The expense is a wider main lobe and thus a wider transition at the discontinuity.

137 Design of FIR Filters by Windowing Method To design an ilowpass FIR Filters jw H e, ww jw c He lp,0 c ww lp sin wn c hn n, 0 hn hnwn d eh 2 jw d wn 0, nm otherwise jwjw eh ewd M We jw sin cwnm 2 nm2 w c 0 M M 2 w c M 0 M 2 M M 2 M 2 M

138 Properties of Commonly Used Windows Rectangular nw, 0nM nw,0 otherwise Bartlett (triangular) 2nM, 0 nm2 22 nmm, 2 nm,0 otherwise

139 Properties of Commonly Used Windows Hanning 2 Mn, cos 0 nm nw,0 othe Hamming 2, Mn cos 0nM nw,0 othe

140 7.2. Properties of Commonly Used Windows Blackman nw 2 Mn cos.0 08 cos 4 Mn,,0.0 0 nm other

141 7.2. Properties of Commonly Used Windows

142 Frequency Spectrum of Windows (a) Rectangular, (b) Bartlett, (c) Hanning, (d) Hamming, (e) Blackman, (M=50) (a)-(e) attenuation of sidelobe increases, width of mainlobe increases.

143 Properties of Commonly Used Windows biggest,high oscillations at discontinuity smallest,the sharpest transition

144 Incorporation of Generalized Linear Phase In designing FIR filters, it is desirable to obtain causal systems with a generalized linear phase response. The above five windows are all symmetric about the point M 2,i.e., Mwn, 0 nm nw,0 otherw

145 Incorporation of Generalized Linear Phase Their Fourier transforms are of the form jw e Wee jw jwm 2 e ew jw is a W e real and even func wof nh h d nwn : causal ifhmnhnhnhnwn d d d hmnhngeneralizedlinearphase : jw jw Aee jwm 2 He e M 2 M

146 if Incorporation of Generalized Linear Phase nmh dnh nh dnwnh nmh : d d nhgene lin p jw jaee jwjw M2 He o M 2 M

147 Frequency Domain Representation n ifhmn h d jw jwjw He He e M2 d d jw jw j dee He HW d 2 wn wmn 2jwjwM 2 H ee j jm Wee d 2 e e jw jwm 2 Aee e jw wherea ehwd 2 e e e jw e Wee jw jwm 2 W e hn hnwn ejw ee jw d

148 Properties of Commonly Used Windows biggest,high oscillations at discontinuity smallest,the sharpest transition

149 The Kaiser Window Filter Design Method 2 2 I0 n wn,0 nm I 0 0, otherwise where M2, IuzerordermodifiedBeselfunctionofthefirstkind : 0 twoparameters: lengthm :, Iu 0 r u 2 2 r! r shape paramete : Trade side-lobe amplitude for main-lobe width

WEEK10 Fast Fourier Transform (FFT) (Theory and Implementation)

WEEK10 Fast Fourier Transform (FFT) (Theory and Implementation) WEEK10 Fast Fourier Transform (FFT) (Theory and Implementation) Learning Objectives DFT algorithm. Conversion of DFT to FFT algorithm. Implementation of the FFT algorithm. Chapter 19, Slide 2 DFT Algorithm

More information

EE482: Digital Signal Processing Applications

EE482: Digital Signal Processing Applications Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu EE482: Digital Signal Processing Applications Spring 2014 TTh 14:305:45 CBC C222 Lecture 8 Frequency Analysis 14/02/18 http://www.ee.unlv.edu/~b1morris/ee482/

More information

Lecture 7 Discrete Systems

Lecture 7 Discrete Systems Lecture 7 Discrete Systems EE 52: Instrumentation and Measurements Lecture Notes Update on November, 29 Aly El-Osery, Electrical Engineering Dept., New Mexico Tech 7. Contents The z-transform 2 Linear

More information

Multimedia Signals and Systems - Audio and Video. Signal, Image, Video Processing Review-Introduction, MP3 and MPEG2

Multimedia Signals and Systems - Audio and Video. Signal, Image, Video Processing Review-Introduction, MP3 and MPEG2 Multimedia Signals and Systems - Audio and Video Signal, Image, Video Processing Review-Introduction, MP3 and MPEG2 Kunio Takaya Electrical and Computer Engineering University of Saskatchewan December

More information

EE 521: Instrumentation and Measurements

EE 521: Instrumentation and Measurements Aly El-Osery Electrical Engineering Department, New Mexico Tech Socorro, New Mexico, USA November 1, 2009 1 / 27 1 The z-transform 2 Linear Time-Invariant System 3 Filter Design IIR Filters FIR Filters

More information

Need for transformation?

Need for transformation? Z-TRANSFORM In today s class Z-transform Unilateral Z-transform Bilateral Z-transform Region of Convergence Inverse Z-transform Power Series method Partial Fraction method Solution of difference equations

More information

Let H(z) = P(z)/Q(z) be the system function of a rational form. Let us represent both P(z) and Q(z) as polynomials of z (not z -1 )

Let H(z) = P(z)/Q(z) be the system function of a rational form. Let us represent both P(z) and Q(z) as polynomials of z (not z -1 ) Review: Poles and Zeros of Fractional Form Let H() = P()/Q() be the system function of a rational form. Let us represent both P() and Q() as polynomials of (not - ) Then Poles: the roots of Q()=0 Zeros:

More information

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A Classification of systems : Continuous and Discrete

More information

IT DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A

IT DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING IT6502 - DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A 1. What is a continuous and discrete time signal? Continuous

More information

Lecture 19 IIR Filters

Lecture 19 IIR Filters Lecture 19 IIR Filters Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/5/10 1 General IIR Difference Equation IIR system: infinite-impulse response system The most general class

More information

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13)

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13) LECTURE NOTES ON DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13) FACULTY : B.V.S.RENUKA DEVI (Asst.Prof) / Dr. K. SRINIVASA RAO (Assoc. Prof) DEPARTMENT OF ELECTRONICS AND COMMUNICATIONS

More information

ELEG 305: Digital Signal Processing

ELEG 305: Digital Signal Processing ELEG 305: Digital Signal Processing Lecture : Design of Digital IIR Filters (Part I) Kenneth E. Barner Department of Electrical and Computer Engineering University of Delaware Fall 008 K. E. Barner (Univ.

More information

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by Code No: RR320402 Set No. 1 III B.Tech II Semester Regular Examinations, Apr/May 2006 DIGITAL SIGNAL PROCESSING ( Common to Electronics & Communication Engineering, Electronics & Instrumentation Engineering,

More information

EE 225D LECTURE ON DIGITAL FILTERS. University of California Berkeley

EE 225D LECTURE ON DIGITAL FILTERS. University of California Berkeley University of California Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences Professors : N.Morgan / B.Gold EE225D Digital Filters Spring,1999 Lecture 7 N.MORGAN

More information

How to manipulate Frequencies in Discrete-time Domain? Two Main Approaches

How to manipulate Frequencies in Discrete-time Domain? Two Main Approaches How to manipulate Frequencies in Discrete-time Domain? Two Main Approaches Difference Equations (an LTI system) x[n]: input, y[n]: output That is, building a system that maes use of the current and previous

More information

Digital Signal Processing:

Digital Signal Processing: Digital Signal Processing: Mathematical and algorithmic manipulation of discretized and quantized or naturally digital signals in order to extract the most relevant and pertinent information that is carried

More information

y[n] = = h[k]x[n k] h[k]z n k k= 0 h[k]z k ) = H(z)z n h[k]z h (7.1)

y[n] = = h[k]x[n k] h[k]z n k k= 0 h[k]z k ) = H(z)z n h[k]z h (7.1) 7. The Z-transform 7. Definition of the Z-transform We saw earlier that complex exponential of the from {e jwn } is an eigen function of for a LTI System. We can generalize this for signals of the form

More information

Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform.

Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform. Inversion of the z-transform Focus on rational z-transform of z 1. Apply partial fraction expansion. Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform. Let X(z)

More information

Use: Analysis of systems, simple convolution, shorthand for e jw, stability. Motivation easier to write. Or X(z) = Z {x(n)}

Use: Analysis of systems, simple convolution, shorthand for e jw, stability. Motivation easier to write. Or X(z) = Z {x(n)} 1 VI. Z Transform Ch 24 Use: Analysis of systems, simple convolution, shorthand for e jw, stability. A. Definition: X(z) = x(n) z z - transforms Motivation easier to write Or Note if X(z) = Z {x(n)} z

More information

Filter structures ELEC-E5410

Filter structures ELEC-E5410 Filter structures ELEC-E5410 Contents FIR filter basics Ideal impulse responses Polyphase decomposition Fractional delay by polyphase structure Nyquist filters Half-band filters Gibbs phenomenon Discrete-time

More information

8. z-domain Analysis of Discrete-Time Signals and Systems

8. z-domain Analysis of Discrete-Time Signals and Systems 8. z-domain Analysis of Discrete-Time Signals and Systems 8.. Definition of z-transform (0.0-0.3) 8.2. Properties of z-transform (0.5) 8.3. System Function (0.7) 8.4. Classification of a Linear Time-Invariant

More information

# FIR. [ ] = b k. # [ ]x[ n " k] [ ] = h k. x[ n] = Ae j" e j# ˆ n Complex exponential input. [ ]Ae j" e j ˆ. ˆ )Ae j# e j ˆ. y n. y n.

# FIR. [ ] = b k. # [ ]x[ n  k] [ ] = h k. x[ n] = Ae j e j# ˆ n Complex exponential input. [ ]Ae j e j ˆ. ˆ )Ae j# e j ˆ. y n. y n. [ ] = h k M [ ] = b k x[ n " k] FIR k= M [ ]x[ n " k] convolution k= x[ n] = Ae j" e j ˆ n Complex exponential input [ ] = h k M % k= [ ]Ae j" e j ˆ % M = ' h[ k]e " j ˆ & k= k = H (" ˆ )Ae j e j ˆ ( )

More information

Lecture 3 - Design of Digital Filters

Lecture 3 - Design of Digital Filters Lecture 3 - Design of Digital Filters 3.1 Simple filters In the previous lecture we considered the polynomial fit as a case example of designing a smoothing filter. The approximation to an ideal LPF can

More information

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

Digital Signal Processing Lecture 10 - Discrete Fourier Transform Digital Signal Processing - Discrete Fourier Transform Electrical Engineering and Computer Science University of Tennessee, Knoxville November 12, 2015 Overview 1 2 3 4 Review - 1 Introduction Discrete-time

More information

Z Transform (Part - II)

Z Transform (Part - II) Z Transform (Part - II). The Z Transform of the following real exponential sequence x(nt) = a n, nt 0 = 0, nt < 0, a > 0 (a) ; z > (c) for all z z (b) ; z (d) ; z < a > a az az Soln. The given sequence

More information

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR Digital Signal Processing - Design of Digital Filters - FIR Electrical Engineering and Computer Science University of Tennessee, Knoxville November 3, 2015 Overview 1 2 3 4 Roadmap Introduction Discrete-time

More information

2. Typical Discrete-Time Systems All-Pass Systems (5.5) 2.2. Minimum-Phase Systems (5.6) 2.3. Generalized Linear-Phase Systems (5.

2. Typical Discrete-Time Systems All-Pass Systems (5.5) 2.2. Minimum-Phase Systems (5.6) 2.3. Generalized Linear-Phase Systems (5. . Typical Discrete-Time Systems.1. All-Pass Systems (5.5).. Minimum-Phase Systems (5.6).3. Generalized Linear-Phase Systems (5.7) .1. All-Pass Systems An all-pass system is defined as a system which has

More information

UNIT - III PART A. 2. Mention any two techniques for digitizing the transfer function of an analog filter?

UNIT - III PART A. 2. Mention any two techniques for digitizing the transfer function of an analog filter? UNIT - III PART A. Mention the important features of the IIR filters? i) The physically realizable IIR filters does not have linear phase. ii) The IIR filter specification includes the desired characteristics

More information

ELEG 5173L Digital Signal Processing Ch. 5 Digital Filters

ELEG 5173L Digital Signal Processing Ch. 5 Digital Filters Department of Electrical Engineering University of Aransas ELEG 573L Digital Signal Processing Ch. 5 Digital Filters Dr. Jingxian Wu wuj@uar.edu OUTLINE 2 FIR and IIR Filters Filter Structures Analog Filters

More information

Review of Discrete-Time System

Review of Discrete-Time System Review of Discrete-Time System Electrical & Computer Engineering University of Maryland, College Park Acknowledgment: ENEE630 slides were based on class notes developed by Profs. K.J. Ray Liu and Min Wu.

More information

Filter Analysis and Design

Filter Analysis and Design Filter Analysis and Design Butterworth Filters Butterworth filters have a transfer function whose squared magnitude has the form H a ( jω ) 2 = 1 ( ) 2n. 1+ ω / ω c * M. J. Roberts - All Rights Reserved

More information

ESE 531: Digital Signal Processing

ESE 531: Digital Signal Processing ESE 531: Digital Signal Processing Lec 6: January 30, 2018 Inverse z-transform Lecture Outline! z-transform " Tie up loose ends " Regions of convergence properties! Inverse z-transform " Inspection " Partial

More information

Z-Transform. x (n) Sampler

Z-Transform. x (n) Sampler Chapter Two A- Discrete Time Signals: The discrete time signal x(n) is obtained by taking samples of the analog signal xa (t) every Ts seconds as shown in Figure below. Analog signal Discrete time signal

More information

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE EEE 43 DIGITAL SIGNAL PROCESSING (DSP) 2 DIFFERENCE EQUATIONS AND THE Z- TRANSFORM FALL 22 Yrd. Doç. Dr. Didem Kivanc Tureli didemk@ieee.org didem.kivanc@okan.edu.tr

More information

DFT & Fast Fourier Transform PART-A. 7. Calculate the number of multiplications needed in the calculation of DFT and FFT with 64 point sequence.

DFT & Fast Fourier Transform PART-A. 7. Calculate the number of multiplications needed in the calculation of DFT and FFT with 64 point sequence. SHRI ANGALAMMAN COLLEGE OF ENGINEERING & TECHNOLOGY (An ISO 9001:2008 Certified Institution) SIRUGANOOR,TRICHY-621105. DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING UNIT I DFT & Fast Fourier

More information

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF INFORMATION TECHNOLOGY. Academic Year

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF INFORMATION TECHNOLOGY. Academic Year VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur- 603 203 DEPARTMENT OF INFORMATION TECHNOLOGY Academic Year 2016-2017 QUESTION BANK-ODD SEMESTER NAME OF THE SUBJECT SUBJECT CODE SEMESTER YEAR

More information

Discrete Fourier Transform

Discrete Fourier Transform Discrete Fourier Transform Virtually all practical signals have finite length (e.g., sensor data, audio records, digital images, stock values, etc). Rather than considering such signals to be zero-padded

More information

Question Bank. UNIT 1 Part-A

Question Bank. UNIT 1 Part-A FATIMA MICHAEL COLLEGE OF ENGINEERING & TECHNOLOGY Senkottai Village, Madurai Sivagangai Main Road, Madurai -625 020 An ISO 9001:2008 Certified Institution Question Bank DEPARTMENT OF ELECTRONICS AND COMMUNICATION

More information

Linear Convolution Using FFT

Linear Convolution Using FFT Linear Convolution Using FFT Another useful property is that we can perform circular convolution and see how many points remain the same as those of linear convolution. When P < L and an L-point circular

More information

EEL3135: Homework #4

EEL3135: Homework #4 EEL335: Homework #4 Problem : For each of the systems below, determine whether or not the system is () linear, () time-invariant, and (3) causal: (a) (b) (c) xn [ ] cos( 04πn) (d) xn [ ] xn [ ] xn [ 5]

More information

DEPARTMENT OF EI DIGITAL SIGNAL PROCESSING ASSIGNMENT 1

DEPARTMENT OF EI DIGITAL SIGNAL PROCESSING ASSIGNMENT 1 This PDF is Created by Simpo PDF Creator unregistered version - http://wwwsimpopdfcom Study hard, for the well is deep, and our brains are shallow DEPARTMENT OF EI DIGITAL SIGNAL PROCESSING ASSIGNMENT

More information

SIDDHARTH GROUP OF INSTITUTIONS:: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE)

SIDDHARTH GROUP OF INSTITUTIONS:: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) SIDDHARTH GROUP OF INSTITUTIONS:: PUTTUR Siddharth Nagar, Narayanavanam Road 517583 QUESTION BANK (DESCRIPTIVE) Subject with Code : Digital Signal Processing(16EC422) Year & Sem: III-B.Tech & II-Sem Course

More information

R13 SET - 1

R13 SET - 1 R13 SET - 1 III B. Tech II Semester Regular Examinations, April - 2016 DIGITAL SIGNAL PROCESSING (Electronics and Communication Engineering) Time: 3 hours Maximum Marks: 70 Note: 1. Question Paper consists

More information

DIGITAL SIGNAL PROCESSING

DIGITAL SIGNAL PROCESSING IT 1252 DIGITAL SIGNAL PROCESSING 1. Define Discrete time signal. A discrete time signal x (n) is a function of an independent variable that is an integer.a discrete time signal is not defined at instant

More information

Discrete-time signals and systems

Discrete-time signals and systems Discrete-time signals and systems 1 DISCRETE-TIME DYNAMICAL SYSTEMS x(t) G y(t) Linear system: Output y(n) is a linear function of the inputs sequence: y(n) = k= h(k)x(n k) h(k): impulse response of the

More information

LAB 6: FIR Filter Design Summer 2011

LAB 6: FIR Filter Design Summer 2011 University of Illinois at Urbana-Champaign Department of Electrical and Computer Engineering ECE 311: Digital Signal Processing Lab Chandra Radhakrishnan Peter Kairouz LAB 6: FIR Filter Design Summer 011

More information

ESE 531: Digital Signal Processing

ESE 531: Digital Signal Processing ESE 531: Digital Signal Processing Lec 6: January 31, 2017 Inverse z-transform Lecture Outline! z-transform " Tie up loose ends " Regions of convergence properties! Inverse z-transform " Inspection " Partial

More information

EC Signals and Systems

EC Signals and Systems UNIT I CLASSIFICATION OF SIGNALS AND SYSTEMS Continuous time signals (CT signals), discrete time signals (DT signals) Step, Ramp, Pulse, Impulse, Exponential 1. Define Unit Impulse Signal [M/J 1], [M/J

More information

Analog LTI system Digital LTI system

Analog LTI system Digital LTI system Sampling Decimation Seismometer Amplifier AAA filter DAA filter Analog LTI system Digital LTI system Filtering (Digital Systems) input output filter xn [ ] X ~ [ k] Convolution of Sequences hn [ ] yn [

More information

! Circular Convolution. " Linear convolution with circular convolution. ! Discrete Fourier Transform. " Linear convolution through circular

! Circular Convolution.  Linear convolution with circular convolution. ! Discrete Fourier Transform.  Linear convolution through circular Previously ESE 531: Digital Signal Processing Lec 22: April 18, 2017 Fast Fourier Transform (con t)! Circular Convolution " Linear convolution with circular convolution! Discrete Fourier Transform " Linear

More information

GATE EE Topic wise Questions SIGNALS & SYSTEMS

GATE EE Topic wise Questions SIGNALS & SYSTEMS www.gatehelp.com GATE EE Topic wise Questions YEAR 010 ONE MARK Question. 1 For the system /( s + 1), the approximate time taken for a step response to reach 98% of the final value is (A) 1 s (B) s (C)

More information

Chapter 7: Filter Design 7.1 Practical Filter Terminology

Chapter 7: Filter Design 7.1 Practical Filter Terminology hapter 7: Filter Design 7. Practical Filter Terminology Analog and digital filters and their designs constitute one of the major emphasis areas in signal processing and communication systems. This is due

More information

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION FINAL EXAMINATION 9:00 am 12:00 pm, December 20, 2010 Duration: 180 minutes Examiner: Prof. M. Vu Assoc. Examiner: Prof. B. Champagne There are 6 questions for a total of 120 points. This is a closed book

More information

UNIT-II Z-TRANSFORM. This expression is also called a one sided z-transform. This non causal sequence produces positive powers of z in X (z).

UNIT-II Z-TRANSFORM. This expression is also called a one sided z-transform. This non causal sequence produces positive powers of z in X (z). Page no: 1 UNIT-II Z-TRANSFORM The Z-Transform The direct -transform, properties of the -transform, rational -transforms, inversion of the transform, analysis of linear time-invariant systems in the -

More information

1 1.27z z 2. 1 z H 2

1 1.27z z 2. 1 z H 2 E481 Digital Signal Processing Exam Date: Thursday -1-1 16:15 18:45 Final Exam - Solutions Dan Ellis 1. (a) In this direct-form II second-order-section filter, the first stage has

More information

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE)

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE) QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE) 1. For the signal shown in Fig. 1, find x(2t + 3). i. Fig. 1 2. What is the classification of the systems? 3. What are the Dirichlet s conditions of Fourier

More information

Signals and Systems. Spring Room 324, Geology Palace, ,

Signals and Systems. Spring Room 324, Geology Palace, , Signals and Systems Spring 2013 Room 324, Geology Palace, 13756569051, zhukaiguang@jlu.edu.cn Chapter 10 The Z-Transform 1) Z-Transform 2) Properties of the ROC of the z-transform 3) Inverse z-transform

More information

VII. Discrete Fourier Transform (DFT) Chapter-8. A. Modulo Arithmetic. (n) N is n modulo N, n is an integer variable.

VII. Discrete Fourier Transform (DFT) Chapter-8. A. Modulo Arithmetic. (n) N is n modulo N, n is an integer variable. 1 VII. Discrete Fourier Transform (DFT) Chapter-8 A. Modulo Arithmetic (n) N is n modulo N, n is an integer variable. (n) N = n m N 0 n m N N-1, pick m Ex. (k) 4 W N = e -j2π/n 2 Note that W N k = 0 but

More information

X (z) = n= 1. Ã! X (z) x [n] X (z) = Z fx [n]g x [n] = Z 1 fx (z)g. r n x [n] ª e jnω

X (z) = n= 1. Ã! X (z) x [n] X (z) = Z fx [n]g x [n] = Z 1 fx (z)g. r n x [n] ª e jnω 3 The z-transform ² Two advantages with the z-transform:. The z-transform is a generalization of the Fourier transform for discrete-time signals; which encompasses a broader class of sequences. The z-transform

More information

UNIVERSITY OF OSLO. Faculty of mathematics and natural sciences. Forslag til fasit, versjon-01: Problem 1 Signals and systems.

UNIVERSITY OF OSLO. Faculty of mathematics and natural sciences. Forslag til fasit, versjon-01: Problem 1 Signals and systems. UNIVERSITY OF OSLO Faculty of mathematics and natural sciences Examination in INF3470/4470 Digital signal processing Day of examination: December 1th, 016 Examination hours: 14:30 18.30 This problem set

More information

Implementation of Discrete-Time Systems

Implementation of Discrete-Time Systems EEE443 Digital Signal Processing Implementation of Discrete-Time Systems Dr. Shahrel A. Suandi PPKEE, Engineering Campus, USM Introduction A linear-time invariant system (LTI) is described by linear constant

More information

Final Exam January 31, Solutions

Final Exam January 31, Solutions Final Exam January 31, 014 Signals & Systems (151-0575-01) Prof. R. D Andrea & P. Reist Solutions Exam Duration: Number of Problems: Total Points: Permitted aids: Important: 150 minutes 7 problems 50 points

More information

ELEG 305: Digital Signal Processing

ELEG 305: Digital Signal Processing ELEG 305: Digital Signal Processing Lecture 18: Applications of FFT Algorithms & Linear Filtering DFT Computation; Implementation of Discrete Time Systems Kenneth E. Barner Department of Electrical and

More information

Course Name: Digital Signal Processing Course Code: EE 605A Credit: 3

Course Name: Digital Signal Processing Course Code: EE 605A Credit: 3 Course Name: Digital Signal Processing Course Code: EE 605A Credit: 3 Prerequisites: Sl. No. Subject Description Level of Study 01 Mathematics Fourier Transform, Laplace Transform 1 st Sem, 2 nd Sem 02

More information

DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS. 3.6 Design of Digital Filter using Digital to Digital

DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS. 3.6 Design of Digital Filter using Digital to Digital DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS Contents: 3.1 Introduction IIR Filters 3.2 Transformation Function Derivation 3.3 Review of Analog IIR Filters 3.3.1 Butterworth

More information

ECE503: Digital Signal Processing Lecture 4

ECE503: Digital Signal Processing Lecture 4 ECE503: Digital Signal Processing Lecture 4 D. Richard Brown III WPI 06-February-2012 WPI D. Richard Brown III 06-February-2012 1 / 29 Lecture 4 Topics 1. Motivation for the z-transform. 2. Definition

More information

Digital Signal Processing Lecture 8 - Filter Design - IIR

Digital Signal Processing Lecture 8 - Filter Design - IIR Digital Signal Processing - Filter Design - IIR Electrical Engineering and Computer Science University of Tennessee, Knoxville October 20, 2015 Overview 1 2 3 4 5 6 Roadmap Discrete-time signals and systems

More information

! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals

! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals ESE 531: Digital Signal Processing Lec 25: April 24, 2018 Review Course Content! Introduction! Discrete Time Signals & Systems! Discrete Time Fourier Transform! Z-Transform! Inverse Z-Transform! Sampling

More information

Vel Tech High Tech Dr.Ranagarajan Dr.Sakunthala Engineering College Department of ECE

Vel Tech High Tech Dr.Ranagarajan Dr.Sakunthala Engineering College Department of ECE Subject Code: EC6502 Course Code:C302 Course Name: PRINCIPLES OF DIGITAL SIGNAL PROCESSING L-3 : T-1 : P-0 : Credits 4 COURSE OBJECTIVES: 1. To learn discrete Fourier transform and its properties 2. To

More information

Stability Condition in Terms of the Pole Locations

Stability Condition in Terms of the Pole Locations Stability Condition in Terms of the Pole Locations A causal LTI digital filter is BIBO stable if and only if its impulse response h[n] is absolutely summable, i.e., 1 = S h [ n] < n= We now develop a stability

More information

Interchange of Filtering and Downsampling/Upsampling

Interchange of Filtering and Downsampling/Upsampling Interchange of Filtering and Downsampling/Upsampling Downsampling and upsampling are linear systems, but not LTI systems. They cannot be implemented by difference equations, and so we cannot apply z-transform

More information

Chapter 8 The Discrete Fourier Transform

Chapter 8 The Discrete Fourier Transform Chapter 8 The Discrete Fourier Transform Introduction Representation of periodic sequences: the discrete Fourier series Properties of the DFS The Fourier transform of periodic signals Sampling the Fourier

More information

ELEG 305: Digital Signal Processing

ELEG 305: Digital Signal Processing ELEG 5: Digital Signal Processing Lecture 6: The Fast Fourier Transform; Radix Decimatation in Time Kenneth E. Barner Department of Electrical and Computer Engineering University of Delaware Fall 8 K.

More information

VI. Z Transform and DT System Analysis

VI. Z Transform and DT System Analysis Summer 2008 Signals & Systems S.F. Hsieh VI. Z Transform and DT System Analysis Introduction Why Z transform? a DT counterpart of the Laplace transform in CT. Generalization of DT Fourier transform: z

More information

Very useful for designing and analyzing signal processing systems

Very useful for designing and analyzing signal processing systems z-transform z-transform The z-transform generalizes the Discrete-Time Fourier Transform (DTFT) for analyzing infinite-length signals and systems Very useful for designing and analyzing signal processing

More information

Chapter 7: The z-transform

Chapter 7: The z-transform Chapter 7: The -Transform ECE352 1 The -Transform - definition Continuous-time systems: e st H(s) y(t) = e st H(s) e st is an eigenfunction of the LTI system h(t), and H(s) is the corresponding eigenvalue.

More information

Responses of Digital Filters Chapter Intended Learning Outcomes:

Responses of Digital Filters Chapter Intended Learning Outcomes: Responses of Digital Filters Chapter Intended Learning Outcomes: (i) Understanding the relationships between impulse response, frequency response, difference equation and transfer function in characterizing

More information

The Z-Transform. Fall 2012, EE123 Digital Signal Processing. Eigen Functions of LTI System. Eigen Functions of LTI System

The Z-Transform. Fall 2012, EE123 Digital Signal Processing. Eigen Functions of LTI System. Eigen Functions of LTI System The Z-Transform Fall 202, EE2 Digital Signal Processing Lecture 4 September 4, 202 Used for: Analysis of LTI systems Solving di erence equations Determining system stability Finding frequency response

More information

Introduction to Digital Signal Processing

Introduction to Digital Signal Processing Introduction to Digital Signal Processing 1.1 What is DSP? DSP is a technique of performing the mathematical operations on the signals in digital domain. As real time signals are analog in nature we need

More information

Discrete-Time Signals and Systems. The z-transform and Its Application. The Direct z-transform. Region of Convergence. Reference: Sections

Discrete-Time Signals and Systems. The z-transform and Its Application. The Direct z-transform. Region of Convergence. Reference: Sections Discrete-Time Signals and Systems The z-transform and Its Application Dr. Deepa Kundur University of Toronto Reference: Sections 3. - 3.4 of John G. Proakis and Dimitris G. Manolakis, Digital Signal Processing:

More information

(i) Represent discrete-time signals using transform. (ii) Understand the relationship between transform and discrete-time Fourier transform

(i) Represent discrete-time signals using transform. (ii) Understand the relationship between transform and discrete-time Fourier transform z Transform Chapter Intended Learning Outcomes: (i) Represent discrete-time signals using transform (ii) Understand the relationship between transform and discrete-time Fourier transform (iii) Understand

More information

Module 4 : Laplace and Z Transform Problem Set 4

Module 4 : Laplace and Z Transform Problem Set 4 Module 4 : Laplace and Z Transform Problem Set 4 Problem 1 The input x(t) and output y(t) of a causal LTI system are related to the block diagram representation shown in the figure. (a) Determine a differential

More information

Chapter Intended Learning Outcomes: (i) Understanding the relationship between transform and the Fourier transform for discrete-time signals

Chapter Intended Learning Outcomes: (i) Understanding the relationship between transform and the Fourier transform for discrete-time signals z Transform Chapter Intended Learning Outcomes: (i) Understanding the relationship between transform and the Fourier transform for discrete-time signals (ii) Understanding the characteristics and properties

More information

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything.

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything. UNIVERSITY OF OSLO Faculty of mathematics and natural sciences Examination in INF3470/4470 Digital signal processing Day of examination: December 9th, 011 Examination hours: 14.30 18.30 This problem set

More information

Digital Signal Processing. Lecture Notes and Exam Questions DRAFT

Digital Signal Processing. Lecture Notes and Exam Questions DRAFT Digital Signal Processing Lecture Notes and Exam Questions Convolution Sum January 31, 2006 Convolution Sum of Two Finite Sequences Consider convolution of h(n) and g(n) (M>N); y(n) = h(n), n =0... M 1

More information

(Refer Slide Time: 01:28 03:51 min)

(Refer Slide Time: 01:28 03:51 min) Digital Signal Processing Prof. S. C. Dutta Roy Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture 40 FIR Design by Windowing This is the 40 th lecture and our topic for

More information

Digital Filters Ying Sun

Digital Filters Ying Sun Digital Filters Ying Sun Digital filters Finite impulse response (FIR filter: h[n] has a finite numbers of terms. Infinite impulse response (IIR filter: h[n] has infinite numbers of terms. Causal filter:

More information

Digital Filter Structures. Basic IIR Digital Filter Structures. of an LTI digital filter is given by the convolution sum or, by the linear constant

Digital Filter Structures. Basic IIR Digital Filter Structures. of an LTI digital filter is given by the convolution sum or, by the linear constant Digital Filter Chapter 8 Digital Filter Block Diagram Representation Equivalent Basic FIR Digital Filter Basic IIR Digital Filter. Block Diagram Representation In the time domain, the input-output relations

More information

INF3440/INF4440. Design of digital filters

INF3440/INF4440. Design of digital filters Last week lecture Today s lecture: Chapter 8.1-8.3, 8.4.2, 8.5.3 INF3440/INF4440. Design of digital filters October 2004 Last week lecture Today s lecture: Chapter 8.1-8.3, 8.4.2, 8.5.3 Last lectures:

More information

ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM. Dr. Lim Chee Chin

ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM. Dr. Lim Chee Chin ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM Dr. Lim Chee Chin Outline Introduction Discrete Fourier Series Properties of Discrete Fourier Series Time domain aliasing due to frequency

More information

DISCRETE-TIME SIGNAL PROCESSING

DISCRETE-TIME SIGNAL PROCESSING THIRD EDITION DISCRETE-TIME SIGNAL PROCESSING ALAN V. OPPENHEIM MASSACHUSETTS INSTITUTE OF TECHNOLOGY RONALD W. SCHÄFER HEWLETT-PACKARD LABORATORIES Upper Saddle River Boston Columbus San Francisco New

More information

EE123 Digital Signal Processing. M. Lustig, EECS UC Berkeley

EE123 Digital Signal Processing. M. Lustig, EECS UC Berkeley EE123 Digital Signal Processing Today Last time: DTFT - Ch 2 Today: Continue DTFT Z-Transform Ch. 3 Properties of the DTFT cont. Time-Freq Shifting/modulation: M. Lustig, EE123 UCB M. Lustig, EE123 UCB

More information

Notes 22 largely plagiarized by %khc

Notes 22 largely plagiarized by %khc Notes 22 largely plagiarized by %khc LTv. ZT Using the conformal map z e st, we can transfer our knowledge of the ROC of the bilateral laplace transform to the ROC of the bilateral z transform. Laplace

More information

SIGNALS AND SYSTEMS. Unit IV. Analysis of DT signals

SIGNALS AND SYSTEMS. Unit IV. Analysis of DT signals SIGNALS AND SYSTEMS Unit IV Analysis of DT signals Contents: 4.1 Discrete Time Fourier Transform 4.2 Discrete Fourier Transform 4.3 Z Transform 4.4 Properties of Z Transform 4.5 Relationship between Z

More information

EE482: Digital Signal Processing Applications

EE482: Digital Signal Processing Applications Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu EE482: Digital Signal Processing Applications Spring 2014 TTh 14:30-15:45 CBC C222 Lecture 05 IIR Design 14/03/04 http://www.ee.unlv.edu/~b1morris/ee482/

More information

Transform analysis of LTI systems Oppenheim and Schafer, Second edition pp For LTI systems we can write

Transform analysis of LTI systems Oppenheim and Schafer, Second edition pp For LTI systems we can write Transform analysis of LTI systems Oppenheim and Schafer, Second edition pp. 4 9. For LTI systems we can write yœn D xœn hœn D X kd xœkhœn Alternatively, this relationship can be expressed in the z-transform

More information

1. Calculation of the DFT

1. Calculation of the DFT ELE E4810: Digital Signal Processing Topic 10: The Fast Fourier Transform 1. Calculation of the DFT. The Fast Fourier Transform algorithm 3. Short-Time Fourier Transform 1 1. Calculation of the DFT! Filter

More information

Chirp Transform for FFT

Chirp Transform for FFT Chirp Transform for FFT Since the FFT is an implementation of the DFT, it provides a frequency resolution of 2π/N, where N is the length of the input sequence. If this resolution is not sufficient in a

More information

Transform Analysis of Linear Time-Invariant Systems

Transform Analysis of Linear Time-Invariant Systems Transform Analysis of Linear Time-Invariant Systems Discrete-Time Signal Processing Chia-Ping Chen Department of Computer Science and Engineering National Sun Yat-Sen University Kaohsiung, Taiwan ROC Transform

More information

z-transform Chapter 6

z-transform Chapter 6 z-transform Chapter 6 Dr. Iyad djafar Outline 2 Definition Relation Between z-transform and DTFT Region of Convergence Common z-transform Pairs The Rational z-transform The Inverse z-transform z-transform

More information