software defined radio for beginners

57

Upload: others

Post on 22-Jan-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Software Defined Radio for Beginners
Page 2: Software Defined Radio for Beginners

Software Defined Radio

for Beginners

July 19, 2014

Stephen Hicks, N5AC

VP Engineering, FlexRadio Systems

Page 3: Software Defined Radio for Beginners

SDRs for BeginnersAgenda

What is an SDR?

History of Amateur SDR

Technologies that make an SDR

Examples of SDRs

Benefits and uses of SDRs

Page 4: Software Defined Radio for Beginners

What is an SDR?

Page 5: Software Defined Radio for Beginners

What is an SDR?

Page 6: Software Defined Radio for Beginners

What is an SDR?

SDR is a spectrum

Some radios are clearly NOT

Other radios clearly ARE

Many permutations is-between

So what makes up an SDR?

Page 7: Software Defined Radio for Beginners

Back to Basics …

RadioMagic

Page 8: Software Defined Radio for Beginners

Back to Basics …

LO

DEMOD

FILTER IF AMP

AUDIO AMP

MIXER

Page 9: Software Defined Radio for Beginners

Multi-Conversion

64.455 MHz 455kHz

36kHz

3–15 kHzRoofing Filter

Distortion

DEMOD

Page 10: Software Defined Radio for Beginners

Engineering Design Process

Draw a block diagram

Simulate

Draw a schematic

Simulate

Build

Measure and adjust

Page 11: Software Defined Radio for Beginners

Engineering Design Process

Does the circuit match the simulation exactly?

NO … WHY?

Components are not “ideal”

There are losses not modeled

Component variance

Component capabilities

Result: Never as good as the simulation

Page 12: Software Defined Radio for Beginners

Can’t we account for component differences?

In some cases, YES

Some materials work better in some cases

Compensating circuits can be added

In some cases, NO

There will always be issues

Page 13: Software Defined Radio for Beginners

Components and Problems

Resistors

Capacitors

Inductors

Transistors

Mixers

Amplifiers

Crystals

Filters

Lot VarianceParasiticsNon-linearitiesThermal varianceElectrically induced varianceIMDManufacturing varianceThe list goes on…

Page 14: Software Defined Radio for Beginners

Filtering: The Goal

“Brick Wall” Filter

frequency

resp

onse

Block undesired

Pass desired

Page 15: Software Defined Radio for Beginners

FilteringPractical limits to achievable results

Suggested capacitor model, Tantalum capacitor

Page 16: Software Defined Radio for Beginners

Block Diagram Key

Yellow blocks are

Green blocks are

DIGITAL

ANALOG

1233467671134

00110101011110010

45591321

239423

Page 17: Software Defined Radio for Beginners

Filter Design: Simulation

Sampled signals passed through simulated ideal components

Results could even be played out a speaker

123346767113415821204895431208

150300600120015001200600300150

FILTERSIMULATION DAC

Page 18: Software Defined Radio for Beginners

Filter Design: Simulation Limits

Analog: 20-30 poles

Digital: unlimited … except for latency. Maybe 200, 1000, more!

Could a computer run the simulation IN THE RADIO?

ADC DACFILTER

SIMULATION

Page 19: Software Defined Radio for Beginners

Presto: Software in the Radio

LO

DEMOD

FILTER IF AMP

AUDIO AMP

MIXER

FILTER

Is this an SDR?

ADC DAC

Page 20: Software Defined Radio for Beginners

DEFINITIONS: Software Defined vs. Controlled

CONTROLLED

Computer Control of Fixed Capabilities

(frequency, band, etc)

DEFINED

Modulation, Demodulation, filtering, and processing; as

well as Control Capabilities Software Defined and

Upgradeable

Page 21: Software Defined Radio for Beginners

Filter Shape Factor

FLEX-5000Note Brick Wall & Flatness

Radio Y

Radio Z

Radio X

Page 22: Software Defined Radio for Beginners

500 Hz Brick Wall Filter

6dB Bandwidth 487 Hz, 60dB Bandwidth 660 Hz, Shape Factor ~1.35

4096 Bin FFT and 2048 Tap Filter

Page 23: Software Defined Radio for Beginners

2.8KHz SSB Filter Spectrum

6dB Bandwidth 2587 Hz, 60dB Bandwidth 2756Shape Factor ~1.06, 2048 Tap Filter

Page 24: Software Defined Radio for Beginners

Software Demodulation

LO

DEMOD

FILTER IF AMP

AUDIO AMP

MIXER

FILTER

Now, is this an SDR?

ADC

DAC

Page 25: Software Defined Radio for Beginners

Software Demodulation and Baseband

New demod schemes added later!

Precise Filtering

Advanced Noise Reduction

DEMOD

IF AMP

AUDIO AMP

FILTER DAC

ADC

Page 26: Software Defined Radio for Beginners

PowerSDR - A FlexRadio Original!

Page 27: Software Defined Radio for Beginners

Economics 101

What is the marginal cost of a 2nd receiverin an analog radio?

ANSWER: the cost of the added parts (plus amortized engineering)

Page 28: Software Defined Radio for Beginners

What if I want 2 RX?

LO

DEMOD

FILTER IF AMP

