| Wireless sensor network plays a very important role in production and life.It breaks through the shackles of wired network and the limitation of high-cost network expansion.The use of wireless makes sensors play a role in the field of agricultural production,making agricultural operations more convenient and low-cost to obtain agricultural environment and crop information.However,wireless sensor network nodes do not have a stable and continuous power supply,and can only rely on the battery as the power supply.The cost of replacing the battery is huge,so it is of great significance to prolong the life cycle of agricultural wireless sensor networks.This paper comprehensively studies the energy consumption optimization algorithms of wireless sensor networks at home and abroad,and finds that few algorithms can be studied from sensor uniform topology,cluster head node election and non cluster head clustering operation.Unreasonable topology will produce a lot of redundant information;When the edge node is selected as the cluster head,the multi hop algorithm often can not save energy;When the low-energy node is selected as the cluster head node,it will accelerate the death of wireless sensor networks;In the cluster entry stage of non cluster head nodes,non cluster head nodes always join the cluster with the lowest signal loss,which can ensure the minimum loss of themselves.However,from the perspective of the whole information upload path,the overall loss is uncontrollable.In order to prolong the life cycle of wireless sensor networks,combined with the above analysis,this paper solves the problems from the following three points:(1)By realizing the uniform topology of the minimum number of wireless sensor network nodes,the agricultural operation area can be covered with the minimum number of sensors to reduce information redundancy,so as to reduce the overall energy consumption of wireless sensor networks.(2)By introducing the concept of signal loss distance to improve the reliability of cluster head election scheme in wireless sensor networks;By adding cluster head suppression coefficient to reduce cluster head marginalization;The degradation strategy and energy threshold e(T)are added to suppress the low-energy nodes and slow down the death of lowenergy nodes.(3)By improving the clustering algorithm of non cluster head nodes,the shortest path is designed by dynamic programming.Using dynamic programming,the multi hop path with the minimum communication consumption between non cluster head nodes and base stations can be found to ensure the minimum overall energy consumption.Finally,the effectiveness of the energy consumption optimization algorithm is verified by simulation experiments and building a LoRa embedded hardware platform. |