| Wireless sensor network(WSN)is a network system formed by many detection nodes according to a certain protocol.The task of WSN is to collect data in the environment through the sensor nodes in the network.It is widely used in medical treatment,transportation,environmental testing,military and other fields.Routing protocol technology is one of the key technologies of wireless sensor networks,which is responsible for specifying the data transmission strategy in the network.In this paper,Leach(low energy adaptive clustering hierarchy),the most representative of hierarchical routing protocols,is selected as the research focus.This paper proposes several improved protocols based on LEACH.The improved protocol optimizes the network lifetime and energy consumption performance.Improving the protocol can significantly improve the performance of the network system.The main work of this paper is as follows:1.This paper focuses on the architecture of wireless sensor networks,analyzes the mainstream routing protocol algorithms,and explains the algorithm flow of hierarchical routing protocol LEACH in detail.This paper analyzes the advantages and disadvantages of LEACH protocol in cluster head election,and selects an improved scheme based on modified election function for analysis.Through simulation,the advantages and disadvantages of the improved scheme are analyzed by comparing the indexes such as energy consumption and survival time.2.For the randomness of leach cluster head election,the new algorithm needs to consider the residual energy and geographical location of nodes.This paper proposes LEACH-P based on energy-distance factor.Cluster head election in the new protocol is related to the state of nodes.The new protocol divides the deployment areas and adjusts the weight parameters according to the areas.The simulation results show that the network time of LEACH-P has been extended and the energy consumption has been reduced3.In order to solve the problems of random cluster size and large energy consumption of node long-distance communication in the network,LEACH-PM protocol is proposed based on LEACH-P.The protocol divides the network area into rings and uses dynamic weighting factors.The member nodes enter the cluster according to energy,location,cluster density and other factors.The cluster head communication adopts the mode of multi hop and single hop.In the inner ring area,the most appropriate next hop node is selected according to the score.Compared with the simulation platform,the improved protocol significantly prolongs the network life cycle,reduces the network energy consumption and greatly improves the network throughput. |