Projects in Wireless Communication Lecture 1

Similar documents
RADIO SYSTEMS ETIN15. Lecture no: Equalization. Ove Edfors, Department of Electrical and Information Technology

This examination consists of 11 pages. Please check that you have a complete copy. Time: 2.5 hrs INSTRUCTIONS

Summary II: Modulation and Demodulation

a) Find the compact (i.e. smallest) basis set required to ensure sufficient statistics.

Coding theory: Applications

Principles of Communications Lecture 8: Baseband Communication Systems. Chih-Wei Liu 劉志尉 National Chiao Tung University

Digital Band-pass Modulation PROF. MICHAEL TSAI 2011/11/10

ECE 564/645 - Digital Communications, Spring 2018 Homework #2 Due: March 19 (In Lecture)

This examination consists of 10 pages. Please check that you have a complete copy. Time: 2.5 hrs INSTRUCTIONS

Electrical Engineering Written PhD Qualifier Exam Spring 2014

EE6604 Personal & Mobile Communications. Week 15. OFDM on AWGN and ISI Channels

Chapter 7: Channel coding:convolutional codes

Es e j4φ +4N n. 16 KE s /N 0. σ 2ˆφ4 1 γ s. p(φ e )= exp 1 ( 2πσ φ b cos N 2 φ e 0

LECTURE 16 AND 17. Digital signaling on frequency selective fading channels. Notes Prepared by: Abhishek Sood

Solutions to Selected Problems

Direct-Sequence Spread-Spectrum

Application of Matched Filter

BASICS OF DETECTION AND ESTIMATION THEORY

Digital Communications

Square Root Raised Cosine Filter

Lecture 18: Gaussian Channel

Data Detection for Controlled ISI. h(nt) = 1 for n=0,1 and zero otherwise.

FBMC/OQAM transceivers for 5G mobile communication systems. François Rottenberg

TSKS01 Digital Communication Lecture 1

that efficiently utilizes the total available channel bandwidth W.

Revision of Lecture 5

UCSD ECE153 Handout #40 Prof. Young-Han Kim Thursday, May 29, Homework Set #8 Due: Thursday, June 5, 2011

Principles of Communications

CHAPTER 14. Based on the info about the scattering function we know that the multipath spread is T m =1ms, and the Doppler spread is B d =0.2 Hz.

EE4601 Communication Systems

One Lesson of Information Theory

Signal Design for Band-Limited Channels

EE5713 : Advanced Digital Communications

Multicarrier transmission DMT/OFDM

Weiyao Lin. Shanghai Jiao Tong University. Chapter 5: Digital Transmission through Baseband slchannels Textbook: Ch

The Continuous-time Fourier

LOPE3202: Communication Systems 10/18/2017 2

Analog Electronics 2 ICS905

Introduction to Convolutional Codes, Part 1

7 The Waveform Channel

ECE6604 PERSONAL & MOBILE COMMUNICATIONS. Week 3. Flat Fading Channels Envelope Distribution Autocorrelation of a Random Process

Digital Transmission Methods S

Random Processes Why we Care

Mobile Communications (KECE425) Lecture Note Prof. Young-Chai Ko

Consider a 2-D constellation, suppose that basis signals =cosine and sine. Each constellation symbol corresponds to a vector with two real components

SIPCom8-1: Information Theory and Coding Linear Binary Codes Ingmar Land

EE538 Final Exam Fall :20 pm -5:20 pm PHYS 223 Dec. 17, Cover Sheet

Digital Communications

Digital Baseband Systems. Reference: Digital Communications John G. Proakis

E&CE 358, Winter 2016: Solution #2. Prof. X. Shen

ADAPTIVE EQUALIZATION AT MULTI-GHZ DATARATES

ECE 564/645 - Digital Communications, Spring 2018 Midterm Exam #1 March 22nd, 7:00-9:00pm Marston 220

Model-building and parameter estimation

Decision-Point Signal to Noise Ratio (SNR)

Parameter Estimation

These outputs can be written in a more convenient form: with y(i) = Hc m (i) n(i) y(i) = (y(i); ; y K (i)) T ; c m (i) = (c m (i); ; c m K(i)) T and n

Digital Modulation 1

Communication Theory II

Modulation & Coding for the Gaussian Channel

EE 574 Detection and Estimation Theory Lecture Presentation 8

ANALYSIS OF A PARTIAL DECORRELATOR IN A MULTI-CELL DS/CDMA SYSTEM

Performance Analysis of Spread Spectrum CDMA systems

Communication Theory Summary of Important Definitions and Results

Lecture 12. Block Diagram

EE4512 Analog and Digital Communications Chapter 4. Chapter 4 Receiver Design

Summary: SER formulation. Binary antipodal constellation. Generic binary constellation. Constellation gain. 2D constellations

Computing Probability of Symbol Error

CHIRP spread spectrum (CSS) is a spread spectrum technique

NORWEGIAN UNIVERSITY OF SCIENCE AND TECHNOLOGY DEPARTMENT OF ELECTRONICS AND TELECOMMUNICATIONS

Communication Theory II

Communications and Signal Processing Spring 2017 MSE Exam

Expectation propagation for signal detection in flat-fading channels

Revision of Lecture 4

ELECTRONICS & COMMUNICATIONS DIGITAL COMMUNICATIONS

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING Final Examination - Fall 2015 EE 4601: Communication Systems

Principles of Communications

Outline Digital Communications. Lecture 02 Signal-Space Representation. Energy Signals. MMSE Approximation. Pierluigi SALVO ROSSI

Sample Problems for the 9th Quiz

Maximum Likelihood Sequence Detection

EE4304 C-term 2007: Lecture 17 Supplemental Slides

1-bit quantization and oversampling at the receiver: Sequence based communication

Lecture 7: Wireless Channels and Diversity Advanced Digital Communications (EQ2410) 1

Convolutional Coded Faster-than-Nyquist. Transmission

Notes on a posteriori probability (APP) metrics for LDPC

Revision of Lecture 4

4 The Continuous Time Fourier Transform

Timing Recovery at Low SNR Cramer-Rao bound, and outperforming the PLL

Module 3 : Sampling and Reconstruction Lecture 22 : Sampling and Reconstruction of Band-Limited Signals

2A1H Time-Frequency Analysis II

NAME... Soc. Sec. #... Remote Location... (if on campus write campus) FINAL EXAM EE568 KUMAR. Sp ' 00

Pulse Shaping and ISI (Proakis: chapter 10.1, 10.3) EEE3012 Spring 2018

Line Codes and Pulse Shaping Review. Intersymbol interference (ISI) Pulse shaping to reduce ISI Embracing ISI

Kevin Buckley a i. communication. information source. modulator. encoder. channel. encoder. information. demodulator decoder. C k.

EE Introduction to Digital Communications Homework 8 Solutions

EE401: Advanced Communication Theory

Summary: ISI. No ISI condition in time. II Nyquist theorem. Ideal low pass filter. Raised cosine filters. TX filters

Name of the Student: Problems on Discrete & Continuous R.Vs

A First Course in Digital Communications

Lecture 15: Thu Feb 28, 2019

ECS 332: Principles of Communications 2012/1. HW 4 Due: Sep 7

Transcription:

Projects in Wireless Communication Lecture 1 Fredrik Tufvesson/Fredrik Rusek Department of Electrical and Information Technology Lund University, Sweden Lund, Sept 2018

Outline Introduction to the course Basics of digital communications Discrete-time implementations Carrier transmission

Introduction Lecturer and course responsible: Fredrik Tufvesson, E:2361A 5-6 scheduled lectures Teaching assistants: Guoda Tian, E:2367 MinKeun Chung, E:2334 Computer help sessions in the lab. Email: {fredrik.tufvesson,joao.vieira}@eit.lth.se

Introduction Ultimate goals for PWC: 1) Two computers should communicate via speaker/microphones 2) Two computers should communicate using software defined radios The projects should be performed in groups of TWO students (HARD LIMIT)

PWC 1 In the first part of PWC we only work in software. For a passing grade you must solve three tasks: 1. A digital baseband BPSK system should be implemented in C++ and its performance should be measured and verified against theoretical results ( ) P e = Q d 2 E b min N 0 2. Later in PWC you will encounter physical passband signals at the input of the microphone. In the first part, we will provide each group with one such signal; the bits carried by the signals correspond to the ASCII code of a secret password. If you can decode the signals and provide me with the password, you have passed task 2. 3. Same as 2 but with OFDM transmission and convolutional code.

Recommended reading Software-Defined Radio for Engineers, by Travis F. Collins, Robin Getz, Di Pu, and Alexander M. Wyglinski, 2018, ISBN-13: 978-1-63081-457-1. We will use some chapters in the second half of the course, and it covers many of the aspects in the first half as well. There is a free pdf of the book available, see http://www.analog.com/en/education/education-library/software-definedradio-for-engineers.html

Example Assume that you receive the following noisy signal 4 3 2 1 0 1 2 3 4 0 5 10 15 20 25 30 35 You must remove the noise...done! Decode the bits: 1 1 1 0 0 0 0 0 1 1 0 1 0 0 1 1 1 0 1... Convert to ASCII: You have passed PWC1, congratulations...

Example Assume that you receive the following noisy signal 4 3 2 1 0 1 2 3 4 0 5 10 15 20 25 30 35 You must remove the noise...done! Decode the bits: 1 1 1 0 0 0 0 0 1 1 0 1 0 0 1 1 1 0 1... Convert to ASCII: You have passed PWC1, congratulations...

