EECS 145M Microcomputer Interfacing Lab: Final Exam Questions, Exams of Microcomputers

The final exam questions for the eecs 145m: microcomputer interfacing lab course at the university of california, berkeley. The questions cover various topics related to data acquisition, digital interfacing components, and signal processing using the fast fourier transform.

Typology: Exams

2012/2013

Uploaded on 03/22/2013

sasthi
sasthi 🇮🇳

4.5

(51)

169 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
page 1 S. Derenzo
NAME (please print)
STUDENT (SID) NUMBER
UNIVERSITY OF CALIFORNIA
College of Engineering
Electrical Engineering and Computer Sciences
Berkeley
EECS 145M: Microcomputer Interfacing Lab
LAB REPORTS:
1 _________________ 2 __________________ 3 ___________________
8 _________________ 9 __________________ 10 ___________________
21 _________________ 22 __________________ 23 ___________________
24 _________________ 26 _________________
Total of top 4 Lab Grades
Total of top 4 Question Sections
Lab Participation
Mid-Term #1
Mid-Term #2
Final Exam
Total Course Grade
_______________ (400 max)
_______________ (100 max)
_______________ (100 max)
_______________ (100 max)
_______________ (100 max)
_______________ (200 max)
_______________ (1000 max)
COURSE LETTER
GRADE
Spring 2003 FINAL EXAM (May 23)
Answer the questions on the following pages completely, but as concisely as possible. The exam
is to be taken closed book. Use the reverse side of the exam sheets if you need more space.
Calculators are OK. In answering the problems, you are not limited to the particular
equipment you used in the laboratory exercises.
Partial credit can only be given if you show your work.
FINAL EXAM GRADE :
1 __________ (48 max) 2 __________ (24 max) 3 __________ (20 max)
4 __________ (17 max) 5 __________ (71 max) 6 __________ (20 max)
TOTAL __________ (200 max)
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download EECS 145M Microcomputer Interfacing Lab: Final Exam Questions and more Exams Microcomputers in PDF only on Docsity!

page 1 S. Derenzo

NAME (please print)

STUDENT (SID) NUMBER

UNIVERSITY OF CALIFORNIA

College of Engineering Electrical Engineering and Computer Sciences Berkeley

EECS 145M: Microcomputer Interfacing Lab

LAB REPORTS:

1 _________________ 2 __________________ 3 ___________________

8 _________________ 9 __________________ 10 ___________________

21 _________________ 22 __________________ 23 ___________________

24 _________________ 26 _________________

Total of top 4 Lab Grades

Total of top 4 Question Sections

Lab Participation

Mid-Term #

Mid-Term #

Final Exam

Total Course Grade

_______________ (400 max)

_______________ (100 max)

_______________ (100 max)

_______________ (100 max)

_______________ (100 max)

_______________ (200 max)

_______________ (1000 max)

COURSE LETTER

GRADE

Spring 2003 FINAL EXAM (May 23)

Answer the questions on the following pages completely, but as concisely as possible. The exam is to be taken closed book. Use the reverse side of the exam sheets if you need more space. Calculators are OK. In answering the problems, you are not limited to the particular equipment you used in the laboratory exercises.

Partial credit can only be given if you show your work.

FINAL EXAM GRADE :

1 __________ (48 max) 2 __________ (24 max) 3 __________ (20 max)

4 __________ (17 max) 5 __________ (71 max) 6 __________ (20 max)

TOTAL __________ (200 max)

Problem 1 (total 48 points) Describe briefly the operation of the following devices:

1a (8 points) R-2R D/A converter

1 b (8 points) Analog input port (like in the DT3010 board used in the 145M labs)

1 c (8 points) Comparator with hysteresis

Problem 2 (24 points) In this course we have discussed four interfacing components that have one input signal, one control input, and one output signal. Timing diagrams for these four components as they would occur in typical use are shown below:

Input

Control

Output

Interfacing component 1

Input

Control

Output

Input

Control

Output

Input

Control

Output

Interfacing component 2

Interfacing component 3

Interfacing component 4

For each interfacing component listed below in column one, enter its number in column two:

Name Interfacing component number

Transparent latch

Tri-state driver

Edge-triggered flip-flop

Sample-and-hold amplifier

Problem 3 (20 points)

A colleague (who has never taken 145M) has just designed a digital data acquisition system using a microcomputer, a digital input port with Edge-triggered flip-flop registers, and the following handshaking protocol:

1 When the program is ready for data, it sets “ready for input data” TRUE.

2 When the external circuit detects “ready for input data” TRUE, it pulses the clock input of the Edge-triggered flip-flops

3 The external circuit asserts data on the input of the Edge-triggered flip-flops and makes “input data available” TRUE

4 The program detects “input data available” TRUE and reads the output of the Edge-triggered flip-flops

5 The program sets “ready for input data” FALSE, processes the data, and then returns to step 1

Your colleague complains that his design does not work, and that the values read during step 4 have nothing to do with the digital input data asserted in step 3. After carefully examining his steps, you find that two serious errors were made. What are these errors, and how would you fix them?

Problem 5 (total 71 points):

Design a system for using the Fast Fourier Transform to detect a repeated signal on a background of white random noise. (Imagine that a civilization on a nearby star is trying to initiate communication with earth over the background noise of the universe by sending a single message over and over)

Assume the following:

  • The message is repeated with a repetition period that is exactly equal to the message length
  • Preliminary data indicate that the repetition period is approximately 2 seconds (±20% uncertainty)
  • The highest frequency in the message is 1 MHz
  • The random noise background is much larger than the signal and is not bandwidth limited.
  • You have a computer equipped with a 16-bit analog input port and the sampling frequency is 4 million per second.
  • You take a single data set, perform a single Fourier transform, and the available memory for the complex double-precision Fourier coefficients is limited to 1024 Mbytes
  • Double precision numbers require 64 bits of storage

5a (16 points) Sketch your design, showing and labeling all essential components and lines.

5 b (16 points) List the steps in the procedure for acquiring data and recovering one period of the message while rejecting noise as much as possible. (Be specific as to number of samples, use of FFT, rearranging coefficients, etc.)

5 e (8 points) How does your design prevent spectral leakage?

5 f (7 points) How accurately do you think that you can you determine the repetition period from your analysis? (Justify your answer)

Problem 6 (total 20 points): In problem 5 above you determined the period of the signal with improved accuracy. How could you use this information to take a new set of data with an improved data analysis. Describe how the magnitude of the Fourier coefficients differ from those of part 5c above.