sunghwa son 2011.09.28. introduction time-varying wireless channel large-scale attenuation due to...

36
Cross-Layer Wireless Bit Rate Adaptation Sunghwa Son 2011.09.28

Upload: bertha-may

Post on 03-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Cross-Layer Wireless Bit Rate Adaptation

Sunghwa Son2011.09.28

Page 2: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Introduction

Page 3: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Time-varying wireless chan-nel

Large-scale attenua-tion• Due to changing dis-

tance

Small-scale fading• Due to multipath

Interference• Unpredictable

0

5

10

15

20

25

30

0 2000 4000 6000 8000 10000

Time (Milliseconds)

SN

R (

dB

)

0

5

10

15

20

25

1500 1550 1600 1650 1700 1750

Time (Milliseconds)

SN

R (

dB

)

Bit errors, frame losses

10 s

250 ms

Page 4: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Online Bit Rate Adaptation Varying modulation & coding

(redundancy) Better channel Higher rate Huge gains possible (802.11g has 1-54

Mbps)

Estimate channel accurately Responsive

Do not react to interference

Requirements

Page 5: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Related Work

Page 6: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Existing Algorithms

• RRAA, Wong et. al., 2006.• SampleRate, Bicket, 2005.

SNR-basedFrame-based

Estimate frame loss rate at each bit rate

Data

ACK

Data

Lookup table SNR best rate

SNR using preamble

• RBAR, Holland et. al., 2001.

• CHARM, Judd et. al., 2008.

Page 7: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Problems With Existing Algo-rithms

ChannelQuality

SNR-based

Frame-based X

“SNR bit rate” table specific to environment

Reacts to interferenceToo slow

Indoor

Outdoor

Which table to use when?

Page 8: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Design

Page 9: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

SoftRate: Key InsightChannelQuality

Per-bitConfidences

Estimate BER Detect Interference

Interference-free BER

SoftPHYHints

SoftRate

Page 10: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

SoftRate: Contributions

• Adapts to channel accurately and quickly

• Robust to collision losses

• Feedback: interference-free BER from SoftPHY

hints

• 2X gain over frame-based and SNR-based

Page 11: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Computing SoftPHY Hints

SoftPHYHints

Encoder Modulator

Bits Coded bits Symbols

TX

Demodulator Decoder

Symbols Coded Bits Bits

RX Soft OutputDecoder

Error vectors(rcvd symbol – closest valid symbol)

Page 12: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

BER from SoftPHY Hints

logPr(correctly decoded)

Pr(incorrectly decoded)

1-pplog=s

p1

1 + es

Soft Output Viterbi(or) BCJR decoder

decoded bits

=

SoftPHY hint of a bit

Probability of bit error

BER = Average p over all bits in the packet

Log Likelihood Ratio

For linear block or convolutional code

Page 13: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

0

5

10

15

20

25

0 500 1000 1500 2000 2500 3000 3500 4000

Bit position

So

ftP

HY

Hin

t

Computing Interference-free BER

Compute Interference-free BER

Interfer-ence

Page 14: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

SoftPHY Hints With Weak Signal

0

5

10

15

20

25

30

35

0 100 200 300 400 500 600 700 800

Bit position

So

ftP

HY

Hin

t

Page 15: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

The SoftRate ProtocolData

BERInterference Detection

Interference-free BER

SoftPHY HintsPick rate with max throughput

Receiver

Sender

Page 16: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Rate Selection at the Sender

10-4 10-310-510-610-7

BER Throughput

18 Mbps

12 Mbps

24 Mbps

Adjacent rates have an order of magnitude difference in BER

Page 17: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

When is the current rate opti-mal?

10-4 10-310-510-610-7

BER Throughput

18 Mbps

12 Mbps

24 MbpsOptimality range for 18 Mbps

Page 18: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

When to lower the rate?

10-4 10-310-510-610-7

BER Throughput

18 Mbps

12 Mbps

24 Mbps

Page 19: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

When to increase the rate?

10-4 10-310-510-610-7

BER Throughput

18 Mbps

12 Mbps

24 Mbps

Page 20: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

The SoftRate ProtocolData

Interference Detection

Interference-free BER

SoftPHY Hints

Receiver

SenderPrecompute optimality ranges If BER below optimality range,

increase rate. If above range, decrease rate. Otherwise, continue at current rate.

BER

Page 21: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Implementation

Page 22: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Evaluation Method

Rate Adaptation (SoftRate, SNR-based, Frame-based)

TCP

Experiments

SoftPHY Traces

ns-3 simulations

Channel Simulator

PHY: GNU Radio + USRP

Page 23: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Evaluation Questions

SoftPHY

• Can SoftPHY hints estimate channel BER?

• Can SoftPHY hints identify interference?

SoftRate

• Gains of SoftRate in mobile channels?

• SoftRate robust to interference?

Page 24: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

SoftPHY Evaluation

Page 25: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

SoftPHY Hints Predict BER

Page 26: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

SNR vs. BER: Varying Mobil-ity

Page 27: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Interference detection accu-racy: various bit rate

Page 28: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Softrate Evaluation

Page 29: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

SoftRate Evaluation in Mobile Channels

• Compare with– StaticBest: omniscient—best for each

pkt– SNR-based: RBAR and CHARM– Frame-based: RRAA and SampleRate

Traces

TCP

Clients

AP

WiredLAN

Page 30: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Is SoftRate close to optimal? (Walking Speed)

0

2

4

6

8

10

12

1 2 3 4 5

Number of clients

Ag

gre

gat

e T

hro

ug

hp

ut

StaticBest

SoftRate

Within 10% of the optimal

Page 31: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

SoftRate vs. Frame-based: Walking speed

0

2

4

6

8

10

12

1 2 3 4 5

Number of clients

Ag

gre

gat

e T

hro

ug

hp

ut

SoftRate

RRAA

SampleRate

Up to 2X over best frame-based algorithm

Page 32: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

SoftRate vs. SNR-based: Varying Mobility

Page 33: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Rate selection accuracy

Page 34: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Evaluation Answers

SoftPHY

• Can SoftPHY hints estimate channel BER?

• Can SoftPHY hints identify interference?

SoftRate

• Gains of SoftRate in mobile channels?

• SoftRate robust to interference?

~80% of the time

Almost always

YES

2X - 4X

Page 35: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

Conclusion

Page 36: Sunghwa Son 2011.09.28. Introduction Time-varying wireless channel  Large-scale attenuation Due to changing distance  Small-scale fading Due to multipath

SoftRate: Summary

• Accurate, responsive, robust to collision losses

• Feedback: interference-free BER from SoftPHY

hints

• 2X over frame-based, 4X over untrained SNR-

based

Looking ahead

• BER computation from SoftPHY hints useful for

other cross-layer protocols