SlideShare a Scribd company logo
1 of 37
shared wire or medium




Ms. Sheetal Agrawal                           Munesh meena
shared wire or medium




Ms. Sheetal Agrawal                           Munesh meena
Multiple Access Links and Protocols
Two types of “links”:
• point-to-point
   – PPP for dial-up access
   – point-to-point link between Ethernet switch and host
• broadcast (shared wire or medium)
   – old-fashioned Ethernet
   – 802.11 wireless LAN




                                                                   humans at a
                                                                  cocktail party
     shared wire (e.g.,       shared RF
                                                shared RF     (shared air, acoustical)
     cabled Ethernet)     (e.g., 802.11 WiFi)
                                                (satellite)



                                                                             MUNESH MEENA
                                                                    MCA 3rd   Sem (MLSU)
Point-to-point networks

Point-to-point networks are those in which,when a message is sent from
one computer to another, it usually has to be sent via other computers in
the network.




                                                                         MUNESH MEENA
                                                                   MCA 3rd   Sem (MLSU)
Broadcast networks

Broadcast networks have a single communication channel that is shared by all the
machines on the network.




     Shared channel




                                                                        MUNESH MEENA
                                                                  MCA 3rd   Sem (MLSU)
Multiple Access protocols


• single shared broadcast channel
• two or more simultaneous transmissions by nodes:
  interference
   – collision if node receives two or more signals at the same time
multiple access protocol
• distributed algorithm that determines how nodes share
  channel, i.e., determine when node can transmit
• communication about channel sharing must use channel itself!
   – no out-of-band channel for coordination




                                                                     MUNESH MEENA
                                                               MCA 3rd   Sem (MLSU)
Need of protocols in Broadcast channel

Issues in multi-access channel :

• WHO is going to use the channel ?
• WHEN the channel is going to be used ?
• For HOW much time the channel is used ?




                                                  MUNESH MEENA
                                            MCA 3rd   Sem (MLSU)
Types of Multiple –access protocol




                                           MUNESH MEENA
                                     MCA 3rd   Sem (MLSU)
RANDOM ACCESS

•   Single channel shared by a large number of hosts
•   No coordination between hosts
•   Control is completely distributed
•   Examples: ALOHA, CSMA, CSMA/CD




                                                             MUNESH MEENA
                                                       MCA 3rd   Sem (MLSU)
ALOHA
 There are two versions of Aloha system which differ with respect to
 whether or not time is divided up into discrete slots into which all
frames must fit. :

            PURE ALOHA

           SLOTTED ALOHA




                                                                         MUNESH MEENA
                                                                   MCA 3rd   Sem (MLSU)
Pure Aloha




                    MUNESH MEENA
              MCA 3rd   Sem (MLSU)
If the first bit of a new frame overlaps with just the last bit of a frame
almost finished, both the frames will be totally destroyed. It does not
distinguish between a total loss or a near miss.


                                                                          MUNESH MEENA
                                                                    MCA 3rd   Sem (MLSU)
Slotted Aloha

• Divide time up into discrete intervals, each corresponding to one packet.

• The stations can only transmit data in one of the time slots only.

• The vulnerable period is now reduced in half. If the frames collide they will
  overlap completely instead of partially.




                                                                         MUNESH MEENA
                                                                   MCA 3rd   Sem (MLSU)
Vulnerable time for slotted ALOHA protocol




                                                   MUNESH MEENA
                                             MCA 3rd   Sem (MLSU)
MUNESH MEENA
MCA 3rd   Sem (MLSU)
CSMA (Carrier Sense Multiple Access)
CSMA: listen before transmit:

• If channel sensed idle: transmit entire frame
• If channel sensed busy, defer transmission

• human analogy: don’t interrupt others!




                                                        MUNESH MEENA
                                                  MCA 3rd   Sem (MLSU)
CSMA collisions
                                          spatial layout of nodes



