数控加工实验教学系统的研究与开发
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着科学技术的高速发展,制造业领域发生了根本的变化。数控技术的广泛应用大大提高了生产效率和产品质量,使得机械加工进入了柔性自动化时代。近十年来,我国数控技术的推广应用也进入了快速发展阶段,需要大量从事数控技术研究应用的人才。
     目前我国在提供数控技术教学培训方面基本上以理论教学为主,往往缺少实践教学及实际操作培训这一环节。形成这种局面的主要原因是生产用数控机床价格昂贵,操作使用和维修费用高,难以用作教学培训设备。此外,纯仿真软件的真实感较差,不能达到很好的教学目的,跟据这种情况,针对实验教学的要求,开发研制集硬件、软件于一体的数控加工实验教学系统以满足相关教学、培训需要。
     本系统按结构可分为硬件系统和系统软件。硬件结构按功能可分为控制信息的输入、输出系统模块和通信模块;系统软件按功能可分为NC程序译码模块、刀具轨迹计算模块、三维仿真模块和仿真系统界面模块。
     建立了基于PIC单片机系统控制信息输入、输出模块和通信模块的硬件结构。
     实现了G代码的编译,采用编译控制的译码方法,具体分析了译码的数据处理流程。并实现了直线和圆弧刀具轨迹算法。
     研究了数控车削加工仿真的实现方法。重点介绍了基于三角网格划分法的建模概念,建立了毛坯的模型。并提出了刀具和毛坯求交计算的方法。
     介绍了系统运行界面的功能,并通过编程实例完成了直线和圆弧刀具轨迹算法的仿真验证。
     系统软件部分是在VC++6.0开发环境下开发的。系统中的NC代码符合通用数控系统的规范,实用性强,使用方便。
With the quick development of science and technology, there are radical changes in the field of mechanical manufacture. The productive efficiency and quality of the product are improved greatly, with the wide use of NC technology. And this make the mechanical manufacture go into the flexibility and roboticized epoch.
     At present, the theory teaching plays an important role during the process of NC teaching and training in our country. There are few practice and operation training in NC course because of the high cost of the NC machine and the operation and the maintenance. Moreover, simplex NC simulation software is short of third dimension, so it can not meet the requirement of NC teaching well. For above reasons, we have developed a NC simulation system applying to NC teaching and training.
     This system is divided into two parts by structure,one is hardware structure, the other is system software. By function, hardware is divided into control message input and output module and communication module, system software is divided to show module and background process, which is also subdivided into tool track calculating module, NC program coding module, NC process simulation module and system interface function module.
     The hardware based on PIC single-chip are built, which contains inputting and outputting system control messages and communication module.
     The G code translating method is actualized. The way of compiling control coding is adopted, and coding data process flow is analyzed detailedly, while some relevant problems such as modal instrument procession are introduced. The arithmetic of linear and arc tool track is actualized.
     The implemental means of NC cutting procession simulation are researched. The conception of based on the triangular grids partition is introduced, and simplification calculation of the points of intersection between semi-finished material and cutting scanning body brings forward, which reduces calculation quantities in simulation, increases the speed of simulation and optimizes the effect of simulation.
     The function of system interface is introduced, and linear and arc tool track arithmetic is validated by examples.
     The developing platform of system is VC++6.0, and the NC codes in the system, which accord with standard NC system criterion is convenient and applied.
