Next Article in Journal
An Improved Genetic Algorithm for the Recovery System of USVs Based on Stern Ramp Considering the Influence of Currents
Previous Article in Journal
Automatic Video-Oculography System for Detection of Minimal Hepatic Encephalopathy Using Machine Learning Tools
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Energy-Efficient Routing Algorithm for WSNs Using Fuzzy Logic

by
Preetha R. Rao
1,†,
Amruta Lipare
2,*,†,
Damodar Reddy Edla
1,† and
Saidi Reddy Parne
1,†
1
National Institute of Technology Goa, Ponda 403401, Goa, India
2
Department of CSE, Indian Institute of Information Technology Pune, Pune 411041, Maharashtra, India
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2023, 23(19), 8074; https://doi.org/10.3390/s23198074
Submission received: 19 July 2023 / Revised: 23 August 2023 / Accepted: 28 August 2023 / Published: 25 September 2023
(This article belongs to the Section Sensor Networks)

Abstract

:
Battery replacement or recharging is essential for sensor nodes because they are typically powered by batteries in wireless sensor network (WSN) applications. Therefore, creating an energy-efficient data transfer technique is required. The base station (BS) receives data from one sensor node and routes the data to another sensor node. As a result, an energy-efficient routing algorithm using fuzzy logic (EERF) represents a novel approach that is suggested in this study. One of the reasoning techniques utilized in scenarios where there is a lot of ambiguity is fuzzy logic. The remaining energy, the distance between the sensor node and the base station, and the total number of connected sensor nodes are all inputs given to the fuzzy system of the proposed EERF algorithm. The proposed EERF is contrasted with the current systems, like the energy-aware unequal clustering using fuzzy logic (EAUCF) and distributed unequal clustering using fuzzy logic (DUCF) algorithms, in terms of evaluation criteria, including energy consumption, the number of active sensor nodes for each round in the network, and network stability. EAUCF and DUCF were outperformed by EERF.

1. Introduction

Wireless channels connect the sensor nodes in a wireless sensor network, which are then placed throughout the region being monitored. Sensor node placement may be random or static [1,2]. Depending on the applications, some mobile devices can be connected to the sensor nodes. Sensor nodes keep an eye on the area and measure environmental factors like temperature and humidity. The base station (BS) receives the collection of data and transmits it. In order to obtain information from the targeted region, the BS is connected to the internet to deliver notifications about the target area [3,4]. The transmission of data by sensor nodes uses a lot of energy. In order to decrease energy consumption, clustering and routing are used. The grouping of sensor nodes is one of the efficient techniques used for utilizing energy effectively. A sensor node in the clustering method leads to a specific cluster, known as the cluster head (CH). The CH from each cluster of the network gathers information from every sensor node and then transmits it to the BS. The application of the routing mechanism prevents direct data transmission from CHs to the BS [5]. Figure 1 shows both the routing path between CHs and the WSN with clusters.
The network’s lifespan is significantly increased through routing. It is difficult to build a routing path for a network of sensor nodes because they have little computational power, short transmission ranges, and limited battery life. Since the next hop does not take the energy of the sensor node into account, using minimum hop might not be the best option. The hop will continue in this case until the sensor node fails or dies. As a result, the network develops an energy hole and becomes dispersed. A protocol that guarantees uniform energy consumption by sensor nodes is necessary to extend the network’s lifespan. There are three basic types of routing protocols: location-based routing, hierarchical routing, and data-centric flat routing. Because sensor nodes and cluster heads aggregate data during hierarchical routing (cluster-based routing), fewer packets are sent throughout the network, which reduces energy consumption. Cluster-based routing utilizes multi-hop communication and aids network scalability [6].
As energy is a crucial factor in WSNs, designing energy-efficient algorithms to communicate is necessary. As the routing distance increases, the energy consumption of the network increases. Therefore, it is also essential to route the data sensed by the sensor nodes to the base station through an efficient path. In this paper, the fuzzy system is used to route the data using an energy-efficient routing path. The existing EERF supports multi-hop routing by generating the least distant and most energy-efficient routing path, whereas in energy-aware unequal clustering using fuzzy logic (EAUCF) and distributed unequal clustering using fuzzy logic (DUCF), clustering is preferred for the communication of the data.
Making decisions that follow human logic is an essential application of fuzzy logic. Fuzzy logic makes decisions depending on the result by combining different features on pre-established principles. Fuzzifiers, fuzzy rules, fuzzy inference systems, and defuzzifiers are some of fuzzy logic’s key elements. Fuzzifier creates a fuzzy set from a clean input. Each set is given a degree of membership as well. The connections between linguistic input variables and fuzzy output variables are made by fuzzy rules. The fuzzy inference system uses rules to process values that have been fuzzified. By utilizing a defuzzifier, the fuzzy outputs are provided as a solution in terms of crisp values. A fuzzy logic-based routing algorithm has been suggested in this study. The development of the routing path and router selection are carried out in accordance with the fuzzy output values. Section 2 of the proposal describes the work that went into this. In Section 3, the proposed routing algorithm has been described. The experimental findings are discussed in Section 4. At the end, Section 5 brings the paper to a conclusion.

