数控加工模拟实验台的研制
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
由于数控机床在生产部门的使用越采越普遍,所以普及和推广数控技术是当前的一个重要问题。但数控加工设备价格很高,直接用昂贵的数控机床进行数控培训,很不经济。现有的能联机加工的数控培训系统都是基于DOS操作系统,其用户界面可视化程度差,而新开发的基于Windows的数控培训系统又只限于在电脑屏幕上进行加工仿真,不能进行实际加工切削。因此,研制成本低、可实际联机加工、可视化程度高的数控培训系统具有重要的现实意义。
     本课题的工作目标是以FANUC这一典型数控系统作为模拟对象,设计基于Windows98、能实际联机加工、可视化的开放式数控培训系统。论文围绕这个目标的实现从硬件和软件两方面进行了探讨。
     系统硬件采用了高性能PC机和运动控制卡相结合的模块化结构,论文中给出了具体的硬件结构框图,并对教学三坐标数控铣床的设计进行了说明。系统软件基干Windows操作系统,采用Visual C++6.0以及面向对象、模块化的程序设计方法,分数控系统软件和CAD/CAM软件两大模块进行编写。
     关于数控系统软件设计,本文给出了数控系统的用户层、编译层和
    
     广 凸 土 《 枉 士 《 伍&久
    控制层这三个模块的软件结构框图,并对各模块内的功能小模块如:数
    控代码的编译、模拟加工、同步仿真、操作面板状态监控、插补、自动/
    单段加工、手动、回零等模块列出了详细的程序设计流程图。针对数控
    系统的多任务性要求,讨论了多线程的编程技术,给出了用多线程技术
    实现多任务并行处理的的方洁和实际应用的程序例子。本文创新性地提
    出了虚拟数控操作面板和虚拟机床原点的构想,探索了其具体实现的方
    法和步骤,并给出部分程序源代码。
     对于CADCAM一体化软件设计,本文首先论述了CAD汇AM培训
    的重要性,并说明了实现CADCAM一体化的原理,然后对图形接口处
    理、图形再现和自动编程的程序设计进行了讨论,并提供自动编程的实
    例。
     论文的最后总结了本系统的特点,创新之处及其不足之处,对以后
    的开发提出了几点可行的、较合理的建议。
The Numerical Control (NC) machine tool is widely used in manufacturer at present, so it is important to popularize and generalize the CNC(Computer Numerical Control) technique. However, NC machine tools are too expensive to be used for CNC training directly. Moreover, the existing CNC training systems based on DOS are poor in vision, and those based on Windows can not be used in practical machining. Therefore, it is very significant to develop a cheap, convenient and highly visual CNC training system.
    The object of this project is to develop a visual and open-architecture CNC training system which simulates FANUC CNC system and can be used in machining practically. This paper discusses both the hardware design and the software design of this system.
    In this article, the structure diagram of the system's hardware is given, in which a high quality PC and a motion control card are adopted, and the design of a three -coordinate milling machine is presented as well.
    The system's software developed with Visual C++ 6.0 and modular programming approach includes two modules: CNC system software and CAD/CAM software.
    As for CNC system software , the software structure diagrams of user layer module, compilation layer module and control layer module are given. Meanwhile, the program flow diagrams of all kinds of sub-function modules are showed, such as the compilation of NC codes, simulate machining,
    
    
    
    synchronous simulation, the state monitor of operating panel, interpolation, automatic machining, manual moving, returning origin and so on. Regarding the multi-task of CNC system, this paper discusses the multi-thread technique and shows a practical example. The author creatively builds two concept: virtual CNC operating panel and virtual machine tool origin, and has studied methods and procedures to realize them, giving some program codes as well as.
    As to the integration of CAD and CAM technique, the significance of integrated CAD/CAM training and the principle of integrated CAD/CAM are disserted at first, and then, the program designs of graphic interface, graphics reappearance and automatic programming are discussed. At the same time , a example of them is provided.
    At the end of this paper, the characteristics and the disadvantages of the system are analyzed, and several feasible and reasonable suggestions for future development are put forward.
