scieee AI-readable full text Open interactive document viewer

Performance Comparison and Analysis of Proactive, Reactive and Hybrid Routing Protocols for Wireless Sensor Networks

tabbana, faïza

Abstract

Wireless Sensor networks are a challenging task due to the lack of resources in the network as well as the frequent changes in network topology. Various routing protocols are designed basically to establish correct and efficient paths between source and destination. In the recent years, several routing protocols have been proposed in literature and many of them studied through extensive simulation at different network characteristics. In this paper, we compare the performance of three most common routing protocols of wireless sensor networks i.e. AODV, DSDV and ZRP. These protocols have been simulated using NS2 Package. This study investigates the routing protocols corresponding to packet delivery ratio, packet loss ratio, average throughput, dropped packets and end-to-end delay. Hence, evaluation and comparison between routing protocols is required because performance of any routing protocol can be changed with various parameters such as speed of nodes, pause times and number of nodes.

Full text

International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 DOI:10.5121/ijwmn.2020.12401 1 PERFORMANCE COMPARISON AND ANALYSIS OF PROACTIVE, REACTIVE AND HYBRID ROUTING PROTOCOLS FOR WIRELESS SENSOR NETWORKS Faïza Tabbana Assistant Professor, Department of Telecommunication Engineering, Military Academy, Fondek Jedid Tunisia. ABSTRACT Wireless Sensor networks are a challenging task due to the lack of resources in the network as well as the frequent changes in network topology. Various routing protocols are designed basically to establish correct and efficient paths between source and destination. In the recent years, several routing protocols have been proposed in literature and many of them studied through extensive simulation at different network characteristics. In this paper, we compare the performance of three most common routing protocols of wireless sensor networks i.e. AODV, DSDV and ZRP. These protocols have been simulated using NS2 Package. This study investigates the routing protocols corresponding to packet delivery ratio, packet loss ratio, average throughput, dropped packets and end-to-end delay. Hence, evaluation and comparison between routing protocols is required because performance of any routing protocol can be changed with various parameters such as speed of nodes, pause times and number of nodes. KEYWORDS Wireless Sensor Network, AODV, DSDV, ZRP, Pause Time and Speed of nodes. 1. INTRODUCTION Wireless sensor networks have become increasingly popular in the computing industry and are widely available in our everyday life. A wireless sensor network (WSN) consists of a large number of sensors which are spatially distributed and makes any node in the network as a potential router [34]. A wireless sensor network (WSN) is a decentralized network that requires no infrastructure. Wireless Sensor Networks (WSNs) are characterized by multi-hop wireless connectivity, frequently changing network topology and efficiently need routing protocols. Sensor nodes are densely deployed either within the sink or very close to it and have restricted power, computational capacity and memory [20]. Sensor nodes are connected to wireless radio frequency link. The basic task of sensor networks, is to sense the events, collect data and then send it to their requested destination. Civilian application domain of wireless sensor networks has been considered later on, such as environmental, healthcare and production, smart home etc. Their applications range from simple wireless low data rate transmitting sensors to high data rate real time systems like those used for monitoring large retail outlets [1]. All nodes of these networks behave as routers and take part in discovery and maintenance of routes to other nodes in the network [20]. A wireless sensor network architecture is illustrated in figure 1. International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 2 Figure 1. A wireless Sensor Network Architecture An Ad-Hoc routing protocol must be able to decide the best path between the nodes, minimize the bandwidth overhead to enable proper routing, minimize the time required to converge after the topology changes [26, 35]. Further, it is worth mentioning that node density, speed of nodes and pause time will have significant effect in the performance of the any routing policy due to the fact that an increase in node density will tend to increase the hop count thus changing the topology significantly. Pause time indicates the mobility of the nodes in the network. Therefore, it is imperative to state that high pause time implies a stable network topology while low pause time indicates that the topology changes frequently [34]. The primary goal of this paper is to evaluate performances of AODV, DSDV and ZRP protocols in different scenarios of variable density of nodes and mobility using NS-2 network simulator. The rest of this paper is organized as follows: In the next section brief overviews of three routing protocols (AODV, DSDV and ZRP) have been discussed. Section 3 describes parameters metrics used to analysis performances routing protocols. Section 4 includes analysis of the performance of the three routing protocols under a first scenario by varying speed of nodes and a second one by varying pause times for a fixed node density environment with respect to performance metrics such as Average Throughput, Average End-to-End delay and Packet Delivery Ratio. Section 5 describes the limitations of NS2 tool. Finally, section 6 and section 7 provide conclusion and future research directions. 2. OVERVIEW OF ROUTING PROTOCOLS As shown in Figure.2, routing protocols for Wireless Sensor Networks can be classified into three main categories: proactive or table-driven routing protocols, reactive or on-demand routing protocols and hybrid routing protocols [3]. The areas in which these protocols differ are the way the routing information is updated, detected and the type of information kept at each routing table [37]. Proactive protocols update route information periodically, while reactive ones establish routes only when needed [35]. Figure 2. Classification of routing Protocols International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 3 This section highlights the features of DSDV, AODV and ZRP routing protocols. A great deal of work has been produced comparing the performance of these three main routing protocols, namely DSDV, AODV and ZRP, that were designed to provide routes in connected networks [33]. 2.1. Proactive Routing Protocols Table Driven Protocols can be named as proactive protocols [22, 23, 25]. The proactive routing protocols attempt to minimize the message latency induced by route discovery, by maintaining up-to-date routing information at all times from each node to every other node. This is obtained by broadcasting control packets that contain routing table information. These protocols provoke a large signalling overhead to establish routes for the first time. In addition, when the network topology is modified due to node mobility or node failures, the updated topology information has to be propagated to all the nodes in the network [32]. Examples of proactive routing protocols are Destination Sequence Distance Vector (DSDV), Optimized Link State Routing Protocol (OLSR), Fisheye State Routing (FSR), and SourceTree Adaptive Routing protocol (STAR) [8, 11, 12]. The selected protocol in this study is DSDV. 2.1.1. Destination Sequenced Distance Vector (DSDV) Destination-Sequenced Distance-Vector Routing (DSDV) [3] DSDV [2], an enhanced version of the distributed Bellman-Ford algorithm, belongs to the proactive or table-driven family where a correct route to any node in the network is always maintained and updated [1, 7, 19, 21, 34]. The improvement made to the Bellman-Ford algorithm includes freedom from loops in routing tables by using sequence numbers [2, 34]. In wireless sensor network, using of DSDV protocol assumes that each participating node as a router [34]. Every node always maintains a routing table that consists of all the possible destinations. Each entry of the routing table contains the address identifier of a destination, the shortest known distance metric to that destination measured in hop counts and the address identifier of the node that is the first hop on the shortest path to the destination. Each mobile node in the system maintains a routing table in which all the possible destinations and the number of hops to them in the network are recorded [34]. Meanwhile, each host broadcasts routing updates periodically in order to achieve the latest and the most accurate routing table. Each route or path is marked with a sequence number assigned by the destination node. The route with the highest sequence number is always used and this sequence number helps to identify the stale routes from the new ones and thus it avoids the formation of loops. To minimize the traffic there are two types of packets in the system. One is known as “full dump” [12, 24, 34], which carries all the information about a change. However, when occasional movement occurs in the network, “incremental” [12, 24, 34] packets is used, which carries just the changes and this increases the overall efficiency of the system. DSDV requires a regular update of its routing tables, which uses up battery power and a small amount of bandwidth even when there is no change in the network topology. Whenever the topology of the network changes, a new sequence number is necessary before the network re-converges; thus, DSDV is not scalable in Ad hoc networks, which have limited bandwidth and whose topologies are highly dynamic [34]. Routes availability to all destinations implies that much less delay is involved in route setup process [35]. Figure 2 shows the routing table of DSDV. International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 4 Figure 3. DSDV routing table for above nodes Implementation Decision The absence of a standard makes some parameters of the algorithm be without clear definition [29, 20]. The constants and parameters which were used in the implementation of the algorithm are shown in Table 1. Table 1. Constants used in DSDV simulation [29] Periodic route update interval 1 s Time without news to declare a link broken 3 s Time after the link break to remove the entry from the routing table 4 s Size of control packets Full dump -> 4096 bits incremental-> 512 bits Maximal number of entries fitting in a full dump packet 32 entries 2.2. Reactive Routing Protocols In reactive routing protocols, a node initiates a route discovery process only when a route to a destination is required. On-demand routing protocols were designed to reduce the overheads in Table-Driven protocols by maintaining information for active routes only [37]. When a node requires a route to a destination, it initiates a route discovery process within the network. This process is completed once a route is found or all possible route permutations have been examined. Once a route has been established, it is maintained by a route maintenance procedure until either the destination becomes inaccessible along every path from the source or until the route is no longer desired. Route discovery usually occurs by flooding a route request packets through the network. When a node with a route to the destination (or the destination itself) is reached a route reply is sent back to the source node using link reversal if the route request has traveled through bidirectional links or by piggy-backing the route in a route reply packet via flooding [37].These protocols are more suitable for dynamic environments but incur a higher latency and still require source-initiated flooding of control packets to establish paths [32]. Examples of reactive routing protocols are, Dynamic State Routing protocol (DSR), Ad hoc OnDemand Distance Vector Routing protocol (AODV), Ad-hoc on Demand Multipath Distance International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 5 Vector (AOMDV), associativity-based routing (ABR) and Location-Aided Routing (LAR) [8, 6, 12]. The protocol considered in this work is AODV. 2.2.1 AODV Ad hoc On Demand Distance Vector Routing Protocol (AODV) is a reactive routing protocol designed for Ad hoc wireless network and it is capable of both unicast as well as multicast routing [20, 34]. It is an on-demand algorithm, meaning that it builds routes between nodes only as desired by source nodes so it initiates route request only when needed [6, 14]. It maintains these routes as long as they are needed by the source. AODV is an improvement on DSDV because it minimizes the number of the required broadcasts by creating routes on demand basis [6]. It carries out the route discovery by using on-demand mechanism [32]. Ad hoc On-demand Distance Vector routing (AODV) protocol enables dynamic, self-starting, multi-hop routing between mobile nodes to establish the ad hoc network [1, 2, 3]. The Route Discovery process in this protocol is performed using control messages Route-Request (RREQ) and Route-Reply (RREP) whenever a node wishes to send packet to destination. Traditional routing tables is used, one entry per destination [34, 20]. During a route discovery process, the source node broadcasts a Route-Request packet to its neighbours. This control packet includes the last known sequence number for that destination. If any of the neighbours has a route to the destination, it replies to the query with Route-Reply packet; otherwise, the neighbours rebroadcast the Route-Request packet. Finally, some of these query control packets reach the destination, or nodes that have a route to the destination. At this point, a reply packet is generated and transmitted tracing back the route traversed by the query control packet. In the event when a valid route is not found or the query or reply packets are lost, the source node rebroadcasts the query packet if no reply is received by the source after a time-out [34]. Figure 3 and figure 4 show the propagation of the RREQ and RREP across the network, respectively. In order to maintain freshness node list, AODV normally requires that each node periodically transmit a HELLO message, with a default rate of one per second [34]. When a node fails to receive three consecutive HELLO messages from its neighbour, the node takes is as an indication that the link to its neighbour is down. If the destination with this neighbour as the next hop is believed not to be far away (from the invalid routing entry), local repair mechanism may be launched to rebuild the route towards the destination [34]. Figure 4. Route Request flooding Once the RREQ reaches the destination or an intermediate node with a fresh enough route, this node responds by unicasting a route reply (RREP) packet back to the neighbour from which it received the RREQ packet. The path which follows the RREP message is shown in Figure 4. International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 6 Figure 5 . Route Reply propagation As long as the route remains active, it will continue to be maintained. A route is considered active as long as there are data packets periodically traveling from the source to the destination along that path. Once the source stops sending data packets, the links will time out and eventually be deleted from the intermediate node routing tables. If a link break occurs while the route is active, the node upstream of the break propagates a route error (RERR) message to the source node to inform it of the now unreachable destination(s). After receiving the RERR, if the source node still desires the route, it can reinitiate route discovery process [20]. Implementation Decision [29] Table 2. Constants used in AODV simulation Hello interval 1 second Time without news to declare a link broken 3 seconds Time after link break declaration to remove the entry from the table 4 seconds RREQ sent without replay arrival at time 3 Times a RREP is resent without ACK arrival 2 2.3. Hybrid Routing Protocols These protocols combine characteristics of proactive and reactive protocols and are mostly used for hierarchal routing [22, 23]. In this protocol intermediate nodes have information about network and its closest node. Zone radius is used to define the zone size that is defined by number of hops [14, 10, 16, 17, 19, 25]. Hybrid routing protocols cartels the advantages of proactive as well as reactive routing protocols and at the same time hybrid routing protocols overcome disadvantages of proactive and reactive routing protocols [23]. The limitation of these protocols is that nodes consume more memory and power as they have to maintain high-level topological information. Some examples of these protocols are Zone Routing Protocol (ZRP) and ZHLS (Zone Based Hierarchical Link State Routing Protocol) [25]. Figure 1, illustrates different classes of ad-hoc routing protocols. 2.3.1 Zone Routing Protocol (ZRP) ZRP is the first hybrid category protocol which effectively combines best features of reactive and proactive routing protocols. It employs concept of proactive routing scheme within limited zone International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 7 (within the r-hop neighbourhood of each node), and uses reactive approach beyond that zone [26, 31, 36]. ZRP is proposed to cut down the control overhead of proactive routing protocols and drop off the latency provoked by routing discover in reactive routing protocols. These protocols are designed to increase scalability by allowing nodes with close proximity to work together as a zone or cluster [1]. The minimum distance of respective nodes in a zone is always according to the radius of zone. A node keeps routes to all the destinations in the routing zone. In this, a network is divided into zones. The two routing schemes used by ZRP are IntrA-zone Routing Protocol (IARP) and Inter-zone Routing Protocol (IERP) [26, 31]. The first protocol to be part of ZRP is IARP, which is a pro-active, table-driven protocol. The protocol is used when a node wants to communicate with the interior nodes of its zone. It allows local route optimization by removal of redundant routes and the shortening the routes if a route with fewer hops has been detected, as well as bypassing link failures through multiple hops, thus leveraging global propagation. IARP is used to maintain routing information and provides route to nodes within zone [36]. The second protocol which is the part of ZRP is IERP. It uses the route query (RREQ)/ route reply (RREP) packets to discover a route in a way similar to typical on-demand routing protocols. In ZRP, a routing zone consists of a few nodes within one, two, or a couple of hops away from each other. It works similar to a clustering with the exception that every node acts as a cluster head and a member of other clusters. Each zone has a predefined zone centred at itself in terms of number of hops. Within this zone a table-driven-based routing protocol is used. This implies that route updates are performed for nodes within the zone. Therefore, each node has a route to all other nodes within its zone. If the destination node resides outside the source zone, then an ondemand search-query routing method can be used [36]. ZRP also uses Bordercast Resolution Protocol (BRP). When intended destination is not known, RREQ packet is broadcast via the nodes on the border of the zone. Route queries are only broadcast from one node’s border nodes to other border nodes until one node knows the exact path to the destination node. ZRP limits the proactive overhead to only the size of the zone, and the reactive search overhead to only selected border nodes. The IARP in ZRP must be able to determine a node’s neighbours itself. This protocol is usually a proactive protocol and is responsible for the routes to the peripheral nodes [36]. Figure 6 illustrates the operation of ZRP protocol. We deduce that if the destination is not inside the zone, then the source broadcasts Route Request message to the peripheral nodes. Figure 6. ZRP Routing Protocol Transmission International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 8 3. PERFORMANCE METRICS Various Quality of Service parameters used for analysis routing protocols are defined as follows. We focused our analysis in four main metrics. The following performance metrics are considered for evaluation: 3.1. Packet Delivery Ratio (PDR) The ratio of the data packets delivered to the destinations to those generated by the sources [37]. When packet delivery ratio is high then performance is better [5, 30]. Mathematically, it can be written as in this equation: 𝑃𝐷𝑅 = ∑𝑇𝑜𝑡𝑎𝑙 𝑝𝑎𝑐𝑘𝑒𝑡𝑠 𝑟𝑒𝑐𝑒𝑖𝑣𝑒𝑑 𝑏𝑦 𝑎𝑙𝑙 𝑛𝑜𝑑𝑒 𝑑𝑒𝑠𝑡𝑖𝑛𝑎𝑡𝑖𝑜𝑛 𝑁 𝑖=1 ∑𝑇𝑜𝑡𝑎𝑙 𝑝𝑎𝑐𝑘𝑒𝑡𝑠 𝑠𝑒𝑛𝑑 𝑏𝑦 𝑎𝑙𝑙 𝑠𝑜𝑢𝑟𝑐𝑒 𝑁 𝑖=1 (1) PDR is calculated in % (percentage). Higher values of PDR carry better performance. 3.2. Average Throughput Throughput is the number of packets that are passing through the channel in a particular unit of time. This performance metric shows the total number of packets that have been successfully delivered from source node to destination node per amount of time [33, 34]. Factors that affect throughput include frequent topology changes, unreliable communication, limited bandwidth and limited energy [34]. The throughput is usually measured in bits per second (bit/sec), and sometimes in data packets per second or data packets per time slot. Higher throughput is always desirable in a communication system [30, 26, 34]. The average throughput is given as follows: 𝐴𝑣𝑒𝑟𝑎𝑔𝑒 𝑇ℎ𝑟𝑜𝑢𝑔ℎ𝑝𝑢𝑡 = 𝑟𝑒𝑐𝑑𝑣𝑆𝑖𝑧𝑒 𝑠𝑡𝑜𝑝𝑇𝑖𝑚𝑒−𝑠𝑡𝑎𝑟𝑡𝑇𝑖𝑚𝑒 ∗ ( 8 1024) (2) Where: recdSize = Store received packet ‘s size Stop Time = Simulation stop time startTime = Simulation start time 3.3. End to End Delay A specific packet is transmitting from source to destination node and calculates the difference between send times and received times. This metric includes all possible delays caused by buffering during route discovery latency, queuing at the interface queue, retransmission delays at the MAC, and propagation and transfer times [26, 34, 37]. It is derived in ms (mille second). Smaller values of End-to-end delay carries improved performance [35]. The End-to-end delay is described as: 𝑬𝑬𝑫 =∑(𝑻𝒓𝒊−𝑻𝒔𝒊) 𝒏 𝒊=𝟏 ∑𝑵𝒃 𝒓𝒆𝒄𝒆𝒊𝒗𝒆𝒅 𝒑𝒂𝒄𝒌𝒆𝒕𝒔 𝒏 𝒊=𝟏 ∗𝟏𝟎𝟎𝟎 (𝒎𝒔) (𝟑) Where: nSentPackets = Number of sent packets nreceivePackets = Number of received Packets International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 9 3.4. Packet Loss Ratio Packet loss ratio is the number of packets that never reached the destination to the number of packets originated by the source [3, 13]. We aim to decrease the packet loss ratio. The packet loss ratio is given as: 𝑃𝐿𝑅 = ∑𝑛𝑆𝑒𝑛𝑡𝑃𝑎𝑐𝑘𝑒𝑡𝑠−𝑛𝑅𝑒𝑐𝑒𝑖𝑣𝑒𝑑𝑃𝑎𝑐𝑘𝑒𝑡𝑠 𝑛 𝑖=1 ∑𝑛𝑠𝑒𝑛𝑡𝑃𝑎𝑐𝑘𝑒𝑡𝑠 𝑛 𝑖=1 ∗100 (4) 4. SIMULATION RESULTS AND DISCUSSION In this section, the performance analysis is carried out on DSDV as proactive candidate and AODV as reactive representative and ZRP as hybrid protocol. Different network scenario for different numbers of node, pause time and speeds are generated. For the mobility schema, we present a comparative simulation analysis of this routing protocols DSDV, AODV and ZRP under varying speed of nodes and pause time, assuming that the size of network, number of nodes and transmission rate are fixed. Simulation parameters are listed in tables 3, 4 and 5. Performance metrics like Throughput, Packet Delivery Ratio, Dropped Packet, End to End Delay are the four common measures used for the comparison of the performance of above protocols. The Simulations were performed using Network Simulator 2.35, particularly popular in the ad hoc networking community. The implementations used to evaluate DSDV, AODV protocols are the ones provided in the NS2 package. It runs under LINUX operating system. We have used Tool Command Language (TCL) for implementation of routing protocols. Performance metrics are calculated from trace file, with the help of AWK program and it is plotted with the help of Microsoft Excel 2007 tool. In the first scenario, the average speed of nodes varies from 10 to 90 Km/h with 100 nodes. We created a second scenario by varying the pause time from 20 seconds to 200 seconds for each fixed density of nodes. The node mobility model is set up as Random Waypoint Mobility where a node is allowed to move in any direction arbitrarily. Each run of the simulator accepts an input scenario file which describes the exact motion of each node. Since protocols were challenged with the same scenario file and during the same time (500 seconds), we can directly compare the performance results of the three protocols. Figure 6 shows a scenario with a topology of 75 nodes. Node 0 is the source which transmits data. Node 75 is the sink or the destination for the entire network. Figure 7. A WSN Topology with 75 sensor nodes used in simulation International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 16 link breaks. When we analyse where these lost packets are in AODV, we notice that AODV has not only more packets in buffers waiting for a route; but also, more packets are lost because they were sent following old routes. So AODV, suffers in part from its lack of periodic update information but maintaining reasonably good delivery ratio. In addition, ZRP improved the Packet Delivery Ratio since it finds new route to destination when link breaks existed. DSDV is slightly better than ZRP especially when the number of nodes is high. Figure 15. End to End Delay vs Number of nodes This graph demonstrates the simulation results of End-to-End delay depending on the number of nodes. AODV didn’t produce so much delay when the number of nodes increased. It performs better than the other two protocols. In addition, it shows that, the AODV protocol improved the DSDV when the number of nodes is over 50. The End-to-End Delay of AODV is less because it has reduced routing overhead and queuing delay. However, DSDV presents considerably less End to End delay than ZRP except at network size 50. Again, this shows that for delay-sensitive applications, DSDV protocol with a reduced density of nodes is remarkably well suitable. This attribute can be explained by the fact that DSDV is a proactive routing protocol and in these types of protocols the path to a destination is immediately available. Furthermore, DSDV routing protocol tries to drop the packets, if it is not possible to deliver them which means less delay. ZRP has higher delay than both DSDV and AODV routing protocols. Figure 16. Packet Loss Ratio vs Number of nodes With increasing number of sensor nodes AODV shows worst performance. AODV seems to be more sensitive to the effect of density of nodes. Once more AODV suffers from not always up-todate information. For all smaller number of sensor nodes, performance of ZRP is better than AODV and DSDV, but for 100 sensor nodes ZRP shows maximum Packet Loss Ratio. For International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 17 DSDV protocol, the Packet Loss Ratio is not so affected as generated in ZRP. Since proactive routing maintains information that is immediately available, the Packet Loss Ratio before sending a packet is minimal in cost. So, overall, we can say that DSDV is the most preferred routing protocol for larger networks. 5. LIMITATIONS OF NS 2 SIMULATOR NS-2 [27] is an object-oriented discrete event simulator targeted at networking research. It is an open source network simulator originally designed for wired, IP networks. The NS-2 simulation environment offered great flexibility in studying the characteristics of WSNs because it includes flexible extensions for WSNs. NS-2 has a number of limitations: (1) It puts some restrictions on the customization of packet formats, energy models, MAC protocols, and the sensing hardware models, which limits its flexibility; (2), the lack of an application model makes it ineffective in environments that require interaction between applications and the network protocols. (3) It does not run real hardware code; (4) It has been built by many developers and contains several inherent known and unknown bugs. (5) The performance of NS-2 is good for 100 nodes, which decreases significantly as the number of nodes increase. It does not scale well for WSNs due to its object-oriented design; (6) Using C++ code and OTCL scripts makes it difficult to use. To overcome the above drawbacks the improved NS-3 simulator [27] was developed. NS-3 supports simulation and emulation. It is totally written in C++, while users can use python scripts to define simulations. Hence, transferring NS-2 implementation to NS-3 require manual intervention. Besides the scalability and performance improvements, simulation nodes have the ability to support multiple radio interfaces and multiple channels. Furthermore, NS-3 supports a real-time schedule that makes it possible to interact with a real system [27]. For example, a real network device can emit and receive NS-3 generated packets. 6. CONCLUSION As each protocol has its own merits and demerits, none of them can be claimed as absolutely better than others. In this research work, three mobile routing protocols, the Destination Sequenced Distance Vector (DSDV), the tabledriven protocol, the Ad hoc OnDemand Distance Vector routing (AODV), an On–Demand protocol and the Zone Routing Protocol (ZRP) the hybrid protocol are selected for study.With the help of NS2 simulator programme, DSDV, AODV and ZRP are evaluated in respect of Packet Delivery Ratio, End to End Delay, Packet Loss Ratio, Dropped Packet and Average Throughput. We have considered three wireless sensor network scenarios, the first is by varying speed of nodes, the second is by varying pause times and the last is by varying density of nodes. Based on our practical results it is concluded that the AODV performs better in WSNs and gives better output and performance in all mobility scenarios, with its ability to maintain connection by periodic exchange of information required for TCP network. By comparing the data collected from these three routing protocols, we analysed and proved that AODV is a more reliable protocol in terms of Delay and Average Throughput than DSDV and ZRP routing protocols. Network size has no considerable effect on AODV performance with respect to Throughput but it does affect ZRP. The results can vary according to the metrics parameters. For some scenarios, DSDV has also performed good even than AODV is more reliable protocol in terms of End-to-End Delay and Throughput. At higher node mobility, AODV is worst in case of Packet Loss and Dropped Packets but it performs best for packet delivery ratio, DSDV performs better than AODV for higher node mobility, in case of Packet Delivery Ratio and Packet Loss Ratio but ZRP performs best in case of Dropped Packets. However, not all of these protocols are efficient enough to fulfil all desired features of WSNs applications. From the conducted study on selected protocols, we have proved that there is no International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 18 best solution for a general mobile wireless sensor network. The performance of one protocol may be far better in terms of delay other may be superior in terms of throughput. Secondly, network size also influences for protocols performance. Therefore, choice for selecting particular routing protocol will depend on application type and intended use of wireless sensor network. Finally, from the above research work performance of AODV is considered best for real-time and TCP applications. Therefore, the most successful applications of WSN technology will be those oriented to applications including large number of nodes. As we could see in section 4, each routing technique has specific advantages and disadvantages that make it suitable for certain types of scenario. In sensor networks, routing is an emerging area of research and who are becoming an increasingly popular wireless networking concept lately. Consequently, more and more research, is being conducted to find optimal routing algorithms that would be able to accommodate for such networks. 7. FUTURE RESEARCH DIRECTIONS In wireless sensor networks, routing is a challenge due to various characteristics that distinguish them from existing communication and wireless ad-hoc networks. New techniques of Hierarchical routing are a hot topic in this field for research. Due to the time limitations, our focus was only on some of the routing protocols during our study. DSDV was one of the early algorithms available. It is quite suitable for creating ad hoc networks with small number of nodes [20]. Since no formal specification of this algorithm is present. There is no commercial implementation of this algorithm [20]. Many improved forms of this algorithm have been suggested. Though, there are many other routing protocols that are needed to be analyzed. There are different design issues in WSN, like energy, heterogeneity, localization and synchronization which need to be explored further. Also, protocols security should be investigated with respect to various natures of attacks to which wireless communication is considered as an attractive target average throughput than DSDV and ZRP. Furthermore, performance comparison with other routing protocols in different classes could be done. In future, a mixture of two or more protocols can be used to give rise to a new type of WSN network satisfying more and more criteria. New techniques of Hierarchical routing are a hot topic in this field for research. ACKNOWLEDGEMENTS The author would like to thank the student Hamza Weslati at Military Academy of Tunisia for his helpful support. REFERENCES [1] Y. jahir, M. Atiqzzman, H. Refai, A. Paranjathi, P. G. Loprest, “Routing Protocols and architecture for disaster area Network : a survey”, Ad-hoc Networks Journal Elsevier 82-2019, 1-14. [2] Hema, H. Sehrawat, “Comparative Analysis of Various Routing Protocol in Wireless Sensor Networks”, International Journal of Innovations of Advancement in Computer Science, Volume 6, Issue 7, July 2017. [3] S. Lalar, A. Yadav, “Similation and Comparative Analysis of AODV, DSDV, DSR and AOMDV routing Protocol in WSN”, IJEE, Volume 9, Number 1, Jan-June 2017, pp 9-15. [4] S. NakhshabHussain, H. Raza, U. Tayyab, A. Razzak, “Multicast Zone Routing Protocol in Wireless Ad-hoc ”, International Journal of Comuter Science and Network Security, Volume 17, n ° 5, May 2017. [5] P. Patel, K. Patel, “Review Paper on Energy Efficient Routing Protocols in Mobile ad-hoc Network “, International Journal of Advance Engineering and Research Development,” Special Issue Sieicom2017, April 2017. International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 19 [6] M. Z. Chawy, M. A. Al Sanabani, , “Application and performance Analysis of DSDV Routing Protocol in Ad-Hoc Wireless Sensor Network with Help of NS2 Knowldge”, Global Journal of Computer Science and Technology: ENetwork, WEB and Security,vol. 17 issue 1 Version 1.0, p373379, 2017. [7] J. Daniel Mano, S. Sathappan “Comparaison of Wireless Routing Protocols in Sensor Network Using NS2 Tool”, International Journal of Advanced Research in Basic Engineering Sciences and Technology (IJRABEST) , U.K, vol 2,Special Issue 19, October 2016. [8] S. Chauhan, “Performance Evaluating of Routing Protocols for MANET using NS2”, International Journal of Computer Science and mobile Computing, Vol 4, Issue 9, pg 242-249, septembre 2015. [9] P. Boora, S. Malik , “Performance Analysis of AODV, DSDV, and ZRP Routing Protocols in WSN using Qualnet”, International Journal of Enhaced Research in Science Technology of Engineering , vol 4, Issue 6, June 2015. [10] G. Gautam, B. Sen, “Design and Simulation of Wireless Sensor Network in NS2”, International Journal of computer Applications , vol. 113, No 16, March 2015. [11] G. Kaur , E. Bhardwaj, “A Review On Energy Efficient Routing Protocols in Wireless Sensor Network, Mobile Ad-Hoc Network”, International Journal of Research in Computer Applications and Robotics, vol 3, Issue 5, p36-41, May 2015. [12] A. Arya, J. Singh,“Comparative Study of AODV, DSDV and DSR Routing Protocols in Wireless Sensor Network Using NS-2 Simulator”, International Journal of Computer Science and Information Technologies (IJCSIT), Vol. 5(4) IJCA, pp. 9-13, 2014. [13] Mrs.Viashali, D. Khairnar, Dr K. Kotecha,”Simulation-Based Performance Evaluation of Routing Protocols in Vehicular Ad-hoc Network”, International Journal of Scientific Research Publications, Volume 3, Issue 10, October 2013 . [14] S. Singh, Dr N. Hemrajani,”Performance Evaluation of AODV Routinng Protocol in Wireless Sensor Networks with the Constraints of varying terrains areas by varying pause time”, , Interntional Journal of Emerging Trends and Technology in Computer Science (IJEITCS), Volume 2, Issue 1, JannuryFebury 2013 . [15] P. Goswamis, Dr A.D. Jadhav, “Evaluating the Performance of Routing Protocols in Wireless Sensor Network”, International Journal of Computer Technology and ELECTRONICS Enginnring (IJCTEE), Volume 2, Issue 3, June 2012. [16] A. S. El. Ashhab, “Performance Evaluation of AODV and DSDV Routing Protocol in Wireless sensor Network Environment”, International Conference on Compter Networs and communication systems”, Vol 35, Singopore 2012. [17] P. Kansal, D. Kansal, A. Balodi, “Comparison of Various Routing Protocol in Wireless Sensor Network ”, International Journal of Computer Applications, Volume 5-No.11, August 2010. [18] P. Goswamis, Dr A.D. Jadhav, “Evaluating the Performance of Routing Protocols in Wireless Sensor Network, Volume 2, Issue 3, June 2012, pp557-567. [19] A. Aggarwal, S. Gandhi, N. Chaubey, “Performance Analysis of AODV, DSDV and DSR in MANETS”, International Journal of Distributed and Parallel Systems (IJDPS), Vol 2, N°6, Novembre 2011. [20] A. Abderahman, Z. Zukarnain, “Performance Comparison of AODV, DSDV and I-DSDV routing Protocols in Mobile Ad-hoc Networks”, European Journal of Scientific Research, Vol 31, N°4, 2009, PP566-576. [21] B. N. Jagdale. P. Patil, P. Lohane, D. Javale, “Analysis and Comparison of Distance Vector, DSDV and AODV Protocol of Manet”, International Journal of Distributed and Paralle Systems (IJDPS), Vol 3, n°2, March 2012. [22] D. Bandral, R. Aggarwal, “Analysis of AODV and DSDV Routing Protocols for improving Quality of Service in MANET”, vol 9, n°32, August 2016. [23] L. Naikl, L.R.U. khon, R. B. Misha, “Analysis of Performance Improving parameters of DSDV using NS3”, International research Journal of Engineering and Technology (IRJET), vol 3, Issue 7, July 2016, pp 446-452. [24] S. Goverdhan, A.choubay,”Comparative analysis and Implementation of DSDV and AODV Routing Protocol for MANET”, International Journal of Computer Techniques, Volume 2, Issue 3, May-June 2015, PP 90-97. [25] Harsimrankau, J. Singh,”Comparison of AODV and DSDV protocols with improvement of AODV”, International Journal of advanced research in Computer Engeneering of Technology (IJARCET), Volume 6, Issue 7, July 2017, pp 976-980. International Journal of Wireless & Mobile Networks (IJWMN) Vol. 12, No.4, August 2020 20 [26] Seema Pahal, Kusum Dalal, “A Review Paper on Routing Protocols in Wireless Sensor Networks”, International Journal of recent trends in engineering and research, ISSN (Online) 2455 1457, 2016. [27] Abdelrahman Abuarqoub, Fayez Al-Fayez, Tariq Alsboui, Mohammad Hammoudeh, Andrew Nisbet, “Simulation Issues in Wireless Sensor Networks: A Survey”, The Sixth International Conference on Sensor Technologies and Applications, 2012. [28] Madhuri Pal* Kalyani Satone Bhawa Chilke, “Implementation DSDV routing protocol for wireless mobile ad-hoc network, using NS-2 simulator”, International Journal of Engineering Research & Technology (IJERT) Vol. 1 Issue 8, October - 2012 ISSN: 2278-0181. [29] Resumen_siemens, “Design, Implementation and Evaluation of Distance Vector Routing Protocols in Ad Hoc Networks ”. [30] T.Praveena1, Mr.S.Parthasarathi, Dr.K.Hariharan,” Performance Analysis of Different Routing Protocol Using Wireless Sensor Network in NS3”, ISSN (PRINT): 2393-8374, (ONLINE): 23940697, Volume-4, ISSUE-12, 2017. [31] Seema Pahal , Kusum Dalal, “Performance Evaluation of Routing Protocols in WSN using QualNet 5.3”, International Journal of Recent Trends in Engineering and Research-2016. [32] Jian Shen1,2,3,4, Haowen Tan1,4, Jin Wang1,4, Jinwei Wang1,3,4, Sungyoung Lee5, “A Novel Routing Protocol Providing Good Transmission Reliability in Underwater Sensor Networks” [33] A. Ferreira · A. Goldman · J. Monteiro “Performance evaluation of routing protocols for MANETs with known connectivity patterns using evolving graphs”. Extended paper of the initial results presented at the IEEE WiMob 2006, Montreal (Canada). [34] Biswaraj Sen , Sanku Sinha, “A Simulation Based Performance Analysis of AODV and DSDV Routing Protocols in MANETs”, International Journal of Modern Engineering Research (IJMER), Vol.2, Issue.4, July-Aug. 2012 pp-2404-2408 ISSN: 2249-6645 [35] Faiza Tabbana, “Performance Analysis of AODV, DSDV and ZRP protocol for Wireless Sensor Network using NS 2 Tool“, Wimo Conference, 30-31 May 2020, Vancouver, Canada. [36] Niranjan Kumar Ray and Ashok Kumar Turuk,” Performance Evaluation of Different Wireless Adhoc Routing Protocols”, International Journal of Wireless & Mobile Networks (IJWMN) Vol. 4, No. 2, April 2012. [37] Narendra Singh Yadav, R.P.Yadav, « Performance Comparison and Analysis of Table-Driven and On Demand Routing Protocols for Mobile Ad-hoc Networks”, International Journal of Information Technology Volume 4 Number 2, Novembre 2007. AUTHOR Faïza Tabbana is an assistant professor of Military Higher Education of Foundek Jedid, Nabeul Tunisia. She has over fifteen years experience in teaching wireless, cellular and fixed networks like GSM (Global System for Mobile Communication), UMTS (Universal Mobile Telecommunication Standard), LTE (Long Term Evolution), Wimax, Wifi (IEEE 802.11), Ad-hoc Networks, TCP/IP networks and LANs (Local Area Networks). Her main research intersets include wireless networks planning and protocols. She worked for five years as Senior Engineer in a Center for studies and research in Telecommunication. She has published 4 papers in International Conferences (IEEE) and another paper in International Journal of Computer networks and Wireless Communications (IJNCWC). She has participated to wimo conference, 30-31 May 2020.