Ask your favorite search engine or AI chatbot about stability analysis in SPICE, and you’ll get several examples called “Middlebrook.” The problem: these methods are inconsistent, and sometimes wrong.
I’ll present three methods the internet calls “Middlebrook,” with distinct names here: “Full” Middlebrook, “Lazy” Middlebrook at the Input, and “Lazy” Middlebrook at the Output.
While “Open the Loop” (aka “BigL/BigC”) from Part 3 opened the loop to measure loop gain, the Middlebrook methods break the loop (using an ideal voltage or current source) without opening it, so op amp interactions are better modeled.
You can also learn about these methods from the man himself. I’ll simplify with clear examples in LTspice
“Full” Middlebrook is Best, IMHO
The most accurate method for measuring loop gain requires dual injection: using both a voltage and current source (documented on page 498 of Middlebrook’s article, “Measurement of Loop Gain in Feedback Systems”). Using the unstable example from Part 1, we can add Middlebrook components and plot the loop gain (Figure 1).

Figure 1: Plotting Loop Gain Using Full Middlebrook Technique
Let’s take it step by step: there’s a lot going on here. Download the zip file to follow along; unzip before opening in LTspice:
We need two circuit copies for dual injection. Open Full Middlebrook.asc to follow along. The voltage gain is plotted as -V(y)/V(x). The current gain is -I(Viy)/I(Vix). We use Vix and Viy as current probes; they drive no voltage.
Referring to equations 21a and 21b in Middlebrook’s article, we combine the voltage gain (Tv) and the current gain (Ti) into a “true” loop gain:
And rearranging:
Using the node names X, Y, and the current measurements through Vix, Viy, we plot this in LTspice as:
((-V(y)/V(x))*(-I(Viy)/I(Vix))-1)/((-V(y)/V(x))+(-I(Viy)/I(Vix))+2)
Note that the orientation of your elements and node names matters. Signal flow needs to start at X and flow to Y. See Figure 2.

Figure 2: Ratio of Voltage and Currents in Loop Gain Equation Requires Signal Flow from X to Y
Dual injection provides more accurate results. This technique is immune to non-idealities that cause reverse transmission, such as when the op amp runs out of steam beyond its gain bandwidth. Your measurement is highly tolerant of placement. Figure 3 (and Full Middlebrook – Flexible Location.asc) illustrates this flexibility, as becomes clearer with the “Lazy” Middlebrook methods.

Figure 3: Comparing Full Middlebrook at Two Different Locations in the Loop
“Lazy” Middlebrook at the Input: Simpler, but Not Recommended
Some top web results will offer what I call “Lazy” Middlebrook at the input. This technique uses single-voltage injection (only one circuit needed) and breaks the loop at the inverting input. Loop gain is plotted simply as -V(x)/V(y). Figure 4 (and Middlebrook – Lazy Methods.asc) shows the plotted loop gain: “Lazy” at the input (orange) vs. “Full” (purple).

Figure 4: Comparing “Lazy” Middlebrook at the Input to “Full” Middlebrook
In this example, the op amp's input parasitics create a blind spot this method cannot properly measure. It is very simple, but also prone to being very wrong.
It gets worse with a complex circuit that has a signal path between the op amp inputs. Figure 5 (and Difference Amp – Comparing Middlebrooks.asc) compares “Full” Middlebrook at the output (green), “Full” at the input (purple), and “Lazy” at the input (orange). The loop portion not included in the input analysis is shown in red. “Full” Middlebrook at the output is safer across topologies.

Figure 5: Differential Amplifier Topologies Require Extra Care with Where to Break the Loop
The key takeaway? First, don’t “Lazy” at the input…ever. It’s not worth it. Second, break the loop at the output. Sometimes it doesn’t matter where, but for some cases, like the difference amplifier in Figure 5, even a “Full” analysis at the inverting input won’t fully break the loop.
“Lazy” Middlebrook at the Output: Simpler, and Good Enough?
If you must “lazy”, do it at the output. Single injection is simpler. No duplicate circuit, and no long equation. It isn’t as accurate as “Full”, but the difference might be negligible since the op amp maintains a high gain at the frequencies you care about. Figure 6 (and Middlebrook – Lazy Methods.asc) compares “Full” Middlebrook at the output (green) and “Lazy” at the output (blue).

Figure 6: Comparing “Lazy” Middlebrook at the Output (blue) to “Full” Middlebrook (green)
Breaking the loop at the output has two advantages. First, you can fully break the loop without parasitic paths sneaking around your Middlebrook components. Second, placing the components at the output selects a location where the forward impedance (into the feedback network) is much greater than the backward impedance (into the op amp output). This is a well-documented criterion for single voltage injection. (See page 489 of Middlebrook’s article.)
Stay tuned. I’ll introduce yet another method for plotting loop gain next month, and you can pick your favorite!
Read all the blogs in the LTspice Amplifier Stability series.