36
Cross-Layer Wireless Bit Rate Adaptation Sunghwa Son 2011.09.28

Cross-Layer Wireless Bit Rate Adaptation

Embed Size (px)

DESCRIPTION

Cross-Layer Wireless Bit Rate Adaptation. Sunghwa Son 2011.09.28. Introduction. Time-varying wireless channel. Large-scale attenuation Due to changing distance Small-scale fading Due to multipath Interference Unpredictable. 10 s. 250 ms. Bit errors, frame losses. - PowerPoint PPT Presentation

Citation preview

Page 1: Cross-Layer Wireless  Bit Rate Adaptation

Cross-Layer Wireless Bit Rate Adaptation

Sunghwa Son2011.09.28

Page 2: Cross-Layer Wireless  Bit Rate Adaptation

Introduction

Page 3: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

Related Work

Page 6: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

Design

Page 9: Cross-Layer Wireless  Bit Rate Adaptation

SoftRate: Key InsightChannelQuality

Per-bitConfidences

Estimate BER Detect Interference

Interference-free BER

SoftPHYHints

SoftRate

Page 10: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

The SoftRate ProtocolData

BERInterference Detection

Interference-free BER

SoftPHY HintsPick rate with max throughput

Receiver

Sender

Page 16: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

When to lower the rate?

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

BER Throughput

18 Mbps

12 Mbps

24 Mbps

Page 19: Cross-Layer Wireless  Bit Rate Adaptation

When to increase the rate?

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

BER Throughput

18 Mbps

12 Mbps

24 Mbps

Page 20: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

Implementation

Page 22: Cross-Layer Wireless  Bit Rate Adaptation

Evaluation Method

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

TCP

Experiments

SoftPHY Traces

ns-3 simulations

Channel Simulator

PHY: GNU Radio + USRP

Page 23: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

SoftPHY Evaluation

Page 25: Cross-Layer Wireless  Bit Rate Adaptation

SoftPHY Hints Predict BER

Page 26: Cross-Layer Wireless  Bit Rate Adaptation

SNR vs. BER: Varying Mobil-ity

Page 27: Cross-Layer Wireless  Bit Rate Adaptation

Interference detection accu-racy: various bit rate

Page 28: Cross-Layer Wireless  Bit Rate Adaptation

Softrate Evaluation

Page 29: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

SoftRate vs. SNR-based: Varying Mobility

Page 33: Cross-Layer Wireless  Bit Rate Adaptation

Rate selection accuracy

Page 34: Cross-Layer Wireless  Bit Rate Adaptation

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: Cross-Layer Wireless  Bit Rate Adaptation

Conclusion

Page 36: Cross-Layer Wireless  Bit Rate Adaptation

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