SlideShare a Scribd company logo
1 of 27
GNU Radio Exploring  An implementation of LPI radio Yuan  Wang yuwang@ucsd.edu 09/17/2009
Agenda ,[object Object]
Hardware Platform - USRP
DSP Design Flow of GNU radio
Write your own blocks
Implementation of LPI radio transmitter2
System Architecture Hardware Frontend USRP Host Computer RF Frontend (Daugtherboard) ADC/DAC and Digital Frontend (Mothermoard) GNU Radio Software USB 2.0 Your code goes here ! http://mobiledevices.kom.aau.dk/fileadmin/mobiledevices/teaching/software_testing/Gnu_radio_lecture.pdf
 System Architecture (Cont.) Software Core Keep in mind:  GNU radio has provided some useful APIs for DSP purpose What we are interested in is how to use these existing modules that have been provided  in GNU radio to communicate between two end systems Host Computer DSP USB Hardware Frontend   USRP RX/TXDaughterboard ADC/DAC FPGA USB Interface http://mobiledevices.kom.aau.dk/fileadmin/mobiledevices/teaching/software_testing/Gnu_radio_lecture.pdf
A shortcut to GNU Radio ,[object Object],     Up/Down converting, AD/DA converting, USB 2.0 interface      FIR filter ,[object Object]
 Four 128 MS/s 14-bit DAC
 Four DDC with programmable decimation rates
 Two DUC with programmable interpolation rates
 High-speed USB 2.0 interface (480 Mb/s)
Modular architecture supports wide variety of RFdaughterboards ,[object Object],   radio controls such as RSSI and AGC Fully coherent multi-channel systems Picture from www.ettus.com
A shortcut to GNU Radio (Cont.) ,[object Object],     Power Amplifier, Antenna, etc.   DC to 30 MHz receiver/transmitter 1 MHz to 250 MHz receiver/transmitter 50 to 860 MHz receiver 800 MHz to 2.4 GHz receiver 750-1050 MHz transceiver 1150-1450 MHz transceiver 1.5-2.1 GHz transceiver 2.3-2.9 GHz transceiver (RFX2400 Using now) 50 MHz to 1 GHz transceiver 800 MHz to 2.2 GHz transceiver 2.4 GHz and 5 GHz dualband transceiver Picture from www.ettus.com
USRP Block Diagram Picture from gnuradio.org
AD9862 with DUC (Tx.) Picture from gnuradio.org
DDC in FPGA (Rx.) Picture from gnuradio.org
GNU Radio Software Core ,[object Object]
Build signal Flow graph with Python
Object Oriented Programming10
 Base Class of GNU radio block ,[object Object],1) gr_sync_block() 3 7 10 16 7 9
Base Class of GNU radio block ,[object Object],2) gr_interpolator_block()  3 7 16 10 10 16 7 9
Basics: Data Streams ,[object Object],1) gr_decimator_block()  4 4 7 7 10 16 6 9 9 6
GNU Radio Companion (GUI)
Build the DSP flow graph  V2 #!/usr/bin/env python from gnuradio import gr from gnuradio import audio def build_graph (): sampling_freq = 48000 ampl = 0.1 fg = gr.flow_graph ()     src0 = gr.sig_source_f (sampling_freq, gr.GR_SIN_WAVE, 350, ampl)     src1 = gr.sig_source_f (sampling_freq, gr.GR_SIN_WAVE, 440, ampl) dst = audio.sink (sampling_freq) fg.connect ((src0, 0), (dst, 0)) fg.connect ((src1, 0), (dst, 1))     return fg if __name__ == '__main__': fg = build_graph () fg.start () raw_input ('Press Enter to quit: ') fg.stop () C++ C++ C++ V1 My API APIs V2 C++ C++ C++ V1 My API Python Flow graph
Advanced Topic: Write your own blocks ,[object Object]

More Related Content

What's hot

A Glimpse into Developing Software-Defined Radio by Python
A Glimpse into Developing Software-Defined Radio by PythonA Glimpse into Developing Software-Defined Radio by Python
A Glimpse into Developing Software-Defined Radio by PythonAlbert Huang
 
