Carrier Sense Multiple Access (CSMA)

M_A_Abuibaid 9,557 views 18 slides Jul 01, 2016
Slide 1
Slide 1 of 18
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18

About This Presentation

Introduction to CSMA
CSMA access modes
CSMA Protocol Modifications
MATLAB code of CSMA/CD


Slide Content

BTM509 Digital Data Communication Systems KOCAELI UNIVERSITY Graduate School of Natural and Applied Sciences Prepared By: Mohammed ABUIBAID Email: [email protected] Submitted to: Dr. Halil YİĞİT E lectronic and C ommunication E ngineering Carrier Sense Multiple Access Academic Year 2015/2016

Presentation Outline Introduction to CSMA CSMA access modes CSMA Protocol Modifications MATLAB code of CSMA/CD

Introduction video CSMA Access M odes - 1-Persistent - Non-Persistent - P-Persistent - O-Persistent   CSMA Protocol Modifications - CSMA with collision detection - CSMA with collision avoidance - Virtual time CSMA CSMA/CD & CSMA/CA made simple – Youtube

CSMA access modes 1-Persistent : an aggressive transmission algorithm Non-Persistent : a non aggressive transmission algorithm P-Persistent : an approach between 1-persistent and non-persistent O-Persistent: Each node is assigned a transmission order by a supervisory node

1-Persistent CSMA access mode In case of a collision , the sender waits for a random period of time and attempts to transmit again unconditionally (i.e. with probability=1). 1-persistent CSMA is used in CSMA/CD systems including Ethernet .

Non-Persistent CSMA access mode This approach reduces collision , results in overall higher medium throughput but with a penalty of longer initial delay compared to 1–persistent .

P -Persistent CSMA access mode P-Persistent CSMA is used in CSMA/CA systems including Wi-Fi and other packet radio systems .

Each node is assigned a transmission order by a supervisory node. When the transmission medium goes idle, nodes wait for their time slot in accordance with their assigned transmission order. The node assigned to transmit first transmits immediately . The node assigned to transmit second waits one time slot (but by that time the first node has already started transmitting). Nodes monitor the medium for transmissions from other nodes and update their assigned order with each detected transmission (i.e. they move one position closer to the front of the queue). O-Persistent CSMA access mode

O-Persistent CSMA access mode O-Persistent CSMA is used by CobraNet , LonWorks and the controller area network . It is used for the automation of various functions within buildings such as lighting and HVAC, …etc . It is used in large audio installations such as convention centers , stadiums , airports , … etc.

CSMA Protocol Modifications: CSMA/CD: improves CSMA performance by terminating transmission as soon as a collision is detected. CSMA/CA: improves CSMA performance by reducing the incidence of collision . VTCSMA : improves CSMA performance by avoiding collision generated by nodes transmitting signals simultaneously.

CSMA/CD : CSMA with C ollision Detection CSMA Procedure Collision Detected P rocedure

CSMA/CD Applications CSMA/CD was used in now obsolete shared media Ethernet variants ( 10BASE5 , 10BASE2 ) and in the early versions of twisted-pair Ethernet which used repeater hubs . 10BASE2

CSMA/CD Applications Modern Ethernet networks, built with switches and full-duplex connections , no longer need to utilize CSMA/CD because each collision domain is now isolated. CSMA/CD is still supported for backwards compatibility and for half-duplex connections . 

CSMA with Collision Avoidance Collisions are avoided by three strategies: Inter-frame space The contention window Acknowledgments

CSMA/CA Applications GNET - Apple's LocalTalk 802.11 RTS/CTS IEEE 802.15.4 (Wireless PAN) NCR WaveLAN HomePNA Bus networks ITU-T G.hn standards (   G.9960 )

VTCSMA : Virtual time CSMA D esigned to avoid collision generated by nodes transmitting signals simultaneously . It used mostly in hard real-time systems (such as mission-critical applications) It uses two clocks at every node, a virtual clock VC and a real clock RC which tells "real time". When the transmission medium is sensed to be busy , the VC freezes . W hen the transmission medium is free , V C is reset . C alculating VC runs faster than RC when channel is free VC is not initiated when the transmission medium is busy .

MATLAB Code

Mohammed Abuibaid L ive & Breathe Wireless