Improved Optimal Slotted CSMA/CA Protocol

Similar documents
6.9 Summary. 11/20/2013 Wireless and Mobile Networks (SSL) 6-1. Characteristics of selected wireless link standards a, g point-to-point

CSE 461: Wireless Networks

Lecture 16: QoS and "

Multiple Access Links and Protocols

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

Wireless Communications

Computer Communication III

Data Communications. Data Link Layer Protocols Wireless LANs

Local Area Networks NETW 901

Unit 7 Media Access Control (MAC)

Analysis of Throughput and Energy Efficiency in the IEEE Wireless Local Area Networks using Constant backoff Window Algorithm

04/11/2011. Wireless LANs. CSE 3213 Fall November Overview

Introduction to Wireless Networking CS 490WN/ECE 401WN Winter Lecture 4: Wireless LANs and IEEE Part II

Chapter 4. The Medium Access Control Sublayer. Points and Questions to Consider. Multiple Access Protocols. The Channel Allocation Problem.

Intelligent Transportation Systems. Medium Access Control. Prof. Dr. Thomas Strang

Performance Analysis for Channel Utilization in Wireless LAN

Mohamed Khedr.

15-441: Computer Networking. Wireless Networking

ECE 4450:427/527 - Computer Networks Spring 2017

3.1. Introduction to WLAN IEEE

LECTURE PLAN. Script. Introduction about MAC Types o ALOHA o CSMA o CSMA/CD o CSMA/CA

IEEE , Token Rings. 10/11/06 CS/ECE UIUC, Fall

Data and Computer Communications. Chapter 13 Wireless LANs

Vorlesung Kommunikationsnetze Research Topics: QoS in VANETs

The MAC layer in wireless networks

CSC344 Wireless and Mobile Computing. Department of Computer Science COMSATS Institute of Information Technology

Lecture 23 Overview. Last Lecture. This Lecture. Next Lecture ADSL, ATM. Wireless Technologies (1) Source: chapters 6.2, 15

WiFi Networks: IEEE b Wireless LANs. Carey Williamson Department of Computer Science University of Calgary Winter 2018

Strengthening Unlicensed Band Wireless Backhaul

MULTIPLE ACCESS PROTOCOLS 2. 1

Logical Link Control (LLC) Medium Access Control (MAC)

Collision Avoidance on Shared Slots in a Wireless Slotted Network: Models and Simulations

CSE 461: Multiple Access Networks. This Lecture

The MAC layer in wireless networks

Department of Electrical and Computer Systems Engineering

Chapter 6 Wireless and Mobile Networks. Csci 4211 David H.C. Du

Medium Access Control. MAC protocols: design goals, challenges, contention-based and contention-free protocols

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Wireless Network and Mobility

Wireless Local Area Networks. Networks: Wireless LANs 1

Novel Energy Model To Analyze The Effect Of MAC And Network Parameters On Asynchronous IEEE Multi-hop Wireless Networks Lifetime

Announcements: Assignment 4 due now Lab 4 due next Tuesday Assignment 5 posted, due next Thursday

Collision Probability in Saturated IEEE Networks

IEEE Medium Access Control. Medium Access Control

Medium Access Control. IEEE , Token Rings. CSMA/CD in WLANs? Ethernet MAC Algorithm. MACA Solution for Hidden Terminal Problem

original standard a transmission at 5 GHz bit rate 54 Mbit/s b support for 5.5 and 11 Mbit/s e QoS

Chapter 6 Wireless and Mobile Networks

Wireless and WiFi. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

CSMA/CA BASED AD-HOC NETWORK USING MAC PROTOCOL

Lecture 4: Wireless MAC Overview. Hung-Yu Wei National Taiwan University

Rahman 1. Application

Lecture 25: CSE 123: Computer Networks Alex C. Snoeren. HW4 due NOW

The Medium Access Control Sublayer

Chapter 12 Multiple Access 12.1

Lecture 24: CSE 123: Computer Networks Stefan Savage. HW4 due NOW

Performance anomaly of b

A Comparative Analysis on Backoff Algorithms to Optimize Mobile Network

MAC in /20/06

ECEN 5032 Data Networks Medium Access Control Sublayer

Wireless Networks (MAC)

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross

Data Link Layer -2- Network Access

An Efficient Scheduling Scheme for High Speed IEEE WLANs

E-BEB Algorithm to Improve Quality of Service on Wireless Ad-Hoc Networks

Wireless# Guide to Wireless Communications. Objectives

Topics for Today. More on Ethernet. Wireless LANs Readings. Topology and Wiring Switched Ethernet Fast Ethernet Gigabit Ethernet. 4.3 to 4.

Wireless Protocols. Training materials for wireless trainers

Announcements: ECE/CS 372 introduction to computer networks. Assignment 4 due now. Chapter 7

Figure.2. Hidden & Exposed node problem

Announcements / Wireless Networks and Applications Lecture 9: Wireless LANs Wireless. Regular Ethernet CSMA/CD.

4.3 IEEE Physical Layer IEEE IEEE b IEEE a IEEE g IEEE n IEEE 802.

CSMA/IC: A New Class of Collision free MAC Protocols for Ad Hoc Wireless Networks

Outline. CS5984 Mobile Computing. IEEE 802 Architecture 1/7. IEEE 802 Architecture 2/7. IEEE 802 Architecture 3/7. Dr. Ayman Abdel-Hamid, CS5984

Wireless LANs. ITS 413 Internet Technologies and Applications

Wireless LAN -Architecture

Wireless Ad-Hoc Networks

Advanced Computer Networks WLAN

CSC 4900 Computer Networks: Wireless Networks

Mohammad Hossein Manshaei 1393

Wireless Local Area Networks (WLANs) Part I

Institute of Electrical and Electronics Engineers (IEEE) IEEE standards

AN ANALYSIS OF THE MODIFIED BACKOFF MECHANISM FOR IEEE NETWORKS

Performance analysis of Internet applications over an adaptive IEEE MAC architecture

Wireless Local Area Network (IEEE )

CSE 6811 Ashikur Rahman

Enhancement in Slotted CSMA/CA for Clock Synchronization

MAC protocols. Lecturer: Dmitri A. Moltchanov

Wireless Networks (MAC) Kate Ching-Ju Lin ( 林靖茹 ) Academia Sinica

Guide to Wireless Communications, Third Edition. Objectives

EDCA LIMITATION WITH HIGH TRAFFIC REAL TIME APPLICATIONS

A Quota Transfer Protocol for Upstream Transmissions in Wireless Mesh Networks

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

ECE 358 MAC Examples. Xuemin (Sherman) Shen Office: EIT 4155 Phone: x

Data Communication & Networks G Session 5 - Main Theme Wireless Networks. Dr. Jean-Claude Franchitti

SENSOR-MAC CASE STUDY

Computer Networks. Wireless LANs

Module 5 Local Area Networks

Transcription:

