3.2.11. Vector Network Analyzer

Note

The VNA application is a 3rd party application created and maintained by Pavel Demin and the SDR community. The application in the official Red Pitaya OS is ported from the community Alpine Linux image. For the access to the latest community updates, please check the Pavel Demin's Red Pitaya Notes VNA page.

What do I need before I start?

  1. VNA application requirements:

    • Windows or Linux-based personal computer (PC).

  2. The following accessories and materials are available in the Red Pitaya store:

    • any kit that includes a STEMlab 125-14, SDRlab 122-16, or 125-10 (discontinued) board

    • Vector Network Analyzer bridge module

Start using Red Pitaya as a Vector Network Analyser

Connect Vector Network Analyzer bridge to the Red Pitaya

  • Connect the VNA module’s OUT to the Red Pitaya IN1

  • Connect the VNA module’s IN to the Red Pitaya OUT1.

  • Set the IN1 jumpers on the Red Pitaya to the LV position.

../../../_images/vna_bridge_module_connections.png

Install & run network Vector Network Analyzer control app

Windows users only

  1. Open the VNA application

  2. Download and unpack the Windows control client.

  3. Run the vna.exe program located in the control directory.

  4. Type in the IP address of the Red Pitaya board and press the Connect button.

  5. Perform calibration and measurements.

Note

To get access to the latest community version of the VNA, please check out Pavel Demin's Red Pitaya Notes VNA page. The installation instructions differ only slightly:

  1. Open the VNA application

  2. Head to Pavel Demin's Red Pitaya Notes VNA page. There you can read more about the inner workings of the application as well as find links to other useful information.

  3. Find the Getting started with MS Windows section and follow the bullet points. SKIP the first three points if you are using official Red Pitaya OS!

  4. Download and unpack the release zip folder from the link above to your computer.

  5. Run the vna.exe program located in the control directory.

  6. Type in the IP address of the Red Pitaya board and press the Connect button.

  7. Perform calibration and measurements.

Linux users only

  1. Open the VNA application

  2. Download and unpack the Linux control client.

  3. Install Python 3 and all the required libraries:

    sudo apt-get install python3-dev python3-pip python3-numpy python3-pyqt5 libfreetype6-dev
    sudo pip3 install matplotlib mpldatacursor
    
  4. Run the control program:

    cd /vna/client
    python3 vna.py
    
  5. Type in the IP address of the Red Pitaya board and press the Connect button.

  6. Perform calibration and measurements.

Note

To get access to the latest community version of the VNA, please check out Pavel Demin's Red Pitaya Notes VNA page. The installation instructions differ only slightly:

  1. Open the VNA application

  2. Head to Pavel Demin's Red Pitaya Notes VNA page. There you can read more about the inner workings of the application as well as find links to other useful information.

  3. Find the Getting started with GNU/Linux section and follow the bullet points. SKIP the first three points if you are using official Red Pitaya OS!

  4. Install Python 3 and all the required libraries:

    apt-get install python3-numpy python3-matplotlib python3-pyqt5
    
  5. Clone the source code repository to your computer:

    git clone https://github.com/pavel-demin/red-pitaya-notes
    
  6. Run the control program:

    cd red-pitaya-notes/projects/vna/client
    python3 vna.py
    
  7. Type in the IP address of the Red Pitaya board and press the Connect button.

  8. Perform calibration and measurements.

Type in the IP or URL address of the Red Pitaya board

Connect by entering the Red Pitaya’s IP:

../../../_images/1_ip.png

To find the IP address of your Red Pitaya board, first connect to Red Pitaya by following these instructions.

Then go to System->Network Manager. The IP is written next to the label. Address: xxx.xxx.xxx.xxx .

../../../_images/network_manager_icon.png

Connect by entering RedPitaya URL:

../../../_images/1_url.png

Run the Vector Network Analyzer application on the Red Pitaya

../../../_images/vna_icon.png

Click “Connect” inside the Vector Network Analyzer control app

../../../_images/2_connect.png

Perform calibration and start measuring

Note

On SDRlab 122-16 the VNA module works for frequencies above 500 kHz. Please start the calibration process at 500 kHz (ignore calibration values in the pictrures).

../../../_images/3_calibrate.png
  1. Connect the SMA OPEN calibration connector marked with the letter O to the DUT SMA connector of the network vector analyzer bridge module. Click the button “Open” and wait for the calibration procedure to complete.

    ../../../_images/04_Calibration_O.jpg
  2. Connect the SMA SHORT calibration connector marked with the letter S to the DUT SMA connector of the network vector analyzer bridge module. Click the button “Short” and wait for the calibration procedure to complete.

    ../../../_images/03_Calibration_S.jpg
  3. Connect the SMA LOAD calibration connector marked with the letter L to the DUT SMA connector of the network vector analyzer bridge module. Click the button “Load” and wait for the calibration procedure to complete.

    ../../../_images/05_Calibration_L.jpg
  4. Select the Smith chart tab at the bottom and then click the Single button to perform a single measurement of the DUT. A dot in the middle of the Smith chart circle (@ 50 Ohm) will indicate that VNA is properly measuring the reference 50 Ohm LOAD.

    ../../../_images/4-load_DUT_smith_chart.png
  5. Disconnect the LOAD SMA connector and connect whatever DUT you’d like to measure.

    ../../../_images/07_Product_Combo.jpg

Examples:

  1. Measurement of a 21-meter vertical antenna

    The antenna is not properly tuned (at frequency 14, 21 MHz, SWR should be = 1.5).

    ../../../_images/antenna.png
  2. 20-meter bandpass filter for HAM RADIO

    SWR is better than 1.5 between the start and stop band frequencies, and the filter load is around 50 Ohm.

../../../_images/bandpass_filter.png
../../../_images/bandpass_filter_smith_chart.png

Author & Source

Credits

The original developer of the Vector Network Analyzer Red Pitaya application is Pavel Demin.
Repositories used by our builds:

Pavel Demin has developed several other SDR applications that are compatible with the Red Pitaya board. These applications are available in the Pavel Demin’s Alpine Linux OS image. For more information on these applications, please refer to the Red Pitaya Notes.