1 Introduction

A Wireless Body Area Network (WBAN) is a cyber-physical system which integrates the sensing and computational capabilities of distributed biosensor nodes with wireless networking for real-time monitoring and control of physiological parameters of the human body [1]. A WBAN system consists of multiple wireless bio-sensor nodes. Bio-sensor nodes are designed to measure diverse human body physiological parameters such as blood pressure (BP), heart rate, body temperature, blood oxygen saturation, respiration rate etc. Nodes are attached to related body parts for physiological data sensing. Sensed data is transmitted to a central sink node using on-body wireless communication links [2]. Sink node processes the node data and uploads it to an internet cloud network for remote examination by a medical professional. WBANs find their potential use in telemedicine, sports, and military sectors [3, 4]. Figure 1 shows a pictorial representation of a WBAN system.

Fig. 1
figure 1

WBAN system for telemedicine healthcare applications

As per IEEE 802.15.6 WBAN communication standards, a WBAN system needs to deliver high QoS performance to meet medical application norms. For example, successful data packet delivery rates (network throughput) should be more than 90%. An end to end delay (network latency) above 125 ms is unacceptable. WBAN communication links should deliver 1 Kbps to 10 Mbps data transmission rates. Maximum transmitted power from a WBAN node transceiver module is limited to − 10 dBm [5,6,7,8,9,10,11].

A wearable biosensor node needs to be compact for the better compatibility with the patient’s body. The foremost constraint of a tiny biosensor node is its miniature power source [2, 5]. Sensor nodes consume a considerable amount of assigned node energy for transmitting data to other nodes [12]. The requirement of high QoS performance with the constraint of limited node power demands an energy-efficient data routing protocol for WBAN systems.

Figure 2 demonstrates three basic data routing schemes for WBAN: (i) single hop, (ii) Multihop and (iii) clustering-based data routing.

Fig. 2
figure 2

Different routing schemes for WBANs

In a single hop transmission scheme, data loss rates remain high for distant boundary nodes (up to 80%) as low power signals get blocked by lossy transmission medium of the human body. Multihop routing protocols utilize intermediate nodes as relay nodes [13]. It helps in reducing packet loss rates of boundary nodes. At the same time, it results in larger network latency.

Clustering approach-based routing protocols are appropriate for WBAN systems. Based on a predefined grouping criterion, nodes are clubbed into different clusters. A suitable cluster member node is selected as a cluster head (CH node). Thus, the cluster member nodes are considered as candidates for the job of CH node. CH node collects data packets from the cluster node in a single hop manner, aggregates them into a single datum packet and transmits the datum to the sink node. Overall, two hop data transmission provides affordable data packet loss rates for boundary nodes with an acceptable end to end delay. Data aggregation compresses the transmitted data. It saves node transmission energy [14,15,16,17].

Due to additional responsibilities like data aggregation, CH node consumes more power as compared to child sensor nodes. Hence, the CH nodes are dynamically selected for every transmission round. Dynamic cluster head selection distributes the load of cluster head job among network nodes and equalizes the node energy consumption across the network. Equalized node energy consumption results in an enhanced network lifetime [18, 19].

Multi-Attribute Decision-Making (MADM) algorithms are widely used for dynamic cluster head selection [15, 17, 18]. MADM approach quantitatively compares the candidate cluster member nodes and ranks them for their appropriateness for cluster head selection. Node ranking is done on the basis of multiple node attributes such as node residual energy level, node distance from the sink etc. Node possessing the most desired attribute values gets selected as cluster head [20]. Section 2 discusses various MADM approaches.

Conventional MADM approaches require precise values of node attributes. Precise evaluation of each node attribute value is a tedious task in a real-time environment [18].

Fuzzy logic-based MADM techniques perform efficiently in case of insufficient, missing or vague attribute information [21]. Fuzzy MADM approach transforms the node attribute values into fuzzy linguistic grades such as low, medium or high. Fuzzy mapping rules are used to provide node rankings on the basis of desirability criteria of fuzzy attribute grades [22]. Fuzzy-MADM approaches offer a substantial increase in network lifetime with consistent distribution of routing load among network nodes as compared to conventional MADM techniques [23].

Existing fuzzy logic-based routing protocols are mostly designed for general wireless sensor networks [18, 24, 25]. However, such protocols cannot efficiently be applied to WBANs.

WBANs are different from common WSNs in terms of network architecture and node count. WBAN nodes possess inferior computation power, memory and energy as compared to a general WSN node [13].

Hence, a WBAN routing protocol should be designed using fuzzy logic and needs to be optimized for IEEE 802.15.6 WBAN communication standards to meet high-QoS requirements of medical applications [6].

Present research work proposes a Fuzzy Genetic Algorithm (FGA)-based clustering protocol for data routing in WBAN systems.

The Proposed protocol incorporates a hybrid Fuzzy-Genetic MADM algorithm for dynamic cluster head selection. It is called as “Energy Budget-based Fuzzy-Genetic Multiple Attributes Decision-Making Algorithm (EB-fg-MADM)”.

To select an appropriate cluster head node, EB-fg-MADM assesses two attributes of every candidate cluster member node- (i) “CH selection cost” of the node & (ii) “Current residual energy level” of the node.

The first attribute, CH selection cost of a particular node is calculated by assuming the node as next cluster head and forecasting the value of network energy loss if it is used for executing the clustering-based data routing operation as cluster head. EB-fg-MADM estimates the CH selection cost values of each candidate cluster member node using the first-order radio model for node transmission energy consumption [19]. Here, it is to be noted that the model-based estimations generally result into approximates values [18].

For an optimum cluster head node, its CH selection cost needs to be minimized while the value of Residual energy attribute is desired to be maximized.

After having an assessment of node attribute values, EB-fg-MADM decides the relative importance of two node attributes for cluster head selection. A genetic algorithm (GA)-based iterative global search optimization process is used to decide the weights of two node attributes for each round of cluster head selection.

EB-fg-MADM applies the node attribute values and attribute weights to a fuzzy logic-based TOPSIS function for cluster head selection. TOPSIS is an abbreviation for the Technique for Order Preference by Similarity to Ideal Solution.

Besides the advantage of fuzzy logic to adequately deal with the vagueness of selection process, fuzzy-TOPSIS provides a consistent assignment of node ratings through simple & rational mathematical operations [26, 27].

Fuzzy-TOPSIS function transforms the numerical node attribute values to fuzzy linguistic grades such as Very low, Low, Medium, High or Very high. Weighted fuzzy grades create a fuzzy Multi-Criteria Decision Matrix (MCDM). Fuzzy Positive and Negative ideal solutions (FPIS & FNIS) are identified involving the set of best and worst performance attribute values, respectively. Candidate node possessing attributes closest to positive ideal solution and farthest from negative ideal solution is selected as the optimum cluster head node.

EB-fg-MADM distributes cluster head job among WBAN nodes in a uniform manner. It leads to elongated network lifetime.

Proposed protocol utilizes a Loss-less data compression-based intra-network data transmission scheme. Utilized transmission scheme removes redundant data from the transmission and saves node transmission energy.

Proposed protocol is simulated and the performance results are obtained in terms of network lifetime, packet success rate and end to end network latency. Results are compared with existing WBAN routing protocols and are found to be better. This protocol fulfills the technical requirements of an energy-efficient and high-QoS WBAN system.

The given paper is organized as follows: Section 2 presents a brief literature review of existing routing protocols along with research motivation and our contribution. Section 3 defines the various system model and assumptions. Section 4 describes the proposed protocol and the results are given in Sect. 5. Section 6 concludes the paper along with the future scope.

2 Literature Survey and Motivation

This section presents an introduction to different MADM techniques followed by a brief survey of related works from the literature. Section ends by highlighting the motivation, contribution and research impact of the present work.

2.1 MADM Approaches for Cluster Head Selection

A cluster head selection process completes in three steps: Alternative qualification, attribute formulation and node ranking for final selection. The first step determines the alternatives. Cluster nodes possessing the residual energy above a predefined threshold usually qualify as alternatives. The next step devises the required node attributes for the consideration in selection process. The consideration of suitable node attributes helps in achieving the desired objectives of selection process like energy-efficient data routing, improved network throughput and latency etc. The final step utilizes a Multi-Attribute Decision Making (MADM) algorithm for the final selection of optimum cluster head node [23, 26].

A MADM algorithm processes the attributes of candidate cluster member nodes and rates them for their suitability for being the cluster head. Node possessing the set of most desired attribute values is selected as cluster head [20].