Improved Slotted CSMA/CA Protocol Nimarta Sidhu science, GTBKIET,Chhapianwali Malout, Punjab Paramjeet Singh science, GZSCET PTU campus Bathinda, Punjab Shaveta Rani science, GZSCET PTU campus Bathinda, Punjab ABSTRACT This research work focuses on designing an optimal slotted CSMA/CA. The main motivation is the cycles wasted in unslotted and slotted CSMA/CA. So to reduce wasted cycles a new technique is proposed in this research work which use adaptive also called optimal for Slotted CSMA/CA handles collision by reducing the wasted cycles The proposed protocol is designed and implemented in MATLAB. The simulation has shown significant improvement over slotted and un-slotted CSMA/CA based upon some performance parameters. General Terms Mobile Ad hoc network, Slotted CSMA/CA protocol. Keywords Carrier Sense Multiple Access/Collision Avoidance(CSMA/CA) Request-To-Send (RTS), Clear-To- Send (CTS),Acknowledgement(ACK). 1. INTRODUCTION Carrier sense multiple access/collision avoidance (CSMA/CA) is a multiple access method implemented in wireless networks for sensing the collisions and avoiding them from occurring. For efficient use of wireless channels among multiple nodes, CSMA/CA relies on the random deferment of packets. This class of MAC protocols is one of the most popular for ad hoc networks. A network can be defined as a connection between communicating devices. Everything from Bluetooth device, to Wi-Fi computer, to cell phone operates on a network. Networks come in all sizes, shapes and complexities. Wired networks provides stability and security though they are difficult to setup. Wireless networks are easy to setup but are hard to keep secure. Implementing a secure combination of both wired and wireless network is the most challenging task. Consultant s advice is suggested while making a choice for the network. Selecting the right network is vitally important for getting the most from the infrastructure. This research work deals with reducing the overheads of slotted CSMA/CA by improving the slotted time of the existing slotted CSMA/CA in such a way that it will provide lower delay and also will not increase the cost of existing slotted CSMA/CA. The Cost and delay depends upon the time slotted CSMA/CA take to do its decision making. The main attention of this research work is to understand the working of slotted CSMA/CA and change time interval (slot) in such a way that it becomes adaptive. A suitable simulation is performed and various parameters regarding wireless networks and CSMA/CA are calculated in order to analyse the performance. (CSMA/CA) access method as the name indicates has several characteristics in common with CSMA/CD. The difference is in that instead of detecting collisions CSMA/CA attempts to avoid them. 1.1 Wireless Networking Wireless networks are becoming very popular and easy to set up. Although setting up a wireless network is becoming easier, doing it correctly is still challenging. Two major challenges faced in wireless networks are (i) communication over wireless link (ii) mobile users who change point of attachment to network. Wireless networks are now faster, have broader ranges, and are more reliable than they used to be but they are also easy to hack, suffer from various form of interface, and can drop devices from the network if they are not setup properly. It is advisory to take network expert s advice while implementing it. 1.2 Wired Networking Wired networks are the fastest and most reliable networks, but they are difficult to implement. Complicated computer configuration, need of additional hardware and various wiring standards need expert s approach. Frequently many homes and offices are turning to wireless networks, but the wireless networks are not secure enough. Wireless networks face decreased signal strength and interference from various sources. Making communication across wireless link is difficult as compared to wired link. When we require reliability, speed, and security of a wired network it is vital that we consult a professional who can help to plan and implement the network properly. 1.3 Ad-Hoc Network A wireless Ad hoc network is a decentralized type of wireless network. Ad hoc network does not rely on pre existing infrastructure. In this network each node participates in routing by forwarding data to other nodes. Determination of node forwarding data is done dynamically based on connectivity. An ad hoc network refers to any set of networks where all devices have equal status on a network and are free to associate with any other Ad hoc network device in the link range. An ad hoc network, or MANET (Mobile Ad hoc Network), is a network composed only of nodes, with no Access Point. An ad hoc network has the capability of making communications possible even between two nodes that are not in direct range with each other. Packets to be exchanged between two nodes are forwarded by intermediate nodes, using a routing algorithm. Hence, a MANET may spread over a larger distance, provided that its ends are interconnected by a chain of links between nodes. VANET (vehicular Ad hoc network) is a type of mobile Ad hoc network used for communication between vehicles and roadside equipments. imanet is another type of Ad hoc network that link mobile nodes and fixed internet gateway nodes. 43

1.4 CSMA/CA Carrier sense multiple access with collision avoidance (CSMA/CA) has been adopted by the IEEE 802.11 standards for wireless local area networks (WLANs). CSMA/CA sense and avoid collisions, thus improving performance. Distributed coordination function (DCF) of CSMA/CA protocol reduces collisions and improves the overall throughput. To lessen fairness issues arising with slotted CSMA/CA in wireless networks, a modified version CSMA/CCA was proposed which provides copying collision avoidance by copying the size of CW (contention window). 1.5 CSMA/CA working On a network that uses the CSMA/CA access method, when a computer has data to transmit, its NIC first checks the cable to determine if there is already data on the wire. So far, the process is identical to CSMA/CD. However, if the NIC senses that the cable is not in use, it still does not send its data packet. Instead, it sends a signal of intent--indicating that it is about to transmit data to the cable, that signal is RTS (request to send). After receiving RTS, the destination waits for a period called Short interframe space (SIFS). If the channel is sensed free the intended node is sent a CTS (Clear to send) signal. The node then transmits the data and the recipient node sends an ACK (acknowledgment) after successful reception of data. Destination sends ACK after waiting for SIFS. CSMA/CA (Carrier Sense Multiple Access/Collision Avoidance) is the channel access mechanism used by most wireless LANs in the ISM bands. 1.6 CSMA/CA and Wireless LAN Wireless LAN cannot implement CSMA/CD for three reasons: 1. Station must be able to send and receive data at the same time. 2. Collision may not be detected because of the hidden terminal problem. 3. Distance between stations in wireless LANs can be larges. Signal fading could prevent a station at one end from hearing a collision at other end. 2. RELATED WORK Zhang, Yijin et al. [1] has proposed and validated an analytical model for the capacity throughput of the IEEE 802.15.4 slotted CSMA/CA which can be studied as slotted non-persistent CSMA. Key to the accuracy of the model is a careful study of the idle period after last collision, which has not been considered by all previous 802.15.4 models. Pollin, et al. [2] has studied one of the MAC schemes proposed in slotted carrier sense multiple access with collision avoidance (CSMA/CA), and has analyzed whether this scheme meets the design constraints of those low-power and low-cost sensor networks. Ben othmon jalel et.al [3] has proposed a new MAC protocol that considers different types of traffic and assigns a different priority level to each type of traffic. To improve the Qos of IEEE 802.11 Mac protocol over multichannel CSMA/CA protocol a new admission policy is developed for both voice and data traffic. Wang, Feng et al. [4] has analyzed the carrier sense multiple access (CSMA) mechanism, and simulated its application in IEEE 802.15.4. Wang, Feng et al. [4] has found that the throughputs are relevant to the normalized propagation delay and the basic time period (BTP) of slotted CSMA. The throughputs of slotted and un-slotted CSMA are almost equal when the normalized propagation delay is much less than 1 and the BTP is equal to the propagation delay. Wen et al. [5] has proposed IEEE 802.15.4 protocol to meet the low latency and energy consumption needs in low-rate wireless applications. However, few analytical models are tractable enough for comprehensive evaluation of the protocol. Wang, et al. [6] has shown that when an IEEE 802.15.4 network has many nodes and is almost saturated, the probability of collision is large, and the throughput is small. Jing, Hui, and Hitoshi Aida (2011) [7] in paper "An analytical approach to optimization of throughput for IEEE 802.15.4 slotted CSMA/CA networks" has discussed the most widely implemented standards for wireless networks, IEEE 802.15.4 defines physical and MAC specifications for low data rate wireless personal area networks (WPANs). Jing, Hui, and Hitoshi Aida [8] has discussed the most widely implemented standards for wireless networks IEEE 802.15.4 which defines physical and MAC specifications for low data rate wireless personal area networks (WPANs). Alvi [9] has discussed the IEEE 802.15.4 standard specifically designed for low Rate Wireless Personal Area Network (LR-WPAN) with low data rate and low power capabilities. Due to very low power consumption with duty cycle even less than 0.1, the standard is being widely applied in Wireless Sensor Networks applications. 3. PROPOSED PROTOCOL Fig 1 shows the flowchart of the proposed protocol. A node which want to send data, start sending, if the channel is sensed free. If the medium is busy, the node continues to monitor until the channel is idle. Then it starts sending data. If the channel is sensed free, the node starts sending the packet. Otherwise, the node waits for a random amount of time (slot) and then monitors the channel, and sends data after the slotted time interval. In improved slotted CSMA/CA, if the channel gets free at run time the node is free to transmit the data. Working of protocol in steps is as follow Step 1: Wireless network initialization. Step 2: Define parameters: First define number of stations Define radio range of stations Set time slot of random motion. Set Average transmission time. Step 3: Network is initialized and it is assumed that user has started the transmission. Firstly the collision will be checked, if no collision is detected the process of transmission will start. Step 4: If collision is detected, then wait for slotted time and try again after slotted time. Step 5: If the channel gets idle before the slotted time ( at run time) transmit the data 44

Fig 3 is showing the partial results of simulation, which is clearly defining the data packets which are inside and outside the transmission range and two red lines from different source nodes are indicating collisions. Fig 3 Results of simulation Fig 1 Flow chart of Improved optimal slotted CSMA/CA 4. EXPERIMENT RESULTS Due to the non-availability of the physical environment suitable simulation will be done in the MATLAB. The proposed algorithm is designed and run in the MATLAB by considering various scenarios of CSMA/CA protocol. A script is developed in MATLAB which behave same as slotted CSMA/CA protocol. To do performance analysis multiple simulation results of proposed technique is compared with existing unslotted and slotted CSMA/CA. Fig 2 shows the partial results of simulation, which is clearly showing the data packets inside transmission range with cyan circle and the packets outside the transmission range with magenta circle. Red line shows the user s request for transmission and the green line indicates acknowledgment. 5. PERFORMANCE ANALYSIS By implementing the slotted CSMA/CA, un-slotted CSMA/CA and proposed algorithm in MATLAB we have taken the following results. Fig 4 shows the parameters for analysing the performance of improved optimal slotted, Slotted and unslotted CSMA/CA. Table 1 is showing the throughput comparison of the slotted CSMA/CA, un-slotted CSMA/CA and the proposed algorithm. Table 2 indicates the delay due to spinlocking and Table 3 shows the delay due to early request finish. It is observed that improved optimal slotted CSMA/CA gives far better results as compared to the existing CSMA/CA techniques. Fig 4 Parameters for performance analysis Fig 2 Results of simulation 45

Table 1 Throughput Analysis Slotted 300 200 175 165 320 214 189 177 340 227 199 179 360 240 212 197 380 254 222 218 400 267 231 221 420 280 245 227 440 294 258 240 460 307 266 249 480 320 283 263 500 334 288 266 520 347 307 286 540 360 316 307 560 374 330 306 580 387 341 301 600 400 351 321 Un-slotted Table 1shows that the throughput of improved optimal slotted CSMA/CA at multiple no of is better than unslotted and slotted CSMA/CA. Table 2 Delay due to spin locking Table 3 Delay due to early request finish Slotted Unslotted 30 189.60 240 291.60 320 186 254.40 310.80 340 210 271.20 351.60 360 213.60 288 360 380 224.40 302.4 357.60 40 252 319.20 390 420 254.40 336 428.40 440 271.20 350.40 470.40 460 273.60 367.20 460.80 480 284.40 384 469.20 50 297.60 398.40 501.60 520 316.30 415.20 495.60 540 328.80 432 544.80 560 320.40 446.40 529.20 580 337.20 462.20 634.80 600 358.80 480 609.60 Slotted Unslotted 300 0 50 70 320 0 51 75 340 0 56 96 360 0 56 87 380 0 64 72 400 0 72 93 420 0 71 106 440 0 72 108 460 0 83 116 480 0 75 115 500 0 92 136 520 0 80 123 540 0 88 106 560 0 88 136 580 0 93 172 600 0 98 158 Table 3 is indicating towards the delay due to early request finish. As mentioned earlier due to better decision making optimal slotted CSMA/CA shows better results as delay due to early finish is 0. Fig 5 shows the graphical comparison of throughput of slotted CSMA/CA, un-slotted CSMA/CA and the proposed algorithm. It is clearly shown that the throughput of proposed algorithm is quite better than available protocols as the bar for optimal slot shows the maximum value of throughput for all no. of. Table 2 is representing the delay due to spin locking in all the three protocols. It is clearly shown that the delay in are quite less than the other protocols. Fig 5 Throughput Analysis Fig 6 shows the delay due to spin locking in all the three protocols. It is clear from the fig that the delays in are quite less as compared to other protocols as optimal 46

