UNIVERSITY of PENNSYLVANIA
DEPARTMENT OF ELECTRICAL ENGINEERING
EE Undergraduate Laboratory
 
EE205: Electrical Circuits and Systems I Laboratory
 
Lab 5
Further Exploring Operational Amplifiers
Visitor 
since 2/12/98
 

Goals

To become familiar with operational amplifiers (op-amp) and to use the op amp in various types of feedback circuits.


Background

An operational amplifier (op-amp) is one of the most important and versatile electronic components. It is extensively used in a variety of electronics circuits, from audio systems, filters, and engine control to appliances.

The op-amp symbol is given in Figure 1. The device has two input terminals, i.e. a non-inverting and an inverting terminal, vp and vn, respectively. An interesting property of the op-amp is that the output voltage is only a function of the difference of the two input terminals, as follows:
 

vo= (vp - vn). Av

 

 
Figure 1: Op-amp symbol

In addition, the device is characterized by a very large amplification (or gain) Av, a large input resistance and small output resistance. A typical value of the gain Av is 200,000. As a result of the large amplification Av, the required input voltage difference (vp - vn) to obtain a finite output voltage is very small and often assumed to be zero. The input terminals are said to be virtually short-circuited. This is an important property that we will make use of extensively to analyze op-amp circuits. Also, because the input resistance is very large the input current will be very small. This leads to two important rules we have to remember when working with op-amp circuits:

    1. The input current is zero.
    2. The two input terminals are virtually shorted together (or the voltage difference between the inverting and non-inverting amplifier is zero) when the amplifier is used with negative feedback.
Both of these rules are idealizations which assume that the op-amp is "ideal"; however the assumptions are usually very good also for "real" op-amps. The reasons we say that the two input terminals are "virtually" shorted is because there is no current flowing between them (if it were a real short, there would be current flow).

Another aspect of the op-amp is that the maximum output voltage is always limited to a certain value determined by the power supplies, as schematically indicated in Figure 2. The corresponding input voltage range to keep the op-amp in the active region is than given by,
 

-Vcc/Av < vi < +Vcc/Av
Figure 2: Op-amp open-loop input/output transfer characteristic

It is clear from the figure that the input should be kept very small in order to stay in the active (or linear region). This makes it difficult to use op-amps by itself (also called in an open loop configuration). It is for this reason that op-amps are rarely used in open loop. However, a much more useful way to use op-amps is in a negative feedback configuration. This involves connecting the output back to the inverting input of the op-amp. The feedback will keep the differential input voltage (vp – vn) close to zero. With feedback, the overall gain is called the closed-loop gain, which will be drastically reduced as compared to the open-loop gain. A major advantage of using feedback is that the gain is now a function of the resistors only and is independent of the op-amp gain Av, which can vary from device to device. Two popular feedback configurations are the inverting and non-inverting op-amp circuits as shown in Figure 3.
 

Figure 3: (a) Inverting op-amp and (b) non-inverting op-amp circuit.

Notice that in both cases the output voltage is fed back to the negative input terminal. The only difference is the connection of the input voltage to the inverting or non-inverting input terminal.

An op-amp comes in a DIP (dual in-line package) as shown in Figure 4. Pins 1 and 5 are used for nulling the offset voltage. We will not use these pins in this lab. Pin 8 is not connected (NC) to the internal circuits of the op-amp. One of the more popular op-amps is the LM741.

 

 
Figure 4: Top view of an op-amp DIP package.


Pre-lab assignment

  1. Review the section on op-amp circuits in the textbook (pp. 87 in Basic Circuit Engineering Analysis, by D. Irwin).
  2. Consider the circuit of Figure 3a with R1 = 1kW and R2 = 5 kW. Find the value of the amplification A=vo/vi. Indicate how you got your result. Make use of the two op-amp rules given above.
  3. a. Derive the expression of the amplification for the non-inverting amplifier of Figure 3b, using the rules given above.
  4. b. What value of feedback resistor R1 is needed to give an amplification equal to 2 when R2=10 kW.

  5. Figure 5 shows the circuit schematic of a summing amplifier. Prove that the output voltage is given by,

  6.  
      Vo = -[(RF/R1).V1 + (RF/R2).V2 +(RF/R3).V3]
     
    Figure 5: Summing amplifier
     
  7. An interesting circuit is shown in Figure 6 that can be used as an inverting or non-inverting amplifier by changing a switch position. Prove that the voltage gain is either +1 or –1, depending on the switch position.
  8.  
    Figure 6: Amplifier that can be used as a follower (i.e. an amplifier with gain =1)or as an inverting amplifier with gain –1.
     
  9. For which circuits of figure 7 do the op-amp rules given above apply? If they do not, explain. What is the output voltage of each circuit? Note that the circuit of Fig. 7b is called a follower.
Figure 7: Op-amp circuits


