高级检索
    汤琳, 关惠元, 王宁, 代鹏飞. 榫卯智能化加工代码生成系统的开发[J]. 北京林业大学学报, 2019, 41(3): 134-142. DOI: 10.13332/j.1000-1522.20180414
    引用本文: 汤琳, 关惠元, 王宁, 代鹏飞. 榫卯智能化加工代码生成系统的开发[J]. 北京林业大学学报, 2019, 41(3): 134-142. DOI: 10.13332/j.1000-1522.20180414
    Tang Lin, Guan Huiyuan, Wang Ning, Dai Pengfei. Development of intelligent programming system for numerical controlled mortise and tenon joint[J]. Journal of Beijing Forestry University, 2019, 41(3): 134-142. DOI: 10.13332/j.1000-1522.20180414
    Citation: Tang Lin, Guan Huiyuan, Wang Ning, Dai Pengfei. Development of intelligent programming system for numerical controlled mortise and tenon joint[J]. Journal of Beijing Forestry University, 2019, 41(3): 134-142. DOI: 10.13332/j.1000-1522.20180414

    榫卯智能化加工代码生成系统的开发

    Development of intelligent programming system for numerical controlled mortise and tenon joint

    • 摘要:
      目的榫卯加工代码的制作是实现榫卯数控加工的关键,但传统数控编程存在难度大、效率低、过度依赖CAM软件等问题,因此有必要开发一款高效的榫卯智能化加工代码生成系统。
      方法本研究首先利用成组技术对榫卯进行分组,提取各组榫卯的尺寸参数,建立参数化的工件数据库。然后,通过对大量工艺经验和已有榫卯配合相关研究成果的函数表达,实现了榫卯尺寸智能匹配。接着,利用模板技术建立了每一类榫卯零件的参数化加工代码模板,并组建了刀具路径代码模块。运用表达式驱动算法完成对代码模板的实例化,由加工参数的变化带动模板内数值的变动,进而自动生成NC代码,实现了榫卯加工数控程序的参数化、模块化设计。最后,基于后处理原理,通过外接程序的方式完成坐标补偿值的自动计算与添加,实现了加工代码后处理自动补偿。在此基础上,运用可视化的编程语言VB开发了一款榫卯智能化加工代码生成系统。
      结果结合改良型粽角榫零件加工代码的制作,验证了系统的可行性。通过实际加工以及对被加工零件尺寸的检验,验证了系统生成加工代码的准确性。
      结论本系统具有操作简单、质量稳定等特点,实现了榫卯加工编程工序的简化和代码的自动生成,极大地提高了编程效率,有助于推动榫卯加工由经验型向知识型的转变。

       

      Abstract:
      ObjectiveCode generation is the key to realize the numerical controlled (NC) machining of mortise and tenon joint, but the traditional NC programming is difficult, inefficient and over-dependent on CAM software. So it is necessary to develop an intelligent programming system for the numerical controlled mortise and tenon joint.
      MethodFirstly, the joints were classified by group technology, and a parameterized artifact database was established based on the extraction of joints ’ dimension parameters. Intelligent dimension matching was implemented by transforming plentiful process experience and existing research results into functions. Then, the standard NC code template of each joint was set up according to template technology, and these standard NC code templates constituted the module of toolpaths. We used expression algorithm to complete the instantiation of code templates. The change of machining parameters leaded to the change of values in NC code templates, so the NC codes can be programmed automatically, the parameterized and modularized NC programs can be achieved. Based on the principle of post-processing, the compensation of NC code was achieved through the add-in that can calculate the compensation value automatically. At last, on the basis of those researches, an intelligent programming system for numerical controlled mortise and tenon joint was developed by the visualization program VB.
      ResultCombined with the actual authoring of three-way mitered joint part, the feasibility of the system was verified. By checking the dimensions of the processed part, the accuracy of the machining codes generated by the system was also verified.
      ConclusionThis system is simple, stable and efficient. It can simplify the programming process and generate program NC codes automatically. The system is helpful to transform processing of mortise and tenon joint from experience type to knowledge-based type.

       

    /

    返回文章
    返回