Chapter 10 — How Op-Amps Hide Complexity in Plain Sight

This chapter introduces the operational amplifier (op-amp), a versatile and powerful tool in electronics. The op-amp exemplifies the concept of abstraction in engineering, where complex systems are simplified into functional "black boxes" with well-defined inputs and outputs. Op-amps can perform various mathematical operations on electrical signals and are essential building blocks in numerous applications, from audio equipment to robotics. The chapter covers the basic op-amp, negative feedback, and essential circuit configurations.[^fn1]

[^fn1]: This chapter draws upon concepts from Electronic Circuits and Applications by Senturia and Wedlock (Wiley, 1975), Analog Devices Electronics I and II: Operational Amplifier Basics by Doug Mercer, and insights from Mark Thoren's video A Bit of Op-Amp History and Applications.

Learning Objectives:


Section 1 — Basic Op-amp: The Power of Abstraction

🎙️ Podcast: Op Amp Introduction

The preceding chapters have explored a wide range of electrical components and principles, progressively building a foundation for understanding how electronic circuits work. This final chapter introduces one of the most versatile and powerful tools in electronics: the operational amplifier, or op-amp for short. The op-amp clearly illustrates the concept of abstraction that this course has emphasized throughout.

Abstraction is a fundamental concept in engineering where complex systems are simplified into functional "black boxes" with well-defined inputs and outputs. Just as functions in programming can be used without examining their internal implementation, the op-amp allows engineers to create sophisticated circuits without needing to understand the complex internal components.

Note: The operational amplifier is a compelling example of abstraction in electrical engineering. Although an op-amp contains 20–30 transistors internally, it can be used effectively without understanding these internal components. Only the behavior at its terminals matters for circuit analysis.

Operational amplifiers earned their name from their original purpose: performing mathematical operations in analog computers. These versatile devices can add, subtract, integrate, and differentiate electrical signals. Today, op-amps are essential building blocks in countless applications, from audio equipment and medical devices to industrial sensors and communication systems.

Three capabilities make op-amps particularly useful in practice: they can amplify extremely weak electrical signals from sensors, compare voltages with high precision, and buffer signals to prevent loading effects between circuit stages. These tasks are accomplished using a concept encountered in earlier chapters: feedback.

Standard op-amp circuit symbol with five terminals. The triangular amplifier symbol has a non-inverting input labeled plus on the left, an inverting input labeled minus on the left, and an output labeled v-sub-o on the right. A positive supply terminal extends upward and a negative supply terminal extends downward.

Figure: Standard op-amp symbol with its five essential terminals: two inputs (+ and −), one output, and two power supply connections.

The five terminals are described as follows:

Unlike the passive components studied in earlier chapters (resistors, capacitors, and inductors), the op-amp requires an external power supply to operate. This is what defines it as an active component: the power supply is the source of energy that enables output signals with gains greater than unity.

It is important to understand that the $(+)$ and $(-)$ labels do not restrict the polarity of signals applied to these inputs; they indicate how the op-amp responds to those signals.

Simplified op-amp symbols that omit the power supply connections are often used in circuit diagrams. This is another application of abstraction: the analysis focuses only on the signal-processing terminals while assuming the power connections are properly made.

Three op-amp circuit representations shown side by side. Diagram (a): complete circuit showing the op-amp with explicit dual power supplies — a positive V-sub-cc battery connected to the positive supply terminal and a negative V-sub-cc battery connected to the negative supply terminal, both referenced to ground, with inputs labeled v-minus and v-plus and output labeled v-sub-o. Diagram (b): simplified representation showing the op-amp with power supply terminals labeled plus-V-sub-cc and minus-V-sub-cc, inputs v-plus and v-minus, and output v-sub-o, without showing the battery components. Diagram (c): most common representation showing only the op-amp triangle with inputs v-plus and v-minus and output v-sub-o, with power connections omitted and assumed to be present.

Figure: Op-amp circuit representations: (a) complete circuit with power supplies, (b) simplified representation showing power terminals, and (c) most common representation used in circuit diagrams where power connections are assumed to be present but not shown.

By Kirchhoff's Current Law (KCL), the sum of all currents entering the op-amp terminals must equal zero:

$$i_{-}+i_{+}+ i_{C+}+ i_{C-}+i_{o}=0$$

Two op-amp diagrams illustrating terminal currents. Diagram (a): complete representation showing all five terminal currents — input current i-plus entering the non-inverting terminal, input current i-minus entering the inverting terminal, output current i-sub-o leaving the output terminal, and power supply currents i-sub-C-plus and i-sub-C-minus at the positive and negative supply terminals respectively. Diagram (b): simplified representation showing only the three signal terminal currents i-plus, i-minus, and i-sub-o, with power supply connections omitted.

Figure: Op-amp terminal currents: (a) all currents shown, including power supply currents; (b) simplified representation that omits power supply connections. Diagram (a) must be used when applying KCL because it includes the power supply currents.

One of the important characteristics of op-amps is that the input currents ($i_{-}$ and $i_{+}$) are extremely small, practically zero for most applications. This means:

$$(i_{-}+i_{+}) \ll (i_{C+}+ i_{C-}+i_{o})$$

The equation therefore simplifies to:

$$i_{C+}+ i_{C-}= -i_{o}$$

This result carries an important implication: the output current must flow through the power supply terminals. The op-amp draws power from the supply to deliver current to the load connected at its output.


Section 2 — Ideal Operational Amplifier: A Perfect Abstract Model

In earlier chapters, ideal components such as perfect voltage sources and ideal wires were used to make fundamental circuit concepts more accessible. The ideal op-amp model applies the same approach: it provides a simplified description of op-amp behavior without reference to the complex internal circuitry.

Note: Just as a calculator can be used effectively without understanding its electronic internals, an op-amp can be used without knowing about the transistors and other components inside it. Abstraction allows the focus to remain on what a component does rather than how it does it.

The most fundamental characteristic of an op-amp is that it amplifies the difference between its two input voltages. The output voltage ($v_{out}$) is determined by:

$$v_{out} = A(v_{+} - v_{-})$$

where:
- $v_{+}$ is the voltage at the non-inverting input
- $v_{-}$ is the voltage at the inverting input
- $A$ is the open-loop gain (the amplification factor)

In the ideal op-amp model, this gain ($A$) is assumed to be infinite. In real op-amps, it is very large, typically around 100,000 to 1,000,000 ($10^5$ to $10^6$). Even a tiny voltage difference between the inputs (measured in microvolts) can drive the output to its maximum level.

Block diagram of an op-amp as a summing junction followed by an amplifier block labeled A. The non-inverting input v-plus and inverting input v-minus enter the summing junction, producing the difference v-plus minus v-minus, which is multiplied by gain A to give the output v-sub-out equals A times the quantity v-plus minus v-minus.

Figure: Op-amp functional block diagram. The output is the difference of the two inputs multiplied by the open-loop gain $A$.

Transfer characteristic curve of an op-amp with output voltage v-sub-o in volts on the vertical axis and input difference v-plus minus v-minus in microvolts on the horizontal axis. A narrow green vertical line at the origin represents the linear region. A blue S-shaped curve transitions from negative saturation at minus-V-sub-cc on the lower left to positive saturation at plus-V-sub-cc on the upper right.

Figure: Op-amp transfer characteristic curve. The green vertical line represents the linear region where the input difference is extremely small (measured in microvolts). Outside this region, the output saturates at either $+V_{cc}$ or $-V_{cc}$.

The transfer characteristic reveals an important constraint: the output voltage can never exceed the power supply voltages. The maximum output is $+V_{cc}$ and the minimum is $-V_{cc}$. When the output reaches these limits, the op-amp is said to be "saturated."

Because the gain is extremely high (around $10^6$), the linear operating region is extremely narrow. For example, with $V_{cc} = 15\,\text{V}$ and a gain of $10^6$, the input difference $(v_+ - v_-)$ can only vary between $-15\,\mu\text{V}$ and $+15\,\mu\text{V}$ for linear operation.

Example: Working with the Op-Amp Equation

Consider an op-amp without any additional component. The op-amp has a gain $A = 100{,}000$ and is powered by $V_{cc} = \pm 12\,\text{V}$.

If the non-inverting input is at $v_+ = 5.00005\,\text{V}$ and the inverting input is at $v_- = 5.00000\,\text{V}$, what is the output voltage?

$$v_{out} = 100{,}000 \times (5.00005\,\text{V} - 5.00000\,\text{V}) = 100{,}000 \times 0.00005\,\text{V} = 5\,\text{V}$$

The output is $+5\,\text{V}$, which is within the supply range of $\pm 12\,\text{V}$.

What if $v_+ = 5.0002\,\text{V}$ and $v_- = 5.0000\,\text{V}$?

$$v_{out} = 100{,}000 \times (5.0002\,\text{V} - 5.0000\,\text{V}) = 100{,}000 \times 0.0002\,\text{V} = 20\,\text{V}$$

Since $20\,\text{V}$ exceeds the positive supply of $+12\,\text{V}$, the output saturates at $+12\,\text{V}$.

Characteristics of the Ideal Op-Amp

The ideal op-amp model assumes several perfect characteristics that simplify analysis:

  1. Infinite voltage gain: The ideal op-amp amplifies the voltage difference between inputs infinitely. In practice, real op-amps have very high gains ($10^5$ to $10^6$).

  2. Infinite input impedance: No current flows into either input terminal. The op-amp does not load the circuits connected to its inputs. Real op-amps have very high input impedances ($10^{12}\,\Omega$ or more).

  3. Zero output impedance: The op-amp can deliver any amount of current to a load without its output voltage dropping. Real op-amps have very low output impedances (less than $100\,\Omega$).

  4. Infinite bandwidth: The op-amp responds instantly to input changes, regardless of frequency. Real op-amps have limitations at high frequencies.

  5. Zero offset voltage: With identical voltages at both inputs, the output is exactly zero. Real op-amps exhibit small differences between inputs.

Caution: While the ideal op-amp model is extremely useful for understanding circuits, real op-amps have limitations. When designing critical circuits, it is necessary to consult datasheets to understand the specific characteristics of the device in use.


Section 3 — Feedback: The Key to Control

🎙️ Podcast: Feedback in Op Amps

Feedback is a powerful principle in which a system's output influences its input, creating a closed loop. This principle governs how the body maintains temperature, how a thermostat controls heating, and how many natural and engineered systems achieve stability and control.

Understanding Feedback Systems

Feedback takes two primary forms:

Example: Everyday Feedback Systems

Negative feedback examples:
- A thermostat that turns off heating when the temperature rises above a setpoint
- The body sweating to cool down when overheated
- A cruise control system that maintains a constant speed

Positive feedback examples:
- The feedback squeal produced when a microphone is placed too close to a speaker
- An avalanche, where the movement of snow triggers the movement of more snow
- The contractions during childbirth, which release hormones that trigger stronger contractions

Two physical analogies for feedback types. Left diagram labeled Negative Feedback: a red ball sitting at the bottom of a blue U-shaped valley, illustrating that any displacement generates a restoring force returning the ball to equilibrium. Right diagram labeled Positive Feedback: a red ball balanced at the top of a blue hill, illustrating that any small displacement causes the ball to roll further away from the initial position.

Figure: Feedback analogy: (a) a ball in a valley represents negative feedback, where any displacement generates a restoring force; (b) a ball on a hilltop represents positive feedback, where any small displacement causes it to move further from the initial position.

Negative Feedback in Op-Amp Circuits

In op-amp circuits, feedback plays a decisive role. The open-loop gain of an op-amp is extremely large, making the linear operating region impossibly narrow for most practical input signals. Negative feedback resolves this limitation.

When negative feedback is applied, a portion of the output signal is returned to the inverting input ($-$), creating a self-correcting loop. The mechanism operates as follows:

  1. The op-amp amplifies the difference between its inputs ($v_+ - v_-$).
  2. Part of the output is fed back to the inverting input through a feedback network (typically resistors).
  3. This feedback acts to reduce the voltage difference between the inputs.
  4. The circuit reaches equilibrium when the input difference is virtually zero.

