Skip to article frontmatterSkip to article content

Overview

Introduction

Operational amplifiers, or op-amps, are versatile analog circuit building blocks used in a wide variety of applications. They are essentially high-gain voltage amplifiers with differential inputs and a single-ended output. The “operational” part of their name comes from their ability to perform various mathematical operations like amplification, addition, subtraction, integration, and differentiation when combined with external components.

Key characteristics of an ideal op-amp include:

In reality, op-amps deviate from these ideals:

Op-Amp Pinouts

A typical op-amp has the following pin configuration.

Table 1:Numbering and function of pins on a DIP8 op-amp.

Pin NumberFunction
1Offset Null (Optional)
2Inverting Input (-)
3Non-inverting Input (+)
4Negative Power Supply (V-)
5Offset Null (Optional)
6Output
7Positive Power Supply (V+)
8Not connected

A diagram of an op-amp is shown in Figure 1. In Figure 1 (a), the DIP8 packaging is shown including the pin numbers of the visible pins. In Figure 1 (b) the circuit symbol of an op-amp is shown with the pin numbers identified. These three pins are the only pins relevant to the amplifier itself. The other pins are described in Explanation of pins. In Figure 1 (c), the internal structure of the op-amp is shown with all of the pin numbers and functions labeled.

Diagram of an operational amplifier. (a) The DIP8 packaging with some pin numbers identified. (b) The circuit symbol with pin numbers identified. (c) Schematic of the internal circuitry with pin numbers and functions identified.

Figure 1:Diagram of an operational amplifier. (a) The DIP8 packaging with some pin numbers identified. (b) The circuit symbol with pin numbers identified.[1] (c) Schematic of the internal circuitry with pin numbers and functions identified.[2]

Explanation of pins

Note: The pin configuration and numbering can vary slightly depending on the specific op-amp package (e.g., DIP, SOIC) and manufacturer. Always refer to the datasheet for the specific op-amp you are using.

Theory

Op Amp Current and Voltage Rules

Operational amplifiers (op-amps) are versatile analog circuit building blocks, and understanding their behavior requires adherence to fundamental current and voltage rules, particularly when configured with negative feedback.

1. The Golden Rules of Op-Amps:

These rules simplify the analysis of op-amp circuits with negative feedback:

2. The Concept of Virtual Short (or Virtual Ground):

3. Consequences of the Golden Rules:

Summary

In this experiment, we will be building different circuits that will demonstrate the usefulness and simplicity of using operational amplifiers. An excellent resource for more information about each circuit is the Electronics Tutorials website.

Experiment

Inverting Amplifier

The circuit shown in Figure 2 is an inverting amplifier. The resistor RFR_F provides negative feedback, which is the process of “feeding back” a fraction of the output signal back to the input. The feedback is negative because we must feed it back to the “inverting input” terminal of the op-amp. This feedback connection between the output and the inverting input terminal forces the differential input voltage towards zero due to the voltage rule of op-amps.

An inverting amplifier op-amp circuit.

Figure 2:An inverting amplifier op-amp circuit.

This is a closed loop amplifier circuit that produces gain referred to as closed-loop gain. A closed-loop inverting amplifier uses negative feedback to accurately control the overall gain of the amplifier, but at a cost in the reduction of the amplifiers gain.

This negative feedback results in the inverting input terminal having a different signal on it than the actual input voltage as it will be the sum of the input voltage plus the negative feedback voltage giving it the label or term of a Summing Point. We must therefore separate the real input signal from the inverting input by using an input resistor, RinR_{in}.

The positive, non-inverting input is connected to a common ground or zero voltage. The effect of this closed loop feedback circuit results in the voltage at the inverting input being equal to that at the non-inverting input producing a virtual ground summing point because it will be at the same potential as the grounded non-inverting input. The op-amp becomes a “differential amplifier”.

Because of the op-amp rules, we can use an equivalent circuit shown in Figure 3 to analyze the expected measurements.

An equivalent circuit diagram of the inverting amplifier where we ignore the presence of the op-amp and only consider the results of the op-amp rules.

Figure 3:An equivalent circuit diagram of the inverting amplifier where we ignore the presence of the op-amp and only consider the results of the op-amp rules.

