• CN: 11-2187/TH
  • ISSN: 0577-6686

Journal of Mechanical Engineering ›› 2025, Vol. 61 ›› Issue (17): 393-404.doi: 10.3901/JME.2025.17.393

Previous Articles    

Research on Machining Process Recommendation Method of Structural Parts Based on Large Language Models

ZHENG Xiaohu1,2, CHEN Hongbo3, HE Fangzhou4   

  1. 1. Institute of Artificial Intelligence, Donghua University, Shanghai 201620;
    2. Shanghai Industrial Big Data and Intelligent Systems Engineering Technology Center, Shanghai 201620;
    3. College of Mechancial Engineering, Donghua University, Shanghai 201620;
    4. Shanghai Aircraft Manufacturing Company Limited, Shanghai 201324
  • Received:2024-03-31 Revised:2024-12-09 Published:2025-10-24

Abstract: In the process of numerical control programming for complex structural components, the difficulty in reusing machining process knowledge arises due to the heterogeneity of knowledge sources and the complexity of interconnections between knowledge. A knowledge recommendation method for structural parts machining process based on a large language model is proposed. By selecting and fine-tuning the large language model, a vertical domain model of machining process knowledge recommendation for structural parts is established. The evaluation results indicate that the model can recommend corresponding machining processes based on specific part features. To solve the problem of the model not being able to obtain the latest professional knowledge and the low accuracy of machining process recommendations, the LangChain application framework combined with a knowledge base is used to enhance the knowledge retrieval of the domain model and construct a process knowledge question answering system. Through corresponding indicator evaluation, the F1 value of the question answering system improves by 0.026 on the basis of the original domain model, and the accuracy of machining process recommendations is above 90%. In the process decision-making application of CNC programming for aviation structural components, this method recommends corresponding process knowledge based on part features. Compared with the automatic CNC programming system that does not use the method in this article, the efficiency of generating CNC codes for frame type structural components improves to a certain extent, which is of great significance for improving the decision-making efficiency of CNC programmers.

Key words: large language models, machining process, knowledge recommendation, rapid NC programming

CLC Number: