software defined radio stephen olesen–ve6slp · pdf filewhat is sdr? • sdr...
TRANSCRIPT
![Page 1: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/1.jpg)
SDRSOFTWAREDEFINEDRADIO
NARCPRESENTATION– JANUARY2016
STEPHENOLESEN – VE6SLP
![Page 2: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/2.jpg)
WHATISSDR?
• SDR– SoftwareDefinedRadio
• InsteadofusingdiscretecomponentsordedicatedICsfortuning, receptionanddemodulation,softwaremaytakeonmanyoftheseroles.
• Hardwarecomponent tendstoonlyprovideRFtoIFconversion (including azero-IF).
• Usessoftwaretodemodulatereceivedsignals.
• Usessoftwaretomodulatetransmittedsignals.
![Page 3: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/3.jpg)
WHYUSESDR?
• SDRprovides flexibilitybyremoving restrictionsimposedbyhardwareinthesignalchain.
• AsingleRFfrontendcanbeusedbymultiple signalprocessorsastheincomingRFisdigitizedearlyon intheprocess.
• Generalpurposecomputerscanbeusedwithhighperformance toanalyzeandworkwithcomplexsignalsormultiple (independent ordependent) signalsatonce.
• DigitizationoftheRFsignalinbothdirectionsallowsforveryaccuratereproduction andanalysisofsignalswithout introducing further noiseinanalogcomponents.
![Page 4: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/4.jpg)
BASICCONCEPTSHARDWARECOMPONENTS
• Thehardwareinvolves:
• AnRFfrontend,generallycanbequitewidebandandoftenfoundasamonolithicIC.
• Analogtodigitalconversion,eitherfromanIForfrombaseband.
• Inatransmitter,adigitaltoanalogconverterisalsoused.
• Maysendbaseband toanIFmixerordirecttoRF.
• ComponentsaresimpleraslessamplificationneedstotakeplacebeforetheADC,filtering andprocessingaredonedigitallyinsoftware.
![Page 5: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/5.jpg)
BASICCONCEPTSSOFTWARECOMPONENTS
• ThesoftwareonlyneedstoworkwithadigitalstreamofdatawhichistheRFdataconvertedfromtheRFfrontend.
• Softwarecanreceiverealsamplesorcomplexsamples(I/Q– in-phase/quadrature).
• Canrunasaservice,asauserapplication, indedicatedhardware(suchasFPGAs,DSPsorevenArduinos/microcontrollers).
• Datacanbetransmitteddigitallyovernetworkswithout lossof signalfidelity.
![Page 6: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/6.jpg)
BASICCONCEPTSSOFTWARE
• Examplesofsoftwareinclude:
• SDR#(SDRSharp,Windows)
• SDR-Console(Windows)
• HDSDR(Windows)
• GNURadio(Linux)
• Linrad (Linux)
• SDR-Shell(Linux)
• Gqrx (Linux,Mac)
• WebSDR (Linux,provideswebinterfacetomultipleusers)
![Page 7: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/7.jpg)
BASICCONCEPTSRFDIGITIZATION
• TheRFisreceivedonanantenna.
• RFfrontendusuallyprovidesnormal frontend filtering (bandpass, lowpass,etc.)
• RFiseitherdirectlymixedtobasebandortoanIF
• IFiseitherdirectlysampledormixedtobaseband
• Samplesaresenttothecomputeraseitherrealorcomplexsamples
• Realcanbeconvertedtocomplex,andviceversa
• Basebandcaneasilybesampledwithacomputersoundcard
• IFgenerallyrequiresdedicatedhardwarefortheconversionofthehigh frequency IF
• Receivebandwidth limitedbytheanalogtodigitalconverter(orsound card)
![Page 8: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/8.jpg)
BASICCONCEPTSDEALINGWITHTHEDIGITALSIGNAL
• TherealsamplesgenerallyareconvertedtoI/Qsamples,providing a90degreeoutofphasesampleoftheRFdata
• Thecomplexsampleisabletoproduceamplitudeandphaseacrosstheentirereceivedspectrumwhileeliminating imagesduetomixing
• Realsampleswhenconvertedhavenodirectphaseinformation andwillhaveanimagesignalpresentafterconversion• Thiscanberemovedusingdigitalfilters
• Digitalsignalcanbesentthrough extremelycomplexormany-poledfiltersprovidingsharp,narrowfiltersontherawRFdata
• Originalsignaldatacanbeusedinmultiple filters/demodulators simultaneouslyacrosstheentirereceivedbandwidth.
![Page 9: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/9.jpg)
BASICCONCEPTSSAMPLINGRATE,NUMBEROFBITS,BANDWIDTH
• SincetheRFsignalisdigitized, theanalogtodigitalconversionwillhaveafixedsamplerate.
• Depending onthehardware(ADCandDAC),thissampling ratemaybeatsoundcardspeeds(48or96kHz,or96kSPS/192kSPS) orhigher (suchastheBladeRF at40MSPS)
• Usablebandwidth ishalfthesampling rate(192kSPSprovides96kHzbandwidth,40MSPSprovides20MHzbandwidth)
• Bitlengthprovides thetotalsignalamplitude rangeandrelatesstronglytotheachievableSNR,dynamicrange,accuracyandoverloadcharacteristics.8bitsiscommon,providing 256levelsofsignalstrength.
![Page 10: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/10.jpg)
COMMONHARDWARERTL-SDR
• SimpleUSBdevicesknownasRTL-SDR(RTL2832)areeasytofindandalowcostwaytoexperiment withreceptiononlySDR.
• AvailableinCanadaforaslowas$15,butgenerally intherangeof$25-$30.
• Availablewithavarietyoftunerchipsets,mostcommonthesedaysistheR820T.
• ConnectsviaUSBtoacomputer.
• Abletotunefromaround50MHzto1.5GHzandabove.
• Provides8bitsamplesatupto3.2MSPS(usuallyonlyusableupto2.4MSPSorso)
![Page 11: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/11.jpg)
COMMONHARDWARESOFTROCK
• TheSoftrock seriesbyFiveDash(KB9YIG)areakitversionofHFSDRswhichuseacomputersoundcardforthedigitizationportion.
• LowcostandasimpledesignallowagoodunderstandingofthehardwaresideofSDR.
• Rangeinpricefrom$21USDtoaround$100USD.
• UseUSBforpowerandfrequencycontrol,regular3.5mmaudiocablesforthebasebandaudiotobedigitized.
• Compatiblewithawidevarietyofsoftwareastheonlyrequirementisthesoundcarddriver.
• Capableofbothtransmission(lowpower,around1watt)andreception,96kHzbandwidth(192kSPS)
![Page 12: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/12.jpg)
COMMONHARDWAREFLEXSDR
• FlexRadioprovidesall-in-onesolutions forhighendperformance.
• Acombinationofhardwarebaseddigitalprocessingandcomputerbasedsignalprocessing.
• Higherpoweroutputs thantheSoftRock.
• Rangeinpricefrom$1000to$11,000.
• Familiarriglayoutanddesignwithmanyinputandoutputoptions.
• NARCownsaFlexRadioSDRattheshack.
• Somesupport dualRFfrontends,widebandwidth (not limitedbyacomputersoundcard)
![Page 13: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/13.jpg)
ADVANCEDHARDWAREBLADERF ANDHACKRF• BoththeBladeRF andHackRF aresmallUSBcontrolledSDRhardwarefrontends.
• ProvideonboardADCandDAC.• BladeRF capableoffullduplexcommunication.
• Verylowoutputpowers(10mWorless).
• BladeRF iscapableof40MSPSand300MHzto3.8GHztransmit/receive,12bits.
• HackRF iscapableof20MSPSand1Mhzto6GHz,8bits.
• BladeRF runsaround$600-$1000USD,HackRF isaround$350-450USD.
• BladeRF hasanonboardFPGA,HackRF usesaCPLD.
• Designedforexperimentation,protocoldesign,advanceddecoding.
• TheyhavebeenusedtoprovideGSM/LTEcellularnetworkservices,digitalTV(ATSC)transmission,andmore.
![Page 14: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/14.jpg)
USINGWHATYOUHAVEANYRIGUSINGASOUNDCARD
• SincetherealideaofSDRisthatsoftwarehandlesallthesignalprocessing,anyRFfrontend cantheoreticallybeusedtogetthesignalintothesoftware.
• Usinganormalradio(HF,VHF,UHF,etc.)withanaudioconnection toacomputercanprovide low-bandwidthSDRservices.
• Bandwidth limitedbythein-radiofilters(USB,LSB,FM,etc.)
• Thissortof setupiscommonly foundwithPSK,JT65,WSPR.
• TheRFfrontend isafullradiocapableofdemodulation ofaudio,butisunawareofwhatthataudio is.Thecomputer thenprocessestheinput likeanSDRtoprovide thesedigitalmodes.
• Fldigi andHamRadioDeluxeprovideconvenient interfacestoclassicradiosviathesoundcard(andoftenaconnecting interfacetoprovidePTTandlevelcontrol).
![Page 15: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/15.jpg)
INTERFACINGUSBANDSOUNDCARDINPUTS
• ThesimplestSDRRFfrontendoutputs thebasebandsignalviaregularanalogaudiosignalstoacomputer’s soundcard.
• Limitedbandwidth (audiobandwidthranges).
• I/Qimbalanceismorecommonandhardertofix.
• USBinputsvary,withdevicesliketheRTL-SDR,Flex,BladeRF andHackRF havingintegratedADCs/DACs.
• SomeUSBSDRdevicesusebuilt-insoundcardswhichconnectoverUSB,butarestilllimitedtoaudioranges.TheRigBlaster seriesisanexampleofanSDR-likeinterfacewithintegratedsoundcard.
![Page 16: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/16.jpg)
COSTOVERVIEW
• Startingwithequipmentyoualreadyhave,experiencing thebasicsofSDRandtheintegrationofcomputerswithradios,cancostnearlynothing.
• UsinganRTL-SDRbasedUSBadaptercangetyouupandrunning forunder$25.
• Adding ontransmitcapabilitiescanstartaslowas$70fortheSoftRock,uptotheFlexRadioseriesatmanythousand ofdollars.
• BecausetheRFportion isrelativelystraightforward,designing yourownSDRfrontend canbedone(thisgenerallyinvolvesoversamplingyourdesired frequency togetI/QsamplesandmixingwithanIFtoconverttobaseband,andnotmuchelse).
![Page 17: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/17.jpg)
RFCHARACTERISTICS
• Ingeneral,SDRprovides foracleanoutput signal.
• Sharpandcomplexfilterscanbeusedinsoftwaretoremoveasmuchextrasideband/noise aspossible.
• ExtremelycomplexsignalscanbesentdigitallytoahighperformanceDACwhichproduces thevoltageoutput totheRFtransmitterwithoutneeding complexanalogfiltersorintegrationtojoinmultiplesignalstogether.
• Signalnoise isinfluencedbythebitsizeandsamplerateusedtogeneratethesignal.
• SincetheRFfrontend isstraightforward(ADC/DAC,mixerandamplifier), thesignalpathisshort,preventingextraoscillatorsandparasitics fromcompromising thesignal.
![Page 18: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/18.jpg)
SOMEEXAMPLEUSES
• ADS-B(1090MHz)planetransponder tracking
• Multi-channel trunking scanners
• Widebandbandlistening/waterfall(includingmulti-userdemodulation), ie.WebSDR
• Remotelistening/transmitting
• PSK, JT65,WSPR(allatthesametime,withoneantennaandSDRfrontend)
• Experimentaldigitaloranalogmodedesign
• Satellitetrackingandtelemetry
• Discovering theRFworldaroundyouwithout spinning thedial(awidebandwidth receivershowing20MHzofRFspectrumatoncegivesaniceoverviewofnearlyalltheHFspectrumatonce)
![Page 19: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/19.jpg)
![Page 20: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/20.jpg)
![Page 21: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/21.jpg)
![Page 22: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/22.jpg)
![Page 23: SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR –Software Defined Radio ... • Using an RTL-SDR based USB adapter can get you up and running for under](https://reader030.vdocuments.net/reader030/viewer/2022021418/5a6fd1ef7f8b9ac0538b6a16/html5/thumbnails/23.jpg)