SlideShare une entreprise Scribd logo
1  sur  32
Software Defined Radio
              Let our software handle the complexity…




Devesh Samaiya
M.Tech. VIPES, 11EC65R10
IIT Kharagpur
Agenda

                        SDR??
                          ?


What?          When?           How?                Why?
                                 Techniques       All Important :
Introduction   Brief History    behind & How      Applications &
                                      to           Significance
                               “Do It Yourself”


                                                                    2
What ???
 Some related Terms…
                       I&Q
   Softwar
      e                      Radio
                  FFT
                             OS/Linu
DSP                            x
              ADC
  Samplin                Sky waves
    g
                                       3
So how are they related ?
Someone said RADIO ???
We all know, A Radio is something which can catch/release
energy ripples or Waves…
                                         Base
                                         Band
                                       Processin
                                           g
                                                        Our RADIO

                                DSP
         Front

         ADC




                                                 DAC
          RF



                                FFT
                               Filters

                                                                    4
How is it related to software???
                                           Which is the
                                         device, where we
                                         have all of these
                                             blocks??




                         DSP
            ADC




                                           DAC
                          FFT
                       Filtering
 What about the Sound card of our PC, which has all the needed
                             stuff ?
            And which is software controllable too…
 Our OS provides drivers and platform to handle working of Sound
                              Card                                 5
Now we can formulate a „Easy To Understand‟ definition for SDR…

“A communication equipment/technique/architecture
which involves minimal of hardware complexities and
at the same time is reconfigurable for wide range of
communication related technologies and practices, By
using general purpose hardware.”




                                                                  6
7
Brief History
 Like many other breakthrough
  technologies SDR is also initiated by
  Military.
 Again related terms are DARPA, NSA,
  Navy etc.
 DARPA with NSA started a
  Communication reform project in 1992
  named “SpeakEasy I - II - III” with aims…
1.   Interoperability of different radio signals.
2.   Responsive to incorporation of future developments.
3.   Cost reduction potential for Radio deployment.
                                                           8
How ???
   There can be many ways to
    implement a SDR transceiver but the
    idea is same.

 Building blocks are…
1. RF Front
2. ADC
3. DSP
4. DAC
                                          9
Lets get the idea following a
sample design…

Design Issues
1. Receiver Architecture  Sampling
   Methods
2. Sampling Device
3. DSP Engine
4. SDR Control




                                      10
Receiver Architecture
              Two Possible Solutions




                                         Direct
Superheterodyne                        Conversion
 Working with IF                       Receivers




                                                    11
Superheterodyne Type Receiver
Architecture




Source- “A technology review on SDR”, Wipro Technologies, White Paper, Aug 2002




                                                                                  12
Why Not IF ???
   We need faster ADC.

   The whole purpose of SDR is to keep
    Hardware as simple as possible.

   Generally sound cards can‟t sample
    signals even at IF range.

   Sampling frequency of 16-bit sound card
    is 44,100 Hz. (Nyquist ???)
                                              13
DC Receivers
                                                                             Sampling using
                                                                              Inbuilt ADC
                                                                                   +
                                                                               Baseband
                                                                              Processing



Image Source – “A Software Defined Radio for the Masses “, By Gerald Youngblood, QEX Magazine, Pg15,
Jul / Aug 2002

            What about Image Frequencies
            ????



                                                                                                       14
An elegant solution…
   Someone said “Give me „I‟ and „Q‟ and I can demodulate
   anything”. [Ref 1]

   The idea of „I‟ and „Q‟ Processing in fundamental to the
   operation of SDR.
                                      I + jQ are shown on complex
  In Phase Signal „I‟ on the real       plane. The vector rotates
  plane. The magnitude, m(t) is       counterclockwise at rate 2πF.
     easily measured as the            Both magnitude and phase
instantaneous peak voltage , but             can be detected
no Phase Information. Can work
         for AM detector                                              Q


                                                                          mt          q(t)
                 0
                                    In Phase                                           I
                                                                               I(t)
                     mt

                                                                                             15