A decision matrix forms the foundation for an MADM approach-based cluster head selection process [20]. It is composed of alternatives as Si; i = 1, 2… N, node attributes as Aj; j = 1, 2… M, attribute weights as Wj; j = 1, 2… M, and attribute values as mij; i = 1, 2… N, j = 1, 2… M. Table 1 shows a multi-attribute decision matrix.

Table 1 Decision matrix

The classical MADM approach like Simple Additive Weighting (SAW) assigns the node ratings in form of composite performance scores (Cost function) [28]. Composite performance score Ci of a particular candidate cluster member node-i is computed as follows:

$$C_{i} = \mathop \sum \limits_{j = 1}^{M} W_{j} *(m_{ij} )_{\text{Normalized}}.$$
(1)

Here (mij)Normalized denotes the normalized value of attribute-Aj of node-i. If Aj is a beneficial attribute that is desired to be high, then it is normalized as mij/max (Aj) where max (Aj) is the maximum of the set of the values of attribute-Aj of all alternatives. Normalization of a non-beneficial attribute is done as max (Aj)/mij. Node obtaining the highest performance score is selected as cluster head.

WPM [29] and PDW [15, 17] methods assign composite performance scores according to Eqs. 2 and 3, respectively. Node obtaining the highest score becomes the cluster head.

$$C_{i} = \mathop \prod \limits_{j = 1}^{M} \left\{ {(m_{ij} )_{\text{Normalized}} } \right\}^{{W_{j} }}$$
(2)
$$C_{i} = \frac{{{\text{Product}}\;{\text{of}}\;{\text{beneficial}}\;{\text{attributes}}\;{\text{of}}\;{\text{node-}}i}}{{{\text{Product}}\;{\text{of}}\;{\text{non-beneficial}}\;{\text{attributes}}\;{\text{of}}\;{\text{node-}}i}}$$
(3)

Performance score-based MADM approaches provide the ease of computation. But such techniques show inconsistency in node ratings and the selected cluster heads do not always posses the attributes closest to their ideally desired values [27].

The classical TOPSIS approach identifies the cluster head node possessing the attributes closest to ideally desired values and farthest from ideally undesired values. TOPSIS multiplies the decision matrix to the attribute weight matrix and creates the weighted multi-criteria decision matrix. Positive and Negative ideal solutions (PIS & NIS) are identified involving the set of best and worst performance attribute values, respectively. Candidate node possessing attributes closest to PIS and farthest from NIS is selected as the optimum cluster head node [26, 27, 30].

The TOPSIS fulfills the characteristics of an effective and efficient MADM approach. Following are the advantages of TOPSIS approach.

  1. i.

    TOPSIS provides the flexibility to consider unlimited numbers of alternatives and attributes.

  2. ii.

    Number of steps remains same regardless of the number alternatives and attributes.

  3. iii.

    TOPSIS provides a consistent assignment of node ratings through simple & rational mathematical operations.

  4. iv.

    TOPSIS offers a reliable & fast decision making.

The TOPSIS and other classical MADM need precise values of node attributes. Precise evaluation of attribute values is a tedious task in a real-time environment [18].

The fuzzy logic based MADM approaches adequately deals with the estimated or vague attribute information [23, 31, 32]. They transform the node attribute values into linguistic fuzzy grades like very low, low, medium, high or very high. The alternatives are qualitatively compared and ranked for the selection on the basis of the desirability criteria of fuzzy attribute grades. The node possessing the fuzzy attributes closest to ideally desired grades gets the CH job.

The literature reports several fuzzy-MADM approaches like Mamdani Fuzzy Controllers [23], Fuzzy Inference Relation [24], Fuzzy TOPSIS [26] and Fuzzy-AHP [32] etc.

Fuzzy-TOPSIS approach offers the advantages of classical TOPSIS technique along with its ability to deal with the vagueness of cluster head selection process [18, 26]. Fuzzy-TOPSIS MADM approach proceeds in following steps.

  1. i.

    Transform the normalized node attribute values mij; i = 1, 2… N, j = 1, 2… M and attribute weights as Wj; j = 1, 2… M into fuzzy linguistic grades \(\tilde{m}_{ij}\) and \(\tilde{W}_{j}\) such as Very low, Low, Medium, High and Very high. As depicted by Table 6, a fuzzy linguistic grade is characterized by an associated triplet fuzzy number (TFN).

  2. ii.

    Create a fuzzy decision matrix (\(\tilde{D}\)) and fuzzy weight matrix (\(\tilde{W}\)). Fuzzy decision matrix includes the fuzzy attribute grades (\(\tilde{m}_{ij}\); i = 1, 2… N, j = 1, 2… M). Fuzzy weight matrix includes fuzzy weights (\(\tilde{W}_{j}\); j = 1, 2… M) Eq. 4 and 5 show \(\tilde{D}\) and \(\tilde{W}\) matrices respectively.

    $$\tilde{D} = \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} {\tilde{m}_{11} } & \ldots & {\tilde{m}_{1M} } \\ \end{array} } \\ {\begin{array}{*{20}c} \vdots & \ddots & \vdots \\ \end{array} } \\ {\begin{array}{*{20}c} {\tilde{m}_{N1} } & \ldots & {\tilde{m}_{NM} } \\ \end{array} } \\ \end{array} } \right]_{N \times M}$$
    (4)
    $$\tilde{W} = \left[ {\begin{array}{*{20}c} {\tilde{W}_{1} } & {\begin{array}{*{20}c} {\tilde{W}_{2} } & \cdots \\ \end{array} } & {\tilde{W}_{M} } \\ \end{array} } \right]$$
    (5)
  3. iii.

    Obtain the weighted fuzzy decision matrix (\(\tilde{V}\)) by multiplying the fuzzy decision matrix (\(\tilde{D}\)) by the fuzzy weight matrix (\(\tilde{W}\)). Equation 6 shows the \(\tilde{V}\) matrix.

    $$\tilde{V} = \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} {\tilde{m}_{11} *\tilde{W}_{1} } & \ldots & {\tilde{m}_{1M} *\tilde{W}_{M} } \\ \end{array} } \\ {\begin{array}{*{20}c} \vdots & \ddots & \vdots \\ \end{array} } \\ {\begin{array}{*{20}c} {\tilde{m}_{N1} *\tilde{W}_{1} } & \ldots & {\tilde{m}_{NM} *\tilde{W}_{M} } \\ \end{array} } \\ \end{array} } \right] = \left[ {\tilde{v}_{ij} } \right]_{N \times M}$$
    (6)
  4. iv.

    Obtain fuzzy positive and negative ideal solutions (FPIS & FNIS), according to Eqs. 7 and 8 respectively. Where \(\tilde{v}_{j}^{ + }\) and \(\tilde{v}_{j}^{ - }\) are the best and worst performance attribute values of jth attribute, respectively.

    $${\text{FPIS}} = \left[ {\tilde{v}_{1} {^{ + }} , \tilde{v}_{2} {^{ + }} , \ldots ,\tilde{v}_{M} {^{ + }} } \right]$$
    (7)
    $${\text{FNIS}} = \left[ {\tilde{v}_{1} {^{ - }} , \tilde{v}_{2} {^{ - }} , \ldots ,\tilde{v}_{M} {^{ - }} } \right]$$
    (8)
  5. v.

    Compute the separation indexes, \(dist\left( i \right)^{ + }\) and \(dist\left( i \right)^{ - }\) for each candidate cluster member node from \(\tilde{v}_{j} {^{ + }}\) and \(\tilde{v}_{j} {^{ - }}\) respectively. They are computed as follows.

    $${\text{dist}}\left( i \right)^{ + } = \mathop \sum \limits_{j = 1}^{M} D_{f} \left( {\tilde{v}_{ij} , \tilde{v}_{j} {^{ + }} } \right)$$
    (9)
    $${\text{dist}}\left( i \right)^{ - } = \mathop \sum \limits_{j = 1}^{M} D_{f} \left( {\tilde{v}_{ij} , \tilde{v}_{j} {^{ - }} } \right)$$
    (10)

    Note: The term \(D_{f} \left( {\tilde{x}, \tilde{y}} \right)\) represents the Euclidean distance in between two triangular fuzzy numbers \(\tilde{x}\) and \(\tilde{y}\).

  6. vi.

    Compute the TOPSIS ranks SCi i = 1, 2… N of each candidate cluster member node, according to the Eq. 11.

    $${\text{SC}}_{i} = \frac{{{\text{dist}}\left( i \right)^{ - } }}{{{\text{dist}}\left( i \right)^{ - } + {\text{dist}}\left( i \right)^{ + } }}$$
    (11)
  7. vii.

    Select the candidate node obtaining the highest TOPSIS rank as the cluster head node. It possesses the attributes closest to FPIS and farthest from FNIS.

2.2 Related Works

This sub-section presents a review of existing multihop and clustering-based routing protocols. The reviewed protocols are classified into following categories on the basis of their MADM approach for route selection.

  1. i.

    Classical MADM approaches

  2. ii.

    Fuzzy MADM approaches

  3. iii.

    Bio-inspired MADM approaches

Following is the category wise review of existing protocols.

  1. i.

    Classical MADM approaches

Kaur et al. proposed a multihop data routing protocol for WBAN applications termed as Optimized Cost Effective and Energy-Efficient Routing (OCER) [13]. Protocol assigns a cost function value to each intermediate node which is a function of node residual energy, link reliability and link path loss. Node obtaining the minimum cost function value is selected as the forwarder node. Load distribution is fairly uniform across the high throughput network.

Nadeem et al. proposed iM-SIMPLE protocol for multihop data routing in WBANs [33]. Composite performance score based MADM technique is used for route selection in between source nodes and sink node. Each intermediate node gets a cost function value which is equal to the ratio of node residual energy to its proximity to sink. Highest cost function value node gets selected as the forwarder. The consideration of node energy and proximity to sink attributes in route selection leads to uniform load distribution and high network throughput. Protocol takes account of different body postures and body movements in route selection.

The LAEEBA protocol from Ahmed et al. computes the node cost function values as the ratio of the square root of node residual energy to its distance from sink [34].

Ahmed et al. proposed CO-LAEEBA protocol which is a modified version of LAEEBA protocol [35]. CO-LAEEBA utilizes cooperative routing. Single hop routing paths are used for emergency data. While the multihop paths are used for normal data. The desired criteria for path selection include minimum hop count and the highest energy intermediate forwarder nodes. CO-LAEEBA shows improved energy efficiency and network throughput.

Javaid et al. presented M-ATTEMPT, a multihop routing scheme for WBAN [36]. Minimum hop routing paths are elected and dynamically changed whenever the temperature of intermediate forwarder nodes rises beyond the threshold level. Node residual energies are not considered for path selection. It results in non-uniform load distribution.

Javaid et al. proposed a relay-based routing strategy for the WBANs incorporating in-body sensors [37]. The minimum required transmission range is used for in-body sensors. Relay nodes are placed on the body. Relay selection criteria is the minimum distance from the transmitting in-body sensor. Proposed scheme minimizes the energy consumption of in-body sensors with an acceptable end to end delay.

The Tripe-EEC protocol of Ullah et al. adapts its multihop route selection criteria based on the type of the data [38]. A data path for normal data includes the minimum number of relay nodes with minimum rise in temperature. Critical or on-demand data is routed through priority-based minimum delay paths.

In the case of hotspot discovery, multihop routing protocols change the current path to a usually longer new routing path [36]. It results in a larger end to end delay. Clustering-based routing protocols offer the benefits of both single hop and multihop type of communication [15].

Ali et al. proposed the EERP Protocol for the clustering based data routing in WBANs. It uses product and division weighting (PDW) method for dynamic CH node selection [15]. A cost function is assigned to each candidate cluster member node as a ratio of node residual energy to its distance from the sink. Node obtaining the maximum cost function value gets selected as the cluster head.

Similarly, the SIMPLE protocol from Nadeem et al. selects the CH node having the highest residual energy and closest proximity to sink [16]. Cluster head distribution is fairly uniform across the network.

The DSCB protocol from Zahid et al. uses a dual sink approach for clustering-based routing in WBANs [17]. Protocol calculates a cost function for each node. Cost function of a particular node is equal to the ratio of node residual energy to the product of sink distance and the minimum node transmission power. The node possessing the highest cost function value becomes the CH. Dual sink approach handles the single sink failure condition. However, dual sink increases the cost overhead.

Fouad et al. proposed an adaptive multihop routing protocol (AMRP) for wireless sensor networks with multiple constraints [39]. Analytic Hierarchy Process (AHP) is used to adapt the node weights and the classical TOPSIS approach is used for forwarder node selection. The desired criteria for relay selection include minimum hop count, maximum node centrality and bridging centrality. TOPSIS provides the flexibility to consider unlimited numbers of alternatives and attributes.

  1. ii.

    Fuzzy logic based MADM approaches

The fuzzy logic based MADM approaches transform the attribute values into fuzzy linguistic grades and adequately deals with the vagueness of cluster head selection process [21].

For example, Lee et al. proposed LEACH-ERE protocol which uses a Fuzzy Inference Relation-based cluster head selection mechanism [24]. The protocol makes an assessment of two node attributes (node residual energy and expected node residual energy) of each candidate node. Expected node residual energy is the remaining energy of the node if it acts as the cluster head. Attribute values are transformed to fuzzy linguistic grades as High, Medium and Low. Fuzzy mapping rule sets the highest CH selection priority for node possessing the both attributes as “High”. LEACH-ERE provides consistent distribution of routing load among network nodes and achieves elongated network lifetime. LEACH-ERE is designed for general WSNs only.

Ayati et al. proposed SCHFTL protocol which utilizes three levels of Mamdani fuzzy inference based MADM approach [23]. The first level MADM performs alternative qualification. The second level MADM selects the cluster heads. The third level MADM selects a super cluster head of cluster heads. The provision of super cluster head reduces the packet loss rate. Thus, the packet retransmissions are less required and result is the elongated lifetime. SCHFTL is designed for general WSNs.

Pawan et al. proposed the FBECS protocol for clustering-based data routing in general WSNs [25]. A fuzzy inference system considers the node residual energy, node distance to sink and neighbor node density attributes of each alternative. Fuzzy mapping rules set the highest CH selection priority for node possessing the three attributes residual energy as High, distance as Far and neighbour density as Dense. FBECS provides improved node lifetime with a balanced load distribution.

Balaji et al. demonstrated the use of fuzzy inference control using type-1 fuzzy sets for CH selection [22]. Selection criteria included high trust factor and minimum distance to sink. Proposed technique achieves lifetime maximization and network overhead reduction.

Sonam et al. proposed a fuzzy logic-based hybrid WSN routing protocol (FHRP) for precision agriculture application [31]. Critical nodes directly transmit their data to sink. Normal nodes report through a cluster-based data routing network. A fuzzy inference MADM approach is used for CH node selection. Node transmissions occur only when the data exceeds a predefined threshold. The reduced number of data transmissions leads to an elongated network lifetime.

The FEEC-IIR protocol from Preeth et al. performs the cluster head selection using a hybrid fuzzy-AHP and TOPSIS MADM approach [32]. The considered attributes are node energy, QoS impact and node location. Protocol achieves an improved QoS performance along with an extended network lifetime.

A Fuzzy-TOPSIS approach is used for cluster head selection by Puneet et al. [18]. Selection criteria include node residual energy, number of immediate neighbors, and the sink distance.

Fuzzy-TOPSIS approach provides the flexibility to consider unlimited numbers of alternatives and attributes. Bilal et al. considered five node attributes (node energy, node energy expenditure rate, neighbor density, average distance from neighbor nodes, and sink distance) for the fuzzy-TOPSIS-based CH node selection [40].

  1. iii.

    Bio-inspired MADM approaches

Recently published works show the use of Genetic Algorithm (GA), Particle Swarm Optimization (PSO) & Ant Colony Optimization (ACO)-based routing mechanisms.

For example, Elhoseny et al. proposed GAHN protocol which uses a GA-based clustering method for heterogeneous WSNs [41].Chromosomes of the initial population are the random sets of nodes (0 for Child and 1 for CH). In the iterative steps of fitness evaluation, selection, crossover, & mutation, GA applies the minor changes to the population and minimizes the objective function of total communication distance. Over successive iterations, the population evolves towards optimized cluster formation. GAHN achieves a significant increase in network lifetime.

Lin et al. proposed particle swarm optimization-based relay selection (PSO-LSMR) for low-SAR multihop routing for WBAN [8]. Selection criteria include relay SAR value and relay transmission power. PSO performs the particle initialization (possible relay position) and the iterations of particle fitness evaluation, local & global best updates and particle position & velocity updates. After certain number of iterations, PSO finds the optimum relay node with the minimized objective function of relay SAR and transmission power. The major drawback with a static relay node is that it consumes its limited power soon due to heavy relaying load.

Xie et al. proposed CRT2FLACO protocol which utilized Ant colony optimization in conjunction with type-2 Mamdani fuzzy inference-based MADM approach for CH node selection [42]. Selection criteria include node energy, neighbor node density and sink distance. Protocol uniformly balances the load and enhances the network lifetime.

Fuzzy-MADM and bio-inspired approaches offer a uniform load distribution and a substantial increase in network lifetime as compared to classical approaches. Table 2 shows the details of the surveyed protocols.

Table 2 Details of different protocols

2.3 Motivation and Contribution

The proposed EB-fg-MADM algorithm performs model-based estimation of node CH selection cost attribute value. Model-based estimation generally result in approximate values [18].

The fuzzy logic-based MADM approaches perform efficiently in case of estimated or imprecise attribute information [26]. Moreover, the fuzzy-MADM-based cluster head selection mechanisms offer a uniform distribution of cluster head load among network nodes resulting in a substantial increase in network lifetime as compared to conventional MADM approaches [23].

Existing fuzzy-based routing protocols are mostly designed for general wireless sensor networks [18, 24, 25]. However, such protocols cannot efficiently be applied to WBANs. WBANs are unlike to common WSNs in terms of network-architecture and node count. WBAN nodes possess inferior computation power, memory and energy as compared to a general WSN node [6, 13].

Hence, a WBAN routing protocol should be designed using fuzzy logic and needs to be optimized for IEEE 802.15.6 WBAN communication standards to meet high-QoS requirements of medical applications.

In the present work, we propose a new hybrid Fuzzy-Genetic Algorithm (EB-fg-MADM)-based clustering protocol for data routing in WBANs.

Following are the contributions of the present research work.

  1. a.

    Fuzzy-TOPSIS approach based dynamic cluster head selection.

  2. b.

    Optimization of node attributes weights through an iterative process of Genetic Algorithm (GA).

  3. c.

    Utilization of a Loss-less data compression technique for redundancy removal.

Fuzzy-TOPSIS approach is suitable for WBAN applications. It provides a consistent assignment of node ratings through simple & rational mathematical operations [27].

The proposed protocol meets the technical requirements of an energy-efficient and high-QoS WBAN system. An efficient and wearable WBAN system constantly monitors the patient’s health status, while he or she may remain at home [3]. This is a great help for elderly patients because frequent visits to a doctor’s clinic or hospital can be painful for them.

3 WBAN System Model

For the proposed research work, the WBAN system consists of eight bio-sensor nodes and a single sink. Figure 3 shows the target WBAN system. Table 3 contains details of bio-sensor nodes.

Fig. 3
figure 3

Biosensor positions on the patient body

Table 3 Biological sensor details

3.1 Heterogeneous WBAN Topology

Target WBAN adopts heterogeneous network topology. Source bio-sensor nodes have limited energy resource. Sink node is designed to have more power supply and processing potential as compared to source nodes. Sink performs energy-consuming tasks and coordinates cluster head selection process.

Sensor nodes S4 and S5 (heart rate and body temperature) perform data sampling at low-sampling rates (< 50 Hz). These sensor nodes are allowed to transmit their data packets directly to the sink using a single-hop LOS communication channel.

Nodes S1, S2, S3, S6, S7, and S8 perform at higher sampling rates. They are designed to work in a cluster and send their data packets to the selected cluster head. Figure 4 shows the target WBAN topology.

Fig. 4
figure 4

Target WBAN topology

Biological sensor nodes require 10 to 72 Kbps bit rates for output data transfer [10]. Bluetooth wireless RF communication module is suitable for target WBAN sensor nodes as it provides data transfer rate up to 1 Mbps.

3.2 Energy Model

Proposed work adopts first-order radio model for the estimation of node energy expended by a node in data transmission [19, 35].

According to first-order radio model, node transmission energy consumption for relaying a data packet (W number of bits) to a distance ‘D’ can be estimated as follows:

$$E_{\text{Tx}} \left( {W,D} \right) = E_{\text{TX-elect}} \times W + E_{\text{Amp}} \times \eta \times D^{\eta } \times W$$
(12)

The same model also accounts for node energy consumption in receiving a data packet of ‘W’ bits as follows:

$$E_{\text{RX}} \left( W \right) = E_{\text{RX-elect}} \times W$$
(13)

Using the same model, node energy consumed in aggregating ‘W’ number of bits can be accounted as follows:

$$E_{\text{DA}} \left( W \right) = E_{\text{DA}} \times W.$$
(14)

Here, ETx-elect, ERx-elect, and EAmp denote per bit node energy consumption in running node transmitter, receiver, and amplifier circuits, respectively. EDA denotes per bit data aggregation energy consumption. The path loss index η is used to represent additional path loss presented on body communication channels.

In the proposed technique, node processing energy losses are ignored as they are negligible as compared to data transmission [12].

3.3 Propagation Path Loss Model

Present work assumes Line of Sight (LoS) on-body wireless transmission channels along with 2.4 GHz frequency of operation in ISM narrow band range. As per IEEE 802.15.6 standards, Industrial, Scientific and Medical (ISM) open-frequency band is quite useful for WBAN system. It supports higher data rates at lower transmission power. Furthermore, it offers reasonably stable channel gain, less body attenuation and insignificant ISI [8]. Simulation of the proposed technique has been carried out using an on-body communication path loss model as follows [13]:

$${\text{PL}}\left( {D,F} \right)\;{\text{in}}\;{\text{dB}} = 10\cdot{ \log }\left( {4\pi D_{o} f/c} \right) + 10\eta \log \left( {\frac{D}{{D_{o} }}} \right) + \chi_{\sigma }.$$
(15)

Here, PL, F and D denote for propagation path loss (dB), channel frequency (MHz) and the node distance (m), respectively. Reference distance is denoted by Do. Additionally, the Gaussian random parameter χσ carries zero mean and σ standard deviation. It accounts for the shadowing factor in dB. Table 4 summarizes different notations used in the current paper.

Table 4 Notations

3.4 Inherent Redundancy in Sensed Data

A general WBAN encounters the problem of unnecessary node transmission power consumption due to redundant data. Table 5 shows various physiological data samples extracted from previous research. These data samples are experimentally measured using different biological sensors in a real-time WBAN environment [5, 11]. It is evident from green data fields, that the biosensors may measure correlated similar values of physiological parameters in consecutive data sensing cycles.

Table 5 Biological parameter data samples

A node can save a considerable amount of energy if it does not send consecutively sensed correlated packets to sink. The sink can reuse such data packets from its own memory.

Proposed protocol utilizes a loss-less data compression based intra-network data transmission scheme. This scheme removes consecutively sensed redundant data from the node transmission and saves node energy.

4 Proposed WBAN Routing Protocol

For each transmission round, proposed algorithm performs the following operations.

4.1 Localization

At the starting of each transmission phase, each bio-sensor node measures its proximity to sink and other nodes. Distance data is estimated using the RSSI-based localization method.

Each node including sink transmits a “HELLO” packet with transmitting node ID. Each “HELLO” message carries the same transmitted power Ptrans.

Assuming that node-i receives “HELLO” packet of node-j with Prec.(i, j) as received power. The propagation path loss in the received signal can be calculated as follows:

$${\text{PL}}\left( {\text{dB}} \right) = P_{{{\text{trans}}. }} \left( {\text{dBm}} \right) - P_{\text{rec}} \left( {i,j} \right)\left( {\text{dBm}} \right)$$
(16)

The distance between node-i and node-j, represented by D(i, j); i, ji, jU, can be computed by putting the value of estimated path loss in Eq. 15. Here, U represents the set of network nodes including sink.

In this manner, each node estimates its distance from sink as well as other nodes and saves the estimated distance values to its local onboard memory.

4.2 Cluster Head Selection

Nodes S1, S2, S3, S6, S7, and S8 create a cluster. A suitable cluster node becomes the cluster head (CH). Cluster member nodes possessing the residual energy more than a predefined energy threshold (ER> Ethr) are considered as the candidate nodes for CH selection.

A novel EB-fg-MADM algorithm is proposed to perform dynamic CH node selection. To select an appropriate CH node, EB-fg-MADM assesses following attributes of each candidate cluster member node:

  1. i.

    CH selection cost of the node, EL(i); ∀ iN.

  2. ii.

    Residual energy level of the node, ER(i); ∀ iN.

Here, N denotes the set of candidate cluster member nodes.

The proposed algorithm works in the following steps.

  • Step-1: Estimation of CH selection cost of each node

Each candidate cluster member node estimates its CH selection cost attribute value.

