Research Article  Open Access
Mengying Xu, Jie Zhou, "A Biologically Inspired Algorithm for Low Energy Clustering Problem in Body Area Network", Journal of Sensors, vol. 2021, Article ID 5525602, 12 pages, 2021. https://doi.org/10.1155/2021/5525602
A Biologically Inspired Algorithm for Low Energy Clustering Problem in Body Area Network
Abstract
The growing application of body area networks (BANs) in different fields makes the low energy clustering a paramount issue. A clustering optimization algorithm in BANs is a fundamental scheme to guarantee that the essential collected data can be forwarded in a reliable path and improve the lifetime of BANs. Low energy clustering is a technique, which provides a method that shows how to reduce network communication costs in BANs. A careful low energy clustering scheme is one of the most critical means in the research of BANs, which has attracted considerable attention, comprising monitoring capability constraints. However, the classical clustering method leads to high cost when constraints such as large overall energy consumption are undertaken. Hence, a binary immune hybrid artificial bee colony algorithm (BIHABCA), a randomized swarm intelligent scheme applied in BANs, motivated by immune theory and hybrid scheme is introduced. Furthermore, we designed the formulation that considers both distances between two nodes and the length of bits. Finally, we have compared the energy cost optimized by BIHABCA with a shuffled frog leaping algorithm, ant colony optimization, and simulated annealing in the simulation with different quantity of nodes in terms of energy cost. Results show that the energy cost of the network optimized by the proposed BIHABCA method decreased compared to those by the other three methods which mean that the proposed BIHABCA finds the global optima and reduces the energy cost of transmitting and receiving data in BANs.
1. Introduction
As a branch of wireless sensor networks (WSN), a special network in medical applications called body area network (BAN) is an important network in biomedical and many other fields, which plays an important role in telemedicine, special population monitoring, and community medical services [1, 2]. It is a special type of sensor network, which has brought tremendous changes to human society. It is used for health care, individual health recovery, and sports, even in social public health to collect the data of electrocardiograph signal, blood pressure, blood sugar, temperature, etc. [3, 4]. BAN is one of the most important networks in telemedicine, special population monitoring (such as infants and the elderly), and community health care and has broad application prospects [5].
The typical wireless BAN consists of three parts: medical sensor nodes (the nodes or devices are generally placed on the human body), sink nodes, and network management nodes [6]. BAN is generally constructed with a distributed strategy. Medical sensor nodes and portable mobile devices are employed to collect health data of the human body. The specific process is as follows: sensor nodes collect physiological data by monitoring the human body, and the collected information is transferred to the sink node. The sink node communicates with network management nodes using the Internet, satellite, and other communication methods, which can control and manage the BAN. Medical sensor nodes are evenly distributed in different areas of the human body, including the head, limbs, and trunk. In addition, in order to transmit the collected vital data effectively, the transmission distance, transmission rate, and residual energy of each node must also be fully considered [7, 8]. A BAN consists of distributed autonomous sensor nodes, and each sensing unit consists of sensing boards, processor, shortrange radio transmitter unit, and battery. Each node is a small and compact device to sense the healthy data and send to the base station [9–11].
Clustering optimization is an important sensor deployment issue in many industrial, consumer, and environmental monitoring applications. The storage capacity of BANs is generally small, which limits the network’s lifetime. In order to save communication energy and further prolong the lifetime of BANs, an effective clustering optimized method is designed to ensure the reasonable allocation of cluster heads on each path and improve transmission speed [12]. However, there are many defects and shortcomings in the research of low energy clustering. Firstly, the random selection of cluster heads leads to uneven distribution of cluster and cluster heads. Secondly, in the cluster head selection, the remaining energy of nodes, the amount of neighboring nodes, and the amount of times that the cluster head has been used are not considered, which aggravates the burden of cluster head and makes the communication energy and lifetime uneven. Thirdly, cluster heads near sink nodes consume more energy and are prone to premature death [13–15].
The artificial bee colony algorithm (ABCA) is a swarm intelligent method, which imitates the honey gathering behavior of bees. It is similar to many heuristic algorithms and belongs to an intelligent optimization algorithm. The optimization performance of ABCA is superior because few parameters should be adjusted and the complexity of the algorithm is low. Therefore, it is suitable for solving NPhard problems, such as a clustering algorithm. However, many other heuristic algorithms, such as ant colony optimization, genetic algorithm, and evolutionary algorithm, have many parameters to adjust and are easy to fall into evolutionary stagnation. Therefore, they are not the optimal methods to optimize the clustering algorithm.
In this paper, in order to optimize the position of cluster heads and energy cost of BAN, we propose a binary immune hybrid artificial bee colony algorithm (BIHABCA) in the low energy clustering problem for reducing network communication costs. To solve the problem, the distance between nodes and the number of data are considered to model the low energy clustering problem and introduce the fitness function of calculating energy cost. In BIHABCA, the immune operator and hybrid mechanism are considered into the artificial bee colony algorithm (ABCA) to develop global search capability, and the fitness function for low energy clustering is given to calculate the energy cost of the network in each generation.
In the simulation, we compare the BIHABCA with the shuffled frog leaping algorithm (SFLA), ant colony optimization (ACO), and simulated annealing (SA) in BANs with different quantity of cluster heads on the human body. The BIHABCA has demonstrated to have good potential in the optimization scheme of cluster heads to reduce communication energy. It also avoids local optima and improves the quality of solutions. The main contributions are given as follows: (1)Firstly, the BIHABCA method can successfully minimize the network energy consumption in BANs. After iterations, the energy cost optimized by the BIHABCA is 13.00%, 21.38%, and 27.38% less than SFLA, ACO, and SA, respectively, with 10% cluster heads when the number of nodes in BAN is 100. Furthermore, when the number of nodes increases, the similar conclusions can be deduced by comparing with other three algorithms. The clustering method based on BIHABCA requires less communication energy consumption of nodes in BANs, which can successfully strengthen the energy utilization efficiency(2)Secondly, the BIHABCA combined with immune and hybrid operators has better performance with no premature convergence. When the cluster head nodes account for 10% and 20% of total sensor nodes, respectively, in BANs. The BIHABCA has higher convergence rate than the SFLA, ACO, and SA. After iteration, the fitness optimized by BIHABCA converges to the optimal value compared with those by the other three algorithms(3)Finally, total energy cost of a system depends on energy costs on transmission and reception of all node. Therefore, with the increase of the amount of sensors in BANs, the demand for data transferred increases and the energy cost also improves correspondingly
2. Related Work
In the initial position management, the medical sensors are arranged arbitrarily in the BANs and different detection areas have different densities. Due to the small sensing radius of the sensor, the energy of the node is not only used for sensing data but also for transmitting data. If the node approaches the sink sensor, more energy is needed for transmitting the data. When the battery is exhausted, the data cannot be transmitted to the sink node, which will lead to the phenomenon of an energy hole. The research hotspot in this field is to optimize this problem by a heuristic swarm intelligent method for the practical situation.
In recent years, many researchers use different methods to solve problems of routing, clustering, and mobile sink for WSNs. In the WSN, a clustering strategy depending on a wolf pack algorithm using levy flight is definitely given to enhance the overall efficiency of system in [16]. Through simulation evaluation, a network’s lifetime is steadily raised and the energy efficiency is even better balanced.
In [17], the authors give a hexagon beehive model. Nodes are allocated throughout a hexagon arbitrarily. Therefore, the experiment results of the suggested model indicate the improvement in the residual energy between sensors, minimizing overall energy cost and finally strengthening the life span of the system.
In order to reduce the risk of premature sensor death in the system, in [18], a cluster head assortment strategy with ACObased MDC is given. In the experiment, the suggested approach can easily improve the sensor network lifespan considerably; nevertheless, the computing complex is too high.
In [19], the authors study a survey on clustering methods or algorithms reported in WSNs. They notice the clustering algorithms have certainly few overall efficiency in lessening system communication cost. It is also appropriate for limited equipment constraints of WSNs.
There is an effective clustering strategy with a hybrid anomaly monitoring technique for misdirection as well as black hole. An experiment was performed to lessen the energy consumption of the system in [20]. The outcomes illustrate that the suggested approach is important in security application.
In [21], the change mechanism of sensing radius is proposed to improve the network lifetime. It can be regarded as a linear programming problem. In [22], the lifetime is developed by increasing the number of sensors. Although the method improves the lifetime, it increases the energy consumption of WSN.
In BANs, an effective clustering method that considers large scale nodes and computational time is proposed. Experiment data represent that the method improves communication efficiency and lifetimes of networks [23]. Some recent works on the clustering issue are mainly focused on the optimization algorithms which are given in the following indepth description.
In the WSN, the cluster head selection is improved by a grey wolf optimizer that considers both average intracluster distance and residual energy to lessen energy consumption in [24]. The suggested clustering method improved by the grey wolf optimizer is applied to raise the network lifespan. The acquired results show that the overall performance and efficiency of the given method outperform other metaheuristics. It expands network lifetime successfully.
In [25], the authors study a gravitational search algorithm to optimize gradient clustering selection in the system. They study the length from the cluster heads to the gateway nodes as well as the remaining energy of the gateway nodes in the model. The suggested gravitational search algorithm is dependent on an evolutionary optimization. Experimental tests display the effectiveness and scalability of the offered strategy and demonstrate a great balance between exploration and search capabilities.
Particle swarm optimization is used to lessen the energy optimized dynamic clustering, to additionally choose the ideal cluster head in [26]. In the fitness computation, Manhattan distance is specially designed to compute the shortest route between the cluster heads and the base station. Energy consumption has been decreased by a suggested algorithm.
Optimal cluster head selection is explored employing an artificial bee colony metaheuristic in [27]. The provided approach uses an advanced population sampling strategy. The provided technique raises the global convergence and boosts energy effectiveness in a system.
In [28], a distributed clustering strategy based on ACO is given to improve communication efficiency. Furthermore, the allocation of cluster heads is selected using the Manhattan distance. Sensing data is transmitted between the two nodes. Experience results show that the energy of the network reduces efficiently. In [29], the SFLA is given in the clustering algorithm in the BAN to reduce total computational time. It can also effectively optimize communication costs after a limited number of iterations. Simulation results show that SFLA effectively extends the BAN’s stable period and lifetime, and the energy consumption is balanced effectively. More heuristic optimization algorithms are introduced in recent years.
3. System Model
In this section, after determining how many clusters in the BAN should be divided into, the cluster heads in each cluster must be carefully selected. The distance between nodes, the amount of data, and other factors must be considered when the cluster heads are selected, to make the cluster stable and extend the effective working time of the BANs. Therefore, we build a system model of the low energy clustering problem. With the continuous work to sense data, sensor nodes will stop working because of the exhaustion of energy. Energy cost is used to evaluate the lifetime of the BANs, which is defined as the time from the beginning of the BAN to death.
BAN is divided into several clusters, which include cluster member nodes and cluster heads. The normal nodes send medical information to the cluster heads. After that, data is sent to the base station from sink nodes. Cluster effectively saves the total energy consumption of BAN when the amount of information is huge. It is significant to the sensor network for transferring data.
The energy cost of a node is mostly consumed in the phase of transmission and reception. The low energy clustering model is simplified, and the wireless communication module is only considered in this paper. The energy consumption required by a sensor to transmit data includes transmission energy and reception energy. Our goal is to calculate the communication cost consumed in the process of transmission energy and reception energy of all sensor nodes in BANs.
Energy consumption of transmitting data includes energy consumption of signal transmitting circuit and signal amplifying circuit. Reception energy is the consumption of receiving data in the signal receiving circuit.
Transmission energy is related not only to the length of bits but also to the distance of data transmission between nodes. The energy consumed by a node to send data with bits to another node whose distance is . Energy costs on transmission and reception of one node are given in where is the transmission energy, is the reception energy, and represents the consumption parameter of transmitting or receiving per bit. Furthermore, in the above equations represents the energy consumption of transmitting or receiving bits. is the power amplification parameter. Transmission energy cost can be affected by the distance between two connected nodes.
In (3), is the total energy cost of a node, which includes transmission energy and reception energy.
Suppose that there are nodes in the coordinate area. is the total cost of nodes in BANs.
In (5), the function is designed to find the minimum energy of whole medical nodes in BANs when the cluster head nodes are allocated. where indicates the quality of the individuals after clustering. It also means the energy consumption of the allocation scheme of cluster heads in a round when communicating with other nodes. The individual with lower energy consumption in a round has better performance than other individuals.
The goal of building the low energy clustering model of BANs is to reduce the energy cost by allocating the cluster head nodes when data is transmitted and received in the network. In this way, the lifetime of BANs is improved effectively.
4. BIHABCA for Minimizing Energy Cost in BANs
4.1. Basic ABCA
The ABCA is a swarm intelligent method proposed by a Turkish scholar in 2005, which imitates the process of honey gathering of bees. Honeybees carry out different activities and perform the information sharing and selection between the colonies, to further obtain the best solution of the problem. It is similar to many heuristic algorithms and belongs to an intelligent optimization algorithm. Good results have been achieved in solving continuous combinatorial optimization problems [30].
Reference [31] proves that the convergence speed of the ABCA is superior to those of heuristic algorithms in solving multiobjective and multiextremum function problems, avoiding falling into local optimum as well as solving engineering problems including complex and multiextremum value. ABC is employed to cope with many projects involving traveling salesman problem, knapsack problem, engineering, software testing, neural networks, job scheduling, etc.
In the ABCA, one half of the bees is composed of employed bees, and the other half is composed of onlookers. The amount of employed bees is equal to that of onlookers. A food source represents a possible solution.
In the ABCA, each iteration consists of the three parts: employed bees are employed to collect the location of the honey source and calculate its solution; onlookers evaluate the fitness and use wheel roulette selection to calculate the possibility. Food source will be chosen with probability by calculating the value of fitness. Scout bees find a new individual to take the place of the abandoned one.
The optimization process of the ABCA is given as follows: firstly, initialize the location of food location and analyze the fitness of each individual. Employed bees generate a new food location nearby as well as assess the fitness of a new individual. Greedy selection is executed between the new solution and the old one [32].
After the employed bee has finished the search process, the onlookers evaluate the fitness as well as its location from all the bees in the area and select the honey location according to the probability of fitness. With the increase of the quality of solution of the honey source, the possibility of the honey source to be selected also increases. If a solution is abandoned, the scout bee randomly generates a honey source to replace the abandoned one.
4.1.1. Phase of Employed Bees
In the ABCA, the quantity of food locations is determined by the quantity of employed bees. In the BIHABCA, each bee generates a random location as follows: where is the food source in the population; ; is the dimension of the population; is another food source near ; is a random number subject to mean and distribution, ; and represents the number of food locations.
If the solution is better than the earlier one, the employed bee will remember the better solution; otherwise, it will still remember the old solution.
4.1.2. Phase of Onlookers
In the ABCA, for each food location in the phase of employed bees, the probability of each individuals being selected in the whole population is calculated in where represents the quality of the honey location and is the possibility that the onlooker chooses the food location in the population. It indicates that the honey source with high possibility has better solution to the problem.
4.1.3. Phase of Scout Bees
When an individual optimized many times in the stage of employed bees and onlookers is not improved, it will be discarded. The new honey source will be randomly produced by scout bees after limit times, limit is the upper limit of the algorithm. The new food location is randomly selected depending on (6).
4.2. Binary Immune Hybrid Artificial Bee Colony Algorithm
In this paper, the BIHABCA is used to solve the low energy clustering problem in BANs. It is improved in encoding and updating of honey source of BIHABCA in BANs to decrease the total energy cost when monitoring human health data and improve the global exploration abilities of proposed algorithm. The energy clustering problem is regarded as antigen. A possible solution is an antibody. There are antibodies in the population.
The steps of BIHABCA include solution encoding and initialization, fitness evaluation, stage of employed bees, stage of onlookers, stage of scout bees, and termination condition.
4.2.1. Solution Encoding and Initialization
BANs are divided into cluster head nodes and sensing nodes to collect heathy data. Binary coding is used to describe the clustering problem in BANs. In (8), is a population that contains antibodies and each antibody represents the mode of sensors: and . When , the sensor node is a cluster head node. On the contrary, when , the sensor node is a common node. For instance, represents that there are 10 nodes in the antibody, where the 1st, 5th, and 7th nodes are cluster heads and the rest of the individuals represent ordinary nodes. In (9), the maximum amount of cluster heads in an antibody is .
In the BIHABCA, the initial generation is 0 and the population is optimized for times.
4.2.2. Fitness Evaluation
Evaluate the energy cost of each food source in (4) and (5), and record the minimum energy cost and its food source. The fitness function of an individual can be calculated in (5).
4.2.3. Phase of Employed Bees
In the BIHABCA, a honey source represents a feasible solution in the low energy clustering problem in (6) that is randomly generated by employed bees [33, 34]. In addition, the quantity of honey locations is equal to the quantity of employed bees. Employed bees and onlookers are fifty percent of the total amount of bees, respectively. In the low energy clustering problem, the binary updating method is designed to calculate the position of food source. A sigmoid function is given to transform food source as follows:
4.2.4. Phase of Onlookers
The onlookers choose the honey source depending on the quality of solution. The probability of the onlookers choosing a honey source based on the energy cost of all nodes in BANs can be calculated in where is the possibility of the individual being selected by onlookers and is the energy cost of transmitting data and receiving data in BANs. However, individuals with low energy costs are more likely to be selected. Therefore, fitness is converted to reciprocal to calculate the possibility. In a low energy clustering problem, the food locations with lower communication costs are more likely to be chosen by the onlookers.
4.2.5. Phase of Scout Bees
When an individual is not updated within times, it should be discarded by employed bees. The scout bees will generate a new food location. In the BIHABCA, a new food location can be randomly generated instead of the abandoned one in
4.2.6. Termination Condition
In this work, stop searching when the iteration counter is equal to , and output the best clustering scheme with the lowest energy cost.
4.2.7. Basic Steps of BIHABCA
The basic steps of the BIHABCA are described as follows:
Step 1. Population and its parameters are initialized. Set the quantity of food sources , limit times in the phase of scout bees, and maximum number of iterations
Step 2. Binary code is designed to describe the food source in low energy clustering problem. Initial antibodies are randomly created
Step 3. Calculate the affinity (total transmission energy and reception energy of nodes in BAN), and find the optimal solution. Individuals with lower network energy consumption have better affinity
Step 4. Add one iteration,
Step 5. Add one bee,
Step 6. Use employed bees to update the food source in (6) and convert to binary code in (7)
Step 7. The onlookers are selected according to the probability to produce a new solution
Step 8. If food source is not updated after limit times by employed bees, it will be abandoned. Scout bees will randomly produce a new food source in equation (12)
Step 9. The several antibodies with the lowest energy cost in each generation are replaced to update some highest antibodies in population to the next generation
Step 10. If is met, output the best individual and its energy cost. Otherwise, turn to step 4
4.2.8. Computational Complexity Analysis
Computational complexity of the proposed method is considered in this part to demonstrate the performance. The distance and energy cost need to be calculated from each sensor to other sensors. Thus, complex multiplications are needed in energy calculation in the system model, where is the number of sensors. For the BIHABCA, each population contains individuals and each individual represents the working mode of sensors. The optimization is executed generation times. Thus, as for the worst situation, the computational complexity in the BIHABCA for minimizing energy cost in BANs is .
5. Simulation Results and Analysis
In this section, the energy cost optimized by the BIHABCA method and SFLA, ACO, and SA with different quantities of medical sensors are simulated using MATLAB R2104a. The fitness of algorithms can be calculated in part III. As indicated earlier, the objective function in section III is to calculate the effectiveness of schemes in the low energy clustering problem. We assume that the monitoring area is the hospital. Patients are equipped with sensor nodes to monitor blood pressure, blood sugar, temperature, etc. In the simulation, all sensors are initially considered uniformly distributed in the monitoring area (). Optimization times of the BIHABCA, SFLA, ACO, and SA are 100, respectively. Monte Carlo simulation is employed in the experiments. The final result in each generation is the average value of 100 experiments; the advantage of proposed algorithm is statistically significant in the experiment.
Some critical parameters in BANs are given as follows: nJ/bit, pJ/bit/m^{2}, and Mbps. The total energy cost of receiving data and transmitting data optimized by the BIHABCA will be compared with the SFLA, ACO, and SA.
As for the BIHABCA, there are few parameters that have to be adjusted. However, the parameters in BIHABCA are sensitive, because they have to be repeated and tested a number of times in the process of adjusting parameters in the experiments. If the parameters of the BIHABCA are not suitable for the clustering problem, the performance of the algorithm will be reduced and energy cost cannot be optimized effectively.
Each controlling parameter has a range of empirical values and they need to be adjusted in the range of empirical values until the optimal energy cost is reached.
Table 1 gives the description of parameters.

