Giter VIP home page Giter VIP logo

wcdma_trace_analysis's Introduction

Analyze the WCDMA traces collected by USRP.

-------------------------
1. Collect traces:
Becasue the WCDMA uses 3.84Mchips/s rate, we need to set the sampling rate to 7.68M samples per second.

uhd_rx_cfile.py -v --show-async-msg -g 45 --samp-rate=7.68e6 -f 1965M uhd_signal.dat

We can use USRP utility tool to visualize collected trace:

gr_plot_yichao.py -s 20000000 -B 5000 -R 7.68e6 uhd_signal.dat


-------------------------
2. Compile codes:
make


2.1. autocorrelate.cc
the main code to analyze WCDMA traces which includes:
i) find slot and frame boundary
ii) identify secondary synchronization code, first scrambling code, second scrambling code

usage:
autocorr <preamble input file> <start index> <end index> <threshold>

e.g.
./autocorr DL_wdata_768.dat 22206100 22400000 7 
perl autocorrelate.pl


2.2. output_ycc.cc
(codes from Apurv with slitely modification)
Convert USRP binary signal files to readable format:
[index] [magnitude] [phase] [real] [imaginary]

usage: 
output <file name>

e.g.
output uhd_signal.dat


2.3. autocorrelate2.cc

usage: 
autocorr2 <preamble input file> <start index> <end index> <threshold>

e.g.
./autocorr2 DL_wdata_768.dat 21000000 21030000 > coeff2.txt 
gnuplot plot_coeff2.plot

batch:
batch.pl

wcdma_trace_analysis's People

Watchers

James Cloos avatar Junaid avatar

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.