Untitled Document
Untitled Document
Networks
2. Abstract:
4. Introduction:
This research evaluates Flooding, LEACH, NS-3 is a widely used network simulator
and GPSR in simulated WSN environments that provides a realistic and flexible platform
using NS-3. The evaluation is limited to for simulating WSNs. However, simulations
specific network topologies, traffic patterns, are inherently abstractions of real-world
and mobility models. The network topologies systems, and they may not fully capture all
considered are random and grid-based the complexities of real-world WSN
deployments, which are commonly used in deployments. Factors such as signal
WSN simulations. The traffic patterns interference, channel fading, hardware
include constant bit rate (CBR) and event- limitations, and environmental effects can
driven traffic, which represent different types influence the performance of routing
of data generation in WSNs. The mobility protocols in ways that are not fully captured
models include static and random waypoint in the simulations. Therefore, the results of
mobility, which represent different levels of this research should be interpreted as a
node movement. While these scenarios comparative evaluation of the protocols
provide valuable insights into the under the specified simulation conditions,
performance of the routing protocols, they rather than as a precise prediction of their
do not encompass all possible WSN performance in any specific real-world WSN
deployments and operating conditions. deployment.
5. Literature Review:
Designing efficient routing protocols for WSNs is Routing protocols must address these
challenging due to several factors. WSNs constraints by minimizing energy
operate under resource constraints, including consumption, reducing transmission
limited energy, processing power, and overhead, and optimizing network
bandwidth. Sensor nodes are typically powered lifetime. Transmission overhead refers
by batteries with limited capacity, and replacing to the amount of control traffic (e.g.,
or recharging these batteries can be difficult or routing updates, route request/reply
impossible in many deployment scenarios. messages) that is required to establish
Therefore, energy efficiency is a primary design and maintain routes. Reducing
goal for WSN routing protocols. Protocols must transmission overhead can conserve
minimize energy consumption to prolong energy and increase the network's data
network lifetime, which is often a critical carrying capacity. Optimizing network
requirement for WSN applications. lifetime involves designing protocols
that distribute energy consumption
evenly among nodes and avoid
creating "hot spots" where some nodes
deplete their energy much faster than
others.
* Energy Consumption: The amount of energy * Packet Delivery Ratio (PDR): The
consumed by sensor nodes during data ratio of successfully delivered packets
transmission, reception, and idle periods. This is to the total number of packets sent.
a critical metric for WSNs, as it directly affects This metric measures the reliability of
network lifetime. Energy consumption can be the routing protocol. A high PDR
measured in joules or millijoules and can be indicates that most of the data packets
further broken down into energy consumed per sent by the source nodes are
packet, per node, or per unit of time. successfully received at the destination.
PDR is typically expressed as a
percentage.
* Throughput: The rate at which data is * End-to-End Delay: The time taken for
successfully received at the destination. This a packet to travel from the source to the
metric measures the data carrying capacity of destination. This metric measures the
the network. Throughput is typically measured in latency of the routing protocol. End-to-
bits per second (bps) or packets per second end delay is typically measured in
(pps). milliseconds (ms) or seconds (s).
* Network Lifetime: The duration for which the * Hop Count: The average number of
network remains operational. There is no single hops a packet traverses from source to
definition of network lifetime, and it can be destination. This metric measures the
defined in various ways, such as the time until efficiency of the routing path. A lower
the first node dies, the time until a certain hop count generally indicates lower
percentage of nodes die, or the time until the energy consumption and delay.
network can no longer provide the required
coverage or connectivity.
Previous research has extensively explored the For example, some studies have
performance evaluation of routing protocols in compared proactive and reactive routing
WSNs. Studies have compared various protocols in terms of their energy
protocols under different network conditions, consumption and delay, showing that
focusing on metrics such as energy efficiency, proactive protocols generally have lower
delay, and throughput. These studies provide delay but higher energy consumption,
valuable insights into the trade-offs between while reactive protocols have lower
different routing approaches and their suitability energy consumption but higher delay.
for specific WSN applications. Other studies have investigated the
performance of hierarchical routing
protocols, such as LEACH, in terms of
their energy efficiency and scalability,
demonstrating that these protocols can
significantly prolong network lifetime and
improve network scalability compared to
flat routing protocols.
6. Methodology:
The performance evaluation in this study is NS-3 is chosen for its ability to simulate a
conducted using the NS-3 network simulator. wide range of network scenarios and
NS-3 is a widely used, open-source discrete- protocols, its support for custom protocol
event network simulator that provides a development, and its active and well-
flexible and robust platform for simulating documented community. It allows
WSNs. It offers detailed modules for wireless researchers to create detailed and
communication, energy consumption realistic simulations of WSNs, taking into
modeling, and mobility modeling, making it account various factors such as node
suitable for simulating WSNs with a high behavior, network topology, traffic
degree of realism and accuracy. patterns, and environmental conditions.
The simulator also provides tools for
analyzing simulation results, such as
tracing and logging capabilities, which
facilitate the collection and processing of
performance data.
* Node densities: 50, 100, and 200 nodes. * Traffic loads: Constant bit rate (CBR)
These values represent sparse, medium, and and event-driven traffic. CBR traffic
dense networks, respectively. Evaluating the involves sending data at a constant rate,
protocols under different node densities which is typical for applications such as
allows us to assess their scalability and their continuous monitoring. Event-driven
performance in networks with varying levels of traffic involves sending data only when a
congestion. specific event occurs, which is typical for
applications such as intrusion detection or
emergency response.
* Network lifetime
These metrics are measured and recorded analysis, including the calculation of
during the simulations using NS-3's tracing and mean values, standard deviations, and
output file logging capabilities. NS-3 provides confidence.
tools for collecting detailed information about
network events, such as packet transmissions, intervals, is performed to ensure the
receptions, and energy consumption. This reliability and significance of the results.
information is then used to calculate the
performance metrics and to analyze the
behavior of the routing protocols. Statistical
* LEACH is the most energy-efficient protocol, * Flooding, while simple and reliable in
significantly improving network lifetime and small networks, has high energy
packet delivery ratio, especially in large consumption and lower scalability in
networks. It outperforms both Flooding and dense networks due to the redundancy
GPSR in energy conservation due to its of packet transmission, leading to rapid
clustering mechanism and data aggregation, energy depletion. Flooding is best
which reduce the number of transmissions and suited for small, low-density networks
distribute the energy load more evenly among where energy consumption is less of a
the nodes. concern.
7.3 Conclusion:
In summary, LEACH is the most energy- The choice of routing protocol depends on the
efficient and scalable protocol for WSNs, application’s requirements, such as energy
especially in large-scale or dense efficiency, throughput, delay tolerance, and
networks, providing good performance in network dynamics. For applications where
terms of energy consumption, network network lifetime is a primary concern, such as
lifetime, and packet delivery ratio. GPSR environmental monitoring or healthcare,
is ideal for low-latency applications in LEACH is the most appropriate choice. For
static or low-mobility networks, where its applications where low latency is critical, such
greedy forwarding approach can as real-time control or multimedia streaming,
minimize delay and maximize GPSR may be more suitable, provided that the
throughput. Flooding is best suited for network is relatively static. For small, low-
small, low-density networks where density networks where energy consumption is
energy consumption is less of a concern not a major concern, Flooding may be
and simplicity is more important. sufficient due to its simplicity.