For CH selection cost estimation, a candidate cluster node assumes itself as the cluster head. Then, it makes a model-based prediction of network energy loss if it carries out the data routing operation as a cluster head. This predicted value of network energy loss is the CH selection cost of the node. Node CH selection cost attribute values are calculated as follows:

  1. i.

    Node-i; ∀ iN visualizes itself as the next CH node.

  2. ii.

    Using First-order radio model, node-i forecasts the energy losses of other cluster nodes in sending their data packet to node-i. Denoting these losses as ELoss_Child, Eq. 17 models ELoss_Child.

    $$ \begin{aligned} E_{{{\text{Loss\_Child}}}} \left( i \right) &= \mathop \sum \limits_{\forall j \in N;j \ne i} \left[ {E_{\text{Tx-elec}} \,E_{\text{Rx-elec}} \,E_{\text{DA}} \,E_{\text{Amp}} } \right] \\ &\quad \times \left[ {\begin{array}{*{20}c} 1 \\ 0 \\ {\begin{array}{*{20}c} 0 \\ {\eta D\left( {i,j} \right)^{\eta } } \\ \end{array} } \\ \end{array} } \right] \times W; \quad \forall i \in N \\ \end{aligned} $$
    (17)
  3. iii.

    Now node-i forecasts its own energy loss in performing the tasks of CH node like reception of data packets from child nodes, data aggregation and transmission of aggregated datum to sink. Denoting such loss as ELoss_CH, Eq. 18 models ELoss_CH.

    $$ \begin{aligned} E_{{{\text{Loss\_CH}}}} \left( i \right) & = \left[ {E_{\text{Tx-elec}} \,E_{\text{Rx-elec}} \,E_{\text{DA}} \,E_{\text{Amp}} } \right] \\ & \quad \times \left[ {\begin{array}{*{20}c} 1 \\ {\left( {N - 1} \right)} \\ {\begin{array}{*{20}c} 1 \\ {\eta D\left( {i,{\text{Sink}}} \right)^{\eta } } \\ \end{array} } \\ \end{array} } \right] \times W ; \quad \forall i \in N \\ \end{aligned} $$
    (18)

    Here, D(i, j) represents the distance between node-i and node-j. Other abbreviations are the same as used in the first-order radio model of Eqs. 12 to 14.

  4. iv.

    CH selection cost for node-i is denoted by EL(i), which is given by Eq. 19.

    $$ \begin{aligned} E_{\text{L}} \left( i \right) = E_{{{\text{Loss\_Child}}}} \left( i \right) + E_{{{\text{Loss\_CH}}}} & \left( i \right) \\ ;\forall i \in N \\ \end{aligned} $$
    (19)
  • Step 2: Energy packet transmissions to sink node

Cluster member nodes send an “ENERGY” packet to sink. “ENERGY” Packet contains the current level of node residual energy ER, node CH selection cost value EL and the node ID.

Thus, sink gets the node attribute values (ER(i) and EL(i) ∀ iN) from each candidate cluster member node. Now sink determines the relative importance of node attributes for cluster head selection.

  • Step 3: Genetic Algorithm (GA) based weight optimization

In this step, the sink decides the relative importance of three node attributes for cluster head selection by assigning certain weights to them such as WL for EL attribute and WCH for ER attribute. More the weight of a node attribute, higher is the importance given to that attribute for cluster head selection.

In a conventional MADM approach, node attribute weights are decided on the basis of certain experiments and past experiences of the target optimization problem. In the present work, the sink uses an iterative optimization process of Genetic Algorithm (GA) for determining the node attribute weights.

Genetic Algorithm optimizes the two node attribute weights in such a manner so that the selected cluster head needs minimum transmission power for communicating its data to sink. The Genetic Algorithm functions as follows:

  1. i.

    Initialization

Initially, a certain number δ of random solutions are assigned to two weight variables WL & WR. This set of initial random solutions create an initial population WLi & WRi; i = 1, 2…δ. A solution in the population is termed as a chromosome. For example, WLi & WRi represent the chromosome-i. Individual weight values of a chromosome are called genes. The constraint for initialization is that the summation of WLi and WRi equals unity. Figure 5 shows the initial population of Genetic Algorithm.

Fig. 5
figure 5

Initial population

After initialization, GA works with iterative steps. Each iteration carries out following function-fitness evaluations for each chromosome of the current population, selection of parent chromosomes for crossover, crossover of parent chromosomes to generate new chromosomes (offspring) and mutation of genes of new chromosomes.

  1. ii.

    Fitness evaluation

For each chromosome value of current population, a fitness function is calculated. Fitness of the first chromosome WL1 & WR1 is calculated as follows:

Sink calculates the composite indexes CW1,j; ∀ jN, for each candidate cluster member node-j; ∀ jN (see Eq. 20).

$$\begin{aligned} {\text{CW}}_{1,j} &= W_{{{\text{L}}1}} \times \left| {\frac{{E_{{{\text{L}}\;{ \hbox{max} }}} - E_{\text{L}} \left( j \right)}}{{E_{{{\text{L}}\;{ \hbox{max} }}} }}} \right| \\ & \quad +W_{{{\text{R}}1}} \times \left| {\frac{{E_{{{\text{R}}\;{ \hbox{max} }}} }}{{E_{{{\text{R}}\;{ \hbox{max} }}} - E_{\text{R}} \left( j \right)}}} \right| ; \quad \forall j \in N \\ \end{aligned}$$
(20)

Here, EL(j) and ER(j) represent the node attributes of candidate cluster member node-j. EL max and ER max are maximum attribute values of the current node attribute set of cluster member nodes.

Now GA finds the candidate cluster member node obtaining the maximum composite weight index for the first chromosome. Assuming that the kth candidate cluster member node (node-k) obtains the maximum composite weight index that is max (CW1,j; ∀ jN).

Now, the GA estimates the minimum transmission power (Ptk) as required by node-k for communicating its data to sink. Following equation is used for power calculation.

$$P_{\text{tk}} \;{\text{in}}\;{\text{dBm}} = {\text{PL}}_{{k, {\text{sink}}}} \;{\text{in}}\;{\text{dB}} + P_{\text{rsens}} \;{\text{in}}\;{\text{dBm}}$$
(21)

Here, PLk, sink represents the signal path loss from node-k to sink. Prsens is the receiver sensitivity.

Now fitness value of the first chromosome of the initial population is computed as follows:

$${\text{Fitness}}_{1} = \frac{1}{{1 + P_{\text{tk}} }}$$
(22)

Similarly, fitness values of remaining chromosomes of the initial population are obtained. Figure 6 demonstrates fitness evaluation steps.

Fig. 6
figure 6

Fitness evaluation

  1. iii.

    Parent selection

Now, the parent chromosome couples are selected for crossover. The chromosomes with higher fitness function (i.e. lower values of minimum transmit power) have a higher probability of becoming a parent. Roulette Wheel process is used for the selection. A predefined crossover rate (ρc) decides the number of parent couples for crossover.

  1. iv.

    Crossover

Each selected couple of parent chromosomes carries out crossover and generates a new chromosome called as offspring. The first gene of an offspring (WL) is the first gene of the first parent and the second gene of an offspring chromosome (WR) is the second gene of the second parent.

Each newly borne offspring replaces its first parent chromosome from the current population and a new population is formed. Figure 7 demonstrates the crossover step.

Fig. 7
figure 7

Crossover step

  1. v.

    Mutation

Now, GA carries out the mutation function. In a mutation process, the first or second gene of a randomly selected chromosome of the new population is replaced with a random value. A predefined mutation rate (ρm) decides the number of mutations to be carried out in the iteration. Figure 8 demonstrates the mutation step.

Fig. 8
figure 8

Mutation step

After the mutation step, the fitness function is calculated for each chromosome of the mutated population. Then, the GA repeats the steps-ii to step-v.

Thus, the GA in each of its iteration applies minor changes to chromosomes of the current population to maximize objective fitness function. Over successive iterations, the population evolves towards an optimized weight value solution.

  • Step 4: Fuzzy-TOPSIS based quantitative comparison of candidate nodes

Now, EB-fg-MADM lets the sink node to apply fuzzy logic-based TOPSIS process on node attribute data and node attribute weigths. TOPSIS ranks each candidate node for their appropriateness for CH job.

At first, the numerical attribute values of each cluster member node are transformed into fuzzy grades such as Very low, Low, Medium, High, and Very high. Then a multi-criteria decision matrix (MCDM) is created comprising of weighted fuzzy node attributes of each candidate cluster member node. Fuzzy positive and negative ideal solutions (FPIS & FNIS) are identified involving the set of best performance attribute (highest ER & lowest EL) and worst performance attribute values, respectively.

Candidate node possessing the attributes closest to FPIS and farthest from FNIS is selected as the optimum cluster head node. The steps involved in fuzzy-TOPSIS process are as follows:

  1. i.

    Normalization of node attribute values

