基于现场总线技术的先导阀综合试台的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
电磁先导阀是将电信号转化为气动控制信号的重要部件,它在工业控制领域应用最多,同时在军工方面也具有广阔的发展空间。因此质量是电磁先导阀的首要问题,在先导阀出厂时都要进行直流电阻、耐压、绝缘、浪涌四项测试。传统上一般采取手工测试,测试效率低,测试结果不准确,无法满足工业自动化生产的要求。对于自动测试平台主要依赖进口,由于价格昂贵,因此积极研制具有我国自主知识产权的测试平台具有很强的经济和战略意义。鉴于此,本课题对先导阀综合试台进行研究开发。
     上世纪九十年代日本某公司组装的一个测试平台采用的是双PLC分开控制,并采用串行通讯方法,测试效率低、测试结果不准确、维修不方便,因此在生产测试中基本上没有发挥作用。针对这种情况,本课题研究的测试平台采用单台PLC控制并行测试的方法,测试效率提高了四倍,测试结果相对稳定,满足了生产上的需要。
     本文首先总体介绍了先导阀测试平台的机械、电气结构及工作原理。本试台现场操作部分由操作面板、外壳、测试仪器以及夹具部分组成。控制部分由PLC、DeviceNet主站模块、网关部分、I/O接口部分组成。控制部分核心是遵循DeviceNet协议的网关部分,网关是连接DeviceNet网络与现场操作部分的桥梁。
     其次对现场总线协议部分、硬件部分、PLC主站模块做了介绍,其中协议部分包括DeviceNet的通信功能、对象模型、DeviceNet连接和报文协议的介绍,重点论述了仅限组二预定义主从连接报文的建立和收发机制以及重复MACID检查报文的详细内容。硬件部分主要介绍CAN总线控制器SJA1000及其外围器件,主要包括SJA1000的工作原理、内部寄存器的配置、滤波方式和初始化流程。对PLC主站模块的介绍主要包括其功能设置和如何将传统的PLC程序转变成能驱动网关模块的程序:原理很简单,只需将传统的I/O区内的数据转化到网关单元对应的数据区即可。在了解了协议内容和硬件配置之后便开始进行网关模块通讯程序的编写,利用汇编语言为软件载体编写ATmega8515单片机程序,以实现通讯功能的需要。
     最后在介绍了进行耐压、浪涌等试验的原因和试验参数要求之后,详细说明了测试平台部分的研制,包括使用PLC的原因、硬件电路的构建、PLC逻辑控制图和并行测试的原理及其优点。并对试验结果进行了对比分析,证明本测试平台完全符合自动测试的要求,并使测试效率提高了四倍,并且通过现场总线使试台具有测试结果记录、打印和远程监视控制的功能。
The first pilot valve of electromagnetism is an important part to transforms the electrical signal as the pneumatic control signal. It is widely applied to industrial fields and has wide developing space in war industry. Therefore the quality is the most important question to the first pilot valve of electromagnetism, The first pilot valve of electromagnetism all must carry on four tests when leaves the plant: the DC resistance, Hi-pot, Insulation and Surge. In tradition, generally adopts the manual test, the test efficiency is low and the test result is not unable to satisfy the industrial automation production requests. At present, the text platform of the valve used in China has to be imported and is very expensive. Therefore, it is very urgent to develop the text platform of the valve with the patent of our country. And the significance in economy and stratagem is great. In view of this, the text platform of the valve is carried on the research development. And it adopts the parallel test method, enhances the test efficiency.
    In the 1990s, some company in Japan assembles a platform using two separate PLC. And it uses the serial communication principle, so the test efficiency is low, the text results is inaccurate and the service not convenient, therefore it basically does not have the effect in the production. In view of this kind of situation.In this paper, we use single PLC according the parallel test principle to control the platform. The test efficiency enhances four times, the test result relatively stable, and matches the requirement of the production.
    Firstly, the mechanical structure, electro-circuit structure and working principle of the text platform of the valve are introduced in the paper. The scene operation part of the text platform contains the operation board, the outer covering, the measuring instrument as well as the jig part. The control section is composed by PLC, the DeviceNet master station module, the gateway part and the I/O connection part. The gateway is the core of the control section which follows the DeviceNet agreement, and it is the bridge connects the DeviceNet network and the scene operation part.
    Secondly, there is an introduction for the field bus agreement part, the hardware part and the PLC master station module. Agreement part includes the DeviceNet correspondence function, the object model, the DeviceNet connection and the text of telegram agreement; here we mainly discuss the telegram of the MAC ID inspection. The hardware partial mainly introduces CAN bus control unit SJA1000 and its periphery component, mainly includes the principle of the work of SJA1000, internal register disposition, the filter way and the initialization flow. The introduction of PLC mainly includes how to transform the traditional PLC procedure to which can actuate the gateway module the procedure: The principle is very simple, only must transform the traditional I/O area data to the gateway unit correspondence data area. After had understood agreement content and hardware disposition then starts to carry on the gateway module communication program, compiles the ATmega8515 monolithic integrated circuit procedure using the assembly language for the software carrier, realizes the communication function need.
    Finally after introduced the reason to carry on Hi-pot, surge text and the experimental parameter request, the research of the platform is particular expounded, including the reason of using PLC, the construction of the hardware electric circuit, the PLC logic control chart and the parallel test principle and its the merit. And has carried on the contrast analysis to the test result, proves the platform is completely conform to the test automation requirement, and made the test efficiency to enhance four times, and through the field bus, the platform can record the test results, print and has long-distance supervisory control function.