引文
1 EMCO Company. Industrial Training Systems Knowledge Skills for Metal Machining. Production Introduction. 2005
    2吕雁.计算机仿真与建模技术综述.电子科技. 2001,6(5): 2~4
    3 M. Milfelner, F. Cus. Simulation of Cutting Forces In Ball-end Turning. Robotics and Computer Integrated Manufacturing. 2003,(19): 99~106
    4 Y. Lu. Computer Simulation Applied to an Orthogonal Three-Rod Machine Tool for Machining a Complicated Three–Dimensional Surface. International Journal of Machine Tools&Manufacture. 2002,(42): 1277~1284
    5 R. Xuy. Computation of a Geometric Model of a Machining Part from its NC Machinedprogramms. Computer-Aided Design, 1999,(31): 401~411
    6 Tarang Y S. Dynamic NC Simulation of Turning Operation. Computer–Aided Design, 1993,12(25): 769~775
    7李吉平,张文铭,黄田. NC图形验证与仿真技术的研究概况.计算机仿真. 2001,8(5): 52~55
    8李建广,袁哲俊,王新龙,谭光宇.基于微机的三轴数控铣削仿真系统的研究.制造技术与机床. 1997,(2): 21~23
    9张化楠,叶伯生,阳道善.数控铣床加工真实感仿真的实现.组合机床与自动化技术. 2001,(10): 5~7
    10王爱珍.现代数控原理及控制系统.机械工业出版社, 2004: 105~110
    11 Microchip Company. PIC16F87X DATA SHEET, 2001
    12陈国先. PIC单片机原理与接口技术.电子工业出版社,2004: 1~7
    13窦振中. PIC单片机原理和程序设计.北京航空航天大学出版社, 1998: 40~50
    14上海半导体器件研究所翻译组译.美国德克萨斯仪器公司TTL集成电路特性应用手册(续).上海半导体器件研究所, 1984: 5-54
    15 Adel. S. Sedra and Kenneth C. Smith. Microelectronic Circuits. 3rd ed. CBS College Publishing, New York. 1990.
    16 ed. C8S College Publishing, dew York. 1990.张毅刚,彭喜元,姜守达,乔立岩.新编MCS-51单片机应用设计.哈尔滨工业大学出版社, 2001: 107~108
    17罗翼,张宏伟. PIC单片机应用系统开发典型实例.中国电力出版社, 2005: 30~45
    18李学海. PIC单片机原理.北京航空航天大学出版社. 2004: 168~173
    19李广军,王厚军.使用接口技术.电子科技大学出版社, 1997: 202~209
    20 A. Denver. Serial Communications in Win32. Microsoft Windows Developer Support, 1995.
    21魏胜,李克天,范运谋. MSComm控件在PC机与CNC装置串口通信上的应用.机电工程技术. 2005,(4): 88~89
    22王宇晗,胡俊,蔡建国.基于面向对象技术的控制软件模型及实现.组合机床与自动化加工技术. 2000,(7): 4~6,17
    23姚习武,朱志红,田文超.数控代码超前解释的研究与实践.机械与电子. 1999,(2): 40~42
    24 Bedi S, Quan N. Spline Interpolation Technique for NC Machines Computer in Industry. 1992: 307~313
    25武峰,陈少艾.支持PCNC的数控语言解释程序研究.信息技术. 2001,(1): 38~43
    26 Giaconia P. Trends in NC Simulation. Tooling&Production, 1996: 28~32
    27 S. Ryol Maenga, N. Back, S. Yong. A Z-map Update Method for Linearly Moving Tools. Computer-Aided Design. 2003,(35): 995~1009
    28黄明吉.虚拟数控技术及应用.化学工业出版社, 2005: 140~143
    29 H. Mayr, J. Hein zelreiter. Modeling and Simulation of the Robotics/NC Machining Process using a Spatial Enumeration Representation.1991,IEEE
    30 C. -J. Chiou, Y. -S. Lee. Swept Surface Determination for Five-Axis Numerical Control Machining International Journal of Machine Tools&Manufacture. 2002,(42): 1497~1507
    31余斌.基于OpenGL的数控加工仿真系统的研究与开发.四川大学硕士学位论文. 2002: 35~45
    32 Richard S. Wright, Jr. OpenGL超级宝典.人民邮电出版社, 2001
    33解旭东,沿立库,彭炎年.数控加工仿真系统中图形动态显示的实现方法.计算机应用. 1997,(7): 327~334
    34 Ei_Mounayri H, Elbestawi M A, Spence A D, et al. General geometric modeling approach for machining process simulation. The International Journal of Advanced Manufacturing technology, 1997(13). 237~247
    35 Sang Kyu Lee, Sung Lim Ko. Development of simulation system for maching process using enhanced Z map model. Journal of Materials ProcessingTechnology. 2002 (35): 995~1009
    36 Sang C. Park. Tool-Path Generation for Z-Constant Contour Machine. Computer-Aided Design. 2003,(35): 27~36
    37 Peng Wu, Hiromasa Suzuki, Joe Kuragano, Kiwamu Kase. Three-axis NC Cutter Path Generation for Subdivision Surface. IEEE: Proceeding of the Geometric Modeling and Processing , 2004
    38黄维通. Visual C++面向对象与可视化程序设计.清华大学出版社, 2001: 20~60
    39 D. -J. Kruglinski, Scot Wingo, George Shepherd. Inside Visual C++6.0. Microsoft Press, 2002: 354~399
    40林锐.软件工程思想. 2000
    41 E. Angel. OpenGL: A Primer. Addison-Wesley Press, 2003: 106~107
    42蔡勇,杨振中.基于OpenGL的三维建模仿真软件开发.兵工自动化, 2004, 23(4): 91~92