Quadrature
  Mixing




Image Courtesy- Article “Watch your „I‟s and „Q‟s “, Steve Ireland, RadCom Magazine, Pg54-55-56,
Jan 2007




                                                                                                   16
Now only Hardware we require is a “Tayloe
Detector”…                                                                          6 dB of
                                                                                   Noise free
                                                                                   Gain !!!




 Image Source – “A Software Defined Radio for the Masses “, By Gerald Youngblood, QEX Magazine, Pg18,
 Jul / Aug 2002
                US Patent Document No 6230000

The switch rotates at the carrier frequency so that each capacitor
samples the signal once each revolution. The 0˚ and 180˚ capacitors
differentially sum to provide the in-phase „I‟ signal and the 90˚ and 270˚
capacitor sum to provide the Quadrature „Q‟ signal.
                                                                                                    17
Commercial SDR‟s Hardware
Architecture (Rx)




                                                                                       What‟s
                                                                                       Inside?
                                                                                         ??


Image Source – “A Software Defined Radio for the Masses “, By Gerald Youngblood, QEX Magazine, Pg20,
Jul / Aug 2002




                                                                                                   18
Now its time to look –
What‟s there inside PC Sound Card, that‟s helps doing
SDR ???

                                         AntiAliasing Filter + ADC
                                          Giving Sampled „I‟ and
                                                    „Q‟




              Have you got Fmax = Fs/2
                        ?
               If Yes Welcome! Else
                      Sorry!


                                                                 19
Block level abstraction for Software Architecture




     Brick
     Wall
     Filter

Image Source – “A Software Defined Radio for the Masses “, By Gerald Youngblood, QEX Magazine, Pg18,
                                                                                                     20
Jul / Aug 2002
Writing the actual software…


    1. Writing each block of code by scratch.

    2. Using precompiled Open Source Libraries like Intel‟s
       DSP Library or DttSP library by MIT.

    3. Using Precompiled API‟s for development of software
       of our Purpose. Microsoft is currently providing one
       DirectX API.

    4. Use Freely available SDR control software's like GNU
       Radio, LinRAD & PowerSDR.
Using a Library and writing our own software seems to be an obvious
choice because it saves our time of writing all low level details like
managing Captured circular buffers and secondly it gives us flexibility to do
it our own way.
(2nd one is really important )


                                                                            21
• Microsoft‟s API allows direct access to the PC sound card
 under
   C++ and VB.

 • DirectX internally manages all low level buffers and there
 interface to
   sound card.

 • It gives the stored digital data from stereo in an circular buffer
 called
   „DirectSoundCaptureBuffer()‟ .

 • It is also responsible for low level operation of storing the
 processed
    I
   digital data ADC circularDirectSoundCaptureBuffe
                to a         buffer called „DirectSoundBuffer()‟
   Q                                   r
                                                          DSP Engine

              DAC             DirectSoundBuffer
AF/Dat
a
                                                                        22
Functions to perform in Software…(lots of things !!!)

 • Split the stereo sound buffers into I and Q channels.

 • Converting to frequency domain using FFT.

 • Cartesian to polar conversion of signal vectors.

 • Frequency translation if necessary. If there is any signal offset.

 • Sideband Selection.

 • BPF coefficients selection

 • FFT fast convolution filtering.

 • Back to time domain using IFFT.

 • Doing Digital AGC.

 • Transferring the processed buffer for Transmit or Receive.

                                                                        23
A sample algorithm between DSP…




    Algorithm for Side Band Selection-




Image Source – “A Software Defined Radio for the Masses “, By Gerald Youngblood, QEX Magazine, Pg30,   24
Some free SDR control and processing
Software‟s…
 1. PowerSDR (Open Source)

 2. Rocky (Free)

 3. LinRAD (Open Source)

 4. WinRAD (Free)

 5. GNU Radio (Open Source)

 6. M0KGK SDR

 7. EasyPC




                                       25
GNU Radio
  Its all about connecting DSP blocks using a glue called GNU Radio…