Chapter 1 introduction to radio communication systems
Chapter 1 introduction to radio communication systemsChapter 1 introduction to radio communication systems
Chapter 1 introduction to radio communication systemskiên lý
 
Multiband Transceivers - [Chapter 5] Software-Defined Radios
Multiband Transceivers - [Chapter 5]  Software-Defined RadiosMultiband Transceivers - [Chapter 5]  Software-Defined Radios
Multiband Transceivers - [Chapter 5] Software-Defined RadiosSimen Li
 
Cisco DWDM Chromatic Dispertion Calculation in CTP\XLS
Cisco DWDM Chromatic Dispertion Calculation in CTP\XLSCisco DWDM Chromatic Dispertion Calculation in CTP\XLS
Cisco DWDM Chromatic Dispertion Calculation in CTP\XLSValery Kayukov
 
High performance digital predistortion for wideband RF power amplifiers
High performance digital predistortion for wideband RF power amplifiersHigh performance digital predistortion for wideband RF power amplifiers
High performance digital predistortion for wideband RF power amplifiersLei Guan (Phd, SM-IEEE)
 
Design and simulation of an analog beamforming phased array antenna
Design and simulation of an analog beamforming phased array antenna Design and simulation of an analog beamforming phased array antenna
Design and simulation of an analog beamforming phased array antenna IJECEIAES
 
3. free space path loss model part 1
3. free space path loss model   part 13. free space path loss model   part 1
3. free space path loss model part 1JAIGANESH SEKAR
 
microwave-communication-wave-guides
microwave-communication-wave-guidesmicrowave-communication-wave-guides
microwave-communication-wave-guidesATTO RATHORE
 
Link Power Budget Calculation and Propagation Factors for Satellite COmmunica...
Link Power Budget Calculation and Propagation Factors for Satellite COmmunica...Link Power Budget Calculation and Propagation Factors for Satellite COmmunica...
Link Power Budget Calculation and Propagation Factors for Satellite COmmunica...THANDAIAH PRABU
 
Rf receiver design case studies
Rf receiver design case studiesRf receiver design case studies
Rf receiver design case studiesPhani Kumar
 
Components of a Pulse Radar System
Components of a Pulse Radar SystemComponents of a Pulse Radar System
Components of a Pulse Radar SystemÜlger Ahmet
 
Radar 2009 a 6 detection of signals in noise
Radar 2009 a 6 detection of signals in noiseRadar 2009 a 6 detection of signals in noise
Radar 2009 a 6 detection of signals in noiseForward2025
 
Introduction To Antenna Impedance Tuner And Aperture Switch
Introduction To Antenna Impedance Tuner And Aperture SwitchIntroduction To Antenna Impedance Tuner And Aperture Switch
Introduction To Antenna Impedance Tuner And Aperture Switchcriterion123
 
Relationships Among EVM, BER and SNR + WiFi minimum SNR consideration
Relationships Among EVM, BER and SNR + WiFi minimum SNR considerationRelationships Among EVM, BER and SNR + WiFi minimum SNR consideration
Relationships Among EVM, BER and SNR + WiFi minimum SNR considerationPei-Che Chang
 

What's hot (20)

Software defined radio
Software defined radioSoftware defined radio
Software defined radio
 
A Glimpse into Developing Software-Defined Radio by Python
A Glimpse into Developing Software-Defined Radio by PythonA Glimpse into Developing Software-Defined Radio by Python
A Glimpse into Developing Software-Defined Radio by Python
 
Chapter 1 introduction to radio communication systems
Chapter 1 introduction to radio communication systemsChapter 1 introduction to radio communication systems
Chapter 1 introduction to radio communication systems
 
Cw and fm cw radar
Cw and fm cw radarCw and fm cw radar
Cw and fm cw radar
 
Multiband Transceivers - [Chapter 5] Software-Defined Radios
Multiband Transceivers - [Chapter 5]  Software-Defined RadiosMultiband Transceivers - [Chapter 5]  Software-Defined Radios
Multiband Transceivers - [Chapter 5] Software-Defined Radios
 
Cisco DWDM Chromatic Dispertion Calculation in CTP\XLS
Cisco DWDM Chromatic Dispertion Calculation in CTP\XLSCisco DWDM Chromatic Dispertion Calculation in CTP\XLS
Cisco DWDM Chromatic Dispertion Calculation in CTP\XLS
 
High performance digital predistortion for wideband RF power amplifiers
High performance digital predistortion for wideband RF power amplifiersHigh performance digital predistortion for wideband RF power amplifiers
High performance digital predistortion for wideband RF power amplifiers
 
Design and simulation of an analog beamforming phased array antenna
Design and simulation of an analog beamforming phased array antenna Design and simulation of an analog beamforming phased array antenna
Design and simulation of an analog beamforming phased array antenna
 
3. free space path loss model part 1
3. free space path loss model   part 13. free space path loss model   part 1
3. free space path loss model part 1
 
microwave-communication-wave-guides
microwave-communication-wave-guidesmicrowave-communication-wave-guides
microwave-communication-wave-guides
 
Link Power Budget Calculation and Propagation Factors for Satellite COmmunica...
Link Power Budget Calculation and Propagation Factors for Satellite COmmunica...Link Power Budget Calculation and Propagation Factors for Satellite COmmunica...
Link Power Budget Calculation and Propagation Factors for Satellite COmmunica...
 
Rf receiver design case studies
Rf receiver design case studiesRf receiver design case studies
Rf receiver design case studies
 
Mimo
MimoMimo
Mimo
 
PIFA
PIFA PIFA
PIFA
 
Components of a Pulse Radar System
Components of a Pulse Radar SystemComponents of a Pulse Radar System
Components of a Pulse Radar System
 
MIMO OFDM
MIMO OFDMMIMO OFDM
MIMO OFDM
 
Matched filter
Matched filterMatched filter
Matched filter
 
Radar 2009 a 6 detection of signals in noise
Radar 2009 a 6 detection of signals in noiseRadar 2009 a 6 detection of signals in noise
Radar 2009 a 6 detection of signals in noise
 
Introduction To Antenna Impedance Tuner And Aperture Switch
Introduction To Antenna Impedance Tuner And Aperture SwitchIntroduction To Antenna Impedance Tuner And Aperture Switch
Introduction To Antenna Impedance Tuner And Aperture Switch
 
Relationships Among EVM, BER and SNR + WiFi minimum SNR consideration
Relationships Among EVM, BER and SNR + WiFi minimum SNR considerationRelationships Among EVM, BER and SNR + WiFi minimum SNR consideration
Relationships Among EVM, BER and SNR + WiFi minimum SNR consideration
 

Viewers also liked

Gnu Radio and the Universal Software Radio Peripheral
Gnu Radio and the Universal Software Radio PeripheralGnu Radio and the Universal Software Radio Peripheral
Gnu Radio and the Universal Software Radio PeripheralAlexandru Csete
 
Software Defined Radios for VHF, UHF and SHF
Software Defined Radios for VHF, UHF and SHFSoftware Defined Radios for VHF, UHF and SHF
Software Defined Radios for VHF, UHF and SHFAlexandru Csete
 
CLG - GNURadio et USRP
CLG - GNURadio et USRPCLG - GNURadio et USRP
CLG - GNURadio et USRPPascal Charest
 
Software defined radio and the hacker
Software defined radio and the hackerSoftware defined radio and the hacker
Software defined radio and the hackerRob Gillen
 
VHF/UHF Uplink Solutions for Remote Wireless Sensor Networks - Bifrost Meeting
VHF/UHF Uplink Solutions for Remote Wireless Sensor Networks - Bifrost MeetingVHF/UHF Uplink Solutions for Remote Wireless Sensor Networks - Bifrost Meeting
VHF/UHF Uplink Solutions for Remote Wireless Sensor Networks - Bifrost MeetingAlp Sayin
 
comment realiser un Service Web
comment realiser un Service Web comment realiser un Service Web
comment realiser un Service Web Nazih Heni
 
GNU Radio for space research
GNU Radio for space researchGNU Radio for space research
GNU Radio for space researchRustam Akhtyamov
 
International Institute of technology (android)
International Institute of technology (android)International Institute of technology (android)
International Institute of technology (android)Nazih Heni
 
Cahier de charges Projet CRM "Buisness Team" J2EE
Cahier de charges Projet CRM "Buisness Team" J2EECahier de charges Projet CRM "Buisness Team" J2EE
Cahier de charges Projet CRM "Buisness Team" J2EENazih Heni
 
[HES2014] HackRF A Low Cost Software Defined Radio Platform by Benjamin Vernoux
[HES2014] HackRF A Low Cost Software Defined Radio Platform by Benjamin Vernoux[HES2014] HackRF A Low Cost Software Defined Radio Platform by Benjamin Vernoux
[HES2014] HackRF A Low Cost Software Defined Radio Platform by Benjamin VernouxHackito Ergo Sum
 
EBU DRW 2011 - CRC-mmbTools - Software Radio Workshop
EBU DRW 2011 - CRC-mmbTools - Software Radio WorkshopEBU DRW 2011 - CRC-mmbTools - Software Radio Workshop
EBU DRW 2011 - CRC-mmbTools - Software Radio WorkshopPascal Charest
 
Open Broadcasting Platforms
Open Broadcasting PlatformsOpen Broadcasting Platforms
Open Broadcasting PlatformsPascal Charest
 
On Prototyping IEEE 802.11p Channel Estimators in Real-World Environments usi...
On Prototyping IEEE 802.11p Channel Estimators in Real-World Environments usi...On Prototyping IEEE 802.11p Channel Estimators in Real-World Environments usi...
On Prototyping IEEE 802.11p Channel Estimators in Real-World Environments usi...Stefano Severi
 
Senior Design Presentation 2014
Senior Design Presentation 2014Senior Design Presentation 2014
Senior Design Presentation 2014Paulo Borges
 
Fairwaves UmTRX - GNU Radio Conference 2013 presentation
Fairwaves UmTRX - GNU Radio Conference 2013 presentationFairwaves UmTRX - GNU Radio Conference 2013 presentation
Fairwaves UmTRX - GNU Radio Conference 2013 presentationAlexander Chemeris
 
EBU DRW 2012 - CRC mmbTools Overview
EBU DRW 2012 - CRC mmbTools OverviewEBU DRW 2012 - CRC mmbTools Overview
EBU DRW 2012 - CRC mmbTools OverviewPascal Charest
 
Lte security concepts and design considerations
Lte security concepts and design considerationsLte security concepts and design considerations
Lte security concepts and design considerationsMary McEvoy Carroll
 
Practical security testing for lte networks
Practical security testing for lte networksPractical security testing for lte networks
Practical security testing for lte networksPfedya
 

Viewers also liked (20)

Gnu Radio and the Universal Software Radio Peripheral
Gnu Radio and the Universal Software Radio PeripheralGnu Radio and the Universal Software Radio Peripheral
Gnu Radio and the Universal Software Radio Peripheral
 
Software Defined Radios for VHF, UHF and SHF
Software Defined Radios for VHF, UHF and SHFSoftware Defined Radios for VHF, UHF and SHF
Software Defined Radios for VHF, UHF and SHF
 
CLG - GNURadio et USRP
CLG - GNURadio et USRPCLG - GNURadio et USRP
CLG - GNURadio et USRP
 
Software defined radio and the hacker
Software defined radio and the hackerSoftware defined radio and the hacker
Software defined radio and the hacker
 
VHF/UHF Uplink Solutions for Remote Wireless Sensor Networks - Bifrost Meeting
VHF/UHF Uplink Solutions for Remote Wireless Sensor Networks - Bifrost MeetingVHF/UHF Uplink Solutions for Remote Wireless Sensor Networks - Bifrost Meeting
VHF/UHF Uplink Solutions for Remote Wireless Sensor Networks - Bifrost Meeting
 
