Introduction to
Software Defined Radio (SDR)
Lior Elazary (KK6BWA)
CVARC 4/18/13
Thanks for all the help!
Steve Sedgwick, WB8GRS
What is Software Defined Radio
(SDR)
The goal of SDR is to remove all the analog parts
of the radio and do it all in software.
What can SDR do for me?
Perform the modulation/demodulation for ALL the modes
NFM, WFM, AM, SSB, USB, LSB, CW, etc.
Work satellites with ease (auto adjustment for the Doppler effect)
Receive Images from weather satellites
What can SDR do for me?
Visually see a large portion of an RF
spectrum.
See who's talking
Scan the bands
Help with contesting?
What can SDR do for me?
Perform various RF measurements.
Measure signal strength, interference patterns,
evaluate antennas, and many more.
What can SDR do for me?
Small footprint (would fit on the palm of you hand) and
low cost for all of these features.
What can SDR do for me?
Plot Airplane flight paths along with weather and
other sensor data using ADSB
What can SDR do for me?
Support any future mod/demod with just a software
update.
Can help with various experiments/advances without
having to physically build circuits.
Radio Astronomy
([Link]
How does SDR work?
How does SDR work?
(in theory)
ADC
Convert the analog
signals on the antenna
to digital signals
(0's and 1's)
DSP
Use signal processing
techniques to perform
filtering and demodulations.
How does SDR work?
(in theory)
ADC
Convert the analog
signals on the antenna
to digital signals
(0's and 1's)
How does SDR work?
(in practice)
ADC
BPF
LPF
Digital controlled
oscillator (DCO)
90
DSP
Q
ADC
Analog filter to
avoid
overloading
IF stage so
that the ADC
could sample
high
frequencies
LPF
IQ output so we can
sample +/frequencies from the
DCO (measure
freq,phase,amplitude)
SDR Hardware
SDR Hardware
What you need to get started
Antenna
Small piece of hardware
to convert the signals
from the antenna to the
computer (~$18)
Computer
SDR Hardware
Low Cost
Use the soundcard to for ADC
Medium Cost
High End
TX/RX
SoftRock
Uses the Sound card
for ADC
UHFSDR
USRP ~$600
FlexRadio
Systems
FLEX-5000A
RX
SDR-RTL
Blade RF ~$400
Rhode+Schwarz
$45,000
SDR Hardware
Which to choose
Or
RTL-SDR
$18
Rhode+Schwarz
$45,000
[Link]
pt=LH_DefaultDomain_0&hash=item25762787d
6
SDR Hardware
You can always build
your own...
SDR Software
SDR Software
The heart of SDR.
Performs the computations for the radio part.
PowerSDR
[Link]
HDSDR
[Link]
SDR Shell
[Link]
GNU Radio
[Link]
Linrad
[Link]
SDR Sharp
[Link]
SDR Software
All SDR software have similar GUI modules
SDR Software
Control panel
Control Panel (the tuning knob)
Adjust the frequency
Change the mode (NFM, AM, CW,etc.)
Change filters
Adjust audio levels
Channel Memory
Many others depending on software
SDR Software
Fast Fourier Transform (FFT)
Shows the frequencies present in a signal and their strength
Converts from the time domain into the frequency domain
Uses the Fourier theory that any signal can be broken down into
individual Sine waves
SDR Software
Fast Fourier Transform (FFT)
SDR Software
Waterfall (Spectrogram)
Displays the frequencies strengths (FFT) over time
Allows you to see signals among noise as well as identify the
signals
Color coded. Black no signal, shades from blue to red indicate
stronger signals
SDR Software
DSP RX simple example
The input
from the
ADC
IQ
Input
Selects only the
information you want
Low Pass Filter
Converts from
raw data to audio
output
Demodulator
Audio Output
Audio
Output
How to use the SDR Software
Filters and Tuning
Filters allow us to get only the
information we want
GnuRadio The Swiss army knife of
SDR
Listening to HF
Need an HF upconverter
Basically a mixer to bring the low frequencies of HF to
higher frequencies that the SDR can sample.
Build you own:
[Link]
Buy from ebay: ~$40 (have never bought one)
[Link]
How to use the SDR Software
Connecting for further processing
Can connect directly to fldigi, sound-modem, or any other
needed processing
Several options available on windows
Choose the mixer input or microphone input
Install virtual audio cable ($25)
[Link]
Install jack audio (free, but Good luck)
Change settings in SDR# under the audio section.
[Link]
Connect a cable from line out to the line in of the computer.
Use the mic as input
On linux simply use pipes or FIFO
Mac????
Remote ADC
avoid feedline loss
Place the ADC right next to the antenna
Raspberry pi with TCP connection
[Link]
Web SDR
[Link]
Getting started
How To
Buy the USB dongle:
[Link]
Cut the antenna and place a pl259 UHF connector
Install SDR Sharp:
[Link]
Install the drivers: use Zadig
Install SDR# [Link]
Tune ppm so the
freq will display
correctly
In SDR# click
configure
Check ID aginst
[Link]
re-usb
Performance Tips
Antenna is everything!
Eliminate feedline losses by mounting the SDR at the antenna
feedpoint, with weatherproofing and a long USB cable to the computer
or Ethernet though the raspberry pi.
Use a bandpass filter to protect the radio from strong out-of-band
signals.
Consider a quality preamplifier for the RTL-SDR to reduce the system
noise figure.
Reduce the SDR's internal gain to prevent noise due to RF clipping and
intermodulation
Enclose the device in a grounded metal case.
Filter the +5V supply to the radio. Use a combination of ferrite beads
and bypass capacitors to target the full spectrum of noise.
Put RF Chokes on the USB cable to filter out computer noise.
Software tricks, such as oversampling and decimation can help - watch
for RTL2832 firmware and driver updates!
References
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
Live Demo...
And Questions.