Source http://www.gnu.org/software/gnuradio/doc/exploring-gnuradio.html   26
27
Applications and Advantages…

1. Military Radio

2. Cellular Service Providers

3. Competition grade HF transceivers

4. All Present and Future Modes can be demodulated or
   generated.

5. As Little hardware as possible.

6. Ability to adapt to Requirements.

7. Hardware never become obsolete, every new piece of
   software creates a whole new device on the fly.

8. Reduced deployment cost.


                                                        28
Future…
  Software Based
       Radio



                                      Software
                                    Defined Radio



   Software Radio




 All these things are leading the   Cognitive Radio &
 way of technology to intelligent      Universal
radio or Cognitive Radio, where      Communication
         future of wireless             Devices
       Communications lies
                                                        29
References…

1. “A Software Defined Radio For Masses”, Part 1-4, Gerald
   Youngblood, Jul/Aug, Sep/Oct, Nov/Dec- 2002, Mar/Apr – 2003, QEX
   Magazine , ARRL

2. “Software Defined Radio – Enabling Technologies” , John Wiley &
   Sons Ltd, Edited by “Walter Tuttlebee”, 2002 edition

3. “Signals, Samples & Stuff – A DSP Tutorial”, Part 1-4, By Doug
   Smith, QEX Magazine , Mar/Apr, Jul/Aug, Sept/Oct, May/June 1998

4. “Watch Your Is and Qs” , By Steve Ireland, RadCom Magazine, Pg
   54-55-56, Jan 2007

5. “Software Defined Radio – Facets of a Developing technology” , By
   Walter H.W. Tuttlebee, IEEE Personal Communications, April 1999

6. “Elektor Software Defined Radio” , By Burkhard Kainka, Elektor
   Electronics UK Magazine, May 2007

7. White Paper on “SDR – A Technology Review”, Wipro Technologies,
   August 2002
                                                                       30
Thank You




            31
Q?

     32

Contenu connexe

Tendances

Ofdm & qam
Ofdm & qamOfdm & qam
Ofdm & qamnickymeher
 
Software defined radio....
Software defined radio....Software defined radio....
Software defined radio....Bise Mond
 
Power delay profile,delay spread and doppler spread
Power delay profile,delay spread and doppler spreadPower delay profile,delay spread and doppler spread
Power delay profile,delay spread and doppler spreadManish Srivastava
 
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingPhase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingNaveen Jakhar, I.T.S
 
Digital modulation
Digital modulationDigital modulation
Digital modulationAnkur Kumar
 
Analog RF Front End Architecture
Analog RF Front End ArchitectureAnalog RF Front End Architecture
Analog RF Front End ArchitectureSHIV DUTT
 
Wireless communication
Wireless communicationWireless communication
Wireless communicationLiton Ahmed
 
PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )vijidhivi
 
SOFTWARE DEFINED RADIO
SOFTWARE DEFINED RADIOSOFTWARE DEFINED RADIO
SOFTWARE DEFINED RADIOKartikeyPatwal
 
Broadside array vs end fire array
Broadside array vs end fire arrayBroadside array vs end fire array
Broadside array vs end fire arrayAJAL A J
 
OFDM Orthogonal Frequency Division Multiplexing
OFDM Orthogonal Frequency Division MultiplexingOFDM Orthogonal Frequency Division Multiplexing
OFDM Orthogonal Frequency Division MultiplexingAbdullaziz Tagawy
 
Digital Communication 4
Digital Communication 4Digital Communication 4
Digital Communication 4admercano101
 

Tendances (20)

Ofdm & qam
Ofdm & qamOfdm & qam
Ofdm & qam
 
GNU Radio
GNU RadioGNU Radio
GNU Radio
 
Sdr
SdrSdr
Sdr
 
Software defined radio....
Software defined radio....Software defined radio....
Software defined radio....
 
Power delay profile,delay spread and doppler spread
Power delay profile,delay spread and doppler spreadPower delay profile,delay spread and doppler spread
Power delay profile,delay spread and doppler spread
 
Rf basics
Rf basicsRf basics
Rf basics
 
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingPhase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
 
Ofdma
OfdmaOfdma
Ofdma
 
Ofdma Basics
Ofdma BasicsOfdma Basics
Ofdma Basics
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
 
OFDM for LTE
OFDM for LTEOFDM for LTE
OFDM for LTE
 
RF fundamentals
RF fundamentalsRF fundamentals
RF fundamentals
 
Analog RF Front End Architecture
Analog RF Front End ArchitectureAnalog RF Front End Architecture
Analog RF Front End Architecture
 
Wireless communication
Wireless communicationWireless communication
Wireless communication
 
PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )
 
SOFTWARE DEFINED RADIO
SOFTWARE DEFINED RADIOSOFTWARE DEFINED RADIO
SOFTWARE DEFINED RADIO
 
Quadrature amplitude modulation
Quadrature amplitude modulationQuadrature amplitude modulation
Quadrature amplitude modulation
 
Broadside array vs end fire array
Broadside array vs end fire arrayBroadside array vs end fire array
Broadside array vs end fire array
 
OFDM Orthogonal Frequency Division Multiplexing
OFDM Orthogonal Frequency Division MultiplexingOFDM Orthogonal Frequency Division Multiplexing
OFDM Orthogonal Frequency Division Multiplexing
 
Digital Communication 4
Digital Communication 4Digital Communication 4
Digital Communication 4
 

Similaire à Software defined radio

N5AC 2014-10-11 Pacificon SDR Advances
N5AC 2014-10-11 Pacificon SDR AdvancesN5AC 2014-10-11 Pacificon SDR Advances
N5AC 2014-10-11 Pacificon SDR AdvancesN5AC
 
Universal software defined radio development platform
Universal software defined radio development platformUniversal software defined radio development platform
Universal software defined radio development platformBertalan EGED
 
Software Defined Radio For Amateur Radio Operators and Shortwave Listeners.pdf
Software Defined Radio For Amateur Radio Operators and Shortwave Listeners.pdfSoftware Defined Radio For Amateur Radio Operators and Shortwave Listeners.pdf
Software Defined Radio For Amateur Radio Operators and Shortwave Listeners.pdfivan ion
 
N5AC 2015 Ham-Com FlexRadio Technology Update
N5AC 2015 Ham-Com FlexRadio Technology UpdateN5AC 2015 Ham-Com FlexRadio Technology Update
N5AC 2015 Ham-Com FlexRadio Technology UpdateN5AC
 
Wireless Sensor Networks: Nothing is Out of Reach
Wireless Sensor Networks: Nothing is Out of ReachWireless Sensor Networks: Nothing is Out of Reach
Wireless Sensor Networks: Nothing is Out of ReachEnergySec
 
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATIONDIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATIONLokeshBanarse
 
Scientech trainer kit catalog
Scientech trainer kit catalogScientech trainer kit catalog
Scientech trainer kit catalogABHAYTAVPSC
 
“Designing the Next Ultra-Low-Power Always-On Solution,” a Presentation from ...
“Designing the Next Ultra-Low-Power Always-On Solution,” a Presentation from ...“Designing the Next Ultra-Low-Power Always-On Solution,” a Presentation from ...
“Designing the Next Ultra-Low-Power Always-On Solution,” a Presentation from ...Edge AI and Vision Alliance
 
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...ijcsa
 
N5AC 2015 Huntsville Hamfest FlexRadio Systems
N5AC 2015 Huntsville Hamfest FlexRadio SystemsN5AC 2015 Huntsville Hamfest FlexRadio Systems
N5AC 2015 Huntsville Hamfest FlexRadio SystemsN5AC
 
Update on CRC Open and Free DAB Tools
Update on CRC Open and Free DAB ToolsUpdate on CRC Open and Free DAB Tools
Update on CRC Open and Free DAB ToolsFrancois Lefebvre
 
How new technologies affect the art of contesting
How new technologies affect the art of contestingHow new technologies affect the art of contesting
How new technologies affect the art of contestingTobias Wellnitz
 

