ECE 5650/4650 Exam II November 20, 2018 Name:

Similar documents
ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

EE 470 Signals and Systems

ELT Receiver Architectures and Signal Processing Fall Mandatory homework exercises

Final Exam Solutions June 14, 2006

EECS 452 Midterm Exam Winter 2012

CS3291: Digital Signal Processing

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Multirate Digital Signal Processing

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

ELEC3104: Digital Signal Processing Session 1, 2013

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

UNIVERSITY OF SWAZILAND

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Digital Filtering: Realization

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Electrical & Computer Engineering Technology

Digital Processing of Continuous-Time Signals

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

ijdsp Workshop: Exercise 2012 DSP Exercise Objectives

4. Design of Discrete-Time Filters

Chapter 2: Digitization of Sound

Digital Processing of

Multirate DSP, part 1: Upsampling and downsampling

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.

Infinite Impulse Response (IIR) Filter. Ikhwannul Kholis, ST., MT. Universitas 17 Agustus 1945 Jakarta

EECS 452 Midterm Exam (solns) Fall 2012

Signals and Systems Lecture 6: Fourier Applications

Signals and Filtering

Suggested Solutions to Examination SSY130 Applied Signal Processing

The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

Part B. Simple Digital Filters. 1. Simple FIR Digital Filters

EE 422G - Signals and Systems Laboratory

F I R Filter (Finite Impulse Response)

ECE 5650/4650 MATLAB Project 1

Experiment 2 Effects of Filtering

Discrete Fourier Transform (DFT)

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT

Experiment 4- Finite Impulse Response Filters

Design of FIR Filters

Final Exam. EE313 Signals and Systems. Fall 1999, Prof. Brian L. Evans, Unique No

AUDL Final exam page 1/7 Please answer all of the following questions.

Signals and Systems Lecture 6: Fourier Applications

Subtractive Synthesis. Describing a Filter. Filters. CMPT 468: Subtractive Synthesis

Signal processing preliminaries

APPENDIX A to VOLUME A1 TIMS FILTER RESPONSES

Lakehead University. Department of Electrical Engineering

1.Explain the principle and characteristics of a matched filter. Hence derive the expression for its frequency response function.

ECE 429 / 529 Digital Signal Processing

Signals and Systems Using MATLAB

EECS 452 Midterm Closed book part Winter 2013

Project 2 - Speech Detection with FIR Filters

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

ESE531 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Signal Processing

ECE 203 LAB 2 PRACTICAL FILTER DESIGN & IMPLEMENTATION

Final Exam Solutions June 7, 2004

Frequency Domain Representation of Signals

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

ECE 5655/4655 Laboratory Problems

DSP First Lab 08: Frequency Response: Bandpass and Nulling Filters

Final Exam Practice Questions for Music 421, with Solutions

Lab 4 An FPGA Based Digital System Design ReadMeFirst

PHYS225 Lecture 15. Electronic Circuits

Copyright S. K. Mitra

EE 438 Final Exam Spring 2000

UNIT-II MYcsvtu Notes agk

ECE 4600 Communication Systems

Signals. Continuous valued or discrete valued Can the signal take any value or only discrete values?

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3

Spectrum. The basic idea of measurement. Instrumentation for spectral measurements Ján Šaliga 2017

UNIT TEST I Digital Communication

System analysis and signal processing

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

Lecture 3, Multirate Signal Processing

1. In the command window, type "help conv" and press [enter]. Read the information displayed.

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2025 Fall 1999 Lab #7: Frequency Response & Bandpass Filters


Lab S-5: DLTI GUI and Nulling Filters. Please read through the information below prior to attending your lab.

Continuous-Time Signal Analysis FOURIER Transform - Applications DR. SIGIT PW JAROT ECE 2221

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing

Problem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Improving Signal Quality 3 24 Filter Bank Design 4 24 Potpourri Total 100

BandPass Sigma-Delta Modulator for wideband IF signals

ECE 301, final exam of the session of Prof. Chih-Chun Wang Saturday 10:20am 12:20pm, December 20, 2008, STEW 130,

FX Basics. Filtering STOMPBOX DESIGN WORKSHOP. Esteban Maestre. CCRMA - Stanford University August 2013

Fourier Methods of Spectral Estimation

EEE 309 Communication Theory

DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS

George Mason University ECE 201: Introduction to Signal Analysis Spring 2017

18 Discrete-Time Processing of Continuous-Time Signals

System Identification and CDMA Communication

Biosignal filtering and artifact rejection. Biosignal processing I, S Autumn 2017

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu

Digital Filters FIR and IIR Systems

EECS 452 Practice Midterm Exam Solutions Fall 2014

Editor: this header only appears here to set number 100 and is not to be included.

