Transcription
16.36: Communication Systems and NetworksUSRP Laboratory 1: IntroductionIgor, Thomas, Vishrant, Jianan and Prof. Eytan ModianoLaboratory for Information and Decision SystemsMassachusetts Institute of Technology
Outline Goal familiarity with LabVIEW Communications and with the USRP introduce the concept of modulation Intro to LabVIEW Communications experiment one: Hello World experiment two: PAM-2 and Power Spectrum Density Intro to the USRP experiment three: Send and receive a tone signalObs.: A few questions will be made during the lab.Each pair of students should turn in the answers!2
Intro to LabVIEW Communications LabVIEW Graphical Programming Environment LabVIEW Program Virtual Instrument (VI) Front PANEL User Interface Block DIAGRAM Graphical Code Software in your workstation: LabVIEWLabVIEW CommunicationsDrivers to the USRPMATLAB3
Experiment ONE: Hello World Big Picture: read an input string and copy it to an output stringString InputString OutputFront PanelHelloWorldHelloWorldBlock DiagramStringInputStringOutputLaboratory script ( 10 minutes). Wait for instructions on Experiment TWO.4
Experiment TWO: PAM-2 and PSD Big Picture: transform a bit sequence into a baseband signalGenerationof bitsPAM-2BasebandSignalBITSSYMBOLSBASEBAND SIGNALPSDA101time1 -1 1T2T3T-A5
Experiment TWO: PAM-2 and PSD Big Picture: transform a bit sequence into a baseband signalGenerationof bitsPAM-2BasebandSignalPSD Question: how to transform a sequence of bits into a sequence of symbols using PAM-2? Example: 11101000111001 into PAM-2?Answer: 1 1 1 -1 1 -1 -1 -1 1 1 1 -1 -1 16
Experiment TWO: PAM-2 and PSD Big Picture:Generationof bitsPAM-2BasebandSignalPSD Question: how to transform a sequence of symbols into a baseband signal? Example: 1 1 1 -1 1 -1 -1 -1 1 1 1 -1 -1 1 into a sequence of rectangular pulses?(more specifically )7
Experiment TWO: PAM-2 and PSDSequence of symbols1 -1 1PAM-2Hint:BasebandSignal?Baseband SignalPulse ShapeAAtimeTtimeT-A2T3T
Experiment TWO: PAM-2 and PSDSequence of symbols1 -1 1PAM-2 Pre-processingBasebandSignal ConvolutionBaseband SignalPulse ShapeAAtimeTtimeT-A2T3T
Experiment TWO: PAM-2 and PSDSequence of symbols1 -1 1PAM-2Pre-processingProcessedSymbolPulse Shape1ATTtime-12Ttime10
Experiment TWO: PAM-2 and PSDSequence of symbols1 -1 1PAM-2Pre-processing?ConvolutionSymbolPulse Shape1ATTtime-12Ttime11
Experiment TWO: PAM-2 and PSDSequence of symbols1 -1 and SignalPulse ShapeAAtimeTtimeT-A2T3T12
Experiment TWO: PAM-2 and PSD [Discrete Case]Sequence of symbolsAdding K-1 zeros after each symbol1 -1 1PAM-2Upsamplingwith K(for K 3)ConvolutionBasebandSignalBaseband SignalPulse Shape113 4 51 2samples-11 26 7 8samples13
Experiment TWO: PAM-2 and PSD Big Picture:Generationof bitsPAM-2BasebandSignalPSD PSD: Power Spectrum Density of the Baseband Signal:π ππ π ππ2,where π ππ is the Fourier transform of the baseband signal14
Experiment TWO: PAM-2 and PSD Big Picture:Generationof bitsPAM-2BasebandSignalPSD Experiment TWO: Goal: implement the system above. Please follow the instructions on your laboratory script. ( 30 minutes) Stop after finishing. Wait for instructions on Experiment THREE.15
Experiment THREE: Radio Software Defined Radio: some components that have been typically implemented inHW are implemented by means of SW HW Characteristics:USRP 2900Frequency range 70 MHz to 6 GHzFrequency step 1kHz56 MHz bandwidthMaximum output power (Pout) 20 dBmTri-band antennas: 144MHz, 400MHz, 1200MHz Electrostatic Sensitive DevicesBased on the book βIntroduction to Communication Systemsβ, by Bruce A. Black.16
Experiment THREE: Radio LabVIEW interacts with the USRP TRANSMITTER by means of four blocks:17
Experiment THREE: Radio LabVIEW interacts with the USRP transmitter by means of four blocks:Open Tx Session: initiates the transmitter session control βdevice namesβ to informLabVIEW of the USRP ID.18
Experiment THREE: Radio LabVIEW interacts with the USRP transmitter by means of four blocks:Configure Signal: is used to set IQ rate 1/π Carrier Frequency ππΆ Gain π΄ Active Antenna19
Experiment THREE: Radio LabVIEW interacts with the USRP transmitter by means of four blocks:Write Tx Data: Sends the baseband signal to the USRPfor transmission. Baseband signal array of complexvalues.If we write: ππΌ ππ πππ (ππ)The transmitted signal is: π΄ππΌ π‘ cos 2πππ π‘ π΄ππ π‘ sin 2πππ π‘20
Experiment THREE: Radio LabVIEW interacts with the USRP transmitter by means of four blocks:Close Session: Terminates transmitter operation.21
Experiment THREE: Radio LabVIEW interacts with the USRP RECEIVER by means of five blocks.22
Experiment THREE: Radio LabVIEW interacts with the USRP receiver by means of five blocks. Most blocks are analogous. The main difference is:Fetch Rx Data: Receives block of samples from theUSRP. The size of the block is controlled bythe parameter βnumber of samplesβ Samples are provided as an array ofcomplex numbers.23
Experiment THREE: Radio Big Picture:Power Attenuator.Used to avoid burningthe radio. Experiment THREE: Goal: transmit a tone signal using cables and antennas. Compare the results.Please follow the instructions on your laboratory script.Turn in your answers at the end of the lab!Frequency assignments next.24
Frequency assignment Unlicensed Band: from 902 MHz to 928 MHz 5 groups each has 5.2 MHz of available BW Central Frequency Assignments: S1 Radio1 TX: 904.6 MHzS2 Radio1 TX: 909.8 MHzS3 Radio1 TX: 915 MHzS4 Radio1 TX : 920.2 MHzS5 Radio1 TX : 925.4 MHz25
Supplementary Slides26
Experiment THREE: Radio Big Picture:Power Attenuator.Used to avoid burningthe radio. Experiment THREE: Goal: transmit a tone signal using cables and antennas. Compare the results. Please follow the instructions on your laboratory script. Turn in your answers at the end of the lab!27
Experiment TWO: PAM-2 and PSD Raised Cosine:Frequency ResponsePictures by KrishnavedalaTime Response28
Experiment TWO: PAM-2 and PSD Raised Cosine:Frequency Response: (Squared) Root-Raised Cosine:Frequency Response:π»πππ π π»(π) Look into Nyquist ISI Criterion29
USRP 2900 ased on the book Introduction to ommunication Systems _, by ruce A. lack. Experiment THREE: Radio 17 LabVIEW interacts with the USRP TRANSMITTER by means of four blocks: Experiment THREE: Radio 18 LabVIEW interacts with the USRP transmitter by means of four blocks: