In order to solve the contradiction between service quality and survival time of wireless sensor networks, a new energy consumption balance model is proposed by shuffled frog leaping algorithm (SFLA). In this model, the mathematical expression of energy consumption in the physical layer is given with transmit power at first, received power, and signal bandwidth, and the objective optimization function of energy consumption balance is built by the total sending energy consumption and transmission power of WSN. Secondly, the long-range dependent characteristic of signal is reduced with wavelet neural network, and the objective optimization function above is solved by shuffled frog leaping algorithm. Finally, the performances between this algorithm and others are studied in simulation experiment, and the results show that this algorithm has greater advantages such as the error frame, the number of survival nodes, and the network lifetime.