Multiple Access Protocols Chapter 6 of Hiroshi Harada Book

Slides:



Advertisements
Similar presentations
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 16 – High Speed LANs.
Advertisements

Channel Allocation Protocols. Dynamic Channel Allocation Parameters Station Model. –N independent stations, each acting as a Poisson Process for the purpose.
EECC694 - Shaaban #1 lec #5 Spring Data Link In Broadcast Networks: The Media Access Sublayer Broadcast networks with multi-access (or random.
Ethernet – CSMA/CD Review
Fundamentals of Computer Networks ECE 478/578
Multiple access What if multiple machines are sharing the same link?
Communication Networks Lecture 5 NETW 501-L5: NETW 501-L5: Medium Access Control Dr.-Ing. Khaled Shawky Hassan Room: C3-222, ext: 1204,
1 K. Salah Module 4.2: Media Access Control The Media Access Control (MAC) sublayer –Random Access (CSMA), IEEE –Token Passing, IEEE Ch 13-
1 Pertemuan 13 Teknik Akses Jaringan - Random Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Wireless & Mobile Networking: Multiple Radio Access Azizol Bin Abdullah (A2.04) Rujukan: Text Book Chapter 6.
MAC Protocols Media Access Control (who gets the use the channel) zContention-based yALOHA and Slotted ALOHA. yCSMA. yCSMA/CD. TDM and FDM are inefficient.
CS 5253 Workshop 1 MAC Protocol and Traffic Model.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 17 Introduction to Computer Networks.
Copyright © 2003, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 1 Chapter 6 Multiple Radio Access.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 16 Introduction to Computer Networks.
EEC-484/584 Computer Networks Lecture 13 Wenbing Zhao
Studying Local Area Networks Via Media Access Control (MAC) SubLayer
CS 5253 Workshop 1 MAC Protocol and Traffic Model.
Networks: Local Area Networks1 LANs Studying Local Area Networks Via Media Access Control (MAC) SubLayer.
Computer Networks: Local Area Networks 1 LANs Studying Local Area Networks via the Media Access Control (MAC) SubLayer.
Semester EEE449 Computer Networks The Data Link Layer Part 2: Media Access Control En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex,
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Medium Access Control Sublayer Chapter.
Medium Access Control Sublayer
Chap 4 Multiaccess Communication (Part 1)
1 ECE453 – Introduction to Computer Networks Lecture 7 – Multiple Access Control (I)
9/11/2015 5:55 AM1 Ethernet and CSMA/CD CSE 6590 Fall 2010.
CIS 725 Media Access Layer. Medium Access Control Sublayer MAC sublayer resides between physical and data link layer Broadcast/multiacess channels N independent.
: Data Communication and Computer Networks
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Medium Access Control Sublayer.
Chapter 4: Medium Access Control (MAC) Sublayer
CHAPTER 4: THE MEDIUM ACCESS SUBLAYER 4.1: The Channel Allocation Problem 4.2: Multiple Access Protocols.
LECTURE9 NET301. DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies the absence of other.
جلسه دهم شبکه های کامپیوتری به نــــــــــــام خدا.
Medium Access Control NWEN302 Computer Network Design.
Layer 2 Technologies At layer 2 we create and transmit frames over communications channels Format of frames and layer 2 transmission protocols are dependent.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation Dynamic Channel Allocation  Delay for the divided.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Medium Access Control Sublayer.
جلسه یازدهم شبکه های کامپیوتری به نــــــــــــام خدا.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Unit-II Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Medium Access Control Sub Layer
7-1 Introduction to Queueing Theory l Components of a queueing system n probability density function (pdf) of interarrival times n pdf of service times.
Data Communications, Kwangwoon University12-1 Chapter 12. Multiple Access 1.Random Access 2.Controlled Access 3.Channelization.
Chapter 6 Multiple Radio Access
CS3502: Data and Computer Networks Local Area Networks - 1 introduction and early broadcast protocols.
Ch 12. Multiple Access. Multiple Access for Shared Link Dedicated link – Point-to-point connection is sufficient Shared link – Link is not dedicated –
Background of Ad hoc Wireless Networks Student Presentations Wireless Communication Technology and Research Ad hoc Routing and Mobile IP and Mobility Wireless.
CS3502: Data and Computer Networks Local Area Networks - 1 introduction and early broadcast protocols.
LECTURE9 NET301 11/5/2015Lect 9 NET DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies.
Medium Access Control in Wireless networks
實驗三 媒體存取協定模擬 教師: 助教: 1998/10/19 High Speed Network Lab. Department of Computer Information Science, NCTU.
Carrier Sense Multiple Access Improve ALOHA by using carrier sense –Stations listen to the carrier before transmitting –If channel is busy, the station.
1 Ethernet CSE 3213 Fall February Introduction Rapid changes in technology designs Broader use of LANs New schemes for high-speed LANs High-speed.
Medium Access Control Protocols, Local Area Networks, and Wireless Local Area Networks Lecture Note 10.
THE MEDIUM ACCESS CONTROL SUBLAYER 4.1 THE CHANNEL ALLOCATION PROBLEM 4.2 MULTIPLE ACCESS PROTOCOLS.
UNIT 3 MULTIPLE ACCESS Adapted from lecture slides by Behrouz A. Forouzan © The McGraw-Hill Companies, Inc. All rights reserved.
COMPUTER NETWORKS Data-link Layer (The Medium Access Control Sublayer) MAC Sublayer.
Multiple Access By, B. R. Chandavarkar, CSE Dept., NITK, Surathkal Ref: B. A. Forouzan, 5 th Edition.
CS 5253 Workshop 1 MAC Protocol and Traffic Model.
Sidevõrgud IRT 4060/ IRT 0020 vooruloeng 6 / 20. okt 2004
Multiple Access Mahesh Jangid Assistant Professor JVW University.
Chapter 12 Multiple Access
Net301 lecture9 11/5/2015 Lect 9 NET301.
Chapter 12 Multiple Access
Chapter 12 Multiple Access
The Medium Access Control Sublayer
Channel Allocation Problem/Multiple Access Protocols Group 3
Channel Allocation Problem/Multiple Access Protocols Group 3
Data Communication Networks
Chapter 6 Multiple Radio Access.
Satellite Packet Communications A UNIT -V Satellite Packet Communications.
Presentation transcript:

