Interdisciplinary Institute for Broadband Technology, University of Antwerp, Middelheimlaan 1, 2020 Antwerp, Belgium
Academic Editor: S. Toumpis
Abstract
Multihop mobile wireless networks have drawn a lot of attention in recent years thanks to their wide applicability in civil and military environments. Since the existing IEEE 802.11 distributed coordination function (DCF) standard does not provide satisfactory access to the wireless medium in multihop mobile networks, we have designed a cross-layer
protocol, (CroSs-layer noise aware power driven MAC (SNAPdMac)), which consists of two parts. The protocol first concentrates on the flexible adjustment of the upper and lower bounds of the contention window (CW) to lower the number of collisions. In addition, it uses a power control scheme, triggered by the medium access control (MAC) layer, to limit the waste of energy and also to decrease the number of collisions. Thanks to a noticeable energy conservation and decrease of the number of collisions, it prolongs significantly the lifetime of the network and delays the death of the first node while increasing both the throughput performance and the sending bit rate/throughput fairness among contending flows.
1. Introduction and Problem Definition
The IEEE
802.11 [1], standard
for wireless local area networks (WLANs) specifies as contention-based MAC
mechanism the DCF, which is based on carrier sense multiple access with
collision avoidance (CSMA/CA). The CSMA/CA mechanism assumes that each node
uses a certain fixed transmission power for each transmission and that the
network is homogeneous. However, nowadays wireless nodes, such as laptops,
personal digital assistants (PDAs), and other handheld units, are usually
equipped with batteries that provide a limited amount of energy. Since the power
level determines the network topology, the battery life extension (thus the
lifetime of a node) is an important factor in ad hoc networks. In a pure
wireless multihop network, nodes have a limited transmission range. Depending
on the number of active nodes, the density of the network affects the energy
consumption, because with an increasing number of collisions and
retransmissions, the expenditure of energy increases as well. One well-known
direction in order to save energy and reuse the channel is by manipulating the
power (power saving/controlling) or the carrier sense threshold. Another
direction is focused on enhancements of the IEEE 802.11 MAC since the existing
standard does not meet multihop mobile ad hoc network expectations. The
weaknesses and unfairness of the binary back-off algorithm (BEB) of the IEEE
802.11 DCF and contention window resetting scheme used by this standard is the
reason to improve/change the back-off mechanism and resetting CW algorithm.
The observation of these two problems led to the
design of a novel cross-layer protocol, SNAPdMac. On one hand, our protocol
employs tuning of the transmit power based on the level of noise and the
collision ratio on the MAC level. On the other hand, it tackles the weaknesses
and unfairness of the IEEE 802.11 MAC layer by tuning the lower and upper
bounds of the contention window range and employing a different resetting
strategy.
The remainder of the paper is organized as follows.
The next section presents the IEEE 802.11 DCF standard and points out its
problems. In Section 3, the related work is presented. In
Section 4, the
proposed MAC protocol is described. Section 5 describes the metrics and
parameters used in the simulations and sets the goals in this work, and Section
6 shows the performance evaluation of the proposed protocol against the IEEE
802.11 DCF and the basic power control protocol [2]. Finally, concluding remarks
are formulated in Section 7.
2. IEEE 802.11 Standard
The IEEE 802.11
standard specifies two medium access control mechanisms of which only the DCF
is relevant to ad hoc operation. The DCF specifies that a node needs to sense
the medium before transmitting. If the medium is idle, the node waits for a
random deferral time before transmitting. This back-off time is a random value
multiplied by the slot time, where the random value is a pseudorandom integer,
picked from the
range.
In each slot where the medium is sensed idle, the back-off counter is decremented until it reaches
zero. When the counter reaches zero, the node starts its transmission. If
during back-off the medium is sensed busy, the back-off counter is frozen
during the ongoing transmission and decrements again as soon as the medium is
sensed idle.
When a transmission fails, that is, no acknowledgment
is received, the DCF specifies that the CW needs to be doubled according
to the BEB algorithm, up to a maximum back-off size, the maximum value of CW (
). When the packet is not transmitted
successfully after a maximum number of retransmissions, the packet is dropped.
Upon a successful transmission or when a packet has been dropped, the CW
is reset to the static minimum
value.
This approach of resolving collisions is not only
unfair but also inefficient. Although the CW is doubled upon a retransmission,
there is always a probability that contending nodes randomly choose the same
contention slot, especially when the number of active nodes increases. On the
other hand, receiving a packet successfully does not mean that the contention
level has been dropped. Furthermore, the minimum and maximum CW sizes (where
) are fixed in the IEEE 802.11 DCF standard
independently of the network load and channel conditions.
3. Related Work
Many approaches
have already been proposed to reduce the number of collisions by substituting
the binary exponential back-off algorithm of the IEEE 802.11 by novel back-off
approaches or selecting an intermediate value instead of resetting the CW value
to its initial value. Several papers focus on changing the lower and upper
bounds of the CW interval [3–5] but usually with different
goals, such as the mitigation of selfish MAC misbehavior ([4]) or the reduction of the latency
for event-driven wireless sensor networks (WSNs) ([3]). The most related work to our back-off mechanism is
the determinist contention window algorithm (DCWA) in [5]. DCWA increases the upper
and lower bounds instead of just doubling the CW value. In each contention
stage, a station draws a back-off interval from a distinct back-off range that
does not overlap with the other back-off ranges associated to the other
contention stages. In addition, the back-off range is readjusted upon each
successful transmission by taking into account the current network load and
history (resetting the back-off ranges mechanism; see details in
[5]).
Among the related work concerning energy conservation,
such as power saving or power control mechanisms, the power saving mechanism
(PSM) is the most familiar. It is provided by the standard [1], which allows a node to go
into doze mode. Power control schemes, varying the transmit power in
order to reduce the energy consumption, have already been presented in many
studies; for example, see [2, 6–10]. These schemes and many others have shown that power
control protocols can achieve a better power conservation and higher system
throughput through a better spatial reuse of the spectrum.
Antagonists of power control approaches argue that adjusting/changing
the power level introduces asymmetric links while the carrier sense (CS) range
is always symmetric. However, in a real world both asymmetric links and
asymmetric CS ranges exist [11]. That is why there is a plenty of work in this field
focusing not only on power saving or power control, but also on spatial reuse
that employs the IEEE 802.11 physical carrier sensing.
One part of the research in this field focuses on
dependencies and tradeoffs between both the transmit power and the
carrier
sense threshold [12, 13], while another part focuses only on the adjustment of
the carrier sense threshold [14–16]. The work in [12] investigated the tuning of
the transmit power, carrier sense threshold, and data rate in order to improve
spatial reuse. The authors have shown that tuning the transmit power is
more advantageous than tuning the carrier sense threshold.
Cross-layer protocols contributing to the enhancement
of the MAC layer and the adjustment of the power level have also been presented
in many papers. One of them, the power adaptation for starvation avoidance
(PASA) algorithm [17],
was designed following the observation from [10] that the request-to-send/clear-to-send (RTS/CTS)
collision avoidance mechanism of the IEEE 802.11 DCF cannot eliminate
collisions completely. This can lead to a channel capture where a
channel is monopolized by a single or a few nodes. The authors of [17] studied how to control the
transmission power properly in order to offer a better fairness and throughput
by avoiding a channel capture. The power level increases exponentially and
decreases linearly in the PASA, while using an RTS/CTS control scheme. PASA is
not applicable with the basic access scheme. It requires that a neighbor power
table (NPT) is maintained by each node with information such as the minimum
power that must be maintained according to the distance to the destinations,
which should be obtained through some location service. PASA achieves a better
Jain's fairness index, however it suffers from a degradation of the throughput,
which is noticeable in mobile ad hoc scenarios. After all, maintaining the NPT
table with “fresh” data is not realistic in a mobile ad hoc environment
taking into account interferences, fading effects, movement of the nodes, and
deaths and new entriers of nodes.
The carrier sense multiple access protocol with power
back-off (CSMA/PB) has been presented in [18]. The CSMA/PB reduces the transmission power level in
order to avoid collisions, following the observation that, in a smaller
transmission area, interferences and contentions are expected to be reduced.
Results obtained in [18] are based on an
optimistic centralized power-aware
routing strategy which illustrates the potential of the power back-off. The
CSMA/PB protocol has been evaluated with three transmission power levels only,
thus the amount of power decreases fast. Therefore, it is really important that
the routing protocol takes power levels into account. Each node has to maintain
the routing table with entries for each destination with corresponding
power levels.
4. Proposed Protocol
The goal of the
SNAPdMac protocol is to save energy (which leads to an extension of the
lifetime of nodes) and to reduce the number of collisions. However, the
SNAPdMac protocol does not degrade the throughput performance and fairness in
terms of the throughput and sending rate, while fulfilling these goals.
The SNAPdMac protocol tackles a couple of problems
that exist in the current implementation of the standard. It does this by two
means, first it concentrates on the flexible adjustment of the upper and lower
bounds of the CW to lower the number of collisions. Secondly, it uses a power
control scheme to limit the waste of energy and also to lower the number of
collisions. Hence, it has a MAC-PHY cross-layer architecture.
To tackle the inefficient use of the back-off window
in the standard, we developed a MAC protocol that makes use of our prior work
(Enhanced selection Bounds algorithm (EsB) [19]) during the recovery stage. The EsB adjusts the lower
and upper bounds of the CW range, taking into account the number of retransmissions
attempts, the 1-hop active neighbors, and the remaining battery level.
Each node can estimate how many neighbors it has
in its 1-hop neighborhood, based on successfully detected signals or using the
table that is built by a routing mechanism. In [20] the utilization rate of the slots
(slot
utilization) observed on the channel by each station is used for a simple,
effective and low-cost load estimate of the channel congestion
level. During the resetting stage, the CW value is
reset to a value which depends on the history of collisions. This forms the MAC
part of the SNAPdMac protocol and results in a reduction of the number of
collisions.
The goal is not only to lower the number of
collisions, but also to save energy. If we reflect on the reason why messages
collide, it becomes clear that this is because too many nodes are too close to
each other. They could be positioned a few meters from each other, but their
transmission range is far greater than these few meters. Hence, the nodes are
too close to each other relative to their respective transmission range. This
not only results in a higher number of collisions, but also in an excessive use
of energy to transmit a packet.
The SNAPdMac power control part is based on this
observation and it lowers its transmission power (while observing
too high noise in the vicinity) when it does not get the acknowledgment that a packet
has been received successfully. The final result will be that all nodes will
find their optimal transmission power that ensures that they can reach their
neighbors, but not interfere with other nodes.
However, not receiving an acknowledgment for a sent
packet does not always mean that the packet was lost or corrupted because there
was too much interference. It could also happen that the transmission power was
simply too low to reach any of the surrounding nodes. Therefore, the SNAPdMac
protocol takes the signal-to-interference-and-noise ratio (SINR) into account.
If no acknowledgment has been received, but the noise level (deducted from the
SINR) is low, then we assume that the transmission power was too low to reach
any of the neighbors. In that case the transmission power is increased.
The signal to interference and noise ratio,
(1)is an important metric of the
wireless communication link quality. A radio signal can be correctly decoded by
the intended receiver only if the ratio between the sender power (
) of the actual signal to be received and the
sum of all power levels experienced due to other signals (Interferences)
currently transmitted plus an ambient noise power level (Noise) is above
a certain hardware-dependant threshold
(minimum signal-to-interference ratio required
to successfully receive a message):
(2)The higher the SINR, the higher
the rate that packets can be transmitted reliably. Depending on the modulation
scheme, different threshold values
are valid.
Figure 1 shows a detailed diagram describing how the
SNAPdMac protocol works.In the figure, the
PHY layer has been placed in a dashed area. Note that the protocol considers
three main cases for each transmission:
Figure 1: Diagram of the
SNAPdMac protocol.
(a)
recovery mechanism, the number of
retransmission attempts is larger than 0 and lower than the threshold,
(b)
dropped packet, the number of
retransmission attempts exceeds the threshold,
(c)
CW resetting upon a successful
reception.
4.1. Recovery Mechanism
When a packet
has to be retransmitted but the number of retransmission attempts does
not exceed the limit, the recovery mechanism is processed. The recovery
mechanism makes use of the EsB algorithm from our prior work [19]. EsB is focused on
adjusting the lower and upper bounds of the CW interval, considering the number
of retransmission attempts (
), the number of 1-hop active neighbors (
), and the coefficient of remaining energy (
).
According to the EsB algorithm, upon each
retransmission, a node doubles its CW size first (as in [1]) and then the CW bounds are
adjusted by the EsB mechanism. The back-off timer is randomly selected from the
range delimited by the lower bound (
) and upper bound (
): back off timer = random
.
Figure 2 depicts an example of a possible selection of the lower and upper bounds
in the EsB algorithm.In this case, we
consider the prior (
), current (
), and future (
) state. In the prior (
) state, the lower bound is a bit lower than
(128) and the upper bound a bit lower than 256
(next chosen upper bound by the BEB algorithm of the IEEE 802.11 DCF standard).
In the current state, these values are increased but they can be lower or
larger than consecutive BEB values as depicted in the figure. We also let a
node exceed the
value, but not more than the number of
slots. The algorithm of the EsB
scheme is shown in Algorithm 1.
Figure 2: Bounds selection
of EsB algorithm.
The
is dependent on the
value and the logarithmic function (line 1) in order to ensure that
this bound does not increase too fast. First, the use of
prevents choosing too high values of the lower
bound, in particular if the
and
are not (so) high.
Secondly, the logarithmic function takes care of the
slight increase of the lower bound. The
is chosen in such a way that the result of the
logarithmic function is higher than 1/2,
hence the lower bound will be reasonably higher relative to the previous
selected one. Thus, if a node has only a few active neighbors, the
value will be small. If a node resides in a
dense network with many active nodes, this is reflected in a larger value of
the
,
apart from the current
.
We also let each node shrink or extend the upper
bound (
) relative to the
.
The
is logarithmically dependent on the
and
.
In this way we obtain a slight change (an increase or decrease) of the
compared to the
achieved by [1]. An upper bound of the
CW interval should not increase too fast, because of unnecessary deferring of
contending nodes.
We also noticed that the adjustment of the lower and
upper bounds outperformed the IEEE 802.11 DCF, but that both suffered from an
unequal energy distribution. Some nodes still had a lot of remaining energy
when the first node had already died. To solve this, we introduced the
coefficient of remaining energy (
) in the algorithm. Depending on the energy
level of the battery, the
value varies (Figure 3). Notice
that the value
of
logarithmically increases, when the energy
level decreases. We allow the upper bound of the
to decrease slightly depending on the energy
level. If a node has its maximum energy level, it needs to wait a shorter time
compared to a node with a lower battery level, if both nodes have recognized
the same
and have an equal
.
The upper bound increases with a decreasing battery energy level. Thus, nodes
with a lower battery level wait longer in order to avoid a potential collision.
Figure 3: Change of

