Instructions

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 3

DownloadInstructions
Open PDF In BrowserView PDF
ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE
School of Computer and Communication Sciences
Handout 22
Project

Principles of Digital Communications
Apr. 17, 2019

Goal: The purpose of this PDC project is to complement the theory with a hands-on
experience. What you do in this project is not very different from what a communication
engineer might do to test the feasibility of a concept.
Assignment: Develop a system capable of reliably transmitting text files over a
continuous-time channel with impairments. Specifically:
• Design a transmitter that reads a text file and returns real-valued samples of an
information-bearing signal s[n].
• You send s[n] to a server that applies channel effects, returning r[n].
• Having received r[n], your designed receiver must reconstruct the contents of the text
file.
Channel Effect The channel output signal r[n] is linked to the input s[n] through the
relation
r[n] = (h ? s)[n] + N [n],
where h is a causal passband filter and N [n] ∼ N (0, σ 2 ). Moreover we assume that h
is stochastic in the following sense: each time you send a complete transmission to the
channel server, hF takes the form
hF (f ) =

4
X

(k)

(i)

hF (f ) − hF (f )

k=1
(
α, |f − 2000k| ≤ 1000,
(k)
hF (f ) =
0, otherwise,

where i ∈ {1, 2, 3, 4} is chosen uniformly at random, and α ∈ (0, 1] is some constant. Figure
1 shows one possible filter realization.
hF (f )

(1)

(2)

hF

α

(3)

hF

(4)

hF

hF

f (in kHz)

1

3

5

7

9

Figure 1: Spectrum of h when i = 2.
Rules and Recommendations:
• You work in teams of two or three.
Please choose your teammates at latest by Friday, May 10 and send an email to
sepand.kashani@epfl.ch in order to register your team.

• We recommend you use Python or MATLAB as the programming language, but any
other satisfactory solution is also accepted, as long as all the code pertaining to the
transmitter and receiver is produced by your team.
• During the last session (May 31), each group presents their project in 5–10 minutes
and gives a demonstration by transmitting a file that we provide.
(i) You will run the transmitter and the receiver on your own laptop.
(ii) You must send us your code before Friday, May 31, 10am.
(iii) The text file which you will be asked to transmit will contain roughly 160 characters/bytes.
(iv) Your presentation should contain a brief explanation of your signaling scheme,
followed by the transmission and decoding of the chosen text (that will be given
to you on the spot).
(v) You will be given two chances for transmission. I.e., if the received text is
different than the sent one at the first attempt, you can repeat the transmission
once more.
• Reliability plays the most important role in the evaluation. Hopefully the communication will be error-free. The data rate and the implementation details play a
secondary role. Nevertheless there is an upper-bound on accepted transmission size
to keep server load reasonable.
(a) If you manage to transmit the file without errors during the first transmission
you will get the full mark (15/15 pts).
(b) In case of error-free transmission in the second attempt you will get 12 pts out
of 15.
(c) Otherwise your mark will be (1 − ε) × 12 (out of 15 pts) where ε is the fraction
of incorrect words in the reproduced text at the receiver.
(d) On top of that, the group with the fastest transmission scheme (among the
error-free ones) will get 5 additional (bonus) points.
Channel Access: To simplify communication with the channel server, we provide you
a Python script client.py that you can download on the course webpage. Please read the
associated docstrings for more information. Some extra information:
• Real-world transmitter/receiver front-ends can reliably quantize signals on a finite
interval only. We replicate this behavior in the channel by clipping your inputs to
[−1, 1].
• Sampling rate: fs = 22050 [samples/s]
• σ = 0.05
• --srv hostname=iscsrv72.epfl.ch
• --srv port=80

2

Note: This project is meant to be instructive and enjoyable. It accounts only for 15%
of the points that you can accumulate towards your final grade. Do not let it become a
major time investment unless you can afford to do so. In particular, we strongly recommend
that you do not let the project keep you from fulfilling the other assignments (for PDC and
other classes). Remember that the final exam accounts for 40% of the points.

3



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Page Count                      : 3
Producer                        : pdfTeX-1.40.19
Creator                         : TeX
Create Date                     : 2019:05:21 09:12:27+02:00
Modify Date                     : 2019:05:21 09:12:27+02:00
Trapped                         : False
PTEX Fullbanner                 : This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/Arch Linux) kpathsea version 6.3.0
EXIF Metadata provided by EXIF.tools

Navigation menu