摘要
选择性激光烧结(Selective Laser Sintering,SLS)是20世纪80年代末出现的一种快速成型工艺,它利用计算机控制激光束对粉末薄层以一定的速度和能量密度按照分层面的二维数据进行扫描烧结,层层堆积,最后形成成形件。其工艺涉及机械、材料、粉末烧结、激光加工等相关学科。本文以SLS加工工艺作为研究对象,开发了SLS加工仿真系统平台,该平台能够对SLS加工过程进行几何仿真,同时对仿真系统的实现过程中的各种关键技术进行了研究,主要研究内容如下。
利用Visual C++和OpenGL完成了仿真场景的构建及仿真界面的设计。在构建仿真环境时根据加工仿真环境的需要,采用合理的光照模型和材质,增强了加工仿真的真实感。基于开发功能要求,实现了统一界面上多窗口的三维图形显示与同步控制。
使用Pro/E的二次开发工具Pro/TOOLKIT编程实现了基于Pro/E的直接切片算法。该算法避免了模型转换为STL文件时所造成的切片误差,能够安全、高效、精确的获取3D CAD模型的切片轮廓数据。同时采取了自定义MSlice文本格式和基于OpenGL的图形方式来实现切片数据的存储和显示。
对各种类型的扫描路径方式进行了分析,实现了S形扫描路径曲线对切片轮廓的填充。
实现了SLS加工设备的三维静态建模及SLS加工动态仿真。根据计算机图形的反走样、混合和图形消隐等图形处理技术,利用OpenGL和Pro/E完成了SLS设备的三维静态模型;在分析SLS加工过程中的各机构运动关系的基础上,由S形路径曲线填充切片轮廓后得到的节点坐标编程实现了激光扫描路径的运动控制。最后运用OpenGL的双缓存技术以及Windows自带的定时器实现SLS加工过程的实时动态仿真。
本仿真平台具有良好的交互性、实时性和可移植性。不仅节省了资源,还可用于理论研究成果验证和教学演示,对SLS工艺的研究具有重要的理论和现实意义。
Selective Laser Sintering (SLS for short) is a Rapid Prototyping technology invented in the 1980s, which uses computer-controlled laser beam scanning thin-layer and sintering power with a certain speed and energy density according to sub-lever two-dimensional date, accumulating layers, resulting eventually in forming part. Its process involves machinery, materials, powder sintering, laser processing and other related disciplines. This thesis was based on SLS process, developed a machining simulation system platform. This platform could realize the SLS geometric simulation of maching process. The key technology related during the realization process of simulation platform was researched.
An interactive 3D simulation environment was built up using Visual C++ and OpenGL. In building a simulation environment, the reality of the simulation process was enhanced by using reasonable illumination model and material. Based on the development of functional requirements, the system achieves 3D graphics’display and synchronization control in a unified multi-window interface.
Through the secondary development tool Pro/TOOLKIT, the direct slicing algorithm was achieved. This algorithm proved to be safe, efficient and accurate as avoiding the slice error which was caused by converting the part model to STL file. The slice data was stored by a self-defining text file and displayed by OpenGL graphics.
The various scan method was analysized and compared. The function of filling an arbitrary profile with S-shaped scan curves was realized.
The 3D static modeling of SLS equipment and dynamic simulation of SLS machining process were implemented. Base on the graphics processing technology of computer graphics such as anti-aliasing, blending and graphics hiding etc., the three-dimensiona static modeling of the SLS equipment was constructed by Pro/E and OpenGL. On the base of analysizing using OpenGL animation technology, the real-time dynamic simulation of SLS machining process was realized by controlling the laser scan in the slice contour of 3D model.
This platform possesses a good interaction, real-time performance and portability. Not only can it save resources, but also can be used to verify results of theoretical research and teaching demonstration. It has important theoretical and practical significance for the research of SLS process.
引文
[1]王秀峰,罗宏杰.快速原型制造技术[M].北京:中国轻工业出版社, 2001.
[2] Jan-Erik Lind, Juha Kotila, Tatu Syvaenen, Olli Nyrhilae. Dimensionally accurate mold inserts and metal components by direct metal laser sintering [J]. Materials Research Society, 2000, 625 : 45-50.
[3]张剑峰. Ni基金属粉末激光直接烧结成形及关键技术研究[D]: [博士学位论文].南京:南京航空航天大学, 2002.
[4] Jan-Erik Lind, Juha Kotila, Tatu Syvaenen, Olli Nyrhilae. Dimensionally accurate mold inserts and metal components by direct metal laser sintering [J]. Materials Research Society, 2000, 625 : 45-50.
[5] F. Costache, A. Marian, D. M. Buca, and I. Iov, Selective laser sintering processing of metallic components by using an Nd: YAG laser beam, In SIOEL 99, Sixth Symposium on Optoelectronics, Teodor Necsoiu, Maria Robu, Dan C. Dumitras, Editors. Proceedings of SPIE, 2002, 4068 : 555-561.
[6]杨森,钟敏霖,张庆茂等.激光快速成型金属零件的新方法[J].激光技术, 2001, 25 (4) : 254-257.
[7]邓琦林,张宏,唐亚新等.选择性激光烧结粉末生成三维零件[J].制造技术与机床, 1995 (7): 18-20.
[8]李鹏,熊惟皓.选择性激光烧结的原理及应用[J].材料导报, 2002, 6.
[9]樊自田等.用快速成型技术生产金属零件的方法及评价[J].中国机械工程, 1997, 8.
[10]邓志强.仿真技术在汽车研发中的应用及发展趋势[J].技术导向, 2005, 5 : 36-39.
[11]王子才.仿真技术发展及应用[J].中国工程科学, 2003, 5 (2) : 40-44.
[12]欧阳鸿武,余文焘,唐勇等.特种粉末选择性激光烧结快速成形技术[J].粉末冶金材料科学与工程, 2007, 2, 12(1).
[13]马良.选择性激光烧结热物理过程分析与仿真研究[D]: [博士学位论文].武汉:华中科技大学, 2007.
[14] Jessica M. Williams, Adebisi Adewunmi, et al. Bone tissue engineering using polycaprolactone scaffolds fabricated via selective laser sintering [J]. Biomaterials, 2005, 26 : 4817-4827.
[15] J.P. Kruth, B. Van der Schueren, J.E. Bonse, B. Morren. Basic Powder Metallurgical Aspects in Selective Metal Powder Sinitering [J]. Annals of the CIRP, 1996, 45 (1) : 183-186.
[16] J.P. Kruth, P. Mercelis, F. Van Vaerenbergh. Binding mechanisms in selective laser sintering and selective laser melting [J]. Rapid Prototyping Journal, 2005, 11 (1) : 26-36.
[17] Nikolay Tolochko, Sregei Mozzharov, Tahar Laoui, et al. Selective laser sintering of single- and two-component metal powders [J]. Rapid Prototyping Journal, 2003, 9 (2) : 68-78.
[18] Nikolay K. Tolochko, Sergei E. Mozzharov, Igor A. Yadroitsev, et al. Balling processes during selective laser treatment of powders [J]. Rapid Prototyping Journal, 2004, 10 (2) : 78-87.
[19] K.K.B. Hon, T.J. Gill. Selective Laser Sintering of SiC/Polyamide Composites [J]. Annals of the CIRP, 2003, 52 (1) : 173-176.
[20] W-N Su, P. Erasenthiran, P.M. Dichens. Investigation of Fully Dense Laser Sintering of Tool Steel Powder Using a Pulsed Nd: YAG (neodymium-doped yttrium aluminum garnet Lase [J]. Proceedings of the Institution of Mechanical Engineers, 2003, 217 (1) : 127-138.
[21] M. Matsumoto, m. Shiomi, K. Osakada, F. Abe. Finite element analysis of single layer forming on metallic powder bed in rapid prototyping by selective laser processing [J]. International Journal ofMachine Tools and Manufacture, 2003, 42 : 61-67.
[22] M. Shiomi, K. Osakada, K. Nakamura, et al. Residual Stress within Metallic Model Made by Selective Laser Sintering [J]. Annals of the CIRP, 2004, 53 (1) : 195-198.
[23]蔡道生,史玉升,陈功举,黄树槐. SLS快速成形系统扫描路径优化方法的研究[J].锻压机械, 2002 (2) : 18-20.
[24]赵保军,施法中,冯涛,孙建民.选择性激光烧结聚苯乙烯粉末成形温度场的数值模拟研究[J].激光杂志, 2002 (2) : 66-69.
[25]赵保军,施法中,冯涛等.选区激光烧结成型中致密度的数值模拟与实验[J].激光技术, 2003 (1): 40-43.
[26]汪苏,徐海然,薛忠明. SLS快速成形技术中激光加工参数对制件性能的影响[J].中国机械工程, 2003 (17) : 1460-1462.
[27]沈以赴,陈文华,赵剑峰等.快速成形技术中材料成形性的研究进展[J].材料科学与工程, 2001 (4) : 90-96.
[28]沈以赴,顾冬冬,王蕾等.多组分铜基金属粉末选择性激光烧结成形的工艺研究[J].铸造, 2005, 54 (7) : 659-664.
[29]朱林泉,程军.变长线扫描选择性激光烧结快速成型工艺的质量和效率优势分析[J].兵工学报, 2002 (1) : 64-66.
[30]朱林泉.线扫描SLSRP系统的原理及工艺优势[J].应用激光, 2002 (3) : 305-308.
[31]刘伟达,刘剑熊,严波.虚拟制造技术及其在制造业中的应用研究综述[J].机械研究与应用, 2005, 18 (2) : 10-12.
[32]摘玉山.平面曲线轮廓数控加工过程集合仿真及进给速度优化研究[D]: [硕士学位论文].湖南:湖南大学, 2007.
[33]康凤举,杨惠珍,高立娥等.现代仿真技术与研究[M].北京:国防工业出版社, 2006 : 27-28.
[34]朱军.基于OpenGL数控仿真系统的研究与开发[D]: [硕士学位论文].南京:南京理工大学, 2006.
[35]乔永梅,张定华,张森等.数控仿真技术的回顾与评述[J].计算机辅助设计与图形学学报,1995, 7 (4) : 311-315.
[36]盛亮.基于实体的数控加工仿真关键技术的研究与实践[D]: [博士学位论文].南京:南京航空航天大学, 2005.
[37] RB Jerard, SZ Hussaini, RLD yrsdale, ect. Approximate methods for simulation and verification of numerically controlled machining programs [J]. The Visual Computer, 1989, 5 (6) : 329-348.
[38] Chappel IT. The use of vector to simulate material removed by numerically controlled milling [J]. Compute-Aided Design, 1983, 15 (3) : 156-158.
[39]马玉林,孙宏伟.基于质量保证的数控切削仿真技术和展望[J].制造业自动化, 2001,22 (4): 35-38.
[40]张翠华,李进京,陈兴.数控仿真系统的研究现状[J].山东农机, 2005, 168 (7) : 6-8.
[41]唐志涛,刘战强,周军.虚拟数控加工过程仿真技术[J].电气技术与自动化, 2005, 34(3) : 61-64.
[42] http://baike.baidu.com/view/100377.htm.
[43]齐永安,庞玉娟,曲鹏举.一种VC++/OpenGL极小化框架新方法的实现[J].微计算机信息(管控一体化), 2007, 23 (2-3) : 234-245.
[44] http://baike.baidu.com/view/1918990.htm.
[45]高恩婷.基于VC++的OpenGL三维应用程序的设计[J].苏州大学学报(自然科学版), 2007, 23(04) : 38-39.
[46]刘慧杰,靳海亮.基于VC++的OpenGL三维图形开发设计[J].计算机与数字工程, 2009 (7): 122-124.
[47]匡天君,腾远道,王乘,徐明毅.基于MFC和OpenGL三维图形的开发[J].微计算机信息(测控自动化) 2004, 20 (6) : 115-116.
[48]郑阿奇. Visual C++实用教程(第三版)[M].北京:电子工业出版社, 2007.
[49]张中庆.使用VC6.0实现窗口的任意分割[EB/OL]. http://www. vckbase.com/document/viewdoc/? id = 192, 2009-08-16.
[50]王成,曾晓燕.激光三维雕刻中实时切片算法研究[J].工程图学学报, 2008 (1) : 13-18.
[51]朱虎,杨忠凤,张伟. STL文件的应用与研究进展[J].机床与液压,2009, 37 (6) : 186-189.
[52]蒋克荣,吕新生,张晔,刘小龙.激光快速成形中直接切片处理技术的研究[J].合肥工业大学学报(自然科学版), 2003, 12 : 1240-1242.
[53]田宗军,李小林,黄因慧.快速成形系统中STL文件的缺陷和修复[J].电加工, 1999, (2) : 15-18.
[54]阳佳.生长型制造分型扫描规划及适应性切片的研究[D]. [博士学位论文].武汉:华中科技大学, 2003.
[55]龙瑞.快速成形直接切片技术研究[D]: [硕士学位论文].南京:南京理工大学, 2003.
[56] Aziz, N. M. and Bata, R. Bezier Surface/Surface Intersection [J]. IEEECG&A. 1990 (1) : 50-58.
[57]姚英学,蔡颖.计算机辅助设计与制造[M].北京:高等教育出版社, 2006.
[58] MA Liang, BIN Hong-zan. Direct Slicing Based on Material Performance and Process Parameters for Selective Laser Sintering [J]. International Journal of Plant Engineering and Management, 2006, 12.
[59] Chen Xubing, Ye Xianfang, Huang Shuhuai, et al. Research on the direct slicing in rapid fabrication [J]. China Mechanical Engineering, 2002, 13 (7) : 71-73 (in Chinese). (陈绪兵,叶献方,黄树槐.快速成形领域中的直接切片研究[J].中国机械工程, 2002, 13 (7): 71-73.)
[60]王福德,阳佳.多切片模型MSlice格式研究[J].计算机辅助设计与图形学学报, 2003, 8: 1044-1047.
[61]靳晓曙,杨洗陈.激光直接制造和再制造中的三维CAD模型直接分层技术[J].计算机辅助设计与图形学学报, 2007, 6 : 757-763.
[62]程艳阶,史玉升,蔡道生,黄树槐.选择性激光烧结复合扫描路径的规划与实现[J].机械科学与技术, 2004, 9.
[63]尚晓峰,刘伟军,王天然,王志坚.金属粉末激光成形扫描方式[J].机械工程学报, 2005, 7.
[64]陈鸿,张志钢,程军. SLS快速成型工艺激光扫描路径策略研究[J].应用基础与工程科学学报, 2001, 9.
[65]宾鸿赞,张小波,刘征宇,高宏卿.生长型制造中薄层分形扫描路径的生成与控制系统[J].中国机械工程, 1998 (9).
[66]陈青果,刘超颖,张君彩,徐安平.快速成形中层片填充路径的优化处理[J].煤矿机械, 2008, 10.
[67]万征,周朝晖,王守尊.一种改进的三次NURBS曲线生成算法[J].舰船电子工程, 2006 (2).
[68]陈绍平.三次NURBS曲线的插值与应用[J].机械科学与技术, 2005, 11.
[69]孙家广,杨长贵.计算机图形学[M].北京:清华大学出版社, 2005.
[70]官火梁,吴强,席平. RCS计算中NURBS曲面和射线求交的快速计算[J].工程图学学报, 2006(1).
[71]赵毅,李占利,卢秉恒.激光快速成型中激光扫描路径的快速生成算法[J].计算机辅助设计与图形学学报, 1998, 5.
[72]张沛颀,裴建昌,黄圣杰. Pro/Engineer野火版进阶设计[M].北京:人民邮电出版社, 2004, 1.
[73]贾志刚.精通OpenGL[M].北京:电子工业出版社, 1998.
[74]和青方.计算机图形学原理及算法教程(Visual C++版)[M].北京:清华大学出版社, 2006, 1.
[75]何玉林.计算机图形学[M].北京:机械工业出版社, 2004, 1.
[76]周进.选择性激光烧结加工过程动态几何仿真[D]: [硕士学位论文].武汉:华中科技大学, 2007.
[77]基于OpenGL动画设计研究与实现[EB/OL]. http://old.826it.com/l/5586.html.