Docsity

Midterm #2 Solutions for EECS145M: Microcomputer Interfacing Laboratory - Spring 1998 - Pr, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
Name (Last, First)
EECS145M 1998 Midterm #2 Page 1 Derenzo
UNIVERSITY OF CALIFORNIA
College of Engineering
Electrical Engineering and Computer Sciences Department
EECS 145M: Microcomputer Interfacing Laboratory
Spring Midterm #2
Monday, April 20, 1997
•Closed book (equation sheet handed out with this midterm)
•Calculators OK
•You must show your work to get full credit
PROBLEM 1 (40 points)
Describe four A/D converter circuits in terms of the following characteristics:
•conversion accuracy (maximum number of bits)
•differential linearity
•cost (number of internal A/D circuit components)
•speed (number of steps the A/D needs to perform one conversion)
•external circuits needed for full performance
1a. (10 points) Successive approximation
pf3
pf4
pf5

Partial preview of the text

Download Midterm #2 Solutions for EECS145M: Microcomputer Interfacing Laboratory - Spring 1998 - Pr and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

UNIVERSITY OF CALIFORNIA

College of Engineering Electrical Engineering and Computer Sciences Department EECS 145M: Microcomputer Interfacing Laboratory Spring Midterm # Monday, April 20, 1997

  • Closed book (equation sheet handed out with this midterm)
  • Calculators OK
  • You must show your work to get full credit

PROBLEM 1 (40 points)

Describe four A/D converter circuits in terms of the following characteristics:

  • conversion accuracy (maximum number of bits)
  • differential linearity
  • cost (number of internal A/D circuit components)
  • speed (number of steps the A/D needs to perform one conversion)
  • external circuits needed for full performance

1a. (10 points) Successive approximation

1b. (10 points) Flash

1c. (10 points) Integrating (or Dual Slope)

1d. (10 points) Half flash

2d. (5 points) What is the minimum sampling frequency required to be able to handle speeds of 100 m/s?

2 e. (5 points) Considering your answer to 2d above, what value of f 1 does your low pass filter require?

2 e. (5 points) How many samples will you take for each measurement?

2 f. (5 points) If you want to record the echo signal to an accuracy of 5%, how many bits does the A/D converter need?

2 g. (5 points) What type of A/D converter would you use for this application?

2h. (20 points) After taking the necessary number of samples from the echo receiver circuit, you take the FFT. Sketch all FFT magnitudes vs. frequency index for a fluid speed of 10 m/s. You will need to use a vertical axis labeled in powers of ten. Provide an additional label for the horizontal axis in Hz. Assume that before anti-aliasing the magnitude of each Fourier coefficient contains white noise that is 10% of the Fourier magnitudes that contain the echo signal.

April 20, 1998 page 2 S. Derenzo

design would be to sample at 300 or 400 kHz. Then the low pass filter would reduce the white noise in the echo signal Fourier coefficients. 2e Low pass filter accepts frequencies below f 1 = 110 (or 111) kHz. 2e Sampling at 400 kHz for 0.02048s would produce 8192 samples. [4000 was also accepted] 2f To record the echo signal (0.1 V) to 5%, we need a resolution of ∆V = 0.005 V. Since the carrier is 10 V, we need a dynamic range of 2000 ∆V or 2000 A/D step sizes. This would require 11 or 12 bits. [2 points off for 4 to 8 bits] 2g Need to convert to 12 bit resolution in 3-5 μs. The first obvious choice is the half-flash A/D used in the DT3010, which converts 12 bits in 2 μs. The successive approximation would also work in this application. [3 points off for tracking or dual slope- too slow] 2h Assuming a 400 kHz sampling rate, the echo is 100 times smaller than the 100 kHz tone and the white noise is 10 times smaller than the peak echo. The low pass filter falls off as 1/f^8. [3 points off if no FFT frequency index] [3 points off if no frequency scale in Hz] [3 points off if white noise not shown] [5 points off if primary tone or echo not shown] [3 points off for blank vertical scale] [2 points if vertical scale is not numbered]

0 2048 4096 6144 8191 n

1000

100

1

10 1/f^8

0 100 200 100 0 kHz

primary tone

echo

white noise

FFT magnitude (relative scale)

Midterm #2 class statistics:

Problem max average rms 1 40 27.0 7. 2 60 49.6 4. total 100 76.64 8.

Grade distribution:

Range number approximate letter grade 61-65 2 C+ 66-70 1 B- 71-75 3 B 76-80 3 B+ 81-85 4 A- 86-90 0 A 91-95 1 A+ 96-100 0 A+