Similaire à Software defined radio (20)

N5AC 2014-10-11 Pacificon SDR Advances
N5AC 2014-10-11 Pacificon SDR AdvancesN5AC 2014-10-11 Pacificon SDR Advances
N5AC 2014-10-11 Pacificon SDR Advances
 
Universal software defined radio development platform
Universal software defined radio development platformUniversal software defined radio development platform
Universal software defined radio development platform
 
Circuits eda
Circuits edaCircuits eda
Circuits eda
 
Software Defined Radio For Amateur Radio Operators and Shortwave Listeners.pdf
Software Defined Radio For Amateur Radio Operators and Shortwave Listeners.pdfSoftware Defined Radio For Amateur Radio Operators and Shortwave Listeners.pdf
Software Defined Radio For Amateur Radio Operators and Shortwave Listeners.pdf
 
N5AC 2015 Ham-Com FlexRadio Technology Update
N5AC 2015 Ham-Com FlexRadio Technology UpdateN5AC 2015 Ham-Com FlexRadio Technology Update
N5AC 2015 Ham-Com FlexRadio Technology Update
 
Wireless Sensor Networks: Nothing is Out of Reach
Wireless Sensor Networks: Nothing is Out of ReachWireless Sensor Networks: Nothing is Out of Reach
Wireless Sensor Networks: Nothing is Out of Reach
 
YSChen: Dissertation Defense
YSChen: Dissertation DefenseYSChen: Dissertation Defense
YSChen: Dissertation Defense
 
Chapter1
Chapter1Chapter1
Chapter1
 
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATIONDIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
 
Scientech trainer kit catalog
Scientech trainer kit catalogScientech trainer kit catalog
Scientech trainer kit catalog
 
final presentation
final presentationfinal presentation
final presentation
 
“Designing the Next Ultra-Low-Power Always-On Solution,” a Presentation from ...
“Designing the Next Ultra-Low-Power Always-On Solution,” a Presentation from ...“Designing the Next Ultra-Low-Power Always-On Solution,” a Presentation from ...
“Designing the Next Ultra-Low-Power Always-On Solution,” a Presentation from ...
 
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
 
N5AC 2015 Huntsville Hamfest FlexRadio Systems
N5AC 2015 Huntsville Hamfest FlexRadio SystemsN5AC 2015 Huntsville Hamfest FlexRadio Systems
N5AC 2015 Huntsville Hamfest FlexRadio Systems
 
43 131-1-pb
43 131-1-pb43 131-1-pb
43 131-1-pb
 
Update on CRC Open and Free DAB Tools
Update on CRC Open and Free DAB ToolsUpdate on CRC Open and Free DAB Tools
Update on CRC Open and Free DAB Tools
 
How new technologies affect the art of contesting
How new technologies affect the art of contestingHow new technologies affect the art of contesting
How new technologies affect the art of contesting
 
Spectra dtp4700h march2012_final
Spectra dtp4700h march2012_finalSpectra dtp4700h march2012_final
Spectra dtp4700h march2012_final
 
Electrivia an Solution
Electrivia an SolutionElectrivia an Solution
Electrivia an Solution
 
Main (3)
Main (3)Main (3)
Main (3)
 

Dernier

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 

Dernier (20)

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 

Software defined radio

  • 1. Software Defined Radio Let our software handle the complexity… Devesh Samaiya M.Tech. VIPES, 11EC65R10 IIT Kharagpur
  • 2. Agenda SDR?? ? What? When? How? Why? Techniques All Important : Introduction Brief History behind & How Applications & to Significance “Do It Yourself” 2
  • 3. What ??? Some related Terms… I&Q Softwar e Radio FFT OS/Linu DSP x ADC Samplin Sky waves g 3
  • 4. So how are they related ? Someone said RADIO ??? We all know, A Radio is something which can catch/release energy ripples or Waves… Base Band Processin g Our RADIO DSP Front ADC DAC RF FFT Filters 4
  • 5. How is it related to software??? Which is the device, where we have all of these blocks?? DSP ADC DAC FFT Filtering What about the Sound card of our PC, which has all the needed stuff ? And which is software controllable too… Our OS provides drivers and platform to handle working of Sound Card 5
  • 6. Now we can formulate a „Easy To Understand‟ definition for SDR… “A communication equipment/technique/architecture which involves minimal of hardware complexities and at the same time is reconfigurable for wide range of communication related technologies and practices, By using general purpose hardware.” 6
  • 7. 7
  • 8. Brief History  Like many other breakthrough technologies SDR is also initiated by Military.  Again related terms are DARPA, NSA, Navy etc.  DARPA with NSA started a Communication reform project in 1992 named “SpeakEasy I - II - III” with aims… 1. Interoperability of different radio signals. 2. Responsive to incorporation of future developments. 3. Cost reduction potential for Radio deployment. 8
  • 9. How ???  There can be many ways to implement a SDR transceiver but the idea is same.  Building blocks are… 1. RF Front 2. ADC 3. DSP 4. DAC 9
  • 10. Lets get the idea following a sample design… Design Issues 1. Receiver Architecture Sampling Methods 2. Sampling Device 3. DSP Engine 4. SDR Control 10
  • 11. Receiver Architecture Two Possible Solutions Direct Superheterodyne Conversion Working with IF Receivers 11
  • 12. Superheterodyne Type Receiver Architecture Source- “A technology review on SDR”, Wipro Technologies, White Paper, Aug 2002 12
  • 13. Why Not IF ???  We need faster ADC.  The whole purpose of SDR is to keep Hardware as simple as possible.  Generally sound cards can‟t sample signals even at IF range.  Sampling frequency of 16-bit sound card is 44,100 Hz. (Nyquist ???) 13
  • 14. DC Receivers Sampling using Inbuilt ADC + Baseband Processing Image Source – “A Software Defined Radio for the Masses “, By Gerald Youngblood, QEX Magazine, Pg15, Jul / Aug 2002 What about Image Frequencies ???? 14
  • 15. An elegant solution… Someone said “Give me „I‟ and „Q‟ and I can demodulate anything”. [Ref 1] The idea of „I‟ and „Q‟ Processing in fundamental to the operation of SDR. I + jQ are shown on complex In Phase Signal „I‟ on the real plane. The vector rotates plane. The magnitude, m(t) is counterclockwise at rate 2πF. easily measured as the Both magnitude and phase instantaneous peak voltage , but can be detected no Phase Information. Can work for AM detector Q mt q(t) 0 In Phase I I(t) mt 15
  • 16. Quadrature Mixing Image Courtesy- Article “Watch your „I‟s and „Q‟s “, Steve Ireland, RadCom Magazine, Pg54-55-56, Jan 2007 16
  • 17. Now only Hardware we require is a “Tayloe Detector”… 6 dB of Noise free Gain !!! Image Source – “A Software Defined Radio for the Masses “, By Gerald Youngblood, QEX Magazine, Pg18, Jul / Aug 2002 US Patent Document No 6230000 The switch rotates at the carrier frequency so that each capacitor samples the signal once each revolution. The 0˚ and 180˚ capacitors differentially sum to provide the in-phase „I‟ signal and the 90˚ and 270˚ capacitor sum to provide the Quadrature „Q‟ signal. 17
  • 18. Commercial SDR‟s Hardware Architecture (Rx) What‟s Inside? ?? Image Source – “A Software Defined Radio for the Masses “, By Gerald Youngblood, QEX Magazine, Pg20, Jul / Aug 2002 18
  • 19. Now its time to look – What‟s there inside PC Sound Card, that‟s helps doing SDR ??? AntiAliasing Filter + ADC Giving Sampled „I‟ and „Q‟ Have you got Fmax = Fs/2 ? If Yes Welcome! Else Sorry! 19
  • 20. Block level abstraction for Software Architecture Brick Wall Filter Image Source – “A Software Defined Radio for the Masses “, By Gerald Youngblood, QEX Magazine, Pg18, 20 Jul / Aug 2002
  • 21. Writing the actual software… 1. Writing each block of code by scratch. 2. Using precompiled Open Source Libraries like Intel‟s DSP Library or DttSP library by MIT. 3. Using Precompiled API‟s for development of software of our Purpose. Microsoft is currently providing one DirectX API. 4. Use Freely available SDR control software's like GNU Radio, LinRAD & PowerSDR. Using a Library and writing our own software seems to be an obvious choice because it saves our time of writing all low level details like managing Captured circular buffers and secondly it gives us flexibility to do it our own way. (2nd one is really important ) 21
  • 22. • Microsoft‟s API allows direct access to the PC sound card under C++ and VB. • DirectX internally manages all low level buffers and there interface to sound card. • It gives the stored digital data from stereo in an circular buffer called „DirectSoundCaptureBuffer()‟ . • It is also responsible for low level operation of storing the processed I digital data ADC circularDirectSoundCaptureBuffe to a buffer called „DirectSoundBuffer()‟ Q r DSP Engine DAC DirectSoundBuffer AF/Dat a 22
  • 23. Functions to perform in Software…(lots of things !!!) • Split the stereo sound buffers into I and Q channels. • Converting to frequency domain using FFT. • Cartesian to polar conversion of signal vectors. • Frequency translation if necessary. If there is any signal offset. • Sideband Selection. • BPF coefficients selection • FFT fast convolution filtering. • Back to time domain using IFFT. • Doing Digital AGC. • Transferring the processed buffer for Transmit or Receive. 23
  • 24. A sample algorithm between DSP… Algorithm for Side Band Selection- Image Source – “A Software Defined Radio for the Masses “, By Gerald Youngblood, QEX Magazine, Pg30, 24
  • 25. Some free SDR control and processing Software‟s… 1. PowerSDR (Open Source) 2. Rocky (Free) 3. LinRAD (Open Source) 4. WinRAD (Free) 5. GNU Radio (Open Source) 6. M0KGK SDR 7. EasyPC 25
  • 26. GNU Radio Its all about connecting DSP blocks using a glue called GNU Radio… Source http://www.gnu.org/software/gnuradio/doc/exploring-gnuradio.html 26
  • 27. 27
  • 28. Applications and Advantages… 1. Military Radio 2. Cellular Service Providers 3. Competition grade HF transceivers 4. All Present and Future Modes can be demodulated or generated. 5. As Little hardware as possible. 6. Ability to adapt to Requirements. 7. Hardware never become obsolete, every new piece of software creates a whole new device on the fly. 8. Reduced deployment cost. 28
  • 29. Future… Software Based Radio Software Defined Radio Software Radio All these things are leading the Cognitive Radio & way of technology to intelligent Universal radio or Cognitive Radio, where Communication future of wireless Devices Communications lies 29
  • 30. References… 1. “A Software Defined Radio For Masses”, Part 1-4, Gerald Youngblood, Jul/Aug, Sep/Oct, Nov/Dec- 2002, Mar/Apr – 2003, QEX Magazine , ARRL 2. “Software Defined Radio – Enabling Technologies” , John Wiley & Sons Ltd, Edited by “Walter Tuttlebee”, 2002 edition 3. “Signals, Samples & Stuff – A DSP Tutorial”, Part 1-4, By Doug Smith, QEX Magazine , Mar/Apr, Jul/Aug, Sept/Oct, May/June 1998 4. “Watch Your Is and Qs” , By Steve Ireland, RadCom Magazine, Pg 54-55-56, Jan 2007 5. “Software Defined Radio – Facets of a Developing technology” , By Walter H.W. Tuttlebee, IEEE Personal Communications, April 1999 6. “Elektor Software Defined Radio” , By Burkhard Kainka, Elektor Electronics UK Magazine, May 2007 7. White Paper on “SDR – A Technology Review”, Wipro Technologies, August 2002 30
  • 31. Thank You 31
  • 32. Q? 32