激光喷丸系统运动控制软件编制及喷丸改性实验论文[带图纸].doc
JINGJIANGCOLLEGEOFJIANGSUUNIVERSITY本科毕业论文激光喷丸系统运动控制软件编制及喷丸改性实验EstablishmentoftheMotionControlSoftwareofLaserShotPeeningSystemandShotPeeningModificationExperiments学生学号:学生姓名:专业班级:指导教师姓名:指导教师职称:2012年6月I激光喷丸系统运动控制软件编制及喷丸改性实验专业班级:J机械0804学生姓名:吴天成指导教师:周建忠职称:教授摘要:本文在分析了国内外多种类型的运动控制平台的基础上,设计并制作了一台适合激光喷丸系统的四轴运动控制平台。主要设计内容有:对运动控制系统中的上位机控制和伺服驱动等关键技术进行深入剖析根据激光喷丸系统要求进行机械和电气部分的设计和制作,搭建激光喷丸运动控制平台,使运动控制系统和激光发射系统集成在同一个平台中。利用研华PCI-1240运动控制卡进行运动控制部分的设计,采用VisualC+软件调用运动控制卡中的运动函数库进行编程,使平台实现四根轴(X,Y,Z,U)各自的正反转运动,点动和联动功能,并可以按喷丸要求的轨迹移动。利用PCI-1761DI/O卡的数字量输出功能进行激光控制部分的编程,数字量输出一个字节的数,这个输出信号输入到单片机中作为单片机的输入信号,控制激光能量和频率。编制一个RS232串口程序,为今后实现工控机与电机的通信做准备。利用设计的软件对ZCuSn10P1铜合金进行喷丸实验,验证此系统的可行性,并对喷丸后的试样进行性能测试,包括残余应力测试和纳米压痕实验,并对测试结果进行分析,得出结论。本课题设计的激光喷丸运动控制系统一方面解决了喷丸平台的运动控制,另一方面可控制激光器的参数,使喷丸系统形成一个整体,而且具有较高的柔性。关键字:运动控制;激光喷丸;运动控制卡;喷丸实验IIestablishmentofthemotioncontrolsoftwareofLasershotpeeningsystemandshotpeeningmodificationexperimentsAbstract:Basedontheanalysisofmanytypesofmotioncontrolplatformofthedomesticandforeign,designedandproducedafouraxismotioncontrolplatform,itssuitedforlasershotpeeningsystem.Themaindesigncontentare:ToanalysiscontrolsystemofPCcontrolandservodriveonthekeytechniques.Accordingtothelasershotpeeningsystemsrequirements,designandmanufacturethemechanicalandelectricalparts,buildingthelasershotpeeningmotioncontrolplatform,makethemotioncontrolsystemandthelaseremissionsystemintegrateinthesameplatform.WithadvantechsPCI-1240movementcontrolcard,designingmotioncontrolpart,withVisualC+softwarecallsthemovementcontrolcardsmovementfunctionlibrary,maketheplatformhavethefouraxises(X,Y,Z,U)positiveandnegativemovement,thepointmovefunction,andcanaccordingtotherequirementsoftheshotpeeningstrackmove.WithPCI-1761DI/Ocardsdigitaloutputfunctionforlasercontrolpartoftheprogramming,digitaloutputabytesofdata,theoutputsignalisinputtothesinglechipmicrocomputer,thedataasthesinglechipmicrocomputerinputsignal,controlthelaserenergyandfrequency.programaserialportsoftware,realizeingserialcommunicationfortheindustrialPC.Doingthecopperalloyshotpeeningexperimentswiththesoftware,toprovethefeasibilityofthesystem.anddotheperformancetestsforthespecimensofshockpeening,Residualstresstestandnanocreasingexperment,analysetheresultofthetest,anddrawtheconclusion.Thislasershotpeeningmotioncontrolsystem,ontheonehand,solvedtheshotpeeningplatformmovementcontrol,ontheotherhand,itcancontroltheparametersofthelasermachine,thismaketheshotpeeningsystemasawhole,andwithhighflexibility.Keywordsmotioncontrol;lasershotpeening;motioncontrolcard;peeningexperimentIII目录第一章绪论.11.1运动控制概念的提出.11.2运动控制器的现状及发展趋势.11.3本课题研究的意义和主要内容.5第二章运动控制平台的结构方案设计.62.1电气部分的设计.62.2四轴运动平台的设计.92.2.1角度调节台的设计.92.2.2四轴平台的总体设计.112.3本章小结.12第三章运动控制平台的软件编制.133.1RS232串口通讯程序的编制.133.1.1RS232串口的简介.133.1.2RS232的程序编制.143.2运动控制软件的编制.153.2.1运动控制卡的介绍.153.2.2PC+运动控制卡的控制方案介绍.153.2.3系统中PCI-1240运动控制卡和PCI-1761卡的介绍.163.2.4基于VisualC+的运动控制软件的开发.203.3本章小结.24第四章激光喷丸改性实验.254.1激光喷丸技术简介.254.2铜合金的激光喷丸实验.254.2.1材料选择与试样制备.254.2.2实验装置及仪器.274.2.3实验参数方案.274.2.4后续性能测试.284.2.5实验结论.344.3本章小结.34结论.35致谢.36参考文献.37IV附录A.39附录B.43