Docsity

UC Berkeley EECS Midterm 2: Electrical Engineering Problems, Exams of Microcomputers

Toggle sidebar
bg1
UNIVERSITY OF CALIFORNIA
Electrical Engineering and Computer Sciences
145L MIDTERM #2 (take-home)
November 7, 1994
Due Monday, November 14, 1994
(100 points total, 3 points deducted for each school day late)
(No credit after graded midterms have been returned to students) (≈ Nov 21)
PROBLEM 1 (15 points)
A project requires an op-amp circuit with a gain of 100 from d.c. to 100 kHz (Figure
1). Assume that an FET input op-amp is used, similar to the LF356 that you used in
Laboratory Exercise 4.
1 kΩ
R
Figure 1 Non-inverting amplifier
op amp circuit.
a. What is the value of R in your design?
b. For an open loop gain A that varies inversely with frequency f as A = B/f, derive
an expression for the closed loop gain G as a function of the constant B and the
frequency f.
c. For B = 107 Hz, sketch the closed loop gain vs. frequency (Bode plot).
d. At what frequency does the closed loop gain G equal unity?
e. What are typical input and output impedances of this circuit at 1 kHz and 100
kHz? (Hint: look at the LF156/LF356 data sheets at the back of the 145L Course
Reader.)
PROBLEM 2 (20 points)
You are designing a thermocouple-based system for measuring the temperature of a
furnace over the temperature range from 25 °C to 500 °C with an absolute accuracy of
2 °C and do not want to provide ice to stabilize the temperature of the reference junc-
tion at 0 °C. Instead, you decide to leave the reference junction in the air of the room
and measure the temperature of the room (maximum range 10 to 45 °C) with a thermis-
tor, which would provide sufficient accuracy. The correction of the thermocouple
output for room temperature will be done by a microcomputer program.
a. Design a circuit that converts the thermocouple output into a suitable voltage Vtc
(–5 to +5 volts) for input to a microcomputer. Draw a block diagram and label all
EECS 145L Midterm #2 page 1 Due Nov. 14, 1994
pf3
pf4

Partial preview of the text

Download UC Berkeley EECS Midterm 2: Electrical Engineering Problems and more Exams Microcomputers in PDF only on Docsity!

UNIVERSITY OF CALIFORNIA

Electrical Engineering and Computer Sciences

145L MIDTERM #2 (take-home) November 7, 1994

Due Monday, November 14, 1994

(100 points total, 3 points deducted for each school day late) (No credit after graded midterms have been returned to students) (≈ Nov 21)

PROBLEM 1 (15 points)

A project requires an op-amp circuit with a gain of 100 from d.c. to 100 kHz (Figure 1). Assume that an FET input op-amp is used, similar to the LF356 that you used in Laboratory Exercise 4.

1 kΩ

R

Figure 1 Non-inverting amplifier op amp circuit.

a. What is the value of R in your design?

b. For an open loop gain A that varies inversely with frequency f as A = B / f , derive an expression for the closed loop gain G as a function of the constant B and the frequency f.

c. For B = 10^7 Hz, sketch the closed loop gain vs. frequency (Bode plot).

d. At what frequency does the closed loop gain G equal unity?

e. What are typical input and output impedances of this circuit at 1 kHz and 100 kHz? (Hint: look at the LF156/LF356 data sheets at the back of the 145L Course Reader.)

PROBLEM 2 (20 points)

You are designing a thermocouple-based system for measuring the temperature of a furnace over the temperature range from 25 °C to 500 °C with an absolute accuracy of 2 °C and do not want to provide ice to stabilize the temperature of the reference junc- tion at 0 °C. Instead, you decide to leave the reference junction in the air of the room and measure the temperature of the room (maximum range 10 to 45 °C) with a thermis- tor, which would provide sufficient accuracy. The correction of the thermocouple output for room temperature will be done by a microcomputer program.

a. Design a circuit that converts the thermocouple output into a suitable voltage Vtc (–5 to +5 volts) for input to a microcomputer. Draw a block diagram and label all

necessary analog circuit elements and signal lines. Include the thermocouple wires. (It is not necessary to include analog filtering)

b. Design a circuit that converts the thermistor resistance into a suitable voltage Vtm (–5 to +5 volts) for input to a microcomputer. Draw a block diagram and label all necessary analog circuit elements and signal lines. Show where the thermistor is placed in the diagram of part a. above. (It is not necessary to include analog filtering)

c. Sketch the thermocouple voltage Vtc as a function of the temperature difference ∆ T = T sens – T ref. Label the axes with numbers and units.

d. Sketch the thermistor voltage Vtm as a function of the thermistor temperature Ttm. Label the axes with numbers and units.

e. Describe what the microcomputer program would have to do to convert Vtc and Vtm into the temperature Tsens of the sensing junction in the furnace.

PROBLEM 3 (15 points) You wish to measure air temperatures over the 0°C to 50°C temperature range using the thermistor bridge shown in Figure 2 with R 2 = R 3 = 1 kΩ. The bridge output is amplified by an instrumentation amplifier with a gain of 5. In this problem we investi- gate the thermal dissipation constant of the thermistor.

Thermistor

V 0

R 1

R 3 R 2

Vb

RT

Figure 2 Thermistor in bridge circuit. Variable resistor R 1 may be adjusted to produce a zero output voltage at a selected temperature.

The thermistor has the following relationship between temperature and resistance:

T RT T RT 0°C 2 kΩ 10°C 1.33 kΩ 20°C 1 kΩ 30°C 667 Ω 40°C 500 Ω 50°C 333 Ω

With the thermistor in air and a bias voltage Vb = 1 volt, you adjust R 1 to make V 0 = 0.00 volts.

Increasing the bias voltage to Vb = 10 volts, and after waiting for the thermistor temperature to stabilize, you measure V 0 = 5.00 volts.

a. What are the thermistor resistances at these two bias voltages?

b. What are the thermistor temperatures at these two bias voltages?

c. What power is dissipated by the thermistor at Vb = 1 volt?

d. What power is dissipated by the thermistor at Vb = 10 volts?

a. Sketch where you would attach the strain gauges and other components to the blade.

b. Draw a block diagram of your system, showing and labeling all essential compo- nents and connecting wires both on the blade and on the ground.

c. Show on your block diagram above the voltages that would occur for a strain |∆ L / L | = 0.1%.

PROBLEM 5 (25 points)

A test kit is available for measuring the levels of lead in eating utensils (cups, bowls, plates, etc.). The utensil is first soaked in hot acetic acid (vinegar) and the acid is mixed with a reagent. If no lead is present, the mixture is clear. If a small amount of lead is present, the mixture is yellow. If a dangerous amount of lead is present, the mixture is dark orange.

Design a system for determining the concentration of lead in ppm, using a green LED, a photodiode, and a microcomputer with A/D converter (input range –10 volts to + volts). (It is not necessary to include analog filtering)

Assume the following:

  • The light intensity A passing through the solution is given by A = A 0 e– kLC , where C is the lead concentration in ppm, L is the thickness of the solution in cm, and the extinction coefficient for green light is k = 1 ppm–1^ cm–1.
  • The thickness of the solution is L = 1 cm.
  • The brightness of the LED is such that a clear solution produces a current of 100 μA in the photodiode and your design should convert this into a signal of 5 volts at the A/D converter of the microcomputer.
  • The entire system has a measured noise level of 10 mV rms at the A/D converter.
  • The amplifier offset output voltage is VB.
  • You operate the photodiode in photovoltaic mode.

a. Sketch a block diagram including and labeling all essential components. (You can show the A/D and microcomputer as a single block).

b. Derive an expression for the A/D input voltage as a function of lead concentra- tion C , dark current ID , and amplifier output offset VB.

c. Describe how a user would calibrate the system.

d. Derive an expression for the uncertainty ∆ C as a function of concentration C.

[Hint: ∆ C = ∆ I /(d I /d C ) ]

e. What is the uncertainty ∆ C at C = 0.1 ppm, 1 ppm, and 3 ppm?

f. What is the lowest and highest concentrations of lead that you can reliably measure? (Hint: find the two values of concentration C at which ∆ C = C )