As opposed to [5], a selected
back-off
from
back-off
by a given node may overlap with a selected
back-off
from back-off
of this node in the EsB mechanism. This way the
algorithm is less
prone to unnecessary loss of free slots both in sparse and dense networks (when
many neighbors are occasionally active).
The recovery mechanism of SNAPdMac is not limited to
the use of EsB only, it also employs our novel enhanced power control of
which the pseudocode of the recovery part is presented in Algorithm 2.
The recovery part of the enhanced
power control is based on the noise level in the neighborhood. The amount
of noise in the vicinity, which is measured by assessing the current SINR
value, determines whether the power level should increase or decrease. If the
noise level is too low (the current SINR,
,
is higher than the threshold
), the power level increases. Otherwise, the
power level decreases. The amount of increase and decrease of the power is
determined by the number of 1-hop active neighbors (
) and the previous transmit power (
).
is the maximum transmission power.
We have assumed that the desired number of neighbors
is fixed and set to
3, because at least
3 nodes provide a completely connected network. The speed of the decrease or
increase can be adjusted by the variable
(
or
in simulations), but a decrease of the power
is always faster than an increase.
During the recovery mechanism of SNAPdMac, the
EsB is used unchanged to adjust the CW range when the noise level of the
neighborhood is high. The presence of a lot of noise is an indication that a lot of
nodes are in the vicinity. To lower the possibility of another collision even
more, SNAPdMac also decreases its transmission power as described in the enhanced
power control. By decreasing the power, a node gives opportunity to other
nodes to access the wireless channel, which leads to the enhancement of the
fairness between nodes.
When, on the other hand, the noise level is low in the
neighborhood, only the upper bound of the CW range is adjusted according to the
EsB, whereas the lower bound is kept at 0. Low noise level means that
there is not so much traffic in the air, and a node has more chance to access
the wireless medium compared to a node which happens to be in a high contention
area. Even more, if a retransmission occurs but the noise level is low, a
collision is not necessarily the reason of the failed transmission. There
exists a high probability that the transmission of the packet failed, because
no receiver was in the range, or because of fading effects, mobility, and so
on. This is why we increase the power level to extend the transmission range
when the noise level is low during the recovery mechanism.
4.2. Dropped Packet
A packet is dropped when the number of retransmission tries
(Tries in
Figure 1) exceeds the
threshold MAX. Upon this event, the CW value is not reset to its minimum
value as in the IEEE 802.11 DCF, but it maintains its value of
.
Since the packet has been retransmitted a maximum number of attempts with
different power levels (upon each retransmission), the probability that a next
packet will be sent successfully is very low, therefore resetting the CW to the
minimum is pointless.
Although the CW value does not change when a packet
has been dropped, the power level decreases, in order to lower the possibility
of collisions. The pseudocode of the dropped part of the enhanced power
control algorithm is presented above in Algorithm 3, which shows that the
power always decreases when a packet is dropped, because the packet is
abandoned anyway.
Unlike in the recovery part of
the enhanced power control algorithm, the dropped packet part is
independent of the current level of SINR. The amount of decrease of the power
is determined, like in the recovery part, by the number of 1-hop active
neighbors (
) and the previous transmit power (
). However, the
history of the collision
ratio also affects the speed of the decrease of the power. The history,
RatioColl,
is taken into account by means of an exponential weighted mean average (EWMA)
with respect to past measurements, as shown in the following
equation:
(3)where
(4)The
increases each time by one upon a
first transmission of a packet (this counter does not increase upon retransmission
attempts) and the
increases by one upon a successful reception
of the acknowledgment (ACK) of the transmitted (SENT) packet. Depending on the
,
the power decrease is normal or faster (faster = 2
normal). In
static environments, the history plays a more important role than in mobile
environments. Therefore, we allow the tuning of the
value, which represents the amount of
importance history has. In static networks the
is set to a value larger than
.
On the other hand, in mobile networks, where the history is less important
because of the nodes movement and fast changing instantaneous conditions, the
value is set to a value lower than
.
Based on our extensive simulations, we have noticed
that an appropriate transmission power level is really important since, if the
rate of decrease/increase is too fast or too slow, the protocol can be either
too conservative or too aggressive. Thanks to the possibility of tuning the
variables
(speed of the change of the power level)
and/or
,
the connectivity of the network can be adjusted which leads to a significant
improvement of the throughput and lifetime performance.
4.3. CW Resetting
Upon the
successful reception of a packet, the CW value is reset depending on the
history of the collision ratio. The CW value is reset based on whether the value
of RatioColl (3) is larger than the threshold,
,
or not. If the value of RatioColl is larger than the threshold, the CW
is decreased exponentially. Otherwise, the CW value is reset to the initial
minimum value, which equals the initial minimum CW value of the DCF mechanism.
5. Simulation Environment
5.1. Metrics and Parameters
The proposed
cross-layer protocol has been implemented in the ns-2.29 network simulator
[21]. The simulations
have been carried out for various topologies, scenarios with different kinds of
traffic, and routing protocols. The following performance metrics have been
used:
(i)
total packets received,
(ii)
average throughput (Mbps),
(iii)
lifetime LND (seconds),
(iv)
FND: first active node died (seconds),
(v)
lifetime RCVD (seconds),
(vi)
sending bit rate Jain's fairness
,
(vii)
throughput Jain's fairness
,
(viii)
average aggregate delay (seconds),
(ix)
-coefficient of collisions.
The first node
died metric is defined as the instant in time when the
active (a node
transmitting/receiving) first node died. We have defined the network
lifetime as the time duration from the beginning of the simulation until the instant
when the
active (a node transmitting/receiving) last node died, that is,
there is no live transmitter-receiver pair left in the network. The
Lifetime
RCVD is specified as the instant in time when the last packet is received.
The average throughput has been defined as
(5)and average sending bit rate has been defined as
(6)The sending bit rate or
throughput Jain's fairness index is estimated according to the following
equation:
(7)where
is the number the contending flows, and
is sending bit rate (Sbit) or throughput (Thr). If all flows get the same amount of
(sending bit rate or throughput), then the
fairness index equals 1, thus the network is
fair [22].
Since the SNAPdMac protocol lives longer than the IEEE
802.11 DCF, we have defined a coefficient of collisions,
,
which equals
(8)in order to be able to compare
fairly the total number of collisions experienced with respect to the total
number of packets received.
In Table 1 we present the general simulation
parameters, where the abbreviation thr. means a threshold. Other
parameters used in specific simulations are mentioned in the corresponding
paragraphs. If we do not mention parameters in some paragraphs, then the
default values (in italic in brackets shown in the table) are used.
Table 1: Simulations parameters.
In all simulations we have applied the shadowing
propagation model [21] with different values of the path loss exponent (
) and shadowing deviation (
), according to the Table 2 (see details in
[21]).
Table 2: Typical values of path loss exponent and
shadowing deviation.
We have assumed that the receive power (
) is approximately
(like in [23]) of the maximum transmit power (
). The idle power (
) is approximately
of the maximum transmit power (
), since in reality the interface has a very
large idle energy consumption when it operates in ad hoc mode, as
reported in [24]. The
maximum transmit power of a node is assumed to cover the whole transmission
range of
meters (or
meters, resp.). When the node energy
level goes down to
,
a node dies out.
In order to avoid the hidden and exposed node problems
in a wireless medium, the CSMA/CA protocol is extended with a virtual carrier
sensing mechanism, namely, RTS and CTS control packets. We have executed
simulations with both the basic access and RTS/CTS schemes, however, we have
also observed that the usefulness of the RTS/CTS exchange (especially in an ad
hoc mobile environment) is under discussion as already reported in [25–28].
5.2. Set Goals
In the
simulations presented in the next section, we have investigated the performance
of the SNAPdMac protocol against the IEEE 802.11 DCF standard and/or the basic power control protocol from [2]
(see in the appendix a short description of the protocol). The IEEE 802.11 DCF
standard is later referred to as standard or STD in the text or
figures. We have defined three different scenarios:
(1) random static/mobile network with optimistic
traffic,(2) high density and contention (HD/C) homogeneous
network with a sudden change of contention level,(3) high density and contention (HD/C)
heterogeneous network with a sudden change of contention level.
The goals of
the first scenario are the following:
(i) verification whether the SNAPdMac protocol
decreases both the total number of collisions and the number of collision per
node in a static network as expected,(ii) the same verification as above but in mobile
conditions,(iii) tuning
in order to find the best threshold in static
and mobile conditions,(iv) verification of the importance of the
transmission failure history by tuning the
value.
The goal of the
second scenario is the investigation of the behavior of the considered
protocols in a mobile homogeneous ad hoc network with smooth and then sudden,
sharp increase of the contention level followed by a sudden, sharp decrease of
the network load.
The third scenario is focused on
(i) analysis of the behavior of considered
approaches in heterogeneous networks with basic and RTS/CTS exchange scheme,(ii) tuning the
in order to investigate whether a faster (or
slower) power increase/decrease has an influence on the results obtained by the
SNAPdMac protocol.6. Simulations and Results
6.1. Random Network with Optimistic Traffic
6.1.1. Static Environment
First, we
defined a simulation scenario with 50 static nodes randomly distributed in a
shadowed urban area where nodes send a CBR packet (2048 bytes payload size)
from the beginning till the end of the simulation every 0.025 seconds. Figure 4
depicts the number of collisions per node in one of the simulation scenario
runs (10 simulation runs in total). Notice that with the SNAPdMac protocol most
of the nodes have much fewer collisions, although the lifetime of the network
is increased significantly (See Figure 6).
Figure 5 shows the total number of packets
received by the DCF standard, basic power control protocol, and SNAPdMac
protocol.
The tuning of the SNAPdMac protocol has been investigated as can be
observed in the figure. The SNAPdMac_Coll25 and SNAPdMac_Coll35 represent SNAPdMac with
equal to
and
,
respectively. The SNAPdMac_08Coll35 has a
value set to
instead of
.
Independently of the adjusted values of SNAPdMac, the protocol outperforms the
IEEE 802.11 DCF standard and basic power control protocol noticeably.
The SNAPdMac_08Coll35 achieves the best performance, which means that
the history of collisions experienced has an influence in a static environment.
Figure 4: Number of collisions per node; static network.
Figure 5: Total number of packets
received versus time; static network.
Figure 6: General results, 50 static and
mobile nodes.
Figure 6 shows the gain in percentage over the IEEE
802.11 DCF standard obtained by the basic power control protocol in the
static network and the SNAPdMac protocol in both static and mobile
networks. Note that, thanks to PHY
(power level adjustment) and MAC (recovery mechanism and CW resetting) layer
treatment, the number of collisions can be decreased noticeably while saving
lot of the energy which leads to an increase of the lifetimes (LND and lifetime
RCVD) of the network and the throughput. The performance of
the Lifetime RCVD
is worse than the performance of the lifetime of the network, which means that
some last transmitter-receiver pairs still have connections; however, the
packets cannot be routed to the destination. The performance of the throughput
fairness, which is improved tremendously, is explainable since nodes give
others more opportunity to access a wireless channel while decreasing the
transmit power level. On the other hand, by increasing the power (upon a
consecutive collision and too low noise in the vicinity), their chance to get
to the channel is increased since their coverage transmit area is wider.
However, the average delay is degraded, because the SNAPdMac protocol adjusts
both the lower and upper bounds of the CW range and allows to decrease (apart
from an increase) the power level, which in consequence can increase the
average delay.
6.1.2. Mobile Environment
We have also
executed simulations in a mobile environment (with the maximum speed of nodes
0.5, 1.0, and 1.5 m/s, resp.) with the same simulation settings as above
but this time with 20 simulation runs in order to ensure the validity of our
results. Figure 7 shows the total number of packets received by the IEEE 802.11
DCF standard, the basic power control protocol and tuned SNAPdMac.
In this simulation the
has been set to
and
since the amount of collisions in mobile
networks is expected to be larger than in a static environment. The
value has been set to
and
since in mobile conditions the history of
collisions is less important, because conditions change fast with the movement
of nodes. However, the history should be anyway taken into account, and, as we
have seen in our simulations, the
value should not be too low. Notice that the
SNAPdMac protocol with
(SNAPdMac_01Coll50) performs best till
around
seconds; however, later it performs worse than
the SNAPdMac protocol with the
equal to
(SNAPdMac_03Coll50), achieving a worse
throughput and lifetime performance. Notice that it is better to set the
to
than to a lower value in order to obtain the
best throughput performance.
Figure 7: Total number of packets received; mobile
network.
Analyzing the general results depicted in Figure 6 we
can see that despite the mobile conditions, the SNAPdMac protocol still
outperforms the IEEE 802.11 DCF standard noticeably in terms of the coefficient
of collisions (
), throughput, (receiving) lifetime, and FND
performance. The throughput fairness is worse in comparison with static
networks but still tremendously better than the standard. It is expected that
with an increasing speed of the nodes it is more difficult to ensure a
throughput fairness but thanks to the MAC-PHY solution of our protocol it
should still be much better than the careless scheme of the DCF standard.
6.2. High Density and Contention Scenario
with a Sudden Change of the Contention Level—Homogeneous Network
In the high
density and contention (HD/C) simulations we have defined a scenario
which helps to investigate the behavior of the IEEE 802.11 DCF standard and
SNAPdMac protocol in the mobile ad hoc network with the following steps (see
HD-C scenario 1 depicted in
Figure 8):
Figure 8: High
density/contention scenarios.
Figure 9: Throughput and energy
performance (HD/C).
(1) smooth increase of the contention level,(2) sudden increase of the contention level,(3) sudden, sharp decrease of the network load,(4) performance of “overworked” nodes
with possibly low energy.
This
simulation has been executed in a homogeneous network where each node has an
initial energy equal to

