Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

EE 340: Communmications Laboratory

Autumn 2014
Lab 1: Familiarization with GNU Radio
and complex signals
Lab objectives
Learning GNU Radio Software
Learning about upconversion of a baseband signal
using carrier to make it a passband signal
Getting familiar with the concept of real" vs.
complex" signals, double-sideband vs. single-
sideband signals.
Lab Task 1: GNU Radio Tutorial
Download and carefully go through the GNU Radio
video tutorial available at your desktop, also available
at:
http://home.iitb.ac.in/~manu.ts/gnuradio1.mp4
NOTE: Each step in the tutorial is important, please
don't miss anything
Lab Task 2: Sinewave Generation
Use a 500 Hz sinewave source in GNU Radio
Use "float" as the output data type
Give the output to SCOPE and FFT sinks to observe
the signal in time and frequency domains.
Make sure that the waveforms are displayed in a single
window with multiple tabs.
Use audio sink block and play the 500 Hz tone on
your audio device
Ensure the frequency of the signal you hear is correct
(check with TAs) by ensuring correct sample rates!
Multiply the 500Hz sinewave with another 10 kHz
sinewave, i.e.
Make sure that you are NOT using complex signals
Again observe the signal in time and frequency domains
(in two separate tabs of a single display window)
Justify the observed spectrum mathematically
This process is called "up-conversion" as the signal of
interest (500Hz signal) is shifted to higher frequencies using
a carrier frequency f
c
(i.e.10 kHz) to get f
c
500 Hz
Lab Task 3: Sinewave Upconversion
) 10 2 cos( ) 500 2 cos(
4
t t
Double Sideband Modulation
This upconversion of the "signal of interest" to a carrier
frequency is called modulation.
However, as observed in your simulation, there are two
tones: one at 9.5kHz and another one at 10.5kHz
These are called the two sidebands of the signal
f
c
f=0 f=0 -f
c
Upper
Sideband
Lower
Sideband
Lower
Sideband
Upper
Sideband
Upconversion:
Multiplication by
Note: The negative frequency spectrum is not shown in the GNU Radio FFT plot if the
signal is real: For real signal it is just the mirror image of signal for positive frequencies
Baseband
signal
real
) 2 cos( t f
c

Lab Task 4: Single-sideband upconversion


Multiply the signal i.e.
Multiply 90-degree shifted version of the shifted signal, (i.e.
Take the difference of the two resulting signals and observe the frequency
spectrum (on an FFT plot)
Justify the observed spectrum mathematically.
This process is called single-sideband up-conversion" as the signal of
interest is up-converted but only for one of the sidebands, which is more
bandwidth efficient (but requires the complex baseband signal.
) 2 cos( with ) 500 2 cos( t f t
c

) 2 sin( with ) 500 2 sin( ) 500 2 cos(
2
t f t t
c
=

f
c
f=0 f=0 -f
c
Upper
Sideband
only
Upper
Sideband
Single side-band
upconversion
Real
Baseband
signal
If you select the sinewave source output as complex, the output is actually
However, complex signals are not present in real world.
Basically, it is easy to represent two real signals using a single complex
signal, such as,
Complex signals can be used to represent signals that contain information in
phase as well, for which the spectrum is asymmetric about the Y-axis (you
will learn more about this later)
Can be used for carrying more information (i.e. upper sideband can be used for
some information and lower sideband can be used for some other information
New Concept: Complex Signals
t f j
e
2
) 2 sin( ) 2 cos( e using ) 2 sin( and ) 2 cos(
2
ft j ft ft ft
ft j


+ =
Complex signal upconversion
For example, if you have a complex baseband signal, the
spectrum can be different for positive and negative frequencies,
as shown.
If this signal is upconverted using a complex carrier, and the
real part of the result is transmitted, the spectrum of the
transmitted signal is shown below
f
c
f=0 f=0 -f
c
Upper
Sideband
Lower
Sideband
Lower
Sideband
Upper
Sideband
Upconversion:
Multiply by complex
sinewave and take
the real part
Complex
Baseband
signal
Note: The negative frequency spectrum is not shown in the GNU Radio FFT plot if the
signal is real: For real signal it is just the mirror image of signal for positive frequencies
Lab Task 5: Single sideband
upconversion using complex signals
Generate a complex 500 Hz sinewave using signal
source block, select output type as complex
Similarly, generate a complex 10 kHz sinewave
Multiply the two
Observe the FFT spectrum of the real part of the
resulting signal
Show analytically that this operation is the same thing
as single sideband upconversion
Homework Assignment
Hilbert transform, H(f) = -j signum (f), shifts any real
signal by 90 degrees.
Hilbert transform block in GNU radio software
provides the signal and its Hilbert transform as the
outputs
Use the Hilbert Transform block to perform the single-
sideband up-conversion of an arbitrary signal, such as
triangular wave.
The observed spectrum should have power mainly in the
upper sideband

You might also like