a glimpse into developing software-defined radio by python

46
A Glimpse into Developing Software- Defined Radio by Python Albert Chun-Chieh Huang Introduction to Software- Defined Radio GNU Radio SDR with NT$900 Dongle Developing SDR by GNU Radio and Python Concluding Remarks References A Glimpse into Developing Software-Defined Radio by Python Albert Chun-Chieh Huang December 17, 2012

Upload: albert-huang

Post on 03-Sep-2014

4.441 views

Category:

Technology


0 download

DESCRIPTION

Software-defined radio~(SDR) has been emerging for many years in various fields, including military, commercial communication systems, and scientific research, e.g. space exploration. GNU Radio is an open source SDR framework written in Python. This talk will introduce from basic concept of software-defined radio and various front-end hardware, and then illustrate how to use Python to develop SDR.

TRANSCRIPT

Page 1: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

A Glimpse intoDeveloping Software-Defined Radio by Python

Albert Chun-Chieh Huang

December 17, 2012

Page 2: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

About the Author

He is both a programmer and a communication engineer. Helearned Python in 2000 and has used it extensively onimproving his workflow ever since. He has been working incommunication IC industry for more than eight years. Hisinterests include communication engineering and engineeringcommunication, which consists of fields from physical layer toMAC layer as well as typesetting.

Blog: Random Notes,http://alberthuang314.blogspot.com/

LinkedIn:http://www.linkedin.com/in/alberthuang314

Email address: alberthuang314 AT gmail DOT com

Page 3: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Outline

1 Introduction to Software-Defined Radio

2 GNU Radio

3 SDR with NT$900 Dongle

4 Developing SDR by GNU Radio and Python

5 Concluding Remarks

Page 4: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Introduction to Software-Defined Radio

Software-Defined Radio (SDR) is a radio communicationsystem implemented (mostly) in software.

“Software radio” [6] was coined by Joseph Mitola, III in 1992.Application areas

Military systems, space exploration, base stations, femtocells,etc.

Background knowledge required for SDR programmerProgrammingDigital Signal ProcessingProbability and StatisticsCommunication System

Page 5: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Introduction to Software-Defined Radio

Software-Defined Radio (SDR) is a radio communicationsystem implemented (mostly) in software.

“Software radio” [6] was coined by Joseph Mitola, III in 1992.

Application areasMilitary systems, space exploration, base stations, femtocells,etc.

Background knowledge required for SDR programmerProgrammingDigital Signal ProcessingProbability and StatisticsCommunication System

Page 6: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Introduction to Software-Defined Radio

Software-Defined Radio (SDR) is a radio communicationsystem implemented (mostly) in software.

“Software radio” [6] was coined by Joseph Mitola, III in 1992.Application areas

Military systems, space exploration, base stations, femtocells,etc.

Background knowledge required for SDR programmerProgrammingDigital Signal ProcessingProbability and StatisticsCommunication System

Page 7: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Introduction to Software-Defined Radio

Software-Defined Radio (SDR) is a radio communicationsystem implemented (mostly) in software.

“Software radio” [6] was coined by Joseph Mitola, III in 1992.Application areas

Military systems, space exploration, base stations, femtocells,etc.

Background knowledge required for SDR programmerProgrammingDigital Signal ProcessingProbability and StatisticsCommunication System

Page 8: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

What Can SDR Do?

Rapid prototype foralgorithm developmentchannel measurementsystems because field trials are vital to commercialcommunication systems

Reconfigurable radioone device for many communication standardsmilitary or aviation communication systemsinstruments

Small volume deploymentimplemented by DSP’s and FPGA’s without producing IC’s

base stations

Page 9: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

What Can SDR Do?

Rapid prototype foralgorithm developmentchannel measurementsystems because field trials are vital to commercialcommunication systems

Reconfigurable radioone device for many communication standardsmilitary or aviation communication systemsinstruments

Small volume deploymentimplemented by DSP’s and FPGA’s without producing IC’s

base stations

Page 10: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

What Can SDR Do?

Rapid prototype foralgorithm developmentchannel measurementsystems because field trials are vital to commercialcommunication systems

Reconfigurable radioone device for many communication standardsmilitary or aviation communication systemsinstruments

Small volume deploymentimplemented by DSP’s and FPGA’s without producing IC’s

base stations

Page 11: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Radio Communication System Components

