Microcomponent Thickness Comprehensive Detecting Plain Test .doc

LW01-088@滑块厚度综合检测平台控制系统软件部分

收藏

压缩包内文档预览:
预览图 预览图 预览图 预览图
编号:503684    类型:共享资源    大小:3.49MB    格式:ZIP    上传时间:2015-11-09 上传人:QQ28****1120 IP属地:辽宁
12
积分
关 键 词:
机械毕业设计 论文
资源描述:
LW01-088@滑块厚度综合检测平台控制系统软件部分,机械毕业设计 论文
内容简介:
1 Microcomponent Thickness Comprehensive Detecting Plain Test Control System Designing Zhenwei Duan Yanhua Li Denren Kong Changan Di Department of precision instrument of School of Mechanical Engineering in NUST, Nanjing, 210094 Phone (086) 025-84315471 E-Mail: Abstract: This article introduces the overall plan of the testing & controlling system of the platform for testing the thickness of the microcomponent, the working principle and the design method. It introduces the driving system, controlled by the PLC programmed controlling step-motor, to accomplish the testing of microcomponent in the form of production chain. It introduces the communication and control method between the thickness-testing sensor and PC. It discusses how can the PLC controlling microcomponent material distribution machine accomplishes distribution task, when getting sort signals form PC. It discusses the realization method, in which all kind of status in operating process can be tested and the fault can be tolerated. This system was debugged in industrial location and its feasibility was proved well. keywords: microcomponent , detecting ,classification automatization, Manipulate Microcomponent is a critical unit in air condition and air compressor, whose geometry dimension, surface roughness, margin tolerance etc deeply effects the refrigeration and calefaction of them. Actually as the demand of air condition and air compressor are more and more vast, the demand of microcomponent is more and more vast too and the degree of accuracy of microcomponent is more and more higher. Now after the microcomponent was machininged and producted, which was mainly detected manually, the verification became where the shoe pinches. The traditional verification method has the problem of slow velocity, low efficiency and man induced factor effect. So we developed this Microcomponent Thickness Comprehensive Detecting Plain. The Programmable Logic Controller of S7-200 catena, which is made by the Siemens and the industrial control computer are the nucleus of this topic. We combination the deeply activation capability, the high reliability, the superior proportionaliny among the performance and the cost, the expedient application of The Programmable Logic Controller with the deeply data-processing capability, the amicable relation among man and computer, the high administration horizontal of the industrial control computer, then we develop this Microcomponent Thickness Comprehensive Detecting Plain Test Control System. We achieve the automatization of the examination of the microcomponent thickness and the exclusive classification process, and enhance the level of automatization, get together on better economic effect. I The design of the microcomponent thickness comprehensive detecting plain The Microcomponent Thickness Comprehensive Detecting Plain is made up of the driving and measurement mechanics, the classification mechanics and the control section .In a general way, the concentrated and decentralized system can be fallen into three tiers: the top is management who manages the whole system; the middle is concentrated supervisory who monitor, control and deploy the whole system; the bottom is decentralized- implementation, whose task is control the local system. In the system, the industrial control computer undertakes the task belonging to the top and middle as supervisory management; PLC undertakes the bottom task as control implementation tier2. The industrial control computer transfers the management decision, control task, control parameter and deploy dictation to the control tier PLC by communication cable, PLC transfers the parameter, process control and data to the management tier by communication cable. The function flowchart of whole system is as fig 1. nts 2 Fig 1 The overall structure of the system A The automated detecting plain The automated detecting plain is made up of measurement plain and the driving mechanism. Measurement plain is the basic reference of the microcomponent s geometrical parameter, whose degree of accuracy is higher than that of the microcomponent. During the measurement process, the microcomponent slides with surface of the operating board. In order to guarantee the stationarity during the driving process, and eschew to lead in the additive lapse to engender the deformation because of the shock of the driving mechanics, the driving mechanics exploits the designing of fission constitutional formula to disbranch the measurement plain and the driving mechanics, then descend the influence of the driving mechanics by a long way. We need to measure five dots on the diagonal of every surface(it can be taken into one dot in the crossover). In this way, the microcomponent not only rotates 90 degree, but also rolls over 180 degree on the pipleline.By protracting favourable bandy on the measurement plain, we can make the microcomponent rotate favourable angular degree according to the primary locus, and to realize the turning of the microcomponent by designing the spatial texture of the industry chain. B classification organ The microcomponent is transferred to the classification organ down the slipway. The classification organ classifies the microcomponent by virtue of controlling stepper motor to rotate homologous angular degree when the PLC accepting classification information. The PLC controls the stepp motor in the way of PTO. PTO mode can export much impulse train, and enable impulse train to queue to establish conduit line. It can be classified two enominations including single conduit line and multiple conduit line1. This system adopts the multiple conduit line, and establishs the list in variable memory block to control periodic time of output impulse and pulse number, then achieves to control the stepper motor rate and angular degree exactly. The PLC reckons heterogeneous conditions by inductive switch in the classification process. For instance, the arrival signal, the align signal, the classification completion signal. If The PLC discovers false condition, it will deliver homologous alarm signal to the industrial control computer, then the operating force can eliminate the bug. C The control section The PLC is the nucleus of the control section, which carried out the command of the industry control computer by the communication of them. When the industrial control computer interfaces with PLC, because PLC exploits standard RS-485, which is not compatible with the industrial control computer RS-232, we must switch over by PC/PPI communication cable2. The industrial control computer is the administrator of all the system, .It controls the sensor to measures the geometrical parameter of the microcomponent on the industry chain, and calculates to get the classification information of the microcomponent. The PLC is the manipulative nucleus of all the system, it completes the facility which includes the activation governing, the condition sense, the implementation of the dictation and so on. The PLC controls the performance of the classification mechanics and the driving mechanics by accepting the information of the industrial control computer. II The design of the control system A The control demand of the system In order to accomplish the detecting, transmission and classification of the microcomponent, the system was demanded to accomplish the functions as follow: 1) Can accomplish the steady transmission of the microcomponent in industry chain and ensure the queue of the microcomponent , which was formed by entry order of the chain, was orderliness and Sort control signal Sensor signal PTO output Drive control Control signal Measurement plain PLC RS-485 Industry control computer RS-232 Sort control system PC/PPI Motor 1 Mtor2 Status signal Status signal nts 3 integrality. 2) The speed of former driving organ must be not faster than the later classification organ, and at the least ensure when the classification organ didnt accomplished the classification, there is no microcomponent entry the classification organ. 3)Ensure the classification organ can auto reset when the step motor was out of step. 4) When not only one microcomponent entry the classification organ, the worker will be told the system was in trouble. In the mean time the motor can be estimated whether it works well and the angular displacement output is correct. 5) The system must have certain fault-tolerant capacity, when it occurs common errors, the system can rehabilitate by itself. But when the fatal error was occurred, the system can clew the possible sort or approximately orientation. B The work principle of control system The control system is mainly made up of motor driving section, communication section, status detecting section and alarm section. Every section defined in the output and input of PLC as fig 2: Fig 2 The control system 1) Step motor and driving section The step motor is execute component which converts the electric pulse output of PLC to angular displacement or rectilineal displacement which is in direct proportion to the electric pulse. The former driving section step motor mainly accomplishes the speed control of the industry chain, and the later classification section must accurately control the output angular displacement and direction of the step motor. When the step motor out of step in the process, the photoelectric encipheror must be used to control the phase output of the step motor and ensure the output accord with the practicality. The later classification section adopts the mode of auto reset to eliminate the accumulated error of the motor and ensure that the motor output certain angular degree from zero position every time. 2) Status detecting and alarm design The process status of the system could be estimated by inductive switch which were fixed in the certain position of the system. When the status didnt accord with the given status, the system should alarm. The mode of the alarm is designed in acousto-optic mode, according as the ponderance of the errors. 3) The communication of the PLC and the computer. The program of the communication port, including the parity bit, the length of the data frames, realized the communication of the PLC and the computer. III The software design of the system The software of the industry control computer, which was adopted object-oriented windows application and programmed in Bland C+ compiler, had luxurious human-computer interaction, multilevel menu design and was operated easily. Using STEP7-Micro/WIN32 programmed the control software of PLC, which based on Windows application and designed specially for S7-200 series PLC of Siemens. It has the powerful function, was mainly used to develop program, at the same time also used to supervise the status of program implementation real time2. A The software design of PLC The software of PLC can be separated into main program Main(), normal sort program Micro_Sort(),auto reset program Auto_Reset(), interrupt service routine(ISR) Interrupt(), initialization routine Ini_Install() and error handling program etc in structural. All the subroutines ware decided which could be called by main program according to industry control computer or external command .The main control flowchart graph manifest as fig 3. When the system was powerup, the initialization routine was called to accomplish the initialization of whole system and the scanning of all the inductive switch, which was according as whether the system Direction control I0.2I1.7 I0.0 I0.1 Input PLC 226 Communication port Output Q0.5 Q0.2 Q0.1 Q0.0 Alarm display Manual control input Status detecting sensor Motor 2 Motor driver Motor 1 Motor driver PC/PPI nts 4 was in gear .if not , the PLC will send initialization fail signal to industry control computer and wait for the worker to treat with. If the initialization was accomplished well, the PLC will send ready signal to the industry control computer. Diagram 2 when the industry control computer received the signal, the system will be started to work. Fig 3 The control flow chart of the PLC In the working process, the PLC was scaning all the inductive switch to supervise the work state of whole system. When the sort organ received the arrive signal of microcomponent, the PLC will control the sort organ to sort the microcomponent according to the sort signal, which received from industry control computer. Due to it has not only one sort; it may result in sort mistake because of breaking step of the motor. So after ejecting the microcomponent, the PLC judged whether the sort signal was accord with the complete signal .if not, the alarm will be started and the system will be hanged, the sort error will be send to industry control computer as well. B. Software fault-tolerant design In the face of complicated industry circumstance, software fault-tolerant was the indispensability part of the system robustness. The errors were sorted into fatal error and common error after comprehensively considering all the possibility. In the software, an error-handling program was especially designed. When an error appeared, PLC program judged the sort of the error, by reading the code of the error and the state information of the system, and treated with it according to the ponderance of the error. The system alarm was designed in sound-light mode and differenced according to the ponderance of the error. In order to avoid the program was out of control, the software trop was setting in the blank memory of the PLC .The transfer instruction was also used to make the program, which was out of control, jumping to the error-handling program, and the system would set right. In the detecting process of the microcomponent, th
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
提示  人人文库网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:LW01-088@滑块厚度综合检测平台控制系统软件部分
链接地址:https://www.renrendoc.com/p-503684.html

官方联系方式

2:不支持迅雷下载,请使用浏览器下载   
3:不支持QQ浏览器下载,请用其他浏览器   
4:下载后的文档和图纸-无水印   
5:文档经过压缩,下载后原文更清晰   
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

网站客服QQ:2881952447     

copyright@ 2020-2025  renrendoc.com 人人文库版权所有   联系电话:400-852-1180

备案号:蜀ICP备2022000484号-2       经营许可证: 川B2-20220663       公网安备川公网安备: 51019002004831号

本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知人人文库网,我们立即给予删除!