Transcription:

ECE 5650/4650 Exam II November 0, 08 Name: Take-Home Exam Honor Code This being a take-home exam a strict honor code is assumed. Each person is to do his/her own work. Bring any questions you have about the exam to me. Please be clear and concise in your answers. You may use Python where appropriate. The exam is due under the door of my office no later than :00 PM Tuesday November 0, 08..) In the multirate system shown below, suppose t has Fourier transform such that X c j = 0, 000. t C/D 4 D/C y c t T xn = nt yn 5 pts. a.) What value of T is required so that = 0 4. Xe j T 5 pts. b.) How should T be chosen so that y c t = t?

ECE 5650/4650 Exam II, Fall 08 of 7 5 pts..) The transfer function of a multipath radio channel is FIR with system function H chan z = + b z + b z + b z 3 = +.z + 0.04z. 3 In order to correct for the magnitude distortion introduced by the channel, we wish to connect a stable and causal digital filter, characterized by a system function H eq z, at the receiving end. Determine H eq z to remove the amplitude distortion. A good starting point would be to plot the pole-zero pattern of Hz. Rectangular pulse shaped bit stream xn H chan z n H eq z Receiver yn H MF z Recovered Bits zn Sample at max eye opening To validate your design run the Python code below to see that without h_chan = signal.convolve([,.],[,0,0.04]) H eq z the eyeplot is Ns = 8 # Clean signal x,b,data = ss.nrz_bits(00,ns,pulse='rect') # Distorted signal x_c = signal.lfilter(h_chan,,x) b_eq =? a_eq =? # Equalized signal y = signal.lfilter(b_eq,a_eq,x_c) ss.eye_plot(signal.lfilter(b,,x),*ns,ns-) title(r'ideal Rectangular Pulse Shape Eye Plot') ss.eye_plot(signal.lfilter(b,,x_c),*ns,ns) title(r'distorted Rectangular Pulse Shape Eye Plot') ss.eye_plot(signal.lfilter(b,,y),*ns,ns) title(r'equalized Rectangular Pulse Shape Eye Plot') only partially open, where as with the equalizer it again is fully open, as in the sample plot above. Three plots will be created: () ideal, no distortion channel, () with distortion, no equalizer, (3) the full system, distortion channel model, and equalizer. The matched filter (MF) is part of the signal processing to prepare the waveform for conversion back to recovered data bits, by sampling at the maximum eye opening (you learn about this in Comm II).

ECE 5650/4650 Exam II, Fall 08 3 of 7 3.) Consider the following A/D digitizing system. t = Acosf o t x a t H aa f A/D xn H aa f A/D Specs = ------------------------- f s = 00MHz X + ----- f m = v. f in MHz 65 4 B + = 4 bits 6 pts. a.) Suppose A =.5v. and f o = 50 MHz. What is the signal-to-quantization noise ratio ( SNR q ) at the A/D output xn. 6 pts. b.) Repeat part (a) with increased to 90 MHz. f o 8 pts. c.) Build a behavioral level simulation model in Python and take measurements. To get a better feel for how quantization noise impacts real systems, here you develop a simple simulation model that crosses the boundaries between continuous and discrete-time systems. The simulation block diagram is shown below. Note 4x oversampling is used to model the ----- n = A cos f o -----n signal.butter(7,*fc/fs4) 4 = 400 MHz x a4 n ss.simplequant(x,btot,xmax, sat ) x a n = 00 MHz Generate at least 40,000 samples at the 4x rate to provide at minimum 0k samples into the quantizer and FFT processing. xn Spectrum Analyze continuous-time portion of the system. The downsampler and quantizer together form the ADC model. Implement this system to verify the change in db (call it db ) from the spectral peak at 5 and 45 MHz to the quantization noise floor surrounding the peak agrees with your earlier analysis. A calibration factor is however needed to compare your theory with the measurements: SNR Q db = db 0log 0 Nfft/.5 + 0log 0 Since the signal at the output of the quantizer has random characteristics you need a true

ECE 5650/4650 Exam II, Fall 08 4 of 7 power spectrum estimation function. I want you to use the function below for this purpose: # Wrap ss.simple_sa() into an easier interface for periodogram # averaging. Also include some additional scaling. def simple_sa(x,nfft,fs,db=true): """ Sx = simple_sa(x,nfft,fs) Mark Wickert November 04 """ Q = len(x) K = int(floor(q/nfft)) # max number of subrecords available f, Sx = ssd.simple_sa(x,nfft,nfft,fs,k,'hanning'); w = hanning(nfft) Sx /= sum(w**)/nfft if db == True: Sx = 0*log0(Sx) return f, Sx To avoid some of the spurious signals (spectrum spurs), you will need to tweak the sinusoid frequencies a bit. You might start by trying 5.34 MHz and 45.7684 MHz. Your results will be two estimated values of SNR Q in db, one at 5 MHz and one at 45 MHz. Remember db is the change in db from the spectrum peak to the noise floor surrounding the peak. If the noise floor has ripples in it, just use the average value of the noise floor in db. Avoid spurs by tweaking the input sinusoid frequency. Your spectrum estimation calls should look something like: f00, Sx5d4q = simple_sa(xa5d4q, **3, 00) plot(f00,sx5d4q) 5 pts. 4.) A finite impulse response filter is designed using fir_remez_bpf() found in the Python module fir_design_helper.py. The impulse response hn is obtained as the coefficient array b to make a bandpass filter as follows: import sk_dsp_comm.fir_design_helper as fir_d b = fir_d.fir_remez_bpf(300,4000,0000,0800,0.,50,48000,n_bump=3) The passband runs from 4000 Hz to 0,000 Hz, relative to a sampling rate of 48 khz, and the stopband lies below 300 Hz and above 0,800 Hz. The passband ripple is 0. db and the stopband attenuation is 50 db. Setting N_bump = 3 fine tunes the stopband attenuation. Plot the magnitude response of the filter in db and the pole-zero plot. The filter input is driven by a white noise process having autocorrelation function ww m = 5m. Find the output noise variance y, where yn = wn *hn. Hint: To obtain the theoretical result consider the result of text Problem.9b. Check your work via a simple Python simulation that uses w = sqrt(5)*randn(00000) as the filter input. Then find var(y).

ECE 5650/4650 Exam II, Fall 08 5 of 7 5.) An LTI system Hz has pole zero plot as shown below: Im z-plane 45 He j0 = -- -- 3 Re 45 0 pts. a.) Using just pole-zero plot sketches, show how Hz can be expressed as a product of a minimum phase system in cascade with a linear phase system, i.e., Hz = H min zh lin z. 0 pts. b.) Write out the exact mathematical form for the linear phase section H lin z. Introduce a gain scale factor K so that the dc gain of the original system is unity.

ECE 5650/4650 Exam II, Fall 08 6 of 7 0 pts. 6.) Consider the multirate sampling system shown below. Carefully sketch the magnitude spectrum at all five locations beyond the input in the block diagram shown below. xn Hz Hz 6 yn w n w n w 3 n w 4 n Xe j He j -- --

ECE 5650/4650 Exam II, Fall 08 7 of 7 Comments.) No comment..) No comment. 3.) Parts (a) and (b) of this problem are very similar to a homework Problem 3 from Set #5. The difference is that there is an antialiasing filter (7th-order Butterworth) at the input to the ADC, that will attenuate the input sinusoid depending upon the frequency of the sinusoid. You only need to be concerned with the amplitude at the filter output. The cutoff frequency is 65 MHz. In 3c notice that signal.butter() returns b and a coefficient arrays, since it is an IIR filter. Just load both b and a into signal.lfilter(). Very good results can be obtained by increasing the FFT length to 3 = 89. This gives better frequency resolution for estimating the spectral peak. Scalloping loss is a concern. FYI: To explain more about what is going on with the 3c calculation, the factor 0log 0 accounts for the fact that / the total power is present in the visible spectral line, the other / is at the negative frequency which is not shown. The factor 0log 0 Nfft.5 is due to the fact that the FFT (actually mathematically the DFT) acts as a bank of bandpass filters to the noise and signal. The signal has a discrete spectral line, so it s power passes through one of the bandpass filters (it may have scalloping loss unless Nfft is large, see notes Chapter 7), but the noise has a continuous spectrum and the power passed by each filter is registered as the filter noise equivalent bandwidth, for the hanning window.5/nfft, times the noise spectral density. The hanning window scales the /Nfft noise bandwidth by.5 (see Notes Chapter 7 p. 7-65). 4.) In the analysis part of this problem just carefully evaluate the sum in the hint, that is use the formula y = w n = h n. This formula is based on the discrete-time random process property for LTI systems that y since ww e j = w for a white process. The last step follows from Parseval s theorem. In the Python portion of this problem I want you use signal.lfilter() to produce the filtered output yn. 5.) This problem is similar to a homework Problem of Set #6. See the examples I have posted next to the exam link (5650Exam_Examples.pdf). The hardest part about this problem is making sure the filter gain at = 0 or z = is unity as specified in the pole-zero plot. This just requires including a gain constant in the original Hz. 6.) For related problem examples see 5650Exam_Examples.pdf. = yy 0 = ----- yy e j e jn d = j ----- w He d = = w n = n = 0 h n ----- ww e j He j d. http://en.m.wikipedia.org/wiki/window_function