In-lab assignment

  1. Equipment
  1. Digital multimeter (HP 34401A)
  2. Triple output programmable power supply (HP E3631A)
  3. Protoboard
  4. Blue box with cables and connectors
  5. One 10-turn 10 kohm potentiometer
  6. Resistors: One 5 kohm , two 10kohm and 22 kohm
  7. One buzzer
 
  1. Procedure
  1. Non-inverting amplifier circuit.
  2. a. Build the circuit of figure 8. Notice that this is the same non-inverting amplifier as the one in figure 3b. The input voltage is derived from the power supply by a potentiometer, used as a voltage divider. Measure the actual values of the resistors R1 and R2 and record them in your lab notebook
     

    Figure 8: non-inverting amplifier
     
    Before placing the components on the protoboard and wiring them up, it is helpful to sketch the physical layout in your notebook. An example of a possible protoboard layout is shown in Figure 9.
     
     
    Figure 9: Protoboard layout of the circuit in Fig. 8

    b. When you finish building the circuit set the power supply to 10 and –10V (from the +/- 25V). It is important that the Vcc and –Vcc are exactly equal in magnitude. Set the current limiter to 100 mA. Double check the connection of the protoboard before connecting and switching on the power supply to your protoboard.

    c. Measure the input-output characteristic of the op-amp circuit: vary the input voltage Vin between –6V and +6V in steps of about 1V by adjusting the potentiometer. Measure the actual value of Vin and the corresponding output voltage Vo with the HP multimeter. Make a table with as entries Vin, Vo (measured), and Vo (calculated). Note that the output voltage saturates above a certain input voltage.

    If you get unexpected results, you need to debug your circuit. Check the voltages at the Vcc and -Vcc pins of the op-amp; make sure the output is fed back to the inverting input of the op-amp (neg. feedback), etc.

    d. At Vin=2V, measure vp, vn and the difference (vp - vn). Use a sensitive voltage scale so that the very small difference between vp and vn can be measured. Notice that this difference should be small because the inputs are virtually short-circuited as explained in the background section.

    e. For you report, complete the table above with the calculated values of the output voltage. Make a plot of the measured and calculated output voltage versus the input voltage. You can use a spreadsheet or Matlab to make the plot. Indicate on the graph the transition between the active and saturated regions of the circuit. Find the slope of the graph (i.e. the amplification) and compare it with the calculated one, based on measured resistance values. Note also the maximum and minimum output voltage (i.e. the saturation levels).

  3. Summing Amplifier
    1. Build the summing amplifier of figure 10. First, sketch how you will layout the circuit on your protoboard. For voltage source V2 use the 6V supply of the HP triple output power supply.
    2.  
       
      Figure 10: Summing amplifier
       
    3. Measure the actual values of the resistors.
    4. Write the expression of the output voltage as a function of the input voltages V1 and V2.
    5. Make the voltage V1=1V and V2=2V and measure the output voltage. Next, change the voltage V1=3V and measure the output voltage. How do the measured values compare to the calculated ones?
    6. For V1=1V and V2=2V measure vn to verify that the inverting input terminal is virtually shorted to ground.
  1. The Op-amp as a buffer
One of the main advantages of an op-amp is that it draws very little input current (ideally zero current – see rule 1). This implies that the op-amp can be used as a buffer. An example where such a buffer is used is a voltage divider shown in figure 11a. The voltage V1 is given by VCC.R1/(R1+R2). However, as soon as one applies a load resistance RL to the terminal V1 the voltage will drop (Fig. 11b). Suppose that R1=R2=22kOhm and RL=5kOhm, the voltage V1 will drop from 5V to 1.56V after connecting the load resistor RL! Clearly, this is not a very useful voltage divider circuit. One way to keep the voltage V1 constant is by inserting a buffer amplifier between the voltage divider and the load, as shown in figure 11c. Because the op-amp has an infinite input resistance the voltage divider is undisturbed and the voltage V1 remains equal to 5V. The op-amp, used as a follower, ensures that the voltage Vo over the load RL is equal to 5V.
 
  a. Build the circuit of Figure 11b with R1=R2=22 kOhm, and Vcc=10V. Before connecting the load to the voltage divider measure the voltage V1. Next, connect a "buzzer" to the output of the voltage divider and measure V1 again. What do you notice? Does the buzzer buzz? Find the equivalent resistor of the buzzer (based on the measured V1 voltage).
 
Figure 11: The op-amp as a buffer
.
Figure 12: The buzzer, connect with correct polarity..
 
b. Insert a follower between the voltage divider and the buzzer. Does the buzzer buzz? Measure V1 and Vo. What do you notice? Explain briefly.
 


References:

  1. J. D. Irwin, "Basic Circuit Engineering Analysis", Prentice-Hall, 1996.
  2. P. Horowitz and W. Hill, "The Art of Electronics", Cambridge University Press, Cambridge, 1989.
  3. J. Getty, "The Analysis and Design of Linear Circuits – Lab manual", Prentice-Hall, 1993.

Created by J. Van der Spiegel, Feb. 12, 1998; updated by Sid Deliwala, Nov 1. 2009.

Back to EE205 Homepage