MSCIS接口控制系统AI及CCOM卡硬软件设计研制
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
计算机硬件和软件技术的飞速发展,使工业控制系统领域的计算机技术发生了很大的变化。分布式控制系统(DCS),由于其功能分散、负荷分散、故障分散、管理集中和易于扩展的特点得到广泛的应用。随着现场总线技术的成熟,DCS发展为具有更高可靠性、更高效率的现场总线控制系统(FCS),也成为工业控制系统的重要发展方向。
     MSCIS(Marine Simulation & Control Interface System)是为现代船舶轮机仿真训练器开发研制的一套分布式智能输入/输出接口控制系统。它实现了仿真系统接口计算机及控制盘台或其它硬件间的数字量/模拟量的相互转换及传输。MSCIS接口系统继承了DCS的特点和优点,又具有FCS系统的特性。它采用分布式的结构,包括一个接口计算机和数个I/O接口机箱,形成一个现场总线网络。接口计算机作为整个现场总线网络的管理者,配置和管理通信链路中I/O接口机箱运行;I/O接口机箱则通过机箱内的不同功能的多个板卡,连接控制盘台或其它硬件设备,分散控制接口系统的各个输入输出通道。
     MSCIS接口系统输入/输出通道可自由扩展、灵活组态,系统具有功能全面、可靠性高、实时性好、可移植性强、性价比高的优点,也可用于其它系统仿真工程、工业控制工程等领域。MSCIS智能化接口控制系统的研制,是我校独立研制接口系统的一次尝试,不仅锻炼和提高了自主开发船舶仿真训练器输入/输出接口系统的研发能力,而且降低了整个仿真系统的硬件成本,为实现整个仿真系统自主化研制跨出了重要的一步,具有很大的现实意义和经济效益。目前MSCIS接口系统中的各个板卡包括基于CAN总线智能通信卡和控制卡,模拟量输入卡,模拟量输出卡及数字量输入/输出卡都已调试运行正常,基本实现MSCIS接口系统研制开发目标。
     论文是在研制MSCIS接口系统的CAN总线智能通信卡(CCOM)和模拟量输入卡(AI)基础上完成的。整个研究工作从MSCIS接口系统板卡的硬件设计和软件编程两方面展开。系统研制开发过程主要分两大部分:
     第一部分:应用Protel99设计软件设计模拟量输入卡的硬件原理,规划设计印刷电路板图并送厂制作板卡电路板;模拟量输入卡硬件制作和调试;编写模拟量输入卡汇编语言控制程序,在SUPER ICE16仿真器上编译调试;编译后的控制程序在SUPER ICE16仿真器上以在线方式仿真调试;仿真调试成功的控制程序烧入EPROM芯片,进行系统EPROM仿真调试。
     第二部分:设计CAN总线智能通信卡的硬件电路,应用Protel99设计
    
    软件绘制原理图及印刷电路板图,并送厂制作板卡电路板:智能通信卡硬件
    制作和CAN总线芯片调试;编写通信卡控制及CAN总线通信汇编语言程序并
    编译;在SUPER ICE16仿真器上在线仿真调试控制程序;连接系统控制卡,
    仿真调试CAN总线通信程序;程序烧入EPROM芯片,进行系统EPROM仿真调
    试;接口系统驱动程序及测试软件调试。
     论文介绍了智能化MSCIS接口控制系统的组成、工作原理,系统的硬、
    软件技术和设计经验。硬件上,内容涵盖了模拟量输入卡、以N总线智能通
    信卡的硬件电路设计、抗干扰技术和硬件升级方案;软件上,论文介绍了模拟
    量输入卡控制程序设计,CAN总线智能通信卡控制程序设计思路和CAN总线
    通信的实现方法,并介绍了MSCIS接口系统驱动程序和测试软件。
