I watched some of your intro videos on the NanoVNA last evening and was laying in bed wondering if the NanoVNA could test some preamps and then thought I'll likely need some attenuators. Then I stumble across this video doing just that. I really wish the NanoVNA was around 20 years ago when I was in college. I might have done much better in my microwave circuits class. I'm just realizing that I did a 3 year telecom course and never got hands on with a VNA or a spectrum analyzer. Now 20 years later I feel like I'm finally getting it. Had a similar experience the first time I seen AT&T's similarities of wave behavior like 15 years ago. I feel like college gave me a really good foundation in physics and math, but the radio electronics end of things was pretty weak. I've also never really worked in the field. Spent the first 10 years(starting from 17 before college) of my career working in AV doing sound, lighting and video. These days I do science center exhibit design, fabrication and repair. I've been a ham since I was 16(25 years ago). I keep coming back to the hobby and having new breakthroughs in understanding. Like the first time I seen SSB on the SDR waterfall, modulation suddenly made so much more sense.
Brilliant, simply brilliant. No more rules of thumb, no more wet fingers in the air. Now we amateurs can do what scientists and engineers do...MEASURE!
My father was an Environmental Test Engineer at Tektronix when he died in 1974. Your speech reminds me of how he use to try and explain questions I might have. Great video and great podcast on the Amphour
Glad to see this precise and systematic tutorial although I know it from my last job. As a VNA metrology engineer, I can say everything is correct and done with respect to NanoVNA limitations.
Thank you Alan. This helps so much. Armed with your info we can all now use the NanoVNA to accurately measure circuit impedances. This will be an enormous help for those of us who routinely take bits and pieces of circuitry from multiple sources and try to put them together into working rigs. Your video and the NanoVNA will remove the Z guess work. Thanks again and 73 Bill
There is so much to learn from your attentiveness to every small detail, I will be the first to admit I am always in hurry and missing a lot in the process. Well, maybe in time, who knows Thanks for a awesome video again, Alan
Great Video Alan! (as always!) I normally would have caught that because any time I do an analysis on something, I'm always cognizant of how much signal to put into beforehand. This really true for direct-coupled amplifiers where you can pin-one to the 'rails' and blow things up! In saying that, I can see where you would intuitively-assume that it's output would not be real high (i.e. tiny-box = tiny-signal!). For the RF, I'm at the point of always first figuring out how much attenuation I can insert without compromising my measurements--good practice...
I am gonna download all your vids as a reference, i was fumbling around with an active probe trying to caracterise it and failed for just about all the reasons you mentioned here 😄 Thank you Alan 👍🏻
Great example of using different instrument to validate amp functioning correctly and rapidly moving on to VNA . Looks so easy but requires rock solid understanding of fundamentals , a broad base of knowledge and years of experience to know how to join the dots . Thanks again
I ran this same test on my H4 for a HB 2M preamp. I had to severely attenuate the vna output. Really like your videos. I also ran the preamp through the Siglent SSA3021X, and the nano compared very favorably...keep up the good work. 73 Glen K4KV
An OUTSTANDING video!! I had not considered the need for an attenuator on my nano VNA in some apps. Though, I use them all of the time on my spectrum analyzers. One of those Ah-Ha moments for me ! Thanks es 73 Glenn SC
Thank you Alan for an excellent video. Also for giving me a D'OH moment... a while ago I bought a Nano to help with designing a front end for a 433MHz remote control IC which has a wierd-ass input Z. After a lot of calculations and prototype it didn't work out. Now I realise the back to back input ESD protection diodes might have had something to do with it! 😖
Great video. An attenuator reduces the dynamic range of the VNA, so I've used a directional coupler to get a little less noise. You're at the upper end of dynamic range, so not a concern in this case.
This video comes at an opportune moment, as I'm playing with one of these little BGA2866 MMIC amplifiers. The S21 gain measurement on the NanoVNA is also invalid when the signal distorts. Adding attenuation changed the gain figure from 11dB to 18dB on this test board. Thanks!
Yep, good workaround for this situation. I have played around with 2N3904's with some negative feedback also and they are amazing performers for such an ordinary transistor you can get cheaply anywhere!
Thanks for the video tutorial, Alan. So many would have been tripped up by this lesser known fact of NanoVNAs when trying to measure amp or similar parameters. God bless!
I would like to give you my sincere praise and support with all my heart and sincerity for your channel, who has been working hard for your dream, to gradually develop and develop into a very large channel. I feel that it is a video that subscribers will like. I don't. It's so good. I hope that everyone will be happy while watching your video. Your videos are of really good quality and the best. I really admire you. I think I'm being possessed by the algorithm. I hope that everyone is happy and everyone lives in a world without a mask, that everyone is happy and that there are no unhappiness. Thank you for your video and I hope that your channel will be filled with good things in the future. I really fell in love with your video. .I personally like it very much. I hope that you will only walk on the flowery path from now on as much as you have worked hard. Thank you for the space-like algorithm that made it possible to see good videos
That was great! Thank-you! I'm trying to teach myself about some of these RF radio frequency and IF intermediate frequency concepts. I'd like to be able to easily and accurately determine stage gain in radios and televisions as well as test instruments and AF audio frequency as well. I'm a hobbyist at middle age trying to learnand master many things I failed to when I was younger. Thanks again and God Bless.
Hello Alan, Your videos take me back to that sense of wonder I has with my first arrl handbooks when I was a kid. I hope you are considering publishing a workbook or series of reference workbooks at some point as your style is effective and enjoyable.
You’re a freaking genius, how the hell did you figure it was the VNA out amplitude. And how did you figure the amps input limit. I’m 59 yrs old I wish I had your brain. Great video 👍. I have a nanoVNA and I don’t remember why I bought it hahaha.
Any video by you explaining the function of every component used in the 433 MHz transmitter and receiver RF circuit, explaining working of the both the RF transmitter and receiver circuit
I NEVER HAD THE TIME TO SPEC THE OUTPUT LEVEL, AND NOTICE THE EFFECT IT HAD ON INPUT LEVEL SIGNALS. THE NE602 MIXERS NEED TO BE LOOKED AT IN MORE DETAIL, MAYBE THERE IS A WAY TO ADD A CIRCUIT TO DO THIS VERY SAME TASK, BUT ALLOWING IT TO BE SWITCHABLE AS WELL. WHEN YOUR BOX OF TOYS DOES NOT HAVE SUCH ATTENUATORS, YOU ARE FORCED TO ADD EXTRAS, BUT THAT REALLY CREATES A MESSY TEST BED. 3dB, and 10 dB PADS I HAVE, NOT THE INTERMEDIATES. GUESS I WILL BEGIN ACQUIRING THESE AS WELL. THANKS!
Great video to learn from. One (maybe stupid) question: is the tested amplifier under power when you test the impedance and gain, I.e. during the S11 and S21 tests?
Excellent video. A check for overdriving the input will be something I’ll always consider in the future. But the star of the show was the HP15C calculator! I wonder what the kids are using in school today?
Incredible video as always. I am using a Nanovna in order to check the input impedance of a transceiver IC used for an RF-433 Mhz module. The tranceiver IC has an LNA stage this is why I need to use a 30dB attenuator in the CH0 so that the IC's input stage amplifier will not get saturated(exactly as your video). The problem is that when I try to calibrate the nanoVNA using the 30dB attenuator the results I get are very very noisy. It seems that the impedance values in the smith chart are all over the place and I cannot understand why this happens. I have tried a second nanoVNA with no better results.
This is to be expected, unfortunately. Even high performance lab grade VNAs will be noisy with a 30dB attenuator inline, expecially in CH0. Think of it this way - the signal generated out of CH0 is attenuated by 30dB (1000x) before going to the LNA input. Any reflected signal from the LNA will return through the same 30dB attenuator, making it even smaller yet. So, for a device with a good return loss, the reflected signal will very small, and will be reduced by another 30dB before being measured by the VNA. The only things that may help are the use of averaging and a lower RBW (if your unit has the ability to adjust the RBW or measurement BW).
You would simply terminate the input of the amplifier, and then connect the output to CH0 and run a S11. But, also you can see this basically from inspection. An emitter follower has a very low output impedance (basically 0.026/Ic), in this case just a few ohms. Then, there is a 47ohm in series - so it's basically very close to 50 ohms.
Hello Sir, can you make a video about how to safely measure the output impedance of a RF Amplifier circuit with attenuator, there are already many videos covering how to measure input impedance of a RF Amplifier circuit using a Nano VNA. Especially for non-50ohm amps, how do I measure the output impedance on the VNA?
Hi Alan, I think this is your most recent video, so I'd like to reach out and ask you to set up an experiment that's right up your alley but I haven't seen you do it. It applies largely to PCB design and I think it was Rick Hartley that mentioned it but it's pretty spectacular and very simple to to. If I have this right (and I may not!) the idea is you get a loop of coax - maybe a few metres/yards long (I'm European so I use metric) and insert an ammeter in the ground shield some where at the top of the loop. Then you "short" the shield at each end with a short piece of wire - and you've probably guessed - put another ammeter in that short run. Rick points out (and I believe him but I'd love to see this done) that at DC, the current all flows in the short return path *but* as the frequency increases, and he says the effect starts at audio frequencies, the current flowing in the "direct" path to ground begins to diminish and increases in the much longer loop. Rick explains this is because as the frequency increases the energy, which is travelling along the dielectric as a magnetic and electrical field (again, I might be wrong here) starts to "hug" - my word - the shields on the coaxial line. I can do this at home with my own paltry "free shipping from China with a counterfeit XR2206" equipment ROFLOL but you're a great teacher and with your skills and superb equipment you could demonstrate this to a far wider audience than Rick or Eric Bogatin are able to reach!
You've heard the addage that "current always takes the path of least resistance". We'll that's not the most accurate way to state that... It would be more accurate to say that current always takes the path of least *impedance*. For return currents flowing in a ground path, the "least impedance" translates mainly to "least inductance" as the frequency increases. Inductance is minimized when the "loop area" between the forward path of the current (center of the coax in your example) and the ground/shield return path is minimized. Thus, the image/return currents "hug" the region closest to the forward current path. I talk a bit about this in my video on bypass capacitors (th-cam.com/video/9EaTdc2mr34/w-d-xo.html)
@@w2aew Well blow me over with a whisper! :) Somehow I missed that one - probably (cough) bypassed (cough) it because I already knew about placing small caps near to the VCC/VDD rails on my ICs. I've been doing this like a trained monkey since I was a kid with no real appreciation of why. I've been working my way through your stuff and I wish I'd had teachers with your skill at explaining stuff when I was learning back in the 1970s. It's hard to explain the debt of gratitude I feel for all your work! I'm still a little vague on this transmission line stuff since I tend to associate it with RF stuff that I don't personally work with. Of course, as you've pointed out here, the fast edges we're creating with modern chips (heck, I can recall near-chip bypasses back on early CMOS chips) produce masses of RF harmonics off into the multiple Ghz just by the switch time. I forget if it was Rick Hartley or Eric Bogatin who described the experiment but (if you do care to recreate it), I believe the idea was to put an ammeter in the "short" side and another into the long loop. As the fundamental sine wave is swept up into the high audio frequencies and beyond (if I've grasped what they were saying) the current - continues to follow the path of least impedance, so the current in the dead short drops away while the current in the (measurably) longer DC path starts to increase. Presumably this would require the sort of bench gear that many of us don't have as DVMs won't be able to measure AC currents accurately. I think it was Paul at EEBlog who traced around a ground plane with a fairly high end current probe attached to a Tec scope and demonstrated how signals propagated through the copper. I know this is pretty basic stuff to some but my poor brain opened the lid of my noggin and a white flag popped out. ;) Apologies for the humour, it's the shortest path to describe my ignorance and astonishment at these wonderful demonstrations. Thank you again.
I didn't calibrate at the end of the adapter because I don't have a set of female open/short/load standards. Not worried about it though, since the phase shift through that short adapter was not significant at the operating frequency of the amp.
Can you do an additional video and drive this amp into compression observing S21 and the phase in particular. I would love to see what phase compression looks like.
Thanks for your really outstanding videos! I've got a NanoVNA SAA2. There's no isolation or through nenu during calibration. Guess it mean it's taken care of? Thanks. 73
Hello Alan, thank you for the video. I have a question about adding an attenuator at at the nanovna output. Wouldn't that cause an accuracy problem with the S11 measurement?
The affect of the attenuator can be calibrated out. However, since the signal injected to DUT is attenuate, and the reflected signal is also attenuated, there will be some additional uncertainty in the measurement - especially for DUTs with a good S11 (low reflections).
Thanks for sharing w2aew! Does this mean that I have to use a 13 db just to check the input tune of my Mini-Ball TL60 60 watt one transistor amplifier? The problem is that the SWR is 3.1 to 1 with the amp on. It is putting out 50 watts with 1 watt in. I suspect that it is tuned to the center of the 10 meter band. In fact my Nano VNA actually shows that it resonates at 28.500 MHz if I sweep the input of the amp and has an SWR of 2.82. I'd like to tune it to 11 meter and get the SWR down as low as possible.
Greetings.... Is there not a way to set output levels using Dislords software during calibration ? Was that added later, after this video ? I looked at menu, have not done any measurements, Dislord version 1.2.20 - NanoVNA-H 4.
I know that Bob K he doesn’t do amateur radio but is knee deep in the free flight and rc airplane arena still. He is in the same rc club I belong too Keystone rc Club
In 12:12 when you connect amplifier's output to ch1 , the amplifier is connect to a DC source, is it correct? are there not problem with nanovna? Thx for the video. 73 from LU8ALI
Can you consider doing an episode on amplifier stability and oscillations? Things like k factor, u1, and viewing oscillations on a spectrum analyzer. Thanks. I appreciate your videos a lot
Very enlightening, sir. I'm building that exact W7ZOI amplifier. If you would be so kind as to offer me some advice, I would appreciate it. I'd like to test the impedance of a mixer oscillator input using diodes with 300-500mV fwd voltage. I'm guessing the Nano-VNA with 600mV should do the trick? 73 and thanks for everything you do
For a typical diode ring double balanced mixer, the LO port will typically NOT have a nice, well controlled impedance. The function of this port is to quickly and fully commutate the diodes. When this happens, then RF/IF ports should reflect the impedance at the other end, since the diode is making the connection from the IF to RF (or vice versa). Testing the IF or RF ports without a) terminating the undriven port, and b) properly driving the LO port, will lead to incorrect results.
Hello Sir...I just run the same experiment, and it works using the 20dB attenuator, the TIA gain was around 23dB. BUT the nanoVNA graph show wierd pattern when calibrated using the 30dB or 40dB attenuator. I dont know why ?
When I first saw it, I was bit surprised that this design does not start to self-resonate, given that the bandwidth is quite high for a 2N3904 based design. What is the phase shift of one amplifier path at unity gain?
Nice video as always. Do you have a video about TL072/074 JFET input Op-Amp on how to properly use them and its performance/behaviour and their differences between LM324/4558? If non yet, is it possible to feature it in one of your next video please? Thank you and more power.
They are quite different. The LM324 is specified for operation from 3V to 32V supplies, while the TL072 is rated for 4.5 to 40V supplies. The LM324 input common mode includes the negative supply rail (but not the positive supply rail). The TL072 is just the opposite - input common mode range includes the positive supply rail, but not the negative supply rail. The TL072 output can swing fairly close to both rails (with light loading), while the LM324 can only get up to 1.5V below the positive rail. These are just a few of big differences...
@@w2aew Thank you very much for the quick response. I bought last year a TL074 with ST brand(no original) and last month with another brand(no original) but they're both from China. I wondering why the newer one behaves differently, lots of noise and early clipping. I'm thinking I might have some errors. I'm thinking if there are proper ways of using JFET input Op-Amps though my ST brand workes fine on the same circuit. I know the second purchased with another brand are not original for sure but same with my ST brand that works. Maybe I was faked(?) Thanks.
@@JB-20 It sounds like you may have received fake/counterfeit ones. Also, not that not all JFET op amps have the same specifications - so always check the datasheet. Of course, if you get fake ones, all bets are off...
Hello. first I want to thank you for your videos. I woud like to know how to measure a transmission impeadance in a PCB board. I have a PCB with an chip transmitter I want to mach to my normalised 50ohm antenna. do you have a video explaining the above or similar ? best regards
@@vitorperez3283 Understood - but to measure the impedance as I show in the video, the test frequency has to high enough to be about 1/2 wavelength for the line. Instead, you can simply test the antenna system impedance (antenna + line) as seen by the transceiver chip, and do this at the desired operating frequency of 2.4GHz. This will require you to calibrate the VNA at the IC connection point.
Amazing video. Was thinking of trying this same thing two months ago. Great tip about the nonlinear effects. The amplifier has to be turned on (biased) to make this measurement? Do you need a DC block to protect the NanoVNA?
This is awesome, Alan. I have been fretting over this very thing for the past few days and was slowly working out a process to do it. I'd even bought, a couple months ago, a TO-72 HP 11858A & 11600B transistor fixture for my vintage HP8753 which allows you to insert and bias bjt's in the 3 different amplifier configurations. How would you measure output impedance? Specifically, how would you do this for tube amps? or high power LDMOS amps? I'm not the sort of person that just accepts that you do xyz (i.e use a 1:9 output impedance transformer as rote for an LDMOS part) because everyone else does it that way :)
This looks like a great tool. Do you think it’s possible to use this tool to help create a homemade precision 50 ohm BNC cable like Tek’s older ones used in calibrating their 70’s and 80’s plugins?
Hi Alan. Are these (budget) VNA's, that probably all of them use a square wave for the stimulus, in general suited to validate active circuits like amplifiers (of course making sure in- and output levels are correct, as we see in your video). As you say in the video, you are not concerned with this fact? Maybe the input of the amp will filter out some sharp edges? Or other way around, in what use cases these devices would be generally unsuitable? Other issue would be sometimes the devices that are using harmonics, whereby the strong fundamental is also present? But that would be a sub-question 🙂 This is contrast with a "real" VNA, that probably uses a sinus stimulus.
It is really highly dependent upon the device being tested, whether its performance would affected or different due to the squarewave stimulus vs sinusoidal drive. It requires applying knowledge of the DUT and the effects of the harmonic-rich drive signal.
Very nicely presented and clear. (a) Any caveats when measuring the output impedance looking backwards into the amplifier output? (b) Which firmware are you using in this video for the H4? Mine does not seem to have the "401 points" on the bottom..
As long as the output is AC coupled, then simply terminate the input and measure S11 on the output. I am currently running 1.0.39 from Dislord (see video #320: th-cam.com/video/NcXzITPPTyA/w-d-xo.html) on my H4.
Possible use less output Power (after reset go to Calibration->Power) in this fw Power auto use 8mA output in this range, so try reduce Power to 2mA, and after this made calibration.
Hello... I'm designing a 20db gain lna for rf signals using mmbr951 rf transistor but I have some problems my output signal can not be more than 1v p-p on 50ohm load and more than 1v p-p makes some clipping and distortion in my signal what I should to do for more voltages?
If you need 20dB gain for low signals, and that is too much for large signals, then you'll need some type of AGC (automatic gain control), or an attenuator that can be increased when signal levels are high.
@@w2aew I want to amplify a 50mv p-p signal to 5v p-p my plan was use several stages of lna to reach that voltage as I understood of your words I should decrease my gain in next stages Meaning Stage 1= 50mv to 500mv Stage 2= 500mv to 1v Stage 3= 1v to 2v And so on Do you mean this???
@@Radplus 50mVpp to 5Vpp is actually 40dB of gain (20LOG(Vout/Vin). That is a lot of gain for a single stage, and you run the risk of making an accidental oscillator (doesn't take much stray feedback from the output to get into the input and make an oscillator). You would be better off using a few stages with lower gain.
The current gain of the transistor makes the 15 ohm look larger, and the voltage gain of the amplifier makes the 680 ohm look smaller. In other words, the active properties of the transistor and the feedback of the amplifier, combine with the resistor values. The model papers describe this in more detail. The formula on Page 6 of this paper gives the result for Zin: w7zoi.net/transistor_models_and_the_fba.pdf
I watched some of your intro videos on the NanoVNA last evening and was laying in bed wondering if the NanoVNA could test some preamps and then thought I'll likely need some attenuators. Then I stumble across this video doing just that.
I really wish the NanoVNA was around 20 years ago when I was in college. I might have done much better in my microwave circuits class. I'm just realizing that I did a 3 year telecom course and never got hands on with a VNA or a spectrum analyzer. Now 20 years later I feel like I'm finally getting it. Had a similar experience the first time I seen AT&T's similarities of wave behavior like 15 years ago. I feel like college gave me a really good foundation in physics and math, but the radio electronics end of things was pretty weak. I've also never really worked in the field. Spent the first 10 years(starting from 17 before college) of my career working in AV doing sound, lighting and video. These days I do science center exhibit design, fabrication and repair. I've been a ham since I was 16(25 years ago). I keep coming back to the hobby and having new breakthroughs in understanding. Like the first time I seen SSB on the SDR waterfall, modulation suddenly made so much more sense.
Amazing, I'm doning electronics my story is the same.
Brilliant, simply brilliant. No more rules of thumb, no more wet fingers in the air. Now we amateurs can do what scientists and engineers do...MEASURE!
My father was an Environmental Test Engineer at Tektronix when he died in 1974. Your speech reminds me of how he use to try and explain questions I might have. Great video and great podcast on the Amphour
Very useful technique using an attenuator. Will be using that to check a 2N5109 amp driving a crystal filter.
Glad to see this precise and systematic tutorial although I know it from my last job. As a VNA metrology engineer, I can say everything is correct and done with respect to NanoVNA limitations.
Thank you for the confirmation!
Thank you Alan. This helps so much. Armed with your info we can all now use the NanoVNA to accurately measure circuit impedances. This will be an enormous help for those of us who routinely take bits and pieces of circuitry from multiple sources and try to put them together into working rigs. Your video and the NanoVNA will remove the Z guess work. Thanks again and 73 Bill
@SolderSmoke Bill - you nailed it! I'm one of the folks that your and Alan's back and forth has been helping - thanks to both of you! 73
I heard "N2CQR", oh! That's Bill Meara of Solder Smoke!
Very helpful info, Alan, especially your explanation of the 13 dB attenuator.
There is so much to learn from your attentiveness to every small detail, I will be the first to admit I am always in hurry and missing a lot in the process. Well, maybe in time, who knows
Thanks for a awesome video again, Alan
Great Video Alan! (as always!)
I normally would have caught that because any time I do an analysis on something, I'm always cognizant of how much signal to put into beforehand.
This really true for direct-coupled amplifiers where you can pin-one to the 'rails' and blow things up!
In saying that, I can see where you would intuitively-assume that it's output would not be real high (i.e. tiny-box = tiny-signal!).
For the RF, I'm at the point of always first figuring out how much attenuation I can insert without compromising my measurements--good practice...
A great video as usual. I would not have guessed that overloading. I wish a lot of teachers get inspired by your Tutorial videos. Thank you 🎉
Thanks again for your great videos on use of test equipment. 73's Dan ~ KC4GO
OM W2AEW at the workbench is some of the best content on TH-cam, IMHBCO.
Agreed 100% He is an excellent presenter. He presents info in concise detail that is easy to understand.
I am gonna download all your vids as a reference, i was fumbling around with an active probe trying to caracterise it and failed for just about all the reasons you mentioned here 😄
Thank you Alan 👍🏻
i did stop the video to figure out which is the reason of messy measurements...
no chance !
hat off to your knowledge
Great example of using different instrument to validate amp functioning correctly and rapidly moving on to VNA . Looks so easy but requires rock solid understanding of fundamentals , a broad base of knowledge and years of experience to know how to join the dots . Thanks again
Feel so lucky for hitting this jewel channel on RF engineering. Learned so much from Alan. Have shared with my circle.
Your channel is incredibly educational and you explain everything in a way even that even a lay person can follow along. Great content as always.
I ran this same test on my H4 for a HB 2M preamp. I had to severely attenuate the vna output. Really like your videos. I also ran the preamp through the Siglent SSA3021X, and the nano compared very favorably...keep up the good work.
73
Glen K4KV
Up to now, i didn´t realise that NanoVNA limitations regarding output level. tnx!
An OUTSTANDING video!! I had not considered the need for an attenuator on my nano VNA in some apps. Though, I use them all of the time on my spectrum analyzers. One of those Ah-Ha moments for me !
Thanks es 73
Glenn
SC
Thank you Alan for an excellent video. Also for giving me a D'OH moment... a while ago I bought a Nano to help with designing a front end for a 433MHz remote control IC which has a wierd-ass input Z. After a lot of calculations and prototype it didn't work out. Now I realise the back to back input ESD protection diodes might have had something to do with it! 😖
Great video. An attenuator reduces the dynamic range of the VNA, so I've used a directional coupler to get a little less noise. You're at the upper end of dynamic range, so not a concern in this case.
This video comes at an opportune moment, as I'm playing with one of these little BGA2866 MMIC amplifiers. The S21 gain measurement on the NanoVNA is also invalid when the signal distorts. Adding attenuation changed the gain figure from 11dB to 18dB on this test board. Thanks!
Yep, good workaround for this situation. I have played around with 2N3904's with some negative feedback also and they are amazing performers for such an ordinary transistor you can get cheaply anywhere!
Much better than a CK-722.
@@gordonwelcher9598 Yep. I remember them well!
Thanks for the video tutorial, Alan.
So many would have been tripped up by this lesser known fact of NanoVNAs when trying to measure amp or similar parameters.
God bless!
Alan another wonderful learning lesson. Thank you so much. Take care 73
I would like to give you my sincere praise and support with all my heart and sincerity for your channel, who has been working hard for your dream, to gradually develop and develop into a very large channel. I feel that it is a video that subscribers will like. I don't. It's so good. I hope that everyone will be happy while watching your video. Your videos are of really good quality and the best. I really admire you. I think I'm being possessed by the algorithm. I hope that everyone is happy and everyone lives in a world without a mask, that everyone is happy and that there are no unhappiness. Thank you for your video and I hope that your channel will be filled with good things in the future. I really fell in love with your video. .I personally like it very much. I hope that you will only walk on the flowery path from now on as much as you have worked hard. Thank you for the space-like algorithm that made it possible to see good videos
That was great! Thank-you!
I'm trying to teach myself about some of these RF radio frequency and IF intermediate frequency concepts. I'd like to be able to easily and accurately determine stage gain in radios and televisions as well as test instruments and AF audio frequency as well.
I'm a hobbyist at middle age trying to learnand master many things I failed to when I was younger. Thanks again and God Bless.
Hello Alan, Your videos take me back to that sense of wonder I has with my first arrl handbooks when I was a kid. I hope you are considering publishing a workbook or series of reference workbooks at some point as your style is effective and enjoyable.
Maybe I'll write a book when I retire - no time now!
You’re a freaking genius, how the hell did you figure it was the VNA out amplitude. And how did you figure the amps input limit. I’m 59 yrs old I wish I had your brain. Great video 👍. I have a nanoVNA and I don’t remember why I bought it hahaha.
Very informative, thank you so much
Sir, as I have said many times, you're an inspiration, and I wait for ur videos, Thank you
Watched before I left to office, a good start of a day.
the subject is 100% spot on :D cant wait to watch it!
Thanks for the education. That would have driven me bonkers. Cheers.
Thanks for the demo! I still need to get one of those VNA's. Looks very handy. :)
Oh I just realized what the guitar pick is for in my NanoVNA kit! hahaha! The stylus works just fine though.
The same here. Now I feel sheepish.
Thanks for this Alan, now it all makes sense 73 Bob
Very useful tips! As a beginner in this RF magic it would take me a while to understand what am I doing wrong 😁
Any video by you explaining the function of every component used in the 433 MHz transmitter and receiver RF circuit, explaining working of the both the RF transmitter and receiver circuit
That was epic. Keep 'em coming!
Great stuff - thanks once again for a very informative video !
I NEVER HAD THE TIME TO SPEC THE OUTPUT LEVEL, AND NOTICE THE EFFECT IT HAD ON INPUT LEVEL SIGNALS. THE NE602 MIXERS NEED TO BE LOOKED AT IN MORE DETAIL, MAYBE THERE IS A WAY TO ADD A CIRCUIT TO DO THIS VERY SAME TASK, BUT ALLOWING IT TO BE SWITCHABLE AS WELL.
WHEN YOUR BOX OF TOYS DOES NOT HAVE SUCH ATTENUATORS, YOU ARE FORCED TO ADD EXTRAS, BUT THAT REALLY CREATES A MESSY TEST BED.
3dB, and 10 dB PADS I HAVE, NOT THE INTERMEDIATES. GUESS I WILL BEGIN ACQUIRING THESE AS WELL. THANKS!
no need to shout here
Great video to learn from. One (maybe stupid) question: is the tested amplifier under power when you test the impedance and gain, I.e. during the S11 and S21 tests?
Yes, it was powered up.
Excellent video. A check for overdriving the input will be something I’ll always consider in the future.
But the star of the show was the HP15C calculator! I wonder what the kids are using in school today?
Probably a calculator app on their smartphone! (I have a HP15C emulator on my iPhone for when I need a calculator away from home).
Awesome, thank you for teaching! :)
Thank you! This is an excellent video, I learned a lot.
You have a clear mind, bless you.
Allen.... Always the best... 👍👍👍👍
Newer versions of DisLords firmware have an option to reduce the output, not sure what the minimum is thou.
very interesting and very good explanation OM
Thanks, so far I've only measured antennas using 1 port. (VSWR or s11)
As always, learned a lot. Thanks.
Incredible video as always. I am using a Nanovna in order to check the input impedance of a transceiver IC used for an RF-433 Mhz module. The tranceiver IC has an LNA stage this is why I need to use a 30dB attenuator in the CH0 so that the IC's input stage amplifier will not get saturated(exactly as your video). The problem is that when I try to calibrate the nanoVNA using the 30dB attenuator the results I get are very very noisy. It seems that the impedance values in the smith chart are all over the place and I cannot understand why this happens. I have tried a second nanoVNA with no better results.
This is to be expected, unfortunately. Even high performance lab grade VNAs will be noisy with a 30dB attenuator inline, expecially in CH0. Think of it this way - the signal generated out of CH0 is attenuated by 30dB (1000x) before going to the LNA input. Any reflected signal from the LNA will return through the same 30dB attenuator, making it even smaller yet. So, for a device with a good return loss, the reflected signal will very small, and will be reduced by another 30dB before being measured by the VNA. The only things that may help are the use of averaging and a lower RBW (if your unit has the ability to adjust the RBW or measurement BW).
Oh understood!!! Thank you very much Alan! You are always to the point!
Great video! Can you please show us how to check that the output impedance of the amplifier is also 50 ohms?
You would simply terminate the input of the amplifier, and then connect the output to CH0 and run a S11. But, also you can see this basically from inspection. An emitter follower has a very low output impedance (basically 0.026/Ic), in this case just a few ohms. Then, there is a 47ohm in series - so it's basically very close to 50 ohms.
Hello Sir, can you make a video about how to safely measure the output impedance of a RF Amplifier circuit with attenuator, there are already many videos covering how to measure input impedance of a RF Amplifier circuit using a Nano VNA. Especially for non-50ohm amps, how do I measure the output impedance on the VNA?
awesome video as always.
Super explanation, thanks.
Very good info. Thanks!
Great video! Simple!
Hi Alan, I think this is your most recent video, so I'd like to reach out and ask you to set up an experiment that's right up your alley but I haven't seen you do it. It applies largely to PCB design and I think it was Rick Hartley that mentioned it but it's pretty spectacular and very simple to to.
If I have this right (and I may not!) the idea is you get a loop of coax - maybe a few metres/yards long (I'm European so I use metric) and insert an ammeter in the ground shield some where at the top of the loop.
Then you "short" the shield at each end with a short piece of wire - and you've probably guessed - put another ammeter in that short run.
Rick points out (and I believe him but I'd love to see this done) that at DC, the current all flows in the short return path *but* as the frequency increases, and he says the effect starts at audio frequencies, the current flowing in the "direct" path to ground begins to diminish and increases in the much longer loop.
Rick explains this is because as the frequency increases the energy, which is travelling along the dielectric as a magnetic and electrical field (again, I might be wrong here) starts to "hug" - my word - the shields on the coaxial line.
I can do this at home with my own paltry "free shipping from China with a counterfeit XR2206" equipment ROFLOL but you're a great teacher and with your skills and superb equipment you could demonstrate this to a far wider audience than Rick or Eric Bogatin are able to reach!
You've heard the addage that "current always takes the path of least resistance". We'll that's not the most accurate way to state that... It would be more accurate to say that current always takes the path of least *impedance*. For return currents flowing in a ground path, the "least impedance" translates mainly to "least inductance" as the frequency increases. Inductance is minimized when the "loop area" between the forward path of the current (center of the coax in your example) and the ground/shield return path is minimized. Thus, the image/return currents "hug" the region closest to the forward current path. I talk a bit about this in my video on bypass capacitors (th-cam.com/video/9EaTdc2mr34/w-d-xo.html)
@@w2aew Well blow me over with a whisper! :) Somehow I missed that one - probably (cough) bypassed (cough) it because I already knew about placing small caps near to the VCC/VDD rails on my ICs. I've been doing this like a trained monkey since I was a kid with no real appreciation of why.
I've been working my way through your stuff and I wish I'd had teachers with your skill at explaining stuff when I was learning back in the 1970s. It's hard to explain the debt of gratitude I feel for all your work!
I'm still a little vague on this transmission line stuff since I tend to associate it with RF stuff that I don't personally work with. Of course, as you've pointed out here, the fast edges we're creating with modern chips (heck, I can recall near-chip bypasses back on early CMOS chips) produce masses of RF harmonics off into the multiple Ghz just by the switch time.
I forget if it was Rick Hartley or Eric Bogatin who described the experiment but (if you do care to recreate it), I believe the idea was to put an ammeter in the "short" side and another into the long loop. As the fundamental sine wave is swept up into the high audio frequencies and beyond (if I've grasped what they were saying) the current - continues to follow the path of least impedance, so the current in the dead short drops away while the current in the (measurably) longer DC path starts to increase.
Presumably this would require the sort of bench gear that many of us don't have as DVMs won't be able to measure AC currents accurately.
I think it was Paul at EEBlog who traced around a ground plane with a fairly high end current probe attached to a Tec scope and demonstrated how signals propagated through the copper.
I know this is pretty basic stuff to some but my poor brain opened the lid of my noggin and a white flag popped out. ;)
Apologies for the humour, it's the shortest path to describe my ignorance and astonishment at these wonderful demonstrations.
Thank you again.
Thank you for this!
Another great tutorial, thank you Alan
Question: why don't you calibrate at the end of your adapter that connects to your amplifier and the end of the cable connecting to your amplifier?
I didn't calibrate at the end of the adapter because I don't have a set of female open/short/load standards. Not worried about it though, since the phase shift through that short adapter was not significant at the operating frequency of the amp.
@@w2aew Thanks! That makes sense.
Can you do an additional video and drive this amp into compression observing S21 and the phase in particular. I would love to see what phase compression looks like.
Great video yet again - but where on earth did you get a 13dB fixed attenuator!?
LOL - not sure where it came from, it's been in my accessory box for a while...
Great Video, Very good information. Thanks for all you do.
Thanks for your really outstanding videos! I've got a NanoVNA SAA2. There's no isolation or through nenu during calibration. Guess it mean it's taken care of? Thanks. 73
Some models don't have the ISOLATION cal, but it should have the Through Cal.
Hello Alan, thank you for the video. I have a question about adding an attenuator at at the nanovna output. Wouldn't that cause an accuracy problem with the S11 measurement?
The affect of the attenuator can be calibrated out. However, since the signal injected to DUT is attenuate, and the reflected signal is also attenuated, there will be some additional uncertainty in the measurement - especially for DUTs with a good S11 (low reflections).
Thank you.
Enjoyed the video. N0QFT
Thanks for sharing w2aew!
Does this mean that I have to use a 13 db just to check the input tune of my Mini-Ball TL60 60 watt one transistor amplifier?
The problem is that the SWR is 3.1 to 1 with the amp on. It is putting out 50 watts with 1 watt in.
I suspect that it is tuned to the center of the 10 meter band. In fact my Nano VNA actually shows that it resonates at 28.500 MHz if I sweep the input of the amp
and has an SWR of 2.82.
I'd like to tune it to 11 meter and get the SWR down as low as possible.
I will appreciate some guide lines for tunning NFC PCB antenna with Frequency 13.56 MHZ
Greetings....
Is there not a way to set output levels using Dislords software during calibration ? Was that added later, after this video ? I looked at menu, have not done any measurements, Dislord version 1.2.20 - NanoVNA-H 4.
I'll have to update my firmware to see - not sure how much it can be adjusted.
A NanoSA as well as having the Nano VNA is a great combination to have.
I know that Bob K he doesn’t do amateur radio but is knee deep in the free flight and rc airplane arena still. He is in the same rc club I belong too Keystone rc Club
Halo Alan, would you please upload some tutorial using tinySA. Thanks.
If I ever get one, I will!
@@w2aew Ameen....soon 🔜
In 12:12 when you connect amplifier's output to ch1 , the amplifier is connect to a DC source, is it correct? are there not problem with nanovna? Thx for the video. 73 from LU8ALI
The input and output of the amplifier are AC coupled, so all is OK.
Can you consider doing an episode on amplifier stability and oscillations? Things like k factor, u1, and viewing oscillations on a spectrum analyzer. Thanks. I appreciate your videos a lot
Very enlightening, sir. I'm building that exact W7ZOI amplifier.
If you would be so kind as to offer me some advice, I would appreciate it.
I'd like to test the impedance of a mixer oscillator input using diodes with 300-500mV fwd voltage.
I'm guessing the Nano-VNA with 600mV should do the trick?
73 and thanks for everything you do
For a typical diode ring double balanced mixer, the LO port will typically NOT have a nice, well controlled impedance. The function of this port is to quickly and fully commutate the diodes. When this happens, then RF/IF ports should reflect the impedance at the other end, since the diode is making the connection from the IF to RF (or vice versa). Testing the IF or RF ports without a) terminating the undriven port, and b) properly driving the LO port, will lead to incorrect results.
@@w2aew Thank you!
Very insightful. Never seen a bidirectional amp like that.
One question. How would you measure the output impedance of an amplifier?
Terminate the input, connect the output to CH0 and measure S11.
@@w2aew thank you. I assumed there was more to it. But it really is as simple as that I guess.
Hello Sir...I just run the same experiment, and it works using the 20dB attenuator, the TIA gain was around 23dB.
BUT the nanoVNA graph show wierd pattern when calibrated using the 30dB or 40dB attenuator. I dont know why ?
When I first saw it, I was bit surprised that this design does not start to self-resonate, given that the bandwidth is quite high for a 2N3904 based design. What is the phase shift of one amplifier path at unity gain?
so where did you get the idea to use a 13db attinuator, was it from the determined gain of the circuit?
Yes, based on the gain of the amplifier
Nice video as always.
Do you have a video about TL072/074 JFET input Op-Amp on how to properly use them and its performance/behaviour and their differences between LM324/4558? If non yet, is it possible to feature it in one of your next video please? Thank you and more power.
They are quite different. The LM324 is specified for operation from 3V to 32V supplies, while the TL072 is rated for 4.5 to 40V supplies. The LM324 input common mode includes the negative supply rail (but not the positive supply rail). The TL072 is just the opposite - input common mode range includes the positive supply rail, but not the negative supply rail. The TL072 output can swing fairly close to both rails (with light loading), while the LM324 can only get up to 1.5V below the positive rail. These are just a few of big differences...
@@w2aew Thank you very much for the quick response.
I bought last year a TL074 with ST brand(no original) and last month with another brand(no original) but they're both from China. I wondering why the newer one behaves differently, lots of noise and early clipping. I'm thinking I might have some errors. I'm thinking if there are proper ways of using JFET input Op-Amps though my ST brand workes fine on the same circuit. I know the second purchased with another brand are not original for sure but same with my ST brand that works. Maybe I was faked(?)
Thanks.
@@JB-20 It sounds like you may have received fake/counterfeit ones. Also, not that not all JFET op amps have the same specifications - so always check the datasheet. Of course, if you get fake ones, all bets are off...
@@w2aew Ok, this clears everything. Thanks a lot.
Very nice , like always it is !
At the end of the video, you mentioned that the 3db bandwidth is around 87MHz. Does that mean that the amplifier would work for HF/50MHz then?
Yes, even beyond that with some reduced gain.
Please tutorial nanoVNA to measure UHF antenna?
Hello.
first I want to thank you for your videos.
I woud like to know how to measure a transmission impeadance in a PCB board.
I have a PCB with an chip transmitter I want to mach to my normalised 50ohm antenna.
do you have a video explaining the above or similar ?
best regards
If you are looking to measure the impedance of a transmission line on a PCB, you might be able to use this:
th-cam.com/video/hqKLFbNYRZc/w-d-xo.html
@@w2aew many thanks
I will try It out.
my line from the tranceiver chip to the antena is 14mm
@@vitorperez3283 That's going to be way too short to characterize with a low cost VNA - you need a much higher frequency unit
@@w2aew the frequency is 2.4ghz
@@vitorperez3283 Understood - but to measure the impedance as I show in the video, the test frequency has to high enough to be about 1/2 wavelength for the line. Instead, you can simply test the antenna system impedance (antenna + line) as seen by the transceiver chip, and do this at the desired operating frequency of 2.4GHz. This will require you to calibrate the VNA at the IC connection point.
Amazing video. Was thinking of trying this same thing two months ago. Great tip about the nonlinear effects. The amplifier has to be turned on (biased) to make this measurement? Do you need a DC block to protect the NanoVNA?
Yes, it has to be biased because the feedback helps to set the impedance. A DC block is needed, and is included in the design.
This is awesome, Alan. I have been fretting over this very thing for the past few days and was slowly working out a process to do it. I'd even bought, a couple months ago, a TO-72 HP 11858A & 11600B transistor fixture for my vintage HP8753 which allows you to insert and bias bjt's in the 3 different amplifier configurations. How would you measure output impedance? Specifically, how would you do this for tube amps? or high power LDMOS amps? I'm not the sort of person that just accepts that you do xyz (i.e use a 1:9 output impedance transformer as rote for an LDMOS part) because everyone else does it that way :)
This looks like a great tool. Do you think it’s possible to use this tool to help create a homemade precision 50 ohm BNC cable like Tek’s older ones used in calibrating their 70’s and 80’s plugins?
Hi Alan. Are these (budget) VNA's, that probably all of them use a square wave for the stimulus, in general suited to validate active circuits like amplifiers (of course making sure in- and output levels are correct, as we see in your video). As you say in the video, you are not concerned with this fact? Maybe the input of the amp will filter out some sharp edges? Or other way around, in what use cases these devices would be generally unsuitable? Other issue would be sometimes the devices that are using harmonics, whereby the strong fundamental is also present? But that would be a sub-question 🙂 This is contrast with a "real" VNA, that probably uses a sinus stimulus.
It is really highly dependent upon the device being tested, whether its performance would affected or different due to the squarewave stimulus vs sinusoidal drive. It requires applying knowledge of the DUT and the effects of the harmonic-rich drive signal.
Very nicely presented and clear. (a) Any caveats when measuring the output impedance looking backwards into the amplifier output? (b) Which firmware are you using in this video for the H4? Mine does not seem to have the "401 points" on the bottom..
As long as the output is AC coupled, then simply terminate the input and measure S11 on the output. I am currently running 1.0.39 from Dislord (see video #320: th-cam.com/video/NcXzITPPTyA/w-d-xo.html) on my H4.
Another great oresentation.
Possible use less output Power (after reset go to Calibration->Power) in this fw Power auto use 8mA output in this range, so try reduce Power to 2mA, and after this made calibration.
Thanks - not all firmware versions give you the option of adjusting the power, so that's why I didn't mention it.
Thanks Alan! That's really helpful. 73 Nick M0NTV
Does CH1 LogMag measure dBm of the CH1 input?
No, the LogMag measures the response level relative to the stimulus (either reflected response or thru response, depending on the channel/port)
Hello. please i am looking for lcd screen for fluke 87 do you know a site that sell it with other spare parts. Regards
Thinks for all,please sir if you have Heath 4554 oscilloscope manual .
Sorry, I can't help you with that.
@@w2aew thank you .
Hello...
I'm designing a 20db gain lna for rf signals using mmbr951 rf transistor but I have some problems my output signal can not be more than 1v p-p on 50ohm load and more than 1v p-p makes some clipping and distortion in my signal what I should to do for more voltages?
If you need 20dB gain for low signals, and that is too much for large signals, then you'll need some type of AGC (automatic gain control), or an attenuator that can be increased when signal levels are high.
@@w2aew I want to amplify a 50mv p-p signal to 5v p-p my plan was use several stages of lna to reach that voltage as I understood of your words I should decrease my gain in next stages
Meaning
Stage 1= 50mv to 500mv
Stage 2= 500mv to 1v
Stage 3= 1v to 2v
And so on
Do you mean this???
@@Radplus 50mVpp to 5Vpp is actually 40dB of gain (20LOG(Vout/Vin). That is a lot of gain for a single stage, and you run the risk of making an accidental oscillator (doesn't take much stray feedback from the output to get into the input and make an oscillator). You would be better off using a few stages with lower gain.
@@w2aew thanks 👍👍👍
Hi Alan, from the paper, how R1(330), Rf (680) and Rd (15) can be combined to become 50 ohm?
The current gain of the transistor makes the 15 ohm look larger, and the voltage gain of the amplifier makes the 680 ohm look smaller. In other words, the active properties of the transistor and the feedback of the amplifier, combine with the resistor values. The model papers describe this in more detail. The formula on Page 6 of this paper gives the result for Zin: w7zoi.net/transistor_models_and_the_fba.pdf
@@w2aew Thanks Alan.