+ All Categories
Home > Documents > Wireless Communication...

Wireless Communication...

Date post: 12-Apr-2018
Category:
Upload: buikhanh
View: 214 times
Download: 1 times
Share this document with a friend
26
Wireless Communication Systems @CS.NCTU Lecture 12: Soft Information Instructor: Kate Ching-Ju Lin (林靖茹) 1
Transcript
Page 1: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

Wireless Communication [email protected]

Lecture 12: Soft InformationInstructor: Kate Ching-Ju Lin (林靖茹)

1

Page 2: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

PPR: Partial Packet Recovery for Wireless Networks

ACM SIGOCMM, 2017Kyle Jamieson and Hari Balakrishnan

CSAIL, MIT

Page 3: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

What is Partial Packet Error?

Lots of packets lost due to collisions and noise in wireless networks

Non-colliding bits

Non-colliding bits

(P1)

(P2)

Time

Can’t receive non-colliding bits today!

Page 4: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

Bits in a packet don’t share fate

4

Many bits from corrupted packets are correct, but status quo receivers don’t know which!

(30 node testbed, CSMA on)

Page 5: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

Three Key Questions

(P2)Preamble

(P1)

Preamble

Checksum

Checksum

5

1. How does receiver know which bits are correct?2. How does receiver know P2 is there at all?3. How to design an efficient ARQ protocol?

Page 6: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

Can Receiver Identify Correct Bits?

• Use physical layer (PHY) hints⎻ Receiver PHY has the information!⎻ Pass this confidence information to higher layer

as a hint

• SoftPHY implementation is PHY-specific; interface is PHY-independent• Implemented for direct sequence spread

spectrum (DSSS) over MSK and other modulations

6

: SoftPHY

Page 7: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

7

Can We Leverage Soft Info?

High uncertainty

PHY conveys uncertainty in each bit it delivers up

Low uncertainty

(P2) Preamble(P1)

Preamble

Page 8: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

Direct Sequence Spread Spectrum

Bits to chips

4 bits

1 codeword (32 chips) 2 Mchips/s

250 Kbits/s

Data stream

MSK modulation

• Demodulate MSK signal

• Decide on closest codeword to received (Hamming distance)

• Many 32-bit chip sequences are notvalid codewords

• Codewords separated by at least 11 in Hamming distance

• 802.11 similar

Transmitter: Receiver:

Page 9: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

9

SoftPHY Hint for Spread Spectrum

à SoftPHY hint is 2

Receive: 11101101000111000011010110100010C1: 11101101100111000011010100100010

à SoftPHY hint is 9

Receive: 11001101000111010111011110110111C1: 11101101100111000011010100100010

Hamming distance between received chips and decided-upon codeword

Page 10: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

10

Three Key Questions

1. How does receiver know which bits are correct?

2. How does receiver know P2 is there at all?3. How to design an efficient ARQ protocol?

A: SoftPHY:

(P2) Preamble(P1)

Preamble

Page 11: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

11

lendstsrc

lendstsrc

Header TrailerTraining

Sequence

SFD

Preamble

Training Sequence

EFD

Postamble

cksum

Body

Postamble decoding

(P2)Preamble

(P1)

PostamblePreamble

lendstsrc

lendstsrc

Header TrailerTraining

Sequence

SFD

Preamble

Training Sequence

EFD

Postamble

cksum

Body

Page 12: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

12

• Codeword synchronization⎻ Translate stream of chips to codewords⎻ Search for postamble at all chip offsets

Receiver Design with Postamble

010101001010011101010001011101001010…

Offset 0:

Offset 3:

Chips:

Codeword 1 Codeword 2 Codeword 3

Codeword 1 Codeword 2 Codeword 3

Page 13: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

13

Three Key Questions

1. How does receiver know which bits are correct?2. How does receiver know P2 is there at all?

3. How to design an efficient ARQ protocol?

A: Postamble:

(P2)Preamble

(P1)

PostamblePreamble

Partial Packets

Page 14: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

14

• ARQ today: correctly-received bits get resent• PP-ARQ key idea: resend only incorrect bits

• Efficiently tell sender about what happened⎻ Feedback packet

ARQ with partial packets

1010001101010111101101010101

Hamming distance

Page 15: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

Labeling Bits “good” or “bad”• Threshold test: pick a threshold h

⎻ Label codewords with SoftPHY hint > h “bad”⎻ Label codewords with SoftPHY hint ≤ h “good”

15

10101011010100001001010101010101

“good” “bad”

h

Hamming distance

Page 16: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

16

PP-ARQ protocol

2. Codewords are in fact corrector incorrect• Two possibilities for mistakes

• Labeling a correct codeword “bad”• Labeling an incorrect codeword “good”

“Good” bits“Bad” bits

1. Assuming hints correct, which ranges to ask for?– Dynamic programming problem– Forward and feedback channels

Page 17: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

17

Implementation

Sender: telos tmote sky sensor node• Radio: CC2420 DSSS/MSK (Zigbee)• Modified to send postambles

Receiver: USRP software radio with 2.4 GHz RFX 2400 daughterboard

• Despreading, postamblesynchronization, demodulation

• SoftPHY implementation

[moteiv.com]

[ettus.com]

PP-ARQ: trace-driven simulation

Page 18: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

18

• Live wireless testbed experiments⎻ Senders transmit 101-byte

packets, varying traffic rate⎻ Evaluate raw PPR

throughput⎻ Evaluate SoftPHY and

postamble improvements

• Trace-driven experiments⎻ Evaluate end-to-end PP-ARQ performance⎻ Internet packet size distribution⎻ 802.11-size preambles

Experimental design25 senders6 receivers

Page 19: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

19

PP-ARQ performance comparison

• Packet CRC (no postamble)

• Fragmented CRC (no postamble)⎻ Tuned against traces for optimal fragment size

Preamble Checksum

ChecksumPreamble Checksum

Page 20: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

Throughput Gain: 2.3-2.8x

20

Page 21: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

PP-ARQ Retransmissions are Short

21

Page 22: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

25% Gain over Fragmented

22

Page 23: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

PP-ARQ Retransmissions are Short

23

Page 24: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

24

Low PP-ARQ Feedback Overhead

802.11 ACK size

Page 25: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

Related work• ARQ with memory [Sindhu, IEEE Trans. On Comm. ’77]

⎻ Incremental redundancy [Metzner, IEEE Trans. On Comm. ’79]

⎻ Code combining [Chase, IEEE Trans. On Comm. ’85]

• Combining retransmissions⎻ SPaC [Dubois-Ferrière, Estrin, Vetterli; SenSys ’05]

• Diversity combining⎻ Reliability exchanging [Avudainayagam et al., IEEE WCNC

’03]⎻ MRD [Miu, Balakrishnan, Koksal; MobiCom ’05]⎻ SOFT [Woo et al.; MobiCom ’07]

• Fragmented CRC⎻ Seda [Ganti et al.; SenSys ’06], 802.11 fragmentation

25

Page 26: Wireless Communication Systemspeople.cs.nctu.edu.tw/~katelin/courses/wcs16/slides/L12_SoftPHY.pdf · • Radio: CC2420 DSSS/MSK (Zigbee) • Modified to send postambles Receiver:

Conclusion• Mechanisms for recovering correct bits from

parts of packets⎻ SoftPHY interface (PHY-independent)⎻ Postamble decoding

• PP-ARQ improves throughput 2.3–2.8´ over the status quo• PPR Useful in other apps, e.g. opportunistic

forwarding

26


Recommended