The result is a self-regulating system. If the output rises too high, the feedback increases the voltage at the inverting input, which in turn reduces the output. If the output falls too low, the feedback decreases the inverting input voltage, causing the output to rise. The circuit behavior becomes stable and predictable, the operating range expands from microvolts to the full supply range, and the gain is set by the external feedback network rather than by the op-amp's internal gain.

In contrast, positive feedback returns the output to the non-inverting input ($+$), which can lead to oscillation or rapid switching between states.

Caution: An op-amp without any feedback (called open-loop operation) is rarely useful for linear amplification because of its extremely high gain. Even tiny input differences will drive the output to saturation. Negative feedback is what makes op-amps practical and versatile.

Golden Rules for Op-Amps with Negative Feedback

The effect of negative feedback on an ideal op-amp leads directly to two analytical rules that make circuit analysis straightforward. Because the op-amp drives its output to reduce the input difference to zero, and because the ideal input impedance is infinite, the following conditions hold whenever an op-amp operates in its linear region with negative feedback:

Golden Rules of Negative Feedback Op-amps

  1. Virtual Short Rule: The op-amp adjusts its output to make the voltage difference between its inputs virtually zero:
    $$v_+ - v_- \approx 0$$

  2. Virtual Open Rule: No current flows into either input terminal of the op-amp:
    $$i_+ = i_- = 0$$

These two rules are a direct consequence of the ideal model and of negative feedback. They eliminate the need to work with the op-amp's enormous open-loop gain and allow circuits to be analyzed using only the basic circuit laws developed in earlier chapters.

These rules apply only when:
- The op-amp has negative feedback
- The op-amp is operating in its linear region (not saturated)
- The ideal op-amp model is in use

Example: The Power of the Golden Rules

Consider analyzing a circuit containing an op-amp along with many other components. Without the golden rules, it would be necessary to account for the op-amp's open-loop gain (typically $10^5$ or more), calculate input differences in the microvolt range, and solve equations involving extremely large numbers.

With the golden rules, the analysis simplifies to: set $v_+ = v_-$, set $i_+ = i_- = 0$, and apply Kirchhoff's laws and Ohm's law as in any other circuit.


Section 4 — Negative Feedback Op-Amp Circuits

The following subsections apply the golden rules to four fundamental op-amp configurations: the inverting amplifier, the summing amplifier, the non-inverting amplifier, and the voltage follower.

Both amplifier configurations use resistors to form the feedback network. The ratio of these resistors determines the circuit gain, not the op-amp's internal gain. For most practical applications, resistors in the range of $1\,\text{k}\Omega$ to $100\,\text{k}\Omega$ work well.

Inverting Amplifier

🎙️ Podcast: Inverting and Non-Inverting Op Amps

The inverting amplifier is one of the most widely used op-amp circuits. It produces an inverted output signal (opposite in polarity) relative to the input signal.

Inverting op-amp amplifier circuit. A voltage source v-sub-S connected to ground feeds through source resistor R-sub-S to a summing junction node, where input current i-sub-S arrives. From the summing junction, the inverting input current i-minus equals zero flows to the op-amp inverting terminal. A feedback resistor R-sub-F connects from the output back to the summing junction, carrying feedback current i-sub-F. The non-inverting input is connected to ground with input current i-plus equals zero. The output is labeled v-sub-o.

Figure: Inverting amplifier circuit. The input signal arrives through $R_S$, and feedback is provided through $R_F$. The non-inverting input (+) is connected to ground.

Analyzing the Inverting Amplifier

Applying the golden rules:

  1. Golden Rule 1 (Virtual Short): The op-amp adjusts its output so that $v_+ = v_-$.

Since the non-inverting input ($v_+$) is connected to ground, $v_+ = 0\,\text{V}$.

Therefore, the inverting input must also be at $v_- = 0\,\text{V}$.

This node is called a "virtual ground": it sits at ground potential even though it is not directly connected to ground.

  1. Golden Rule 2 (Virtual Open): No current flows into the op-amp inputs.

All current flowing through $R_S$ must therefore flow through $R_F$: $i_S = i_F$.

Applying Ohm's law to each resistor:

