ELEC 243 Lab

Experiment 5.2

Voltage Amplifiers

Components

As we saw in the previous experiment, the op-amp isn't very useful in an "open-loop" configuration (i.e. without feedback). The most common configuration for op-amp circuits is the inverting amplifier where the output is an amplified and inverted version of the input (i.e. $A$ is negative). From this starting point we can create a number of different input-output relationships, including sum, difference, and non-inverted gain.

Part 1: The Basic Inverting Amplifier



Step 1:

Wire the following circuit using 10 k$\Omega$ resistors for both $R_1$ and $R_F$ .
\includegraphics[scale=0.650000]{../241/inv_opamp.ps}
Fig. 5.1: Inverting Amplifier


Step 2:

Set the function generator to produce a 1 V p-p, 100 Hz sine wave. Measure the voltage gain, $A_v = \frac{V_{out}}{V_{in}}$ . Since 100 Hz is within the frequency range of the DMM, you could use either the DMM or the scope to measure $V_{out}$ and $V_{in}$ However, you should always use the scope to view the waveform being measured to make sure it is what you think it is. We will see several waveforms in this lab that aren't.

In particular, note that the output is inverted with respect to the input.

Step 3:

Replace $R_F$ with a 100 k$\Omega$ resistor. Measure the gain.

Step 4:

Increase the input amplitude until output clipping occurs. What is the clipping level? Is it the same as in Exp. 5.1?

Step 5:

Reduce the input amplitude till the output is 20 V p-p.

Step 6:

Increase the frequency until the output amplitude drops to 10 V p-p. You should see a triangular output waveform. This is because there is a limit to the maximum rate at which the output voltage can change, called the slew rate. Set the input to triangle and square wave and see how the output changes.

Step 7:

Reset the function generator for a 100 Hz sine wave and reduce the amplitude to produce a 1 V p-p output from the op amp. (You may need to use the 20 dB attenuator on the function generator.) Again increase the frequency until the output is 0.7 V p-p. Observe that the output is still sinusoidal. This is the actual cutoff frequency or bandwidth of the amplifier.

Streamlining the Instructions

The inverting amplifier is the basis of many different op-amp circuits. Once you understand it you can analyze and design a large variety of functional elements. And once you know how to construct it you should be able to construct any op-amp circuit with a minimum of assistance. So from now on, we will abandon the detailed, step-by-step procedures, telling you exactly which pin to connect to which other pin, and allow more freedom for you to determine your own procedure. The instructions will simply tell you what needs to be done, you get to decide how to do it.

Part 2: Summing Amplifier

There are a number of applications where it is useful to produce the sum, or more generally the weighted sum, of two or more signals. One example is the mixer system in a recording or broadcast studio where various sources (microphones, CD players, etc.) are combined to produce the final mix for the track or program.

The inverting amplifier configuration we used makes this very easy to do, just add another resistor to the inverting (-) input of the op amp:

\includegraphics[scale=0.650000]{opamps/summer.ps}
Fig. 5.2: Summing Amplifier
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. The key is to notice that the current flowing in $R_F$ must be (by KCL) equal to the sum of the currents in $R_1$ and $R_2$ . For this reason, the node of an op amp circuit which is connected to the inverting input is sometines referred to as the summing junction. This summation can be extended to any number of inputs.


Design:

Rather than just add two arbitrary signals together and watch the result on the oscilloscope, let's do something a bit more entertaining: add two signals together and listen to them. From our observations in Part 1 of Experiment 2.2 and Part 1 of this Experiment, we would expect to have trouble driving the loudspeaker with the output of the op-amp. Fortunately, we have a more suitable acoustic output transducer: the earpiece of the telephone handset. The telephone earpiece is also very easy to connect to: just plug it into J1-7 and wire to the appropriate pins on the interface module connector strip. Notice that, unlike the microphone, neither of the two earpiece terminals is automatically grounded. Be sure to ground one and connect the other to $v_{out}$ .

