EECS 452 Midterm Exam Winter 2012

Similar documents
EECS 452 Midterm Exam (solns) Fall 2012

EECS 452 Practice Midterm Exam Solutions Fall 2014

EECS 452 Midterm Closed book part Winter 2013

Problem Point Value Your score Topic 1 28 Filter Analysis 2 24 Filter Implementation 3 24 Filter Design 4 24 Potpourri Total 100

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

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

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications

f o Fig ECE 6440 Frequency Synthesizers P.E. Allen Frequency Magnitude Spectral impurity Frequency Fig010-03

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

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

DSP Based Corrections of Analog Components in Digital Receivers

EE 470 Signals and Systems

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

SCUBA-2. Low Pass Filtering

Midterm 1. Total. Name of Student on Your Left: Name of Student on Your Right: EE 20N: Structure and Interpretation of Signals and Systems

CS3291: Digital Signal Processing

Electrical & Computer Engineering Technology

Cyber-Physical Systems ADC / DAC

Digital Signal Processing

ece 429/529 digital signal processing robin n. strickland ece dept, university of arizona ECE 429/529 RNS

LLRF4 Evaluation Board

Advanced AD/DA converters. ΔΣ DACs. Overview. Motivations. System overview. Why ΔΣ DACs

Discrete Fourier Transform (DFT)

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

Data Acquisition: A/D & D/A Conversion

Design of Bandpass Delta-Sigma Modulators: Avoiding Common Mistakes

ASN Filter Designer Professional/Lite Getting Started Guide

EE 403: Digital Signal Processing

The Fundamentals of Mixed Signal Testing

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

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

FIR System Specification

Problem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Upconversion 3 30 Filter Design 4 18 Potpourri Total 100

EE 464 Short-Time Fourier Transform Fall and Spectrogram. Many signals of importance have spectral content that

MULTIRATE IIR LINEAR DIGITAL FILTER DESIGN FOR POWER SYSTEM SUBSTATION

NAME STUDENT # ELEC 484 Audio Signal Processing. Midterm Exam July Listening test

ELT Receiver Architectures and Signal Processing Fall Mandatory homework exercises

ECE 429 / 529 Digital Signal Processing

Introduction. BME208 Logic Circuits Yalçın İŞLER

IES Digital Mock Test

EE 109 Midterm Review

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

VCC. Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) Last Update: 03/19/14

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Electronic Circuits Spring 2007

READ THIS FIRST: *One physical piece of 8.5x11 paper (you may use both sides). Notes must be handwritten.

Lakehead University. Department of Electrical Engineering

EC6502 PRINCIPLES OF DIGITAL SIGNAL PROCESSING

HW 1 is due on tuesday. PPI is due on Thurs ( to hero by 5PM) Lab starts next week.

6 Sampling. Sampling. The principles of sampling, especially the benefits of coherent sampling

Section 1. Fundamentals of DDS Technology

Microcomputer Systems 1. Introduction to DSP S

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

Signals and Systems Using MATLAB

Cascaded Noise-Shaping Modulators for Oversampled Data Conversion

DIGITAL SIGNAL PROCESSING LABORATORY

Project 2 - Speech Detection with FIR Filters

System analysis and signal processing

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

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

Digital Signal Processing of Speech for the Hearing Impaired

L A B 3 : G E N E R A T I N G S I N U S O I D S

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

Digital Hearing Aids Specific μdsp Chip Design by Verilog HDL

Week 1 Introduction of Digital Signal Processing with the review of SMJE 2053 Circuits & Signals for Filter Design

Signal Processing Toolbox

Computerized Data Acquisition Systems. Chapter 4

Advanced Digital Signal Processing Part 5: Digital Filters

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

EE 210 Lab Exercise #4 D/A & A/D Converters

AN2182 Application note

Low distortion signal generator based on direct digital synthesis for ADC characterization

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

Waveform Encoding - PCM. BY: Dr.AHMED ALKHAYYAT. Chapter Two

Interpolators And Interpolation

Understanding Digital Signal Processing

