基于NX二次开发的自动点焊工位仿真与建模环境交互的研究

Interaction between automatic spot welding station simulation and modeling environment based on NX secondary development

  • 摘要: 自动点焊是提高生产效率和制造质量的重要途径,如何规划机器人焊接轨迹是实现自动焊接的关键。针对自动点焊工位,基于NX二次开发,结合SIEMENS工业仿真软件Tecnomatix平台下仿真结果,分析自动点焊焊接轨迹。根据坐标相似变换理论,分析工作坐标系相对于绝对坐标系旋转变换的过程,推出相应的变换矩阵即程序的核心算法。借助C++语言平台依据NXOPEN API帮助文档调用UFUN函数进行程序开发。经仿真得到的机器人的焊接轨迹即TCF位姿以批量创建坐标系的形式进入NX,机器人工具侧焊枪3D数据对应各个坐标系批量导入,最终实现仿真数据与NX中的设计数据相结合。在设计端获得焊枪与其他装备的干涉状况,结果表明该程序具有较好的实用性和可靠性。

     

    Abstract: Automatic spot welding was an important way to improve production efficiency and manufacturing quality. How to plan robot welding trajectory was the key to achieve automatic welding. For the automatic spot welding station,based on the NX secondary development,combined with the simulation results of the SIEMENS industrial simulation software Tecnomatix platform,the automatic welding trajectory was analyzed.In accordance with the coordinate similarity transformation theory,the process of rotating transformation of the working coordinate system with respect to the absolute coordinate system was analyzed and the corresponding transformation matrix,namely the core algorithm of the program,was brought out. The C + + language platform was used to call the UFUN function for program development based on the NXOPEN API help documentation. The welding trajectory of the robot in the simulation,that is,the TCP pose,entered the NX in the form of batch creation of the coordinate system,and the 3 D data of the robot tool side welding gun was imported in batches corresponding to each coordinate system,and finally the simulation data was combined with the design data in the NX. Interference between the welding gun and other equipment on the design side was obtained. The result showed that the program had good practicability and reliability.

     

/

返回文章
返回