<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Intelligent Energy E cient and MAC aware Multipath QoS Routing Protocol for Wireless Multimedia Sensor Networks</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Hasina Attaullah</string-name>
          <email>hasina.phdcse@students.mcs.edu.pk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Muhammad Faisal Khan</string-name>
          <email>mfaisalkhan@mcs.edu.pk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>National University of Sciences and Technology Islamabad</institution>
          ,
          <country country="PK">Pakistan</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Sensor devices are limited energy, limited processing power and low memory devices. Providing quality of service (QoS) with highly constrained devices is always a challenging issue. To conserve energy and to provide application specific QoS requirement is a major concern of wireless multimedia sensor networks (WMSNs). The best solution for such network is using multi-criteria decision making. An artificial intelligence (AI) suits best for decision based on multiple criteria. In this paper fuzzy logic is used to select an optimal path for routing from multiple paths. Expected transmission count (ETX), residual energy (RE) and hop count (HP) is used in decision making by fuzzy logic. The proposed approach improves the throughput and avoids lossy links using the ETX which is the requirement of multimedia tra c and RE and HC also help in selecting high energy and minimum hop count path. Duty cycle (DC) is adjusted dynamically which minimizes the energy consumption of a node as compared to the static duty cycle approaches.</p>
      </abstract>
      <kwd-group>
        <kwd>Fuzzy logic</kwd>
        <kwd>wireless multimedia sensor networks</kwd>
        <kwd>QoS</kwd>
        <kwd>routing</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Diversity of wireless sensor networks (WSNs)[1] opens many new research
areas. This lead researchers to explore complex nature of WSNs and their
solutions. WSNs are involved in every other application of a life, i.e. in health
care, in surveillance, for tra c control, in the agriculture and the environment,
underwater, at home for the automation and many more. Due to diversity of
WSNs, mostly applications are using heterogeneous data, i.e. audio, video and
scalar data. Also sensor devices are energy constrained and low power limited
capability devices. Keeping in view the heterogeneous nature of data and sensor
node constraints there is a need to devise an intelligent protocol for forwarding
packets to the sink with minimum energy consumption, high data rates and
ontime delivery.</p>
      <p>Taking decisions based on one metric is not feasible for WMSNs [2]. For
attaining QoS and on-time delivery of multimedia tra c requires more than one
parameters to decide which path to follow for forwarding the packets. And for
multiple criteria decision making, AI is the best choice. In this paper we have
used artificial intelligence and proposed an intelligent energy e cient and MAC
aware multipath QoS routing protocol (IE2MR) for data delivery in WMSNs.
The main points of protocol are as follows:
• Three crisp inputs (ETX,RE and HC) and one output (PS) is defined as a
first step.
• Crisp inputs are mapped to fuzzy sets.
• Membership functions (MFs) are defined for three input variables.
• Rules are made based on the defined input variables and their MFs.
• Rules are evaluated and defuzzified using centroid and probability of PS is
done.
• Based on PS probability forwarding candidate is selected. Node with the
high energy and high throughput link is selected for forwarding packet.
• DC is adjusted according to the selected path probability to conserve nodes
energy. Nodes which are not involved in routing are given more sleep time
to increase network’s life time.</p>
      <p>The rest of the paper is organized as follows. Related work is discussed in
section 2. In section 3 proposed approach is explained. Results are elaborated in
section 4 and section 5 concludes the paper.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Literature review</title>
      <p>Many fuzzy logic based routing and cluster head (CH) selection algorithms for
WSNs are proposed in literature. Some of them with their core features are
explained below.</p>
      <p>G. Rana et. al.[3] proposed an improve version of LEACH [4] protocol using
fuzzy logic. In the proposed technique metrics used for fuzzy logic decision
making are battery level, distance and node density. Based on these three variables
decision is made and cluster head (CH) is selected. Authors claimed that in the
proposed protocol node survived for the longer time as compared to the LEACH.
CHEF another cluster head selection algorithm is proposed by J.M. kim et. al.[5].
The aim of the proposed approach is to increase the life time of a network by
minimizing energy consumption. Fuzzy logic is used for the CH selection and
parameters used for a decision are energy and local distance.</p>
      <p>A fuzzy approach to energy optimized routing for WSNs is proposed in [6] to
