






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
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
1 / 10
This page cannot be seen from the preview
Don't miss anything!







page 1 S. Derenzo
NAME (please print)
STUDENT (SID) NUMBER
College of Engineering Electrical Engineering and Computer Sciences Berkeley
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)
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:
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.