引文
[1] 佟为明,林景波.现场总线概述[J]低压电器,2002,(4):34~39.
    [2] 设备网(DEVICENET)产品概貌publication DN2.5 ZH-April 1998 4~10.
    [3] Open DeviceNet Yendor Association. DeviceNet Specification, Release 2.0, including Errata4, Aprill, 2001.
    [4] Steve Biegacki, Dave Gompel. The application of DeviceNet in process control[J].ISA Transactions, 1996, (35):169~17.
    [5] Rockwell Automation. ControlNet PLC-5 Programmable Controllers Cat. No. 1785-L20C, -L40C User Manual, September 1995.
    [6] Rockwell Automation. DeviceNet System Overview, Apr. 1999.7.
    [7] Allen -Bradley. DeviceNet Manager Software Version 3.001 (Cat. No. 1787-MGR) User Manual, May 1997.
    [8] 阳宪惠.现场总线技术及其应用[M].清华大学出版社,1999,6.
    [9] 周明.现场总线控制[M].中国电力出版社,2001.
    [10] 贾青.DeviceNet 技术及其产品开发[J].单片机与嵌入式系统应用,2001(1):6~20.
    [11] 郁宽明.CAN 总线原理和应用系统设计[M].北京航空航天大学出版社,1996.
    [12] 佟为明,陈向阳,李风阁,等.DeviceNet 现场总线技术[J].微处理机,2002(1):4~15.
    [13] 吴乃优,敖银辉,高向东,DeviceNet 网络的通信原理[J].电气传动,2000(6):9~12.
    [14] 刘建昌,钱晓龙,冯立,等.CAN 总线及 DeviceNet 现场总线[J].基础自动 化,2001,8(3):3~6.
    [15] 陈光东,赵性初.单片微型计算机原理与接口技术[M].华中理工大学出版社,2000.
    [16] 何立民.单片机应用技术选编(7)[M].北京航空航天大学出版社,1999.
    [17] 张培仁,王洪波.独立 CAN 总线控制器 SIAl000 国外电子元器件 [J].2001(1):4~6.
    [18 ]吕平宝,谢剑英.基于SJA1000 的 DeviceNet 通信节点控制器的设计.仪器仪表学报,2002年6月,23(3):412~420.
    [19] 夏德海.现场总线的困惑,无奈与出路[J].仪器仪表标准化与计量,2001(5):40~51.
    [20] 夏德海.现场总线的现状及其应用[J].中国仪器仪表,1998(1)(2)(3):116~151.
    [21] IS0-IS1 1898 Road vehicles-Interchange of digital information Controller AreaNetwork(CAN) for high speed communication[S/OL]. ISO,1993.
    [22] Richard McLaughlin&Kiah Hion Tang. DeviceNet Conformance Test And Experiences[J].Warwick Manufacturing Group University of Warwick, 1999:58~63.
    [23] Dayid J.Kruglinski.潘爱民王国印译.Visual C++技术内幕第四版[M].北京:清华大学出版社,1999.
    [24] (美)马林斯(Craig S.Mullins)著:李天柱等译.数据库管理一实践与过程 [M].北京:电子工业出版社,2003.8
    [25] 蔺京敏,张振东,张锁平,梁捷.基于P87C591 的CAN 总线通讯系统的研究[J].中国仪器仪表,2004,(01):4~6.
    [26] 黄恒,李叶松.基于DeviceNet技术的仅限组2从设备设计[J].电工技术杂志,2004,(06):50~53.
    [27] 王雪,甘永梅.DeviceNet 现场总线从站通讯接口的设计[J].工矿自动化 2004,(02):7~10.
    [28] 湛黎明,CAN 总线技术特点及在DeviceNet 现场总线中的应用[J].低压电器,2000,(5):39~41.
    [29] 区锐相,李克大,魏胜.现场总线技术及其应用[J].精密制造与自动化,2002,(3):20~23.
    [30] 国家标准化管理委员会批准 DeviceNet 为国家标准[J].工业控制计机,2003 VOL.16(1):43.
    [31] Masaru Imoto. Global Standardization Activities of DeviceNET. SICE 2002 Proceedings of the 41".SICE Annual Conference, 2002,2(8): 913961.
    [32] Institute of Electrical and Electronics Engineers, IEE1802.3, Part 3:2000 Standard, Carrier Sense Multiple Access with Collision Detection(CSMA/CD)and Physical Layer Specification, 2000.
    [33] 王桂荣,钱剑敏,CAN总线和基于CAN总线的高层协议[J].计算机测量与控制,2003.11(5):391~394.
    [34] 刘建吕,钱晓龙,冯立,等.CAN总线及 DeviceNet 现场总线[J],基础自化,2001年,第8卷,第3期:1~3.
    [35] 聂定珍,赵森.雷电干扰的形成与防护[J].安全与电磁兼容,1999,第3期:19~23.
    [36] 张松春,赵秀芬.电子控制设备抗干扰技术及其应用[M].北京:机械工业出版社,1989:168~170.
    [37] 陈克明.气体放电管在防雷中的应用[J].电子产品世界,1998,第11期:60~61.
    [38] 张纬泼,高玉明.电力系统过电压与绝缘配合[M].北京:清华大学出版社,1988.
    [39] 郁汉琪.电气控制与可编程序控制器应用技术[M].南京二东南大学出版社,2003.
    [40] 李树雄.可编程序控制器原理及应用教程[M].北京:北京航空航天大学出版社,2003.
    [41] 陈宇.可编程控制器基础及编程技巧[M].广州:华南理工大学出版社.1999,2.
    [42] ReasonJ. Communications Alternatives for Distribution Automation. FlectricWorld, 1993:36~38.
    [43] Lund B. New PLC and Smart I/O Install fast reduce Breakdowns by98%, I&CS. 1993. NO. 3:45~48.
    [44] 钟肇新,王擷.可编程控制器入门教程[M].华南理工大学出版社,1999.
    [45] 屈莉莉,李先祥,何乃淇,等.单片机课程实践性教学环节的建设与改革[J].中山大学学报论丛,2004年,第3期:21~23.
    [46] 秦晓梅,陈育斌,杨建华.单片机综合设计实验课程的建设与开发[J].中国科技论文统计源期刊,2004年,第2期:85~87.
    [47] 耿德根,宋建国,马潮,等.AVR高速嵌入式单片机原理与应用[M].第二版.北京:北京航空航天大学出版社,2002年.8.
    [48] 丁化成,耿德根,李君凯.AVR单片机应用设计[M].北京航空航天大学出版社,2002年.
    [49] 朱元清.TLC2543 11通道12位串行A/D转换器的原理与应用[J].电子技 术应用,1998年,第10期:66~68.
    [50] 张俊涛,王长安.12bA/D转换器MAX197及其应用[J].现代电子技术,2004年,第19期总第186期:76~77.
    [51] 李巍,李维祥.RS-485通信网络在工业检测系统中的应用[J].见:天津市计算机学会单片机分会,2003年全国单片机及嵌入式系统学术年会论文集.北京:北京航空航天大学出版社.2003年,620~623.
    [52] 张克彦.AVR单片机实用程序设计[M].北京:北京航空航天大学出版社,2004年.188~232.
    [53] 潘建斌,陈志伟,侯金超.《单片微型计算机原理与应用》教学改革探索.安阳师范学院学报,2004年,第1期:29~30.
    [54] Hiroshi Shimizu, Junji Harada, Colby Bland. Advanced Concepts in Electric Vehicle Design. IEEE Trans. Ind. Electron, 1997,44(2): 14~18.
    [55] Van Amburg B. Emerging markets and players in the electric two-wheel industry in California and Asia. EVS14,1997.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700