



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Semester I Examinations 2011/
Exam Code(s) 4BP121, 4BN Exam(s) Fourth Electronic & Computer Engineering Fourth Electrical & Electronic Engineering
Module Code(s) EE 409 Module(s) Digital Signal Processing
Paper No. 1 Repeat Paper No
External Examiner(s) Prof. G. W. Irwin Internal Examiner(s) Prof. G. Ó Laighin Dr. E. Jones
Instructions: Answer any three questions from four. All questions carry 20 marks each.
Duration 2hrs No. of Pages 6 Discipline(s) Electrical & Electronic Engineering Course Co-ordinator(s) Dr. E. Jones
Requirements : MCQ Handout Statistical Tables Graph Paper Log Graph Paper Other Material Standard mathematical tables.
Question 1
(a) Write the difference equation of the discrete-time system shown in Figure 1, and hence determine the first five samples of the system step response. You may assume that the digital filter memory initial values are zero. [7 marks]
x ( n ) y ( n )
Figure 1.
(b) A digital filter is described by the following difference equation:
Write the transfer function of the system, and hence obtain an expression for the magnitude response of the system. What is the gain of the system at a frequency equal to one fifth of the sampling frequency? [6 marks]
(c) A discrete-time system has a finite-duration impulse response that consists of the samples {2, 1, -2}, 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, 3, -1, 6}, also commencing at n = 0. Indicate in detail the calculations needed to determine y (2). [7 marks]
Determine the frequency response, and hence the magnitude response of the system. What is the value of the phase response at a frequency equal to one-sixth of the sampling frequency? [5 marks]
(c) A biomedical instrumentation application requires the removal of mains interference ( Hz) from an ECG signal that is sampled at a rate of 360 kHz. Determine the transfer function of a notch filter suitable for removing this interference. A notch of width 10 Hz is required. [5 marks]
(d) Using the pole-zero placement method, determine the transfer function of a digital resonator with the following characteristics:
(i) Sampling rate of 48 kHz (ii) Centre frequency of 7.5 kHz (iii) Bandwidth of 150 Hz (iv) DC gain of 0.
Sketch the pole zero map of the filter, and give an expression for the difference equation. [5 marks]
Question 4
(a) Describe what is meant by windowing in short-time spectral analysis, and discuss the trade- offs that exist when choosing a window for a particular application. [2 marks]
An audio processing application requires that spectral analysis of the signal be carried out using the FFT algorithm. The sampling frequency is 48 kHz. If a time window of 32 ms is used, and the spectral resolution must be 24 Hz or less, calculate the amount of zero-padding required before the FFT. [3 marks]
(b) A fourth-order filter has the following transfer function:
z z z z
z z z z H z
Draw a block diagram of a cascade implementation of the filter using second-order sections, each of which is in Direct Form II. [4 marks]
[cont’d]
(c) A linear-phase 128-tap FIR digital filter is to be implemented at a sampling rate of 32 kHz using digital hardware in an FPGA. Calculate the number of multiplies and additions required to process a four-second duration of the (real) input signal, if the filter is implemented using a transversal filter structure. Try to exploit 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 128-point FFT and Inverse FFT. You may ignore any computational overhead associated with overlapping the signal in the frequency-domain approach. [6 marks]
(d) Draw a block diagram of an oscillator that produces a cosine wave with a frequency of 3. kHz, at a sampling rate of 8 kHz. The amplitude of the cosine wave should be 1. Calculate the values of the digital filter coefficients, and the initial conditions for the oscillator, assuming that the first sample produced by the oscillator corresponds to a time index of n = 0. [5 marks]