您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 质量控制/管理 > 开放式形位误差在线检测上位机SPC软件设计
-I-开放式形位误差在线检测上位机SPC软件设计摘要随着我国工业的不断发展,检测技术在装备制造业的地位也日益重要。而作为生产操作指导的有力工具,研制适用于生产线工位需求的小型化、操作简便、检测模式灵活的在线仪器具有十分重要的意义。此次设计的主要意义是检测工业现场加工零件的精度以降低次品率,提高工厂生产效率。通过在上位机设计不同的组态表达式及对应的组态按键,按下不同按键用串口通信指导下位机测量不同的组态,如:圆度、线性度、平行度、最大值最小值。在工件表面的不同位置设置几个电感传感器,先检测标准件的数据,再检测所需工件的数据,将两个数据做差得到的数据值通过信号调理电路传送到ADUC812的AD模块,进行AD转换。同时对单片机进行编程,实现12864液晶显示,矩阵键盘按键控制菜单显示,以及与上位机部分进行串口通讯。通过串口将数据传送到上位机软件,并在上位机对数据进行实时图形显示和SPC(过程统计控制)参数统计,根据所得参数值对工业生产过程进行在线检测和实时控制。实现对生产操作的指导和产品质量的控制。关键词开放式在线检测;传感器组态模式;SPC统计过程控制;数据采集;串口通信;ADUC812-II-SoftwareDesignfortheHostComputerSPCFunctionofOpenFormMode-LineTestingErrorofShapeandPositionAbstractWiththecontinuousdevelopmentofourindustry,thepositionofthedetectiontechnologyintheequipmentmanufacturingindustryisalsoincreasinglyimportant.Asapowerfultoolforproductionoperationguidance,appliedtothedevelopmentoflinestationneedsminiaturization,simpleoperation,detectionmodeflexibleequipmenton-linehasveryimportantsignificance.Thedesignofthemainsignificanceisthedetectionofindustrialprecisionmachiningpartstoreducefailurerate,improvetheproductionefficiency.Thesoftwaredesignofdifferentconfigurationofexpressionandthecorrespondingconfigurationbutton,pressdifferentkeysusingserialcommunicationmachinemeasuringdifferentconfigurationguide,forexample:circulardegree,lineardegree,paralleldegree,minimumandmaximumvalues.Inthesurfaceoftheworkpieceindifferentpositionsetseveralinductancesensor,detectionofstandardpartsofthedata,andthenrequiredtodetecttheworkpiecedata,ThetwodataisobtainedbysubtractingthevalueofthedatathroughthesignalconditioningcircuitistransferredtoADmoduleofADUC812.Atthesametimeprogramonthesinglechip,lightthe12864LCD,controlmatrixkeyboardkeysandcommunicatewiththehostcomputerthroughtheserialport.Throughtheserialporttotransmitdatatothehostcomputersoftware,thehostcomputerfordatarealtimegraphicaldisplayandstatisticsSPCdata,accordingtotheparametervaluesforindustrialproductionprocessforon-linedetectionandreal-timecontrol.Achievetheproductionoperationguidanceandproductqualitycontrol.KeywordsOpenformmode-linetesting,sensorconfiguration,SPC,-III-dataacquisition,serialcommunication,ADUC812-IV-目录摘要......................................................................................................................IAbstract...............................................................................................................II第1章绪论........................................................................................................11.1引言...............................................................................................................11.2选题背景与意义...........................................................................................21.3研究现状.......................................................................................................21.3.1SPC的起源与发展.............................................................................21.3.2SPC发展的特点.................................................................................3第2章系统方案设计........................................................................................52.1系统方案的基本要求...................................................................................52.1.1基本要求............................................................................................52.2设计原理与设计思路...................................................................................52.2.1系统的基本原理................................................................................52.2.2设计思路............................................................................................62.3本章小结.......................................................................................................7第3章上位机软件设计....................................................................................83.1上位机部分的简介.......................................................................................83.2通信协议的设计...........................................................................................83.3组态模式算法的实现.................................................................................103.4编程软件的选择.........................................................................................113.5关于LABVIEW编程语言........................................................................123.5.1LABVIEW的概念...........................................................................133.5.2LABVIEW的特点..........................................................................133.6LABVIEW的应用领域..............................................................................143.7上位机部分的程序编写.............................................................................153.7.1串口通信..........................................................................................163.7.2SPC参数统计...................................................................................193.7.3对SPC进行上位机编程.................................................................223.8信号处理滤波器设计................................................................................
本文标题:开放式形位误差在线检测上位机SPC软件设计
链接地址:https://www.777doc.com/doc-418674 .html