Principle of Communication Lab Manual EEE351
Lab 5
Amplitude Modulation (Full Carrier) Implementation using USRP
Objective:
The main objective of this lab is AM implementation using USRP and LabVIEW.
Introduction:
Modulation is a process by which characteristics of a high-frequency carrier signal are altered
to convey information contained in a lower-frequency message. Though it is theoretically
possible to transmit baseband signals (or information) without modulating the data, it is far
more efficient to send messages by modulating the information onto a carrier wave. High
frequency waveforms require smaller antennae for reception, efficiently use available
bandwidth, and are flexible enough to carry different types of data. There are a variety of
modulation schemes available for both analog and digital modulation.
Amplitude Modulation (AM) is an analog modulation scheme where the amplitude (A) of a
fixed-frequency carrier signal is continuously modified to represent data in a message. The
carrier signal is generally a high frequency sine wave used to “carry” the information on the
envelope of the message. The result is a double-sideband signal, centered on the carrier
frequency, with twice the bandwidth of the original signal.
6 CIIT Attock Campus
Principle of Communication Lab Manual EEE351
Lab Tasks
In-Lab Task:
Submit task implemented in lab as In-Lab task.
Front Panel:
Block Diagram for Transmitter:
6 CIIT Attock Campus
Principle of Communication Lab Manual EEE351
Block Use:
niUSRP Open Tx Session:
If we want to transmit the information using USRP this is our first VI. Here we specify the device name
to the transmission session and returns session handle out. This VI sends IQ rate to USRP.
niUSRP Configure Signal:
This VI is used to transmit TX session. First we input the IQ rate, carrier frequency, gain, and active
antenna in this VI and if no error occur corced values will be the same as input values in this VI.
niUSRP Write Tx Data (Polymorphic):
This VI is used to send IQ rate to the USRP. We transmit the data at the specified carrier frequency which we have
given previously using USRP Configure Signal. Its name has “poly” in it, which means this VI is compatible with
any data type we wish to work with.
niUSRP Close Session:
For either transmission or reception this VI is the last one. When this VI is reached the operation stops. If we want
to transmit or receive again we have to run the VI again.
6 CIIT Attock Campus
Principle of Communication Lab Manual EEE351
Post-Lab Task
Implement AM receiver using USRP and LabVIEW using the following block diagram
Front Panel:
Block Diagram:
6 CIIT Attock Campus
Principle of Communication Lab Manual EEE351
Block Use:
niUSRP Open Rx Session:
If we want to receive the information using USRP this should be our first VI. Here we specify the device name the same as on
transmission side (the IP address of USRP kit) to and returns session handle out. This VI recives IQ rate from USRP.
niUSRP Configure Signal:
This VI is used to transmit TX session. First we input the IQ rate, carrier frequency, gain, and active antenna in this VI and if
no error occur corced values will be the same as input values in this VI.
niUSRP Initiate:
This VI tells the USRP that all the required information has been completed. So the reception process can be start.
niUSRP Fetch Rx Data:
This VI is used to receive the IQ data from USRP. IQ rate can be plotted in time domain. Its name has “poly” in it, which
means this VI is compatible with any data type we wish to work with.
niUSRP Abort :
This VI tells the USRP to stop the reception process. After it we can change the configuration settings. This VI is used only in
reception VI.
niUSRP Close Session:
For either transmission or reception this VI is the last one. When this VI is reached the operation stops. If we want to transmit
or receive again we have to run the VI again.
6 CIIT Attock Campus
Principle of Communication Lab Manual EEE351
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 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
6 CIIT Attock Campus