SlideShare une entreprise Scribd logo
1  sur  18
BTM509 Digital Data Communication Systems
KOCAELI UNIVERSITY
Graduate School of
Natural and Applied Sciences
Prepared By: Mohammed ABUIBAID
Email: m.a.abuibaid@gmail.com
Submitted to: Dr. Halil YİĞİT
Electronic and Communication Engineering
Carrier Sense Multiple Access
AcademicYear
2015/2016
Presentation Outline
1. Introduction to CSMA
2. CSMA access modes
3. CSMA Protocol Modifications
4. MATLAB code of CSMA/CD
Introduction video
CSMA Access Modes
- 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 Collision Detection
CSMA Procedure Collision Detected Procedure
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
 Designed 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.
 When the transmission medium is free, VC is reset.
 Calculating VC runs faster than RC when channel is free
 VC is not initiated when the transmission medium is busy.
MATLAB Code
Mohammed Abuibaid
Live & Breathe Wireless

Contenu connexe

Tendances

Tendances (20)

Multiple access control protocol
Multiple access control protocol Multiple access control protocol
Multiple access control protocol
 
Mac layer
Mac  layerMac  layer
Mac layer
 
aloha
alohaaloha
aloha
 
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts – ...
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts –  ...WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts –  ...
WSN NETWORK -MAC PROTOCOLS - Low Duty Cycle Protocols And Wakeup Concepts – ...
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
WLAN
WLANWLAN
WLAN
 
Mac protocols
Mac protocolsMac protocols
Mac protocols
 
FDMA-TDMA-CDMA
FDMA-TDMA-CDMAFDMA-TDMA-CDMA
FDMA-TDMA-CDMA
 
Mac protocols of adhoc network
Mac protocols of adhoc networkMac protocols of adhoc network
Mac protocols of adhoc network
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
ISSUES IN AD HOC WIRELESS NETWORKS
ISSUES IN  AD HOC WIRELESS  NETWORKS ISSUES IN  AD HOC WIRELESS  NETWORKS
ISSUES IN AD HOC WIRELESS NETWORKS
 
The medium access sublayer
 The medium  access sublayer The medium  access sublayer
The medium access sublayer
 
wireless network IEEE 802.11
 wireless network IEEE 802.11 wireless network IEEE 802.11
wireless network IEEE 802.11
 
IEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesIEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and Services
 
Carrier-sense multiple access with collision avoidance CSMA/CA
Carrier-sense multiple access with collision avoidance CSMA/CACarrier-sense multiple access with collision avoidance CSMA/CA
Carrier-sense multiple access with collision avoidance CSMA/CA
 
Classification of routing protocols
Classification of routing protocolsClassification of routing protocols
Classification of routing protocols
 
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network Layer
 
Mobile computing (Wireless) Medium Access Control (MAC)
Mobile computing (Wireless) Medium Access Control (MAC)Mobile computing (Wireless) Medium Access Control (MAC)
Mobile computing (Wireless) Medium Access Control (MAC)
 
Distributed File Systems
Distributed File Systems Distributed File Systems
Distributed File Systems
 

Similaire à Carrier Sense Multiple Access (CSMA)

csma (BWU-DCS-20-013).pptx
csma (BWU-DCS-20-013).pptxcsma (BWU-DCS-20-013).pptx
csma (BWU-DCS-20-013).pptx
SandipPradhan23
 
Class work 7,computer_network_317
Class work 7,computer_network_317Class work 7,computer_network_317
Class work 7,computer_network_317
Khondoker Sadia
 
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA Space Division Multi Access,Frequ...
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA  Space Division Multi Access,Frequ...Mobile computing unit2,SDMA,FDMA,CDMA,TDMA  Space Division Multi Access,Frequ...
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA Space Division Multi Access,Frequ...
Pallepati Vasavi
 
Chapter 2 -_lan_network_design - Network Design
Chapter 2 -_lan_network_design - Network DesignChapter 2 -_lan_network_design - Network Design
Chapter 2 -_lan_network_design - Network Design
nakomuri
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-ns
Mayur Garg
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-ns
Mayur Garg
 

Similaire à Carrier Sense Multiple Access (CSMA) (20)

Carrier-sense multiple access with collision detection (CSMA/CD)
Carrier-sense multiple access with collision detection (CSMA/CD)Carrier-sense multiple access with collision detection (CSMA/CD)
Carrier-sense multiple access with collision detection (CSMA/CD)
 
10 high speedla-ns
10 high speedla-ns10 high speedla-ns
10 high speedla-ns
 
csma (BWU-DCS-20-013).pptx
csma (BWU-DCS-20-013).pptxcsma (BWU-DCS-20-013).pptx
csma (BWU-DCS-20-013).pptx
 
Unit 1 mac vsd
Unit 1 mac vsdUnit 1 mac vsd
Unit 1 mac vsd
 
Mac
MacMac
Mac
 
Class work 7,computer_network_317
Class work 7,computer_network_317Class work 7,computer_network_317
Class work 7,computer_network_317
 
MEDIUM ACCESS CONTROL Sublayer IN CN.ppt
MEDIUM ACCESS CONTROL Sublayer IN CN.pptMEDIUM ACCESS CONTROL Sublayer IN CN.ppt
MEDIUM ACCESS CONTROL Sublayer IN CN.ppt
 
3-MACSublayer.ppt
3-MACSublayer.ppt3-MACSublayer.ppt
3-MACSublayer.ppt
 
MultipleAccess.ppt
MultipleAccess.pptMultipleAccess.ppt
MultipleAccess.ppt
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
 
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA Space Division Multi Access,Frequ...
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA  Space Division Multi Access,Frequ...Mobile computing unit2,SDMA,FDMA,CDMA,TDMA  Space Division Multi Access,Frequ...
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA Space Division Multi Access,Frequ...
 
M.A.C (Medium Access Control)
M.A.C (Medium Access Control)M.A.C (Medium Access Control)
M.A.C (Medium Access Control)
 
Technical seminar
Technical seminarTechnical seminar
Technical seminar
 
Mac sub layer
Mac sub layerMac sub layer
Mac sub layer
 
Chapter 2 -_lan_network_design - Network Design
Chapter 2 -_lan_network_design - Network DesignChapter 2 -_lan_network_design - Network Design
Chapter 2 -_lan_network_design - Network Design
 
Form.pptx
Form.pptxForm.pptx
Form.pptx
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Unit_3_WSN.pptx
Unit_3_WSN.pptxUnit_3_WSN.pptx
Unit_3_WSN.pptx
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-ns
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-ns
 

Plus de Mohammed Abuibaid

Plus de Mohammed Abuibaid (9)

5G Network Slicing Using Mininet
5G Network Slicing Using Mininet5G Network Slicing Using Mininet
5G Network Slicing Using Mininet
 
Adaptive Beamforming Algorithms
Adaptive Beamforming Algorithms Adaptive Beamforming Algorithms
Adaptive Beamforming Algorithms
 
Mobile Positioning System
Mobile Positioning SystemMobile Positioning System
Mobile Positioning System
 
Noise cancellation
Noise cancellationNoise cancellation
Noise cancellation
 
How does 3D technology work ?
How does 3D technology work ?How does 3D technology work ?
How does 3D technology work ?
 
RF Antenna Planning
RF Antenna PlanningRF Antenna Planning
RF Antenna Planning
 
LTE Advance Pro
LTE Advance ProLTE Advance Pro
LTE Advance Pro
 
Convolutional Error Control Coding
Convolutional Error Control CodingConvolutional Error Control Coding
Convolutional Error Control Coding
 
OKUMURA, HATA and COST231 Propagation Models
OKUMURA, HATA and COST231 Propagation ModelsOKUMURA, HATA and COST231 Propagation Models
OKUMURA, HATA and COST231 Propagation Models
 

Dernier

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 

Dernier (20)

Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 

Carrier Sense Multiple Access (CSMA)

  • 1. BTM509 Digital Data Communication Systems KOCAELI UNIVERSITY Graduate School of Natural and Applied Sciences Prepared By: Mohammed ABUIBAID Email: m.a.abuibaid@gmail.com Submitted to: Dr. Halil YİĞİT Electronic and Communication Engineering Carrier Sense Multiple Access AcademicYear 2015/2016
  • 2. Presentation Outline 1. Introduction to CSMA 2. CSMA access modes 3. CSMA Protocol Modifications 4. MATLAB code of CSMA/CD
  • 3. Introduction video CSMA Access Modes - 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
  • 4. 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
  • 5. 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.
  • 6. 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.
  • 7. P-Persistent CSMA access mode  P-Persistent CSMA is used in CSMA/CA systems including Wi-Fi and other packet radio systems.
  • 8.  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
  • 9. 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.
  • 10. 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.
  • 11. CSMA/CD : CSMA with Collision Detection CSMA Procedure Collision Detected Procedure
  • 12. 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
  • 13. 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.
  • 14. CSMA with Collision Avoidance Collisions are avoided by three strategies:  Inter-frame space  The contention window  Acknowledgments
  • 15. 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)
  • 16. VTCSMA : Virtual time CSMA  Designed 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.  When the transmission medium is free, VC is reset.  Calculating VC runs faster than RC when channel is free  VC is not initiated when the transmission medium is busy.
  • 18. Mohammed Abuibaid Live & Breathe Wireless

Notes de l'éditeur

  1. 1-persistent CSMA is an aggressive transmission algorithm. When the transmitting node is ready to transmit, it senses the transmission medium for idle or busy. If idle, then it transmits immediately. If busy, then it senses the transmission medium continuously until it becomes idle, then transmits the message (a frame) unconditionally (i.e. with probability=1).
  2. Non persistent CSMA is a non aggressive transmission algorithm. When the transmitting node is ready to transmit data, it senses the transmission medium for idle or busy. If idle, then it transmits immediately. If busy, then it waits for a random period of time (during which it does not sense the transmission medium) before repeating the whole logic cycle (which started with sensing the transmission medium for idle or busy) again.
  3. This is an approach between 1-persistent and non-persistent CSMA access modes. When the transmitting node is ready to transmit data, it senses the transmission medium for idle or busy. If idle, then it transmits immediately. If busy, then it senses the transmission medium continuously until it becomes idle, then transmits a frame with probability p. If the node does not transmit (the probability of this event is 1-p), it waits until the next available time slot. If the transmission medium is still not busy, it transmits again with the same probability p. This probabilistic hold-off repeats until the frame is finally transmitted or when the medium is found to become busy again (i.e. some other node has already started transmitting). In the latter case the node repeats the whole logic cycle (which started with sensing the transmission medium for idle or busy) again.
  4. Procedure: It is complete when the frame is transmitted successfully or a collision is detected during transmission. Is my frame ready for transmission? If yes, it goes on to the next point. Is medium idle? If not, wait until it becomes ready Start transmitting and monitor for collision during transmission Did a collision occur? If so, go to collision detected procedure. Reset retransmission counters and end frame transmission. Collision detected procedure: It is complete when retransmission is initiated or the retransmission is aborted due to numerous collisions. Continue transmission (with a jam signal instead of frame header/data/CRC) until minimum packet time is reached to ensure that all receivers detect the collision Increment retransmission counter Was the maximum number of transmission attempts reached? If so, abort transmission. Calculate and wait random backoff period based on number of collisions. Re-enter main procedure at stage 1. The jam signal or jamming signal is a signal that carries a 32-bit binary pattern sent by a data station to inform the other stations of the collision and that they must not transmit.
  5. Request to Send/Clear to Send (RTS/CTS) may optionally be used at this point to mediate access to the shared medium. The Access Point only issues a Clear to Send to one node at a time. Transmission: if the medium was identified as being clear or the node received a CTS to explicitly indicate it can send, it sends the frame in its entirety. Unlike CSMA/CD, it is very challenging for a wireless node to listen at the same time as it transmits. Continuing the wireless example, the node awaits receipt of an acknowledgement packet from the Access Point to indicate the packet was received and check summed correctly. If such acknowledgement does not arrive after a timely manner, it assumes the packet collided with some other transmission, causing the node to enter a period of binary exponential backoff prior to attempting to re-transmit.
  6. GNET: an early proprietary LAN protocol. NCR WaveLAN - an early proprietary wireless network protocol. G.hn:  G.9960 which provides a way to create a high-speed (up to 1 Gigabit/s) local area network using existing home wiring (power lines, phone lines and coaxial cables).