Node attribute values (ER(i) and EL(i); ∀ iN) are normalized to a range of [0, 1]. Equations 23 & 24 fulfill this purpose.

$$E_{\text{Rn}} \left( i \right) = \frac{{E_{\text{R}} \left( i \right) - { \hbox{min} }\left( {E_{\text{R}} } \right)}}{{\hbox{max} \left( {E_{\text{R}} } \right) - { \hbox{min} }\left( {E_{\text{R}} } \right)}}$$
(23)
$$E_{\text{Ln}} \left( i \right) = \frac{{E_{\text{L}} \left( i \right) - { \hbox{min} }\left( {E_{\text{L}} } \right)}}{{\hbox{max} \left( {E_{\text{L}} } \right) - { \hbox{min} }\left( {E_{\text{L}} } \right)}}$$
(24)

Here, ERn(i) and ELn(i) represent attributes of node-i, normalized to a range of [0, 1].

  1. ii.

    Fuzzy transformation of numerical node attributes

Normalized node attributes are transformed into appropriate fuzzy grades such as Very low, Low, Medium, High and Very high.

As depicted by Table 6, each of the five fuzzy grades are characterized by an associated triplet fuzzy number Ef = {Ef min, Ef mode, Ef max}. Triplet fuzzy numbers are overlapping in nature with a spread of 0.25 or 0.3. Such characteristics of triplet numbers replicate the fuzziness of transformed attribute data.

Table 6 Fuzzy transformation table

A normalized attribute value, ERn/ELn is mapped to a corresponding fuzzy grade ERf/ELf with the help of fuzzy membership function,\(\mu_{{E_{\text{Rf}} }} \left( {E_{\text{Rn}} } \right)\)/\(\mu_{{E_{\text{Lf}} }} \left( {E_{\text{Ln}} } \right)\).

In general, Eq. 25 is used to evaluate fuzzy membership function,\(\mu_{{E_{\text{f}} }} \left( {E_{\text{n}} } \right)\) of a particular fuzzy grade, Ef = {Ef min, Ef mode, Ef max} extracted from the input attribute value, En.

$$\mu_{{E_{\text{f}} }} \left( {E_{\text{n}} } \right) = \left\{ {\begin{array}{*{20}c} {\frac{{E_{\text{n}} - E_{{{\text{f}}\;{ \hbox{min} }}} }}{{E_{{{\text{f}}\; {\text{mode}}}} - E_{{{\text{f}}\;{ \hbox{min} }}} }}} & {{\text{if}}\;E_{{{\text{f}}\;{ \hbox{min} }}} \le E_{\text{n}} \le E_{{{\text{f}}\;{\text{mode}}}} } \\ {\frac{{E_{{{\text{f}}\;{ \hbox{max} }}} - E_{\text{n}} }}{{E_{{{\text{f}}\;{ \hbox{max} }}} - E_{{{\text{f}}\;{\text{mode}}}} }}} & {{\text{if}}\;E_{{{\text{f}}\;{\text{mode}}}} \le E_{n} \le E_{{{\text{f}}\;{ \hbox{max} }}} } \\ {} & { {\text{else}}\, 0 } \\ \end{array} } \right.$$
(25)

For the given normalized attribute value ERn(i)/ELn(i) fuzzy membership function values of each of five fuzzy grades are obtained. Fuzzy grade obtaining maximum membership value for a given attribute value is assigned to that attribute value and is termed as ERf(i)/ELf(i).

Transformed fuzzy grades of node attributes, ERn(i)/ELn(i); ∀ iN, create the fuzzy sets, ERf(i)/ELf(i); ∀ iN.

Table 7 depicts the transformed triplet fuzzy attribute grades of six cluster member nodes. This data is obtained from the simulation of proposed algorithm for 100th transmission round.

Table 7 Transformed Fuzzy Grades @ 100th transmission round
  1. iii.

    Multi-criteria decision matrix (MCDM)

Optimized node attribute weight values (WR & WL) are also transformed into triplet fuzzy numbers; {WR min, WR mode, WR max} & {WL min, WL mode, WL max}, respectively.

During protocol simulations, for 100th transmission round, the optimized node attribute weights (WR & WL) were found to be High {0.55, 0.7, 0.85} & Low {0.15, 0.3, 0.45} respectively.

Transformed node attribute fuzzy grades, ERf(i) and ELf(i); ∀ iN are multiplied to their respective fuzzy weights to get weighted node attribute fuzzy grades, ERw(i) and ELw(i); ∀ iN. Multiplication takes place as per Eq. 26.

$$\begin{aligned} E_{\text{Rw}} \left( i \right) & = E_{\text{Rf}} \left( i \right) \times W_{\text{R}} \\ & = \left\{ {E_{\text{Rf min}} \left( i \right), E_{\text{Rf mode}} \left( i \right),E_{\text{Rf max}} \left( i \right)} \right\} \\ & \quad \times \left\{ {W_{\text{R min}} , W_{\text{R mode}} ,W_{\text{R max}} } \right\} \\ & = \{ E_{\text{Rf min}} \left( i \right) \times W_{\text{R min}} , E_{\text{Rf mode}} \left( i \right), \times W_{\text{R mode}} , E_{\text{Rf max}} \left( i \right), \times W_{\text{R max}} \} \\ & = \left\{ {E_{\text{Rw min}} \left( i \right), E_{\text{Rw mode}} \left( i \right),E_{\text{Rw max}} \left( i \right)} \right\} \\ \end{aligned}$$
(26)

Weighted node attribute fuzzy grades, ERw(i) and ELw(i); ∀ iN, form an N × 2 Multi-Criteria Decision Matrix (MCDM) which is expressed as follows:

$${\text{MCDM}} = \left[ {\begin{array}{*{20}c} {E_{\text{Rw}} \left( 1 \right) } & {E_{\text{Lw}} \left( 1 \right)} \\ {E_{\text{Rw}} \left( 2 \right)} & {E_{\text{Lw}} \left( 2 \right)} \\ {\begin{array}{*{20}c} \vdots \\ {E_{\text{Rw}} \left( N \right)} \\ \end{array} } & {\begin{array}{*{20}c} \vdots \\ { E_{\text{Lw}} \left( N \right)} \\ \end{array} } \\ \end{array} } \right]_{N \times 2}$$
(27)

MCDM given below is obtained from the fuzzy grade data of Table 7.

$${\text{MCDM}}_{{\begin{array}{*{20}c} {@ 100 } \\ {\text{Transmission}} \\ {\text{Round}} \\ \end{array} }} = \left[ {\begin{array}{*{20}c} {\left\{ {0, 0.0700, 0.2125} \right\}} & {\left\{ {0.1125, 0.2700, 0.4500} \right\}} \\ {\left\{ {0, 0.0700, 0.2125} \right\}} & {\left\{ {0.0225, 0.0900, 0.2025} \right\}} \\ {\left\{ {0.4125, 0.6300, 0.8500} \right\}} & {\left\{ {0, 0.0300, 0.1125} \right\}} \\ {\left\{ {0.4125, 0.6300, 0.8500} \right\}} & {\left\{ {0, 0.0300, 0.1125} \right\}} \\ {\left\{ {0.1925, 0.3500, 0.5525} \right\}} & {\left\{ {0.0525, 0.1500, 0.2925} \right\}} \\ {\left\{ {0.0825, 0.2100, 0.3825} \right\}} & {\left\{ {0.0525, 0.1500, 0.2925} \right\}} \\ \end{array} } \right]_{{\left( {N = 6} \right) \times 2}}$$
(28)
  1. iv.

    Fuzzy ideal solutions (FPIS & FNIS)

Now sink analyses MCDM and identifies Fuzzy Positive and Negative ideal solutions (FPIS & FNIS). FPIS and FNIS involve the set of best and worst performance attribute values, respectively (see Eq. 29 & 30).

$$\begin{aligned} {\text{FPIS}} & = \left[ {E_{\text{R }}^{ + } , E_{\text{L }}^{ + } } \right] \\ & = \left[ {\mathop {\hbox{max} }\limits_{i} \{ E_{{{\text{Rw}} }} \left( i \right);\forall i \in N\} ,\mathop {\hbox{min} }\limits_{i} \{ E_{\text{Lw }} \left( i \right);\forall i \in N\} } \right] \\ & = [\left\{ {{E_{\text{R}}^{ + }}_{ \hbox{min} } , {E_{\text{R}}^{ + }}_{\text{mode}} ,{E_{\text{R}}^{ + }}_{ \hbox{max} } } \right\}, \\ & \qquad \left\{ {{E_{\text{L}}^{ + } }_{ \hbox{min} } , {E_{\text{L}}^{ + } }_{\text{mode}} ,{E_{\text{L}}^{ + }}_{ \hbox{max} } } \right\}] \\ \end{aligned}$$
(29)
$$\begin{aligned} \text{FNIS} & = \left[ {E_{\text{R}}^{ - } , E_{\text{L}}^{ - } } \right] \\ & = \left[ {\mathop {\hbox{min} }\limits_{i} \{ E_{\text{Rw}} \left( i \right);\forall i \in N\} ,\mathop {\hbox{max} }\limits_{i} \{ E_{\text{Lw}} \left( i \right);\forall i \in N\} } \right] \\ & = [\left\{ {{E_{R}^{ - }}_{ \hbox{min} } , {E_{R}^{ - }}_{\text{mode}} ,{E_{R}^{ - }}_{ \hbox{max} } } \right\}, \left\{ {{E_{L}^{ - }}_{ \hbox{min} } , {E_{L}^{ - }}_{\text{mode}} ,{E_{L}^{ - } }_{ \hbox{max} } } \right\}] \\ \end{aligned}$$
(30)
  1. v.

    Separation Index

Sink computes the two separation indexes, \({\text{dist}}\left( i \right)^{ + }\) and \({\text{dist}}\left( i \right)^{ - }\) for each cluster member node. These indexes, \({\text{dist}}\left( i \right)^{ + }\) and \({\text{dist}}\left( i \right)^{ - }\) are the measure of closeness of node-i’s attributes to ideal solutions FPIS & FNIS, respectively. They are computed as follows:

$${\text{dist}}\left( i \right)^{ + } = D_{f} \left( {E_{\text{Rw }} \left( i \right), E_{{{\text{R}} }}^{ + } } \right) + D_{\text{f}} \left( {E_{\text{Lw }} \left( i \right), E_{\text{L }}^{ + } } \right)$$
(31)
$${\text{dist}}\left( i \right)^{ - } = D_{\text{f}} \left( {E_{\text{Rw }} \left( i \right), E_{\text{R }}^{ - } } \right) + D_{\text{f}} \left( {E_{\text{Lw }} \left( i \right), E_{\text{L }}^{ - } } \right)$$
(32)

The term \(D_{\text{f}} \left( {E_{\text{Rw }} \left( i \right), E_{\text{R }}^{ + } } \right)\) of Eq. 20 represents the fuzzy distance in between two fuzzy numbers: ERw(i) = {ERw min(i), ERw mode(i), ERw max(i)} and E +R ={E +R min, E +R mode, E +R max}. It is given by Eq. 33.

$$D_{\text{f}} \left( {E_{\text{Rw }} \left( i \right), E_{{{\text{R}} }}^{ + } } \right) = \sqrt {\left[ {\begin{array}{*{20}l} {\left( {E_{\text{Rw min}} \left( i \right) - {E_{\text{R}}^{ + }}_{ \hbox{min} } } \right)^{2} + \left( {E_{\text{Rw mode}} \left( i \right) - {E_{\text{R}}^{ + }}_{\text{mode}} } \right)^{2} } \\ \qquad \qquad { + \left( {E_{\text{Rw max}} \left( i \right) - {E_{\text{R}}^{ + }}_{ \hbox{max} } } \right)^{2} } \\ \end{array} } \right]}$$
(33)

Similarly, other fuzzy distances of Eq. 31 and 32 can also be calculated.

  1. vi.

    TOPSIS Rank

Now, using Eq. 34, sink computes TOPSIS ranks SC(i); ∀ iN of each candidate cluster member node for their suitability for cluster head job.

$${\text{SC}}\left( i \right) = \frac{{{\text{dist}}\left( i \right)^{ - } }}{{{\text{dist}}\left( i \right)^{ - } + {\text{dist}}\left( i \right)^{ + } }}); \forall i \in N$$
(34)
  • Step-5 Selection of optimum cluster head

