A closed-loop control system for heavy-duty industrial robots based on indoor infrared positioning technology was proposed to solve the problem of low positioning accuracy and unsatisfactory machining accuracy caused by insufficient stiffness of some heavy-duty industrial robots. The system consists of five parts: infrared emission diode, infrared irradiancy sensors, signal transmission and reception processing device, positioning service device, and heavy-duty robot. The positioning principle and method of the system were analyzed. The infrared emission diode is the most critical electronic component of the system. Due to the inability of ordinary infrared emission diodes to emit infrared rays with circumferential uniform intensity, luminous part of ordinary infrared emission diodes and packaging structure were redesigned to obtain an infrared emission diode which can emit infrared rays with circumferential uniform intensity. The simulation analysis of the light irradiancy intensity of the redesigned infrared emission diode proves that the structure can meet the design requirements. The proposed closed-loop control system for heavy-duty industrial robots can to some extent overcome the problems caused by insufficient stiffness without changing the existing robot structure, maintain the machining accuracy of the robot within an acceptable range, and provide a solution for the implementation of the next heavy-duty industrial robot system.