Hello,
I am interested in RF amplifiers (small signal), and are new to this. I built 2 amplifiers, the second one performs much better; 20 dB gain, broadband, and it reaches 110 MHz or so. A lot for me.
I have found a problem when measuring its gain with the nanoVNA. I placed a question in Beginners (
https://www.eevblog.com/forum/beginners/amplifier-gain-measured-with-nanovna-fundamental-issue/), but I got no answer. Looking at the type of questions, it is possibly better in this group.
My problem or doubt is the following.
I want to measure the gain of the amplifier and plot it using a nanoVNA. First step is to perform a calibration of the nanoVNA (I do it from 1 to 150 MHz); when calibrating the through step, the connection looks like this (I am ignoring an attenuator at the amplifier input to avoid overload, for simplicity):

The through-cable has 0 dB gain (or loss); the voltage at its input is Vi=Vs/2, that is, 6 dB lower than Vs: like a 6 dB loss. The nanoVNA measures the voltage at its input (S21) and calibrates knowing that the cable is 0 dB, so that although the total gain Vl/Vs is -6 dB, it shows 0 dB: it adds 6 dB to the measurement.
So I now connect the amplifier. Assuming its input impedance Zin is 50 ohm, flat over frequency, the connection is now this:

The amplifier has a flat gain of G db (G=Vl/Vi). Vi has a loss of 6 dB with respect to Vs, as before, so when the nanoVNA measures Vl/Vs it sees a total gain of G-6; it adds 6 dB, and shows a gain of G. All is OK.
But now I connect an amplifier with a high input impedance; in the extreme case, Zin = ∞, so that Vi=Vs. There is now no loss w.r.t. Vs, the nanoVNA sees a signal that is 6 dB higher than the previous case, and it then shows a gain of G+6, which is wrong. This is actually what I see when I measure, the nanoVNA shows an excess gain of 6 dB compared to the gain I measure with the scope.
Does this mean that I can only measure amplifier gain when Zin=50 ohm? Or am I missing something?
But even if that is the case, the input impedance is not flat with frequency, it decays with frequency (in my case), distorting the Bode plot. So I can never measure amplifier gain with the nanoVNA! is this correct? It cannot be!