Transparent - Microcomputer Interfacing Laboratory - Exam, Exams of Microcomputers

Main points of this exam paper are: Transparent, Sample and Hold Amplifier, Latch, Differential Linearity Error, Relative Accuracy Error, Frequency Aliasing, Spectral Leakage

Typology: Exams

2012/2013

Uploaded on 04/01/2013

saji
saji 🇮🇳

4.5

(2)

54 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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 _________________
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 1997 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 but not needed. In answering the problems, you are not limited by
the particular equipment you used in the laboratory exercises. Many formulae from
the course have been provided for you on the last pages.
Partial credit can only be given if you show your work.
FINAL EXAM GRADE :
1 __________ (30 max) 2 __________ (30 max) 3 _________ (30 max)
4 __________ (60 max) 5 _________ (50 max) TOTAL __________ (200 max)
Spring 1997 EECS 145M Final Exam page 1 S. Derenzo
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Transparent - Microcomputer Interfacing Laboratory - Exam and more Exams Microcomputers in PDF only on Docsity!

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 _________________

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 1997 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 but not needed. In answering the problems, you are not limited by the particular equipment you used in the laboratory exercises. Many formulae from the course have been provided for you on the last pages.

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

FINAL EXAM GRADE :

1 __________ (30 max) 2 __________ (30 max) 3 _________ (30 max)

4 __________ (60 max) 5 _________ (50 max) TOTAL __________ (200 max)

Problem 1 (total 30 points):

Briefly describe the essential differences between the following pairs of terms:

1a. (10 points) Transparent latch vs. sample and hold amplifier

1b. (10 points) Differential linearity error vs. relative accuracy error (of a D/A converter)

1c. (10 points) Frequency aliasing vs. spectral leakage.

Problem 3 (total 30 points):

You have a working real-time sampling and Fourier analysis system that uses a Butterworth anti- aliasing filter.

Consider the following design changes for improving your system:

  1. Increasing the sampling frequency with faster hardware
  2. Adding more poles to the low-pass anti-aliasing filter
  3. Increasing the corner frequency of the low-pass anti-aliasing filter
  4. Adding a Hanning window.
  5. Sampling for a longer time
  6. Using an A/D converter with higher accuracy (more bits)

3a. (10 points) To increase the highest frequency that can be accurately sampled, what design change(s) would be useful? Give a brief reason for each.

3b. (10 points) To reduce the frequency spacing ∆ f between Fourier transform coefficients, what design change(s) would be useful? Give a brief reason for each.

3 c. (10 points) For waveforms whose highest frequency components are adequately sampled in frequency but have infinite extent in time, which design change(s) would improve the observation of weak harmonic components whose frequencies are close to a strong harmonic component? Give a brief reason for each.

Problem 4 (60 points)

Design in quantitative detail a microcomputer-based data acquisition and Fourier transform system that has the following requirements: Amplitude accuracy of ±0.1% from 0 Hz to 18 kHz All higher frequencies contribute less than 0.1% of their amplitude to the 0 Hz to 18 kHz band. Low spectral leakage for all input waveforms. Ability to individually resolve two components of equal amplitude 1 Hz apart

You are provided with the following components: Microcomputer with disk drive, keyboard, display screen Counter/timer circuit that can be set by the computer to produce periodic output pulses I/O port having 16 input and 16 output lines. Reading or writing takes 1 μs. An A/D converter of your choosing that has a "start conversion" input line and a "data available" output line. A 12-stage Butterworth low-pass filter of your design (see the design table at the end of this exam).

4a. (20 points) Draw the block diagram for the microcomputer, A/D, and the lines that connect them. Label all essential components, control lines, and data lines. Provide sufficient detail so that a skilled technician (who has not taken the course) could understand and build your design.

Problem 5 (total 50 points):

You have a computer with an analog input/output port and a high-power amplifier with a frequency response that you know:

(1) does not change with time

(2) is accurate for frequencies below f min, and

(3) declines for frequencies above f min, but is more complicated than a simple function such as fn.

Your goal is to determine the analog output port waveform b ( t ) that will make the high-power amplifier produce an arbitrary output waveform a ( t ).

5a. (25 points) For the case where a ( t ) has a known period T and has zero frequency components above f max, describe all the necessary steps that you would use to compute the amplifier input amplitudes bi that would produce the desired amplifier output values ai. ( Hint: use the FFT and the Fourier convolution theorem.) Provide sufficient detail so that a programmer/technician who has not taken the course could carry out your procedure.

5b. (25 points) Consider the more general case where (1) a ( t ) is not periodic, (2) a ( t ) is

described by a series of amplitudes ai stored on a high-capacity optical disk and (3) the amplitudes

ai are to be produced by the amplifier with a periodic time interval ∆ t. Your task is to determine the

finite impulse response (FIR) digital filter that will continuously transform the series ai to a new

series bi that when sent through the amplifier will produce the original series ai. In other words,

find the digital filter that will pre-condition the ai amplitudes to compensate for the limited response

of the amplifier. ( Hint: use the FIR filter as a convolution.) Provide sufficient detail so that a

programmer/technician who has not taken the course could carry out your procedure.

f max =

2 N +^1 π T

V ( t ) = V (0) et^ /^ RC

V out V in

1 + ( f / fc )^2 n^

(see table below)

f / f c ( n = 6) (^) 0.596 0.723 0.886 1.000 2.154 3.162 4. f / f c ( n = 8) (^) 0.678 0.784 0.913 1.000 1.778 2.371 3. f / f c ( n = 10) (^) 0.733 0.823 0.930 1.000 1.585 1.995 2. f / f c ( n = 12) (^) 0.772 0.850 0.941 1.000 1.468 1.778 2.

N = 8 9 10 11 12 13 14 15

2 N^ = 256 512 1,024^ 2,048^ 4,096^ 8,192^ 16,384^ 32,

N = 16 17 18 19

2 N^ = 65,536^ 131,072^ 262,144^ 524,

Have a pleasant summer!