This study aims to optimize the speed control effect of fuzzy PID controller in brushless DC motor control, and improve the traditional genetic optimization algorithm to improve fuzzy PID algorithm, mainly for genetic algorithm coding, crossover, and mutation process. In the three processes of the genetic algorithm, real number field coding is used, Taguchi orthogonal table is introduced into the cross-process, and Gaussian variation is applied to the mutation process. In the part of model construction and verification, this study uses Simulink software to build a brushless DC motor model and sets the same conventional parameters for simulation. The simulation results show that the algorithm overshoot and stability time of the fuzzy PID controller optimized by the improved genetic algorithm are obviously improved.