With the rapid development of hardware and software technology, computer technology in the field of industry control system has great improved. Distributed control system (DCS), with the characteristic of centralization of its management and the distribution of its functions, burthen and malfunction, is widely used in the process of modern industry. But with the Field Bus Technology putting into use, DCS has developed into Field Bus Control System (PCS) with higher reliability and high efficiency. FCS has become important developing direction of industry control system.
    MSCIS (Marine Simulation & Control Interface System) is a set of distributed intelligent Input/Output interface control system developed for the modern marine engine simulator. It realizes the data conversion and transport of simulation system interface between computer and control panels or other hardware. It succeeds to the characteristic and strongpoint of DCS, and has new characters of FCS. It adopts distribution pattern, which composes of one interface computer and several I/O interface crates, organizing a Field Bus network. As the manager of whole Field Bus net, The interface computer sets and controls all the I/O interface crates on the communication chain; and I/O interface crates connect with control panel or other hardware devices using different function cards, dispersedly controlling each input and output channels of the interface system.
    MSCIS interface system is provided with complete function, good real time, high dependability, high replantation ability and high ratio of capability to price. I/O channels of system can be expended freely and each channel can do flexible configuration. Besides, it can be used in the field of other system simulation projects and industry control projects. The research on MSCIS intellectualization interface control system is an attempt to study the interface system independently. 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 whole system of the simulator with great realistic meaning and economic meaning. All the function cards MSCIS interface system, including intelligent Communication Card and Control Card based on CAN bus, Analog Signal Input Card, Analog
    
    
    Signal Output Card, Digital Signal Input/Output Card, have already debugged and operated normally. It met the research goal on the development of the MSCIS interface control system.
    This paper is based on development of the intelligent Communication Card and the Analog Signal Input Card of MSCIS interface system. The whole tasks are including hardware design and software programming of the MSCIS interface system. The main two process of the development on system is as follows:
    Part one: Using Prote199 software to design the SCH chart of the Analog Signal Input Card and complete PCB charts, then have them made in factory; To debug on the hardware; To program assemble language control software of the Analog Signal Input Card and debug on the SUPER ICE 16 simulator; To utilize the SUPER ICE 16 simulator to link card to debug the control programs online; To Embed the control program debugged successfully into EPROM and debug the system on EPROM.
    Part two: design the schematic of the intelligent Communication Card; To apply Protel99 software to design SCH and PCB charts, then send them to the factory; To debug on the hardware and test on CAN bus chip; To program assemble language control and CAN bus communication software of the intelligent Communication Card and debug on the SUPER ICE16 simulator; To utilize the SUPER ICE 16 simulator to debug the control programs of the Communication Card online; link to Control Card and debug the CAN bus communication program online; To debug the system on EPROM.
    This paper introduces hardware and software technology and design experience as well as the structure and principium of the MSCIS interface control system. On the aspect of