collisions can still occur:
propagation delay means
two nodes may not hear
each other’s transmission


collision:
entire packet transmission
time wasted

note:
role of distance & propagation delay in
determining collision probability




                                                                          MUNESH MEENA
                                                                    MCA 3rd   Sem (MLSU)
Carrier sense multiple access with collision detection
•   Carrier Sense:- listen for traffic on medium and determines gap between frames.
•   Multiple Access:- Station can transmit any time when find network quite.
•   Collision Detection:- Occurs when two stations transmits at same time. It gets detected
    and trans. Holds for random time.




                                                                                 MUNESH MEENA
                                                                           MCA 3rd   Sem (MLSU)
CSMA/CD (Collision Detection)

 CSMA/CD: carrier sensing, deferral as in
    CSMA
     – collisions detected within short time
     – colliding transmissions aborted,
        reducing channel wastage
 • collision detection:
     – easy in wired LANs: measure signal
        strengths, compare transmitted,
        received signals
     – difficult in wireless LANs: received
        signal strength overwhelmed by local
        transmission strength
 • human analogy: the polite
    conversationalist




                                                     MUNESH MEENA
                                               MCA 3rd   Sem (MLSU)
Station is
     Station is ready to send
      ready to send

                                            New attempt
                                                                 Wait according to
                                                                  backoff strategy
                                                                 Station is ready to send
                                                                             (6)


             Sense
            channel
              (1)               Channel busy (3)


Channel free
    (2)



                                           Collision detected          Transmit
   Transmit data and sense                                            jam signal
                                                                Station is ready to send
      Station channelsend
              is ready to                                                   (5)
                  (4)



                                                                                            MUNESH MEENA
                                                                                   MCA 3rd   Sem (MLSU)
Carrier sense multiple access with collision avoidance(CSMA/CA)
 • Motivation
     – In a wireless network, the received signal has very little energy due
       to energy loss in transmission  a collision may add only 5~10%
       additional energy  not useful for effective collision detection
 • Features
     – Tries to avoids collision
     – Used in Wireless LAN
          Difficult to detect collisions
          Hidden node problem!
         (CTS/RTS used in 802.11)




                                                                          MUNESH MEENA
                                                                    MCA 3rd   Sem (MLSU)
• Timing in CSMA/CA