.
Nodes are randomly distributed in a

area. Nodes are transmitting
with a 0.25 seconds interval. The packet size is varied randomly (from 100 till
8192 bytes). The number of simulation runs equals 10. The
basic access
scheme of the DCF is used. SNAPdMac uses the default parameters specified in
Table
1. Since the DCF standard lives much shorter than our protocol we have
compared the following periods of time:
(i)
T1: 0–200 seconds—period of time
with moderate contention level and before a sudden increase of traffic; both
protocols are transmitting and receiving,(ii)
T2: 200–300 seconds—period of time
during sudden increase and decrease of contention; DCF died before 230 seconds,
but SNAPdMac is still alive,(iii)
T3: 300–350 seconds—period of time
after a high contention level period and when nodes (can) have depleted the
battery; at 350 seconds is the end of our simulations but SNAPdMac is still
alive with nodes having an energy from 0 till 1.5 J.
In order to
verify the lifetime of both protocols and remaining energy, the throughput and
energy performance is plotted in Figure
9. As we can see in the
figure, the DCF
standard is alive till 222.49 seconds, while a lot of the nodes using
the SNAPdMac protocol have not run out of energy yet at 350 seconds.
Figure 10 shows general results during
periods
of time.In
period T1, the throughput performance of both protocols is similar, however the
SNAPdMac protocol improves the fairness between flows remarkably, and decreases
the number of collisions meaningly. In period T2, the DCF nodes already die,
whereas with the SNAPdMac protocol none of the nodes dies (in all of the
simulation runs). In addition, the throughput performance gain over the IEEE
802.11 DCF standard is already noticeable. In the last period of time (T3), the
throughput performance gain increases even more (till almost 80%). Note that
this gain will be higher while prolonging the simulation time, because many of
the SNAPdMac nodes are still alive at 350 seconds. The first SNAPdMac node
scarcely dies just before the end of the simulation. The throughput fairness
gain still remains significant at the end of the simulation.
Figure 10: General results of HD/C
scenario (1)—homogeneous network.
6.3. High Density and Contention Scenario
with a Sudden Change of the Contention Level—Heterogeneous Network
We have defined
another HD/C scenario (H-D/C scenario 2 in Figure 8), in which a
contention level is induced faster than in the previous scenario. The
basic access scheme of the DCF is used. The network is heterogeneous, where nodes
have an initial energy randomly selected from the range 1–11 Joules.
Increases and decreases of the contention level are alternated in short periods
of time. These simulations point out the importance of the speed of
decrease/increase of the power level. Therefore, we have adjusted the physical parameter
of the SNAPdMac protocol in these simulations.
Figure 11 shows the total packets received versus the simulation run achieved by
the tuned SNAPdMac protocol against the basic power control protocol and
IEEE 802.11 DCF standard. We can easily see that the difference between the
SNAPdMac protocol performance and other schemes is huge. Comparing both schemes, we can conclude that the SNAPdMac protocol with
can improve the throughput performance around
,
and the FND and lifetime around
,
however it imposes more loss of routes (where nodes can think that a packet is
not received, because a collision occurred somewhere), resulting in a decrease
of the throughput fairness around
with these simulation settings. This behavior
can be explained as follows: because nodes decrease their power level too fast,
their signal strength is not strong enough to capture a wireless channel or
reach a destination (or another node on the way to a destination), which leads
to loss in the throughput fairness. These simulations show that it is important
to analyze both the total throughput performance and the fairness between
nodes. Using a similar power control protocol in WSNs changes the point of
view, since in WSNs this factor does not play an important role (on the
contrary, some nodes are more important than others), only the lifetime of the
network is. In this case, the fairness performance can be ignored emphasizing
the energy performance.
Figure 11: The total number of packets received—heterogeneous network, Basic access scheme.
Figure 12 depicts the throughput (small figures) and
total number of packets received (large figure) performance over the time. In this simulation run, the SNAPdMac
protocol with
(32SNAPdMac) receives more packets and
it lives a bit longer than the SNAPdMac protocol with
(21SNAPdMac). Analyzing the SNAPdMac
performance against the IEEE 802.11 DCF performance we can see a huge
improvement in terms of total packets received, the throughput, and lifetime
performance. Notice that between 37 and around 55 seconds (in the
small left figure or big one) the standard receives only 2 packets (in
order to observe this behavior better, we have plotted the standard performance
with points), which does not happen in the case of the SNAPdMac protocol.
Figure 12: Total number of packets received and
throughput—heterogeneous network, Basic access scheme.
We have executed the same simulation scenario with the
RTS/CTS exchange scheme. Figure 13 depicts the total number of packets received
(large figure) and the throughput performance (small figures) of the SNAPdMac
protocol against the basic power control protocol and IEEE 802.11 DCF
standard. The DCF does not solve the problem of a very
bad performance between 37 and 55 seconds using the RTS/CTS
exchange scheme. The basic power control scheme encounters the same
problem, but receiving more packets than the standard later on (see small
figure). The SNAPdMac protocol has no problem at all during the complete
simulation period of time receiving packets regularly. It outperforms the DCF
and basic power control protocol in terms of the throughput, total
packets received, and the lifetime. Passing to the general results (with basic
and RTS/CTS access scheme) plotted in Figure 14 we can conclude that the SNAPdMac
protocol considerably outperforms other schemes in terms of the sending bit
rate/throughput fairness and throughput performance.This is achieved
again at the expense of the delay; however, it is compensated by a noticeable
improvement of the FND and lifetime metrics. Notice that in this simulation
using power control without any control from the MAC layer induces more
collisions even than in the DCF standard. The power control triggered through
the MAC layer avoids a lot of collisions improving the performance noticeably.
Figure 13: Total number of packets
received and throughput—heterogeneous network, RTS/CTS exchange scheme.
Figure 14: General results of HD/C scenario (2)—heterogeneous network.
7. Concluding Remarks
In this work we
have designed a novel cross-layer protocol, SNAPdMac. The protocol adjusts the
upper and lower bounds of the contention window to lower the number of
collisions. Secondly, it uses a power control scheme, triggered by the MAC
layer, to limit the waste of energy and also to decrease the number of
collisions. The protocol has been evaluated in three different scenarios and
compared to the IEEE 802.11 DCF standard and the basic power control
protocol [2].
In the first scenario, our expectation that the
SNAPdMac protocol decreases the number of collisions (total and per node) is
confirmed. Moreover, it has been affirmed that the transmission failure history
is important in a static network, and it should not be entirely neglected in
mobile conditions.
The second scenario, high density and contention
homogeneous network evaluation, shows that the DCF lacks fairness, where the SNAPdMac
protocol can tolerate high contention conditions which is confirmed by a very
late death of the first node and the high activity of many nodes at the end of
the simulations.
The third scenario, with the energy heterogeneity of
nodes, proves that the DCF has difficulty in controlling the sending bit rate
fairness but also its total packets received performance degrades while
comparing it with the homogeneous scenario. In this scenario we have also
verified that the power adjustment should not be too fast or too slow, because
it induces too aggressive or too conservative behavior. We have shown that
using a faster decrease (increase) of the power leads to a degradation of the
throughput fairness. Using the power control without considering the MAC informations
can lead to an increase of collisions as it happens with the basic power
control protocol.
Summarizing, the SNAPdMac protocol outperforms the
IEEE 802.11 DCF [1]
and basic power control protocol [2] in static and mobile ad hoc networks both in
homogeneous and heterogeneous environments. Thanks to a noticeable energy
conservation and decrease of the number of collisions, SNAPdMac improves
significantly the lifetime of the network and increases both the throughput
performance and the sending bit rate/throughput fairness among contending
flows.
Algorithm 1: EsB algorithm.
Algorithm 2: Enhanced power control.
Algorithm 3: Enhanced power control.
Algorithm 4: Basic power control protocol.
Appendix
Basic Power Control Protocol
The basic
principle of the basic power control protocol is using a logarithmic
increase and decrease of the transmit power depending on the number of 1-hop
neighbors (NrN). If the number of neighbors increases, the power decreases,
otherwise the power level increases. The algorithm is executed every time when
the number of neighbors changes. The pseudocode of the algorithm is presented
in Algorithm 4 where the
is a variable and equals
where different values of the
have been discussed in [29].
References
- The Institute of Electrical and Electronic Engineers, “IEEE Computer Society LAN MAN Standards Committee: Wireless LAN Medium Access Control (MAC)
and Physical Layer (PHY) Specifications. ANSI/IEEE Std. 802.11,” ANSI/IEEE Std. 802.11, 1999 Edition, 1999.
- S. Romaszko and C. Blondia, “A MAC protocol for wireless ad hoc networks with power control,” in Proceedings of the International Workshop on Wireless Ad-hoc Networks (IWWAN '05), no. 54, London, UK, May 2005.
- K. Jamieson, H. Balakrishnan, and Y. C. Tay, “Sift: a MAC protocol for event-driven wireless sensor networks,” in Proceedings of the 3rd European Workshop on Wireless Sensor Networks (EWSN '06), vol. 3868, pp. 260–275, Zurich, Switzerland, February 2006.
- L. Guang and C. Assi, “Mitigating smart selfish MAC layer misbehavior in ad hoc networks,” in Proceedings of IEEE International Conference on Wireless and Mobile Computing, Networking and Communications (WiMob '06), pp. 116–123, Montreal, Canada, June 2006.
- A. Ksentini, A. Nafaa, A. Gueroui, and M. Naimi, “Determinist contention window algorithm for IEEE 802.11,” in Proceedings of the 16th IEEE International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC '05), vol. 4, pp. 2712–2716, Berlin, Germany, September 2005.
- P. Karn, “MACA—a new channel access method for packet radio,” in Proceedings of the ARRL/CRRL Amateur Radio 9th Computer Networking Conference, pp. 134–140, Ontario, Canada, September 1990.
- S. Agarwal, R. H. Katz, S. V. Krishnamurthy, and S. K. Dao, “Distributed power control in ad-hoc wireless networks,” in Proceedings of the 12th IEEE International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC '01), vol. 2, pp. F59–F66, San Diego, Calif, USA, September-October 2001.
- A. Acharya, A. Mishra, and S. Bansal, “MACA-P: a MAC for concurrent transmissions in multi-hop wireless networks,” IBM Research Report, IBM Corporation, Armonk, NY, USA, July 2002.
- E. Poon and B. Li, “SmartNode: achieving 802.11 MAC interoperability in power-efficient ad hoc networks with dynamic range adjustments,” in Proceedings of the 23rd IEEE International Conference on Distributed Computing Systems (ICDCS '03), pp. 650–657, Providence, RI, USA, May 2003.
- E.-S. Jung and N. H. Vaidya, “A power control MAC protocol for ad hoc networks,” in Proceedings of the 8th Annual International Conference on Mobile Computing and Networking (Mobicom '02), pp. 36–47, Atlanta, Ga, USA, September 2002.
- J. Lee, S.-J. Lee, W. Kim, D. Jo, T. Kwon, and Y. Choi, “RSS-based carrier sensing and interference estimation in 802.11 wireless networks,” in Proceedings of the 4th Annual IEEE Communications Society Conference on Sensor, Mesh and Ad Hoc Communications and Networks (SECON '07), pp. 491–500, San Diego, Calif, USA, June 2007.
- T.-S. Kim, H. Lim, and J. C. Hou, “Improving spatial reuse through tuning transmit power, carrier sense threshold, and data rate in multihop wireless networks,” in Proceedings of the 12th Annual International Conference on Mobile Computing and Networking (Mobicom '06), pp. 366–377, Los Angeles, Calif, USA, September 2006.
- J. Fuemmeler, N. H. Vaidya, and V. V. Veeravalli, “Selecting transmit powers and carrier sense thresholds for CSMA protocols,” University of Illinois at Urbana-Champaign, Urbana, Ill, USA, October 2004.
- X. Yang and N. H. Vaidya, “On physical carrier sensing in wireless ad hoc networks,” in Proceedings of the 24th Annual Joint Conference of the IEEE Computer and Communications Societies (INFOCOM '05), vol. 4, pp. 2525–2535, Miami, Fla, USA, March 2005.
- X. Yang, Efficient packet scheduling in wireless ad hoc networks, Ph.D. thesis, University of Illinois at Urbana-Champaign, Urbana, Ill, USA, 2005.
- A. Vasan, R. Ramjee, and T. Woo, “ECHOS: enhanced capacity 802.11 hotspots,” in Proceedings of the 24th Annual Joint Conference of the IEEE Computer and Communications Societies (INFOCOM '05), vol. 3, pp. 1562–1572, Miami, Fla, USA, March 2005.
- J. Chen, S.-H. G. Chan, Q. Zhang, W.-W. Zhu, and J. Chen, “PASA: power adaptation for starvation avoidance to deliver wireless multimedia,” IEEE Journal on Selected Areas in Communications, vol. 21, no. 10, pp. 1663–1673, 2003.
- C. J. Colbourn, M. Cui, E. L. Lloyd, and V. R. Syrotiuk, “A carrier sense multiple access protocol with power backoff (CSMA/PB),” Ad Hoc Networks, vol. 5, no. 8, pp. 1233–1250, 2007.
- S. Romaszko and C. Blondia, “Bounds selection—dynamic reset protocol for wireless ad hoc LANs,” in Proceedings of IEEE Wireless Communications and Networking Conference (WCNC '07), pp. 248–253, Kowloon, Hong Kong, March 2007.
- L. Bononi, M. Conti, and E. Gregori, “Runtime optimization of IEEE 802.11 wireless LANs performance,” IEEE Transactions on Parallel and Distributed Systems, vol. 15, no. 1, pp. 66–80, 2004.
- The Network Simulator NS: http://www.isi.edu/nsnam/ns.
- R. K. Jain, D.-M. Chiu, and W. R. Hawe, “A quantitative measure of fairness and discrimination for resource allocation in shared computer system,” DEC Research Report, Digital Equipment Corporation, Littleton, Mass, USA, 1984.
- S. Gobriel, R. Melhem, and D. Mossé, “BLAM: an energy-aware MAC layer enhancement for wireless adhoc networks,” in Proceedings of IEEE Wireless Communications and Networking Conference (WCNC '05), vol. 3, pp. 1557–1563, New Orleans, La, USA, March 2005.
- L. M. Feeney, “Investigating the energy consumption of an IEEE 802.11 network interface,” Swedish Institute of Computer Science (SICS), Kista, Sweden, December 1999.
- M. Conti, “Body, personal, and local ad hoc wireless networks,” in The Handbook of Ad Hoc Wireless Networks, pp. 3–24, CRC Press, Boca Raton, Fla, USA, 2002.
- S. Xu and T. Saadawi, “Does IEEE 802.11 MAC protocol work well in multi-hop wireless ad hoc networks?,” IEEE Communication Magazine, vol. 39, no. 6, pp. 130–137, 2001.
- S. Xu and T. Saadawi, “Revealing the problems with 802.11 medium access control protocol in multi-hop wireless ad hoc networks,” Computer Networks, vol. 38, no. 4, pp. 531–548, 2002.
- F.-Y. Hung and I. Marsic, “Effectiveness of physical and virtual carrier sensing in IEEE 802.11 wireless ad hoc networks,” in Proceedings of IEEE Wireless Communications and Networking Conference (WCNC '07), pp. 143–147, Kowloon, Hong Kong, March 2007.
- S. Romaszko and C. Blondia, “Enhancements of the IEEE 802.11, a MAC protocol for ad hoc network with history of power adjustment,” in Proceedings of the 3rd IEEE International Workshop on Mobility Management and Wireless Access in Conjunction with the International Conference on Wireless Networks, Communications and Mobile Computing, vol. 1, pp. 48–54, Maui, Hawaii, USA, June 2005.