AUDIO AMP

MIXER

FILTER

2x analog components ≈ $2x

ADC

DAC

DEMODADC

FILT

ER

Page 29: Software Defined Radio for Beginners

What are we trying to achieve?

Remove distortion

Better performance

Flexibility to change or add features

Ability to tailor the radio quickly

Never before possible noise mitigation

Never before possible capabilitiesCan we do more?

Page 30: Software Defined Radio for Beginners

LO

DEMOD

FILTER IF AMP

AUDIO AMP

MIXER

FILTER

What about this analog stuff?

DAC

ADC

Page 31: Software Defined Radio for Beginners

Direct Sampling

LO

DEMOD

FILTER

AUDIO AMP

MIXER

FILTER

Now, THAT’s an SDR!

DAC

ADC

Page 32: Software Defined Radio for Beginners

LO

DEMOD

FILTER IF AMP

AUDIO AMP

MIXER

FILTER

Why doesn’t everyone do Direct Sampling?

192kHz @ 64bits =12Mbps

192kHz

DAC

ADC

Page 33: Software Defined Radio for Beginners

10Mbps

Page 34: Software Defined Radio for Beginners

Direct Sampling

LO

DEMOD

FILTER

AUDIO AMP

MIXER

FILTER

Now, THAT’s an SDR!

250MHz @ 16bits =4Gbps

250MHz

DAC

ADC

Page 35: Software Defined Radio for Beginners

4Gbps is…

40 - 100Mbps cables4 - 1Gbps cables

That’s a LOT of data!The most modern home networking you can buy, can’t handle this …

Page 36: Software Defined Radio for Beginners

Direct Sampling Benefits

+ Distortion minimized (ADC @ antenna): best signal clarity

+ n-Receivers, n-Panadapters and varying widthssee more bands, more receivers

+ Extremely high dynamic range: operate in worst conditions

+ Extreme flexibility through reprogrammability (ultimate SDR): future benefits

– Technically challenging to design

Page 37: Software Defined Radio for Beginners

Economics 101

What is the marginal cost of a 2nd receiverin an digital radio (SDR)?

ANSWER: the cost of the extra processing power (plus amortized engineering) … think Moore’s law

Processing Power = FPGA

Page 38: Software Defined Radio for Beginners

Direct Sampling

LO

DEMOD

FILTER

AUDIO AMP

MIXER

FILTER

Now, THAT’s an SDR!

ALL of HF digitizedALL of HF

DAC

ADC

Page 39: Software Defined Radio for Beginners

Direct Sampling

NCO

DEMOD

FILTER

AUDIO AMP

MIXER

How many do you want?

DAC

ADC

DEMOD

FILTER

MIXER

Page 40: Software Defined Radio for Beginners

We are called to be the architects of the future, not it’s victims

—R. Buckminster Fuller

Page 41: Software Defined Radio for Beginners

Design Options:#1: ADC and a hose

Radio is ADC FPGA Ethernet⟹ ⟹

Leverage PowerSDR; minimal SW investment

ADC FPGA PC

RADIO

Page 42: Software Defined Radio for Beginners

Pros & Cons for Remote Processing

+ Lots of DSP Power in Computer: easy, ubiquitous+ Plenty of expertise available

– Requires a computer always on– Control via RDP / VNC / GotoMyPC, etc.

– Audio via Skype, etc.– Hard and not particularly bandwidth friendly

Page 43: Software Defined Radio for Beginners

Direct Sampled - Remote

HPSDR Hermes

HPSDR

RF DSP DSP CTRL

ANAN-100D

Page 44: Software Defined Radio for Beginners

RADIO

Design Options:#2: ADC + FPGA + DSP/uP

Radio reduces bandwidth to minimum before Ethernet

Oh gosh: start over with SW: big investment!

ADC FPGA

PC/OTHER

CHLBB

DSP

Page 45: Software Defined Radio for Beginners

Integrating the Baseband ProcessorKey Benefits

Consistent performance independent of PC

Minimized network bandwidth (think remote)

Minimization of “system” problems

Self-contained, rapid startup platform

Spectrum displays (panadapter) independent of available network bandwidth

Page 46: Software Defined Radio for Beginners

Example Third GenerationSDR Architecture

dd

7.9Gbps + 1Gbps

Page 47: Software Defined Radio for Beginners

Spectrum Display BW

1MHz<500kbps

1MHz77Mbps

150:1BandwidthDifference

10MHz<500kbps

1500:1BandwidthDifference

10MHz770Mbps

Page 48: Software Defined Radio for Beginners

Multi-mode Waterfall

Page 49: Software Defined Radio for Beginners

Waterfall plus Bandscope

Page 50: Software Defined Radio for Beginners

Ionosonde trails

Page 51: Software Defined Radio for Beginners

CW Skimmer x4

Page 52: Software Defined Radio for Beginners

Digital Modes

Page 53: Software Defined Radio for Beginners

More Functional Displays

Page 54: Software Defined Radio for Beginners

WSPR times 4!

Page 55: Software Defined Radio for Beginners

EasyPAL

Page 56: Software Defined Radio for Beginners

TX6G: A Picture is worth 1,000 words

Page 57: Software Defined Radio for Beginners