increase life time of a network. Metrics used for the decision making are
transmission energy, remaining energy,energy consumption rate , queue size, distance
from gateway and weight. In [7] author proposed a QM-EDCA which is the
enhancement of 802.11e EDCA. Collision rate and remaining energy level is used
as variables in the fuzzy logic decision making. Arbitration inter frame space
number for di↵ erent tra c classes is set according to the fuzzy logic decision.
Results shows that the proposed approach is energy e cient and with less
collisions. Improving Decision-Making for Fuzzy Logic-based Routing in Wireless
Sensor Networks is proposed by E. Ahvar et. al. [8]. In this paper number of
hops and the energy level is considered as a fuzzy logic parameters for decision
making.</p>
      <p>H. Jiang et. al. [9] proposed a fuzzy-logic based energy optimized routing for
wireless sensor networks. The aim of a proposed approach is to increase network
lifetime by balancing nodes energy and by finding the degree of closeness of a
node to the sink.
3</p>
      <p>IE2MR</p>
    </sec>
    <sec id="sec-3">
      <title>Model and Design</title>
      <p>In this paper fuzzy logic [10] is used to intelligently decide a path for a routing
with the high energy node, minimum hop count and a successful packet
transmission count. From multiple paths with di↵ erent probabilities, a path with the
highest path selection (PS) probability is used for forwarding a packet. Based
on the fuzzy decision maker DC is adjusted. The complete proposed model is
elaborated in subsequent sections.
3.1</p>
      <p>
        Fuzzy Inference Engine (FIE)
Fuzzy logic uses two di↵ erent FIE, sugeno and mamdani. In this paper mamdani
type FIE is used. FIE works with di↵ erent modules to give one aggregated output
shown in Fig. 1. It has the capability to combine di↵ erent metrics for decision
making. Di↵ erent parts of FIE are fuzzification to fuzzify the inputs, inference
engine for rule evaluation and defuzzfication for aggregation. Block diagram of a
proposed methodology is shown in Fig. 2 and detailed explanation of proposed
approach is given in following sections.
Fuzzification In fuzzification crisp inputs which are human understandable
numbers are converted into fuzzy sets which are range of values. Based on these
fuzzy sets MFs are designed. Every MF has its unique range, which help in
decision making. Di↵ erent performance metrics used in this paper for decision
making are:
• HC : No of hops are calculated from a source to the sink using advertisement
packets. No of hops is a numeric value and crisp input. Let n be the total
number of nodes and h be the number of hops from source to sink then
fuzzified input for HC is calculated using (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ).
      </p>
      <p>RE =</p>
      <p>RE
100
HC =
✓ h ◆</p>
      <p>
        n ⇥ ⇡
Whereas value of ⇡ is 3.14 and it is used to elevate the HC fuzzified input.
HC is fuzzified into range of values from 0 to 1 based on the calculated value
using (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ). The categorization for MF is as follows: if HC is 10 or less than
10 in 100 nodes then MF will be minimum and value of HC using (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) will
be less than 0.1.It means that HC 10% of total number of nodes means MF
as minimum, HC between 10 20% means MF as moderate and HC above
20% means MF as maximum as shown in Fig. 3c.
• RE : RE is calculated at the media access control (MAC) layer and given to
the routing layer for decision making. Di↵ erent MFs for RE is shown in Fig.
3a. Fuzzified values for RE are calculated using (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ).
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
Equation (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) calculates ETX between two nodes A and B.
      </p>
      <p>P =
rp
rt
ET X =</p>
      <p>1</p>
      <p>PA ⇥ PB</p>
      <p>
        The range of values for RE is between 0 to 1.
• ETX :ETX is calculated at the MAC layer using probe packets. ETX is
expected number of counts for successfully delivering a packet from source to
sink. ETX was first proposed by De Couto et al. [11], for improving
throughput of a wireless link.To find ETX probability of a successful transmission
of a packets and its acknowledgments are calculated. Let number of probes
received by any given node is rp and rt is the number of probes that should
have been received, then probability P of a successful packet transmission is
given by (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ).
      </p>
      <p>
        The ETX value 1 denotes loss-less path and 100% throughput. The range
of values for ETX is between 1 to infinity, for our convenience we have limit
maximum value till 10. MFs and fuzzy set for ETX is shown in Fig. 3b.
• PS : PS is output variable and based on the three input variables path is
selected. MFs for probability of a PS is very low, low, medium, high and very
high given in Fig. 3d. Path with the very high probability is given preference
over other MFs. Path with the low and very low probability is not selected
for forwarding packets.
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
(a) MFs for RE
      </p>
      <p>
        (b) MFs for ETX
(c) MFs for HC
(d) MFs for PS
Inference engine In inference module rules are made and evaluated using
Boolean logic. For three variables each with three MFs total possible rules are:
33 = 27, shown in Table(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ). Rules are evaluated using AN D, OR or inverse
logic. In our proposed method we have used AN D logic shown in (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ).
      </p>
      <p>
        AN D : [ RE\ ET X\ HC (x) = min(µRE (x), µET X (x), µHC (x))
(
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
minimum minimum low very low
minimum minimum medium high
minimum minimum high very high
minimum moderate low very low
minimum moderate medium medium
minimum moderate high medium
minimum maximum low very low
minimum maximum medium very low
minimum maximum high very low
moderate minimum low very low
moderate minimum medium medium
moderate minimum high high
moderate moderate low very low
moderate moderate medium medium
moderate moderate high medium
moderate maximum low very low
moderate maximum medium low
moderate maximum high low
maximum minimum low very low
maximum minimum medium medium
maximum minimum high medium
maximum moderate low very low
maximum moderate medium low
maximum moderate high medium
maximum maximum low very low
maximum maximum medium very low
maximum maximum high low
Defuzzification After rules evaluation defuzzification is done by means of a
centroid method. Based on evaluated rules and aggregation of inputs, output is
calculated for PS. Defuzzification of output and rules evaluation is shown in Fig.
4. It shows that probability of PS is very high when we have high RE, minimum
HC and minimum ETX.
DC is adjusted according to a PS decision. As shown in the Fig. 5 initially duty
cycle of a node is half sleep (OFF) and half wake (ON) mode. After FIE decision,
duty cycle is adjusted according to probability of PS. With probability of PS as
medium the sensor node ON its receiver for 25 % more time and sleep 25 % less
time as compared to initial DC. And the decision of PS as very high lead to 75
% more wake time for a sensor node and 75 % reduction in the sleep time. In
this way DC is adjusted dynamically, high energy and high throughput paths is
given more wake time as compared to low energy and lossy paths.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Results</title>
      <p>Surface graph for three input variables and one output variable is shown in Fig.
6a,6b and 6c. The combination of two inputs are on x-axis and y-axis and the
output is at z-axis. In Fig. 6a, HC and ETX is plotted against the PS with RE
value 0.6. With higher HC and ETX value the probability of PS is very low and
with lower HC and ETX probability of PS is high. With the lower value of RE
in Fig. 6b and Fig. 6c probability of PS is very low.</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusion</title>
      <p>In this paper fuzzy logic based path selection algorithm is proposed for attaining
high throughput and conserving energy. The proposed approach selects best
feasible path from multiple paths for forwarding data. The intelligent decision
making is through FIE, based on three di↵ erent performance metrics. HC, ETX
and RE metrics are used to decide energy e cient, loss-less and minimum hop
count path for routing. DC is adjusted dynamically based on probability of path
selection to minimize energy consumption.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>I.F.</given-names>
            <surname>Akyildiz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Su</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Sankarasubramaniam</surname>
          </string-name>
          ,
          <string-name>
            <surname>E. Cayirci. :</surname>
          </string-name>
          <article-title>A survey on sensor networks</article-title>
          ,
          <source>IEEE Communications Magazine</source>
          .
          <volume>40</volume>
          (
          <issue>8</issue>
          ) (
          <year>2002</year>
          ), pp.
          <fpage>104112</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>I. F.</given-names>
            <surname>Akyildiz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Melodia</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K. R.</given-names>
            <surname>Chowdhury</surname>
          </string-name>
          .:
          <article-title>A survey on wireless multimedia sensor networks</article-title>
          .
          <source>Comput. Netw.</source>
          , vol.
          <volume>51</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>921960</fpage>
          ,
          <string-name>
            <surname>Mar</surname>
          </string-name>
          .
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Ge</given-names>
            <surname>Ran</surname>
          </string-name>
          <string-name>
            <surname>a</surname>
          </string-name>
          , Huazhong Zhang b, Shulan Gong c, :
          <article-title>Improving on LEACH Protocol of Wireless Sensor Networks Using Fuzzy Logic</article-title>
          .
          <source>Journal of Information and Computational Science</source>
          <volume>7</volume>
          :
          <issue>3</issue>
          (
          <year>2010</year>
          )
          <fpage>767775</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>W.R.</given-names>
            <surname>Heinzelman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Chandrakasan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Balakrishnan</surname>
          </string-name>
          ,
          <article-title>Energy-e cient communication protocol for wireless microsensor networks</article-title>
          .
          <source>IEEE Proceedings of the Hawaii International Conference on System Sciences, January</source>
          <year>2000</year>
          , pp.
          <fpage>110</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Kim</surname>
            ,
            <given-names>J. M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Park</surname>
            , S. H., Han,
            <given-names>Y. J.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Chung</surname>
            ,
            <given-names>T. M.:</given-names>
          </string-name>
          <article-title>CHEF: Cluster head election mechanism using fuzzy logic in wireless sensor networks</article-title>
          .
          <source>10th international conference on advanced communication technology</source>
          ,
          <source>ICACT2008</source>
          (Vol.
          <volume>1</volume>
          , pp.
          <fpage>654659</fpage>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Tarique</given-names>
            <surname>Haider</surname>
          </string-name>
          , Mariam Yusuf :
          <article-title>A Fuzzy Approach to Energy Optimized Routing for Wireless Sensor Networks</article-title>
          .
          <source>The International Arab Journal of Information Technology</source>
          , Vol.
          <volume>6</volume>
          , No. 2,
          <string-name>
            <surname>April</surname>
            <given-names>2009</given-names>
          </string-name>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Hicham</surname>
            <given-names>Touil1</given-names>
          </string-name>
          and
          <article-title>Youssef Fakhri: A Fuzzy-based QoS Maximization Protocol for WiFi Multimedia (IEEE 802.11e) Ad hoc Networks</article-title>
          .
          <source>International Journal of Communication Networks and Information Security (IJCNIS)</source>
          Vol.
          <volume>6</volume>
          , No.
          <issue>3</issue>
          ,
          <string-name>
            <surname>December</surname>
            <given-names>2014</given-names>
          </string-name>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Ahvar</surname>
          </string-name>
          , E.;
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>A.M.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Crespi</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          :
          <article-title>Improving Decision-Making for Fuzzy LogicBased Routing in Wireless Sensor Networks</article-title>
          .
          <source>In IEEE 10th International Conference on Ubiquitous Intelligence and Computing and 10th International Conference on Autonomic and Trusted Computing (UIC/ATC)</source>
          , pp.
          <fpage>583588</fpage>
          ,
          <string-name>
            <surname>Dec</surname>
          </string-name>
          . 2013
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Haifeng</given-names>
            <surname>Jiang</surname>
          </string-name>
          , Yanjing Sun, Renke Sun, and Hongli Xu.:
          <article-title>Fuzzy-Logic-Based Energy Optimized Routing for Wireless Sensor Networks</article-title>
          .
          <source>International Journal of Distributed Sensor Networks</source>
          , vol.
          <year>2013</year>
          ,
          <string-name>
            <surname>Article</surname>
            <given-names>ID</given-names>
          </string-name>
          216561, 8 pages,
          <year>2013</year>
          . doi:
          <volume>10</volume>
          .1155/
          <year>2013</year>
          /216561
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>E.</given-names>
            <surname>Cox</surname>
          </string-name>
          .
          <article-title>Fuzzy fundamentals</article-title>
          . Spectrum, IEEE,
          <volume>29</volume>
          (
          <issue>10</issue>
          ):
          <fpage>5861</fpage>
          ,
          <year>1992</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>D. S. J. De Couto</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Aguayo</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Bicket</surname>
            , and
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Morris</surname>
          </string-name>
          .
          <article-title>: A High-Throughput Path Metric for Multi-Hop Wireless Routing</article-title>
          ,
          <source>Proceedings of the Ninth Annual International Conference on Mobile Computing and Networking (MobiCom '03)</source>
          , pp.
          <fpage>134146</fpage>
          ,
          <year>September 2003</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>