欢迎来到天天文库
浏览记录
ID:32712084
大小:1.85 MB
页数:66页
时间:2019-02-14
《嵌入式网络终端及opc技术实现研究》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、嵌入式网络终端及OPC技术实现研究摘要随着计算机通讯技术的发展,以太网的作用越来越重要,并且呈加速发展的趋势,很多用微控制器控制的嵌入式系统也越来越多地应用于工业控制系统。而传统的工控系统将一个系统划分为各个子系统,虽然降低了系统的复杂程度,改善了系统性能,但是由于系统各个计算机的通信协议没有形成统一的标准,为了使客户访问的标准化,使用户完全从低层的开发中脱离出来,建立一套在硬件供应商和软件开发商之间相互遵循的规则势在必行。OPC技术规范是OPC基金会制定的一种新的工业控制标准,它提供统一的数据访问软硬件接口,使得用户不再为不同的硬件而重复开发软件,大大提高了开发效率,避免
2、了大量人力和物力资源的浪费。系统采用了微控制器+网络芯片模式,选用16位MSP430单片机为主控制器,CS8900A为网络芯片.根据本系统的实际需要以及协议可以裁剪等特点,对TcP/IP协议栈进行了适当简化和实现.TCP/IP协议的网络层实现的是UDP协议,保证了数据传输的实时性。应用层实现的是Modbus协议,适用于工业控制领域。另外,在上位机开发了OPC服务器,用来接收单片机发送上来的数据,并与OPC客户端进行通讯,用于对作为服务器的嵌入式网络终端的查询。关键词:嵌入式,以太网,TCP/IP,uDP,Modbus,OPCEmbeddedNetworkTerminalAn
3、dResearchofOPCtechnologyABSTRACTWiththedevelopmentofthecomputercommunicationtechnology,Ethemetismoreandmoreimportant,andpresentsfasttrend.MoreandmoreembeddedsystemscontrolledbyMCUapplyindustryconffolsystem.netraditionaldivideonesysteminsomesub-system,reducethesystem'scomplexextent,buteachc
4、omputer'scommunicationprotocoldonothavetheunitedstandard,soestablishingasuitofrulewhichhardwaresupplierandsoft-waredevdopermustisimperativeunderthesituationforstandardizingtheaccessandlettingusersdivorcefromthebottomdeveloping.OPCtechnologyspecificationisanewindustrycontrolstandardestablis
5、hedbyOPCfoundati∞.whichprovidesanunitivedata-accessingsoftwareandhardwareinterfacestandard,causingusernomoreexploitsoRwarefordifferenthardwarerepeatedly,boostingtheefficiency,andavoidingthewasteofhumanandmaterialn嚣ou“:铭.ThesystemismadeofMCUandNetwork-chip.choosingMSP430andCS8900A.According
6、totherealneedandcharacteristicthattheprotocolcanbecutout,IsimplifyandrealizetheTCP/IPprotocolstack.11lenetworklayerprotocolisUDP,assuringthereal-timecapabililyofdatatransmission.n忙applicationlayerprotocolisModbus.applyingtheindustrycontrolrealm.Additional,IdesignanOPCscrvfffinuppermonitor,
7、whichisusedforreceivingthedataandcommunicatingwithOPCclientfo‘inquiringtheembeddednetworkterminal.KeyWords:Embedded,Ethernct,TCP/IP,UDP,Modbus,OPC图1.1图2.1图2.2图2.3图2.4图3.1图3.2图3.3图3-4图3.5图3-6图3.7图3.8图3-9图3.10图3.11图3.12图3.13图3.14图3.15图3.16图3.17图4一l图4.2图4-3图4.4图4
此文档下载收益归作者所有