论文标题:MSCIS中PCI通信卡的设计与实现 The PCI Communication Card"s Design and Complete on MSCIS 论文作者 毛秀丽 论文导师 陈明昭,论文学位 硕士,论文专业 交通信息工程及控制 论文单位 武汉理工大学,点击次数 89,论文页数 78页File Size2486k 2003-03-01论文网 http://www.lw23.com/lunwen_42893392/ MSCIS接口系统,突发传送,设备驱动程序DLL,仿真通信卡,CPLD MSCIS Interface system,burst,Device driver program DLL,Simulation,communication card,CPLD MSCIS (Marine Simulation&Control Interface System)是为现代船舶轮机仿真训练器开发研制的一套分布式智能输入/输出接口控制系统。它实现了仿真系统接口计算机及控制盘台或其它硬件间的数字量/模拟量的相互转换及传输。采用分布式的结构,由一个上位主机和数个下位I/O接口机箱组成。上位主机集中监控通信链路中各个下位I/O接口机箱,下位I/O接口机箱直接连接控制盘台或其它硬件设备,分散控制接口系统的各个输入输出通道。下位I/O接口机箱中的功能板卡支持四种不同类型的输入输出通道,各个功能板卡独立工作,互不干涉,其中一个输入或输出通道出现故障不会影响其它的输入或输出通道正常工作。 MSCIS接口系统具有功能全面、组态灵活、I/O接口点多、实时性好、可靠性高、可移植性强且性价比高的优点,同时也可用于其它系统仿真工程、工业控制工程等领域。MSCIS智能化接口控制系统的研制,是我校实现独立开发分布式接口系统的一个主要成功的突破,不仅锻炼和提高了自主开发船舶仿真训练器I/O接口系统的研发能力,而且降低了整个仿真系统的硬件成本,为实现整个仿真系统自主化研制跨出了重要的一步,具有很大的现实意义和经济效益。 在MSCIS接口系统中,原有的通信卡和上位主机是采用ISA总线接口连接方式传输数据信息,但由于ISA总线传输速率低.易造成瓶颈效应。而PCI总线独立于处理器,传输速度快等诸多的优点,已是PC机主板配置的主流。研究的主要任务是把ISA接口的通信卡改成PCI接口的通信卡;同时板卡上采用CPLD技术,取代一些元器件,精简了电路。 论文是在研制MSCIS接口系统的PCI通信卡和开发通信卡设备驱动程序的基础上完成的。整个研究工作从MSCIS接口系统的硬件设计和软件编程两方面展开。系统开发过程主要分以下几个步骤: 1.首先应用Protel99软件设计通信卡硬件原理图和PCB图,送提供PCB图给生产厂制造; 2.制作下载电缆,根据ALTERA公司提供的原理图; 3.用CPLD技术实现卡上的部分功能,在MAX+PLUS下编译,仿真正确后 武汉理工大学硕士学位论文一下载到芯片中; 4.根据PCI9052用户手册来配置串行EEPROM.并用饶录器写人EEPROM中; 5.通过PLXMON读写端口来检查EEPROM的配置情况和测试硬件是否正确; 6.编写PCI通信卡的设备驱动程序DLL; 7.通过 MSC测试台来检查整个卡的功能是否正确。 论文从 PC通信卡的系统的组成、原理上介绍了卡的硬、软件技术和设计经验。硬件上,内容涵盖了高速PCI通信卡的硬件电路设计、CPLD技术;软件上,文章介绍了PC通信卡设备驱动程序DLL的设计思路和方法。 MSCIS(Marine Simulation & Control Interface System) is a set of distributed intelligent Input/Output interface control system developed for the modem marine engine simulator. It realizes the data conversion and transport of simulation system interface between computer and control panel or other hardware. It succeeds to the characteristic and strongpoint of DCS, and adopts distribution pattern, which composes of one upside host computer and some downside I/O interface crates. The upside host computer fasten on controlling each downside I/O interface crate on the communication chain, and downside I/O interface crates directly connect with control panel or other hardware devices and dispersedly control each input and output channels of the interface system. The downside I/O function cards in the interface crate support four types of I/O channel, and each function card works independently. If one I/O channel emerges malfunction, it will not impact normal work of other I/O channel.MS CIS interface system is provided with complete function, flexible configuration, many I/O interface dots, good real time, high dependability, high plantation ability and high ratio of capability to price. Besides, it can be used in the field of other system simulation projects and industry control project. The research on MSCIS intellectualization interface control system is an attempt to study independently distributed interface system. That not only improves the ability to develop modern marine engine simulator I/O interface system but also decreases the hardware cost of simulator system, what"s more, it contributes to realize independent research on all the simulator system, and has great realistic meaning and economic meaning.In MSCIS interface system, the communication card change data with computer by ISA interface, but ISA interface"s speed is very low, and often cause bottleneck question. PCI bus independence from CPU, high speed and so on, and today PC mostly use PCI interface .the main task of research changes ISA interface of communication card into PCI interface. AT the same time, deviserutilize GPLD technology to replace some parts, simply circuit.This paper is based on developing the PCI communication card of MSCIS interface system and Device Driver of the communication card. The entire tasks are divided into hardware designing and software programming of the MSCIS interface system. The main process of the development on system is as follows:1. Firstly, apply Prote199 software to design the SCH chart of the high-speed intelligent communication card, secondly, design PCB charts and send them to the factory.2. Make download cable by principle of ALTERA Corporation;3. Complete part function by CPLD technology, and download into chips on MAX+PLUS system.4. Configure EEPROM by PCI9052 data book, and write EERPOM;5. Check EEPROM and test hard by PLXMON software;6. Write driver of PCI card;7. Check function of card by MSCIS" test table.This paper introduces hardware and software technology and design experience from the structure and principium of the PCI communication card. On the aspect of hardware, it refers to the hardware circuit design of the PCI communication card, CPLD technology, on the aspect of software technology, it relates to the design idea and method of the communication Device driver program DLL.
|