The expansion of power grid scale puts forward higher requirements on the maintenance and protection level of power grid. This paper focuses on the idea of “architecture design – data processing – optimization solution” to carry out research. Layered system architecture is designed, and multi-module combination realizes the transmission of data flow, real-time data pre-processing and dimensional analysis, and solves the problem of the difference of the magnitude and the phase angle jumping. The Fourier algorithm is chosen to discretize the AC sampling data, and the discrete Fourier transform algorithm reduces the computational redundancy and ensures the computational accuracy and speed. The improved TLBO algorithm is proposed to realize the global coordinated optimization of WAPSS parameters through the elite reservation strategy and dynamic parameter update mechanism. Comparison experiments are utilized to verify the effectiveness of the proposed method. The results show that the three error indicators of steady state recording error, current measurement accuracy, and three-phase phase difference value of the algorithm in this paper do not exceed the specified ranges of 0.55A, 0.55%, and 0.55. The network loss of the system after algorithm optimization decreases to 1.841MW, and the calculation time is only 12.1s, which is better than the comparison algorithm. The parameter optimized motor angle of attack difference is smaller and the fluctuation is smoother.