摘要
为了解决光学自由曲面金刚石车削(DTOFS)NC代码的验证问题,保证NC代码的正确性和合理性,将计算机仿真技术应用到DTOFS加工中。利用面向对象的编程语言Visual C++为平台,结合OpenGL库函数,开发了DTOFS CNC仿真程序编译系统。根据所提取的刀具坐标信息,建立了刀具运动轨迹方程,以实现刀具的插补过程。研究结果表明,该系统能够对数控加工程序进行检查,提前发现程序中的错误并及时地进行修改。与传统插补方法相比,本系统极大地提高了仿真精度。
In order to verify the NC code of diamond turning of optical freeform surfaces(DTOFS) and make sure its accuracy and rationality,the computer simulation was used for DTOFS.Using object-oriented programming language VC++ and combining with OpenGL(Open Graphics Library),a compiler of CNC simulation program was developed for DTOFS.Based on the coordinate values of the tool extracted from the CNC program,the equation of the motion trajectories of the cutting tool was set up to complete the interpolation of the tool.The results show that the CNC code can be checked by the compiler,and then the error can be found out and modified.Compared with the traditional interpolation,the simulation precision of the interpolation can be improved greatly.
出处
《机电工程》
CAS
2010年第9期11-13,36,共4页
Journal of Mechanical & Electrical Engineering
基金
国家高技术研究发展计划("863"计划)资助项目(2008AA04Z125)
教育部博士点科研基金资助项目(20070183104)
吉林省科技发展计划重点资助项目(20080357
20090337)
关键词
光学自由曲面
数控加工程序
编译系统
freeform optical surface
CNC machining code
compiler system