In order to solve the problem of energy-unbalance and excessive consumption of WSN in substation power quality monitoring system, a dynamic adjustment path ant-based routing algorithm is proposed. In algorithm, path energy and routing hops are added in pheromone updating formula to balance the node energy. The simulation results show that the algorithm has a good effect in terms of reducing the network energy consumption.