Multiple Access Protocols Chapter 6 of Hiroshi Harada Book Khurram Masood 200806100

Introduction Multiple access control channels Each node is attached to a transmitter/receiver which communicates via a channel shared by other nodes Transmission from any node is received by other nodes Shared Multiple Access Control Channel to BS Node 4 Node 3 Node 2 Node 1 … Node N

Introduction (Cont’d) Multiple access issues If more than one node transmit at a time on the control channel to BS, a collision occurs How to determine which node can transmit to BS? Multiple access protocols Solving multiple access issues Different types: Contention protocols resolve a collision after it occurs. These protocols execute a collision resolution protocol after each collision Collision-free protocols (e.g., a bit-map protocol and binary countdown) ensure that a collision can never occur.

Packet Communication System Configuration 4/21/2017

Classification of Multiple Access Protocols Contention-based Conflict-free Random access Collision resolution ALOHA, CSMA, BTMA, ISMA, etc TREE, WINDOW, etc FDMA, TDMA, CDMA, Token Bus, DQDB, etc BTMA: Busy Tone Multiple Access ISMA: Internet Streaming Media Alliance DQDB: Distributed Queue Dual Bus

Contention Protocols ALOHA Slotted ALOHA Developed in the 1970s for a packet radio network by Hawaii University. Whenever a station has a data, it transmits. Sender finds out whether transmission was successful or experienced a collision by listening to the broadcast from the destination station. Sender retransmits after some random time if there is a collision. Slotted ALOHA Improvement: Time is slotted and a packet can only be transmitted at the beginning of one slot. Thus, it can reduce the collision duration.

Contention Protocols (Cont’d) CSMA (Carrier Sense Multiple Access) Improvement: Start transmission only if no transmission is ongoing CSMA/CD (CSMA with Collision Detection) Improvement: Stop ongoing transmission if a collision is detected CSMA/CA (CSMA with Collision Avoidance) Improvement: Wait a random time and try again when carrier is quiet. If still quiet, then transmit CSMA/CA with ACK CSMA/CA with RTS/CTS

