PARISUTHAM INSTITUTE OF TECHNOLOGY AND SCIENCE Department of ECE AY 2015-16 IV Year-CSE /VII Sem. CAT 1 CS2403 DIGITAL SIGNAL PROCESSING Duration: 3 Hours Max. Marks: 100 Answer all the questions PART-A (10x2 marks =20 marks) 1. State the sampling theorem. ο· A continuous time signal can be completely represented in its samples and recovered back if the sampling frequency ππ ≥ 2π. ο· Here ππ is the sampling frequency and π is the maximum frequency. 2. State any properties of LTI systems. Linearity => π[π1 π₯1 (π) + π2 π₯2 (π)] = π1 π[π₯1 (π)] + π2 π[π₯2 (π)] Time Shifting => π(π) = π[π₯(π)], then π(π − πΎ) = π[π₯(π − πΎ)] = π −πΎ π[π₯(π)] π −πΎ = πππππ¦ 3. Determine the Z transform for π(π) = −πππ π(−π − π). The Z-Transform for given values is π₯(π) = −πππ π’(−π − 1) ππ§ −1 π₯(π§) = (1 − ππ§ −1 )2 ππ§ π₯(π§) = (∴ |π§| < |π|) (π§ − π)2 4. Find whether the signal π = ππ π(π) is linear. π¦(π) = π2 π₯(π) we have π1 (π) = π[π₯1 (π)] = π2 π₯1 (π) π2 (π) = π[π₯2 (π)] = π2 π₯2 (π) The weighted sum of output is π1 π[π₯1 (π)] + π2 π[π₯2 (π)] = π1 π2 π₯1 (π) + π2 π2 π₯2 (π) The output to the weighted sum of input is π3 (π) = π[π1 π₯1 (π) + π2 π₯2 (π)] = π2 π1 π₯1 (π) + π2 π2 π₯2 (π) Hence the system is NON-LINEAR 5. State and prove parseval’s theorem. If DFT [x(n)] = X(k) and DFT [y(n)] = Y(k) then π−1 π−1 ∑ π₯(π) π¦ ∗ (π) π=0 π=0 π−1 ∑ π₯(π) π¦ π=0 1 = ∑ π(π)π ∗ (π) π ∗ (π) π−1 π−1 π=0 π=0 1 1 = ∑ π₯(π) [ ∑ π ∗ (π)π −π2πππ⁄π ] π π π−1 π−1 π=0 π=0 1 1 = ∑ π ∗ (π) [ ∑ π₯(π)π −π2πππ⁄π ] π π π−1 1 = ∑ π ∗ (π) π(π) π π=0 Hence Proved 6. Compute the DFT of the four point sequence π(π) = {π, π, π, π … }. π−1 π(π) = ∑ π₯(π)π −π2πππ⁄π π=0 π(π) = {6, −2 + 2π, −2, −2 − 2π} 7. Draw the basic butterfly of the Radix-4 DIT algorithm. 8. What is phase factor or twiddle factor? The complex number ππ is called phase factor or twiddle factor. ππ = π −π2π π π0 = 1 π1 = 0.707 − π0.707 π2 = −π π3 = −0.707 − π707 9. Find the DFT for π(π) = {π, −π, π, −π}. The 4-point DFT of x(n) is given by 3 π(πΎ) = ∑ π₯(π) π −π2πππ⁄4 π=0 = π₯(0) + π₯(1)π −πππ⁄2 + π₯(2)π −πππ + π₯(3)π −π3ππ⁄2 ∴ π₯(0) = 1, π₯(1) = −1, π₯(2) = 1, π₯(3) = −1 = 1 − π −πππ⁄2 + π −πππ − π −π3ππ⁄2 ; πππ π = 0, 1, 2, 3. 10. What are the requirements for converting a stable analog filter into a stable digital filter? ο· Mapping of desired digital filter specifications into equivalent analog filter. ο· Analog transfer function is derived for the analog filter. ο· Then, analog prototype filter is transformed into equivalent digital filter transfer function. PART –B (5x 16 marks = 80 marks) 11. (a) (i) Determine the Z-transform and compute the ROC of the following signal π π π π π π π(π) = ( ) π(−π) + ( ) π(π). (16) ∞ π(π§) = ∑ π₯(π)π −π π=−∞ ∞ π(π§) = ∑ π₯(π)π π=−∞ ∞ −π π(π§) = [− ∑(1⁄3) π=0 −π ∞ + ∑ π₯(π)π −π π=−∞ ∞ π π +π ] + [− ∑(1⁄3) π −π ] π=0 1 π + (1 3π§ − 1 π − ⁄3) (OR) (b) (i) Compute the linear convolution of the signals x(n)={1,2,3,4,5,3,-1,-2}& h(n)={3,2,1,4} using Tabulation method & Matrix method (8) ο· Tabulation method: y(n)={3,8,14,24,34,35,24,15,7,-6,-8} (4 marks) ο· Matrix Method: y(n)={3,8,14,24,34,35,24,15,7,-6,-8} (4 marks) (ii) Find the output of the linear convolution using Circular Convolution x(n)={1,-3,5,-7,9,-11} & h(n)={-4,8,-16} [ Matrix Method] . (8) y(n)={-4,20,-60,116,-172,228,-232,176} ANS: 12. (a) (i) State and explain sampling theorems. (8) Definition – 2marks Explanation – 2marks π₯(π‘) = π ππ π’π‘ π₯(ππ) = π ππ β¦ππ = π ππ ππ → 2πππππ ππ ≥ 2ππ → 2πππππ (ii) Find the Z-transform auto correlation function. Definition – 2marks (8) ∞ πΎπ₯π₯ (π) = ∑ π₯(π)π₯(π − π) − > 2πππππ π=−∞ ∞ ∞ π(π) = ∑ [ ∑ π₯(π)π₯(π − π)] π§ −π → 2πππππ π=−∞ π=−∞ πΎπ₯π₯ (π) = π(π)π(π −1 ) → 2πππππ (OR) (b) (i) Suppose a LTI system with input x(n) & output y(n) is characterized by its unit sample response h(n)= (0.8)n u(n). Find the response y(n) of the system having the input x(n)= u(n). (10) ANSWER: h(n)= (0.8)n u(n) => an u(n)= Y(z)=H(z).X(z)= π . π§ π−π.π π§−1 π ; H(z)= π−π π π−π.π ; X(z)= π§ π§−1 (taking inverse Z-Transform using partial fraction method) Y(n)= (-4. (0.8)n +5) u(n) (ii) A causal system represented by the difference equation, π π(π) + π π(π − π) = π(π) + π π π(π − π). Compute its transfer function H(z). ANSWER: Taking inverse transform and compute the H(z)= Y(z)/ X(z) π H(z)= (6) π+(π)π^−π π π+(π)π^−π 13. (a) Given π(π) = {π, π, π, π, π, π, π, π} find πΏ(π) using DIT FFT algorithm. (16) X(K)= {28, -4+j 9.656, -4+j4, -4+j 1.656, -4 ,-4-j 1.656, -4-j 4, -4-j 9.656} (OR) (b) Given π(π) = ππ compute πΏ(π) using DIF FFT algorithm for N = 8 and π ≥ π (16) 14. (a) (i) Derive the key equations of radix-2 DIF FFT algorithm and draw the relevant flow graph taking the computation of an 8 point DFT for your illustration. (8) ο· Explanation – 2marks ο· Graph diagram – 6marks (ii)Compute the FFT for the sequence π(π) = π + π where N = 8 using the inplace radix 2 decimation frequency algorithm. (8) (OR) (b) (i) List out all the properties of DFT. Definition – 2marks (8) Radix 2 flow graph – 2marks Properties and explanation – 4marks (ii) Determine the circular convolution of the sequences (8) ππ (π) = {π β , π, π, π} ↑ ππ (π) = {π β , π, π, π} ↑ 1 [1 2 1 1 1 1 2 2 1 1 1 π¦(0) 1 1 2 ] [2] = [π¦(1)] 1 3 π¦(2) 1 4 π¦(3) π(π) = {ππ, ππ, ππ, ππ} 15. (a) Determine the cascade and parallel realization for the system, described by the system function π―(π) = (16) ππ(π − (π⁄π)π−π )(π − (π⁄π)π−π )(π + ππ−π ) [(π − (π⁄π)π−π )(π − (π⁄π)π−π )(π − (π⁄π + π π⁄π)π−π )(π − (π⁄π − π π⁄π)π−π )] πͺπππππ π: Parallel: (OR) (b) Determine H(z) for a butterworth filter satisfying the following constraints π √π. π ≤ |π―(πππ )| ≤ π π≤π≤ π ππ ππ ⁄π ≤ π ≤ π |π―(π )| ≤ π. π with T = 1s. Apply impulse invariant transformation. (16) β¦π = ππ ; β¦π = ππ → 2πππππ π = 4.989; π = 1 → 2πππππ π≥ π log π β¦ log β¦ π = 4 → .4πππππ π π»(π) = π»(π§) = 1 → 2πππππ (π 2 + 0.76537π + 1)(π 2 + 1.8477π + 1) 1.454 + 0.1839π§ −1 −1.454 + 0.2307π§ −1 + → 6πππππ 1 − 0,387π§ −1 + 0.055π§ −2 1 − 0.1322π§ −1 + 0.301π§ −2 Faculty Signature: Faculty Name: S.SHANMUGA PRIYA HOD Signature