$$i_S = \frac{v_S - v_-}{R_S} = \frac{v_S - 0}{R_S} = \frac{v_S}{R_S}$$

$$i_F = \frac{v_- - v_o}{R_F} = \frac{0 - v_o}{R_F} = \frac{-v_o}{R_F}$$

Setting $i_S = i_F$ and solving for $v_o$:

$$\boxed{v_o = -\frac{R_F}{R_S} v_S}$$

The negative sign confirms that the output is inverted relative to the input. The circuit gain is:

$$\text{Gain} = -\frac{R_F}{R_S}$$

Example: Inverting Amplifier Design

Consider designing an inverting amplifier with a gain of $-5$.

The requirement $-5 = -\dfrac{R_F}{R_S}$ gives $\dfrac{R_F}{R_S} = 5$.

Suitable resistor combinations include:
- $R_S = 10\,\text{k}\Omega$ and $R_F = 50\,\text{k}\Omega$
- $R_S = 2\,\text{k}\Omega$ and $R_F = 10\,\text{k}\Omega$
- $R_S = 1\,\text{k}\Omega$ and $R_F = 5\,\text{k}\Omega$

For an input $v_S = 0.5\,\text{V}$, the output is:
$$v_o = -5 \times 0.5\,\text{V} = -2.5\,\text{V}$$

Key Features of the Inverting Amplifier:
- Phase Inversion: The output is $180^\circ$ out of phase with the input.
- Input Impedance: The input impedance equals $R_S$, which is relatively low compared to the non-inverting configuration.
- Summing Capability: Multiple inputs can be combined by connecting additional resistors to the inverting input.
- Virtual Ground: The inverting input acts as a virtual ground, which is useful in summing and mixing applications.

Mechanical Analogy: The Seesaw

A useful way to visualize the inverting amplifier is the seesaw (first-class lever). The fulcrum represents the virtual ground at the inverting input. The left arm represents $R_S$ and the right arm represents $R_F$. When the input side moves down, the output side moves up, illustrating the inversion. The ratio of the arm lengths corresponds to the ratio of resistors, just as mechanical advantage relates to lever geometry.

Two diagrams illustrating the seesaw analogy for an inverting amplifier with gain negative 1. Top diagram: a lever balanced on a fulcrum, with the left side pushed down by an input voltage of negative 2 volts and the right side pushed up to an output voltage of positive 2 volts. The left arm is labeled R-sub-S equals R and the right arm is labeled R-sub-F equals R, showing equal lever arms. Bottom diagram: the corresponding inverting op-amp circuit with input v-sub-in through source resistor R-sub-S equals R, feedback resistor R-sub-F equals R from output back to the inverting input, non-inverting input grounded, and output equation v-sub-o equals negative R-sub-F over R-sub-S times v-sub-in equals negative v-sub-in.

Figure: Seesaw analogy for an inverting amplifier with gain $=-1$. The fulcrum represents the virtual ground at the inverting input; the lever arms represent the resistors. When the resistors are equal ($R_F = R_S$), the gain is $-1$. Using $R_F = 2R_S$ gives a gain of $-2$.


The Summing Amplifier

The inverting amplifier processes a single input voltage and produces a scaled, inverted output. Many practical applications require combining two or more signals into a single output: mixing audio channels, adding a fixed DC reference to an AC signal, or computing a weighted average of several sensor readings. The summing amplifier extends the inverting configuration to multiple inputs by exploiting the virtual-ground property of the inverting input.

Two-input inverting summing amplifier. Input v-sub-1 connects through resistor R-sub-1 and input v-sub-2 connects through resistor R-sub-2, both meeting at a summing junction node labeled virtual ground. From the summing junction, the inverting input current i-minus equals zero flows to the op-amp inverting terminal. Feedback current i-sub-F flows through feedback resistor R-sub-F from the output back to the summing junction. The non-inverting input is grounded with i-plus equals zero. The output is labeled v-sub-o.

Figure: Two-input summing amplifier. Both input resistors $R_1$ and $R_2$ meet at the inverting input, which is held at virtual ground by negative feedback. The feedback resistor $R_F$ sets the output as a scaled, inverted sum of the two inputs.

Analysis

Applying the Golden Rules:
- Virtual short: the inverting input is at 0 V (virtual ground).
- Virtual open: no current flows into or out of the inverting input terminal.

With the inverting input at 0 V, the currents through $R_1$ and $R_2$ are:

$$i_1 = \frac{v_1}{R_1}, \qquad i_2 = \frac{v_2}{R_2}$$

By KCL at the inverting input, both currents must flow through the feedback resistor:

$$i_1 + i_2 = i_F$$

Since the inverting input is at 0 V:

$$v_{\text{out}} = 0 - i_F R_F = -(i_1 + i_2)R_F$$

Substituting:

$$\boxed{v_{\text{out}} = -R_F \left( \frac{v_1}{R_1} + \frac{v_2}{R_2} \right)}$$

Each input contributes to the output with an independent gain of $-R_F/R_k$ for input $k$. The output is the inverted, weighted sum of all inputs.

Special Cases

When both input resistors are equal ($R_1 = R_2 = R$):

$$v_{\text{out}} = -\frac{R_F}{R}(v_1 + v_2)$$

Setting $R_F = R$ gives a unity-gain inverting summer: $v_{\text{out}} = -(v_1 + v_2)$.

The analysis extends directly to $N$ inputs:

$$v_{\text{out}} = -R_F \sum_{k=1}^{N} \frac{v_k}{R_k}$$

Design Example

Problem: Design a two-input summing amplifier in which $v_1$ is amplified by a factor of 3 and $v_2$ is amplified by a factor of 1, with both contributions inverted at the output. Use a feedback resistor of $R_F = 30\,\text{k}\Omega$.

Solution: From the gain formula $-R_F/R_k$:

$$\frac{R_F}{R_1} = 3 \implies R_1 = \frac{30}{3} = 10\,\text{k}\Omega$$
$$\frac{R_F}{R_2} = 1 \implies R_2 = \frac{30}{1} = 30\,\text{k}\Omega$$

The output is $v_{\text{out}} = -(3v_1 + v_2)$.

A particularly useful application of the summing amplifier is DC offset removal. If $v_1$ carries a time-varying signal riding on an unwanted DC component, a second input $v_2$ can be connected to a fixed DC reference voltage of appropriate sign and magnitude to cancel the offset at the output.


Noninverting Amplifier

Some applications require amplification without phase inversion. The non-inverting amplifier provides this capability.

Non-inverting op-amp amplifier circuit. A voltage source v-sub-S connects to the non-inverting input through a wire with current i-plus equals zero. The inverting input current i-minus equals zero connects to a voltage divider feedback network: feedback resistor R-sub-F runs horizontally from the output back to the inverting input node, and resistor R-sub-1 connects from that node down to ground. A note labels the non-inverting input node as being at v-sub-S. The output is labeled v-sub-o.

Figure: Non-inverting amplifier circuit. The input signal is applied directly to the non-inverting input (+), while feedback is provided through the voltage divider formed by $R_F$ and $R_1$.

Analyzing the Non-inverting Amplifier

Applying the golden rules:

  1. Golden Rule 1 (Virtual Short): Since the non-inverting input receives the input signal, $v_+ = v_S$, and therefore $v_- = v_S$.

  2. Golden Rule 2 (Virtual Open): All current flowing through $R_F$ must also flow through $R_1$.

The feedback network formed by $R_F$ and $R_1$ is a voltage divider that determines what fraction of the output voltage appears at the inverting input:

$$v_- = v_o \cdot \frac{R_1}{R_1 + R_F}$$

Since $v_- = v_S$:

$$\boxed{v_o = \left(1 + \frac{R_F}{R_1}\right) v_S}$$

The circuit gain is:

$$\text{Gain} = 1 + \frac{R_F}{R_1}$$

Note that the gain is always at least 1. This is a direct consequence of the voltage divider in the feedback path: a voltage divider can only attenuate a signal, never amplify it.

Example: Non-inverting Amplifier Design

Consider designing a non-inverting amplifier with a gain of 5.

The requirement $5 = 1 + \dfrac{R_F}{R_1}$ gives $\dfrac{R_F}{R_1} = 4$.

