/rotary-head-software

Software for Automating Antenna Measurement using Rotary Head

Primary LanguagePythonMIT LicenseMIT

Rotary Head for Antenna Measurement

This repository is a part of the Rotary Head project. It was developed at the Gdańsk University of Technology. The other parts of the project can be found in the following repositories:

There is the article titled "A Low-Cost System for Far-Field Non-Anechoic Measurements of Antenna Performance Figures" which discusses results obtained using Rotary Heads.

Software for Automating Measurements

Repository contents

All software is written in Python. The repository contains the following items:

  • Rotary Head driver
  • Anritsu MS20xxC driver
  • Command Line Interface program
  • Example script

Usage

CLI

You can use the CLI (Command Line Interface) by running python -m antenna_meas_cli.cli command. All available options are listed in the features section and can be explored using the --help switch added to the command.

Features

  • Listing available devices (both Rotary Tables and VNAs)
  • Automatic measurement of an antenna characteristic
  • Save measurement to a S2P file
  • Live display of the measurement on the plot
  • Stop the Rotary Table on program exit

Example script

The example script can be found in src/ directory. It performs the following actions:

  • initializes communication with the Rotary Table and the VNA,
  • prepares both devices for a measurement,
  • takes a measurement of an antenna characteristic,
  • rotates an antenna back to its home position.

Dependencies

Python packages

  • pyvisa v1.11
  • scikit-rf v0.19
  • click v8.0
  • crc8 v0.1
  • pyserial v3.5
  • pytest v6.2 (only for a testing purpose)