Abstr act. Stability in wireless ad hoc sensor networks cycle is one of the main evaluation parameters of the system. Network load is balanced and energy is in stable and sustainable is the important guarantee for the stability of the network. Traditional clustering algorithm for ad hoc network can effectively achieve a single point of network stability, and there is no efficient algorithm for long-term stability. Improvements have been made in this context traditional LEACH network clustering algorithm, based on efficient cluster head node using residual energy and communications networking sensor networks nodes remaining weaknesses in the energy networks and strengthening, improving the overall balance and effectiveness of the network, and ultimately to improve the long-term stability in wireless ad hoc networks sensor networks.Keywor ds: Wireless Ad Hoc Networks﹒Sensor networks﹒Clustering algorithm node heterogeneous 1 Intr oduction Many excellent characteristics for wireless ad hoc networks in the area of civilian and military traffic are occupying a place providing a favorable basis [1]. First, the network provides a cheap and rapid deployment of network may be organized. Second, jump and intermediate node forwarding characteristics can not change under the condition of network coverage, reduce the transmission power of each terminal, thereby reducing the antenna and the difficulty and costs related to sending and receiving parts of the design, thus contributing to the miniaturization of mobile terminals, provides low power consumption. From the perspective of sharing wireless channels, less low-power electromagnetic radiation generated by the radio waves, less impact on the health of users. In addition, network robustness 3rd International Conference on Multimedia TechnologyICMT 2013)