• Interframe Space (IFS)
    – When an idle channel is found, the station does not send immediately but
      waits for a period of time call IFS
    – The IFS time allows the front of the transmitted signal by the distant station
      to reach this station
    – The IFS variable can also be used to prioritize stations or frame types
         • e.g., DIFS(Distributed IFS) , SIFS((Short)

                                                                           MUNESH MEENA
                                                                     MCA 3rd   Sem (MLSU)
1-persistent




               MUNESH MEENA
      MCA 3rd   Sem (MLSU)
Controlled Access
• Approach
   – The stations consult one another to find which station has the right
     to send
• Controlled access methods
   – Reservation
       • Ex. DQDB, Cable modem, …
   – Polling
       • Select and Poll
       • Ex. HDLC (normal response mode)
   – Token passing
       • Ex. Token ring (FDDI), token bus, …



                                                                       MUNESH MEENA
                                                                 MCA 3rd   Sem (MLSU)
Reservation
 • Features
    – Time is divided into intervals
        • In each interval, a reservation frame precedes the data frames sent in
          that interval
    – N stations  N reservation minislots in the reservation frame
        • When a station needs to send a data frame  it makes a reservation
          in its own minislot




                                                                          MUNESH MEENA
                                                                    MCA 3rd   Sem (MLSU)
Polling
• Motivation and features
   – Communication for primary-secondary stations topology
       • Ex. NRM mode of HDLC
   – The primary station is always the initiator of a session
       • By polling (PS) and selecting (PS)
• Select and Poll




                                                                      MUNESH MEENA
                                                                MCA 3rd   Sem (MLSU)
Token Passing
• Features
   – A station is authorized to send data when it receives a special frame called
     a token
   – Stations are arranged around a ring (physically or logically)
       • A token circulates around the ring
   – If a station needs to send data, it waits for the token
   – The station captures the token and sends one or more frames as long as
     the allocated time has not expired
   – It releases the token to be used by the successor station




                                                                                MUNESH MEENA
                                                                          MCA 3rd   Sem (MLSU)
• Procedure




                    MUNESH MEENA
              MCA 3rd   Sem (MLSU)
Channelization
• Definition
    – A Multiple-access method in which the available BW of a link is
      shared in time, frequency, or through code, between different
      stations
• Features
    – FDMA, TDMA are based on FDM and TDM in the physical layer
    – CDMA is a data link multiple-access protocol




                                                                        MUNESH MEENA
                                                                 MCA 3rd   Sem (MLSU)
FDMA
•   Approach and features
     – A data link layer protocol that uses FDM at the physical layer
     – The available BW is shared by all stations
     – Each stations uses its allocated band to send its data
     – Ex. AMPS (1G cellular networks)




                                                                              MUNESH MEENA
                                                                        MCA 3rd   Sem (MLSU)
MUNESH MEENA
MCA 3rd   Sem (MLSU)
TDMA
•   Approach and features
     – A data link layer protocol that uses TDM at the physical layer
     – The stations share the capacity of the channel in time
     – Each station is allocated a time slot during which it can send data
     – Ex. GSM (2G cellular networks - Europe)




                                                                                   MUNESH MEENA
                                                                             MCA 3rd   Sem (MLSU)
MUNESH MEENA
MCA 3rd   Sem (MLSU)
Code Division Multiple Access (CDMA)
• used in several wireless broadcast channels (cellular, satellite,
  etc) standards
• unique “code” assigned to each user; i.e., code set partitioning
• all users share same frequency, but each user has own “chipping”
  sequence (i.e., code) to encode data
• encoded signal = (original data) X (chipping sequence)
• decoding: inner-product of encoded signal and chipping
  sequence
• allows multiple users to “coexist” and transmit simultaneously
  with minimal interference (if codes are “orthogonal”)




                                                                 MUNESH MEENA
                                                           MCA 3rd   Sem (MLSU)
CDMA Encode/Decode

                                                                                                              .
                                                                d0 = 1
                                                                                         Zi,m= di cm
            data         d1 = -1
                                                                                                                             1        1 1   1   1 1   1        1



sender      bits                                                                                                  -1 -1 -1       -1                       -1       -1 -1 -1


                                                                                                                         slot 1                        slot 0
                   1 1    1        1              1 1       1         1
                                                                                                                        channel                       channel
            code              -1       -1 -1 -1                  -1       -1 -1 -1                                       output                        output

                           slot 1                           slot 0


                                                                                                                    M
                                                                                                                                        .
                                                                                                             Di = S Zi,m cm
                                                                                                                   m=1



                                                                 1 1      1   1 1    1
                                                                                                                             M
           received                                    1                                      1
                                                                                                                                                                               d0 = 1
                                          -1 -1 -1          -1                           -1       -1 -1 -1
receiver   input                                                                                                                                d1 = -1


                                                                                                                                                 slot 1                        slot 0
                                          1 1     1         1                 1 1    1        1
                                                                                                                                                channel                       channel
                         code                          -1        -1 -1 -1                -1       -1 -1 -1                                       output                        output

                                                      slot 1                         slot 0




                                                                                                                                                                               MUNESH MEENA
                                                                                                                                                                    MCA 3rd     Sem (MLSU)
CDMA: two-sender interference




                                      MUNESH MEENA
                                MCA 3rd   Sem (MLSU)
Thanks!




                MUNESH MEENA
          MCA 3rd   Sem (MLSU)

More Related Content

What's hot

What's hot (20)

Multiple access protocol
Multiple access protocolMultiple access protocol
Multiple access protocol
 
Csma cd and csma-ca
Csma cd and csma-caCsma cd and csma-ca
Csma cd and csma-ca
 
HDLC
HDLCHDLC
HDLC
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
 
Ethernet Computer network
Ethernet Computer networkEthernet Computer network
Ethernet Computer network
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
Computer network switches & their structures
Computer network switches & their structuresComputer network switches & their structures
Computer network switches & their structures
 
ALOHA Protocol (in detail)
ALOHA Protocol (in detail)ALOHA Protocol (in detail)
ALOHA Protocol (in detail)
 
IEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesIEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and Services
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
Routing protocols for ad hoc wireless networks
Routing protocols for ad hoc wireless networks Routing protocols for ad hoc wireless networks
Routing protocols for ad hoc wireless networks
 
Framing in data link layer
Framing in data link layerFraming in data link layer
Framing in data link layer
 
Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issues
 
Congestion control
Congestion controlCongestion control
Congestion control
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer Networks
 
Data link layer
Data link layerData link layer
Data link layer
 
Error Detection and Correction
Error Detection and CorrectionError Detection and Correction
Error Detection and Correction
 
Error Detection And Correction
Error Detection And CorrectionError Detection And Correction
Error Detection And Correction
 
Transport layer protocols : TCP and UDP
Transport layer protocols  : TCP and UDPTransport layer protocols  : TCP and UDP
Transport layer protocols : TCP and UDP
 
Transport layer
Transport layer Transport layer
Transport layer
 

Viewers also liked (20)

Token ring
Token ringToken ring
Token ring
 
Token Ring : 802.5
Token Ring : 802.5Token Ring : 802.5
Token Ring : 802.5
 
Frequency Modulation In Data Transmission
Frequency Modulation In Data TransmissionFrequency Modulation In Data Transmission
Frequency Modulation In Data Transmission
 
Buffer Overflow Demo by Saurabh Sharma
Buffer Overflow Demo by Saurabh SharmaBuffer Overflow Demo by Saurabh Sharma
Buffer Overflow Demo by Saurabh Sharma
 
تاريخ اولى ثانوى 2014 جزء اول
تاريخ اولى ثانوى 2014  جزء اولتاريخ اولى ثانوى 2014  جزء اول
تاريخ اولى ثانوى 2014 جزء اول
 
Angle mod for stdnts 25 apr
Angle mod for stdnts  25 aprAngle mod for stdnts  25 apr
Angle mod for stdnts 25 apr
 
seminar report on multiple access control protocol submitted by munesh
seminar report on multiple access control protocol submitted by munesh seminar report on multiple access control protocol submitted by munesh
seminar report on multiple access control protocol submitted by munesh
 
Encoding and Decoding
Encoding and DecodingEncoding and Decoding
Encoding and Decoding
 
Medium Access Control
Medium Access ControlMedium Access Control
Medium Access Control
 
Check sum
Check sumCheck sum
Check sum
 
The Encoding
The EncodingThe Encoding
The Encoding
 
Chapter3
Chapter3Chapter3
Chapter3
 
Hdlc
HdlcHdlc
Hdlc
 
HDLC(high level data link control)
HDLC(high level data link control)HDLC(high level data link control)
HDLC(high level data link control)
 
The medium access sublayer
 The medium  access sublayer The medium  access sublayer
The medium access sublayer
 
Farming system
Farming systemFarming system
Farming system
 
Farming
FarmingFarming
Farming
 
Mobile network layer (mobile comm.)
Mobile network layer (mobile comm.)Mobile network layer (mobile comm.)
Mobile network layer (mobile comm.)
 
Chapter 03 cyclic codes
Chapter 03   cyclic codesChapter 03   cyclic codes
Chapter 03 cyclic codes
 
Satellites presentation
Satellites presentationSatellites presentation
Satellites presentation
 

Similar to Multiple access control protocol

WHAT IS MAC-1 presentation for information .pptx
WHAT IS MAC-1 presentation for information  .pptxWHAT IS MAC-1 presentation for information  .pptx
WHAT IS MAC-1 presentation for information .pptxSaqlainKhan39
 
Computer Network MAC Layer Notes as per RGPV syllabus
Computer Network MAC Layer Notes as per RGPV syllabusComputer Network MAC Layer Notes as per RGPV syllabus
Computer Network MAC Layer Notes as per RGPV syllabusNANDINI SHARMA
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Meenakshi Paul
 
UNIT-V Wireless Communication.pdf
UNIT-V Wireless Communication.pdfUNIT-V Wireless Communication.pdf
UNIT-V Wireless Communication.pdfvadasairaju143
 
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_03_Data Link Layer and its protocols.pptx
Chapter_03_Data Link Layer and its protocols.pptxChapter_03_Data Link Layer and its protocols.pptx
Chapter_03_Data Link Layer and its protocols.pptxmsohail37
 
Wireless medium Access Control-multiple terminals need to communicate at the ...
Wireless medium Access Control-multiple terminals need to communicate at the ...Wireless medium Access Control-multiple terminals need to communicate at the ...
Wireless medium Access Control-multiple terminals need to communicate at the ...Papitha7
 
CN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfCN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfJoshuaeeda1
 
Wierless networks ch3 (1)
Wierless networks ch3 (1)Wierless networks ch3 (1)
Wierless networks ch3 (1)bheemsain
 
Media Access Control
Media Access ControlMedia Access Control
Media Access ControlHusnainHadi
 
Wireless LAN in Data Communication & Networking
Wireless LAN in Data Communication & NetworkingWireless LAN in Data Communication & Networking
Wireless LAN in Data Communication & NetworkingSweta Kumari Barnwal
 
MULTIPLE ACCESS IN WIRELESS COMMUNICATION
MULTIPLE ACCESS IN WIRELESS COMMUNICATIONMULTIPLE ACCESS IN WIRELESS COMMUNICATION
MULTIPLE ACCESS IN WIRELESS COMMUNICATIONjuhi kumari
 
Jaimin chp-4 - media access sub-layer- 2011 batch
Jaimin   chp-4 - media access sub-layer- 2011 batchJaimin   chp-4 - media access sub-layer- 2011 batch
Jaimin chp-4 - media access sub-layer- 2011 batchJaimin Jani
 
9 multiple access
9 multiple access9 multiple access
9 multiple accessampas03
 
Computer Network presention Pravin Bhargav , Surykant Ratrey (1).pptx
Computer Network presention  Pravin Bhargav , Surykant Ratrey (1).pptxComputer Network presention  Pravin Bhargav , Surykant Ratrey (1).pptx
Computer Network presention Pravin Bhargav , Surykant Ratrey (1).pptxPravinbhargav
 

Similar to Multiple access control protocol (20)

tow
towtow
tow
 
WHAT IS MAC-1 presentation for information .pptx
WHAT IS MAC-1 presentation for information  .pptxWHAT IS MAC-1 presentation for information  .pptx
WHAT IS MAC-1 presentation for information .pptx
 
Computer Network MAC Layer Notes as per RGPV syllabus
Computer Network MAC Layer Notes as per RGPV syllabusComputer Network MAC Layer Notes as per RGPV syllabus
Computer Network MAC Layer Notes as per RGPV syllabus
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
 
CN.pptx
CN.pptxCN.pptx
CN.pptx
 
UNIT-V Wireless Communication.pdf
UNIT-V Wireless Communication.pdfUNIT-V Wireless Communication.pdf
UNIT-V Wireless Communication.pdf
 
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...
 
Chapter_03_Data Link Layer and its protocols.pptx
Chapter_03_Data Link Layer and its protocols.pptxChapter_03_Data Link Layer and its protocols.pptx
Chapter_03_Data Link Layer and its protocols.pptx
 
Wireless medium Access Control-multiple terminals need to communicate at the ...
Wireless medium Access Control-multiple terminals need to communicate at the ...Wireless medium Access Control-multiple terminals need to communicate at the ...
Wireless medium Access Control-multiple terminals need to communicate at the ...
 
CN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfCN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdf
 
Wierless networks ch3 (1)
Wierless networks ch3 (1)Wierless networks ch3 (1)
Wierless networks ch3 (1)
 
Unit 1 mac vsd
Unit 1 mac vsdUnit 1 mac vsd
Unit 1 mac vsd
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
Wireless LAN in Data Communication & Networking
Wireless LAN in Data Communication & NetworkingWireless LAN in Data Communication & Networking
Wireless LAN in Data Communication & Networking
 
MULTIPLE ACCESS IN WIRELESS COMMUNICATION
MULTIPLE ACCESS IN WIRELESS COMMUNICATIONMULTIPLE ACCESS IN WIRELESS COMMUNICATION
MULTIPLE ACCESS IN WIRELESS COMMUNICATION
 
Jaimin chp-4 - media access sub-layer- 2011 batch
Jaimin   chp-4 - media access sub-layer- 2011 batchJaimin   chp-4 - media access sub-layer- 2011 batch
Jaimin chp-4 - media access sub-layer- 2011 batch
 
9 multiple access
9 multiple access9 multiple access
9 multiple access
 
Mac sub layer
Mac sub layerMac sub layer
Mac sub layer
 
Computer Network presention Pravin Bhargav , Surykant Ratrey (1).pptx
Computer Network presention  Pravin Bhargav , Surykant Ratrey (1).pptxComputer Network presention  Pravin Bhargav , Surykant Ratrey (1).pptx
Computer Network presention Pravin Bhargav , Surykant Ratrey (1).pptx
 
MAC
MACMAC
MAC
 

Multiple access control protocol

  • 1. shared wire or medium Ms. Sheetal Agrawal Munesh meena
  • 2. shared wire or medium Ms. Sheetal Agrawal Munesh meena
  • 3. Multiple Access Links and Protocols Two types of “links”: • point-to-point – PPP for dial-up access – point-to-point link between Ethernet switch and host • broadcast (shared wire or medium) – old-fashioned Ethernet – 802.11 wireless LAN humans at a cocktail party shared wire (e.g., shared RF shared RF (shared air, acoustical) cabled Ethernet) (e.g., 802.11 WiFi) (satellite) MUNESH MEENA MCA 3rd Sem (MLSU)
  • 4. Point-to-point networks Point-to-point networks are those in which,when a message is sent from one computer to another, it usually has to be sent via other computers in the network. MUNESH MEENA MCA 3rd Sem (MLSU)
  • 5. Broadcast networks Broadcast networks have a single communication channel that is shared by all the machines on the network. Shared channel MUNESH MEENA MCA 3rd Sem (MLSU)
  • 6. Multiple Access protocols • single shared broadcast channel • two or more simultaneous transmissions by nodes: interference – collision if node receives two or more signals at the same time multiple access protocol • distributed algorithm that determines how nodes share channel, i.e., determine when node can transmit • communication about channel sharing must use channel itself! – no out-of-band channel for coordination MUNESH MEENA MCA 3rd Sem (MLSU)
  • 7. Need of protocols in Broadcast channel Issues in multi-access channel : • WHO is going to use the channel ? • WHEN the channel is going to be used ? • For HOW much time the channel is used ? MUNESH MEENA MCA 3rd Sem (MLSU)
  • 8. Types of Multiple –access protocol MUNESH MEENA MCA 3rd Sem (MLSU)
  • 9. RANDOM ACCESS • Single channel shared by a large number of hosts • No coordination between hosts • Control is completely distributed • Examples: ALOHA, CSMA, CSMA/CD MUNESH MEENA MCA 3rd Sem (MLSU)
  • 10. ALOHA There are two versions of Aloha system which differ with respect to whether or not time is divided up into discrete slots into which all frames must fit. : PURE ALOHA SLOTTED ALOHA MUNESH MEENA MCA 3rd Sem (MLSU)
  • 11. Pure Aloha MUNESH MEENA MCA 3rd Sem (MLSU)
  • 12. If the first bit of a new frame overlaps with just the last bit of a frame almost finished, both the frames will be totally destroyed. It does not distinguish between a total loss or a near miss. MUNESH MEENA MCA 3rd Sem (MLSU)
  • 13. Slotted Aloha • Divide time up into discrete intervals, each corresponding to one packet. • The stations can only transmit data in one of the time slots only. • The vulnerable period is now reduced in half. If the frames collide they will overlap completely instead of partially. MUNESH MEENA MCA 3rd Sem (MLSU)
  • 14. Vulnerable time for slotted ALOHA protocol MUNESH MEENA MCA 3rd Sem (MLSU)
  • 15. MUNESH MEENA MCA 3rd Sem (MLSU)
  • 16. CSMA (Carrier Sense Multiple Access) CSMA: listen before transmit: • If channel sensed idle: transmit entire frame • If channel sensed busy, defer transmission • human analogy: don’t interrupt others! MUNESH MEENA MCA 3rd Sem (MLSU)
  • 17. CSMA collisions spatial layout of nodes collisions can still occur: propagation delay means two nodes may not hear each other’s transmission collision: entire packet transmission time wasted note: role of distance & propagation delay in determining collision probability MUNESH MEENA MCA 3rd Sem (MLSU)
  • 18. Carrier sense multiple access with collision detection • Carrier Sense:- listen for traffic on medium and determines gap between frames. • Multiple Access:- Station can transmit any time when find network quite. • Collision Detection:- Occurs when two stations transmits at same time. It gets detected and trans. Holds for random time. MUNESH MEENA MCA 3rd Sem (MLSU)
  • 19. CSMA/CD (Collision Detection) CSMA/CD: carrier sensing, deferral as in CSMA – collisions detected within short time – colliding transmissions aborted, reducing channel wastage • collision detection: – easy in wired LANs: measure signal strengths, compare transmitted, received signals – difficult in wireless LANs: received signal strength overwhelmed by local transmission strength • human analogy: the polite conversationalist MUNESH MEENA MCA 3rd Sem (MLSU)
  • 20. Station is Station is ready to send ready to send New attempt Wait according to backoff strategy Station is ready to send (6) Sense channel (1) Channel busy (3) Channel free (2) Collision detected Transmit Transmit data and sense jam signal Station is ready to send Station channelsend is ready to (5) (4) MUNESH MEENA MCA 3rd Sem (MLSU)
  • 21. Carrier sense multiple access with collision avoidance(CSMA/CA) • Motivation – In a wireless network, the received signal has very little energy due to energy loss in transmission  a collision may add only 5~10% additional energy  not useful for effective collision detection • Features – Tries to avoids collision – Used in Wireless LAN  Difficult to detect collisions  Hidden node problem! (CTS/RTS used in 802.11) MUNESH MEENA MCA 3rd Sem (MLSU)
  • 22. • Timing in CSMA/CA • Interframe Space (IFS) – When an idle channel is found, the station does not send immediately but waits for a period of time call IFS – The IFS time allows the front of the transmitted signal by the distant station to reach this station – The IFS variable can also be used to prioritize stations or frame types • e.g., DIFS(Distributed IFS) , SIFS((Short) MUNESH MEENA MCA 3rd Sem (MLSU)
  • 23. 1-persistent MUNESH MEENA MCA 3rd Sem (MLSU)
  • 24. Controlled Access • Approach – The stations consult one another to find which station has the right to send • Controlled access methods – Reservation • Ex. DQDB, Cable modem, … – Polling • Select and Poll • Ex. HDLC (normal response mode) – Token passing • Ex. Token ring (FDDI), token bus, … MUNESH MEENA MCA 3rd Sem (MLSU)
  • 25. Reservation • Features – Time is divided into intervals • In each interval, a reservation frame precedes the data frames sent in that interval – N stations  N reservation minislots in the reservation frame • When a station needs to send a data frame  it makes a reservation in its own minislot MUNESH MEENA MCA 3rd Sem (MLSU)
  • 26. Polling • Motivation and features – Communication for primary-secondary stations topology • Ex. NRM mode of HDLC – The primary station is always the initiator of a session • By polling (PS) and selecting (PS) • Select and Poll MUNESH MEENA MCA 3rd Sem (MLSU)
  • 27. Token Passing • Features – A station is authorized to send data when it receives a special frame called a token – Stations are arranged around a ring (physically or logically) • A token circulates around the ring – If a station needs to send data, it waits for the token – The station captures the token and sends one or more frames as long as the allocated time has not expired – It releases the token to be used by the successor station MUNESH MEENA MCA 3rd Sem (MLSU)
  • 28. • Procedure MUNESH MEENA MCA 3rd Sem (MLSU)
  • 29. Channelization • Definition – A Multiple-access method in which the available BW of a link is shared in time, frequency, or through code, between different stations • Features – FDMA, TDMA are based on FDM and TDM in the physical layer – CDMA is a data link multiple-access protocol MUNESH MEENA MCA 3rd Sem (MLSU)
  • 30. FDMA • Approach and features – A data link layer protocol that uses FDM at the physical layer – The available BW is shared by all stations – Each stations uses its allocated band to send its data – Ex. AMPS (1G cellular networks) MUNESH MEENA MCA 3rd Sem (MLSU)
  • 31. MUNESH MEENA MCA 3rd Sem (MLSU)
  • 32. TDMA • Approach and features – A data link layer protocol that uses TDM at the physical layer – The stations share the capacity of the channel in time – Each station is allocated a time slot during which it can send data – Ex. GSM (2G cellular networks - Europe) MUNESH MEENA MCA 3rd Sem (MLSU)
  • 33. MUNESH MEENA MCA 3rd Sem (MLSU)
  • 34. Code Division Multiple Access (CDMA) • used in several wireless broadcast channels (cellular, satellite, etc) standards • unique “code” assigned to each user; i.e., code set partitioning • all users share same frequency, but each user has own “chipping” sequence (i.e., code) to encode data • encoded signal = (original data) X (chipping sequence) • decoding: inner-product of encoded signal and chipping sequence • allows multiple users to “coexist” and transmit simultaneously with minimal interference (if codes are “orthogonal”) MUNESH MEENA MCA 3rd Sem (MLSU)
  • 35. CDMA Encode/Decode . d0 = 1 Zi,m= di cm data d1 = -1 1 1 1 1 1 1 1 1 sender bits -1 -1 -1 -1 -1 -1 -1 -1 slot 1 slot 0 1 1 1 1 1 1 1 1 channel channel code -1 -1 -1 -1 -1 -1 -1 -1 output output slot 1 slot 0 M . Di = S Zi,m cm m=1 1 1 1 1 1 1 M received 1 1 d0 = 1 -1 -1 -1 -1 -1 -1 -1 -1 receiver input d1 = -1 slot 1 slot 0 1 1 1 1 1 1 1 1 channel channel code -1 -1 -1 -1 -1 -1 -1 -1 output output slot 1 slot 0 MUNESH MEENA MCA 3rd Sem (MLSU)
  • 36. CDMA: two-sender interference MUNESH MEENA MCA 3rd Sem (MLSU)
  • 37. Thanks! MUNESH MEENA MCA 3rd Sem (MLSU)