Rubrics for Principle of Communications (EEE351) Lab
Lab # 04
Lab Title: Continuous Waveform Transmission Using USRP
Submitted by:
Names Registration # Marks
Muhammad Umar khan FA19-BEE-023
Muhammad Farhan Haider FA19-BEE-033
Muhammad Subhan
FA19-BEE-044
Rubrics name & number Marks
In-Lab Post-Lab
Engineering R2: Use of Engineering Knowledge and follow Experiment Procedures:
Knowledge Ability to follow experimental procedures, control variables, and record
procedural steps on lab report.
R3: Interpretation of Subject Knowledge:
Ability to interpret and explain mathematical and/or visual forms, including
equations, diagrams, graphics, figures and tables.
Problem R5: Data/Evidence Measurements:
Analysis Ability to record raw data / evidence.
R6: Experimental Data Analysis:
Ability to interpret findings, compare them to values in the literature, identify
weaknesses and limitations.
Design R7: Implementing Design Strategy:
Ability to execute a solution taking into consideration design requirements
and pertinent contextual elements. [Block Diagram/Flow chart/Circuit
Diagram]
R8: Best Coding Standards:
Ability to follow the coding standards and programming practices.
Modern Tools R9: Understand Tools:
Usage Ability to describe and explain the principles behind and applicability of
engineering tools.
R11: Tools Evaluation:
Ability to simulate the experiment and then using hardware tools to verify the
results.
Individual and R12: Individual Work Contributions:
Teamwork Ability to carry out individual responsibilities.
R13: Management of Team Work:
Ability to appreciate, understand and work with multidisciplinary team
members.
Rubrics to follow
Rubrics # R2 R3 R5 R6 R7 R8 R9 R11 R12 R13
POC (LAB) Page 1
In –Lab
Post- Lab
LAB #04
Continuous Waveform Transmission Using USRP
(Universal Software Radio Peripheral)
Objective:
1) Introduction to USRP and SDR
2) Implementation of Continuous Waveform Transmission Using USRP in
LabVIEW
3) Observations of graphical output.
Introduction:
SDR is defined as the radio in which some or all of the physical layer functions are software
defined. SDR is a method in which software/code that are already running on generic hardware
platform are used to implement radio functions. A software-defined radio system is a radio
communication system in which certain hardware components are implemented in software.
These hardware components include filters, amplifiers, modulators, and demodulators. Because
these components are defined in software, you can adjust a software-defined radio system as
needed without making significant hardware changes.
For this purpose, we need the following two fundamental blocks
1) NI USRP (For hardware based implementation)
2) LabVIEW (For software based implementation
Installing NI-USRP 2920 Device
1) Power on computer.
2) Attach the antenna or cable to the front terminal of device.
3) Use Ethernet cable to connect the NI 2920 to the computer.
4) Connect the AC/DC power supply to the NI 2920 device.
POC (LAB) Page 2
5) Plug the power supply into the wall outlet.
Setting Up the Network (Ethernet Only)
The device communicates with a host computer over gigabit Ethernet. Set upthe network to
enable communication with the device. IP addresses for the hostcomputer and each USRP device
must be unique.
Configuring the Host Ethernet Interface with a Static IP Address
The default IP address for the NI 2920 is 192.168.10.2
1) Ensure the host computer uses a static IP address.
Specify the static IP address in the Properties page for Internet ProtocolVersion 4 (TCP/IPv4).
2) Configure the host Ethernet interface with a static IP address on the same subnetas the
connected device to enable communication
INLAB TASK
TASK 1:
Implement transmitter and submit screenshots.
Task description:
In this task we will make the transmitter in LabVIEW by using different blocks and connecting it
with USRP kit.
Brief description of blocks used in VI:
Waveform Graph:
A Waveform Graph accepts arrays of data in various forms, e.g. array, waveform, or dynamic data. It
then plots all the received points at once. It does not accept single point values.
Pointer Slide: The Horizontal Pointer Slide object allows you to change or adjust an input
value from the front panel.
Graph Indicator:
We use graph indicator which contain the waveform.
POC (LAB) Page 3
Open session:
It is used to create a connection to the USRP for transmitting an RF signal.
Configure signal:
It sets the IQ rate, carrier frequency, gain, and active antenna.
Write data:
The NI USRP Write Tx Data VI allows us to send IQ data to the USRP so that it may transmit
that data at the carrier frequency specified by the NI USRP Configure Signal VI.
Close session:
He NI USRP Close Session VI closes the current Tx session and releases the memory in use by
that session.
Screen shot
(BLOCK DIGRAM)
POC (LAB) Page 4
(FRONT PANEL)
POST-LAB TASK:
TASK:
Implement receiver submit screenshots.
Task description:
In this task we will make the receiver in lab view by using different blocks and connecting it
with USRP kit.
Brief description of blocks used in VI:
Waveform Graph: A Waveform Graph accepts arrays of data in various forms, e.g. array,
waveform, or dynamic data. It then plots all the received points at once. It does not accept single
point values.
Pointer Slide: The Horizontal Pointer Slide object allows you to change or adjust an input
value from the front panel.
Graph Indicator: We use graph indicator which contain the waveform.
Initiate:The NI USRP Initiate VI starts the receive session and tells the USRP that all
configuration is complete and that the USRP should begin to capture IQ data.
Fetch data:The NI USRP Fetch Rx Data VI allows us to retrieve IQ data from a USRP that has
an Rx session created with the NI USRP Open Rx Session VI.
POC (LAB) Page 5
(BLOCK DIGRAM)
(Front Panel)
Conclusion:
In the end of the lab
If we want to transmit our information using IQ modulation, we can use this VI on a
computer with USRP kit. We input the IQ rate, carrier frequency, gain, and active
antenna. The IP Address of USRP is given in VI to synchronize PC and USRP kit for
transmission. The carrier frequency should be out of the range of FM. Carrier frequency
and IQ rate should be the same on transmission side as well as reception side
If we want to receive our information using IQ modulation, we can use this VI on a
computer with USRP kit. We input the IQ rate, carrier frequency, gain, and active
antenna. The IP Address of USRP is given in VI to synchronize PC and USRP kit for
POC (LAB) Page 6
Reception. The carrier frequency should be out of the range of FM. Carrier frequency and
IQ rate should be the same on transmission side as well as reception side
POC (LAB) Page 7