In the previous section, we learned how to analyze simple op amp circuits using realistic or idealized op amp models. In this section, we will build on that knowledge to analyze more complicated op amp circuits.
To analyze the circuit, we first label the nodes. Let the voltage at the inverting input terminal be VA, and let the current through resistors R1 and R2 be I (the same current flows through both resistors since no current flows into the op amp input terminal). We now write the constitutive equations for the circuit elements and for the op amp:
VAVout−VAVA=R1I=R2I=Vin(Resistor R1)(Resistor R2)(ideal op amp assumption)
This circuit amplifies the input voltage by a factor of 1+R1R2. Of course, we remain limited by the op amp’s supply voltages, so the output voltage cannot exceed those limits.
Picking R1 and R2 appropriately allows us to set the gain of the amplifier to any desired value greater than or equal to 1. If we want a gain between 0 and 1, we can use a buffered voltage divider circuit such as the one shown in the previous section in Figure 8 (right) but with two different resistor values.
The last two equations force VA=0. In such situations, we call node A a virtual ground. This is different from simply grounding node A, since here we can do it without drawing any current from ground.
Eliminating I as before and solving for Vout gives:
This time, picking R1 and R2 appropriately allows us to set the gain of the amplifier to any negative value, again subject to the limits imposed by the op amp’s supply voltages.
Find an expression relating the output voltage Vout to the input voltage Vin
Interpret the behavior of the circuit when R2 is disconnected.
Solution: To analyze this circuit, we could apply our usual approach: label all the node voltages and branch currents, write the constitutive equations for each element, write KCL at all junctions, and solve the resulting system of equations.
However, we can simplify our work by making some observations.
The resistor Rg can be ignored because no current flows into the non-inverting input terminal, so no current flows through Rg. Thus, there is no voltage drop across Rg, and it’s as if the non-inverting input terminal is directly connected to ground.
We can now see that the rest of the circuit is just an inverting amplifier, where the feedback impedance is (C∥R2) and the input impedance is R1.
Combining these observations, we have the following equivalent circuit.
Figure 5:More complex amplifier of Figure 4 with aggregated impedances.
And now we can directly apply the inverting amplifier formula from (8):
We can also write the formula above as a differential equation by multiplying it out and recognizing that multiplication by s corresponds to differentiation in the time domain:
Now to answer the second part of the question, we consider what happens when we disconnect R2. This is the same as taking
R2→∞, so the ODE simplifies to:
The first step is recognizing that each op amp stage is just an inverting amplifier with impedances. Thus, we can analyze each stage separately using the formula from (8). Let’s start by aggregating the impedances in each stage. We will also label the intermediate voltage between the two stages as VA.
Figure 7:Cascaded op amp circuit of Figure 6 with aggregated impedances.
Since we have two inverting amplifier stages, we can write:
We begin by labeling any relevant node voltages and branch currents. Since no current can flow in or out of the op amp input terminals, the capacitor and R1 share the same current, as do the two resistors R2 and R3. Here is our labeled circuit:
We have five equations and five unknowns: V+, V−, I1, I2, and Vout. We can first eliminate V+ and V− by substituting the second and fourth into the remaining equations:
Although this circuit isn’t a standard amplifier configuration, its output Vout is connected to the output of the op amp, so if we wanted to drive a load, we could do so without affecting the transfer function. In other words, if we cascaded several such stages, the overall transfer function would simply be the product of the individual transfer functions.