欢迎来到天天文库
浏览记录
ID:28201930
大小:8.04 MB
页数:102页
时间:2018-12-08
《cican总线桥接技术的研究与实现》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、摘要PC卜CAN总线桥接技术的研究与实现摘要CAN总线是公认的最有前途的现场总线之一,以工业计算机为核心、CAN总线为基础的分布式测控系统正在得到越来越广泛的应用·PCI总线是当今计算机的主流总线结构,是计算机中处理器与外围部件之间的互连接口。PCI.CAN总线桥是实现CAN总线与计算机高速通信的重要途径·本文在研究PCI总线和CAN总线协议的基础上,结合设计的目标与要求,给出了PCI.CAN总线接口卡的软、硬件设计以及嵌入式操作系统WindowsCE.NET下的驱动程序和应用程序开发的具体思路和实现方法。主要工作如下:
2、(1)介绍PCI总线及CAN总线的特点,并对PCI总线和CAN总线协议中的关键技术进行了阐述。(2)PCI.CAN接口卡的软、硬件设计。在硬件设计方面,主要包括PCI总线接口电路、CAN总线电路和通信控制电路设计。PCI总线接口电路是这部分的关键,论文详细介绍了PCI总线和局部总线的连接以及‘-PCI配置空间的实现。在软件设计方面,详细描述了接口卡的初始化,数据收发等主要功能模块的程序流程。(3)基于WindowsCE.NET主机应用系统的建立。根据硬件资源和应用需求,进行WindowsCE.NET系统功能剪裁、定制,构
3、建系统软件开发平台;分析研究WindowsCE驱动的体系结构、中断处理机制,设计了北京化工大学硕士学位论文基于流接口模型的CAN接口卡驱动程序;结合接口卡在数控系统中的具体应用,制定了CAN应用层协议。实验测试表明,本接口卡硬件实时性强,与主机通信稳定、可靠,达到了预期的设计要求。论文及所研制内容对CAN现场总线控制系统的应用有重要参考价值。关键词:现场总线,CAN总线,PCI总线,WindowsCE.NET0jrⅡCANbushasbeenacknowledgedasoneofthemostpromisingfield
4、bus.WithindustrialPCasthecore,thedistributedmeasurementandcontrolsystembasedOnCANbusgetswidelyapplied.Nowadays,PCIisthemainstreambusstructureofthecomputeranditisusedasaninterconnectinterfacebetweenperipheralcomponentsandprocessor.So,PCI-CANbridgeisallimportantacc
5、esstorealizethehigh-speedcommunicationbetweenPCandCK喂。ThispaperstudiedPCIandCANbusprotocols,anddescribedthedesignideaandrealizationmethodofhardware&s01.areofthePCI-CANbusinterfacecardandthedriver&applicationprogramsfortheembeddedsystem-WindowsCE.NETbasedonthegoal
6、sandrequirementsofsystem·Themainworkandachievementaresummedupasfollows:(1)ThecharacteristicsofPCIandCANbusareintroducedandmajortechnologiesoftheirprotocolsareexpounded.(2)ThehardwareandsoftwaredesignofthePCI—CANbusinterfacecardintroduced.Hardwaredesignmainlycompr
7、isesofPCIinterfacecircuit,CANinterfacecircuitandcommunicationcontrollingcircuit.Amongthem,III北京化工大学硕士学位论文PCIinterfacecircuitisthekeypart.Inthispart,theconnectionbetweenPCIandlocalbusandtheimplementofPCIconfigurationspaceareclearlyexplained.Inthedesignofsoftware,p
8、roceduralflowsofmainfunctionalmodulessuchasinitialization,datareceiptandtransmissionareparticularlydescribed.(3)ThehostapplicationsystembasedonWindowsCE.NETis、
此文档下载收益归作者所有