Water is an irreplaceable resource and guarantee for the survival and progress of human society.Through the rapid and efficient treatment of urban sewage, not only can protect the city’s stable and continuous water supply, but also can make the limited water resources to be recycled, to achieve the goal of ecological environmental protection. According to the traditional sewage monitoring system costs defects of high cost, low degree of automation, monitoring data can not be timely acquisition, this paper proposes a wireless sensor network monitoring of the sewage system, and focus on the research and improvement of network topology control algorithm based on.Project from the Shaanxi provincial science and technology research and development program, Xi’an City, third sewage treatment plant sewage water quality monitoring.In this monitoring system, control, optimization of the network topology, both effectively reduce the energy consumption of sensor nodes, but also laid the foundation for the realization of the improvement of monitoring network MAC protocol and routing protocol efficiency, time synchronization and data fusion.In this paper, a variety of classical topology control algorithms are analyzed and compared with the performance requirements of the sewage monitoring process.In order to solve the problem of LEACH algorithm in the number of cluster head selection with empirically determined, cluster head node probability random selection mechanism and single hop communication data transmission mode is proposed and a novel algorithm based on the optimal number of cluster head, energy and distance and multi-hop transmission mode and improvement of leach.By using the MATLAB software, the LEACH algorithm and the improved algorithm are compared and analyzed from three aspects:the network topology structure diagram, the network working life and the residual energy.Simulation results show that the phase compared with LEACH algorithm, this improved algorithm on the system topology were optimized. The nodes into clusters is more uniform, delay the death node time, effectively reduce the node energy consumption and increase the sewage monitoring system use fixed number of year. |