lecture three ofdm i - arab academy for science ...webmail.aast.edu/~khedr/courses/vt/ofdm/lecture...

38
E E CE5984 CE5984 Orthogonal Frequency Division Multiplexing and Related Orthogonal Frequency Division Multiplexing and Related Technologies Technologies Fall 2007 Fall 2007 Mohamed Essam Khedr OFDM Basics II

Upload: hoangnguyet

Post on 06-Feb-2018

220 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

EECE5984CE5984Orthogonal Frequency Division Multiplexing and Related Orthogonal Frequency Division Multiplexing and Related

TechnologiesTechnologiesFall 2007Fall 2007

Mohamed Essam Khedr

OFDM Basics II

Page 2: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

SyllabusSyllabus• Wireless channels characteristics (7.5%) 1

– wireless channel modeling and characteristics• Large scale and small scale models• Common channel models• Channel categories and parameter calculation.• Prob. of error calculations

• OFDM Basics (10%) 1– History of OFDM– OFDM System model – Discrete-time signals & systems and DFT – Generation of subcarriers using the IFFT – Guard time, cyclic extension – Windowing – Choice of OFDM parameters & OFDM signal processing – Implementation complexity of OFDM versus single carrier modulation

• Modulation and Coding (10%) 2– Linear and nonlinear modulation – Interleaving and channel coding – Optimal bit and power allocation – Adaptive modulation

Page 3: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

MatlabMatlab Assignment 1Assignment 1

• Develop a WGN channel that accepts symbol input, adds noise to it with certain SNR and produces the noisy ouput.

• Develop a Flat Fading Channel following Rayleigh and ricean distribution

• Develop a Frequency selective channel following Rayleighand ricean distribution – All inputs to the channel are baseband signals.– Compare with the matlab functions (if exist)– Plot the probability of error vs SNR

Page 4: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Multicarrier ModulationMulticarrier Modulation• Divide broadband channel into narrowband subchannels

– No ISI in subchannels if constant gain in every subchannel and if ideal sampling

• Orthogonal Frequency Division Multiplexing– Based on the fast Fourier transform– Standardized for DAB, DVB-T, IEEE 802.11a, 802.16a, HyperLAN II– Considered for fourth-generation mobile communication systems

subchannel

frequency

mag

nitu

de

carrier

channel

Subchannels are 312 kHz wide in 802.11a and HyperLAN II

Page 5: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

An OFDM SymbolAn OFDM Symbol

N-pointInverse

FFT

X1X2

x0x2x3

xN-1XN-1

X0

N subsymbolsone symbolN complex

samples

N samplesv samples CP: Cyclic Prefix

CP CPs y m b o l i s y m b o l ( i+1)

copy copy

• Bandpass transmission allows for complex waveforms– Transmit: y(t) = Re{(I(t)+j Q(t)) exp(j2ππππ fc t)}

= I(t) cos(2ππππ fc t) – Q(t) sin(2 ππππ fc t)

Page 6: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

P/SQAM

decoder

invert channel

=frequencydomain

equalizer

S/P

quadratureamplitude

modulation (QAM)

encoder

N-IFFTadd

cyclic prefix

P/SD/A +

transmit filter

N-FFT S/Premove cyclic prefix

TRANSMITTER

RECEIVER

N subchannels N complex samples

N complex samplesN subchannels

Receive filter

+A/D

multipath channel

An OFDM Modem An OFDM Modem

Bits

00110

Page 7: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Coded OFDM (COFDM)Coded OFDM (COFDM)

• Error correction is necessary in OFDM systems• Forward error correction (FEC)

– Adds redundancy to data stream– Examples: convolutional codes, block codes– Mitigates the effects of bad channels– Reduces overall throughput according to the coding rate k/n

• Automatic repeat request (ARQ)– Adds error detecting ability to data stream– Examples: 16-bit cyclic redundancy code– Used to detect errors in an OFDM symbol– Bad packets are retransmitted (hopefully the channel changes)– Usually used with FEC– Minus: Ineffective in broadcast systems

Page 8: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

OFDM Mathematics1

2

0

( ) k

Nj f t

kk

s t X e π−

=

= � t ≡ [ 0,Τos]

Orthogonality Condition

*1 2

0

( ). ( ) 0T

g t g t dt =�In our case

2 2

0

. 0p q

Tj f t j f te e dtπ π− =�

For p ≠ q Where fk=k/T

os

os

os

Page 9: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Transmitted Spectrum

Page 10: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

resemblesIDFT!

Spectrum of the modulated data symbolsSpectrum of the modulated data symbols

• Rectangular Window of duration T0

• Has a sinc-spectrum with zeros at 1/ T0

• Other carriers are put in these zeros

• ���� sub-carriers are orthogonal

Frequency

Magnitude

�−

=

−∆−=1

0

)(2,, )()(

N

i

kTtfijkikBB exkTtwts π

N sub-carriers:

T0

Subcarrier orthogonality must be preservedCompromised by timing jitter, frequency offset, and fading.

Page 11: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

OFDM terminology

• Orthogonal carriers referred to as subcarriers {fi,i=0,....N-1}.

• OFDM symbol period {Tos=N x Ts}.

• Subcarrier spacing ∆f = 1/Tos.

Page 12: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

OFDM Signal1

,0

( ) ( ( ))N

n k k osn k

s t X g t nT∞ −

=−∞ =

= −� �2

( )0

kj f t

k

eg t

π�= �

t ≡ [ 0,Τos]

Otherwise

ko s

kf

T= K=0,..........N-1

Page 13: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

By sampling the low pass equivalent signal at a rate N times

higher than the OFDM symbol rate 1/Tos, OFDM frame

can be expressed as:

1

,0

( ) ( ) ( )N

n n k k os osk

mF m X g t nT t n T

N

=

= − = +�

{ }1 2

, ,0

( ) .mN j kN

n n k n kk

F m X e N IDFT Xπ−

=

��= =� ��

m = 0....N-1

Page 14: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Interference between OFDM Symbols

• Transmitted Signal

• Due to delay spread ISI occurs

Delay Spread

IOSI

OS1 OS2 OS3

• Solution could be guard interval between OFDM symbols

Page 15: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional
Page 16: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Cyclic Prefix

• Zeros used in the guard time can alleviate interference between OFDM symbols (IOSI problem).

• Orthogonality of carriers is lost when multipath channels are involved.

• Cyclic prefix can restore the orthogonality. •Energy is wasted in the cyclic prefix samples.

Page 17: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional
Page 18: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Cyclic Prefix Illustration

TosTg

Cyclic Prefix

OS 1 OS 2

OS1,OS2 - OFDM Symbols

Tg - Guard Time Interval

Ts - Data Symbol Period

Tos - OFDM Symbol Period - N * Ts

Page 19: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

������������� ���� �������������

Page 20: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional
Page 21: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional
Page 22: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional
Page 23: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional
Page 24: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional
Page 25: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Introduction

Design of an OFDM SystemDesign of an OFDM System

Channel impulse

response

Guard intervallength

Channel Parametersare needed

x(4 … 10) FFTsymbollength

Nr. ofcarriers

Data rate;modulation

order

Other constraints:•Nr. of carriers should match FFT size

and data packet length•considering coding and modulation schemes

Page 26: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

OFDM System Design

Spectral Shaping by WindowingSpectral Shaping by Windowing

−60 −40 −20 0 20 40 60−90

−80

−70

−60

−50

−40

−30

−20

−10

0

10

OFDM spectrum for NFFT

= 64, Nguard

= 16, oversampling = 2

frequency in sub−carriers

pow

er s

pect

rum

mag

nitu

de [d

B]

Nwin

= 2 N

win = 0

Nwin

= 16

Page 27: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Design of an OFDM System

OFDM Symbol ConfigurationOFDM Symbol Configuration• Not all FFT-points can be used for data carriers

– Lowpass filters for AD- and DA-conversion

• oversampling required– DC offsets; carrier feedtrough; etc.

DC–fs/2 fs/2

Transfer function oftransmitter/receiver

useable sub-carriers useable sub-carriers…, –1, 0, 1, … –N/2, … …, N/2–1

frequency

sub-carrierindex i

Page 28: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

OFDM Technology

Problems of OFDM (Research Topics)Problems of OFDM (Research Topics)

• Synchronization issues:– Time synchronization

• Find start of symbols– Frequency synchr.

• Find sub-carrier positions• Non-constant power envelope

– Linear amplifiers needed

• Channel estimation:

– To retrieve data

– Channel is time-variant

0 20 40 60 80 100 120 140 160 180 200-0.2

-0.1

0

0.1

0.2time domain signal (baseband)

sample nr.

imaginaryreal

δf frequency offset

frequency

amplitude

Page 29: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Synchronization

• Timing and frequency offset can influence performance.

• Frequency offset can influence orthogonality of subcarriers.

• Loss of orthogonality leads to Inter Carrier Interference.

Page 30: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Peak to Average Ratio

• Multicarrier signals have high PAR as compared to singlecarrier systems.

• PAR increases with the number of subcarriers.

• Affects power amplifier design and usage.

Page 31: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Peak to Average Power Ratio

Page 32: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional
Page 33: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional
Page 34: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Spectrum ShapingSpectrum Shaping

• FCC manages spectrum• Specifies power spectral

density mask– Adjacent channel interference– Roll-off requirements

• Implications to OFDM– Zero tones on edge of band– Time domain windowing

‘smoothes’ adjacent symbols

IEEE 802.11a

Inband

Adjacent channel

Reference: Std 802.11a

frequency

Zero tones

Ofdm symbol

Page 35: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Ideal Channel EstimationIdeal Channel Estimation• Wireless channels change frequently ~ 10 ms• Require frequent channel estimation• Many systems use pilot tones – known symbols

– Given sk, for k = k1, k2, k3, … solve xk = �l=0L hl e-j2π k l/N sk for hl

– Find Hk = �l=0L hl e-j2π k l / N (significant computation)

• More pilot tones– Better noise resiliance– Lower throughput (pilots are not informative)

frequency

mag

nitu

de Pilot tones

Page 36: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Channel Estimation Via InterpolationChannel Estimation Via Interpolation

• More efficient approach is interpolation• Algorithm

– For each pilot ki find Hki = xki / ski

– Interpolate unknown values using interpolation filter– Hm = αm,1 Hk1 + αm,2 Hk2 + …

• Comments– Longer interpolation filter: more computation, timing sensitivity– Typical 1dB loss in performance in practical implementation

frequency

mag

nitu

de

Page 37: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Case Study: IEEE 802.11a Wireless LANCase Study: IEEE 802.11a Wireless LAN

• System parameters– FFT size: 64– Number of tones used 52 (12 zero tones)– Number of pilots 4 (data tones = 52-4 = 48 tones)– Bandwidth: 20MHz– Subcarrier spacing : ∆f = 20 MHz / 64 = 312.5 kHz– OFDM symbol duration: TFFT = 1/∆f = 3.2us– Cyclic prefix duration: TGI = 0.8us– Signal duration: Tsignal = TFFT + TGI

TFFTTGI

CP s y m b o l i

Page 38: lecture three OFDM I - Arab Academy for Science ...webmail.aast.edu/~khedr/Courses/VT/OFDM/lecture three- OFDMII.pdf · – Compare with the matlab functions ... (64 states) convolutional

Case Study: IEEE 802.11a WLANCase Study: IEEE 802.11a WLAN

8005.725-5.825

2005.25 – 5.35

405.15 – 5.25

Maximum Output Power

(6dBi antenna gain) mW

FrequencyBand (GHz)• Modulation: BPSK, QPSK, 16-QAM, 64-QAM

• Coding rate: 1 / 2, 2 / 3, 3 / 4

• FEC: K=7 (64 states) convolutional code