comment realiser un Service Web
comment realiser un Service Web comment realiser un Service Web
comment realiser un Service Web
 
GNU Radio for space research
GNU Radio for space researchGNU Radio for space research
GNU Radio for space research
 
International Institute of technology (android)
International Institute of technology (android)International Institute of technology (android)
International Institute of technology (android)
 
Cahier de charges Projet CRM "Buisness Team" J2EE
Cahier de charges Projet CRM "Buisness Team" J2EECahier de charges Projet CRM "Buisness Team" J2EE
Cahier de charges Projet CRM "Buisness Team" J2EE
 
[HES2014] HackRF A Low Cost Software Defined Radio Platform by Benjamin Vernoux
[HES2014] HackRF A Low Cost Software Defined Radio Platform by Benjamin Vernoux[HES2014] HackRF A Low Cost Software Defined Radio Platform by Benjamin Vernoux
[HES2014] HackRF A Low Cost Software Defined Radio Platform by Benjamin Vernoux
 
EBU DRW 2011 - CRC-mmbTools - Software Radio Workshop
EBU DRW 2011 - CRC-mmbTools - Software Radio WorkshopEBU DRW 2011 - CRC-mmbTools - Software Radio Workshop
EBU DRW 2011 - CRC-mmbTools - Software Radio Workshop
 
Open Broadcasting Platforms
Open Broadcasting PlatformsOpen Broadcasting Platforms
Open Broadcasting Platforms
 
On Prototyping IEEE 802.11p Channel Estimators in Real-World Environments usi...
On Prototyping IEEE 802.11p Channel Estimators in Real-World Environments usi...On Prototyping IEEE 802.11p Channel Estimators in Real-World Environments usi...
On Prototyping IEEE 802.11p Channel Estimators in Real-World Environments usi...
 
Senior Design Presentation 2014
Senior Design Presentation 2014Senior Design Presentation 2014
Senior Design Presentation 2014
 
Fairwaves UmTRX - GNU Radio Conference 2013 presentation
Fairwaves UmTRX - GNU Radio Conference 2013 presentationFairwaves UmTRX - GNU Radio Conference 2013 presentation
Fairwaves UmTRX - GNU Radio Conference 2013 presentation
 
EBU DRW 2012 - CRC mmbTools Overview
EBU DRW 2012 - CRC mmbTools OverviewEBU DRW 2012 - CRC mmbTools Overview
EBU DRW 2012 - CRC mmbTools Overview
 
Mimo and sync_with_usrp
Mimo and sync_with_usrpMimo and sync_with_usrp
Mimo and sync_with_usrp
 
Usrp family-09-open
Usrp family-09-openUsrp family-09-open
Usrp family-09-open
 
Lte security concepts and design considerations
Lte security concepts and design considerationsLte security concepts and design considerations
Lte security concepts and design considerations
 
Practical security testing for lte networks
Practical security testing for lte networksPractical security testing for lte networks
Practical security testing for lte networks
 

Similar to GNU Radio

GNU Radio & digitaal vliegtuig spotten
GNU Radio & digitaal vliegtuig spottenGNU Radio & digitaal vliegtuig spotten
GNU Radio & digitaal vliegtuig spottenPeter Martin
 
Open bts guide_en_v0.1 (2)
Open bts guide_en_v0.1 (2)Open bts guide_en_v0.1 (2)
Open bts guide_en_v0.1 (2)Mamoud Kamara
 
Open bts guide_en_v0.1
Open bts guide_en_v0.1Open bts guide_en_v0.1
Open bts guide_en_v0.1Aziz Alaoui
 
Open bts guide_en_v0.1
Open bts guide_en_v0.1Open bts guide_en_v0.1
Open bts guide_en_v0.1Daud Suleiman
 
Arduino Meetup with Sonar and 433Mhz Radios
Arduino Meetup with Sonar and 433Mhz RadiosArduino Meetup with Sonar and 433Mhz Radios
Arduino Meetup with Sonar and 433Mhz Radiosroadster43
 
