Changes between Version 24 and Version 25 of Tutorials/k0SDR/Tutorial04a


Ignore:
Timestamp:
Sep 30, 2014, 3:25:32 AM (10 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/k0SDR/Tutorial04a

    v24 v25  
    1 = Spectrum sensing with USRP2 =
     1== Spectrum sensing with USRP2 ==
    22
    3 == Description ==
     3=== Description ===
    44In this tutorial we'll use the USRPs on the grid for FFT-based spectrum sensing. Each USRP (centered on a frequency with specified bandwidth) will collect data into an OML server for post processing. For details on available USRP2s on the grid, please check  [https://www.orbit-lab.org/status/orbit/ inventory status].
    55
    6 == Hardware / Software Resources utilized ==
     6=== Hardware / Software Resources utilized ===
    77 1. Grid nodes with a USRP2 connect via Ethernet.
    88 2. ''ubuntu-12-04-uhd.ndz'': disk image loaded onto nodes. This image has all the precompiled - software required to configure the USRPs and analyze recorded data. The USRP2's interface with the node is already configured.
     
    1111 5. Orbit's Arbitrary Waveform Injection System: used to inject noise or simple signal into RF environment. [https://www.orbit-lab.org/wiki/Software/eAM/mInterf#InterferenceAggregateManager More information of this generator can be found here.]
    1212
    13 == Set up ==
     13=== Set up ===
    1414 * To get started first make a reservation on the [https://www.orbit-lab.org/schedule/ Orbit Scheduler] for using the Grid.
    1515
     
    4646}}}
    4747
    48 == Spectrum sensing with multiple nodes at different frequencies ==
     48=== Spectrum sensing with multiple nodes at different frequencies ===
    4949
    5050 * To view the available parameters for the console application
     
    7474  || [[Image(noise_floor.png, width=500px)]] ||
    7575
    76 == Frequency detection with multiple nodes.
     76=== Frequency detection with multiple nodes ===
    7777
    7878 * This will demonstrate using the waveform generator to create a signal at 5.002 GHz and using the USRPs to detect & record the signal. From the grid console enter the following to configure & run the waveform generator at 5.002 GHz with a -1 dBm power level.
     
    102102  || [[Image(f5.002.png, width=500px)]] ||
    103103
    104 == Spectrum sensing code ==
     104=== Spectrum sensing code ===
    105105
    106106 * The spectrum sensing code interfacing with the USRP is located in the node under the following directory: /root/uhd/host/examples/ - the two files of interest are CWriteOML_spectrum.h and spectrum.cpp. This version of the code uses an FFT to detect spectrum activity. This code can be modified/tweaked for testing other sensing schemes as well.
    107107
    108 == Logging spectrum data directly to an OML server ==
     108=== Logging spectrum data directly to an OML server ===
    109109
    110110* Spectrum data can also be logged directly to an OML server. In the above examples the data was recorded to a local file stored on the node itself. To log directly to an oml sever, run the ''spectrum_console'' application with the '''--oml''' option specified with an ip-address:port-number of the oml server. The following would record to the oml-server running on the grid console: