37
Wireless PHY: Frequency-Domain Analysis Y. Richard Yang 09/4/2012

Wireless PHY: Frequency-Domain Analysis

  • Upload
    uriah

  • View
    33

  • Download
    0

Embed Size (px)

DESCRIPTION

Wireless PHY: Frequency-Domain Analysis. Y. Richard Yang 09 /4/2012. Outline. Admin and recap Frequency domain analysis (Fourier series). Admin. Slides and reading posted to class home page It is important to read the assigned reading for today ’ s class. - PowerPoint PPT Presentation

Citation preview

Page 1: Wireless PHY:  Frequency-Domain Analysis

Wireless PHY: Frequency-Domain Analysis

Y. Richard Yang

09/4/2012

Page 2: Wireless PHY:  Frequency-Domain Analysis

2

Outline

Admin and recap Frequency domain analysis (Fourier

series)

Page 3: Wireless PHY:  Frequency-Domain Analysis

3

Admin

Slides and reading posted to class home page

It is important to read the assigned reading for today’s class

Page 4: Wireless PHY:  Frequency-Domain Analysis

4

Recap: Wireless and Mobile Computing

Driven by infrastructure and device technology global infrastructures device miniaturization and capabilities software development platforms

Challenges: wireless channel: unreliable, open access mobility portability changing environment heterogeneity

Page 5: Wireless PHY:  Frequency-Domain Analysis

5

Overview of Wireless Physical Layer

source decoding

bitstream

channel decoding

receiver

demodulation

source coding

bitstream

channel coding

analogsignal

sender

modulation

Page 6: Wireless PHY:  Frequency-Domain Analysis

6

Wireless Physical Layer Example: Wireless: 802.11

Page 7: Wireless PHY:  Frequency-Domain Analysis

7

Understand key issues and techniques in the design of wireless physical layer

Key approach: identify the problem and then the solution(s).

Our Objective

Page 8: Wireless PHY:  Frequency-Domain Analysis

8

Outline

Recap Frequency domain analysis (Fourier

series)

Page 9: Wireless PHY:  Frequency-Domain Analysis

9

1

0

t

periodical signal

Fourier Series: Decomposing into a Collection of Harmonics

Time domain 1

0

t

decomposition

A periodic real function g(t) on [-π, π] can be decomposed as a set of harmonics (cos, sin):

set bk = 0

Page 10: Wireless PHY:  Frequency-Domain Analysis

Fourier Series

10

Page 11: Wireless PHY:  Frequency-Domain Analysis

Fourier Series

11

Page 12: Wireless PHY:  Frequency-Domain Analysis

12

Fourier Series: Example

http://en.wikipedia.org/wiki/File:Periodic_identity_function.gif

Page 13: Wireless PHY:  Frequency-Domain Analysis

13

Fourier Series: An Alternative Representation

A problem of the expression

It contains both cos() and sin() functions, and hence is somehow complex to manipulate.

Page 14: Wireless PHY:  Frequency-Domain Analysis

14

Fourier Series: Using Euler’s formula

Applying Euler’s formula

We have

Page 15: Wireless PHY:  Frequency-Domain Analysis

15

Fourier Series: Using Euler’s formula

Page 16: Wireless PHY:  Frequency-Domain Analysis

16

Making Sense of Complex Numbers

What is the effect of multiplying c by ejπ/2?

What is the effect of multiplying c by j?

Page 17: Wireless PHY:  Frequency-Domain Analysis

17

Making Sense of Complex Numbers

Page 18: Wireless PHY:  Frequency-Domain Analysis

18

Making Sense of Complex Numbers: Conjugate

Page 19: Wireless PHY:  Frequency-Domain Analysis

19

Summary of Progress: Fourier Series of Real Function on [-π, π]

Page 20: Wireless PHY:  Frequency-Domain Analysis

20

Defining Decomposition on a General Interval

A periodic function g(t) with period T on [a, a+T] can be decomposed as:

Page 21: Wireless PHY:  Frequency-Domain Analysis

21

Defining Decomposition on [0, 1]

Page 22: Wireless PHY:  Frequency-Domain Analysis

22

Making Sense of ej2πftej2πft

Page 23: Wireless PHY:  Frequency-Domain Analysis

23

Making Sense of ej2πft

ej2πft

ϕ=2πft

e-j2πft

ϕ=-2πft

G[-f]e-j2πft

G[f]ej2πft

Page 24: Wireless PHY:  Frequency-Domain Analysis

Two Domain Representations

24

- Two representations: time domain; frequency domain- Knowing one can recover the other

Page 25: Wireless PHY:  Frequency-Domain Analysis

Example: Frequency Seriesof sine and cosine

25

Page 26: Wireless PHY:  Frequency-Domain Analysis

Example: Frequency Seriesof sine and cosine

26

Page 27: Wireless PHY:  Frequency-Domain Analysis

Example: Frequency Domain’s View of Euler’s Formula

27

Page 28: Wireless PHY:  Frequency-Domain Analysis

Example: Frequency Domain’s View of Euler’s Formula

28

Page 29: Wireless PHY:  Frequency-Domain Analysis

Example: Frequency Domain’s View of Euler’s Formula

29

Page 30: Wireless PHY:  Frequency-Domain Analysis

30

From Integral to Computation

Page 31: Wireless PHY:  Frequency-Domain Analysis

Discrete Domain Analysis

Transforming a sequence of numbers x0, x1, …, xN-1 to another sequence of numbers X0, X1, …, XN-1

Inverse DFFT

31

Page 32: Wireless PHY:  Frequency-Domain Analysis

32

Page 33: Wireless PHY:  Frequency-Domain Analysis

33

Two Notes on Sampling

How fast to sample a time signal? According to Nyquist’s Law, if the highest

frequency is W, you need to sample at least 2W samples/sec

How to map from FFT output frequency when applied to samples? Assume discrete FFT applies to Nfft samples

The interpretation is that Nfft samples is 1 sec

Hence, FFT output of X1 is for the base frequency

But Nfft is only Nfft/Nsample sec => X1 is for frequency of Nfft/Nsample

Page 34: Wireless PHY:  Frequency-Domain Analysis

34

Frequency Domain Examples Using GNURadio

spectrum_samples Observe sample/under sample

Page 35: Wireless PHY:  Frequency-Domain Analysis

35

Frequency Domain Examples Using GNURadio

spectrum_2sin_plus Audio FFT Sink Scope Sink Noise

Page 36: Wireless PHY:  Frequency-Domain Analysis

Backup Slides

36

Page 37: Wireless PHY:  Frequency-Domain Analysis

37

Implementing Wireless: From Hardware to Software