引文
[1] 白焰等.分散控制系统与现场总线控制系统.中国电力出版社,2001年3月:1~102
    [2] 汪建,MCS-96系列单片机原理及应用技术.华中理工大学出版社,1998年10月,1~268
    [3] 孙涵芳.Intel 16位单片机.北京航空航天大学出版社,1998年3月:1~144,263~308
    [4] 赵曙光,郭万有,杨颂华.可编程逻辑器件原理、开发与应用.西安电子科技大学出版社.2000年8月:1~5,31~35
    [5] 程军.Intel 80C196单片机应用实践与C语言开发.北京航空航天大学出版社,2000年4月:130~286
    [6] 16-Bit Embedded Controllers. INTEL, 1991:1~125
    [7] 徐志军,徐光辉.CPLD/FPGA的开发与应用.电子工业出版社.2002年1月:1~17
    [8] Analog Devices Corp,Data-Acquisition Databook,1991 杨振江.A/D、D/A转换器接口技术与实用线路.西安电子科技大学出版社,1996年11月:1~25,129~136
    [9] 王幸之,王雷,翟成,王闪.单片机应用系统抗干扰技术.北京航空航天大学出版社,2000年9月:347~375
    [10] 程树良.分布式智能I/O接口系统及程序设计.计算机应用,2000年第5期:60~62
    [11] Microcontroller Handbook. Intel, 1992
    [12] 耿德根.通用可编程列逻辑(GAL)芯片原理与应用.江苏启东计算机厂,1990年3月:1~48
    [13] Microsoft Develop Network Library, 2002. 10
    [14] 杨素行等.微型计算机系统原理及应用.清华大学出版社.1996年2月:333~337
    [15] 彭杏芳.可编程逻辑器件与硬件描述语言.武汉大学出版社,1999年:8~18
    [16] 陈杨,龙志强,吕治国.基于ISA总线的CAN通讯卡的设计与实现.国防科技大学学报,2001年第23卷第3期:115~119
    [17] 汪建.INTEL96系列单片机中若干问题的讨论.微处理机,2000年第2期:62~64
    
    
    [18] 蒋璇,臧春华.数字系统设计与PLD应用技术.电子工业出版社,2001年月:115~136
    [19] 李锡雄,陈婉儿,鲍鸿,程良伦.微型计算机控制技术.科学出版社,1999年8月:1~139
    [20] 王险峰,刘宝光.Windows环境下多线程编程原理与应用.清华大学出版社,2002年7月:74~122
    [21] Dvid J. Kruglinski, Scot Wingo, George Shepherd. Programming Visual C++6.0技术内幕(第五版).北京希望电子出版社,1999年3月:509~524
    [22] 远富,卢延诗.Windows环境下如何编写I/O程序.电脑编程与维护,2000年第8期:23~24
    [23] MAX7OOOA Programmable Logic Device Data Sheet. ALTERA, 2002
    [24] 彭礼孝.虚拟设备驱动程序开发起步与进阶.人民邮电出版社,2000年12月,39~55
    [25] 杨强,李堂秋.Win 9x虚拟设备驱动程序编程指南.清华大学出版社,1999年3月:1~19
    [26] Paul Katz. Digital Control Using Microprocessors. Pretince-Hall International, 1984
    [27] 李圣怡,戴一帆,王宪平等.Windows环境下软硬件接口技术.国防科技大学出版社,2001年1月:1~42,145~149,307~391
    [28] 马维华,奚抗生,易仲芳,毛建国.从8086到PetiumⅢ微型机算机及接口技术.科学出版社,2000年2月:236~252,395~398,400~404
    [29] 阳宪惠.现场总线技术及其应用.清华大学出版社,1999年6月:1~15.
    [30] 邬宽明.CAN总线原理和应用系统设计.北京航空航天大学出版社,2000年4月:1~32,187~236
    [31] Writes, Ruediger R. Asche. What's New IN Window 95 for VxD Microsoft Developer Network Technoloy Group, 1998.8
    [32] 林宫.Win98下CAN总线适配卡的数据采集.福州大学学报,2001年第2期:27~30
    [33] 侯俊杰.深入浅出MFC.华中科技大学出版社,2001年1月:553~568
    [34] Kuo B C. Digital Control Systems. Holt, Rinelart and Wiston Inc, 1980
    [35] 冯涛,王程.可编程逻辑器件开发技术—MAX+PLUSII入门与提高.人民邮电出版社,2002年10月:1~28,75~178
    [36] Integrated Circuits Databook. National Semiconductor Inc. 1990~1994
    [37] 黄宏伟.Super系列单片机仿真器手册.启动星光单片机厂.1999年6月:1~76
    
    
    [38] Karen Hazzah. Writing Windows VxDs and Device Driver. Lawrence, KS, R&D Publication, 1995-1997
    [39] 胡骁,周波,任忠惠.Win32环境下的CAN总线通信.计算机应用,2002年第6期:106~108
    [40] 陈露晨.计算机通信接口技术.电子科技大学出版社,1999年9月:28~30,31~34,42~49
    [41] Linear Circuits Data Book. TEXAS INSTRUMENTS, 1986
    [42] 宋万杰,罗丰,吴顺君.CPLD技术及其应用,西安电子科技大学出版社.2000年8月:12~19,132~167,199~243
    [43] 杨建武,郑刚.采用Win32多线程方法编写数据采集程序的难点和对策.微计算机信息,1999年第15卷第5期:21~23
    [44] Complete 12-Bit A/D Converter. ANALOG DEVICES, 1988
    [45] Tasking Software BV, 80C196 Utilities User's Guide Manual, 1996
    [46] 王尔乾,梁鹿亭,刘和益.TTL集成电路设计和应用手册.1984年5月:6-68~6-72
    [47] 梁恩主,梁恩维.Prote199SE电路设计与仿真应用.清华大学出版社,2001年1月:36~86
    [48] 付睿,陈明昭.MSCIS集散控制接口系统智能通信卡的设计与实现.交通与计算机,2001年第6期:46~49
    [49] SJA1000 Stand-alone CAN Controller Data Sheet. Philips Semiconductors, 2000
    [50] PCA82C250 CAN Controller Interface Data Sheet. Philips Semiconductors, 2000
    [51] 孙德和,袁钺.常用电路芯片IC参考大全.海洋出版社,1992年2月
    [52] MAXIM产品资料全集.美国美信集成产品公司,2001年
    [53] Altera产品资料全集.骏龙科技有限公司,2001年

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

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

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