The candidate cluster member node with highest TOPSIS rank, SC(i), is chosen as the cluster head. Thus, a cluster member node possessing the attributes closest to positive ideal solution and farthest from negative ideal solution is selected.

Sink node announces the selection by broadcasting a “CH_ANNOUNCE” message containing node ID of the selected cluster head. Remaining cluster nodes act as the subordinate child node of the selected cluster head.

4.3 Data Sensing Phase

Biosensor nodes sense the intended body parameter and produce equivalent digital “DATA” packets using onboard analog to digital converters. Each “DATA” packet carries node IDs of sender node, receiver node and the sensed data.

4.4 Intra Cluster Data Transmission Phase

Subordinate cluster nodes communicate “DATA” packets to the CH node. They report in TDMA based time slots. This phase is carried out in the following two steps.

  • Step-1: Loss-less data compression technique for redundancy removal

Proposed technique adopts a loss-less data compression technique to remove consecutively sensed similar redundant data of a node from the transmission. It works as follows:

  1. i.

    Nodes store current and previously sensed data packets in memory.

  2. ii.

    A sensor node transmits its current “DATA” packet if it detects a “sense and transmit event”. Such event is detected when the currently sensed “DATA” packet is not similar to the last “DATA” packet sent by the node or the sensed parameter value goes beyond the threshold. The probability of the detection of a “Sense and Transmit event” is denoted by α.

  3. iii.

    A sensor node stops the transmission of a “DATA” packet if the packet is found to have a close correlation to its previously transmitted “DATA” packet. Instead, it broadcasts an “EMPTY” message carrying its node ID.

  4. iv.

    If sink receives the “EMPTY” message from a node, then it reuses the last packet it got from the same node.

  5. v.

    In this manner, node energy is not consumed in transmitting redundant data.

  • Step-2: Link aware cooperative data transmission

Cluster child nodes cooperate with the cluster head to reduce its transmission burden. Link aware cooperative intra-cluster data transmission is performed as follows:

  1. i.

    If the sink node is found to be nearer to a child node as compared to CH node, then the child node sends its “DATA” packet to the sink node directly. Furthermore, it broadcasts a “BYPASS” message carrying its node ID. In Fig. 9, node-S1, instead of transmitting its “DATA” packet to CH node, sends it to sink directly. Selection of shorter path saves node transmission energy.

    Fig. 9
    figure 9

    Link aware cooperative data transmission

  2. ii.

    Else child nodes send their packets to the CH node.

4.5 Data Aggregation Phase

After receiving “DATA” packets from child nodes, CH node piles them into a single datum packet. CH node ignores the child nodes from which it receives either “EMPTY” or “BYPASS” messages.

4.6 Data Reporting to Sink Node

CH node communicates its datum packet to sink. Then the node S4 and S5 send their packets to sink one by one.

4.7 Complexity of EB-fg-MADM Algorithm

The time-complexity assessment of the proposed EB-fg-MADM algorithm is based on the number of arithmetic operations required to execute the algorithm.

After receiving the node attribute values, sink performs Fuzzy-TOPSIS based cluster head selection process and Genetic Algorithm based attribute weight optimization process.

Let the number of candidate cluster member node be n and the number of node attribute be m. Fuzzy-Topsis approach performs 3nm operations for attribute normalization, 15(n + 1)m operations for the fuzzy transformation of node attribute & attribute weights, 3nm operations to compute multi-criteria decision matrix (MCDM), 14nm operations to compute separation indexes dist(i)+ & dist(i) and 2n operations to compute TOPSIS ranks of candidate cluster member nodes. Thus, the computational complexity of fuzzy-TOPSIS-based cluster head selection stage is given by Eq. 35.

$$T_{\text{fuzzy-TOPSIS}} = \, 3nm \, + 15 \, \left( {n + 1} \right)m \, + 3nm \, + 14nm \, + 2n \, = 35nm \, + 15m \, + 2n$$
(35)

The time complexity of fuzzy-TOPSIS-based cluster head selection stage is O(nm).

The sink performs the attribute weight optimization through an iterative optimization process of Genetic Algorithm (GA). GA is a stochastic process. The time complexity of a GA is a function of GA parameters such as population size, chromosome gene count and number of iterations. GA complexity also depends on the methods used for fitness evaluation, parent selection, crossover and mutation. For Roulette Wheel selection of parents, one point crossover and point mutation, GA complexity becomes O(pqr) where p denotes population size; q denotes the gene count and r denote the number of iterations.

5 Simulation and Analysis of Proposed Protocol

Simulated biosensor node data samples are generated with “Sense and Transmit event” detection probability of α = 0.6. These data samples are used for protocol simulation. In this study, MATLAB tool is used for protocol simulation.

