The paper summarizes the construction mode of distribution network automation system, and sorts out the operating characteristics of centralized intelligent mode and distributed intelligent mode. In view of the construction and operation of China’s distribution network automation system, point out common problems in system construction, operation and management in most regions. At the same time, the paper proposes the optimization of distribution network automation technology based on the gravity search algorithm, and improves the algorithm. Finally, the improved gravity search algorithm is applied to the IEEE 6-node power system. The calculation results show that the active power loss and voltage obtained by the algorithm are Compared with the original state, the level has been greatly improved, which greatly improves the automation efficiency of the power system. In this paper, the gravity search algorithm is used to calculate the optimization of power system automation technology, and the algorithm is improved, which overcomes the shortcoming of easy convergence to the local optimum.