Skip to content
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

HamVNA instructions #170

Closed
TacHawkes opened this issue Jan 22, 2016 · 12 comments
Closed

HamVNA instructions #170

TacHawkes opened this issue Jan 22, 2016 · 12 comments

Comments

@TacHawkes
Copy link

Hi,

could you give a short introduction how to use HamVNA with your SDR app?
I'm using the HPSDR transceiver App from the Bazaar and installed the HamVNA software. The connection works so far but I do not get any meaningful data from the software. I assume the DUT ist connected to OUT 1 and IN 1 for measurements in transmission mode? For testing purpose I've hooked up a small LCR circuit with about 200 kHz resonance frequency which I can measure using the Bode analyzer.

@pavel-demin
Copy link
Owner

I suppose that the instructions at http://www.dxatlas.com/hamvna/ could be directly applied when using this program with Red Pitaya.

Looking at these instructions I'd say that connecting a DUT directly to OUT1 and IN1 won't work.It should be connected via a series fixture or a reflection bridge.

Last week, I found that the VNA functionality required some additional code in the FPGA configuration and in the server running on Red Pitaya. I've added the missing parts and updated the SDR/HPSDR bazaar application and the SD card image. Please make sure that you're using the latest version (0.94-861) of the SDR/HPSDR application.

I'd be very interested to make HamVNA program usable with Red Pitaya. So, it would be great if you could test it with a series fixture or a reflection bridge and explain me what do you think is going wrong.

@TacHawkes
Copy link
Author

Hi,

I will try if with a series fixture as soon as I have one available. For now I just wanted to give the software a quick test. I should mention that I've connected 50 Ohms in parallel to IN1 to have impedance matching between OUT 1 and IN 1 (actually I do not understand why the RP has no internal "50 Ohms mode") but of course this does not replace the fixture. Still I would have expected to measure at least something for the magnitude/gain parameter but instead I just get the flat noise-floor.

@pavel-demin
Copy link
Owner

I've just done three frequency sweeps with the following elements connected to OUT1 and IN1:
vna_sch

Here are the frequency responses that I've obtained:

vna_1
vna_2
vna_3

@TacHawkes
Copy link
Author

Ok this looks completely different ;) As I said I get basically no signal, just the noisefloor. I will try it again.

@pavel-demin
Copy link
Owner

If you get something flat, then it's probably the SDR/HPSDR version that is not up-to-date on your Red Pitaya.

@TacHawkes
Copy link
Author

Ok I've updated the Ecosystem and your Bazaar App. I still get the flat response using your first circuit (OUT 1 to IN 1 with 50 Ohms between signal and GND)

@TacHawkes
Copy link
Author

Just to be sure: I do not need you custom image from your blog, do I? I have updated to the most recent 0.94 ecosystem (build 561), and installed all apps from Bazaar again, so your SDR/HPSDR app is now on version 0.94-861. I have no clue what could be wrong at the moment, as analyzing a DUT with the bode analyzer app works flawlessly.

@pavel-demin
Copy link
Owner

I do not need you custom image from your blog, do I?

No, not necessary. I used SDR/HPSDR 0.94-861 installed via bazaar to produce the above plots.

Could you check with an oscilloscope if you have any signal coming from OUT1?

@pavel-demin
Copy link
Owner

After several only partially successful attempts to make my SDR application reliably work with HamVNA I developed a new VNA application for Red Pitaya:
http://pavel-demin.github.io/red-pitaya-notes/vna/

It's now available from the Red Pitaya application marketplace.

@pavel-demin
Copy link
Owner

To @stevec5000:
Since your questions aren't related to HamVNA, I've moved them to a new issue: #490.

Repository owner deleted a comment from stevec5000 Jul 9, 2017
@Rolf-L
Copy link

Rolf-L commented Jul 11, 2017

Hi Pavel,
I tried to use HamVNA 1.1 running on my PC with Windows 7.
I used SDR/HPSDR installed via bazaar, but there is no output signal at OUT1 or at OUT2.
I checked this with my oscilloscope running "Sweep" after calibrating. There is just the red noisefloor and a blue signal line at -110dBFS. Any idea what's wrong?

Your RP VNA program works fine.
Is there a RP VNA version available, using IN2 and OUT2 instead of IN1 and OUT1?.
I'm using IN1 and OUT1 with my HPSDR TRX.

image

@pavel-demin
Copy link
Owner

Hi Rolf,

I used SDR/HPSDR installed via bazaar, but there is no output signal at OUT1 or at OUT2.

As I mentioned in my previous comment, my attempts to make my SDR application reliably work with HamVNA were only partially successful. Then I removed all the VNA related code from the 'SDR transceiver compatible with HPSDR' application for Red Pitaya. So, HamVNA can't be currently used with the 'SDR transceiver compatible with HPSDR' application for Red Pitaya.

Is there a RP VNA version available, using IN2 and OUT2 instead of IN1 and OUT1?.

Using IN2 requires a very simple modification of the Python code in vna.py: adc1 should be replaced with adc2 on line 212 in vna.py.

Using OUT2 requires some modifications of the FPGA configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants