Code covered by the BSD License  

Highlights from
rtl-sdr: multi-dongles based flexible spectrum scanner

Be the first to rate this file! 28 Downloads (last 30 days) File Size: 273 KB File ID: #45024
image thumbnail

rtl-sdr: multi-dongles based flexible spectrum scanner

by

 

14 Jan 2014 (Updated )

Multi-dongles scanner with configurable parameters: start-end frequency, RBW, num of dongles, etc.

| Watch this File

File Information
Description

Multiple rtl-sdr(rtl_tcp) dongles based Matlab frequency scanner. (putaoshu@gmail.com; putaoshu@msn.com)

1. multi_rtl_sdr_split_scanner.m
Have multiple dongles run concurrently to speedup scanning wide band by scanning different sub-band with different dongle.
2. multi_rtl_sdr_diversity_scanner.m
All dongles scan the same band, and then results from different dongles are combined incoherently.

Sub Scripts of project: https://github.com/JiaoXianjun/multi-rtl-sdr-calibration

------------Usage------------
1. Assume that you have installed rtl-sdr
(http://sdr.osmocom.org/trac/wiki/rtl-sdr) and have those native utilities run correctly already.

For example, you have multiple dongles, please run multiple rtl_tcp in multiple shell respectively as:
rtl_tcp -p 1234 -d 0
rtl_tcp -p 1235 -d 1
rtl_tcp -p 1236 -d 2
...

2. Then run script multi_rtl_sdr_split_scanner.m or multi_rtl_sdr_diversity_scanner.m in MATLAB.

ATTENTION! In some computer, each time before you run script, maybe you need to terminate multiple rtl_tcp and re-launch them again.
ATTENTION! Please reduce number of inspected points by reducing frequency range or increasing step size, if your computer hasn't enough memory installed. Because all signlas are stored firstly before processing.

Change following parameters in the script as you need:

num_dongle = 1;
start_freq = 935e6;
end_freq = 960e6;
freq_step = 0.05e6;
observe_time = 0.1;
gain = 0;
sample_rate = 2.048e6;
...

------------Algorithm------------
Use high sampling rate for each frequency point. Then Auto generated narrow FIR is used to suppress noise and extract signal.
At last, power of signal at each frequency is estimated and spectrum of all frequencies is generated.

Required Products Communications System Toolbox
Signal Processing Toolbox
MATLAB
Filter Design Toolbox
Instrument Control Toolbox
MATLAB release MATLAB 8.0 (R2012b)
Other requirements rtl-sdr driver/tool-kit. http://sdr.osmocom.org/trac/wiki/rtl-sdr rtl-sdr compatible USB DVB dongle
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
15 Jan 2014

Make multi_rtl_sdr_diversity_scanner.m faster and add time cost statistics in it.

16 Jan 2014

1. README.txt is added.

2. Add multi_rtl_sdr_split_scanner.m. It uses different dongles concurrently to scan different sub-bands. Significiant scanning speedup is achieved.

17 Jan 2014

Very very little typo correction.
Dongle index example is changed from 0,1,3... to 0,1,2...

20 Jan 2014

Add another attention note on potential large memory consumption. ATTENTION! Please reduce number of inspected points by reducing frequency range or increasing step size, if your computer hasn't enough memory installed. Because all signlas are stored

21 Jan 2014

Change frequency setting --> fread of multi-dongles from serial to parallel.

22 Jan 2014

change very slightly: make object setting and openning of two dongles more "parallel"

10 Feb 2014

Add file header info.

Contact us