基于大模型的人机协同数控编程研究

Research on Human-Machine Collaborative CNC Programming based on Large Language Models

  • 摘要: 近年来,大规模语言模型在程序生成和复杂指令理解方面展现出显著优势,为构建面向数控编程的人机协同新模式提供了可能。该文提出了一种基于大模型的人机协同数控编程方法,通过对零件几何要素与工艺信息进行结构化抽取,采用统一的自然语言模板将其输入大模型,由大模型生成加工程序,再通过人工校核与仿真验证实现编程闭环。针对轮廓加工、孔加工和螺纹加工建立了三类协同编程模板,并以轴承座复杂零件为例,给出了图纸信息提取、工序划分、节点坐标计算及输入语句构造的完整过程,系统分析了大模型人机协同编程中的典型偏差和易错点,较为系统地总结了人机协同编程的方法及存在的问题,并在此基础上提出了后续的改进方向。

     

    Abstract: In recent years, large language models have shown remarkable capabilities in program generation and complex instruction understanding, enabling a new human-machine collaboration paradigm for CNC programming. This paper proposes a human-machine collaborative CNC programming method based on large language models. Part geometric features and process information are first structurally extracted and input into the model via unified natural language templates, allowing the model to generate machining programs. These programs are refined through human review and simulation verification to form a closed-loop programming workflow. Three collaborative programming templates are developed for contour machining, hole machining and thread machining. Taking a complex bearing seat as an example, this paper illustrates the full process of drawing information extraction, process planning, node coordinate calculation and input sentence construction, and systematically analyzes typical deviations and error-prone points in large-model-based human–machine collaborative programming. On this basis, it summarizes the methods and existing issues of human-machine collaborative CNC programming and puts forward directions for further improvement.

     

/

返回文章
返回