2. Related Work

2.1. Literature Survey

There are various clustering strategies for WSNs in the literature. One of the traditional techniques used for CH selection and cluster formation is low energy adaptive clustering hierarchy (LEACH) [7]. In LEACH, where ‘p’ is the predetermined number of rounds, the CHs are chosen with a probability of 1 / p at each round. Following p rounds, some sensor nodes are selected as CHs. Consequently, after a predetermined number of rounds, a sensor node that has a high amount of energy may be selected as a CH. As a result, the sensor dies more quickly and loses power more quickly. Dead sensor nodes, in this scenario, prevent participation in the tournament; hence, there will be no transmission in that round. This problem has been solved by researchers by enhancing LEACH. By using fuzzy logic, Kim et al. suggested a novel method for cluster head election (CHEF) [8]. The remaining energy and distance of the sensor node from the BS serve as input variables for the fuzzy system in CHEF.
Similar to this, Hagci et al. created the EAUCF, a novel uneven clustering technique [9]. A constant threshold (T) value in the EAUCF is predefined and ranges from 0 to 1. Each of the sensor nodes in the network generates a random number between 0 and 1. The generated value contrasts with the threshold value T. Speculative CHs are considered to be sensor nodes with random values below T. The CHs serve as the input for the fuzzy inference models. ‘Residual Energy’ and ‘Distance to BS’ are provided as input values for the fuzzy system. The proposed fuzzy system generates ‘Competition Radius’ as an output value for the proposed EAUCF. The value of the competition radius of CHs is used to determine the final CHs.
New fuzzy algorithm DUCFs were developed by the authors of [10]. Here, residual energy, distance to BS, and node degree—a new input parameter for fuzzy inference systems—are taken into account. The node degree is the quantity of sensor nodes that are within its communication range. Clusters are created based on the fuzzy system’s output values or the “Chance” and “Size” of the CHs.
LEACH, CHEF, and EAUCF have the drawback of not taking into account the load of the data packets that must be traversed in order to choose the final CHs. The researchers behind this study employed the same clustering technique as DUCF [10] and proposed a routing algorithm that makes use of a fuzzy rule-based system. The outputs of the fuzzy system select the appropriate routers and build a routing path.
Uneven clustering using multi-hop transmission based on fuzzy logic is advised in order to effectively regulate energy usage among the nodes. Here, based on competition radius, the protocol creates uneven groups, and the cluster leader is chosen using fuzzy logic. The node concentration, node distance from the sink, and remaining energy are the input variables in this case. In comparison to the current EAUCF and LEACH algorithms, for parameters like energy efficiency and network lifetime, this protocol performs better [11]. Within the communication range of a current forwarder or a source sensor, it has been shown that single-hop forwarding methods utilize less energy than multi-hop forwarding schemes. The authors used the social welfare function to predict the inequality of neighbors’ residual energy after selecting a number of next-hop nodes. Based on energy disparity, a technique was developed to assess the degree of energy balance. How close a node is to the shortest path, how close it is to the sink, and how much energy balance there is are all parameters that are provided to the fuzzy logic system. A multiparameter, fuzzy routing decision is made by using a fuzzy logic-based energy-optimized routing algorithm. In comparison to other algorithms of a similar nature, the algorithm successfully extends the network lifetime and achieves both energy efficiency and energy balance, according to simulation findings [12].
The lifespan of a WSN is significantly impacted by the energy consumption of the sensor nodes. Energy dissipation among sensor nodes as well as energy-efficient operation are both necessary for extending a network’s lifespan. On the other hand, fluctuations in sensor activity over time and space lead to an energy imbalance throughout the network. In order to increase the network’s longevity, routing algorithms should properly balance energy efficiency and consumption. The distributed energy-aware fuzzy logic-based routing algorithm (DEFL) that the authors suggest handles both energy efficiency and energy balance at once. With the purpose of calculating the shortest path, the design converts the network condition into the corresponding cost values using the necessary energy measurements. In order to add human logic to the mapping, the authors use a fuzzy logic technique [13].
However, by choosing the most effective relay node in communication with the sink node, the authors of [14] presented fuzzy-based relay node selection and energy-efficient routing (FRNSEER). Fuzzy rules were applied to choose the sink node, with the active relay nodes chosen as a result. The choice of an active relay node aids in determining the best energy and utility factor for the transmission process. Sensor hubs, which use a timetable that uses less energy and anticipates the functionality of neighboring or working nodes, were utilized to improve communication between the sink node and the relay node. As a part of the performance analysis, the suggested mechanism outperforms existing algorithms like fuzzy-based hyper round policy and neural network-based localization scheme (NNBLS) in terms of packet rate while using less energy. The input values of the clustering and routing algorithms are associated in [15] by using rule-based fuzzy logic. The fuzzy system makes judgments based on the number of nodes in the communication range, the remaining energy of the sensor nodes, and the distance of the sensor nodes from the BS. The crisp values of the input variables are converted to various fuzzy values. By using the centroid defuzzification method, the fuzzy output values are transformed into crisp values. The output values are taken into consideration while choosing the cluster heads (CHs) and routers. As a result, according to the CHs’ ability to handle a certain load, the sensor nodes are allocated to the appropriate CHs from the network. Further, the capacity of the routers determines the routing path.
In [16], the cluster is created using the particle swarm optimization (PSO) method, and a fuzzy-based energy-efficient routing protocol (E-FEERP) is proposed to transmit data from the cluster head to the BS in the best possible way. This protocol takes into account the average distance of the SN from the BS, node density, energy, and communication quality.
A fuzzy-based approach combined with the grey wolf optimization algorithm was suggested in [17], which assists cluster formation in finding an effective and optimal solution for selecting the aggregation points using the cluster heads and figuring out the best optimal path for transmitting data to the network base station.
The hierarchical fuzzy multi-criteria-clustering and bio-inspired energy-efficient routing (FMCB-ER) protocol is presented in [18] to improve the lifespan of networks and, consequently, the operating time of WSN-based applications. In this method, the robust clusters are formed using a grid-based clustering methodology.

2.2. Energy Model

The network’s overall energy usage is determined by using the radio energy model from [19]. Each sensor node in a WSN requires energy to carry out various clustering tasks, send and receive packets from other sensor nodes, and do other tasks. Equation (1) describes how much energy is used by a sensor node to transmit a data packet with l bits over a length of d meters.
E T ( l , d ) = l E e l e c + l ϵ f s d 2 , d < d 0 l E e l e c + l ϵ m p d 4 , d d 0
where the energy needed for data transmission in the free-space channel and the multi-path communication channel, respectively, are ϵ f s and ϵ m p . The transmission distance threshold value is d 0 . The total amount of energy used by a sensor node’s electronic circuitry is measured as E e l e c . Equation (2) formulates the energy needed for receiving data of l bits in length.
E R ( l ) = l E e l e c

3. Proposed Work

The clusters in this work are constructed in accordance with DUCF [10]. In order to choose routers from CHs and create a routing path, an algorithm is suggested. From CHs to routers, the data are sent in the direction of the BS. The fuzzy routing process comprises three stages: the fuzzy router competition phase, the router selection phase, and the route formation phase. These phases are described in the sections below.

3.1. Fuzzy Router Competition Phase

All CHs are initially thought of as, for instance, provisional routers. The CHs are assessed using several membership functions. The three input variables for the fuzzy routing strategy are “Residual Energy”, “Distance to BS”, and “Nodes Connected After Clustering (NCC)”.
At first, all CHs are thought of as temporary routers. Additionally, the fuzzy system’s linguistic variables are used to evaluate the CHs. “Residual energy”, “Distance to the BS”, and “NCC” are the input parameters for the fuzzy technique for routing. The residual energy has the following linguistic variations: less, average, and more. The linguistic variables for “Distance to BS” are far, reachable, and near, whereas those for “NCC” are many, medium, and few.
The membership functions were chosen in accordance with [9] and the results of their own experimental work. All the membership functions (MFs) of the input parameters “Residual energy”, “NCC”, and “Distance to BS” are shown, respectively, in Figure 2, Figure 3 and Figure 4. The range of MFs for “Residual Energy” is from 0 to 1 because the maximum energy of the sensor node is assumed to be 1 J. Because there can be a maximum of 20 sensor nodes in the range in this network scenario, the range of MFs for “NCC” is from 0 to 20. The range of “Distance to BS” is presumed to be between 0 and 142 because the greatest distance to the BS is 141.42 m. Between the sink point (100, 100) and the sensor node at the area’s corner (0, 0), the maximum distance is computed.
The possibility that a CH will function as a router is taken into consideration for the first fuzzy output variable, Confidence. The MF values for confidence are smallest, smaller, small, small moderate, moderate, big moderate, big, bigger, and biggest. The membership functions for the output variable “Confidence” are shown in Figure 5. ‘Capacity’, the second output variable, also demonstrates the analogous nine linguistic variables, including compact, rather compact, less compact, compact bearable, bearable, huge bearable, huge, less huge, and more huge. The membership function for the ‘Capacity’ of the sensor node is shown in Figure 6. Each CH in a routing path is accommodated by carefully choosing the ranges of all membership functions using a variety of experimental evaluations. For the routing method, Table 1 defines a total of 27 fuzzy if-then rules. In this case, defuzzification is accomplished using the centroid technique, whereas fuzzification is accomplished using the Mamdani model [20].

