**Open Access**-
**Authors :**Muneeb Afzal C , Dr. K Venkatachalam -
**Paper ID :**IJERTV9IS080099 -
**Volume & Issue :**Volume 09, Issue 08 (August 2020) -
**Published (First Online):**17-08-2020 -
**ISSN (Online) :**2278-0181 -
**Publisher Name :**IJERT -
**License:**This work is licensed under a Creative Commons Attribution 4.0 International License

#### Fuzzy Inference Routing Algorithm to Enhance the Network Lifetime of Heterogeneous Wireless Sensor Networks

Muneeb Afzal C

Assistant Professor

Department of Electronics and Communication Engineering Navodaya Institute of Technology, Raichur-584103, Karnataka, India

Dr. K Venkatachalam

Professor and Head

Department of Electronics and Communication Navodaya Institute of Technology, Raichur-584103, Karnataka, India

Abstract In the wireless sensor network system the route discovery and the dissemination of the node energy has been the major aspect in the network lifetime. The nodes in the network will be distributed at the area by using the searching method for the link or the path. All the nodes in a network are connected to each other by using the link establishment with the minimal energy utilization. Hence the distributed energy aware fuzzy logic assisted routing protocol has been proposed with the comparative study of fuzzy inference. The tabu search and the fuzzy assisted routing for data transmission have been proposed to compare and analyze the algorithms for better life time of the network.

KeywordsFuzzy logic, tabu search, wireless sensor network

INTRODUCTION

In general, the use of the network has been in high need as many of the real time applications will be processed by the line services or the network node. The WSN or wireless sensor network system is capable of not only transmitting the data but also sensing the data arrival and transmission by using the specially designed sensors. [1] The use of sensor nodes is efficient to reach the optimal goal of data transmission.

In the recent time the increase in the lifetime of the WSN has been gaining the interest because of its low cost processing. Many methods like LEACH have been developed to increase the overall lifetime.

Problems causing low lifetime of network

Looping node links

Overlapping paths in the routes

No data aggregation

More nodes in unreachable state

No energy aggregation etc

In this work we have stated the routing, overlapping and link distance based criteria to solve the problem.

T Haider et al, proposed an energy aware routing mechanism using the concept of the fuzzy logic. The system gateway will do the operation of arranging the routes for the nodes and also maintains the centralized sensor nodes routing table which will indicate that which of the hop is next to the other nodes [2]. It uses the fuzzy logic concept for determining the total cost of the established link between

Singh et al, surveyed many of the research works which are in general focused on mainly the energy efficient hierarchical sensor nodes cluster-based routing protocols in the architecture of the WSN. The main challenge in any of the proposed models was energy sources for the sensors in the data transmission. The design of protocols in the WSN has the

objective to keep the sensor nodes operating as long as possible, hence it will enhance the total network lifetime. [3]

S Al Shawi et al, proposed a routing method that extends the overall lifetime of the network by using the combination of fuzzy approach and also by using the unique A-star algorithm. The proposed method has been based on computation centrally of the routing schedule in view of the BS. [4]

S Lee et al, proposed the fuzzy-logic based nodes clustering algorithm by using the energy predication model with it. Objective of proposed algorithm is to enhance the total lifetime of WSN. It is achieved by distributing the workload across the nodes evenly by the proper selection of the CHs. [5] Tripti Sharma et al, proposed fuzzy based master cluster head election LEACH protocol. The selection of the CH is achieve by using the fuzzy rules set based on the total available energy and based on the proximity of the total distance need to traverse by using the selected path. The node having the residual energy among the remaining of the CH is selected as the Master Cluster Head (MCH). It is the responsible node for the transmission of the data by

aggregating to base station. [6]

The main objectives of the proposed works are:

Increase the lifetime of the individual node and network

To make the link or path stable over period of time

Fuzzy network can be modeled into multiple networks

To achieve the same in heterogonous network in single architecture

SYSTEM ANALYSIS

Existing system

In the past, many models which has been used such as LEACH Artificial Bee Colony (ABC) which is inspired by the honey bees operation, Multi-hop Routing with LEACH (MR- LEACH) protocol, Cost Function Based Routing Algorithms and many more of the methods has been proposed in the past by many authors having some issues as

Disadvantages

Energy is not efficiently used

Nodes cannot be stable longer time

Lifetime of network is less

Nodes link may be in loop

Proposed System

Many methods are considered such as the energy required by using the node energy and packet rate to discover the network lifetime. Here the proposed algorithm is Fuzzy inference Routing System (FIRS) based distributed energy aware fuzzy logic protocol (F-DEFL) which will be compared with the existing Tabu searching for route establishment with the connected nodes. Reaching each node is important as it will keep the node data updated. The need of the connected nodes will help to utilize the energy as least as possible. The method will be compared with the existing methods like MDR [7], MTE [8], FA [9], DEFL [10] and the proposed F-DEFL.

METHODOLOGY

Network topology

The sensor nodes in the network have been distributed across the network topology of mesh. The use of the network topology has been adopted for the secure and reliable data transmission.

The topology will have the following conditions.

The nodes number will be allowed to user to initialize and each of the nodes will be connected by using the shortest distance based system.

The link between then nodes will be allowed not to overlap or loop.

Nodes at uniform distance

Should not form the loop

Energy consumption model

Its the total amount of the energy needed to transit the data between the node I to node j. [8]

(1)

Where, dij – distance between nodes,

1 = 50nJ/bit – energy consumed in transmitter circuitry, 2 = 100pJ/bit/m^4 – energy consumed at transmitter amplifier, here path loss exponent of 4 represents multipath reflection.

3 = 150nJ/bit – the energy needed in receiving circuitry, a constant and is specified.

Network initializations

In this phase the (general) network with the number of nodes, fixed path and multiple networks will be initialized. The source (Src) and the destination (Dst) are prefixed in the system. In the network each node is assumed to be sensor node having sense of data arrival and departure and is denoted by Si for the ith sensor node. The remaining set of nodes are denoted as

v= {v1, v2, , vN,}, |v |=N} (2) The communication links or edges are denotes as

E= {e1e2eN) (3)

Neighbor: As we know network consist of number of nodes hence the neighbor nodes in the network are denoted as

Vi= {iN|d (Vi, Vj) D, ni} (4) Where,

N=all nodes in network,

d (Vi, Vj) = distance betwen each node Vi, and Vj, D =Travelling distance.

The cost for transmission of a k-bit packet or data over distance D is:

ETx (k, d) = k * Eelec + k * fs * d2 d< d0 (1) = k * Eelec + k

* mp * d4 (5)

d>= d0 Where,

Eelec=base energy required to run the transmitter or receiver circuitry

fs&mp =Energy of the transmitter amplifier To receive the message, energy required is

ERX (k) = k * Eelec (6)

Lifetime of sensor network

Lifetime of the network is the time of the network will utilized in transmission of the data from one node to another or the source to destination nodes.

Fuzzy logic

Fuzzy logic represents the truth values of the variables which will be any of the possible type of the real number in between the range of the 0 and 1. Its a classical deployment model of the system which is using the vector dataset for the tracing of the Boolean values [11].

The fuzzy logic has main four parts:

Rule base: it has the rule set of IF- THAN based on the rule data values

Fuzzification: convert inputs to fuzzy sets.

Inference Engine: current fuzzy input degree determined by each rule and it decides which are the rules fired based on the input field.

Defuzzification: convert the fuzzy sets in the inference engine to crisp value.

Fuzzy inference routing system

FIRS is a popular and well known routing protocol, [12] it includes the route table management in it to avoid the looping and node failure. The route table will help to decide the path of the data to be transferred. Each node will be having information of the neighbor nodes with the help of the routing table.

The complete FIRS algorithm can be expressed as follows:

Destination nodes IP Address

Destination nodes Sequence Number

Valid flag

Other state flags (e.g., available, unavailable, error)

Network Interface protocol ( UDP)

Nodes Count

Next Hop

List of Precursors

In every route the nodes will be assigned the entry id. The FIRS uses the unique Id of each node to achieve the goal. The sequence number will be made available to the protocol during the built or routing table.

Nodes (N) ={n1(id1),n2(id2).n(idn)} (7) Before finalizing the route the FIRS performs the following sequence of message transmission operations like:

Route Requests (RREQs)

Route Replies (RREPs)

Route Errors (RERRs)

The UDP will be receiving the messages known as sequence messages which will be used to check the availability of the nodes. Requests include the data type, data destination and the real time payload. The Request and the replies will be carried out in the sequence to confirm the node. If the node is available, than the route is selected and the operation is repeated till the destination if there are no errors found by the nodes.

Fuzzy inference model

The fuzzy based inference is the new technology compare to the classic neural network where the data set is manipulated based on the previous knowledge of the data. The fuzzy based inference performs the same operation as the neural network but in the detailed manner with the number of the iterations.

Fuzzy inference makes the grouping of the elements into the fuzzy assisted set and the true value is proposed by the surface and the edge values of it.

The fuzzy assisted class is defined as

~C = { i | ~(i) } (8)

Where,

~C : fuzzy set satisfying each individual i

~ : classification of the predicate of fuzzy a fuzzy propositional valued function.

~P(U):~{. | .}:VÃ—PF?~P(U) (9)

Where,

~{ .| .} : it is in the domain in fuzzy class. V: set of the variables

~PF: set of fuzzy propositional functions

~.Âµ:~PFÃ— U? ~T (10)

Where,

~T : set of fuzzy truth variable of values (ranging 0 to 1).

Fuzzy propositional function an analogous expression which contains more than one value variable the assignment these variables make the expression to the fuzzy proposition based on the variables.

The fuzzy classification is combining or grouping the similar features variables together known as the fuzzy set. The fuzzy classification is the member function which indicates whether each of the individual is the unique member of the given class, in terms only if it is fuzzy classification based predicate

Figure.1.General Fuzzy Inference System

Tabu search

It is a type of the search engine for the data route based on the nodes availability. [13] It is a meta-heuristic that guides the local heuristic search the route of the solution in specific beyond local optimality.

Steps to consider while developing the tabu search engine

Design algorithm which returns initial solution,

Define moves to neighborhood N of the solution s,

Determine content-size in the tabu lists,

Define the aspiration based criteria for search,

Design, intensification & diversification based mechanisms.

PROPOSED SYSTEM ARCHITECTURE

The system architecture is shown in Figure 2. The proposed algorithm checks all the nodes present in the network and calculates the cost required to reach each node present in the network and checks the energy of all the nodes and updates the routing table. It uses tabu search to find the best path and energy of each node along with fuzzy logic. Finally the network lifetime of proposed algorithm is compared with various algorithms.

Figure.2. Proposed System Architecture.

EXPERIMENTAL RESULTS

Figure.3.Fuzzy logic model and membership functions

Figure 3 shows the fuzzy logic model and its membership functions. The fuzzy rule base defined in this design consists 3 rules for each input hence there are total 3^2= 9 number of rules

Figure.4. Fuzzy rules

In Figure 4 IF-THEN rules are used in the proposed fuzzy system. As can be seen from Fig 8.4, human decision based logic is involved in the design. As an example, IF Distance is low and Degree is low, than priority is high. Here the fuzzy inference technique used is Mamdani method.

Figure.5Fuzzy output

Figure 5 shows the fuzzy logic output, there are two inputs namely distance and degree, distance represents the distance of the nodes from sink node in a network and the degree represents the orientation of the nodes with respect to the sink node. All rules are processed by fuzzy inference engine.

Figure.6. Network model showing nodes and routing scenario

Figure 6 shows the nodes and routing in a network; it uses fuzzy inference system along with tabu search to calculate the best cost to reach the neighboring node. For e.g. the cost to reach the neighboring node in base network is 6 but with FIRS and tabu search the cost is reduced to 1. The Fig 8.5 also shows the energy required to reach each node and previous node, the tabu search traces all the possible paths and selects the best possible path with best and least cost and then it is given to FIRS.

The below Figure 7 shows the graphical comparison between Flow Augmentation (FA), Minimum Drain Rate (MDR), Minimum Time Energy (MTE), DEFL and proposed F-DEFL. Compared to all the methods it is found that the proposed algorithm F-DEFL consumes less energy, which in turn increases the lifetime of the network.

Figure.7. Graphical comparison of multiple algorithms

Figure.8. Graphical analysis of network lifetime for multiple algorithms

Figure 8 shows total network lifetime vs. the traffic rate at inter node, it is found that the proposed algorithm has the maximum network lifetime has been compared to all other algorithms, MTE shows poor network lifetime performance. In the network but in case of the FA algorithm it has been shows god performance, however FA algorithm is more theoretical and complex and difficult to implement.

Figure.9. Graphical analysis of energy aggregation for multiple algorithms

Figure 9 shows total energy of the nodes vs. nodes traffic rates of various algorithms, it is found that MDR consumes more energy followed by MTE. FA consumes less amount of energy compared to all. Proposed algorithm F-DEFL consumes the average energy

V1. CONCLUSION

In this work the lifetime of the WSN is enhanced by the comparative study of the fuzzy inference model and the present methodologies. The proposed work demonstrates the use of tabu searching and fuzzy assisted searching of the nodes distance and routing. The factor which effects the network lifetime is the cost of data transmission which is based on the nodes distance and the connectivity of the links. The proposed work will analyze the concept of low cost utilization by using the DEFL method. The proposed work F-

DEFL has been compared in the simulation of MATLAB with the FA, MTE, MDR and DEFL.

REFERENCES

T. Rault, A. Bouabdallah, and Y. Challal, Energy efciency in wireless sensor networks: A top-down survey, Computer Networks, Vol 67, 2014, pp 104122.

T. Haider and M. Yusuf, A fuzzy approach to energy optimized routing for wireless sensor networks. Int. Arab J. Inf. Technol., Vol 6, 2009, pp 179185.

Singh et al, A survey on swarm intelligence based routing protocols in wireless sensor networks, International Journal of Physical Sciences, Vol 5,2010 , pp 21182126.

S. AlShawi, L. Yan, W. Pan, and B. Luo, Lifetime enhancement in wireless sensor networks using fuzzy approach and a-star algorithm, IEEE Sensors journal, Vol. 12, 2012, pp 30103018.

S Lee and Cheng, Fuzzy-logic-based clustering approach for WSNs using energy predication IEEE sensors journal, Vol 12, Sep 2012, pp 2891-2897.

Tripti Sharma, Brijesh Kumar, F-MCHEL: Fuzzy Based Master Cluster Head Election Leach Protocol in Wireless Sensor Network, International Journal of Computer Science and Telecommunications, Vol 3, October 2012, pp 8-13.

D. Kim, J. Garcia-Luna-Aceves, K. Obraczka, J.-C. Cano, and P. Man- zoni, Routing mechanisms for mobile ad hoc networks based on the energy drain rate, IEEE Transactions on Mobile Computing, Vol 2, 2003, pp 161173.

V. Rodoplu and T. H. Meng, Minimum energy mobile wireless net- works, IEEE Journal on selected areas in communications, vol. 17, 1999, pp 13331344.

J.-H. Chang and L. Tassiulas, Maximum lifetime routing in wireless sensor networks, IEEE/ACM Transactions on networking, Vol 12, 2004, pp 609619.

Al-Kiyumi et al.Fuzzy Logic-based Routing Algorithm for Lifetime Enhancement in Heterogeneous Wireless Sensor Networks, IEEE Transactions on Green Communications and Networking, 2018, pp 2473-2400.

"Fuzzy Logic". Stanford Encyclopedia of Philosophy. Bryant University. 2006-07-23. Retrieved 2008-09-30.

Pedro Henrique Gouvea Coelho et al.Application of Fuzzy Inference Systems in the Transmission of Wireless Sensor Networks, International Conference on Enterprise Information Systems, Vol 1, 2017, pp 618-624.

Orojloo and Haghighat. A Tabu search based routing algorithm for wireless sensor networks Springer sciences, 2015.

Fred Glover. Tabu Search-Part 1 OSRA Journal on Computing1989, pp 190-206.