Source Source Encoder

Channel Encoder Modulator Digital Up

Converter D/A Up Converter

Sink Source Decoder

Channel Decoder

Demodulator

Digital Dn Converter A/D Down

Converter

Page 12: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Software-Defined Radio Components

Source Source Encoder

Channel Encoder Modulator Digital Up

Converter D/A Up Converter

Sink Source Decoder

Channel Decoder

Demodulator

Digital Dn Converter A/D Down

Converter

Software Hardware

Page 13: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Software-Defined Modem Components

Source Source Encoder

Channel Encoder Modulator D/A

Sink Source Decoder

Channel Decoder

Demodulator A/D

Software Hardware

Page 14: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Software-Defined Modem Example: Courier

Page 15: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Software-Defined Modem Example: Sporster

Page 16: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Software-Defined Modem Example

U.S. Robotics had more than 50% market share in NorthAmerica at the apex of it! (mid ’90s)

They were well known for stability and upgrade-ability.Those were really good old days that we can dosoftware-defined radio/modem in a product.

And sell it at USD$400!SDR approach is not possible anymore for end-user modems,incl. radio modems.Developing communication system is not so fun anymorebecause it takes longer to start playing in the field!

It’s great to have GNU Radio now!

Page 17: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Software-Defined Modem Example

U.S. Robotics had more than 50% market share in NorthAmerica at the apex of it! (mid ’90s)

They were well known for stability and upgrade-ability.

Those were really good old days that we can dosoftware-defined radio/modem in a product.

And sell it at USD$400!SDR approach is not possible anymore for end-user modems,incl. radio modems.Developing communication system is not so fun anymorebecause it takes longer to start playing in the field!

It’s great to have GNU Radio now!

Page 18: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Software-Defined Modem Example

U.S. Robotics had more than 50% market share in NorthAmerica at the apex of it! (mid ’90s)

They were well known for stability and upgrade-ability.Those were really good old days that we can dosoftware-defined radio/modem in a product.

And sell it at USD$400!SDR approach is not possible anymore for end-user modems,incl. radio modems.Developing communication system is not so fun anymorebecause it takes longer to start playing in the field!

It’s great to have GNU Radio now!

Page 19: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Software-Defined Modem Example

U.S. Robotics had more than 50% market share in NorthAmerica at the apex of it! (mid ’90s)

They were well known for stability and upgrade-ability.Those were really good old days that we can dosoftware-defined radio/modem in a product.

And sell it at USD$400!

SDR approach is not possible anymore for end-user modems,incl. radio modems.Developing communication system is not so fun anymorebecause it takes longer to start playing in the field!

It’s great to have GNU Radio now!

Page 20: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Software-Defined Modem Example

U.S. Robotics had more than 50% market share in NorthAmerica at the apex of it! (mid ’90s)

They were well known for stability and upgrade-ability.Those were really good old days that we can dosoftware-defined radio/modem in a product.

And sell it at USD$400!SDR approach is not possible anymore for end-user modems,incl. radio modems.

Developing communication system is not so fun anymorebecause it takes longer to start playing in the field!

It’s great to have GNU Radio now!

Page 21: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Software-Defined Modem Example

U.S. Robotics had more than 50% market share in NorthAmerica at the apex of it! (mid ’90s)

They were well known for stability and upgrade-ability.Those were really good old days that we can dosoftware-defined radio/modem in a product.

And sell it at USD$400!SDR approach is not possible anymore for end-user modems,incl. radio modems.Developing communication system is not so fun anymorebecause it takes longer to start playing in the field!

It’s great to have GNU Radio now!

Page 22: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Software-Defined Modem Example

U.S. Robotics had more than 50% market share in NorthAmerica at the apex of it! (mid ’90s)

They were well known for stability and upgrade-ability.Those were really good old days that we can dosoftware-defined radio/modem in a product.

And sell it at USD$400!SDR approach is not possible anymore for end-user modems,incl. radio modems.Developing communication system is not so fun anymorebecause it takes longer to start playing in the field!

It’s great to have GNU Radio now!

Page 23: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

GNU Radio: Open Source SDR

GNU Radio is a free & open-source software developmenttoolkit that provides signal processing blocks to implementsoftware radios.

Primarily written in Python with performance-critical signalprocessing components written in C++ [2].

C++ classes are wrapped by SWIG [4].

