This paper, based on the principles of brushless DC motors, constructs a mathematical model and combines genetic algorithms with traditional PID control. Genetic algorithms are used for parameter optimization to obtain the optimal solution for PID control, achieving higher control precision and stability. A simulation model of the motor and control system is developed using Simulink, and various operational conditions, including normal startup and sudden speed changes during operation, are simulated. The results show significant improvements in the motor's response speed and control precision. There is no overshoot during the startup phase, and the error during constant-speed operation is below 0.5%.