SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

RF Transceivers
RF TransceiversRF Transceivers
RF Transceivers
 
Sdr
SdrSdr
Sdr
 
Microwave components
Microwave componentsMicrowave components
Microwave components
 
Software Defined Radio (SDR)
Software Defined Radio (SDR)Software Defined Radio (SDR)
Software Defined Radio (SDR)
 
Principle of FMCW radar
Principle of FMCW radarPrinciple of FMCW radar
Principle of FMCW radar
 
Sdr the future of radio
Sdr the future of radioSdr the future of radio
Sdr the future of radio
 
Directional couplers ppt for microwave engineering
Directional couplers  ppt for microwave engineeringDirectional couplers  ppt for microwave engineering
Directional couplers ppt for microwave engineering
 
Angle modulation
Angle modulationAngle modulation
Angle modulation
 
Multiple Access Techniques
Multiple Access TechniquesMultiple Access Techniques
Multiple Access Techniques
 
Microstrip patch antenna using hfss
Microstrip patch antenna using hfssMicrostrip patch antenna using hfss
Microstrip patch antenna using hfss
 
Chapter 7 multiple access techniques
Chapter 7 multiple access techniquesChapter 7 multiple access techniques
Chapter 7 multiple access techniques
 
Unit 3 introduction to cognitive radios
Unit 3   introduction to cognitive radiosUnit 3   introduction to cognitive radios
Unit 3 introduction to cognitive radios
 
Radar signal processing
Radar signal processingRadar signal processing
Radar signal processing
 
Microwave generators
Microwave generatorsMicrowave generators
Microwave generators
 
Software Defined Radio Engineering course sampler
Software Defined Radio Engineering course samplerSoftware Defined Radio Engineering course sampler
Software Defined Radio Engineering course sampler
 
Adaptive filter
Adaptive filterAdaptive filter
Adaptive filter
 
Link budget calculation
Link budget calculationLink budget calculation
Link budget calculation
 
Spectrum Analyzer Fundamentals/Advanced Spectrum Analysis
Spectrum Analyzer Fundamentals/Advanced Spectrum AnalysisSpectrum Analyzer Fundamentals/Advanced Spectrum Analysis
Spectrum Analyzer Fundamentals/Advanced Spectrum Analysis
 
Mixer
MixerMixer
Mixer
 
Basics of RF
Basics of RFBasics of RF
Basics of RF
 

Ähnlich wie 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
 

Ähnlich wie 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)
 

Kürzlich hochgeladen

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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
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
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
"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
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Kürzlich hochgeladen (20)

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!
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
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
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
"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
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 

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