3.2. Router Selection and Routing Path Formation Phase

An initial arrangement of each CH is based on its distance from the BS. Within their communication range, the CHs transmit ‘candidate’ messages. Only the CHs are able to receive “candidate” messages. ‘Confidence’ and ‘Capacity’ information is included.
The CHs that are quite remote from the BS cannot function as routers; hence, they are only regarded as CHs. The CHs can participate in the routing process as the BS’s distance reduces. Different numbers of candidate messages are sent to each CH. Following the ‘candidate’ communication, CH assesses its confidence and capability in relation to the candidates that have been sent. The receiving CH will send a “join” message to the candidate CH if the candidate CHs’ confidence and capacity are higher than those of the receiving CH. The potential CHs may now get several ‘join’ notifications. So, in accordance with their capacity, they send “accept” messages to their closer CHs. The CHs that sent the “accept” message to them also send their data to those CHs. The CHs that send the “accept” message are known as “routers”. Data is sent from CHs and routers to the routers that are on the routing path leading to the BS. Any sensor node sending data straight to the BS does not receive an “accept” message. As a result, the data from all the CHs is sent in this way to the BS. Table 2 displays the message summaries.
The complexity can be amounted according to the time required for sending messages (t) for one CH. The number of CHs selected in the worst case would be a predefined number k at each iteration. If N is the total number of iterations, then the worst case for complexity amounts to O ( t k N ) . The flow chart of the proposed EERF is shown in Figure 7.

4. Discussion

The simulations were run on Windows 10 using MATLAB R2015. With the placement of 100 sensor nodes at random, the area under observation was considered to be 200 × 200 m 2 . Each sensor node has an initial energy level of 1 J. The energy needed for intra-cluster activities is calculated as E e l e c = 50 nJ/bit, ϵ f s = 10 pJ / bit / m 2 , and 10% of the data was aggregated.
This was compared to two well-known methodologies, EAUCF and DUCF, in order to assess the performance of the suggested methodology. In this work, the network’s overall energy consumption throughout each round, the number of active sensor nodes during a round, and the stability of the network were all evaluated during the simulations. The network’s stability is defined as the difference between the first sensor node to die (FND) and half of the sensor nodes having died (HND). The stable network has a larger difference.
Figure 8 displays the network’s sensor nodes’ cumulative energy use for each round. Performance-wise, the suggested method outperforms EAUCF and DUCF. The number of neighbor nodes is not taken into account as an input parameter in EAUCF. As a result, the network’s total load is not balanced. Although node degree is taken into account in DUCF, the direct communication between the CHs and BS was applied. Because of this, the CHs consume more energy and eventually perish. Both of these criteria were taken into account, and a routing algorithm was also suggested for use in the EERF. As a result, it uses less energy during each round.
The network’s overall number of active sensor nodes for each round is shown in Figure 9. It demonstrates that the line graph of the proposed approach up until the 1000th round displays the greatest values of all the algorithms that were compared. This is a result of the planned EERF’s lower energy consumption. EERF conserves energy and outlasts the other compared techniques across all rounds.
The FND and HND values are recorded by the network. Table 3 shows the network stability, FND, and HND values, as well as the difference between the two. It was found that the suggested approach significantly differs from FND and HND. In comparison to EAUCF and DUCF, it is, therefore, more stable.
The energy usage at each round is tracked because energy efficiency is the main goal of this endeavor. The amount of energy used during each loop is shown in Figure 10. For this parameter, it can be seen that EERF performs better than EAUCF and DUCF. When compared to EAUCF and DUCF, EERF uses a lot less energy. As the number of rounds in which the FND in the network and the HND in the network are noted, the relative energy consumption at each round is observed. When the number of rounds increases, the network is not stable and consumes a high amount of energy for transmission. So, the rate of death of sensor nodes is higher.
According to all the results, the proposed EERF algorithm outperforms EAUCF and DUCF and generates energy-efficient communications in the routing. Due to the energy-efficient communications and routing path, the network stability increases. Consequently, a better network lifespan is achieved.

5. Conclusions

As a result of the battery-powered sensor nodes in WSNs, an efficient level of energy consumption is essential. In this study, fuzzy logic is used to propose a routing algorithm that is energy-efficient. The outputs from the fuzzy inference system are used to detect the appropriate routers and the routing path. The proposed EERF is compared to the current EAUCF and DUCF under several assessment criteria, including total network energy consumption, active sensor nodes, network stability, and energy consumption at each round, in order to assess how well it performs. It was discovered that EERF outperforms EAUCF and DUCF as a result of the fuzzy system’s addition of the parameter “NCC” and the efficient generation of routing paths. Furthermore, EERF can be improved with different clustering techniques and considering various computational parameters in terms of the sensor node’s capacity to transfer data and the node degree for the selection of CHs.

Author Contributions