Lrz kurs: gpu and mic programming with r
Lrz kurs: gpu and mic programming with rLrz kurs: gpu and mic programming with r
Lrz kurs: gpu and mic programming with rFerdinand Jamitzky
 
Software defined radio....
Software defined radio....Software defined radio....
Software defined radio....Bise Mond
 
TinyML - 4 speech recognition
TinyML - 4 speech recognition TinyML - 4 speech recognition
TinyML - 4 speech recognition 艾鍗科技
 
Software Defined Radio (SDR)
Software Defined Radio (SDR)Software Defined Radio (SDR)
Software Defined Radio (SDR)Drew Fustini
 
Emergency Service Provide by Mobile
Emergency Service Provide by MobileEmergency Service Provide by Mobile
Emergency Service Provide by MobileSamiul Hoque
 
Design And Simulation of Modulation Schemes used for FPGA Based Software Defi...
Design And Simulation of Modulation Schemes used for FPGA Based Software Defi...Design And Simulation of Modulation Schemes used for FPGA Based Software Defi...
Design And Simulation of Modulation Schemes used for FPGA Based Software Defi...Sucharita Saha
 
IoT with openHAB on pcDuino3B
IoT with openHAB on pcDuino3BIoT with openHAB on pcDuino3B
IoT with openHAB on pcDuino3BJingfeng Liu
 
DCCN 2016 - Tutorial 2 - 4G for SmartGrid ecosystem
DCCN 2016 - Tutorial 2 - 4G for SmartGrid ecosystemDCCN 2016 - Tutorial 2 - 4G for SmartGrid ecosystem
DCCN 2016 - Tutorial 2 - 4G for SmartGrid ecosystemrudndccn
 
Multilayer Neuronal network hardware implementation
Multilayer Neuronal network hardware implementation Multilayer Neuronal network hardware implementation
Multilayer Neuronal network hardware implementation Nabil Chouba
 
Nt1310 Unit 5 Algorithm
Nt1310 Unit 5 AlgorithmNt1310 Unit 5 Algorithm
Nt1310 Unit 5 AlgorithmAngie Lee
 
Analysis resultsofasoftwaregns srevieverusingusrpandcustomlnawithopensourceal...
Analysis resultsofasoftwaregns srevieverusingusrpandcustomlnawithopensourceal...Analysis resultsofasoftwaregns srevieverusingusrpandcustomlnawithopensourceal...
Analysis resultsofasoftwaregns srevieverusingusrpandcustomlnawithopensourceal...nishit nathwani
 

Similar to GNU Radio (20)

GNU Radio & digitaal vliegtuig spotten
GNU Radio & digitaal vliegtuig spottenGNU Radio & digitaal vliegtuig spotten
GNU Radio & digitaal vliegtuig spotten
 
Open bts guide_en_v0.1 (2)
Open bts guide_en_v0.1 (2)Open bts guide_en_v0.1 (2)
Open bts guide_en_v0.1 (2)
 
Open bts guide_en_v0.1
Open bts guide_en_v0.1Open bts guide_en_v0.1
Open bts guide_en_v0.1
 
Open bts guide_en_v0.1
Open bts guide_en_v0.1Open bts guide_en_v0.1
Open bts guide_en_v0.1
 
Arduino Meetup with Sonar and 433Mhz Radios
Arduino Meetup with Sonar and 433Mhz RadiosArduino Meetup with Sonar and 433Mhz Radios
Arduino Meetup with Sonar and 433Mhz Radios
 
UMKC Dynamics of BER smaller
UMKC Dynamics of BER smallerUMKC Dynamics of BER smaller
UMKC Dynamics of BER smaller
 
Lrz kurs: gpu and mic programming with r
Lrz kurs: gpu and mic programming with rLrz kurs: gpu and mic programming with r
Lrz kurs: gpu and mic programming with r
 
3D-DRESD ASIDA
3D-DRESD ASIDA3D-DRESD ASIDA
3D-DRESD ASIDA
 
Software defined radio....
Software defined radio....Software defined radio....
Software defined radio....
 
