Production scheduling is the key to manufacturing process decision support, which directly affects the efficiency and competitiveness of enterprises. The production process of discrete workshops is complex and changeable, and it is usually difficult to make adjustments quickly and accurately in response to disturbance events. In this paper, a workshop production scheduling method based on digital twin is proposed and applied to the manufacturing workshop of an aerospace factory. Combined with the advantages of real-time virtual real interaction fusion of digital twin technology, the dynamic scheduling problem under fault disturbance factors is studied. A high-fidelity digital twin workshop is established to realize the mapping and interaction between the real production and the virtual factory. Based on the vibration data of machine tool spindle, a fault prediction method of learning vector quantization neural network is proposed. The dynamic scheduling strategy of workshop production based on digital twin is constructed and compared with the scheduling results without digital twin under fault disturbance. The results show that the scheduling method based on digital twin can effectively deal with disturbances and improve workshop productivity. This study can be used for the application of digital twin and production scheduling in practical factories.