Conceptualization, P.R.R., A.L., D.R.E. and S.R.P.; methodology and software, P.R.R. and A.L.; validation, formal analysis and investigation, D.R.E. and S.R.P.; resources, data curation, and writing—original draft preparation, P.R.R. and A.L.; writing—review and editing, D.R.E. and S.R.P.; visualization, and supervision, D.R.E. and S.R.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Raghavendra, C.S.; Sivalingam, K.M.; Znati, T. Wireless Sensor Networks; Springer: London, UK, 2006. [Google Scholar]
  2. Akyildiz, I.F.; Weilian, S.; Yogesh, S.; Erdal, C. Wireless sensor networks: A survey. Comput. Netw. 2002, 38, 393–422. [Google Scholar]
  3. Edla, D.R.; Lipare, A.; Cheruku, R.; Venkatanareshbabu, K. An Efficient Load Balancing of Gateways Using Improved Shuffled Frog Leaping Algorithm and Novel Fitness Function for WSNs. IEEE Sens. J. 2017, 17, 6724–6733. [Google Scholar] [CrossRef]
  4. Edla, D.R.; Lipare, A.; Cheruku, R. Shuffled Complex Evolution Approach for Load Balancing of Gateways in Wireless Sensor Networks. Wirel. Pers. Commun. 2018, 98, 3455–3476. [Google Scholar] [CrossRef]
  5. Lipare, A.; Edla, D.R. Novel Fitness Function for SCE Algorithm Based Energy Efficiency in WSN. In Proceedings of the 9th International Conference on Computing, Communication and Networking Technologies (ICCCNT), Bengaluru, India, 10–12 July 2018; pp. 1–7. [Google Scholar]
  6. Jaradat, T.; Benhaddou, D.; Balakrishnan, M.; Al-Fuqaha, A. Energy efficient cross-layer routing protocol in Wireless Sensor Networks based on fuzzy logic. In Proceedings of the 2013 9th International Wireless Communications and Mobile Computing Conference (IWCMC), Sardinia, Italy, 1–5 July 2013; pp. 177–182. [Google Scholar] [CrossRef]
  7. Handy, M.J.; Haase, M.; Timmermann, D. Low energy adaptive clustering hierarchy with deterministic cluster-head selection. In Proceedings of the 4th International Workshop on Mobile and Wireless Communications Network, Stockholm, Sweden, 9–11 September 2002; pp. 368–372. [Google Scholar]
  8. Kim, J.M.; Park, S.H.; Han, Y.J.; Chung, T.M. CHEF: Cluster head election mechanism using fuzzy logic in wireless sensor networks. In Proceedings of the 10th International Conference on Advanced Communication Technology, Gangwon, Republic of Korea, 17–20 February 2008; Volume 1, pp. 654–659. [Google Scholar]
  9. Bagci, H.; Yazici, A. An energy aware fuzzy approach to unequal clustering in wireless sensor networks. Appl. Soft Comput. 2013, 13, 1741–1749. [Google Scholar] [CrossRef]
  10. Baranidharan, B.; Santhi, B. DUCF: Distributed load balancing Unequal Clustering in wireless sensor networks using Fuzzy approach. Appl. Soft Comput. 2016, 40, 495–506. [Google Scholar] [CrossRef]
  11. Adnan, M.; Yang, L.; Ahmad, T.; Tao, Y. An Unequally Clustered Multi-hop Routing Protocol Based on Fuzzy Logic for Wireless Sensor Networks. IEEE Access 2021, 9, 38531–38545. [Google Scholar] [CrossRef]
  12. Jiang, H.; Sun, Y.; Sun, R.; Xu, H. Fuzzy-logic-based energy optimized routing for wireless sensor networks. Int. J. Distrib. Sens. Netw. 2013, 9, 216561. [Google Scholar] [CrossRef]
  13. Al-Kiyumi, R.M.; Foh, C.H.; Vural, S.; Chatzimisios, P.; Tafazolli, R. Fuzzy logic-based routing algorithm for lifetime enhancement in heterogeneous wireless sensor networks. IEEE Trans. Green Commun. Netw. 2018, 2, 517–532. [Google Scholar] [CrossRef]
  14. Ramkumar, K.; Ananthi, N.; Brabin, D.D.; Goswami, P.; Baskar, M.; Bhatia, K.K.; Kumar, H. Efficient routing mechanism for neighbour selection using fuzzy logic in wireless sensor network. Comput. Electr. Eng. 2021, 94, 107365. [Google Scholar] [CrossRef]
  15. Lipare, A.; Damodar, R.E.; Saidi, R.P. Fuzzy rule-based system for energy efficiency in wireless sensor networks. J. Supercomput. 2021, 77, 9947–9970. [Google Scholar] [CrossRef]
  16. Narayan, V.; Daniel, A.K.; Chaturvedi, P. E-FEERP: Enhanced Fuzzy based Energy Efficient Routing Protocol for Wireless Sensor Network. Wirel. Pers. Commun. 2023, 131, 371–398. [Google Scholar] [CrossRef]
  17. Singh, J.; Deepika, J.; Zaheeruddin; Sathyendra Bhat, J.; Kumararaja, V.; Vikram, R.; Jegathesh Amalraj, J.; Saravanan, V.; Sakthivel, S. Energy-efficient clustering and routing algorithm using hybrid fuzzy with grey wolf optimization in wireless sensor networks. Secur. Commun. Netw. 2022, 2022, 9846601. [Google Scholar] [CrossRef]
  18. Mehta, D.; Saxena, S. Hierarchical WSN protocol with fuzzy multi-criteria clustering and bio-inspired energy-efficient routing (FMCB-ER). Multimed. Tools Appl. 2022, 81, 35083–35116. [Google Scholar] [CrossRef]
  19. Heinzelman, W.B.; Chandrakasan, A.P.; Balakrishnan, H. Application specific protocol architecture for wireless microsensor networks. IEEE Trans. Wirel. Commun. 2002, 1, 660–670. [Google Scholar] [CrossRef]
  20. Mamdani. Application of fuzzy logic to approximate reasoning using linguistic synthesis. IEEE Trans. computers. 1977, 100, 1182–1191. [Google Scholar]
Figure 1. Wireless sensor network with clusters.
Figure 1. Wireless sensor network with clusters.
Sensors 23 08074 g001
Figure 2. ‘Residual Energy’ as an input variable: degree of membership.
Figure 2. ‘Residual Energy’ as an input variable: degree of membership.
Sensors 23 08074 g002
Figure 3. ‘NCC’ as an input variable: degree of membership.
Figure 3. ‘NCC’ as an input variable: degree of membership.
Sensors 23 08074 g003
Figure 4. ‘Distance to BS’ as an input variable: degree of membership.
Figure 4. ‘Distance to BS’ as an input variable: degree of membership.
Sensors 23 08074 g004
Figure 5. ’Confidence’ as an output variable: degree of membership.
Figure 5. ’Confidence’ as an output variable: degree of membership.
Sensors 23 08074 g005
Figure 6. ’Capacity’ as an output variable: degree of membership.
Figure 6. ’Capacity’ as an output variable: degree of membership.
Sensors 23 08074 g006
Figure 7. Flowchart of proposed EERF.
Figure 7. Flowchart of proposed EERF.
Sensors 23 08074 g007
Figure 8. Total energy consumption per round in Joules.
Figure 8. Total energy consumption per round in Joules.
Sensors 23 08074 g008
Figure 9. Active sensor nodes per round.
Figure 9. Active sensor nodes per round.
Sensors 23 08074 g009
Figure 10. Energy consumption at each round in Joules.
Figure 10. Energy consumption at each round in Joules.
Sensors 23 08074 g010
Table 1. Fuzzy if-then rules for routing in WSN.
Table 1. Fuzzy if-then rules for routing in WSN.
Sr. NoInput VariablesOutput Variables
Residual Energy Distance to BS NCC Confidence Capacity
1LessFarManySmallestCompact
2LessFarMediumSmallerRather Compact
3LessFarFewSmallLess Compact
4LessReachableManySmall ModerateCompact
5LessReachableMediumModerateRather Compact
6LessReachableFewBig ModerateLess Compact
7LessNearManyBigCompact
8LessNearMediumBiggerRather Compact
9LessNearFewBiggestLess Compact
10AverageFarManySmallestCompact Bearable
11AverageFarMediumSmallerBearable
12AverageFarFewSmallHuge Bearable
13AverageReachableManySmall ModerateCompact Bearable
14AverageReachableMediumModerateBearable
15AverageReachableFewBig ModerateHuge Bearable
16AverageNearManyBigCompact Bearable
17AverageNearMediumBiggerBearable
18AverageNearFewBiggestHuge Bearable
19MoreFarManySmallestHuge
20MoreFarMediumSmallerLess Huge
21MoreFarFewSmallMore Huge
22MoreReachableManySmall ModerateHuge
23MoreReachableMediumModerateLess Huge
24MoreReachableFewBig ModerateMore Huge
25MoreNearManyBigHuge
26MoreNearMediumBiggerLess Huge
27MoreNearFewBiggestMore Huge
Table 2. Message descriptions.
Table 2. Message descriptions.
Sr. NoMessageDescription
1candidateInitially, each CH broadcasts candidate in the communication range R.
2joinIf Confidence and Capacity of candidate node is higher then, send accept message.
3acceptIf Capacity is not exceeding, then send accept to nearer CHs.
Table 3. Comparison of FND, HND, and the stability of the network.
Table 3. Comparison of FND, HND, and the stability of the network.
AlgorithmFNDHNDStability Check
EAUCF403928525
DUCF4801012532
EERF5581161603
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Rao, P.R.; Lipare, A.; Edla, D.R.; Parne, S.R. An Energy-Efficient Routing Algorithm for WSNs Using Fuzzy Logic. Sensors 2023, 23, 8074. https://doi.org/10.3390/s23198074

AMA Style

Rao PR, Lipare A, Edla DR, Parne SR. An Energy-Efficient Routing Algorithm for WSNs Using Fuzzy Logic. Sensors. 2023; 23(19):8074. https://doi.org/10.3390/s23198074

Chicago/Turabian Style

Rao, Preetha R., Amruta Lipare, Damodar Reddy Edla, and Saidi Reddy Parne. 2023. "An Energy-Efficient Routing Algorithm for WSNs Using Fuzzy Logic" Sensors 23, no. 19: 8074. https://doi.org/10.3390/s23198074

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop