Professional Documents
Culture Documents
Priority-Based Queuing and Transmission Rate Management Using A Fuzzy Logic Controller in Wsns
Priority-Based Queuing and Transmission Rate Management Using A Fuzzy Logic Controller in Wsns
Priority-Based Queuing and Transmission Rate Management Using A Fuzzy Logic Controller in Wsns
com
ScienceDirect
ICT Express 3 (2017) 101–105
www.elsevier.com/locate/icte
Abstract
Wireless sensor networks (WSNs) operate under challenging conditions, such as maintaining message latency and the reliability of data trans-
mission and maximizing the battery life of sensor nodes. The aim of this study is to propose a fuzzy logic algorithm for solving these issues,
which are difficult to address with traditional techniques. The idea, in this study, is to employ a fuzzy logic scheme to optimize energy con-
sumption and minimize packet drops. We demonstrated how fuzzy logic can be used to tackle this specific communication problem with minimal
computational complexity. In this context, the implementation of a fuzzy logic in the Carrier Sense Multiple Access with Collision Avoidance
(CSMA/CA) mechanism is achieved through filling the queue length and the traffic rate at each node. Through simulations, we show that our
proposed technique has a better performance in terms of energy consumption compared to the basic implementation of CSMA/CA.
⃝c 2017 The Korean Institute of Communications Information Sciences. Publishing Services by Elsevier B.V. This is an open access article under
the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
1. Introduction customers and average waiting time in the network from one
perspective and to study traffic stabilization from another per-
The rapid technological advances in wireless communica- spective. Fuzzy queuing and traffic rate control are emerging
tion systems, low-power digital electronics, small-scale energy areas of research in WSN management. Most of the queuing
supplies, microprocessors, and low-power radio devices have models studied in the last three decades have employed a first-
now enabled the development of low-power multifunctional come-first-served (FCFS) service discipline. Nonetheless, this
sensor devices for detecting and reacting to changes in their is evidently not the only way of monitoring; there are also many
surrounding environments. These sensor devices have a small other alternatives such as the last-come-first-served service.
battery, a tiny microprocessor, and a set of transducers for ac- In priority schemes, customers with the highest priority are
quiring information that reflects the changes in the surrounding selected for service ahead of those with lower priority, indepen-
environment. dent of their time of arrival into the network. WSNs perform
The emergence of low-power and minute wireless sensor under the contradictory requirements of maintaining message
devices has fuelled intensive research efforts during the last latency and the reliability of data transmissions, while, at the
decade, which, in turn, has led to the development of wireless same time, maximizing the battery life of each single sensor. In
sensor networks (WSNs). Fuzzy logic theory can be used to in- this context, the main goal of our research was to propose an
vestigate queuing phenomena such as the average number of optimized algorithm that allows priority queuing and transmis-
sion rate management based on a fuzzy logic controller. The
proposed algorithm provides performance measures regarding
∗ Corresponding author.
the crisp values for the fuzzy priority model with an unreliable
E-mail address: imen.bouazzi@gmail.com (I. Bouazzi).
Peer review under responsibility of The Korean Institute of Communica-
server using two fuzzy variables. The fuzzy variables designed
tions Information Sciences. (queue length and traffic rate) were aimed at giving priority to
✩ This paper has been handled by Prof. Jun Heo. nodes that drop packets and consume more energy.
http://dx.doi.org/10.1016/j.icte.2017.02.001
2405-9595/⃝ c 2017 The Korean Institute of Communications Information Sciences. Publishing Services by Elsevier B.V. This is an open access article under the
CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
102 I. Bouazzi et al. / ICT Express 3 (2017) 101–105
The rest of this paper is organized as follows. Section 2 pro- network lifetime, energy consumption, data transmission, and
vides an overview of the related works. In Section 3, the design other QoS metrics.
of the fuzzy algorithm will be discussed. Section 4 briefly in- The authors in [11] proposed a priority-based mechanism
troduces the problem statement. Section 5 evaluates the efficacy that makes a compromise between locally generated data and
of the proposed technique using simulations. Finally, Section 6 transit data. They proposed congestion-aware routing tries for
summarizes the paper. finding more affordable routes. However, a fuzzy rate controller
is utilized for rate controlling, which uses two criteria as inputs:
2. Related works buffer occupancy and congestion score.
In this paper, we concentrate on dynamically adjusting
the parameters of CSMA/CA according to the traffic rate
Large number of algorithms for priority control have been
and the queue buffer size. The proposed algorithm will tune
developed based on fuzzy logic systems to enhance the network
some parameters through a fuzzy logic system based on the
performance. In this section, we discuss the works done by
IEEE802.15.4 MAC protocol; the use of this algorithm should
some authors that are related to our research. Ramesh et al. [1]
lead to better energy efficiency and throughput.
used a procedure for finding various performance measures in
terms of crisp values for the total expected cost of a fuzzy batch
3. Problem statement
arrival queuing model using fuzzy numbers such as the arrival
rate, service rate, batch size, service cost, and holding costs. The MAC layer has a control for coordinating channel access
They transformed a fuzzy queue with batch arrival into a family to maximize throughput with an acceptable end-to-end packet
of crisp queues and developed a parametric programming delay and minimal energy consumption. The IEEE 802.15.4
approach for arrival queues with fuzzy parameters. Ashok MAC protocol is, in fact, planned to serve a set of applications
Kumar [2] developed a nonlinear programming approach for with very low power consumption and cost requirement, and
deriving the membership functions of steady-state performance with relaxed needs for data rate and QoS. We propose to
measures in the Erlang service model, where the arrival rate schedule our work with a fuzzy scheme to improve the QoS,
and service rate are fuzzy numbers. The basic idea is based where an implementation of CSMA/CA is included.
on Zadeh’s extension principle. Two pairs of mixed integer We have added a priority level to nodes that want access
nonlinear programs with binary variables are formulated to to the channel. However, we dynamically adjust the backoff
calculate the upper and lower bonds of the system performance. exponent (BE) value according to the queue length and the
Chen et al. [3] proposed a dynamic adaptive medium access traffic rate of each node. Moreover, we know that, if the traffic
control (MAC) algorithm in energy-harvesting WSNs. They load is greater than the available capacity of the sensor network,
generated a dynamic bound of the backoff window. Hence, congestion occurs, which causes a buffer overflow, a packet
the system can dynamically adjust the parameters of the drop, and a deterioration of network throughput. This is caused
slotted CSMA/CA mechanism using a fuzzy algorithm, and the by the whole information circulating between nodes. Wherever
parameters are also influenced by the energy-harvesting mode nodes receive more data, the probability of lost information
in the node. becomes critical and high. The decisions based on fuzzy logic
Many authors [4–6] used fuzzy queuing to propose a pro- can be used for transmission rate management and queue size
cedure for finding various performance measures in terms of assessment.
crisp values for a fuzzy queuing model with an unreliable server We classify nodes into three clusters: low priority, medium
where the arrival rate, service rate, breakdown rate, and re- priority, and high priority. Nodes in the low-priority cluster
pair rate are all fuzzy numbers. The authors in [7–9] used a do not have any critical data that should be sent immediately.
priority-based fuzzy decision packet scheduling algorithm and Thus, we can increase their BE value to give chance to other
a priority-based CSMA/CA mechanism to develop the mem- nodes to access the channel. On the other hand, nodes classified
bership function of the system performance. They proposed an as high priority should send their data first. This is done by
algorithm for maximizing the system quality of service (QoS) decrementing their default BE value. Medium nodes select a
through maintaining the time, energy, and packet drop con- random value of BE given by the standard. The fuzzy logic
straints. scheme is illustrated in Fig. 1.
The priority-based, application-specific congestion control
clustering protocol (PASCC) in Kaur and Kumar et al., [10] 4. New design of the fuzzy algorithm
integrates the mobility and heterogeneity of the nodes. PASCC
detects congestion in WSNs based on the type and priority of 4.1. Motivation
the captured data. The cluster heads (CHs) prioritize packets
based on distance; the farther nodes get priority over the nearby Fig. 2 shows a block diagram of the fuzzy logic system.
nodes. CHs also make sure that the extra resources consumed There are two fuzzy inputs, i.e., queue length and traffic rate,
by farther nodes are utilized effectively. During congestion, which are fuzzed into linguistic variables. Therefore, an input
prioritized packets are routed to the base station (BS) owing value to a fuzzy system has a level of uncertainty within
to their timeliness requirements, and non-prioritized packets a specific range. This feature makes fuzzy algorithms very
are dropped. PASCC achieves better performance in terms of adaptive to dynamic conditions.
I. Bouazzi et al. / ICT Express 3 (2017) 101–105 103
Table 1
Fuzzy rule base.
Fig. 1. The fuzzy logic scheme.
TQ Low Medium High
Empty Low Low Medium
Medium Low Medium High
Full Medium High High
Table 2
Simulation parameters.
Parameter Value
Simulation time 100 s
Channel frequency 2.4 GHz
Topology Cluster tree
Queue size 50
Packet size 512 kbps
Initial energy 1000 J
Number of nodes 30
Network area (m × m) 200 × 200