Version 7 (modified by 12 years ago) ( diff ) | ,
---|
Spectrum sensing with USRP2
Description
In 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 see available USRP2 HW.
Hardware / Software Resources utilized
- Grid nodes with a USRP2 connect via Ethernet.
- ubuntu-11-10-gnuradio.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.
- spectrum: application on node to set up & collect data from USRP2 and send to OML server / local file for recording in database file.
- spectrum_console: application on console to configure & initiate spectrum sense application on node.
- Octave / sqlite3: for post processing data measured spectrum sense data.
Set up
- To get started first make a reservation on the Orbit Scheduler for using the Grid.
- After logging into grid console, make sure all nodes are turned off
nilanjan@console.grid:~$ omf-5.3 tell -a offh -t system:topo:n210
- Verify state of node before continuing. Make sure all nodes are in the POWEROFF state.
nilanjan@console.grid:~$ omf-5.3 stat
- Image nodes
nilanjan@console.grid:~$ omf-5.3 load -i ubuntu-11-10-gnuradio.ndz -t system:topo:n210
- After nodes are imaged, verify that nodes are in POWEROFF state. Otherwise issue the following to turn them off for a reboot
nilanjan@console.grid:~$ omf-5.3 tell -a offh -t system:topo:n210
- Turn nodes back on and verify they are in POWERON state
nilanjan@console.grid:~$ omf-5.3 tell -a on -t system:topo:n210
- Before proceeding, download the spectrum console application code to your local directory. This is the application that will invoke the application to configure the USRP on the nodes.
nilanjan@console.grid:~/UHD/SPECTRUM/w$ wget http://www.orbit-lab.org/raw-attachment/wiki/Documentation/GNURadio/Tutorials/FFTSpectrum/spectrum_console.cpp
- Compile the application code.
nilanjan@console.grid:~/UHD/SPECTRUM/w$ g++ spectrum_console.cpp -lboost_program_options-mt -loml2 -o spectrum_console
Usage
Attachments (11)
- spectrum_measurement_node8-8 (24.6 MB ) - added by 12 years ago.
- noise_floor.png (715.4 KB ) - added by 12 years ago.
- f5.002.png (659.3 KB ) - added by 12 years ago.
- spectrum_console.cpp (5.4 KB ) - added by 12 years ago.
- CWriteOML_spectrum.h (5.2 KB ) - added by 12 years ago.
- spectrum.cpp (9.9 KB ) - added by 12 years ago.
- s1.png (44.8 KB ) - added by 10 years ago.
- s2.png (44.9 KB ) - added by 10 years ago.
- signal.png (204.0 KB ) - added by 10 years ago.
- fReconFDSignal.m (240 bytes ) - added by 9 years ago.
- readWiserdFile.m (675 bytes ) - added by 9 years ago.
Note:
See TracWiki
for help on using the wiki.