In the joint electrical drive system of industrial robots, the optimization and improvement of robot motion control is one of the hotspots of current research, and this paper proposes a method of optimizing the joint electrical drive control of robots using multilevel genetic algorithm. An improved PID control method is used to fuzzify the robot motion, and the robot trajectory fuzzy PID controller is optimized according to the idea of multilevel genetic algorithm. The rise time of each joint of the robot is about 5ms, 55ms, and 75ms, respectively, and the overshooting amount is smaller, and the optimized joint electrical drive system of the industrial robot is more stable in speed control in both the acceleration and deceleration phases, and shows a good dynamic control capability of the motion. It can be seen that the work in this study effectively optimizes the control performance of the industrial robot drive system using multilevel genetic algorithm.