SlideShare a Scribd company logo
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

More Related Content

PDF
Software Defined Radio
PPTX
Software defined radio
PPTX
Sdr seminar
PPTX
PPTX
PPT
Sdr the future of radio
PPTX
Wave Propagation
Software Defined Radio
Software defined radio
Sdr seminar
Sdr the future of radio
Wave Propagation

What's hot (20)

PPTX
Cdma2000
PPT
Outdoor indoor Propagation
PPTX
Antenna in medical applications.pptx
PPT
Microwave Antenna
PPT
cell splitting.ppt
PPTX
LTE Basic
PPTX
Chap 5 (small scale fading)
PPTX
Chap 4 (large scale propagation)
PPTX
Array Antennas
PPTX
UWB and applications
PPTX
Unit 3 introduction to cognitive radios
PPTX
Antennas slideshare part 1
PPTX
Ultra wideband technology (UWB)
PDF
5G technical_overview_training_sec_1
PPTX
Cw and fm cw radar
PPTX
Non orthogonal multiple access
PPTX
Basic cellular system
PPTX
Generation of 1G to 5G
PDF
Radar Systems- Unit-III : MTI and Pulse Doppler Radars
Cdma2000
Outdoor indoor Propagation
Antenna in medical applications.pptx
Microwave Antenna
cell splitting.ppt
LTE Basic
Chap 5 (small scale fading)
Chap 4 (large scale propagation)
Array Antennas
UWB and applications
Unit 3 introduction to cognitive radios
Antennas slideshare part 1
Ultra wideband technology (UWB)
5G technical_overview_training_sec_1
Cw and fm cw radar
Non orthogonal multiple access
Basic cellular system
Generation of 1G to 5G
Radar Systems- Unit-III : MTI and Pulse Doppler Radars
Ad

Similar to Software defined radio (20)

PDF
N5AC 2014-10-11 Pacificon SDR Advances
PPT
Universal software defined radio development platform
PDF
N5AC 2015 Ham-Com FlexRadio Technology Update
PPT
cr2016-L1.ppt Cognitive radio for wireless
PDF
Wireless Sensor Networks: Nothing is Out of Reach
PDF
PPT
Chapter1
DOCX
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
PDF
Scientech trainer kit catalog
PPTX
final presentation
PDF
“Designing the Next Ultra-Low-Power Always-On Solution,” a Presentation from ...
PDF
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
PDF
N5AC 2015 Huntsville Hamfest FlexRadio Systems
PDF
43 131-1-pb
PDF
Update on CRC Open and Free DAB Tools
PPTX
How new technologies affect the art of contesting
PDF
Spectra dtp4700h march2012_final
PPTX
Electrivia an Solution
PPT
Main (3)
N5AC 2014-10-11 Pacificon SDR Advances
Universal software defined radio development platform
N5AC 2015 Ham-Com FlexRadio Technology Update
cr2016-L1.ppt Cognitive radio for wireless
Wireless Sensor Networks: Nothing is Out of Reach
Chapter1
DIGITAL SIGNAL PROCESWSING AND ITS APPLICATION
Scientech trainer kit catalog
final presentation
“Designing the Next Ultra-Low-Power Always-On Solution,” a Presentation from ...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
N5AC 2015 Huntsville Hamfest FlexRadio Systems
43 131-1-pb
Update on CRC Open and Free DAB Tools
How new technologies affect the art of contesting
Spectra dtp4700h march2012_final
Electrivia an Solution
Main (3)
Ad

Recently uploaded (20)

PDF
Modernizing your data center with Dell and AMD
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPT
Teaching material agriculture food technology
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Cloud computing and distributed systems.
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Machine learning based COVID-19 study performance prediction
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
A Presentation on Artificial Intelligence
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Approach and Philosophy of On baking technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
Modernizing your data center with Dell and AMD
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Teaching material agriculture food technology
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Cloud computing and distributed systems.
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Machine learning based COVID-19 study performance prediction
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Encapsulation theory and applications.pdf
Encapsulation_ Review paper, used for researhc scholars
NewMind AI Monthly Chronicles - July 2025
Advanced methodologies resolving dimensionality complications for autism neur...
Mobile App Security Testing_ A Comprehensive Guide.pdf
A Presentation on Artificial Intelligence
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Network Security Unit 5.pdf for BCA BBA.
Approach and Philosophy of On baking technology
Digital-Transformation-Roadmap-for-Companies.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing

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