SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR...

24
SDR SOFTWARE DEFINED RADIO NARC PRESENTATION – JANUARY 2016 STEPHEN OLESEN – VE6SLP

Transcript of SOFTWARE DEFINED RADIO STEPHEN OLESEN–VE6SLP · PDF fileWHAT IS SDR? • SDR...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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
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
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
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
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
Page 24: 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

QUESTIONS?

[email protected]