For our two inputs, we will use the function generator for $v_1$ and the dynamic microphone for $v_2$ . The earpiece produces a comfortably loud output with a signal of about 1 V p-p. This is a level easy to produce with the function generator, so we will choose a gain of one from $v_1$ to $v_2$ . This says we must choose $R_1=R_F$ , but says nothing about the actual value. From past experience, 100 kΩ is a good choice. Based on your observations in Part 1 of Experiment 2.3, choose the value of $R_2$ required to give a 1 V p-p output when speaking into the microphone in a normal tone of voice.

Construction:

Start by building the circuit shown in Fig. 5.2 using the component values you determined in the previous step. Connect $v_1$ , $v_2$ , and $v_{out}$ to their appropriate sources and sinks. Plug in all the inputs and outputs (function generator, microphone, handset). We want to look at the output as well as listening to it, so also connect $v_{out}$ to the oscilloscope.

Testing:

When the circuit is completed, speak into the microphone at a normal speaking level and verify that the output $v_{mic}$ is approximately 1 V p-p. If not, adjust $R_2$ appropriately.

Observations:

Set the function generator to produce a 440 Hz sine wave. Adjust the amplitude to produce a comfortable listening level in the handset earpiece. While listening to the earpiece and watching the oscilloscope, sing, hum, or whistle the note A (hint: 440 Hz). Describe what happens, both aurally and visually when you are in tune and when you are slightly out of tune with the function generator. If the range of your voice does not encompass A440, try tuning the function generator down an octave to 220 Hz.

Part 3: Non-Inverting Amplifier

So far all of the op-amp circuits we have examined have been inverting, i.e. the polarity of the output is inverted with respect to the input. This doesn't have to be the case, as the following circuit shows:
\includegraphics[scale=0.500000]{ckt7.1.1.ps}
Fig. 5.3: Non-inverting Amplifier

This is an example of the basic non-inverting op-amp configuration. A simple analysis shows that $v_{out}=(1+\frac{R_2}{R_1})v_{in}$ (with no minus sign). This circuit has a couple of useful characteristics. Most obvious is that it doesn't invert. Another is that the input impedance is extremely high. One potential disadvantage is that the minimum value of gain is unity.


Construction:

Using a 741 op amp, wire the circuit of Fig. 5.3. Let $R_1$ be 1 kΩ. Choose $R_2$ to give a gain of 2.

Testing:

Connect a 1 V p-p 1 kHz sine wave (or any other waveform of similar amplitude and frequency) to $v_{in}$ . Observe $v_{in}$ and $v_{out}$ on the oscilloscope.

Observations:

What is the actual gain? Is it in fact non-inverting? What happens with nothing (i.e. an open circuit) connected to $v_{in}$ ? Why?

Part 4: Difference Amplifier

What if we want the difference, rather than the sum of two signals? We could combine an inverting amplifier with a summing amplifier to negate one of the signals before forming a sum, but this would require two op-amps. A simpler circuit results from combining an inverting and a non-inverting configuration on the same op-amp, like this:
\includegraphics[scale=0.500000]{opamps/diff2.ps}
Fig. 5.4: Difference Amplifier

For arbitrary values of the resistors, we get $\displaystyle v_{out}=-\frac{R_2}{R_1}v_1+\frac{R_4}{R_3+R_4}\frac{R_1+R_2}{R_1}v_2$ which doesn't seem very useful. However, if we let $R_3=R_1$ and $R_4=R_2$ , then we have $\displaystyle v_{out}=\frac{R_2}{R_1}(v_2-v_1)$ i.e. a difference amplifier.


Construction:

Wire the above circuit, using 10 kΩ for all four resistors.

Testing:

Using the function generator for $v_1$ and the 0-6 V power supply for $v_2$ (or vice versa), verify that $v_{out}$ is indeed the difference of $v_1$ and $v_2$ with the expected sign. Substitute 100 kΩ resistors for $R_2$ and $R_4$ and verify that the gain changes as expected.