基于CAN总线的OPC服务器端的程序设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
OPC(OLE for Process Control)是用于工业过程控制的对象链接与嵌入技术。OPC为不同的厂商定义了硬件设备、软件和系统的公共接口,使得不同的系统、设备和软件之间能够互相连接、通信、操作,提高了系统的开放性,从而大大减少了系统集成过程中的重复开发,大幅度降低硬件和软件供应商的维护和开发成本,具有广泛的发展前景。
     本文简要介绍了OPC技术的产生、特点、应用和发展前景。设计了符合规范的OPC服务器的结构模式。在iCAN实验开发平台上,实现了OPC服务器对数据的实时读取和存储功能。
     论文的主要工作如下:
     1、通过OPC快速开发工具研究OPC的数据存取,实现OPC标准接口功能,开发了符合OPC规范的OPC数据访问服务器,实现了与第三方客户端软件的无缝连接和OPC服务器的注册。
     2、介绍了网络适配器CANET-E的功能及数据转换格式,实现了OPC服务器从CANET-E和iCAN功能模块组成的现场通讯网络中读取/发送数据的功能。
     3、基于ADO技术的SQL Server数据库的设计,实现实时数据的存储、查询功能。
     4、利用OPC客户端软件对OPC服务器进行测试。
     本课题设计的OPC服务器对CAN网络的实际通信状况进行了很好的监测,该设计具有可行性。
OPC (OLE for Process Control), object linking and embedded technology ,has been widely applied in the field of industrial process control. OPC supplies manufacturers with a public interface for different hardware devices, software and system. In that case, equipments and software can connect, communicate, operate with each other, thus enhance the system expansive property. Since OPC can greatly save repeated design time during the system integration process and significantly cut down the costs for hardware and software maintenance, it has comprehensive developed prospect.
     In this paper, the producing, characters, application and prospect of OPC technology are intrduced first. OPC server based on CAN bus is designed which complies with the OPC specification. The functions, OPC server can access and store the real-time data, are realized on iCAN experiment development platform. This paper has several aspects as follows:
     First, by using OPC rapid development tool we do researches on OPC data access method , OPC standard interface functions are realized, and the OPC Data Access Server in line with the OPC standard is developed,。In our design the seamless connectivity with the third-party client software is realized, including the OPC server and OPC client communication mechanism and OPC server's registration.
     Second, the functions and the data conversion format of CANET-E network adapter is introduced. We realized the information accessing function between the OPC server with the scene communication network comprising CANET-E and iCAN function modules.
     Third, SQL Server database based on ADO technology is designed which used for real-time data storage and query.
     Fourth, OPC server is tested using OPC client software.
     The OPC Server is a good monitor to the actual communication situation of CAN network. The design is feasible.
引文
[1]日本OPC协会.OPC应用程序入门.郑立(译).OPC(中国)促进委员会,2002
    [2]OPC基金会.OPC Data Access Custom Interface Standard Version 2.05.OPC 基金会,2001
    [3]饶运涛,邹继军,郑勇芸.现场总线CAN原理与应用技术.北京:北京航空航天大学出版社,2003
    [4]郭文哲.OPC技术规范.OPC中国促进委员会,2004
    [5]王永安,殷海双,王征.基于OPC技术的三层实时信息系统框架.微计算机信息.2006,22(2-1):130-132
    [6]苏妹,王忠民.OPC数据访问服务器的研究与实现.微计算机信息.2006,22(3-1):11-13,76
    [7]张俊,薛廷民,孙妙平.OPC技术及其在垃圾焚烧监控系统中的应用.PLC、工控机与集散控制系统.2006:59-61
    [8]周泉.CAN的基本知识.汽车电器.2004(4):56-57
    [9]阳宪惠.现场总线技术及其应用.北京:清华大学出版社,1999
    [10]赵红洲,潘西明.基于OPC协议的数据集成实现与应用.微计算机信息.2006,22(9-1):29-31
    [11]张功瑾.浅谈CAN总线的应用.自动与仪器仪表.2004(1):1-3
    [12]孙志海,李玉榕.OPC数据服务器的设计及测试.福建电脑.2004(10):31-32
    [13]李蕾,戴瑜兴.OPC数据存取服务器的实现.湖南工程学院学报.2005,15(2):19-22
    [14]陈丹丹,钱美,夏立,邵英.OPC服务器开发的几种方法.微计算机信息.2006,22(6-1):28-29
    [15]凌志浩,陈伟彬,马欣,俞金寿.基于OPC数据访问规范的服务器研究与实现.华东理工大学学报.2004,30(3):318-321
    [16]傅春霞,段建民.OPC服务器的研究及在CAN总线系统中的实现.微计算机信息.2003,19(11):17-18
    [17]林跃.OPC数据服务器开发工具研究与实现.自动仪表.2001,22(9):7-8
    [18]李京,宋真君,凌志浩,吴勤勤.现场总线控制网络中OPC服务器的设计与应用.华东理工大学学报.2001,27(5):533-535
    [19]马云鹏,陆宝春,夏敬华,张世琪.OPC通用接口与OPC服务器的注册.工业控制计算机.2000,13(6):25-28
    [20]马增良,兰斌.OPC数据访问服务器实现机制研究.计算机工程与应用.2003(21):65-67,71
    [21]梁里金.OPC技术在自动监控系统的应用.计算机应用.2005,24(2):69-71
    [22]Li Zheng,Nakagawa,H.OPC(OLE for process control)specidication and its developments.Proceedings of the 41st SICE Annual Conference.2002,Volume 2,5-7 Aug:917-920
    [23]Veryha,Y.Going beyond performance limitations of OPC DA implementation.Emerging Technologies and Factory Automation.2005,Volume 1,19-25 Sept:4
    [24]Pattle,R,Ramisch,J OPC the defacto standard for real time communication.Parallel and Distributed Real-Time Systems.1997,1-3April:289-294
    [25]Anwar,M.R.Anwar,O.Shamim,S.F.Zahid,A.A.Human Machine Interface Using OPC(OLE for Process Control).Engineering,Sciences and Technology,Student Conference.2004,30-31 Dec:35-40
    [26]Chilingaryan,S.Eppler,W.High speed data exchange protocol for modern distributed data acquisition systems based on OPC XML-DA.Real Time Conference.2005,4-10 June:5 pp
    [27]范晓平.跟着实例学Visual C++6.0访问数据库.北京:北京航空航天大学出版社.2003
    [28]OPC技术介绍(二).自动博览
    [29]朱耀春,陆会明,张永庆.OPC数据服务器的开发与测试(Ⅰ).现代电力.2003,20(9):63-66
    [30]周立功等.现场总线iCAN的原理应用与实践.广州:广州致远电子有限公司.2006

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

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

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