TinyML - 4 speech recognition
TinyML - 4 speech recognition TinyML - 4 speech recognition
TinyML - 4 speech recognition
 
Software Defined Radio (SDR)
Software Defined Radio (SDR)Software Defined Radio (SDR)
Software Defined Radio (SDR)
 
Emergency Service Provide by Mobile
Emergency Service Provide by MobileEmergency Service Provide by Mobile
Emergency Service Provide by Mobile
 
Design And Simulation of Modulation Schemes used for FPGA Based Software Defi...
Design And Simulation of Modulation Schemes used for FPGA Based Software Defi...Design And Simulation of Modulation Schemes used for FPGA Based Software Defi...
Design And Simulation of Modulation Schemes used for FPGA Based Software Defi...
 
IoT with openHAB on pcDuino3B
IoT with openHAB on pcDuino3BIoT with openHAB on pcDuino3B
IoT with openHAB on pcDuino3B
 
DCCN 2016 - Tutorial 2 - 4G for SmartGrid ecosystem
DCCN 2016 - Tutorial 2 - 4G for SmartGrid ecosystemDCCN 2016 - Tutorial 2 - 4G for SmartGrid ecosystem
DCCN 2016 - Tutorial 2 - 4G for SmartGrid ecosystem
 
Multilayer Neuronal network hardware implementation
Multilayer Neuronal network hardware implementation Multilayer Neuronal network hardware implementation
Multilayer Neuronal network hardware implementation
 
Nt1310 Unit 5 Algorithm
Nt1310 Unit 5 AlgorithmNt1310 Unit 5 Algorithm
Nt1310 Unit 5 Algorithm
 
Analysis resultsofasoftwaregns srevieverusingusrpandcustomlnawithopensourceal...
Analysis resultsofasoftwaregns srevieverusingusrpandcustomlnawithopensourceal...Analysis resultsofasoftwaregns srevieverusingusrpandcustomlnawithopensourceal...
Analysis resultsofasoftwaregns srevieverusingusrpandcustomlnawithopensourceal...
 
Mobile CDS LTE Simulation Demo
Mobile CDS LTE Simulation Demo Mobile CDS LTE Simulation Demo
Mobile CDS LTE Simulation Demo
 
Sdr u
Sdr uSdr u
Sdr u
 