引文
[1]李佳特.数控技术的发展.机械工艺师.2001,(3):5-7
    [2]廖德岗.开放式数控系统的研究及发展现状.机械.1999,26(3):13-15
    [3]Hoske,M.T. New CNC controller is 'fully open'. Control Engineering. 1996,vol.43, no.15, p69-70
    [4]Altintas,Y.; Munasinghe,W.K. A Hierarchical open-architecture CNC system for machine tools. Annals of the CIRP. 1994, vol.43, no.1, p37-39
    [5]栾贵兴.努力发展数控技术,推动制造业的现代化.中国工程师.1998,(1):12-13
    [6]张健,杜海军.高等职业院校数控技术教育课程体系改革浅谈.十堰职业技术学院学报。2001,14(2):78-80
    [7]王令其,陶宁虎.数控加工过程计算机仿真软件设计.制造技术与机床.1998,(7):26-27
    [8]宋晓梅,赵婉.数控机床仿真系统的设计与实现.青鸟化工学院学报.1997,(3):272-274
    [9]吴明华,周章慧,戴同.面向培训的数控面板仿真软件的研制.机械工业自动化.1997,19(4):30-31
    [10]华中Ⅰ型数控模拟实验系统及教学培训机床研制技术报告.武汉:华中理工大学数控技术研究所,1996
    [11]马莉敏,朱国文,熊清平.用于小型多功能数控机床的数控培训系统.机械与电子.1999,(3):54-56
    [12]刘爱林,肖跃加,韩明等.基于 WIN95/NT 的开放式数控系统.机械与电子.1999,(4):32-34
    [13]王文,陈文远,陈子辰.基于工业 PC 机的新型数控系统研究.机电工程,1997,机电一体化论文集:102-103
    [14]刘乐善,叶济忠,叶永坚.微型计算机接口技术原理及应用,第七版.武汉:华中理工大学出版社,1999:46-69
    
    
    [15]尚朝轩,刘利民,马颜恒.PCI 总线及其特点.测控技术,1998,17(3):33-35
    [16]Stephen J.Rober and Yung C.Chin. Modeling and control of CNC machine using a PC-based open architecture controller. Mechatronics, 1995,5(4): 31-34
    [17]Corey,G. Whew PCs control machines. Machine Design International. 2000,vol.72, no.11, p79-80
    [18]Ye Peiqing; Liao Wenhe; Zhou Laishui. Development of CNC system based on PC platform. Journal of Nanjing University of Aeronautics&Astronautics. 1997,vol.29, no.2, p125-30
    [19]廖效果,朱启逑.数字控制机床(第七版).武汉:华中理工大学出版社.1998:31-32
    [20]ADT-830 运动控制卡使用说明书
    [21]濮良贵主编.机械设计(第六版).北京:高等教育出版社,1997.
    [22][波]W. 泰拉林斯基著.微型机械与精密仪器.北京:机械工业出版社,1985.
    [23]苏翼林主编.材料力学(第二版).北京:高等教育出版社,1987.
    [24]庞振基.精密机械及仪表零件手册.北京:机械工业出版社,1993.
    [25]刘仁家等编.机械设计常用元器件手册.北京:机械工业出版社,1994.
    [26]张新义主编.经济型数控机床系统设计.北京:机械工业出版社,1994.
    [27]段爱民,史林,张岩等译.Windows95 技术应用.北京:清华大学出版社,1995.
    [28]Rothe,D. Foundation Classes simplify C/C++ programming. Test&Measurement World. 2000, vol.20, no.2, p65-6
    [29]Roberts,J. Extending Visual C++. Custom AppWizards make it possible. Dr.Dobb's Journal. 1997,vol.22, no.5, p66, 68,70-2
    [30]韦源.Visual C++6.0 自学捷径.北京:北京大学出版社.1999:57-239
    [31]吴芸,徐超.Windows95 下多线程技术及其实现.微计算机应用,1997,18(5):32-36
    [32]同志工作室编.Visum C++6.0 开发技巧与实例教程.北京:人民邮电出版社,2000:201-217
    
    
    [33]《FANUC OM Mate-A OOM-A操作说明书》
    [34]任玉田,焦振学,王宏甫.机床计算机数控技术.北京:北京理工大学出版社,1996.
    [35]毕承恩,丁乃建.现代数控机床.北京:机械工业出版社,1993.
    [36]Lock,G. CAD/CAM and the modern manufacturer. Manufacturing Management. 1998,vol.7, no.6, p29, 31
    [37]Lim,K.T.;EI-Mounayri,H. CAD/CAM-based geometric modeling simulation for virtual manufacturing. Electrical Insulation Conference and Electrical Manufacturing and Coil Winding Conferenc. 26-28 Oct. 1999, p547-51
    [38]Tandon,V.;El-Mounayri,H. Aspects of integrated CAD/CAM for advanced manufacturing. Electrical Insulation Conference and Electrical Manufacturing and Coil Winding Conferenc. 26-28 Oct. 1999, p539-46
    [39]葛正浩,任海波,段永涛.基于 AutoCAD R1 4 的数控线切割自动编程系统.西北轻工业学院学报.1999,17(4):27-29
    [40]蒋志勇.AutoCAD 在数控机床计算机辅助编程中的应用.机电工程.1995(1):6-10
    [41]易志明.数控线切割CAD/CAM.电加工.1996,(5):34-35
    [42]向南平.AutoCAD 图形交换文件初探.计算机应用研究,1991,(5):1-5
    [43]Weule,H.; Klaiber,M. Computer-aided run-in of CNC programmes. CIRP Annals v41 nl 1992 p543-546
    [44]Madhavulu,G.; Ahmed,B. PC-based CNC part programming. MT&M-Manufacturing Technology and Management. 1996, vol.4, no.2, p8-11