Suitable resistor combinations include:
- $R_1 = 10\,\text{k}\Omega$ and $R_F = 40\,\text{k}\Omega$
- $R_1 = 5\,\text{k}\Omega$ and $R_F = 20\,\text{k}\Omega$

For an input $v_S = 0.5\,\text{V}$, the output is:
$$v_o = 5 \times 0.5\,\text{V} = 2.5\,\text{V}$$

Key Features of the Non-inverting Amplifier:
- No Phase Inversion: The output is in phase with the input.
- High Input Impedance: The input impedance is extremely high (ideally infinite), which prevents loading the signal source.
- Gain Always $\geq 1$: The gain cannot be less than unity.

Lever Analogies for the Non-inverting Amplifier

Two diagrams illustrating the lever analogy for a non-inverting amplifier with gain 2. Top diagram: a lever with the fulcrum on the far left, input arrow of positive 1 volt pushing upward at the center, and output arrow of positive 2 volts rising on the right. The left arm is labeled R-sub-1 equals R and the right arm is labeled R-sub-F equals R. Both arrows point in the same upward direction, showing the in-phase relationship. Bottom diagram: the corresponding non-inverting op-amp circuit with input v-sub-in at the non-inverting terminal, feedback divider R-sub-F equals R and R-sub-1 equals R from output to ground, and output equation v-sub-o equals 1 plus R-sub-F over R-sub-1 times v-sub-in equals 2 times v-sub-in.

Figure: Lever analogy for a non-inverting amplifier with gain $=2$. Input and output displacements are on the same side of the fulcrum, corresponding to the in-phase relationship between input and output.

Two diagrams illustrating the lever analogy for a non-inverting amplifier with gain 3. Top diagram: a lever with the fulcrum on the far left, an input arrow of positive 1 volt pushing upward at the center, and an output arrow of positive 3 volts rising on the right. The shorter left arm is labeled R-sub-1 equals R and the longer right arm is labeled R-sub-F equals 2R, showing unequal lever arms. Both arrows point upward, showing the in-phase relationship. Bottom diagram: the corresponding non-inverting op-amp circuit with input v-sub-in at the non-inverting terminal, feedback resistor R-sub-F equals 2R and R-sub-1 equals R from output to ground, and output equation v-sub-o equals 1 plus R-sub-F over R-sub-1 times v-sub-in equals 3 times v-sub-in.

Figure: Lever analogy for a non-inverting amplifier with gain $=3$.

Note: The choice between inverting and non-inverting configurations depends on the circuit requirements. Use an inverting amplifier when signal inversion or summing capability is needed. Use a non-inverting amplifier when high input impedance or in-phase gain is required.


Voltage Follower: The Perfect Buffer

🎙️ Podcast: Op Amps Follower

The voltage follower (also called a unity-gain buffer) is a special case of the non-inverting amplifier where the gain is exactly 1.

Voltage follower op-amp circuit. A voltage source v-sub-S connected to ground feeds directly to the non-inverting input with current i-plus equals zero. The output v-sub-o connects directly back to the inverting input with no resistors, creating 100 percent negative feedback and a gain of exactly 1.

Figure: Voltage follower circuit. The output is connected directly to the inverting input, creating 100% feedback with a gain of exactly 1.

The voltage follower has direct feedback from the output to the inverting input with no resistors in the feedback path.

Analyzing the Voltage Follower

Applying the golden rules:

  1. Golden Rule 1 (Virtual Short): $v_+ = v_S$ and $v_- = v_o$, therefore $v_S = v_o$.

  2. Golden Rule 2 (Virtual Open): No current flows into the op-amp inputs.

The transfer function is simply:

$$v_o = v_S$$

The output voltage follows the input voltage exactly, hence the name "voltage follower."

Key Features of the Voltage Follower:
- Impedance transformation: The circuit presents an extremely high input impedance (ideally infinite) and a very low output impedance (ideally zero).
- Isolation: Prevents one stage from affecting another through loading.
- Current amplification: Although voltage gain is unity, the circuit can supply considerably more current to a load than the original signal source could.
- Signal conditioning: Rejects common-mode noise, which can improve signal quality in noisy environments.

