You are on page 1of 4

Project Description, EITN15

FREDRIK RUSEK

Task 1: You should implement a passband transmitter/receiver with the following specications. Base pulse: Half cycle sinus Sampling frequency: 44100 samples per second Carrier frequency: 4000 Hz Symbol time: 2.3 ms Modulation format: QPSK Multipath channel model: 1 r(t) = s(t) + s(t ) + n(t), 2 1+ 1 + 2 where s(t) is the transmitted signal, n(t) is WGN with E{n(t)n(t + )} = ( )N0 /2, = .00023 seconds and is an attenuation factor given by = Group number 100

Energy should be measured as the total transmitted energy of the passband signal. In order to pass you must present a plot showing the bit error probability versus Eb /N0 for error probabilities down to 104 . Task 2: I will provide a Matlab le Signal.mat that contains a signal generated according to SystemModel1.pdf. The message m is a of unknown length. The vector u is the ASCII representation of m. The vector a is the corresponding QPSK symbols. The QPSK map is dened as follows: 00 Maps to 1 + i 10 Maps to 1 + i 11 Maps to 1 i 01 Maps to 1 i 1

The following convention has been used: If there is an odd number of bits in u to transmit, a 0 bit is padded at the end of the vector u. Two pilot symbols 2+ 2i are added. One in front of the data and one at the end. Consequently, the transmitted symbol vector has the structure: [2 + 2i a 2 + 2i]. Pulse shaping with a half cycle sinus pulse, unknown amplitude Symbol time: 2.3 ms Duration of the pulse: 2.3 ms Sampling frequency: 44100 samples per second Carrier frequency: 4000 Hz Channel: Unknown dispersive channel plus WGN You have to decode the signal and send me the secret password. When you have done so, you have passed task 2. Task 3: The system model is shown in SystemModelTask3.pdf. Each block in the transmitter is specied below. An encoded OFDM signal is received. It is known that the sampling frequency is 44100, the carrier frequency of the signal is 10 kHz, the number of subcarriers in the OFDM system is Nsc = 128, and that the cyclic prex length is Ncp = 20. Symbol time for 1 OFDM symbol (excluding cyclic prex) is 58 ms. The symbol time is dened as transmission time of Nsc data symbols. The message m is of unknown length. The vector u is the ASCII representation of m. u is encoded byt the (77,45) rate 1/2 convolutional encoder which produces vector v. It is assumed that the encoder starts and ends in the all-zero state. Hence, the number of zeros added to u before encoding equals the memory length of the encoder. The vector a is the corresponding QPSK symbols. The QPSK map is dened as follows: 00 Maps to 1 + i 10 Maps to 1 + i 11 Maps to 1 i 01 Maps to 1 i 2

The following convention has been used: If there is an odd number of bits in v to transmit, a 0 bit is padded at the end of the vector v. The overhead block (OH): Nsc pilot symbols that all equal 1 are inserted as the rst components of x. The length of the message m is then encoded as follows: Let the length of m be m . This is represented as a binary sequence um of length 10. The vector um is encoded by the (77,45) encoder in order to produce vm . It is assumed that the encoder starts and ends in the all-zero state. Hence, the number of zeros added to um equals the memory length of the encoder. Let vm denote the length of vm . Then 2Nsc vm zero-symbols are inserted so that vm has length 2Nsc . The sequence vm is mapped to a sequence v by the QPSK map above. Hence, v has length Nsc and the length information of m is transmitted in a separate OFDM symbol. Finally the data symbols a are inserted with the following convention: A sucient number of zeros are inserted at the end of the block to ensure that the length of a is a multiple of Nsc . In total, the vector x has the following structure: x = [1 1 . . . 1
Nsc P ilots

vl
length of m

a00...0 ]
multiple of Nsc

Partition x as x = [x1 x2 x3 . . .] where each block xk contain Nsc symbols the outputs are concatentaed into a new vector xk [1], . . . , xk [Nsc ]. Then apply the IFFT to each block xk and denote the output as the outputs are concatentaed into a new vectoryk . Concatenate all blocks into the vector y, which has the structure: y = [y1 [1] y1 [2], . . . y1 [Nsc ]
y1

y2 [1] y2 [2], . . . y2 [Nsc ]


y2

y3 [1] y3 [2], . . . y3 [Nsc ] . . .].


y3

Then the cyclic prex has been applied in order to generate the outputs are concatentaed into a new vector z which gets the structure z = [y1 [Nsc Ncp +1] . . . y1 [Nsc ] y1 [1] . . . y1 [Nsc ]
CP y1

y2 [Nsc Ncp +1] . . . y2 [Nsc ] y2 [1] . . . y2 [Nsc ] . . .].


CP y2

Digital to Analog conversion (D/A): A linear interpolation has been used. This means that two consecutive samples in z are connected by a straight line. Form of presentation: As soon as you nish all three tasks you can present them to me and get a passing grade. There will be no public presentation, just book a time with me and you can present in my oce. A short, 1-2 pages, written report including a block diagram of the receiver and a plot of the results from task 1 must be handed in as well. Important! Both members of the group will be examined individually! All details of the system must be known to both group members.