The current through the resistors must be constant and therefore is

I=VoutVinRin+RFI = \frac{V_{out}-V_{in}}{R_{in}+R_F}

We can also consider the current flowing through the individual resistors since we know V2=0V_2=0.

I=V2VinRin=VoutV2RFI = \frac{V_2-V_{in}}{R_{in}}=\frac{V_{out}-V_2}{R_F}

Plugging in V2=0V_2=0

VinRin=VoutRF\frac{-V_{in}}{R_{in}} = \frac{V_{out}}{R_F}

which simplifies to a gain equation

Gain=VoutVin=RFRin\boxed{{\rm Gain} = \frac{V_{out}}{V_{in}} = -\frac{R_F}{R_{in}}}

where the negative sign is indicating the inversion of the output relative to the input.

Let’s verify this gain. Build the circuit in Figure 2 with a DC Vin=0.01 VV_{in}=0.01~{\rm V} and resistors Rin=10000 ΩR_{in}=10 000~{\rm \Omega} and RF=100000 ΩR_F=100 000~{\rm \Omega}. Next, replace RFR_F with a variable 1 MΩ1~{\rm M\Omega} resistor. Verify that the gain increases as you adjust the variable resistor.

Application - Light Detection

Op amps can be used to amplify small signals such as those that are produced by photodiodes. In the case of the photodiode, the signal is a small current. The transimpedance amplifier is a useful circuit for converting and amplifying this small current signal. The transimpedance circuit is shown in Figure 4. Build the circuit and verify that the output gives a measure of light intensity.

The values for the capacitor and resistor are CF=10 pFC_F=10~{\rm pF} and R1=RF=10 MΩR_1=R_F=10~{\rm M\Omega}.

Circuit diagram of a transimpedance amplifier for a photodiode.

Figure 4:Circuit diagram of a transimpedance amplifier for a photodiode.

Mathematical Function Amplifiers

Adder

Build a dual input voltage adder in Figure 5 with the behavior

Vout=RF(V1R1+V2R2)\boxed{V_{out} = – R_F\left(\frac{V_1}{R_1} + \frac{V_2}{R_2}\right)}
Circuit diagram of a summing amplifier.

Figure 5:Circuit diagram of a summing amplifier.

Subtractor

Build the difference (subtracting) amplifier in Figure 6 with the behavior

Vout=(V2V1)RFR1\boxed{V_{out} = -\left(V_2 - V_1\right)\frac{R_F}{R_1}}
Circuit diagram of a difference amplifier.

Figure 6:Circuit diagram of a difference amplifier.

Differentiator

Build the differentiator circuit in Figure 7.

Circuit diagram of a differentiating amplifier.

Figure 7:Circuit diagram of a differentiating amplifier.

Integrator

Build the integrator circuit in Figure 8.

Circuit diagram of a integrating amplifier.

Figure 8:Circuit diagram of a integrating amplifier.

Other Useful Op-Amp Circuits

Filters

Low-Pass Filter Build the low-pass filter in Figure 9 and measure the gain as a function of frequency.

Diagram of a low-pass filter op-amp circuit.

Figure 9:Diagram of a low-pass filter op-amp circuit.

Band-Pass Filter Build the band-pass filter in Figure 10 and measure the gain as a function of frequency.

Diagram of a band-pass filter op-amp circuit.

Figure 10:Diagram of a band-pass filter op-amp circuit.

Peak Detector

Build the peak detector circuit shown in Figure 11. The output of this circuit is held at the maximum value of the input. The output is reset by closing the switch to short the first feedback loop to ground through the 1 kΩ resistor. In this circuit, you may want to use the LM353 or LM358 amplifier because they contains two independent op-amps on a single chip. NOTE: These amplifiers have different pin-outs. Look up a datasheet for the op-amp you use.

Diagram of a peak detector op-amp circuit.

Figure 11:Diagram of a peak detector op-amp circuit.

Footnotes
  1. By Inductiveload - Own work, Public Domain, https://commons.wikimedia.org/w/index.php?curid=8433629

  2. By Inductiveload - Self-made, Inkscape, Public Domain, https://commons.wikimedia.org/w/index.php?curid=3439390