Python can be used to develop rapid prototype for SDR in anelegant and fast way.

“Install GNU Radio 3.6.2 on MacOSX 10.8.2”http://goo.gl/mJQmA

Page 24: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

GNU Radio: Open Source SDR

GNU Radio is a free & open-source software developmenttoolkit that provides signal processing blocks to implementsoftware radios.

Primarily written in Python with performance-critical signalprocessing components written in C++ [2].

C++ classes are wrapped by SWIG [4].

Python can be used to develop rapid prototype for SDR in anelegant and fast way.

“Install GNU Radio 3.6.2 on MacOSX 10.8.2”http://goo.gl/mJQmA

Page 25: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

GNU Radio: Open Source SDR

GNU Radio is a free & open-source software developmenttoolkit that provides signal processing blocks to implementsoftware radios.

Primarily written in Python with performance-critical signalprocessing components written in C++ [2].

C++ classes are wrapped by SWIG [4].

Python can be used to develop rapid prototype for SDR in anelegant and fast way.

“Install GNU Radio 3.6.2 on MacOSX 10.8.2”http://goo.gl/mJQmA

Page 26: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

GNU Radio: Open Source SDR

GNU Radio is a free & open-source software developmenttoolkit that provides signal processing blocks to implementsoftware radios.

Primarily written in Python with performance-critical signalprocessing components written in C++ [2].

C++ classes are wrapped by SWIG [4].

Python can be used to develop rapid prototype for SDR in anelegant and fast way.

“Install GNU Radio 3.6.2 on MacOSX 10.8.2”http://goo.gl/mJQmA

Page 27: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

GNU Radio: Open Source SDR

GNU Radio is a free & open-source software developmenttoolkit that provides signal processing blocks to implementsoftware radios.

Primarily written in Python with performance-critical signalprocessing components written in C++ [2].

C++ classes are wrapped by SWIG [4].

Python can be used to develop rapid prototype for SDR in anelegant and fast way.

“Install GNU Radio 3.6.2 on MacOSX 10.8.2”http://goo.gl/mJQmA

Page 28: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

SDR Hardware

With software-defined radio frameworks like GNU Radio, westill need RF front-end hardware to process signals in the air,or in the water. :-)

Ettus Research provides cheap RF front-end hardwareranges from USD$1700, price not including RF daughterboards, to USD$650.

RTL2832U-based dongles can be obtained at NT$900 inTaiwan!

Page 29: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Ettus Research USRP N210: USD$1700

Page 30: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Ettus Research USRP1: USD$700

Page 31: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Realtek RTL2832U-based DVB Dongle: NT$900

Source: http://farm8.staticflickr.com/7114/6952840370 6e3a75d93a z.jpg

Page 32: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Realtek RTL2832U-based DVB Dongle

RTL2832U is a DVB decoder chip designed by Realtek8-bit resolution

SNR limits to 48 dB

3.2 Mega sample per second at most2.4 Msps achievable on my dual core i7 MacBook Pro

Bandwidth limits to 2.4 MHz (with complex samples)Amateur radio, GSM, AM/FM broadcasting, etc.

Elonics E4000 tuner has the widest tuning range among allRTL2832U-based dongles

52 - 2200 MHz with a gap from 1100 MHz to 1250 MHz(varies)

Supported by gr-osmosdr module in GNU Radio [3]

Page 33: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

USRP Models and RTL2832U-based Dongle

USRP Interface Total RF DB ADC ADC DAC DAC MIMO Int. GPS 1 PPS/Ref

Model Host BW Slots Res. Rate Res. Rate Capable Disciplined Inputs

(MSPS (bits) (MSPS) (bits) (MSPS) Oscillator

16b/8b) (Optional)

N210 Gig. Eth. 50/100 1 14 100 16 400 Yes Yes Yes

N200 Gig. Eth. 50/100 1 14 100 16 400 Yes Yes Yes

B100 USB 2.0 8/16 1 12 64 14 128 No No Yes

USRP1 USB 2.0 8/* 2 12 64 14 128 Yes No No

E100 Embedded 8/16 1 12 64 14 128 No Yes Yes

E110 Embedded 8/16 1 12 64 14 128 No Yes Yes

RTL2832U USB 2.0 */3.2 0 8 3.2 * * No No No

Page 34: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Developing SDR by GNU Radio

Lego Way: GNU Radio Companion [1]Easy and intuitiveCreating flow-graph by connecting existing components ingnuradio companion

C++ WayFully customizableFast in executionGood for real-time communicationTime-consuming to write a componentWrapped by SWIG

Python WayFully customizableFast in development

NumPy/SciPy

Great for rapid prototyping

Page 35: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Developing SDR: Lego Way FM Receiver

http://www.oz9aec.net/index.php/gnu-radio/grc-examples

Page 36: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Developing SDR: Lego Way SSB Receiver

http://www.oz9aec.net/index.php/gnu-radio/grc-examples

Page 37: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Developing SDR: C++ Way

GMSK Receiver Complexity [5]

Page 38: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Developing SDR: Python Way

Python Wrapper

C++ signal processing

block

Python Wrapper

C++ signal processing

block

Python Rapid

PrototypePython

Wrapper

C++ signal processing

block

Page 39: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Developing SDR: Python Way

Rapid prototyping for algorithm developmentModify FPGA code to accommodate your needs if necessaryDump samples from front-end hardware to hard drivesProcess saved samples by NumPy/SciPy packages in Pythonand GNU Radio

Convert your Python code into C++ module later when youneed real-time processing

Page 40: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Concluding Remarks

GNU Radio provides signal processing capabilities for Pythonprogrammers.

GNU Radio can doFloating-point digital signal processingCommunication components include from filters to Viterbidecoders

GNU Radio can not do (right now)Fixed-point digital signal processingModern error correction coding, e.g. LDPC, Turbo code, etc.MAC layer processing

Upcoming talks will guide you to process digital signals byGNU Radio

Page 41: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Concluding Remarks

GNU Radio provides signal processing capabilities for Pythonprogrammers.GNU Radio can do

Floating-point digital signal processingCommunication components include from filters to Viterbidecoders

GNU Radio can not do (right now)Fixed-point digital signal processingModern error correction coding, e.g. LDPC, Turbo code, etc.MAC layer processing

Upcoming talks will guide you to process digital signals byGNU Radio

Page 42: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Concluding Remarks

GNU Radio provides signal processing capabilities for Pythonprogrammers.GNU Radio can do

Floating-point digital signal processingCommunication components include from filters to Viterbidecoders

GNU Radio can not do (right now)Fixed-point digital signal processingModern error correction coding, e.g. LDPC, Turbo code, etc.MAC layer processing

Upcoming talks will guide you to process digital signals byGNU Radio

Page 43: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Concluding Remarks

GNU Radio provides signal processing capabilities for Pythonprogrammers.GNU Radio can do

Floating-point digital signal processingCommunication components include from filters to Viterbidecoders

GNU Radio can not do (right now)Fixed-point digital signal processingModern error correction coding, e.g. LDPC, Turbo code, etc.MAC layer processing

Upcoming talks will guide you to process digital signals byGNU Radio

Page 44: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Don’t ask what GNU Radio can do for you,but what you can do for GNU Radio!

http://goo.gl/LODjx

Page 45: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

Q & A

Page 46: A Glimpse into Developing Software-Defined Radio by Python

A Glimpse intoDevelopingSoftware-

Defined Radioby Python

AlbertChun-Chieh

Huang

Introduction toSoftware-DefinedRadio

GNU Radio

SDR withNT$900 Dongle

DevelopingSDR by GNURadio andPython

ConcludingRemarks

References

References

[1] “GNU Radio Companion.” [Online]. Available: http://gnuradio.org/redmine/projects/gnuradio/wiki/GNURadioCompanion

[2] “GNU Radio Project Wiki.” [Online]. Available:http://gnuradio.org/redmine/projects/gnuradio/wiki

[3] “RTL SDR at OsmoCom.” [Online]. Available:http://sdr.osmocom.org/trac/wiki/rtl-sdr

[4] “SWIG - Simple Wrapper and Interface Generator.” [Online].Available: http://swig.org

[5] F. Ge, C. J. Chiang, Y. M. Gottlieb, and R. Chadha, “GNURadio-Based Digital Communications: Computational Analysisof a GMSK Transceiver,” in Global TelecommunicationsConference (GLOBECOM 2011), 2011 IEEE.

[6] J. Mitola, III, “Software radios-survey, critical evaluation andfuture directions,” in Telesystems Conference, 1992. NTC-92.,National, 1992, p. 13.