Professional Documents
Culture Documents
Tom Rondeau
tom@trondeau.com
GNU Radio Maintainer
July 3, 2012
Download Materials
http://www.trondeau.com/gr-tutorial
Presentation PDF
Case Study materials
GNU Radio apps to run examples.
Links to source code for analysis.
Data file for first case study.
Images of expected output.
Exercises.
Building Blocks
1 Rapid prototyping of PHY layer systems.
2 Analysis and development of signals.
3 Educational material to teach the workings of various comms.
4 Expose engineering techniques and tricks.
Community
Fundamentals
gr-analog Graphical Interfaces
gr-block gr-qtgui
gr-digital gr-wxgui
gr-fec
Hardware Interfaces
gr-fft
gr-audio
gr-filter
gr-comedi
gr-runtime
gr-fcd
gr-trellis
gr-shd
gr-vocoder
gr-uhd
gr-wavelet
Filtering
Filtering Noise
filtering.grc
Filtering Noise
With a simple low-pass filter, we can adjust the bandwidth of the filter to
adjust the shape of the noise.
Tom Rondeau tom@trondeau.com GNU Radio July 3, 2012 11 / 35
Exploring
Showing both the frequency and time domain of the noisy signal.
Information Representation
bits representation.grc
We can visualize bits as a series of 1’s and 0’s that are translated into 1’s
and −1′ ’s.
Tom Rondeau tom@trondeau.com GNU Radio July 3, 2012 14 / 35
Digital Modulation Study
Information Representation
bits representation.grc
We can do the same for another stream of bits and work actually combine
them into a single signal.
Tom Rondeau tom@trondeau.com GNU Radio July 3, 2012 15 / 35
Digital Modulation Study
Information Representation
bits representation.grc
Complex Numbers
Phase = 36.0604
1.0
0.8
0.6
0.4
0.2
180° 0°
Phase = -3.8096
225° 315°
270°
Tom Rondeau tom@trondeau.com GNU Radio July 3, 2012 18 / 35
Digital Modulation Study
bit representations.grc
Putting one signal on the real axis and another signal on the imaginary
axis, we can combine these on two orthogonal planes. The “constellation”
plot on the right is just a polar plot.
Tom Rondeau tom@trondeau.com GNU Radio July 3, 2012 19 / 35
M-PSK Example
mpsk stage1.grc
We can simulate a channel model with noise, frequency and timing offsets,
and multipath.
Tom Rondeau tom@trondeau.com GNU Radio July 3, 2012 22 / 35
M-PSK Example
Signal captured using a multipath channel with some AWGN noise and
timing offset. To make the signal recognizable, no frequency offset was
used.
Tom Rondeau tom@trondeau.com GNU Radio July 3, 2012 23 / 35
M-PSK Example
mpsk stage3.grc
We use a control loop algorithm to find the right sampling time to fix
clock mismatches between the transmitter and receiver.
Multipath in Brief
Multipath channels result from a signal bouncing off objects and hitting
the receiver at different times and with different phases.
Effects of Multipath
mpsk multipath.grc
Equalizing Multipath
Equalizing Multipath
mpsk stage4.grc
Using the constant modulus algorithm (CMA) blind equalizer is used here
to correct multipath distortion.
Equalizing Multipath
Note the similarity between the time-synchronized and filtered output with
multipath and the ISI of the signal before the matched filter with no
multipath.
Tom Rondeau tom@trondeau.com GNU Radio July 3, 2012 31 / 35
M-PSK Example
Equalizing Multipath
The transmitter and receiver work off different clocks, so there will be a
frequency and phase offset. We need to correct for any small frequency
and phase offsets.
Tom Rondeau tom@trondeau.com GNU Radio July 3, 2012 33 / 35
M-PSK Example
Left figure shows a rotate constellation. The Costas Loop block fixes the
offset.