16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. ·...

18
16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques Igor Kadota and Prof. Eytan Modiano Laboratory for Information and Decision Systems Massachusetts Institute of Technology

Transcript of 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. ·...

Page 1: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

16.36: Communication Systems and Networks

USRP Laboratory 5: Multiple Access Techniques

Igor Kadota and Prof. Eytan ModianoLaboratory for Information and Decision Systems

Massachusetts Institute of Technology

Page 2: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Setup

2

Six Transmitters(for students)

Single Receiver(for the TA)

Page 3: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Setup

3

Six Transmitters(for students)

Single Receiver(for the TA)

Page 4: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Setup

4

Six Transmitters(for students)

Single Receiver(for the TA)

Page 5: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

5

Receiver Configuration (TA)

Page 6: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Receiver Configuration (TA)

6

Page 7: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Transmitter Configuration (Student)

7

Please do not increase the gain

Page 8: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Transmitter Configuration (Student)

8

Page 9: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Warm up for Competition

• TA will setup the radio to receive a total of 30 packets

• In turns, each team should transmit 5 consecutive packets. Starting from Station 1.

• TA should successfully receive 5 packets from each station.

• If packets are received as expected, let’s start the competition:

9

May the odds be ever in your favor

Page 10: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Which team can deliver most packets?

• Game with four rounds. • The team that can deliver most packets wins.• Rules:

• In each round, the TA will receive 80 packets in total• Teams can modify “Number of Transmissions” at will• Teams can Run the transmitter program as they see fit

• Think about your strategy. Wait for the TA to start the first round…

10

Page 11: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Which team can deliver most packets?

• Game with four rounds. • The team that can deliver most packets wins.• Rules:

• In each round, the TA will receive 80 packets in total• Teams can modify “Number of Transmissions” at will• Teams can Run the transmitter program as they see fit

• If you could modify ANY PARAMETER in the transmitter. Which parameter would you change in order to win?

11

Page 12: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Which team can deliver most packets?

• Game with four rounds. • The team that can deliver most packets wins.• Rules:

• In each round, the TA will receive 80 packets in total• Teams can modify “Number of Transmissions” at will• Teams can Run the transmitter program as they see fit

• If you could collaborate with other teams? How would you improve the system? Is it possible to operate distributedly? Any protocols in mind?

12

Page 13: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Slotted ALOHA

• Implementing a simplified version of Slotted ALOHA

• The TA will define the time slots (~ 10 second) using a clock.

• During every slot, teams should roll their die:

• If the outcome is 6, the team transmits at the beginning of the next slot

• Otherwise, the team idles at the next time slot.

• Rules next…

13

Page 14: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Slotted ALOHA

• Rules:• Number of Transmissions = 20 packets• Teams can only transmit when the protocol allows• The TA will synchronize the network and define slots

• Single round of transmissions with a total of 80 packet receptions.

• Wait for the TA to start the first slot…

14

Page 15: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Slotted ALOHA

• Rules:• Number of Transmissions = 20 packets• Teams can only transmit when the protocol allows• The TA will synchronize the network and define slots

• Single round of transmissions with a total of 80 packet receptions.

• What is the main advantage of this technique? What is the disadvantage? What if we did not have slots and you could roll the die at will?

15

Page 16: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Slotted ALOHA

• Implementing a simplified version of Slotted ALOHA

• The TA will define the time slots (~ 10 second) using a clock.

• During every slot, teams should roll their die:

• If the outcome is 4, 5 or 6, the team transmits at the beginning of the next slot

• Otherwise, the team idles at the next time slot.

• Rules next…

16

Page 17: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Slotted ALOHA

• Rules:• Number of Transmissions = 20 packets• Teams can only transmit when the protocol allows• The TA will synchronize the network and define slots

• Single round of transmissions with a total of 80 packet receptions.

• Is this better than before? Worse? Why? Conclusion?• Obs.: this protocol led to the development of CSMA used today in WiFi.

17

Page 18: 16.36: Communication Systems and Networkskadota/PDFs/USRP_Laboratory_5.pdf · 2019. 5. 1. · 16.36: Communication Systems and Networks USRP Laboratory 5: Multiple Access Techniques

Example of contention-free protocols

• (Pooling) Point Coordination Function in Wi-Fi. • (Reservation) Satellite Communications

18