Software Defined Radio With Gnu Radio
Software Defined Radio With Gnu Radio
2014-08-13
Intoduction
Intro
Who am I?
Tom Rondeau
www.trondeau.com
gnuradio.org
3 / 63
Intro
What is SDR?
4 / 63
Intro
What is SDR?
SDR Basics
5 / 63
Intro
What is SDR?
Defining SDR
Is this SDR?
6 / 63
Intro
What is SDR?
Defining SDR
7 / 63
Intro
What is SDR?
Defining SDR
8 / 63
Intro
What is SDR?
Defining SDR
9 / 63
Intro
What is SDR?
Using SDR
10 / 63
Intro
What is SDR?
Using SDR
11 / 63
Intro
What is SDR?
Using SDR
12 / 63
Intro
What is SDR?
Using SDR
13 / 63
Intro
What is SDR?
Using SDR
14 / 63
Intro
Hardware Problems
B. Le, T. W. Rondeau, J. H. Reed, and C. W. Bostian, Analog-to-Digital Converters: Past, Present, and
Future, IEEE Signal Processing Magazine, pp. 69-77, Nov. 2005.
15 / 63
Intro
Hardware Problems
B. Le, T. W. Rondeau, J. H. Reed, and C. W. Bostian, Analog-to-Digital Converters: Past, Present, and
Future, IEEE Signal Processing Magazine, pp. 69-77, Nov. 2005.
16 / 63
Intro
Hardware Problems
B. Le, T. W. Rondeau, J. H. Reed, and C. W. Bostian, Analog-to-Digital Converters: Past, Present, and
Future, IEEE Signal Processing Magazine, pp. 69-77, Nov. 2005.
Tom Rondeau ([email protected])
17 / 63
Intro
Hardware Problems
Analog Non-linearities
Linear and non-linear range of an amplifier
18 / 63
Intro
Hardware Problems
Analog Non-linearities
Clipping: Clean input sine wave
19 / 63
Intro
Hardware Problems
Analog Non-linearities
Clipping: Clipped sine wave
20 / 63
Intro
Hardware Problems
Non-linearity
Output not a multiple of the input
Transfer function depends on amplitude
21 / 63
Intro
Hardware Problems
22 / 63
Intro
Hardware Problems
23 / 63
Intro
Hardware Problems
24 / 63
Intro
Hardware Problems
25 / 63
Intro
Hardware Problems
Quantization
26 / 63
Intro
Hardware Problems
Quantization, contd
27 / 63
Intro
Hardware Problems
Quantization Demo
28 / 63
Intro
Hardware Problems
29 / 63
Intro
Hardware Problems
30 / 63
Intro
Hardware Problems
31 / 63
Intro
Hardware Problems
Phase Noise
Random phase perturbations on an oscillator
Specified as dBc/Hz at an offset from carrier
i.e. -100dBc/Hz at 100kHz offset
32 / 63
Intro
Hardware Problems
33 / 63
Intro
Hardware Problems
34 / 63
Intro
Architecture Specific
Architecture Specific
DC Offset
IQ Balance
35 / 63
Intro
Architecture Specific
DC Offset
Causes
Component mismatch
LO leakage
2nd order distortion
36 / 63
Intro
Architecture Specific
IQ Imbalance
37 / 63
Intro
Architecture Specific
IQ Imbalance Simulation
38 / 63
Intro
Architecture Specific
Fixing IQ Imbalance
Remedy is
estimate the relative I and Q magnitude error and scale
appropriately
estimate the relative phase and rotate components
appropriately
Must be done at true baseband
Much easier on the receiver
39 / 63
Intro
Architecture Specific
40 / 63
GNU Radio
Hardware interfaces
A community of experts/enthusiasts
Growing list of 2nd party projects based on GR
42 / 63
Mailing list:
gnuradio.org/redmine/projects/gnuradio/wiki/MailingLists
My blog/announcements:
www.trondeau.com
GRCon Conferences:
www.trondeau.com/grcon14
43 / 63
Overview
General Overview
Moves data from the analog domain to digital domain.
Generally does the bare minimum amount of work
Tasks common to all signals:
up/down conversion of sampling rates
modulate signals to/from RF frequency
amplification, filtering
45 / 63
Overview
46 / 63
Overview
Transfer Rates
47 / 63
Overview
Transfer Rates
USB
2.0 @ 480 Mbps 15 MHz [8 MHz]
3.0 @ 3.2 Gbps 100 MHz [56 MHz]
Examples: USRP B100/B150, Funcube Dongle, RTL-SDR
Ethernet
GigE @ 1 Gbps 31.25 MHz [25 MHz, up to 30 observed]
10 GigE @ 10 Gbps 312.5 MHz [~120 - 200 MHz]
Examples: USRP N2x0, X3x0
PCIe
Desktop: 200 MHz, 10 s latency
Laptop (ExpressCard): 50 MHz, 10 s latency
Examples: USRP X3x0
48 / 63
RTL-SDR (rtlsdr.org)
49 / 63
USB 3.0
B200: bus powered
B210: requires external power for both channels
$675 / $1100
50 / 63
51 / 63
52 / 63
53 / 63
54 / 63
55 / 63
56 / 63
57 / 63
Flowgraph
59 / 63
Block Model
60 / 63
Data Stream
61 / 63
62 / 63
63 / 63