Example Assume that you receive the following noisy signal 4 3 2 1 0 1 2 3 4 0 5 10 15 20 25 30 35 You must remove the noise...done! Decode the bits:1 1 1 0 0 0 0 0 1 1 0 1 0 0 1 1 1 0 1... Convert to ASCII: You have passed PWC1, congratulations...

Example Assume that you receive the following noisy signal 4 3 2 1 0 1 2 3 4 0 5 10 15 20 25 30 35 You must remove the noise...done! Decode the bits: 1 1 1 0 0 0 0 0 1 1 0 1 0 0 1 1 1 0 1... Convert to ASCII: You have passed PWC1, congratulations...

Example Assume that you receive the following noisy signal 4 3 2 1 0 1 2 3 4 0 5 10 15 20 25 30 35 You must remove the noise...done! Decode the bits: 1 1 1 0 0 0 0 0 1 1 0 1 0 0 1 1 1 0 1... Convert to ASCII:You have passed PWC1, congratulations...

Example Assume that you receive the following noisy signal 4 3 2 1 0 1 2 3 4 0 5 10 15 20 25 30 35 You must remove the noise...done! Decode the bits: 1 1 1 0 0 0 0 0 1 1 0 1 0 0 1 1 1 0 1... Convert to ASCII: You have passed PWC1, congratulations...

Introduction Formal descriptions of the tasks can be found online.