In order to ensure that the comparison between the comparative methods is fair, the same values of parameters of the BIHABCA, SFLA, ACO, and SA are given in the compare experiment, which include the consumption parameter of transmitting or receiving per bit , transmitting or receiving bits, and power amplification parameter . Furthermore, the parameters in the four optimization algorithms are the same, which include experiment times, iteration times, and number of individuals
In Table 2, we set the parameters of the BIHABCA, which are tested many times to get the optimal solution. In Tables 3–5, the parameters of the SFLA, ACO, and SA are given, respectively.




In Figure 1, the examples of clustering schemes optimized by BIHABCA are given from Figures 1(a)–1(d) when the numbers of nodes are 100, 200, 500, and 1000, respectively. In the following figures, the sensing area is a square (). Hollow circles mean normal nodes, and filled circles are cluster heads.
(a)
(b)
(c)
(d)
The total communication costs of all medical sensors receiving data and transmitting data optimized by BIHABCA, SFLA, ACO and SA, respectively, when with 10% cluster heads are shown from Figures 2(a)–2(d). The figures show the energy consumption of the BANs of the BIHABCA, SFLA, ACO, and SA on the low energy clustering problem when the quantities of sensor nodes are 100, 200, 300, and 400, respectively. After 100 runs, BIHABCA yielded much lower energy costs compared with the SFLA, ACO, and SA as shown in Figure 2.
(a)
(b)
(c)
(d)
In Figure 2(a), the energy optimized by the BIHABCA is 63.71 J when the number of nodes in the BAN is 100. Furthermore, the energy cost of receiving and transmitting data optimized by SFLA is 73.23 J with the same number of nodes in the BAN; the energy optimized by the ACO is 81.04 J, and the energy optimized by SA is the 87.73 J with 100 nodes in the BAN. Compared with the traditional SFLA, ACO, and SA method, the BIHABCA method we designed can, respectively, reduce total transmission energy and reception energy by 13.00%, 21.38%, and 27.38%. Furthermore, the proposed optimized BIHABCA is capable of providing a global optimum solution with a faster convergent speed.
Similar results can be obtained in Figures 2(b)–2(d). In Figure 2(b), the energy costs of receiving and transmitting data optimized by the BIHABCA, SFLA, ACO, and SA are 111.64 J, 123.72 J, 134.82 J, and 150.60 J, respectively, when the number of medical nodes is 200. In Figure 2(c), the energy costs of receiving and transmitting data optimized by the BIHABCA, SFLA, ACO, and SA are 164.13 J, 179.26 J, 203.92 J, and 218.52 J, respectively, when the number of medical nodes is 300. In Figure 2(d), the energy costs of receiving and transmitting data optimized by the BIHABCA, SFLA, ACO, and SA are 187.56 J, 210.87 J, 220.54 J, and 257.33 J, respectively, with 400 medical nodes. Simulations indicate that BIHABCA can reduce the total energy cost to further extend the lifetime and show the effectiveness of the proposed strategy.
As for a very deep analysis from different parameters of different metaheuristics, Figure 2 shows the energy cost in the BAN when the percentage of cluster head is 10% and the number of nodes is given from 100 to 400, respectively, based on the BIHABCA, SFLA, ACO, and SA. In the BIHABCA, an immune operator can accelerate the search of honey source location and overcome the shortcomings of random search of the ABCA. It even improves the evolution speed. The improved BIHABCA has a great improvement in search accuracy and stability. As for the SA, the energy cost of the clustering method can be seen from the simulation results. It reduces slowly with the increase of the generation times and falls easily into stagnation state in the later running period of the algorithm. The energy cost optimized by ACO is relatively stable, and the energy cost of BAN is difficult to be reduced. The pheromone volatilization coefficient is a significant factor that effects the energy cost of BAN. A pheromone volatilization coefficient will lead to the ACO falling into the local optimal solution, which affects the global search ability of the algorithm. The frogs in SFLA adopt different jumping way according to steps, and the number of iterations of the subgroup affects the local search ability of the SFLA and reduces the search performance. It can be seen from the figure that under the condition of different numbers of nodes, the energy cost is raised because of the increased number of nodes.
In Figure 3, the convergence and energy cost of the BIHABCA, SFLA, ACO, and SA are given when the cluster heads are 20% in BANs. In the initial phase of iteration, the convergence speed of the BIHABCA is faster because of the immune and hybrid operator. In the later stage, the convergent speed is slow. However, the BIHABCA performs better in energy efficiency than the SFLA, ACO, and SA. Furthermore, the increase of nodes will lead to the increase of energy consumption. As the amount of cluster heads increases, the amount of transmission data increases. Therefore, the energy consumption of transmission data increases. In addition, the SFLA, ACO, and SA show a slower convergence rate than the BIHABCA. The BIHABCA combined with immune and hybrid operators has better performance with no premature convergence.
(a)
(b)
(c)
(d)
As shown in Figure 3, the cluster head nodes account for 20% of total sensor nodes in BANs. The figures show energy costs optimized by the BIHABCA, SFLA, ACO, and SA with different numbers of nodes in BANs. It can be seen from Figure 3 that with the increase of cluster heads, the increment of the communication energy cost optimized by the BIHABCA, SFLA, ACO, and SA is continuously increased. The main reason is that the transmission energy and reception energy of total nodes in the communication process increase exponentially with the increase of head sensors. Furthermore, the SFLA, ACO, and SA are easy to fall into premature convergence. The BIHABCA can accelerate the search of honey source location and overcome the shortcomings of random search of the ABCA. At the same time, the immune operator helps the population evolutes toward the optimal search space. It avoids the stagnation of evolution and improves the convergence speed of the algorithm. In conclusion, the performance of the BIHABCA is better than those of the other three algorithms.
In Table 6, the best results of the BIHABCA, SFLA, ACO, and SA after 100 iterations are shown. After 100 iterations, the results optimized by the four methods are described in Table 5. The BIHABCA indicates the ideal effectiveness to decrease the energy cost with 100 medical nodes. The SFLA, ACO, and SA provide suboptimal results with 200, 300, and 400 nodes, respectively.

