-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VNA Enhancements #250
Comments
I've found a library called mpldatacursor that provides cursors for matplotlib. Here is how these cursors look like with the VNA client: |
Hi Pavel, That looks interesting and probably the basis of a solution. My ideal would be to be able to click the mouse on a point and see the reading in whatever measurement mode I've selected, i.e. SWR and Freq, Impedance and Freq, Return loss and Freq, etc. The alternative could be a pair of measurement cursors with a value readout at the point where they intersect. Thanks for your persistence on this project. I'm sure it will be worthwhile. PS: I've just been using the VNA to measure a home-made balun and also an antenna tuner. So far the results have all been as expected so it is already a very useful tool. Mike |
Hi again Pavel, Just had a closer look at that library and I think it could be just right. I'd wrongly assumed from your drawing that it was automatically displaying the peak value of each trace. If I've understood it properly it will display the measurement wherever you click the mouse; just what I wanted. Thanks, Mike |
There is now a new version with mpldatacursor, variable bandwidth and frequency correction. Both Red Pitaya and PC applications should be updated. |
There is now a version of vna.py with improved Smith chart. It can be zoomed/panned and it has cursors displaying frequency and impedance. If you want to give this new version a try, then you can download vna.py and copy it to the directory where the vna client is installed. |
Hi Pavel, A very helpful enhancement that makes the Smith chart much more usable. I see you've also tidied-up the measurement cursors so they give a more meaningful readout - very nice. One point though, could you amend the cursors to report frequency in MHz to 3 decimal places? I'm using a reflectance bridge with the Mini-Circuits 1-60MHz directional coupler as shown in the attached drawing. As a precaution, I have put a 50R termination on the unused Red Pitaya input 2. I've also added a 7.5dB matching attenuator between the Red Pitaya's output and the coupler as I'm a bit suspicious of the Red Pitaya's output impedance. I have also terminated input 1 with a 50R load. The loads and matching attenuator are there in an attempt to make sure all ports of the coupler, except the DUT, can see solid 50R terminations. I'm calibrating the setup using OSL loads on the DUT (OUT) port of the Mini-Circuits coupler. The results are very good so far. I should have a ZX30-20-4+ single port coupler next week so that will give a simpler layout. Thanks again for your work on this project - it's coming along very nicely. Mike - G4WNC |
Many thanks for the detailed description of your measurements. Very interesting. I've just replaced all the format expressions with The new version is now available from the Red Pitaya application marketplace. Both Red Pitaya and PC applications should be updated. This new version includes the following improvements and changes:
|
Hi Pavel, Very useful enhancements - thanks. However, I've noticed one glitch. Occasionally, the progress bar will freeze on 99% and after a wait will disappear without displaying any results or messages. It seems to be random but I'll keep monitoring to see if I can spot a pattern. |
Does it happen with the latest version or with one of the previous ones? |
I only noticed it with the latest version. |
Most probably, the freezes happen when CPU does not have enough time to process all the samples. The buffer between FPGA and CPU overflows and some samples get lost. I've tried to add some more optimizations but the progress bar still freezes once in a while. Looks like switching to 1000 points/s was not a good idea. |
I've switched back to the 500 points/s max. sweep speed and added some optimizations to reduce the probability of buffer overflows and interface freezes. The new version is now available from the Red Pitaya application marketplace. Both Red Pitaya and PC applications should be updated. |
Thanks a lot for this comparison with DG8SAQ VNA! It's great to see that the results produced by the Red Pitaya VNA look very similar. There is a known bug/feature of the Red Pitaya outputs. When the outputs aren't properly loaded they start to "resonate" at about 15-20 and 40-45 MHz. Maybe it could explain the results without the 20dB attenuator. |
Hi Pavel, I've been away on holiday for a week but now back home. I thought it might be helpful if I attach details of my modified 3-bead balun reflectance bridge for use with the Red Pitaya. I built my prototype using Schmartboard with SMD (0805) resistors for the attenuators. As the Red Pitaya VNA only works up to 60MHz, construction is less critical than the original design. |
Hi Mike, Many thanks for sharing schematics of your new bridge. Last week, there was a post on the Red Pitaya forum with the following circuit: I've just uploaded to the Red Pitaya application marketplace a new version of the VNA application with the following improvements and changes:
Best regards, Pavel |
Hi Pavel, I'm using now the Alpine version. Best regards, |
Hi Rolf, Thank you for testing the SD card image based on Alpine Linux.
With the latest version (20171130), it can be done by editing line 566 in vna.py and replacing I'll try to add a GUI element for controlling the GPIO pins to the next VNA version. Best regards, Pavel |
Hi Pavel, Thank you for the fast info. Best regards, |
Hello Pavel,
Thanks again for the great work Regards |
I've been testing the VNA with a resistive series fixture and also with a Mini-Circuits ZFBDC20-6HP+ directional coupler and the results have been very encouraging. The series fixture in particular works very well.
However, when making measurements it would be helpful to have a more detailed readout. I can think of two options but I'm sure there are others:
1 - A tool-tip box that appears at the mouse pointer with a readout of the exact measurement at the pointer tip.
or
2 - Measurement cursors that can be moved on the display to show precise results.
Thanks,
Mike
The text was updated successfully, but these errors were encountered: