interactions between the physical layer and upper layers in ......system model •wireless channel...

39
Interactions Between the Physical Layer and Upper Layers in Wireless Networks: The devil is in the details Fouad A. Tobagi Stanford University “Broadnets 2006” San Jose, October 4, 2006

Upload: others

Post on 09-Mar-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Interactions Between the PhysicalLayer and Upper Layers in

Wireless Networks:The devil is in the details

Fouad A. TobagiStanford University“Broadnets 2006”

San Jose, October 4, 2006

Page 2: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Very Wide Range of ScenariosVALUE ADDEDPROPOSITIONS

RELEVANTASPECTS

SCENARIOS

N/A• Path Loss• Fading

•Offices, residences•OutdoorsCHANNEL

• Power and RateAdaptation•MIMO

• Transmit Power• Data Rate• ED Threshold

• OFDMPHYSICALLAYER

Adaptive contentionwindow

• Contention Window• Inter-Frame Spacing

• IEEE 802.11MAC

Adaptive routing• Topology Parameters• Mobility Parameters• Protocol Parameters

• Topology• Mobility• Routing Protocol

NETWORKLAYER

Application layerAdaptation

• Traffic Parameters• Performance•Measures

• Traffic Types –voice, video, data•Traffic Pattern

APPLICATION

Page 3: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Impact of Channel Fading onPacket Error Rate (PER)

andApplications Performance

Page 4: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Path Loss, Shadowing,and Small Scale Fading

distance

Power

distance

Power

Page 5: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

System Model

•Wireless Channel model – ETSI’s channel model A for Typical office environment

• PHY Layer - IEEE 802.11a/g (OFDM-based)

• MAC Layer - IEEE 802.11 DCF (CSMA/CA with 7 retries)

•Application - VoIP (20ms speech/packet = 228 bytes frames)

Page 6: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

ETSI Channel Model AMultipath Components

• Typical indoornon-line of sightofficeenvironment

• RMS delay spread=50ns

• IndependentRayleigh fadingon the paths

Page 7: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Fading Realizations and PER

PER < 10-4PER = 0.99

R= 24 Mbps SNRrec = 18.6 dB

Page 8: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

SNR and SNRrec• SNRrec= f(SNR, H)

• SNR = Pt+ Gt + Gr- Ploss-Npower- Im

• Npower= 10log10(K.T.B) + NFK, Boltzman constantT, temperatureB, bandwidthNF, noise figure

Keenan-Motley• Ploss = Pfree-space(d,λ) + a•d

Page 9: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Fading Realizations and PER

PER vs. SNR for H1 PER vs. SNR for H2

Page 10: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

VoIP Quality Assessment: MeanOpinion Score (MOS)

Page 11: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

MOS-PER Relationship

MOS vs. PER for G.711 with PLC

Page 12: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Voice Quality

H1 H2

Page 13: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

SNR Vs. Data Rate Tradeoff

MOStarget = 4

99th percentile

Page 14: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Coexistence of Multiple Links:

Interactions between the PhysicalLayer and the MAC Layer

Page 15: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

STA0

AP0

A Simple Scenario:Video Streaming

STA1

AP1s45°

data data

d

Even with this simple case there are many parameters regarding:Topology, Wireless Channel, Physical and MAC Layers,

and Application Characteristics.

Page 16: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

An Accurate Simulation Tool

802.11 MAC layer protocolDistributed Coordination Function (CSMA/CA)

802.11e enhancements

802.11a/g OFDM PHY characteristicsChannel modeling including path loss and fading

Accurate models for receiver: synchronization, PER

Application layer

Page 17: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Average Packet Error Rate forVarious Data Rates

• IEEE 802.11a

• ETSI Channel A

• MAC frame size

= 1528 bytes

Page 18: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Packet Error Rate forDifferent Packet Size

• IEEE 802.11a

• ETSI Channel A

• 6 Mbps

Page 19: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

STA0

AP0

A Simple Scenario:Sustainable video throughput

STA1

AP1s45°

data data

d

PHY 12 Mbps Video 8 Mbps d = 7 m ED = -95 dBm

Page 20: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Video Throughput(Phy 12 Mbps, Video 8 Mbps, d = 7 m, ED = -95 dBm)

STA0

AP0

STA1

AP1s

7 m

Distance s between AP0 and AP1 (m)

Thro

ughp

ut (M

bps)

AP0 °Ê STA0

AP1 °Ê STA1

Page 21: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Factors• Blocking: 802.11 Carrier Sense Multiple Access

prevents simultaneous packet transmissions from bothAPs

• MAC layer behavior: Interframe Spacing depends onwhether the last detected packet is received correctly ornot

• Interference: packet reception corrupted due tosimultaneous transmission (no blocking)

Page 22: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Extended Interframe Space802.11 MAC Protocol

Data

SIFS

Data

DIFS CW

ACK

EIFS is used to protect an eventual ACK transmittedby the intended receiver.

Data ACK

SIFS

Data

EIFS

CW

Normal frame exchange

SIFS, DIFS, EIFS: Interframe space / CW: Contention Window (random)

Frame error

Page 23: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

STA0

AP0

Interference EffectSTA

1

AP1

data

AP1

AP0

STA0below ED threshold

data

Interference from AP1 causes high probability of error at STA0.

Page 24: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Video Throughput(Phy 12 Mbps, Video 8 Mbps, d = 7 m, ED = -95 dBm)

full coordinationpartial

coordinationno

coordination

interference

no blocking (AP0-AP1)

sDistance s between AP0 and AP1 (m)

AP0 °Ê STA0

Thro

ughp

ut (M

bps)

AP1 °Ê STA1

MAC layer behavior (EIFS)

STA0

AP0

STA1

AP1s

7 m

With coordination: MAC layer behavior determines sharing of bandwidth

Page 25: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

STA0

AP0

EIFS EffectSTA

1

AP1

ACK

ACK

AP0

SIFS

AP1

DIFS+CW

STA1EIFS

Channel is captured by AP1 more frequently.

Page 26: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Video Throughput(Phy 12 Mbps, Video 8 Mbps, d = 7 m, ED = -95 dBm)

full coordinationpartial

coordinationno

coordination

interference

no blocking (AP0-AP1)

sDistance s between AP0 and AP1 (m)

AP0 °Ê STA0

Thro

ughp

ut (M

bps)

AP1 °Ê STA1

MAC layer behavior (EIFS)

STA0

AP0

STA1

AP1s

7 m

Without coordination: interference is the main cause of the results

Page 27: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Video Throughput(Phy 12 Mbps, Video 8 Mbps, d = 7 m, ED = -85 dBm)

fullcoordination

nocoordination

partialcoordination

sDistance s between AP0 and AP1 (m)

Thro

ughp

ut (M

bps)

AP0 °Ê STA0

AP1 °Ê STA1

no blocking (AP0-AP1)

MAC layer behavior (EIFS)

interference

STA0

AP0

STA1

AP1s

7 m

Without coordination: interference is the main cause of the results

Page 28: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Impact of Path Loss and PhysicalLayer Parameters on the

throughput of Multi-hop WirelessNetworks

Page 29: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Throughput of a Linear MultihopWireless Network

• Wireless Channel Characteristics– Path Loss (exponent _)– Fading

• MAC Layer Parameters– TDMA: Separation between nodes

transmitting simultaneously– 802.11: Energy Detect Threshold– Slotted ALOHA: Probability of

transmission in a time slot

• Physical Layer– Transmission Power– Data Rate– Receiver Performance

• Network Characteristics– Distance between nodes in the string

• Traffic Patterns– Saturated Traffic at each node– Traffic injected from one end of the

string to the other

Page 30: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Effect of Transmission Power

_ = 4.1

d = 5 m

ED = -91 dBm

CS = -85 dBm

Decrease in performanceon the link between atransmitter and areceiver

Decrease in the numberof simultaneoustransmissions due toexcessive blocking

Page 31: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Effect of Energy Detect Threshold

_ = 4.1

d = 5 m

Pt = 20 dBm

CS = -85 dBm

Excessive interference due toincreased number ofsimultaneous transmissions

Decrease in the number ofsimultaneous transmissions dueto excessive blocking

Page 32: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Effect of Path Loss

Throughput is optimized over transmission power, data rate, and energydetect threshold.

Transmission power is limited to a maximum as allowed by IEEE 802.11

Page 33: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Effect of MAC Scheme

CSMA throughput is optimized over transmission power, data rate, andenergy detect threshold.

TDMA throughput is optimized over the TDMA frame lengthSlotted Aloha throughput is optimized over the rate of transmissions

_ = 4.1

Page 34: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Impact of Channel Variability onRouting

Page 35: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

102

148

146

144138

104

127

101

103 bis

192.168.2.10

192.168.2.13

192.168.2.52

192.168.2.53

192.168.2.15

App

rox.

22m

192.168.2.12

FTRD Lannion Testbed

• 10 nodes in office environment (only 6 shown above in partial map)• Measurements of SNR on links and routing tables at each node for 24 hours

with samples every 15 seconds

Page 36: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

SNR Variation and Routing Oscillations

• With average SNR around 10-12 dB, the packet error rate is high• Low SNR & variability of SNR result in change of routes from one

sample to another– e.g. next hop at node 13 to reach 52 changes fromsample to sample – 52, 10, 15 or no route

Page 37: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Same Destination on a Different Day

• Same time (10-12 pm) but on a different day (Feb 11 instead of Jan 27)• Similar average SNR (8-10 dB), but bigger spread (-2 to 22 dB)• Instead of oscillating between 52 and 10 (going backwards), it now

oscillates between 10 (going backward) and 15 (going forward)

Page 38: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

Challenges in Simulator Calibration

• Changes in environment result in very different distribution of routes ontwo different days

• Not practical to try to model exact variations• More important to see similar variability in simulator, so that problems can

be seen, and solutions can be tested via simulations• What is the right level of modeling accuracy to say that undesirable

behavior can be captured via simulations without testing ?

No route

No route

52 (direct)

10 (backwards)

15 (forward) 52 (direct)

10 (backwards)

15 (forward)Jan 27, 2005 Feb 11, 2005

Page 39: Interactions Between the Physical Layer and Upper Layers in ......System Model •Wireless Channel model – ETSI’s channel model A for Typical office environment • PHY Layer -

END