Sunteți pe pagina 1din 6

Semester One Examination 2012-2013 Exam Code(s) Exam(s) 4BP, 4BN, 4BSE Fourth Year Electronic & Computer

Engineering Fourth Year Electronic Engineering Fourth Year Energy Systems Electrical EE409, EE409.i Digital Signal Processing Digital Signal Processing I

Module Code(s) Module(s)

Paper No. Repeat Paper External Examiner(s) Internal Examiner(s)

Prof. G. W. Irwin Prof. G. Laighin Dr. E. Jones Answer any three questions from four All questions carry 20 marks each 2 hours 6 pages (including cover page)

Instructions:

Duration No. of Pages

Electrical & Electronic Engineering Discipline Course Co-ordinator(s) Dr. E. Jones Requirements: MCQ Handout Statistical Tables Graph Paper Log Graph Paper Other Material

Standard mathematical tables

EE409/EE409.i Digital Signal Processing/I

Page 1 of 6

Question 1 (a) Write the difference equation of the discrete-time system shown in Figure 1, and hence determine the first six samples of the systems response to the following input:

x(n) = 0.95 n u (n)


You may assume zero initial conditions in the filter. [7 marks]
x(n) y(n)

0.3 T

-0.4 T

-0.4

Figure 1 (b) A digital filter is described by the following difference equation:

y (n) = x(n) 0.4 x(n 1) + 0.5 y (n 2)


Write the transfer function of the system, and hence obtain an expression for the magnitude and phase responses of the system. What is the gain of the system at a frequency equal to one quarter of the sampling frequency? What is the phase response of the system at the same frequency? [7 marks] (c) A discrete-time system has a finite-duration impulse response that consists of the samples {2, 3, -1}, commencing at n = 0. Using time-domain convolution, calculate the response of the system to a finite-duration input signal that consists of the samples {3, 1, -1, 4, 3}, also commencing at n = 0. Indicate in detail the calculations needed to determine y(3). [6 marks]

EE409/EE409.i Digital Signal Processing/I

Page 2 of 6

Question 2 (a) A digital filter has a pair of complex conjugate poles at z = -0.3 j0.5, and a pair of complex conjugate zeros at z = 0.2 j1.5. Sketch the pole-zero map of the filter. Using only the pole-zero map, calculate the magnitude response of the filter at a frequency of 100 Hz, if the sampling frequency is equal to 400 Hz. [5 marks] A digital filter has an impulse response consisting of the sequence h(n) = {1, -2, 3}, of finite duration, commencing at n = 0. Using the z-Transform convolution property, determine the output of the system in response to the finite duration input signal x(n) = {1, 3, 4, -2}, also commencing at n = 0. [6 marks] A digital low-pass filter has the following difference equation: y(n) = ax(n) + by(n 1) 0< b <1

(b)

(c)

Choose a value for a (in terms of a) such that the DC gain of the filter is 1. [4 marks] (d) The transfer function of a first-order low-pass filter is described by the following equation:
H ( z) = 0.12 1 0.88 z 1

If the sampling rate is 8 kHz, determine the cut off frequency of the filter in Hz. [5 marks]

EE409/EE409.i Digital Signal Processing/I

Page 3 of 6

Question 3 (a) A digital filter has the following transfer function:


H ( z) = 1 + 2z 1 1 + 0.5 z 1 0.9 z 2

Determine the frequency response, and hence the phase response of the system. What is the value of the phase response at a frequency equal to one-fifth of the sampling frequency? [5 marks] (b) A microprocessor-based power quality meter is used to estimate third harmonic distortion in a voltage signal. This requires extracting the third harmonic of a 50 Hz mains voltage waveform using a resonator. Design a discrete-time resonator to carry out this function, for a sampling rate of 1000 Hz. The bandwidth of the resonator should be 30 Hz, and the gain of the resonator at DC should be equal to 1. Sketch the pole zero map of the filter, and give an expression for the difference equation. [7 marks] (c) A healthcare instrumentation application requires the removal of interference at 100 Hz and 150 Hz from an EMG signal. Design a digital filter with notches at the interference frequencies to achieve this objective. The signal is sampled at a frequency of 800 Hz, and notches of width 20 Hz are required. [8 marks]

EE409/EE409.i Digital Signal Processing/I

Page 4 of 6

Question 4 (a) A fourth-order filter has the following transfer function:

(1 + 5 z 1 )(0.2 1.2 z 1 + 0.8 z 2 ) H ( z) = (1 + 0.25 z 1 )(1 0.6 z 1 + 0.8 z 2 )


Draw a block diagram of a cascade implementation of the filter using first and secondorder sections, where the second-order section is Direct Form II. [4 marks] (b) A signal processing application requires spectral analysis of a signal that has a sampling frequency of 32 kHz. The spectral analysis is to be carried out using shorttime analysis with a window length of 40 msec, and with a resolution such that the frequency step is no greater than 20 Hz. Calculate the minimum number of samples that must be used to zero-pad each frame of the signal in order to achieve the desired frequency resolution, assuming that the FFT algorithm is used for spectral analysis. [4 marks] A linear-phase 256-tap FIR digital filter is to be implemented at a sampling rate of 8 kHz using digital hardware in an FPGA. Calculate the number of multiplies and additions required to process an eight-second duration of the (real) input signal, if the filter is implemented using a transversal filter structure. Use the fact that the filter is linear phase to reduce the number of multiplies required. Also, calculate the saving in the number of multiplies required to process the same duration of input signal, if the filter is implemented using fast convolution in the frequency domain using 256-point FFT and Inverse FFT. Assume that windowing with a 256-point Hamming window is used, where the coefficients of the window are pre-computed. Assume overlap of 50% is used in the frequency-domain filtering approach in determining the number of frames; however, you may ignore any additional overhead associated with overlap-add processing of the FFT output. [7 marks] (d) For an oscillator whose output is p(n)=sin(n0), where 0 is determined by the coefficient b1, show that a small change in oscillation frequency f0 is related to a change b1 in the coefficient b1 by the following expression: f 0 = f s b1 f0 4 cos 2 f s

(c)

where f0 is the frequency of oscillation in Hz, and fs is the sampling frequency. [5 marks]

EE409/EE409.i Digital Signal Processing/I

Page 5 of 6

Table of useful z-Transforms Sequence 1. Unit sample d(n) d(n-k) z-Transform 1 z-k

2. Unit step 3. Exponential

u(n) an u(n)

z/(z-1) z/(z-a)
z sin 0 z 2 z cos 0 + 1
2

4. Sinusoidal

sin(on) u(n)

cos(on) u(n)

z 2 z cos 0 z 2 2 z cos 0 + 1
z ( z 1) 2

5. Unit ramp

nu(n)

6. Product of ramp and signal nx(n) 7. Sum of Series: 1 + z 1 + z 2 + z 3 + ........... + z

dX ( z ) dz

N ( N 1) 1 z = 1 z 1

EE409/EE409.i Digital Signal Processing/I

Page 6 of 6

S-ar putea să vă placă și