Basics of Digital Communications This is a recall of baseband digital communications... We need to transmit a bit sequence {u k } = 0111010... Map to symbols {a k } { 1, u k = 0 BPSK : a k = 1, u k = 1 1, u 2k u 2k+1 = 00 i, u 2k u 2k+1 = 01 QPSK : a k = 1, u 2k u 2k+1 = 10 i, u 2k u 2k+1 = 11

Basics of Digital Communications Each symbol is carried by a base pulse p(t) of length T, e.g. the half-cycle sinus 1.5 1 p(t) 0.5 0 1 0.5 0 0.5 1 1.5 2 t/t

Basics of Digital Communications So the transmission of bits 0 1 0 0 0 0 1 generates the pulse train y(t) 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 Transmission of + + + + + 1 0 1 2 3 4 5 6 7 8 t/t Mathematically we have y(t) = k a k p(t kt s ) Note that T s is the symbol time while T is the duration of the pulse p(t). How does T and T s relate in this example?t = T s

Basics of Digital Communications So the transmission of bits 0 1 0 0 0 0 1 generates the pulse train y(t) 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 Transmission of + + + + + 1 0 1 2 3 4 5 6 7 8 t/t Mathematically we have y(t) = k a k p(t kt s ) Note that T s is the symbol time while T is the duration of the pulse p(t). How does T and T s relate in this example? T = T s

Basics of Digital Communications So the transmission of bits 0 1 0 0 0 0 1 generates the pulse train y(t) 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 Transmission of + + + + + 1 0 1 2 3 4 5 6 7 8 t/t Mathematically we have y(t) = k a k p(t kt s ) Note that T s is the symbol time while T is the duration of the pulse p(t). How does T and T s relate in this example? T = T s

Basics of Digital Communications To avoid intersymbol interference one can use T < T s 1 0.5 0 0.5 1 2 0 2 4 6 8 t/t In this example we have T = T s /2

Basics of Digital Communications The channel model assumed in this review is a pure AWGN channel AWGN y(t) r(t) Where the noise n(t) satisfies E{n (t)n(t+τ)} = δ(τ)n 0 /2; such a noise process must have power spectral density R(f) N 0 2 f

Basics of Digital Communications What does WGN look like? Can we show an example? Consider the power of the process P = R(f)df n(t) has infinite power! Thus, not possible to show an example of WGN

Basics of Digital Communications What does WGN look like? Can we show an example? Consider the power of the process P = R(f)df n(t) has infinite power! Thus, not possible to show an example of WGN

Basics of Digital Communications What does WGN look like? Can we show an example? Consider the power of the process P = R(f)df n(t) has infinite power! Thus, not possible to show an example of WGN

Basics of Digital Communications Explanation: Every signal we ever see in reality has been filtered by some low-pass filter.

Basics of Digital Communications Mathematically, in what way should the receiver process the received signal r(t). In other words...?â =...?arg min x r(t) k x k p(t kt s ) 2 dt

Basics of Digital Communications Mathematically, in what way should the receiver process the received signal r(t). Maximum-likelihood detection is the answer! â = arg max a P rob{r(t) a}

Basics of Digital Communications Mathematically, in what way should the receiver process the received signal r(t). Maximum-likelihood is equivalent to minimum Euclidean distance detection â = arg min a r(t) k a k p(t kt s ) 2 dt

Basics of Digital Communications To decode the (complex valued) signal r(t), we pass r(t) through a matched filter z(t) z(t) = p( t) For symmetric pulses p(t), we get Let z(t) = p(t) x(t) = r(t) p(t) = k a k g(t kt s ) + η(t) where η(t) is n(t) p(t) and g(t) = p(t) z(t). Take samples every T s seconds: x k = x(kt s ). Then x k = E p a k + η k where η k is a complex Gaussian random variable with variance E p N 0, that is E p N 0 /2 per dimension!

Basics of Digital Communications Energy computations and error probability: The energy per transmitted symbol E s is given by: E s = p 2 (t)dt while } {{ } E p the energy per transmitted bit is { E b = E s, BPSK E s /2, QPSK The physical minimum Euclidean distance is { Dmin 2 4E p, BPSK = 2E p, QPSK In both cases we end up with a normalized distance d 2 min probability is given by ( ) P e Q 2 E b N 0 = 2. The error

Discrete-Time Implementations In a computer-based package such as Matlab or C/C++, we cannot represent the signals y(t) as continuous time signals. Hence we must work with sampled versions. Let f s be the sample rate in samples/second and N be the number of samples per symbol. In PWC2, f s = 44100 samples/second We get that T s = N f s The symbol rate becomes R s = f s N

Discrete-Time Implementations We must sample the base pulse p(t). Assume a sample interval of T s /N seconds 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 T s This is wrong!

We must sample the base pulse p(t). Assume a sample interval of T s /N seconds 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 Ts/N 0.1 0 0 0.2 0.4 0.6 0.8 1 T s This is wrong!

Discrete-Time Implementations We must sample the base pulse p(t). N+1 samples per symbol implies sample interval of T s /N seconds 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 Ts/N 0.1 0 0 0.2 0.4 0.6 0.8 1 T s This is wrong!

Discrete-Time Implementations Explanation: Plot two consecutive pulses. 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 Should be one point! 0 There should only be one point.

Discrete-Time Implementations Correct sampling! 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 0.2 0.4 0.6 0.8 1 Represent the samples in a vector p = [0 0.159.309...]

Discrete-Time Implementations A sampled transmission signal of + + + + + 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 0 1 2 3 4 5 6 7 t/t s Slightly harder mathematical representation. Let {b k } be a zero-padded version of {a k } Then, b = [a 1 00... 0 }{{} N 1 y k = l b l p k l a 2 00... 0 }{{} N 1 a 3 00... 0 }{{} N 1 or simply y = b p a 4...]

Discrete-Time Implementations Convolutions in discrete-time: A convolution of x(t) and y(t) in continuous time is carried out as x(τ)y(t τ)dτ (1) Let x and y be sampled version of x(t) and y(t); the sampling rate is f s. The discrete time version of (1) is 1 x l y k l f s l The discrete time convolution must be scaled by the sampling rate!. 1/f s works as dτ in (1). The energy of the pulse p(t) must be approximated as E p = 1 f s k p 2 k

Discrete-Time Implementations Matched filters in discrete-time: The pulse train p should be filtered by a discrete-time matched filter. For symmetric pulses, we can take this mathched filter as z = p where p includes the last sample!, i.e. the length of p is N + 1. (This is however not crucial.) Then the output of the matched filter is (N = 20) 10 8 6 4 2 0 2 4 6 Peak at sample 21 8 10 0 20 40 60 80 100 120 140 160 samples The number of samples in y is N number of symbols and the length of the filter output is N + N number of symbols. The peak occurs at samples 1 + kn, k = 1, 2, 3...

Discrete-Time Implementations If there is a guard band (T < T s ), then the pulse is not symmetric and we can not take z = p. We must then use z k = p N+2 k, k = 1...N + 1 It is still true that the peaks occur at samples 1 + kn, k = 1, 2, 3...

Discrete-Time Implementations Implementation of discrete-time AWGN: Until now we have constructed a modulation signal y in discrete time. We now seek a noise vector n to be added to y that represents continuous time AWGN (that has inf power). We have that both the real and the imaginary parts of the samples of η(t) = n(t) z(t) are zero-mean and have variance E p N 0 /2. In discrete-time, a sample of the filtered noise process is given by η k = 1 n l z k l f s l

Discrete-Time Implementations Assume that the variance of each n k is σ 2 n. From probability theory it follows that η k has variance σ 2 n z 2 k /f 2 s. Since we get that σ 2 n k z 2 k/f 2 s = E p N 0 2 σ 2 N 0 = E p f s 2 = N 0 2 k z2 k 2 f s Thus, The sampling rate affects the variance of the discrete time representation of continuous AWGN