节点文献

基于OpenGL的数控加工仿真系统的研究与开发

Research and Achievement of NC Machining Simulative System Based on OpenGL

【作者】 余斌

【导师】 刘荣忠;

【作者基本信息】 四川大学 , 机械制造及其自动化, 2002, 硕士

【摘要】 数控加工仿真是指数控机床在虚拟环境中的映射,它集制造技术、机床数控理论,计算机辅助设计(CAD)、计算机辅助制造(CAM)、建模与仿真技术于一体。人能够凭直觉感知计算机产生的三维仿真模型的虚拟环境,在设计新的方案或更改方案时能够在真实制造之前在虚拟环境中进行零件的数控加工,检查数控程序的正确性、合理性,对加工方案的优劣做出评估与优化,从而最终达到缩短产品开发周期、降低生产成本、提高产品质量和生产效率的目的。 作者利用基于OpenGL的计算机仿真和动画技术,采用基于数控代码的仿真方法,针对MNC—CXZ300型多功能数控机床,研究与开发了数控加工过程的三维动态几何仿真系统。该系统与GAPT图形自动编程系统相集成,实现了自动编程和加工仿真的一体化。该课题主要完成以下内容: (1)分析和建立仿真系统框架结构,设计友好的系统界面。 (2)深入研究OpenGL三维图形制作技术,采用面向对象的编程技术设计OpenGL与Visual C++间的接口类CGL。 (3)设计NC代码编辑器,便于用户进行手工编程。 (4)设计仿真系统和GAPT图形自动编程系统的接口,输入零件几何信息和加工参数后,系统自动生成加工程序,同时,动态显示刀具的加工轨迹。 (5)设计数控程序检查器、解释器,很好地解决数控代码的计算机识别与分析问题。 (6)设计仿真加工模块,实现车、铣、钻加工过程的三维仿真。进一步完善车削中螺纹加工、孔加工和圆弧曲面加工的仿真。在孔加工时,采用OpenGL透明处理技术,能方便地观察到孔径和孔深。 (7)设计帮助模块,方便用户使用。 综上所述,该系统具有界面友好、使用方便、可移植性好、功能全面的特点。不仅可用于实际加工生产,而且可用于数控教学和培训,适合我国国情,符合数控技术的最新发展方向。

【Abstract】 The numerical controlling simulation of process indicates a mapping of NC machine tool in the virtual environment, and it includes the technique of manufacture, the theories of NC machine tool, CAD, CAM, and the technique of modeling and simulating. The people can apperceive the virtual environment of 3D simulated model developed by computers, carry the NC process of parts in virtual condition before the true doing when we design or alter a project, inspect the exactitude and justification of NC program, evaluate and optimize the project of process. Thereby the intention, abridging the time of developing products, depressing the cost of manufacture, advancing the quality of products and the efficiency of production, can be finally achieved.With computer simulated technology and computer animated technology, applying the method of simulation based on NC program, aiming at multifunctional NC machine MNC-CXZ300, this thesis develops the machining process 3D animated simulation system. This system integrated with GAPT graphic automatic programming system, which realizes the combine of automatic programming and simulation of process. This thesis has mainly accomplished contents as follows:(1) Analyzing the structure and developing the mainframe of the numerical controlling simulation of process system and friendly system interface has been designed.(2) The technology of drawing 3D graphics has been lucubrated. The interface class environment CGL between OpenGL and Visual C++ has been designed by using OOP technique. So OpenGL function can be applied to draw 3D graphics in of the Visual C++6.0.(3) NC program editor has been designed. So user can manually edit NCprogram conveniently.(4) The connection of simulation of process and automatic programming has been based. So the system come into being NC program by using graphic automatic programming after user iniport the geometry information and process parameter of part. Simultaneity, the track of cutting tool is displaying by dynamic effect.(5) The module for checking and explaining NC program has been designed. So the computer identification and analyses of NC program have been magnificently gained.(6) The simulation module has been designed, which realized the 3D simulation of turning, milling and drilling. Thereby the simulation of machining screw and hole has been perfected.(7) The system help module has been designed. User can conveniently use it.To sum up, this system has the characteristics that are friendly interface, simple manipulation, good portability, all-round function and finer versatility. It not only can be used in work, but also in NC training. It fits the needs of our country and accord with the NC technique’s latest development direction.

【关键词】 数控加工OpenGL数控程序三维仿真
【Key words】 NC machiningOpenGLNC program3D simulation
  • 【网络出版投稿人】 四川大学
  • 【网络出版年期】2002年 02期
  • 【分类号】TG659
  • 【被引频次】61
  • 【下载频次】1676
节点文献中: 

本文链接的文献网络图示:

本文的引文网络