Figure 10 shows the initial positions of WBAN biosensor nodes in a 1.8 m × 1 m network area. Table 8 contains different simulation parameters.

Fig. 10
figure 10

WBAN biosensor nodes positions

Table 8 Simulation parameters

5.1 Network Lifetime and Stability Period

Network lifetime is defined as the total number of transmission rounds until last network node dies out.

Network stability period can be defined as the time period in which all network nodes remains fully functional with all capabilities of data sensing, data processing and data communication. The following section presents a derived model for network stability period.

Suppose node-i of a WBAN dies first after Ns rounds. Thus, Ns becomes the stability period of the network. Let Eo be the initial energy of node-i, m be the total number of nodes in the parent cluster of node-i.

Assuming uniform cluster head distribution, node-i remains a cluster head once in each m-transmission rounds. Thus, in Ns transmission rounds, node-i remains Ns/m times as cluster head and Ns (1 − 1/m) times as child node.

Average energy consumed by node-i as a cluster head in a single round is given by Eq. 36 (derived using first-order radio model [19]).

$$ E_{{{\text{Loss\_CH}}}} = \left[ {E_{\text{Tx-elec}} \, \,E_{\text{Rx-elec}}\, E_{\text{DA}} \, E_{\text{Amp}} } \right] \times \left[ {\begin{array}{*{20}c} 1 \\ {\left( {m - 1} \right)\alpha } \\ {\begin{array}{*{20}c} {\left( {m - 1} \right)\alpha } \\ {\eta D_{\text{toSink}}^{\eta } } \\ \end{array} } \\ \end{array} } \right] \times {\text{W}} $$
(36)

Here, DtoSink represents the average distance between the cluster head and the sink. W is the bit length of data packets sent from sensor nodes to cluster head and aggregated datum created by cluster head and sent to sink.

Average energy consumed by node-i as a child node in a single round is given as Eq. 37 (derived using first-order radio model [19]).

$$ E_{{{\text{Loss\_Child}}}} = \left[ {E_{\text{Tx - elec}} \;E_{\text{Rx - elec}} \;E_{\text{DA}} \;E_{\text{Amp}} } \right] \times \left[ {\begin{array}{*{20}c} 1 \\ 0 \\ {\begin{array}{*{20}c} 0 \\ {\eta D_{\text{toCH}}^{\eta } } \\ \end{array} } \\ \end{array} } \right] \times \alpha w $$
(37)

Here DtoCH is the average distance between a child node and its cluster head.

Total energy consumed by node-i in Ns stability period is Eo (as it gets died in Ns period). Now Eo can be approximated as follows.

$$ E_{o} = \left( {\frac{{N_{\text{S}} }}{m}} \right)E_{{{\text{Loss\_CH}}}} + N_{\text{S}} \left( {1 - \frac{1}{m}} \right)E_{{{\text{Loss\_Child}}}} $$
(38)

Using Eq. 36, 37 and 38, network stability period (Ns) gets formulated as follows.

$$N_{\text{S}} = \frac{{E_{o} /W}}{{\left[ {E_{\text{Tx - elec}} \;E_{\text{Rx - elec}} \;E_{\text{DA}} \;E_{\text{Amp}} } \right] \times \left[ {\begin{array}{*{20}c} {\frac{1}{m} + \left( {1 - \frac{1}{m}} \right)\alpha } \\ {\left( {1 - 1/m} \right)\alpha } \\ {\begin{array}{*{20}c} {\left( {1 - 1/m} \right)\alpha } \\ {\frac{{\eta D_{\text{toSink}}^{\eta } }}{m} + \eta D_{\text{toCH}}^{\eta } \left( {1 - \frac{1}{m}} \right)\alpha } \\ \end{array} } \\ \end{array} } \right]}}$$
(39)

Figure 11 demonstrates network stability period and network lifetime in terms of the dead node count verses transmission round count.

Fig. 11
figure 11

Number of dead nodes per round

Performance statistics for the network lifetime and stability period are shown in Table 9.

Table 9 Network lifetime statistics

Simulated performance suggests a network stability period of 8420 rounds for the proposed protocol (EB-fg-MADM) while for DSCB, EERP, and M-ATTEMPT protocols stability periods are 7938, 5315 and 2551, respectively. Similarly, proposed protocol offers an elongated network lifetime around 14,410 transmission rounds as compared to existing protocols.

Figure 12 depicts network residual energy plot verses transmission rounds. It clearly indicates that the network residual energy of EB-fg-MADM protocol becomes zero after 14,410 transmission rounds.

Fig. 12
figure 12

Residual energy

The proposed protocol offers elongated network stability lifetime periods as compared to existing protocols. It proves that the proposed protocol uniformly distributes the CH load across network nodes. All sensor nodes work for a longer period with their full capacity. Hence, it results in a longer network lifetime.

Proposed protocol (EB-fg-MADM) also adopts loss-less data compression technique which removes node redundant data from transmission. The omission of redundant data from transmission saves a considerable amount of node transmission energy. Figure 13 shows that omission of redundant data from node data transmission process saves 0.8 J of network energy in the first 5000 rounds. The result is the enhanced network lifetime of 14,410 rounds for proposed protocol.

Fig. 13
figure 13

Residual energy saving by loss-less data compression

5.2 Throughput (Data Packet Success Rate)

Network throughput can be measured by the number of effectively delivered data packets to the sink node. Figure 14 depicts the number of successfully delivered data packets to sink for various protocols.

Fig. 14
figure 14

Data packet delivered to sink

EB-fg-MADM protocol successfully delivers a sum of 5.6 × 104 packets from source to sink node in 15,000 transmission rounds. Proposed protocol provides better packet success rate as compared to other protocols.

Better network throughput of the proposed protocol is due to the implementation of the loss-less redundant data compression scheme. In this scheme, a node does not transmit its currently sensed data packet if it is same as the previously sensed data packet. In this case, sink reuses the previous data packet from the same node and the data packet is virtually transmitted to sink without facing the noisy communication channel. It results in reduced data packet loss rates and better network throughput.

5.3 End to End Delay (Network Latency)

Network latency result is shown by Fig. 15. The proposed protocol offers a maximum network latency of 23.7 ms which is far below the IEEE 802.15.6 threshold level of 125 ms.

Fig. 15
figure 15

End to end delay (latency)

Figure 16 demonstrates a detailed view of network latency for the first second of the network operation. Network completes 59 transmission rounds in the first second of its operation.

Fig. 16
figure 16

Detailed view of network latency results

Table 10 summarizes the performance results of the proposed and the existing routing protocols.

Table 10 Comparative evaluation of protocols

6 Conclusions and Future Work

An energy efficient data routing protocol is of paramount importance for WBAN because bio-sensor nodes consume a considerable amount of assigned node energy for transmitting data to other nodes. A clustering-based protocol provides an energy-efficient data routing scheme with affordable data loss rates and network latency. This paper proposed a novel clustering protocol for WBANs that utilizes a hybrid Fuzzy-Genetic MADM algorithm (EB-fg-MADM) for dynamic cluster head selection.

Simulation results verified that the EB-fg-MADM protocol offers an elongated network lifetime and stability period of 14,410 and 8420 transmission rounds, respectively, as compared to existing classical MADM-based routing protocols. The proposed protocol offers a consistent distribution of routing load among network nodes which results in elongated stability period and network lifetime.

EB-fg-MADM protocol utilizes a loss-less data compression technique for intra-cluster data communication which removes the node redundant data from the transmission. According to the loss-less data compression technique, a sensor node does not transmit a data packet if it is similar to its previously transmitted data packet. In this case, sink reuses the packet from its memory. Thus, the packet is virtually transmitted to sink without facing the noisy communication channel. It results in an increased network throughput. The omission of redundant data from transmission saves around 0.8 J of network energy in the first 5000 transmission rounds. The proposed protocol offers an end to end delay of 23.7 ms. Proposed protocol provides an energy efficient & high QoS WBAN system to meet medical application norms.

The current work assumes that there is a single isolated WBAN system and the transmissions within the WBAN do not face any radio frequency cross-channel interference from other WBAN using similar spectrum. But in a multiple WBAN environment, there is a possibility of cross-channel interference which leads to degraded QoS performance & reduced network reliability. The current research work may be expanded to incorporate diverse WBANs working in closer proximity with the objective of mitigating cross-channel interference with higher reliability and network stability.

Our future research directions are focused on designing the WBAN routing protocol which overcomes the problem of cross-channel interference and provides the desired QoS performance in a multiple WBAN scenario.