UPDATE: This question triggered what might fairly be called a research obsession for me. I've gotten pretty close to the bottom of it I think, I've posted my findings as an answer below.
There was a similar question here but it did not ask for nor did it receive a general account in its answers.
Noise gain turns out to be an infrequently mentioned and apparently ill-understood concept that is redeemed by the fact that it provides the power to flexibly adjust the stability of your op amp circuit if you know how to use it.
Just when you thought there was one equation you could absolutely count on, the well-known gain equation for op amps turns out to be situation dependent.
$$G = \frac{A_o}{1 + A_o\beta}$$
It turns out, it depends on which definition of \$\beta\$ you use.
The unsuprising part (background)
I'll start with a brief accounting of what I know and can demonstrate to be true, just so you can tell I've done my homework and discourage hasty answers:
\$\beta\$ in known as the feedback fraction, (sometimes feedback factor), and is the proportion of the output voltage fed back to the inverting input.
Considering the non-inverting amplifier below, the fraction of \$V_{out}\$ that reaches the inverting input is readily determined to be \$1/10\$ by inspection of the voltage divider:
$$V_- = V_{out} \frac{R_g}{R_f + R_g}$$
$$\beta = \frac{V_-}{V_{out}} = \frac{R_g}{R_f + R_g} = \frac{10\mathrm{k}}{90\mathrm{k} + 10\mathrm{k}} = \frac{1}{10}$$
Returning to the formula we started with, \$A_o\$ stands for open-loop gain, about 100,000 in this case. Substituting into the formula, the gain is:
$$G = \frac{A_o}{1 + A_o\beta} = \frac{100,000}{1 + (100,000\cdot \frac{1}{10})} = \frac{100,000}{10,001} = 9.999$$
Which is awfully darned close to \$10\$, which is why we usually drop the \$1 +\$ bit and just say \$G = 1/\beta\$. This is what a simulation predicts and is very close to what is observed on the bench. So far, so good.
\$\beta\$ also plays a role in the frequency response.
The yellow trace is the open loop gain (\$V_{out}/(V_+ - V_-)\$, the purple one is the closed-loop (CL) signal gain (\$V_{out}/V_{sig}\$).
It's tricky to see without expanding the image, but the open-loop gain crosses 0dB at 4.51 MHz; the 3dB down point on the closed loop gain is 479 kHz, so right about a decade below. The closed-loop gain "consumes" open-loop gain to boost the signal. When the open-loop gain isn't enough to do that, the closed-loop gain drops and hits its 3dB down point, in this case where the open-loop gain is 10 (20dB). Since \$A_o\$ drops at 20dB/decade, that's a decade below \$A_o\$'s 0dB point.
So in this case:
$${BW}_{CL} = \beta \cdot {BW}_{OL} = 0.1 \cdot 4.51 \mathrm{MHz} \approx 479 \mathrm{kHz}$$
The surprising part
Ok, so maybe I was wrong? This all seems to work just fine. Hmm, what if we make a little tweak to the circuit. Let's pop in this innocent-looking resistor \$R_n\$:
And take a look at the gain over frequency again:
Whoa! What's up with that?
- The closed loop signal gain (purple trace) is still 10 (20dB)
- but it's bandwidth is reduced by a further decade, down to 43.6 kHz!
- There's a cyan trace that bumps into \$A_o\$ in the right way, but it's up at 40dB
What I've worked out so far
Over the weekend I was studying Walter Jung's excellent book Op Amp Applications. In the first chapter he introduces the notion of noise gain, to be carefully distinguished from signal gain. This seemed simple enough at the time as he defined noise gain as simply \$1/\beta\$ and suggested the notation \$NG\$.
For the first non-inverting amplifier above, the noise gain is equal to the signal gain \$(G)\$, which is perhaps why one so seldom encounters the distinction.
However, I've collected a variety of factoids from various sources:
The cyan trace above is the noise gain (actually, it's only where it would be if I was able to plot it with SPICE). I was able to find a handful of references after extensive online searching, but no description of how to determine it when it's not the same as the signal gain. In the second circuit above, it value is:
$$\frac{R_f}{R_g\parallel R_n}$$
Noise gain is what actually determines the frequency response, not signal gain. Noise gain is what SPICE (and your circuit) use to determine frequency response on an AC analysis.
- Loop gain is (\$A_o\beta\$) and determines amplifier stability. But the \$\beta\$ in that expression is the noise beta (1/noise-gain), not the signal beta. Note that I've never seen either the term noise beta or signal beta in print, I've just invented (or perhaps reinvented) them here to distinguish the two.
- As demonstrated above, noise gain can be manipulated without changing the signal gain. This turns out to be a very powerful way to tune in the bandwidth of an amplifier to get just the phase margin you want without monkeying around with the signal gain your circuit needs.
- The terminology is a bit vexed, but this app note from AD seems clearest to me by saying there is open-loop gain and closed-loop gain, but there are two types of closed-loop gain, signal gain and noise gain.
A few things I've tentatively inferred
Note: this hypothesis turns out to be false. An op amp is a DC amplifier, and so it's essential circuit characteristics (including noise gain) can be measured at DC, at which it turns out to be the same as for low frequencies.
Hypothesis: Signal gain is determined by DC analysis. Noise gain is determined by AC analysis.I suspect this is not the whole story and is one of my main questions below. But it seems to produce the right value for noise gain in the cases I've tried so far if you short independent voltage sources and then work out the voltage gain transfer function of the feedback network. This would imply that:
$$\beta_{noise} = \frac{\Delta v_-}{\Delta v_{out}}$$
Why this is really handy
Let's take a look at the loop gain, where the stability of the circuit is determined. I'll substitute in \$R_n\$ values of 1k (as just above), 2k, 5k, and 100Meg (like no resistor at all). I added a 5 nF capacitor across the output to reduce the uncompensated circuit to 45 degrees phase margin:
I'll just jump to the punch line here. By adjusting \$R_n\$, I can manipulate the phase margin between wherever it is (46° in this case) and 90° and anywhere I want in-between. This comes at the cost of bandwidth, so it's not an entirely free lunch, but it allows me to optimize that trade-off wherever I want. This translates into the ability to tune my step response between the yellow and purple traces below:
Questions that a full and general account would answer
I'm not looking for individual answers to the following questions. What I'm looking for is the explanation of noise gain that would allow me to readily answer these questions for myself. Think of these as the "test suite" for the answer :)
How can the op amp have two distinct feedback fractions? Since signal gain can be calculated at DC and noise gain seems to be at AC, maybe we could consider one of them the DC feedback fraction and the second the AC feedback fraction?
If noise beta is the AC feedback fraction, why does the DC feedback fraction determine the signal gain? The signal is AC, so I don't see how it would be treated differently.
So my actual question is:
- What is noise gain really?
- How and why is it different from signal gain, in the sense of "why are there two and not one"?, and
- How does one determine the noise gain via circuit analysis in the general case? (i.e. What equivalent model is used.)
- Bonus points if you happen to know how to plot it in SPICE :)