GNU Radio

  • 1. GNU Radio Exploring An implementation of LPI radio Yuan Wang yuwang@ucsd.edu 09/17/2009
  • 2.
  • 4. DSP Design Flow of GNU radio
  • 6. Implementation of LPI radio transmitter2
  • 7. System Architecture Hardware Frontend USRP Host Computer RF Frontend (Daugtherboard) ADC/DAC and Digital Frontend (Mothermoard) GNU Radio Software USB 2.0 Your code goes here ! http://mobiledevices.kom.aau.dk/fileadmin/mobiledevices/teaching/software_testing/Gnu_radio_lecture.pdf
  • 8. System Architecture (Cont.) Software Core Keep in mind: GNU radio has provided some useful APIs for DSP purpose What we are interested in is how to use these existing modules that have been provided in GNU radio to communicate between two end systems Host Computer DSP USB Hardware Frontend USRP RX/TXDaughterboard ADC/DAC FPGA USB Interface http://mobiledevices.kom.aau.dk/fileadmin/mobiledevices/teaching/software_testing/Gnu_radio_lecture.pdf
  • 9.
  • 10. Four 128 MS/s 14-bit DAC
  • 11. Four DDC with programmable decimation rates
  • 12. Two DUC with programmable interpolation rates
  • 13. High-speed USB 2.0 interface (480 Mb/s)
  • 14.
  • 15.
  • 16. USRP Block Diagram Picture from gnuradio.org
  • 17. AD9862 with DUC (Tx.) Picture from gnuradio.org
  • 18. DDC in FPGA (Rx.) Picture from gnuradio.org
  • 19.
  • 20. Build signal Flow graph with Python
  • 22.
  • 23.
  • 24.
  • 26. Build the DSP flow graph V2 #!/usr/bin/env python from gnuradio import gr from gnuradio import audio def build_graph (): sampling_freq = 48000 ampl = 0.1 fg = gr.flow_graph () src0 = gr.sig_source_f (sampling_freq, gr.GR_SIN_WAVE, 350, ampl) src1 = gr.sig_source_f (sampling_freq, gr.GR_SIN_WAVE, 440, ampl) dst = audio.sink (sampling_freq) fg.connect ((src0, 0), (dst, 0)) fg.connect ((src1, 0), (dst, 1)) return fg if __name__ == '__main__': fg = build_graph () fg.start () raw_input ('Press Enter to quit: ') fg.stop () C++ C++ C++ V1 My API APIs V2 C++ C++ C++ V1 My API Python Flow graph
  • 27.
  • 28. Three components1. calit2_manchester_ff.h: Block statement 2. calit2_manchester_ff.cc: Block implementation 3. calit2.i: SWIG interface 4. Other stuffs: Makefile.am, Makefile.swig.gen, testbench PythonApplication developmentFlow graph construction C++Signal processing blocks Scheduler Control flow graph
  • 29.
  • 30. Existing Projects: 802.11b, UCLA Zigbee, ATSC (HDTV), OFDM, DBPSK, DQPSK
  • 31. CGRAN (Comprehensive GNU Radio Archive Network)
  • 33. Extensive library of signal processing blocks(C++)
  • 34.
  • 35. Implementation of LPI radio (cont.) Manchester Encoder +1 -1 1 0 0 1 if(in[i/16] > 0.0) {out1 = 1.0;out2 = 0.0;} else {out1 = 0.0;out2 = 1.0;} //create manchester output and upsample by 8 for(int j = 0; j<8; j++){memcpy(&out[i+j], &out1, sizeof(float));} for (int j = 8; j<16; j++){memcpy(&out[i+j], &out2, sizeof(float));}
  • 36. Implementation of LPI radio (cont.) Second order oscillator and AM A = 1; B = -Ω2 * dt d(x+t) = dx+dv*dt;d(v+t) = A*dv + B*dx; dv dx
  • 37. Implementation of LPI radio (cont.) Sample source code // for different items on the streams for (inti = 0; i < noutput_items; i++) { float *out = (float *) output_items[0]; float temp_sum = 0.0; //clean temp_sum for next item processing for (unsigned int m=0; m < d_ncutoff; m++) // processing on different streams { const float *in = (float *) input_items[m]; d_sine[m].d_X = d_sine[m].d_X + d_sine[m].d_V*d_t; d_sine[m].d_V = d_sine[m].d_A*d_sine[m].d_V + d_sine[m].d_B*d_sine[m].d_X; temp_sum += d_sine[m].d_X*in[i]; // Amplitude Modulation Here } memcpy(&out[i], &temp_sum, sizeof(float)); // end of per item processing }
  • 38. Implementation of LPI radio (cont.) USRP sink configuration #settings of USRP self.dac_rate = self.u.dac_rate() ## 128MS/s self.u.set_interp_rate(usrp_interp) ## Set interpolation rate tx_subdev_spec = usrp.pick_tx_subdevice(self.u) ## Locate daughter board(s) m = usrp.determine_tx_mux_value(self.u, tx_subdev_spec) ## Auto MUX setup self.u.set_mux(m) self.subdev = usrp.selected_subdev(self.u, tx_subdev_spec) ## Instantiate the daughter board ## Tune to RF band: 2.45GHz support by RFX2400. import from command line option self.u.tune(self.subdev.which(), self.subdev, target_freq) self.subdev.set_enable(True) ## Enable transmit
  • 39. Implementation of LPI radio (cont.) Postmodulation at baseband
  • 40. Implementation of LPI radio (cont.) Signals in the real world
  • 41.
  • 43. A tutorial for GNU radio Python programming
  • 47. GNU Radio Mailing List Archives
  • 49. CGRAN: 3rd Party GNU Radio Apps
  • 52.
  • 53. Thank You!