In order to ensure the dynamic stability of the structural design of complex electromechanical equipment, this paper proposes a structural dynamics model of complex electromechanical equipment based on Lagrange’s equations and electromechanical coupling, and carries out the simulation analysis from the intrinsic frequency, accuracy, vibration behavior, and motion characteristics of complex electromechanical equipment. Then, combining the response surface method and Box-Behnken design method, the structural design of complex electromechanical equipment of high-speed rolling mill is taken as the research object, and the response surface model is established through the design variables, and the data quantitative analysis is carried out on the results of its variance optimization. It was found that in the loaded stage, the load simulation and experimental values of the spindle of the high-speed rolling mill were 45.9N·m and 48.2N·m, respectively, with an error of only 5.01%. And the optimization model R² and RMSE of Box-Behnken design are 0.992 and 0.004 respectively. In the structural optimization results of the high-speed rolling mill, the optimal stability can be obtained when its impact velocity is 10 rad/s, roller diameter is 6 cm, and the number of rollers is 12. Therefore, under the support of dynamics theory and response surface method, the dynamics characteristics of complex electromechanical equipment structure can be effectively explored to provide new research ideas for optimizing the structural design of complex electromechanical equipment.