Tirupur, Tamilnadu, India 1 2

Part One. Efficient Digital Filters COPYRIGHTED MATERIAL

Gábor C. Temes. School of Electrical Engineering and Computer Science Oregon State University. 1/57

UNIVERSITY OF SWAZILAND

Frequency Domain Representation of Signals

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

10. Chapter: A/D and D/A converter principles

Cyclone II Filtering Lab

RTTY: an FSK decoder program for Linux. Jesús Arias (EB1DIX)

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

Lab 4 Digital Scope and Spectrum Analyzer

GUJARAT TECHNOLOGICAL UNIVERSITY

UNIVERSITY OF CALIFORNIA. EECS 145M: Microcomputer Interfacing Lab

Algebraic Operations on Delta-Sigma Bit-Streams

Final Exam Practice Questions for Music 421, with Solutions

Computer Architecture Laboratory

Laboratory Assignment 4. Fourier Sound Synthesis

SAMPLING AND RECONSTRUCTING SIGNALS

SIGMA-DELTA CONVERTER

Digital Channelized Wide Band Receiver Implemented with a Systolic Array of Multi-Rate FIR Filters

3. DAC Architectures and CMOS Circuits

Filter Design, Active Filters & Review. EGR 220, Chapter 14.7, December 14, 2017

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12.

FPGA-Based Digital Filters Using Bit-Serial Arithmetic

FFT Analyzer. Gianfranco Miele, Ph.D

Transcription:

EECS 452 Midterm Exam Winter 2012 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Scores: # Points Section I /40 Section II /30 Section III /30 Total /100 NOTES: Open book, open notes. There are 8 pages including this one. Calculators are allowed, but no smart phones, laptops, or other wireless devices are allowed. You have 120 minutes for the exam. Be sure to show work and explain what you ve done when asked to do so. You will not receive partial credit without showing work. In the context of the exam you are to assume all signed numbers are two s complement numbers. 1

Section I -- Short answer 40 points 1) A 8 bit binary adder adds two values 0xA5 and 0x64 allowing overflow without saturation. What is the result (in Hexadecimal and Decimal) of the addition in the accumulator of this adder if the two input values are [4] Hex Decimal a) Unsigned binary numbers: b) 2 s complement binary numbers: c) Unsigned Q4 binary numbers: d) Signed (2 s complement) binary Q4 numbers 2) Express the signed decimal fraction -0.625 in the following (Hex or binary) format [2] a) 8 bit two s complement Q7: b) 8 bit two s complement Q3: 3) The result of multiplying two 16 bit two s complement Q15 numbers together is a (put a check on the line next to the correct answer) [4] a) 16 bit Q15 number: b) 32 bit Q30 number: c) 32 bit Q15 number: d) None of the above: 4) A 16 bit quantizer achieves a post-quantization SNR of 60dB. If you only needed attain a specification (spec) of 30dB post-quantization SNR could you reduce the number of bits in the quantizer to12 bits and still statisfy the spec? Why or why not? [6] 2

5) A digital spectrum analyzer of a continuous time signal uses discrete sampling and a 512 point FFT. If the frequency spacing in the FFT spectrum is to be at most 100Hz what is the maximum sampling frequency that the analyzer can handle? [6] 6) A certain filter has the pole zero constellation shown below. Is this an FIR or an IIR filter? What is the filter order? Is is lowpass, highpass, bandpass, or none of the above? [6] 7) The ADC of a DSP system samples an input signal at 48,000 samples/sec sampling rate. The signal is processed by dropping every even sample and sending only the odd samples to the DAC. Assume that the DAC inserts 1/24 msecs between each sample. If the input were a sinusoid at frequency 8kHz what would be the output of the DAC assuming no quantization error and an ideal reconstruction filter? [6] 8) The counter below uses 3 D flip flops. Draw the timing table indicating the states of the counter over the first 8 clock cycles (assume initial state is 000). What are the signal activity levels (α 1, α 2 and α 3 ) at the outputs Q2, Q1, Q0 of the counter? What is the total power dissipation of the counter assuming that the logic voltage is V d =5V, the clock rate is f clk =1MHz and the outputs of each flip flop see the same capacitance C=10pF? [6] 3

Section II longer answers 30 points 1) You wish to implement a filter on a 16 bit DSP chip that runs at 250MHz to do audio signal filtering. On this DSP chip the number of clock cycles required for a complex vector multiply of two 128-element vectors is 1500 cycles. The number of cycles for a 128 point complex FFT or IFFT (with scaling) is 2500 cycles. The number of cycles required for computing the output of a 16 th order IIR filter is 1000 cycles [10]. a) One implementation of the filter is to use a 16 th order IIR filter whose transfer function approximates the desired transfer function in both phase and magnitude. How many words of memory (16 bit words) are required to store the coefficients and the filter states in order implement this filter? What is the maximum sampling rate F s such that the filter computation can be performed in real time, i.e. that the computation for the previous sample is completed before the next sample comes in? [4] b) Another implementation of the filter is to use a DFT filter bank that works as follows. Perform a 128 point FFT on the 128 previous input samples. Then multiply these complex values by the desired transfer function. Finally, perform the IFFT on the result. How much memory is required to store the coefficients and the filter states in order implement this filter? What is the maximum sampling frequency that can be used so that the filter computation can be performed in real time, i.e., so that the filter output can be computed on the previous 128 block of samples before the next sample comes in? [4] c) If you had a fast enough clock rate to handle all the computations in real time and enough memory storage capacity, are there any advantages to using the DFT filterbank as compared to the IIR filter? [2] 2) Consider the discrete time signal x[n]=0.5*cos(2π f 1 n)+sin(2π f 2 n), n=1,,8. [10] a) What is the DFT of x[n] if f 1 =1/4 and f 2 =3/8? Carefully plot the magnitude and phase being sure to label and quantify the ranges of the axes. [5] b) If x[n] corresponded to a continuous-time signal x(t) sampled at 48kHz what frequencies (Hz) are present in the original signal x(t)? [3] c) Is there spectral leakage in this example? Why or why not? [2] 4

3) The input output relation of a particular linear time invariant digital filter is: [10] N y[n] = ( 1) k x[n k] k=0 a) What is the transfer function H(z) associated with the filter? Plot poles-zeros constellation of H(z) in the complex plane. [3] b) Compute and plot the magnitude and phase frequency response as a function of the digital frequency variable f of the DTFT. [3] c) Is this filter linear phase? What is its group delay? [2] d) Is this filter LP, BP, HP or none of the above? [2] 5

Section III Longer answers 30 points ADC Waveform table Register 1) A waveform synthesizer uses the DDS system above to generate a periodic waveform using a 4 bit waveform table containing 16 samples of a single period of the linear ramp waveform s[n]=n, n=0,1,2 15. [15] a) Assume FTV=1 and B A = B FTV. What should the clock frequency f s (Hz) be in order for the output waveform frequency to be equal to 10kHz? Plot three or four periods of the analog output over time. Be careful to label your axes and indicate the amplitude and period of the waveform on your plot.[7] b) Now we modify the DDS by increasing B FTV and connected the table and to the register in the following non-standard manner. We set B FTV =B A +1 and make the upper 2 MSB s of the register address the 2 MSB s of the waveform table and the lower 2 LSB s of the register address the 2 LSB s of the waveform table (see diagram below). What is now the output waveform frequency in terms of the clock rate f s (Hz), B FTV and B A? What should the clock frequency be for the waveform frequency to be 10kHz? Plot a single period of the output assuming the linear ramp waveform you assumed in part a). [8] 6

2) Consider the digital filter below that produces an output y[n] given input x[n]. [15]. a) Is this filter FIR or IIR? What is the filter order? [5] b) Assuming that that the input is scaled appropriately is this filter implementable in 16 bit Q(14) arithmetic? Could it be implemented in 16 bit Q(15) with a small modification? If so how would you modify it? [5] c) Can this filter be implemented with biquads as in Lab 5? How many biquads would be necessary? [5] 7