GithubHelp home page GithubHelp logo

gvardakis / gr-devsync Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 1.0 126 KB

A phase synchronizer for multiple SDR devices

License: GNU General Public License v3.0

CMake 63.64% C++ 29.20% Python 7.17%
gr-devsync mimo phase synchronizer gnuradio antenna-array sdr-device phase-synchronization

gr-devsync's Introduction

GR-DEVSYNC

gr-devsync is an Out Of Tree module of GNURadio, designed to provide phase synchronization for multiple SDR devices.

Description

The goal of this project is to provide a low-cost, extendable solution to phase synchronizing multiple SDR devices for use in MIMO scenarios. Apart from the antenna array to be synchronized, gr-devysnc also requires an SDR device with transmit capability. A known signal is transmitted, and received by all elements of the antenna array. Using crosscorrelation with the known sequence at the receiver, we detect the arrival of the signal at all channels, and provided that the signal is received at (almost) the same time from each one, we compensate digitally for the phase offset between them. For the purpose of this project, the long training sequence of the IEEE802.11 protocol is being used as the transmitted known signal. Also, it is assumed that the RX devices are synchronized in frequency.

Usage

The transmitting element is placed at the far field side of the antenna array so that the signal arrives at the array as a plane wave. Also, it must be placed at a direction, such that the distance of the transmitting antenna to each of the receiving elements, is almost equal. For example, if the array is a linear array, the transmitting antenna should be placed at azimuth 90 and elevation 0, so that the signal arrives at the same time at all receiving elements.

After the start of execution, a (user-defined) number of samples is discarded, and after, the noise floor estimation takes place. For this reason, and depending on the values defined by the user in the corresponding blocks, the transmission of the signal should occur a few seconds after the start of execution.

Furthermore, an RMS normalization method is used to bring the receiving signals of the different channels on the same level, in order to compensate for possible amplitude offsets, which degrade the performance of the synchronizer.

Please refer to the examples folder for a sample flowgraph of how the different blocks are combined.

Dependencies

Apart from the dependencies of gnuradio, gr-devsync also requires the Armadillo library to build.

Installation

gr-devsync uses the cmake tool for generating the appropriate Makefiles

First create a build directory

$ mkdir build

Execute the cmake command with the appropriate arguments inside the build directory

$ cmake ..

And finally build the project

$ make
$ sudo make install

Contact

For any information you will find me on the gnuradio and usrp lists, or email me at [email protected]

gr-devsync's People

Contributors

gvardakis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

wangqiwei

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.