Cluster Head Selection Method for Edge Computing WSN Based on Improved Sparrow Search Algorithm
Abstract
:1. Introduction
- (1)
- We propose a two-layer WSN system based on edge computing and establish an optimization model of a two-layer WSN based on edge computing;
- (2)
- According to the optimization model of the two-layer WSN based on edge computing, we construct an optimization objective function to balance the load and distance factors in the clustering process;
- (3)
- To solve the proposed problem, we adopt an improved sparrow search algorithm, which effectively improves the life cycle of the WSN.
2. Related Works
3. System Model
3.1. Node Energy Model
3.2. Node Residual Energy and Average Energy
3.3. Node Distance
- A
- Sensor node to edge nodeIn the WSN at the edge end, the edge end needs to manage and monitor the sensor nodes, and the distance between them will affect the energy consumption of the nodes. Therefore, when selecting the cluster head, the node closer to the edge end should be selected as the cluster head node as much as possible. Specifically, the distance between the edge end and the i-th sensor node can be defined as
- B
- Inter-cluster node distanceWhen selecting the cluster head nodes, ensure that the cluster head nodes in the network are evenly distributed as much as possible, so that the energy consumption of the cluster head nodes can be as uniform as possible, which can improve the network life cycle. Therefore, in the process of cluster head selection, the distribution of cluster head nodes and intra-cluster nodes needs to be considered. Specifically, we define the inter-cluster node distribution factor . When it is smaller, the distribution of each intra-cluster node is more uniform. The specific definition is as follows:
- C
- Distance between cluster headsIn the process of cluster head selection, when the distance between cluster heads is large, the data need to go through more hops to reach the destination, which increases the delay of data transmission. Therefore, the distance between cluster heads is an important parameter in the cluster head selection algorithm, which determines whether the WSN can achieve the best routing performance. Therefore, the distance factor between cluster heads can be defined as
3.4. The Optimization of the Target
4. Improved SSA Algorithm
4.1. The Sparrow Search Algorithm
4.2. Improved Strategy
4.2.1. Improved Circle Chaos Initialization Population
4.2.2. Sine and Cosine Mutation Strategy
4.2.3. Adaptive Population Adjustment Strategy
Algorithm 1: ICSSA-CHS |
5. Simulation and Result
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Gulati, K.; Kumar Boddu, R.S.; Kapila, D.; Bangare, S.L.; Chandnani, N.; Saravanan, G. A review paper on wireless sensor network techniques in Internet of Things (IoT). Mater. Today Proc. 2022, 51, 161–165. [Google Scholar] [CrossRef]
- Majid, M.; Habib, S.; Javed, A.R.; Rizwan, M.; Srivastava, G.; Gadekallu, T.R.; Lin, J.C.W. Applications of Wireless Sensor Networks and Internet of Things Frameworks in the Industry Revolution 4.0: A Systematic Literature Review. Sensors 2022, 22, 2087. [Google Scholar] [CrossRef] [PubMed]
- Shahraki, A.; Taherkordi, A.; Haugen, Ø.; Eliassen, F. Clustering objectives in wireless sensor networks: A survey and research direction analysis. Comput. Netw. 2020, 180, 107376. [Google Scholar] [CrossRef]
- Qiu, S.; Zhao, J.; Lv, Y.; Dai, J.; Chen, F.; Wang, Y.; Li, A. Digital-Twin-Assisted Edge-Computing Resource Allocation Based on the Whale Optimization Algorithm. Sensors 2022, 22, 9546. [Google Scholar] [CrossRef] [PubMed]
- Jararweh, Y.; Doulat, A.; AlQudah, O.; Ahmed, E.; Al-Ayyoub, M.; Benkhelifa, E. The future of mobile cloud computing: Integrating cloudlets and Mobile Edge Computing. In Proceedings of the 2016 23rd International Conference on Telecommunications (ICT), Thessaloniki, Greece, 16–18 May 2016; pp. 1–5. [Google Scholar] [CrossRef]
- Cao, K.; Liu, Y.; Meng, G.; Sun, Q. An Overview on Edge Computing Research. IEEE Access 2020, 8, 85714–85728. [Google Scholar] [CrossRef]
- Maiti, P.; Shukla, J.; Sahoo, B.; Turuk, A.K. Efficient Data Collection for IoT Services in Edge Computing Environment. In Proceedings of the 2017 International Conference on Information Technology (ICIT), Bhubaneshwar, India, 21–23 December 2017; pp. 101–106. [Google Scholar] [CrossRef]
- Wang, T.; Qiu, L.; Sangaiah, A.K.; Liu, A.; Bhuiyan, M.Z.A.; Ma, Y. Edge-Computing-Based Trustworthy Data Collection Model in the Internet of Things. IEEE Internet Things J. 2020, 7, 4218–4227. [Google Scholar] [CrossRef]
- Cai, S.; Zhu, Y.; Wang, T.; Xu, G.; Liu, A.; Liu, X. Data Collection in Underwater Sensor Networks based on Mobile Edge Computing. IEEE Access 2019, 7, 65357–65367. [Google Scholar] [CrossRef]
- Wang, T.; Qiu, L.; Sangaiah, A.K.; Xu, G.; Liu, A. Energy-Efficient and Trustworthy Data Collection Protocol Based on Mobile Fog Computing in Internet of Things. IEEE Trans. Ind. Inform. 2020, 16, 3531–3539. [Google Scholar] [CrossRef]
- Kumar, N.; Rani, P.; Kumar, V.; Verma, P.K.; Koundal, D. TEEECH: Three-Tier Extended Energy Efficient Clustering Hierarchy Protocol for Heterogeneous Wireless Sensor Network. Expert Syst. Appl. 2023, 216, 119448. [Google Scholar] [CrossRef]
- Diwakaran, S.; Perumal, B.; Vimala Devi, K. A cluster prediction model-based data collection for energy efficient wireless sensor network. J. Supercomput. 2019, 75, 3302–3316. [Google Scholar] [CrossRef]
- Rami Reddy, M.; Ravi Chandra, M.L.; Venkatramana, P.; Dilli, R. Energy-Efficient Cluster Head Selection in Wireless Sensor Networks Using an Improved Grey Wolf Optimization Algorithm. Computers 2023, 12, 35. [Google Scholar] [CrossRef]
- Yadav, R.K.; Mahapatra, R.P. Hybrid metaheuristic algorithm for optimal cluster head selection in wireless sensor network. Pervasive Mob. Comput. 2022, 79, 101504. [Google Scholar] [CrossRef]
- Wang, T.; Liang, Y.; Shen, X.; Zheng, X.; Mahmood, A.; Sheng, Q.Z. Edge Computing and Sensor-Cloud: Overview, Solutions, and Directions. ACM Comput. Surv. 2023, accepted. [Google Scholar] [CrossRef]
- Wang, T.; Lu, Y.; Cao, Z.; Shu, L.; Zheng, X.; Liu, A.; Xie, M. When Sensor-Cloud Meets Mobile Edge Computing. Sensors 2019, 19, 5324. [Google Scholar] [CrossRef]
- Zhang, D.g.; Ni, C.h.; Zhang, J.; Zhang, T.; Yang, P.; Wang, J.x.; Yan, H.r. A Novel Edge Computing Architecture Based on Adaptive Stratified Sampling. Comput. Commun. 2022, 183, 121–135. [Google Scholar] [CrossRef]
- Wen, J.; Yang, J.; Wang, T.; Li, Y.; Lv, Z. Energy-efficient task allocation for reliable parallel computation of cluster-based wireless sensor network in edge computing. Digit. Commun. Netw. 2023, 9, 473–482. [Google Scholar] [CrossRef]
- Wang, T.; Ke, H.; Zheng, X.; Wang, K.; Sangaiah, A.K.; Liu, A. Big Data Cleaning Based on Mobile Edge Computing in Industrial Sensor-Cloud. IEEE Trans. Ind. Inform. 2020, 16, 1321–1329. [Google Scholar] [CrossRef]
- Vaiyapuri, T.; Parvathy, V.S.; Manikandan, V.; Krishnaraj, N.; Gupta, D.; Shankar, K. A Novel Hybrid Optimization for Cluster-Based Routing Protocol in Information-Centric Wireless Sensor Networks for IoT Based Mobile Edge Computing. Wirel. Pers. Commun. 2022, 127, 39–62. [Google Scholar] [CrossRef]
- You, W.; Dong, C.; Cheng, X.; Zhu, X.; Wu, Q.; Chen, G. Joint Optimization of Area Coverage and Mobile-Edge Computing With Clustering for FANETs. IEEE Internet Things J. 2021, 8, 695–707. [Google Scholar] [CrossRef]
- Jacob, D.I.J.; Darney, D.P.E. Artificial Bee Colony Optimization Algorithm for Enhancing Routing in Wireless Networks. J. Artif. Intell. Capsul. Netw. 2021, 3, 62–71. [Google Scholar] [CrossRef]
- Ghawy, M.Z.; Amran, G.A.; AlSalman, H.; Ghaleb, E.; Khan, J.; AL-Bakhrani, A.A.; Alziadi, A.M.; Ali, A.; Ullah, S.S. An Effective Wireless Sensor Network Routing Protocol Based on Particle Swarm Optimization Algorithm. Wirel. Commun. Mob. Comput. 2022, 2022, e8455065. [Google Scholar] [CrossRef]
- Xue, J.; Shen, B. A novel swarm intelligence optimization approach: Sparrow search algorithm. Syst. Sci. Control Eng. 2020, 8, 22–34. [Google Scholar] [CrossRef]
- Gai, J.; Zhong, K.; Du, X.; Yan, K.; Shen, J. Detection of gear fault severity based on parameter-optimized deep belief network using sparrow search algorithm. Measurement 2021, 185, 110079. [Google Scholar] [CrossRef]
- Chu, K.C.; Horng, D.J.; Chang, K.C. Numerical Optimization of the Energy Consumption for Wireless Sensor Networks Based on an Improved Ant Colony Algorithm. IEEE Access 2019, 7, 105562–105571. [Google Scholar] [CrossRef]
- Rao, P.C.S.; Jana, P.K.; Banka, H. A particle swarm optimization based energy efficient cluster head selection algorithm for wireless sensor networks. Wirel. Netw. 2017, 23, 2005–2020. [Google Scholar] [CrossRef]
- Verma, S.; Sood, N.; Sharma, A.K. Genetic Algorithm-based Optimized Cluster Head selection for single and multiple data sinks in Heterogeneous Wireless Sensor Network. Appl. Soft Comput. 2019, 85, 105788. [Google Scholar] [CrossRef]
- Xiuwu, Y.; Ying, L.; Yong, L.; Hao, Y. WSN Clustering Routing Algorithm Based on Hybrid Genetic Tabu Search. Wirel. Pers. Commun. 2022, 124, 3485–3506. [Google Scholar] [CrossRef]
- Sankar, S.; Somula, R.; Parvathala, B.; Kolli, S.; Pulipati, S.; Srinivas, T.A.S. SOA-EACR: Seagull optimization algorithm based energy aware cluster routing protocol for wireless sensor networks in the livestock industry. Sustain. Comput. Inform. Syst. 2022, 33, 100645. [Google Scholar] [CrossRef]
- Zhao, F.; Gao, N.; Zhang, K. WSNs Clustering Routing Protocol Based on Whale Optimization Algorithm and Beetle Antennae Search. Transducer Microsyst. Technol. 2022, 41, 42–45. [Google Scholar] [CrossRef]
- Sarkar, A.; Senthil Murugan, T. Cluster head selection for energy efficient and delay-less routing in wireless sensor network. Wirel. Netw. 2019, 25, 303–320. [Google Scholar] [CrossRef]
- Qiu, S.; Li, A. Application of Chaos Mutation Adaptive Sparrow Search Algorithm in Edge Data Compression. Sensors 2022, 22, 5425. [Google Scholar] [CrossRef] [PubMed]
- Vivekanand, C.V.; Bagan, K.B. Secure Distance Based Improved Leach Routing to Prevent Puea in Cognitive Radio Network. Wirel. Pers. Commun. 2020, 113, 1823–1837. [Google Scholar] [CrossRef]
Parameter | Value |
---|---|
Experimental area | |
The number of sensor network nodes | 100 |
Number of edge nodes | 10 |
packet size/ | 4000 |
The maximum number of running rounds of the network | 2500 |
Node initialization energy/J | 0.7 |
Fusion Data Consumption/ | 0.01 |
50 | |
10 | |
0.0013 | |
Population size | 100 |
Iterations | 300 |
Ratio of vigilantes | 0.2 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Qiu, S.; Zhao, J.; Zhang, X.; Li, A.; Wang, Y.; Chen, F. Cluster Head Selection Method for Edge Computing WSN Based on Improved Sparrow Search Algorithm. Sensors 2023, 23, 7572. https://doi.org/10.3390/s23177572
Qiu S, Zhao J, Zhang X, Li A, Wang Y, Chen F. Cluster Head Selection Method for Edge Computing WSN Based on Improved Sparrow Search Algorithm. Sensors. 2023; 23(17):7572. https://doi.org/10.3390/s23177572
Chicago/Turabian StyleQiu, Shaoming, Jiancheng Zhao, Xuecui Zhang, Ao Li, Yahui Wang, and Fen Chen. 2023. "Cluster Head Selection Method for Edge Computing WSN Based on Improved Sparrow Search Algorithm" Sensors 23, no. 17: 7572. https://doi.org/10.3390/s23177572
APA StyleQiu, S., Zhao, J., Zhang, X., Li, A., Wang, Y., & Chen, F. (2023). Cluster Head Selection Method for Edge Computing WSN Based on Improved Sparrow Search Algorithm. Sensors, 23(17), 7572. https://doi.org/10.3390/s23177572