slotted protocol s bar shows lowest value of delay due to spinlocking for all no. of. Fig 6 Delay due to spin locking Fig 7 is showing the delay due to early request finish. As mentioned earlier due to better decision making optimal slotted CSMA/CA shows better results as delay due to early finish is 0.Therefore the under drawn graph do not show any evidence of delay due to early request finish as it is 0. So the optimal slotted protocols line never grows with respect to scalability of the network requests. Fig 7 Delay due to early request finish 6. CONCLUSION This paper has proposed a new optimal slotted CSMA/CA which is adaptive to select slot time on run time. So it can reduce the delay time (approx zero) due to early finish of requests. The proposed protocol is implemented in MATLAB and checked on different number of. The proposed protocol has ability to remove the early request finish delay time because it selects based upon the currently running requests. Comparison among proposed and existing protocols has shown that the proposed protocol provide quite better results than existing protocols. In near future we will implement this protocol in real time environment. 7. ACKNOWLEDGMENTS My sincere thanks to my Co-guides and friends who have contributed towards successful completion of this work. 8. REFERENCES [1] Zhang, Yijin, Pingping Xu, Zaichen Zhang, and Guangguo Bi. 2006"Throughput Analysis of IEEE 802.15. 4 Slotted CSMA/CA Considering Timeout Period and Its Improvement." In Communication systems, 2006. 10th IEEE Singapore International Conference on, pp. 1-5. IEEE, 2006. [2] Pollin, Sofie, Mustafa Ergen, Sinem Ergen, Bruno Bougard, L. Der Perre, Ingrid Moerman, Ahmad Bahai, Pravin Varaiya, and Francky Catthoor.2008 "Performance analysis of slotted carrier sense IEEE 802.15. 4 medium access layer." Wireless Communications, IEEE Transactions on 7, no. 9, 2008. [3] Ben othoman jalel.2008. a multiservice MAC protocol in a multichannel csma/ca for IEEE 802.11 network In journal of communication and network(volume 10,issue 3) [4] Wang, Feng, Dou Li, and Yuping Zhao. 2009 "Analysis and compare of slotted and un-slotted CSMA in IEEE 802.15. 4." In Wireless Communications, Networking and Mobile Computing, 2009. WiCom'09. 5th International Conference on, pp. 1-5. IEEE, 2009. [5] Wen, Hao, Chuang Lin, Zhi-Jia Chen, Hao Yin, Tao He, and Eryk Dutkiewicz.2009."An improved Markov model for IEEE 802.15. 4 slotted CSMA/CA mechanism" Journal of computer science and technology 24, no. 3, 2009. [6] Wang, Feng, Dou Li, and Yuping Zhao.2010 "An Enhanced Collision-Avoidance MAC Protocol for IEEE 802.15. 4." In Vehicular Technology Conference Fall (VTC 2010-Fall), 2010 IEEE 72nd, pp. 1-5. IEEE, 2010. [7] Caishi huang and Kowloon. 2010. Fairness enhancement for csma/ca wireless network.in systems journal IEEE 2010(Volume:4,issue:4) [8] Jing, Hui, and Hitoshi Aida. 2011."An analytical approach to optimization of throughput for IEEE 802.15. 4 slotted CSMA/CA networks." In Consumer Communications and Networking Conference (CCNC), 2011 IEEE, pp. 1021-1025. [9] Alvi, A. N., S. S. Naqvi, S. H. Bouk, N. Javaid, U. Qasim, and Z. A. Khan. 2012. "Evaluation of Slotted CSMA/CA of IEEE 802.15. 4." Seventh International Conference on, pp. 391-396. IEEE, 2012.In Broadband Wireless Computing, Communication and Applications (BWCCA). IJCA TM : www.ijcaonline.org 47