ALOHA 4/21/2017

ALOHA 4/21/2017

Collision mechanism in ALOHA Waiting a random time Node 1 Packet Node 2 Packet Retransmission Retransmission 1 2 3 3 2 Time Collision Node 3 Packet Collision mechanism in ALOHA

Collisions in (Pure) ALOHA

Throughput of ALOHA The probability that n packets arrive in two packets time is given by n ( ) ! n (2G) P e 2 G - = where G is traffic load. The probability P(0) that a packet is successfully received without collision is calculated by letting n=0 in the above equation. We get We can calculate throughput S with a traffic load G as follows: The Maximum throughput of ALOHA is

Unslotted ALOHA Unslotted ALOHA (a.k.a. Pure ALOHA) was the precursor to slotted ALOHA. In Pure ALOHA, each node transmits a new packet immediately upon receiving, rather than waiting for a slot boundary. If a packet is involved in a collision, it is retransmitted after a random delay.

Unslotted ALOHA (cont.) A frame (red frame) will be in a collision if and only if another transmission begins in the vulnerable period of the frame Vulnerable period has the length of 2 frame times

Unslotted ALOHA (cont.) Since arrivals are independent, Psucc=e-2G Since attempted transmissions occur at rate G(n), the throughput = Ge-2G The MAX throughput of a Pure ALOHA system = 1/(2e), achieved when G=0.5. If λ is very small and the mean retx time is very large, the system can be expected to run for long periods w/o major backlog buildup. The main adv. of pure ALOHA is that it can be used with variable-length packets.

Collision mechanism in slotted ALOHA Node 1 Packet Nodes 2 & 3 Packets Retransmission Retransmission 1 2&3 2 3 Time Collision Slot Collision mechanism in slotted ALOHA

Slotted ALOHA The basic idea: Each unbacklogged node simply transmit a newly arriving packet in the first slot after packet arrival. Slotted ALOHA risks occasional collisions but achieves very small delay if collisions are rare. Contrast to TDM systems, which avoids collisions at the expense of large delays.

Collisions in S-ALOHA

Slotted ALOHA (cont.) When a collision occurs, each node sending one of the colliding packets discovers the collision at the end of the slot and becomes backlogged. Such nodes wait for some random number of slots before retransmitting.

Slotted ALOHA (cont.) The MAX departure rate occurs at G=1 and is 1/e ≈ 0.368. If G<1, too many idle slots are generated. If G>1, too many collisions are generated.

Throughput of Slotted ALOHA The probability of no collision is given by The throughput S is The Maximum throughput of slotted ALOHA is

Throughput 0.368 S Slotted Aloha 0.184 Aloha G

Comparison of ALOHA and S-ALOHA

CSMA 4/21/2017

CSMA 4/21/2017

CSMA 4/21/2017

CSMA (Carrier Sense Multiple Access) Max throughput achievable by slotted ALOHA is 0.368. CSMA gives improved throughput compared to Aloha protocols. Listens to the channel before transmitting a packet (avoid avoidable collisions).

Collision Mechanism in CSMA Node 5 sense Node 1 Packet Node 2 Packet Delay Node 3 Packet 1 2 3 4 5 Time Delay Collision Node 4 sense

Kinds of CSMA Unslotted Nonpersistent CSMA Slotted Nonpersistent CSMA Unslotted persistent CSMA Persistent CSMA Slotted persistent CSMA 1-persistent CSMA p-persistent CSMA

Non persistent CSMA 4/21/2017

Slotted non persistent ISMA 4/21/2017

Computer Simulation Configuration 4/21/2017

Layout of access point and user terminals 4/21/2017

Simulation and results Pure ALOHA Slotted ALOHA Non persistent CSMA Non persistent ISMA Results Throughput Average delay time 4/21/2017

Pure ALOHA 4/21/2017

Pure ALOHA 4/21/2017

Slotted ALOHA 4/21/2017

Slotted ALOHA 4/21/2017

Non persistent CSMA 4/21/2017

Non persistent CSMA 4/21/2017

Non persistent ISMA 4/21/2017

Non persistent ISMA 4/21/2017