Example: Voltage Follower Application

Consider a sensor with an output impedance of $10\,\text{M}\Omega$ connected directly to a circuit with an input impedance of $10\,\text{k}\Omega$. The loading effect produces a voltage divider:

$$v_{circuit} = v_{sensor} \cdot \frac{10\,\text{k}\Omega}{10\,\text{M}\Omega + 10\,\text{k}\Omega} \approx v_{sensor} \cdot \frac{10\,\text{k}\Omega}{10\,\text{M}\Omega} = v_{sensor} \cdot 0.001$$

Only 0.1% of the sensor signal reaches the circuit.

Inserting a voltage follower between the sensor and the circuit resolves the issue: the sensor sees the op-amp's high input impedance (effectively infinite), and the circuit receives the full signal from the op-amp's low output impedance. Nearly 100% of the signal is preserved.

Figure below shows a voltage reference circuit using a voltage follower. The resistor divider establishes a reference of $V_{cc}/2$, and the voltage follower buffers this reference so that the output voltage remains at $V_{cc}/2$ regardless of the load.

Voltage reference circuit using a voltage follower. A resistor divider of two 10-kilohm resistors connects from V-sub-cc at the top to ground at the bottom, with the midpoint node at V-sub-cc over 2 feeding the non-inverting input with current i-plus equals zero. The output connects directly back to the inverting input with no resistors, buffering the reference voltage. The output is labeled v-sub-o equals V-sub-cc over 2.

Figure: Voltage reference circuit using a voltage follower. The resistor divider establishes $V_{cc}/2$, and the voltage follower buffers this reference so that the output remains stable under load.

Note: The voltage follower is often the first op-amp circuit students build, because of its simplicity. Do not underestimate its importance: many professional circuit designs rely on voltage followers as essential components.


Chapter Summary

This chapter introduced the operational amplifier as a compelling illustration of abstraction in electrical engineering. Despite containing dozens of transistors internally, the op-amp can be analyzed and applied using just two rules and a small number of circuit configurations.

The ideal op-amp model defines an amplifier with infinite open-loop gain, infinite input impedance, and zero output impedance. Without feedback the linear operating range is limited to microvolts, making open-loop operation impractical for amplification.

Negative feedback resolves this limitation. When a portion of the output is returned to the inverting input, the circuit reaches equilibrium with the input difference driven to virtually zero. This yields the two golden rules: $v_+ \approx v_-$ (virtual short) and $i_+ = i_- = 0$ (virtual open). Applied together, these rules reduce any negative-feedback op-amp circuit to a straightforward problem in Ohm's law and Kirchhoff's laws.

Four fundamental configurations were analyzed: the inverting amplifier inverts the signal and sets gain by the resistor ratio $R_F/R_S$; the summing amplifier combines multiple inputs with independent gains; the non-inverting amplifier preserves phase and provides a gain always ≥ 1, set by $1 + R_F/R_1$; and the voltage follower provides unity gain with extremely high input impedance and extremely low output impedance.

Key Formulas — Chapter 10

Key Formulas — Chapter 10
Configuration Transfer Function Gain
Inverting amplifier $\displaystyle v_o = -\frac{R_F}{R_S}\,v_S$ $\displaystyle -\frac{R_F}{R_S}$
Summing amplifier $\displaystyle v_o = -R_F\!\left(\frac{v_1}{R_1}+\frac{v_2}{R_2}\right)$ Independent per input
Non-inverting amplifier $\displaystyle v_o = \left(1+\frac{R_F}{R_1}\right)v_S$ $\displaystyle 1+\frac{R_F}{R_1}$
Voltage follower $v_o = v_S$ $1$
Key Formulas — Chapter 10
Ideal Op-Amp Property Value
Open-loop gain $A$ $\infty$ (practical: $10^5$–$10^6$)
Input impedance $\infty$ (practical: ${\sim}10^{12}\,\Omega$)
Output impedance $0$ (practical: ${<}100\,\Omega$)
Golden Rule 1 (virtual short) $v_+ - v_- \approx 0$
Golden Rule 2 (virtual open) $i_+ = i_- = 0$

Where to Learn More