csmaca
DESCRIPTION
Carrier sense multiple access with collision avoidance (CSMA/CA) in 802.11 and 802.15.4TRANSCRIPT
![Page 1: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/1.jpg)
CSMA/CA 802.11 and 802.15.4
![Page 2: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/2.jpg)
Carrier Sense Multiple Access with Collision Avoidance
In wireless communication it is not possible to detect collisions during transmissions.
CSMA/CA vs. CSMA/CD In CSMA/CA, backoff before collision. In CSMA/CD, backoff after collision.If the channel is sensed "idle" then the node is
permitted for transmission else the node defers its transmission for a random period of time called backoff.
2
![Page 3: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/3.jpg)
IEEE 802.15.4
IEEE 802.15.4 standard defines the characteristics of the physical and MAC layers for LR WPANs
3
![Page 4: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/4.jpg)
IEEE 802.15.4 Main Characteristics
Low power consumptionCSMA/CA channel access
4
![Page 5: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/5.jpg)
802.15.4 Physical Layer Operating Frequency Bands
5
![Page 6: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/6.jpg)
IEEE 802.15.4 PHY Layer Packet Structure
6
An octet is a unit of digital information that consists of eight bits.
![Page 7: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/7.jpg)
802.15.4 Modulation Scheme
Typical devices (1mW) are expected to cover a 10 -20 m range.
7
![Page 8: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/8.jpg)
Component of IEEE 802.15.4 LR-WPAN
Coordinator : Coordinator controls and monitor the established network. PAN Coordinator : A coordinator that is the principle coordinator of PAN. Cluster : A cluster is a small section of a bigger network, which has its
own coordinator. Device/End Node : A device is either a reduced/full function device. Any
device that is not a co-ordinator is an end node Personal Operating Space(POS) : It is the operating range of a node in
all directions.
8
![Page 9: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/9.jpg)
IEEE 802.15.4 Network Devices
Full Function Device(FFD) : It is a device which supports all the 49 primitives (14 PHY+ 35 MAC) supported by the technology. It acts as a PAN coordinator, a Coordinator, or just as an end node (device).
Reduced Function Device(RFD) : It is a device with reduced functionality which can only function as an end device or node. It can only communicate with the coordinator.
9
![Page 10: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/10.jpg)
IEEE 802.15.4 Topologies
10
![Page 11: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/11.jpg)
IEEE 802.15.4 MAC Layer
• Features
Simple and Flexible protocolExtremely Low CostEase of ImplementationReliable Data TransferShort Range OperationVery Low Power Consumption
11
![Page 12: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/12.jpg)
IEEE 802.15.4 MAC Layer
12
![Page 13: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/13.jpg)
IEEE 802.15.4 MAC SuperFrame Structure
13
![Page 14: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/14.jpg)
IEEE 802.15.4 – MAC Transmission – UnSlotted CSMA
14
![Page 15: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/15.jpg)
IEEE 802.15.4 – MAC Transmission – Slotted CSMA
15
![Page 16: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/16.jpg)
Medium Access Control CSMA/CA 802.11
• CSMA/CA: Carrier Sensing Multiple Access with collision avoidance
• Carrier Sensing: Listen before talking.
![Page 17: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/17.jpg)
Channel Contention 802.11 (Time Domain)
Random Backoff = 11 Random Backoff = 22
DIFSTime
Time
Node 1 Node 2 Node 3
DATA
WAIT
DIFS
RB1=11 RB1=0
RB2=11RB2=22
SIFS
ACK
![Page 18: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/18.jpg)
Channel Contention 802.11 (Frequency Domain)
• 802.11 a/g/n PHY adopt OFDM
Souvik Sen, Romit Roy Choudhury, and Srihari Nelakuditi “No time to countdown: migrating backoff to the frequency domain” In Proceedings of the 17th annual international conference on Mobile computing and networking (MobiCom '11). ACM, New York, NY, USA,
![Page 19: Csmaca](https://reader033.vdocument.in/reader033/viewer/2022061212/5495e30cb479596f4d8b4e04/html5/thumbnails/19.jpg)
Channel Contention 802.11 (Frequency Domain) cont…
• Backoff within a Collision Domain
Souvik Sen, Romit Roy Choudhury, and Srihari Nelakuditi “No time to countdown: migrating backoff to the frequency domain” In Proceedings of the 17th annual international conference on Mobile computing and networking (MobiCom '11). ACM, New York, NY, USA,