Tables 7 and 8 list the percentage of energy cost reduction optimized by BIHABCA than those by the other three algorithms with 10% cluster heads and 20% cluster heads, respectively. Experiment results show that the BIHABCA method can reduce the network energy consumption in BANs.


Table 9 shows the comparison of the runtime of the BIHABCA, SFLA, ACO, and SA after 100 iterations when the number of sensors increases and the percentage of cluster heads increases. Each runtime is given with 100 experimental tests. Table 9 shows that runtime is independent of the number of cluster heads. Furthermore, with the increase of sensor number, the computational complexity of algorithms raises, too. Therefore, the runtime of the algorithms also increases.

Figure 4 shows the energy cost optimized by the BIHABCA, SFLA, ACO, and SA, respectively, with different numbers of cluster heads. As shown in the following figure, with the increase of the amount of sensors in BANs, the demand for data transferred increases and the energy cost also improves correspondingly.
(a)
(b)
(c)
(d)
It can be concluded from Figure 4 that the clustering method based on BIHABCA requires less communication energy consumption of nodes in BANs, which can effectively improve the energy utilization efficiency.
6. Conclusion
Hence, a binary immune hybrid artificial bee colony algorithm (BIHABCA) in low energy clustering optimization in BANs in this paper is introduced to optimize the total energy cost. We first describe the clustering problem intimately and introduce the energy cost formulation. Then, immune and hybrid operators are designed into the ABCA to improve the effectiveness of the system. Extensive tests are carried out to validate the efficiency gain in terms of the energy efficiency when compared with the SFLA, ACO, and SA. After iterations, the energy cost optimized by the BIHABCA is 13.00%, 21.38%, and 27.38% less than those by the SFLA, ACO, and SA, respectively, with 10% cluster heads when the number of nodes in BAN is 100. The increment of the communication energy cost optimized by the BIHABCA, SFLA, ACO, and SA is continuously increased mainly because the transmission energy and reception energy of total nodes in the communication process raise with the increase of the cluster heads. Experiment results show that BIHABCA has minimized communication costs in BANs when compared with the SFLA, ACO, and SA approach with a large quantity of nodes in BANs.
Data Availability
The authors declare that the data used to support the findings of this study are available from the corresponding author upon request.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Acknowledgments
This paper was funded by the Corps Innovative Talents Plan (grant number 2020CB001), the project of Youth and MiddleAged Scientific and Technological Innovation Leading Talents Program of the Corps (grant number 2018CB006), the China Postdoctoral Science Foundation (grant number 220531, the Funding Project for High Level Talents Research in Shihezi University (grant number RCZK2018C38), the Project of Shihezi University (grant number ZZZC201915B), and the Postgraduate Education Innovation Program of the Autonomous Region.
References
 M. Ambigavathi and D. Sridharan, “A review of channel access techniques in wireless body area network,” in 2017 Second International Conference on Recent Trends and Challenges in Computational Models (ICRTCCM), Tindivanam, India, 2017. View at: Google Scholar
 R. Punj and R. Kumar, “Technological aspects of WBANs for health monitoring: a comprehensive review,” Wireless Networks, vol. 25, no. 3, pp. 1125–1157, 2019. View at: Publisher Site  Google Scholar
 R. Kaur, R. Pasricha, and B. Kaur, “A study of wireless body area networks and its routing protocols for healthcare environment,” Recent Advances in Electrical & Electronic Engineering, vol. 13, no. 2, pp. 136–152, 2020. View at: Publisher Site  Google Scholar
 M. A. Panhwar, S. Jatoi, and K. A. Memon, “Wireless body area networks: architecture, standards, challenges, and applications,” International Journal of Computer Science and Network Security, vol. 19, pp. 173–178, 2019. View at: Google Scholar
 K. Hasan, K. Biswas, K. Ahmed, N. S. Nafi, and M. S. Islam, “A comprehensive review of wireless body area network,” Journal of Network and Computer Applications, vol. 143, pp. 178–198, 2019. View at: Publisher Site  Google Scholar
 J. E. Bower, K. R. Kuhlman, M. D. Haydon, C. C. Boyle, and A. Radin, “Cultivating a healthy neuroimmune network: a health psychology approach,” Social and Personality Psychology Compass, vol. 13, no. 9, article e12498, 2019. View at: Publisher Site  Google Scholar
 D. Vera, N. Costa, L. RodaSanchez, T. Olivares, A. FernándezCaballero, and A. Pereira, “Body area networks in healthcare: a brief state of the art,” Applied SciencesBasel, vol. 9, no. 16, p. 3248, 2019. View at: Publisher Site  Google Scholar
 F. Wu, X. Li, A. K. Sangaiah et al., “A lightweight and robust twofactor authentication scheme for personalized healthcare systems using wireless medical sensor networks,” Future Generation Computer Systems, vol. 82, pp. 727–737, 2018. View at: Publisher Site  Google Scholar
 R. Kadel, N. Islam, K. Ahmed, and S. J. Halder, “Opportunities and challenges for error correction scheme for wireless body area networka survey,” Journal of Sensor and Actuator Networks, vol. 8, no. 1, p. 1, 2019. View at: Publisher Site  Google Scholar
 T. Rashid, S. Kumar, A. Verma, P. R. Gautam, and A. Kumar, “CoREERP: cooperative reliable and energy efficient routing protocol for intra body sensor network (IntraWBSN),” Wireless Personal Communications, vol. 114, no. 2, pp. 927–948, 2020. View at: Publisher Site  Google Scholar
 M. Mohammadhosseini, S. Najafzadeh, and E. Mahdipour, “Reduce energy consumption in sensors using a smartphone, smartwatch, and the use of SFLA algorithms (RECSSS),” Journal of Supercomputing, vol. 77, no. 1, pp. 909–935, 2021. View at: Publisher Site  Google Scholar
 D. Wohwe Sambo, B. O. Yenke, A. Förster, and P. Dayang, “Optimized clustering algorithms for large wireless sensor networks: a review,” Sensors, vol. 19, no. 2, p. 322, 2019. View at: Publisher Site  Google Scholar
 R. Yarinezhad and S. N. Hashemi, “Exact and approximate algorithms for clustering problem in wireless sensor networks,” IET Communications, vol. 14, no. 4, pp. 580–587, 2020. View at: Publisher Site  Google Scholar
 B. Jang, “An effective clustering protocol for wireless sensor networks,” Basic & Clinical Pharmacology & Toxicology, vol. 125, pp. 199200, 2019. View at: Google Scholar
 D. Maheswari, S. Sudha, and M. Meenalochani, “Fuzzy based adaptive clustering to improve the lifetime of wireless sensor network,” China Communications, vol. 16, no. 12, pp. 56–71, 2019. View at: Publisher Site  Google Scholar
 Y. U. Xiuwu, Y. U. Hao, L. Yong, and X. Renrong, “A clustering routing algorithm based on wolf pack algorithm for heterogeneous wireless sensor networks,” Computer Networks, vol. 167, article 106994, 2020. View at: Publisher Site  Google Scholar
 S. M. Amini, A. Karimi, and S. R. Shehnepoor, “Improving lifetime of wireless sensor network based on sinks mobility and clustering routing,” Wireless Personal Communications, vol. 109, no. 3, pp. 2011–2024, 2019. View at: Publisher Site  Google Scholar
 M. Krishnan, S. W. Yun, and Y. M. Jung, “Dynamic clustering approach with ACObased mobile sink for data collection in WSNs,” Wireless Networks, vol. 25, no. 8, pp. 4859–4871, 2019. View at: Publisher Site  Google Scholar
 A. Ranganathan and B. Rangasamy, “Analysis of energyefficient clustering algorithms for wireless sensor network (WSN),” Journal of Testing and Evaluation, vol. 47, no. 6, pp. 20180487–20183877, 2019. View at: Publisher Site  Google Scholar
 B. Ahmad, W. Jian, Z. A. Ali, S. Tanvir, and M. S. A. Khan, “Hybrid anomaly detection by using clustering for wireless sensor network,” Wireless Personal Communications, vol. 106, no. 4, pp. 1841–1853, 2019. View at: Publisher Site  Google Scholar
 D. Adhikary and D. K. Mallick, “Energyaware ondemand fuzzyunequal clustering protocol for wireless sensor networks,” Journal of Engineering Science and Technology, vol. 14, pp. 1200–1219, 2019. View at: Google Scholar
 Z. Chen, H. Lin, L. Wang, and B. Zhao, “Interferencefree clustering protocol for largescale and dense wireless sensor networks,” KSII Transactions on Internet and Information Systems, vol. 13, no. 3, pp. 1238–1259, 2019. View at: Publisher Site  Google Scholar
 S. Khriji, D. El Houssaini, I. Kammoun, K. Besbes, and O. Kanoun, “Energyefficient routing algorithm based on localization and clustering techniques for agricultural applications,” IEEE Aerospace and Electronic Systems Magazine, vol. 34, no. 3, pp. 56–66, 2019. View at: Publisher Site  Google Scholar
 D. Agrawal, M. H. Wasim Qureshi, P. Pincha et al., “GWOC: grey wolf optimizerbased clustering scheme for WSNs,” International Journal of Communication Systems, vol. 33, no. 8, article e4344, 2020. View at: Publisher Site  Google Scholar
 B. Mamalis and M. Perlitis, “Energy balanced twolevel clustering for largescale wireless sensor networks based on the gravitational search algorithm,” International Journal of Advanced Computer Science and Applications, vol. 10, no. 12, pp. 32–42, 2019. View at: Publisher Site  Google Scholar
 J. K. C and R. Venkataraman, “EODC: an energy optimized dynamic clustering protocol for wireless sensor network using PSO approach,” International Journal Of Computers Communications & Control, vol. 14, no. 2, pp. 183–198, 2019. View at: Publisher Site  Google Scholar
 P. S. Mann and S. Singh, “Improved artificial bee colony metaheuristic for energyefficient clustering in wireless sensor networks,” Artificial Intelligence Review, vol. 51, no. 3, pp. 329–354, 2019. View at: Publisher Site  Google Scholar
 K. Guleria and A. K. Verma, “Metaheuristic ant colony optimization based unequal clustering for wireless sensor network,” Wireless Personal Communications, vol. 105, no. 3, pp. 891–911, 2019. View at: Publisher Site  Google Scholar
 S. Anandamurugan and T. Abirami, “Antipredator adaptation shuffled frog leap algorithm to improve network life time in wireless sensor network,” Wireless Personal Communications, vol. 94, no. 4, pp. 2031–2042, 2017. View at: Publisher Site  Google Scholar
 H. Wang, W. J. Wang, S. Y. Xiao, Z. Cui, M. Xu, and X. Zhou, “Improving artificial bee colony algorithm using a new neighborhood selection mechanism,” Information Sciences, vol. 527, pp. 227–240, 2020. View at: Publisher Site  Google Scholar
 A. Saxena, S. Shekhawat, A. Sharma, H. Sharma, and R. Kumar, “Chaotic step length artificial bee colony algorithms for protein structure prediction,” Journal of Interdisciplinary Mathematics, vol. 23, no. 2, pp. 617–629, 2020. View at: Publisher Site  Google Scholar
 Z. Muhammad, N. Saxena, I. M. Qureshi, and C. W. Ahn, “Hybrid artificial bee colony algorithm for an energy efficient internet of things based on wireless sensor network,” IETE Technical Review, vol. 34, sup1, pp. 39–51, 2017. View at: Publisher Site  Google Scholar
 C. Ozturk, E. Hancer, and D. Karaboga, “A novel binary artificial bee colony algorithm based on genetic operators,” Information Sciences, vol. 297, pp. 154–170, 2015. View at: Publisher Site  Google Scholar
 C. J. Santana Jr., M. Macedo, H. Siqueira, A. Gokhale, and C. J. A. BastosFilho, “A novel binary artificial bee colony algorithm,” Future Generation Computer Systems, vol. 98, pp. 180–196, 2019. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2021 Mengying Xu and Jie Zhou. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.