ELEC 241 Lab

Experiment 4.3

Transducer Amplifiers

Equipment

Components

In Lab 2 we saw that our input transducers (microphone and photodiode) produced signals of only a few millivolts, while our output transducers (speaker and LED) required signals of a few volts. To make up this discrepancy, we need to amplify the signal levels produced by the input transducers.

Part 1: Photodiode Amplifier

The inverting op-amp circuit works by taking the current that flows into the "virtual ground" at the inverting input and forcing it to flow in the feedback resistor. Since the voltage across $R_F$ is equal to $R_F I_F$ , the output voltage (on the other terminal of $R_F$ ) is proportional to the current flowing into the virtual ground. What if instead of this current originating from the voltage across $R_1$ , it instead came directly from a current source? Well, the output voltage would still be proportional to it: $v_{out} = -R_F I_F = -R_F I_{in}$ I.e. we have an amplifier which accepts a current as an input and produces a voltage as an output. This is called a transresistance amplifier. (Since a resistance converts its current to a voltage ($v=Ri$ ), a transresistance converts a current in one part of the circuit to a voltage in another.)

In Lab 2 we measured the voltage across the photodiode and found some fairly distorted waveforms. It turns out that the current produced by a photodiode is proportional to the intensity of the light falling on it, while the voltage is proportional to the logarithm of the intensity, hence the distortion. If we could produce an output signal proportional to the photodiode current, we would have a much better transducer.


Step 1:

Wire the following circuit. (You can modify the previous circuit by removing the 10 k$\Omega$ resistor and replacing it with the photodiode (connected to ground rather than to the function generator)).
\includegraphics[scale=0.650000]{photo_opamp.ps}


Step 2:

As you did in Lab 2, note the output voltage, $v_{out}$ , and observe how it changes as you cover and uncover the photodiode with your hand.

Step 3:

Set the function generator to produce an 8 V p-p, 100 Hz triangle wave.

Step 4:

Disconnect the BNC patch cord from the function generator output and connect the BNC clip leads. Connect your red LED to the clip leads (like you did with the photodiode in Exp. 2.3 Part 2.

Step 5:

Hold the LED directly above the photodiode and observe $v_{out}$ . Is it less distorted than in Lab 2? Switch the function generator to sine wave and observe the waveshape.

Step 6:

Switch the function generator to square wave and increase the amplitude to maximum. Slowly separate the LED from the photodiode, adjusting the alignment to maintain the best signal (just like Lab 2). What is the maximum distance you can get with this configuration and still get a recognizable square wave signal? How does it compare with what you got in Lab 2?

Remark:

The notion of a "recognizable" signal is clearly subjective. In subsequent labs, we will develop more objective criteria for having a "good" signal.

Step 7:

Remove the BNC clip leads, reduce the amplitude of the function generator, and reconnect the BNC patch cord. Unplug the photodiode.

Question 1:

Analyze the transresistance amplifier using the op-amp design rules and convince yourself (and the grader) that $v_{out}$ really does equal $-R_F i_d$ .

Part 2: Microphone Amplifier

The microphone we used in Lab 2 is called a dynamic microphone. The one in Lab 3 is a carbon-button (or carbon for short) microphone. The output of the carbon microphone is close to our standard 1 V level, but for the dynamic microphone to be useful, we will need to amplify its output. If we don't mind the change of sign (which we don't for this application) we have just the circuit we need.

We will use this circuit in several subsequent labs, so build it in a convenient part of the breadboard (see discussion in "Organizing your Breadboard" above) and leave it assembled when lab is over.


Step 1:

Look back in your Lab Notebook to find the value you measured for the output voltage of the dynamic microphone. Calculate the gain required to amplify this to a 1 V p-p signal.

Step 2:

Calculate the value of $R_1$ that will give the circuit below the gain you found in Step 1.
\includegraphics[scale=0.650000]{mic_opamp.ps}


Step 3:

Wire the circuit (just add $R_1$ to the circuit from the previous part) and connect $v_{in}$ to J1-6-left (Pin 8 on the Interface Board socket strip). Plug the microphone into J1-6.

Step 4:

Speak into the microphone and observe $v_{out}$ . Does it have the amplitude you expected? If not, adjust $R_1$ until $v_{out}$ is approximately 1 V p-p when speaking in a normal voice.

Part 3: Mixer

We will want to be able to use both the dynamic microphone and the carbon microphone in the telephone handset. We could build separate amplifiers for each and switch back and forth, but it would be more convenient to be able to use either one (or both) with no changes to the circuit.

Since KCL must hold at the negative input/virtual ground, if more than one current source is connected to it, the output voltage must be proportional to the sum of the currents. Consider the following circuit:

\includegraphics[scale=0.650000]{opamps/summer.ps}
A quick analysis shows that $v_{out} = -(\frac{R_F}{R_1}v_1 + \frac{R_F}{R_2}v_2)$ , i.e. the output is a weighted sum of the inputs.

We can use this circuit as a mixer to amplify both the dynamic microphone output and the carbon microphone output by the appropriate amount and then combine them into a single signal.


Step 1:

First we need to reconstruct the carbon microphone interface from Lab 3. The following circuit should do nicely. Wire this circuit to the right of your dynamic microphone amplifier, we will connect the two in a couple of steps. (The handset microphone is pins 12 and 13 on the interface connector. There is a ground on pin 14.)
\includegraphics[scale=0.650000]{ckt4.3.3a.ps}


Step 2:

Plug the handset into J1-7. Speak into the handset microphone and verify that the above circuit works. Since we changed the voltage and resistance from last time, we need to recalibrate. Speak in the same normal voice you used for the dynamic microphone and measure the peak-to-peak amplitude of the signal.

Step 3:

We need to get rid of the pesky DC offset in the microphone output. On the scope we can do this by switching to the AC position. What that does is put a capacitor in series with the input, something we can do in our circuit. Putting it all together gives us the following circuit:

\includegraphics[scale=0.550000]{ckt4.3.3b.ps}


Step 4:

Compute the value of $R_2$ required to give an output of 1 V p-p and use it and a .1$\mu$ F capacitor to create the circuit above out of the two subcircuits you already have.

Step 5:

Speak into each microphone and verify that $v_{out}$ is about 1 V p-p in each case.

Step 6:

Since the op-amp can drive a 100$\Omega$ resistance to more than our standard voltage level, and since the handset earpiece resistance is greater than 100$\Omega$ , we should be able to drive it from the op-amp output. Connect one side of the earpiece (Pin 11 on the interface board) to ground (Pin 14). Connect the other side (Pin 10) to $v_{out}$ . Have your lab partner speak into the dynamic microphone while you hold the handset to your ear and speak into its microphone. Verify that both voices are audible simultaneously.

Step 7:

Do not disassemble this circuit. We will use it in subsequent Labs.