当前位置:主页 > 科技论文 > 计算机论文 >

基于Compact PCI总线的多路信号采集卡

发布时间:2018-01-31 05:05

  本文关键词: Compact PCI总线 信号采集卡 PCI9030 VxWorks 驱动程序 热插拔 出处:《哈尔滨工程大学》2013年硕士论文 论文类型:学位论文


【摘要】:随着工业控制技术的发展,传统IPC控制模式越来越凸显出弊端,不能满足工业控制系统高速度,高强度和高可靠性的要求。Compact PCI总线的提出,彻底的解决了这一迫切的要求,Compact PCI总线技术兼容PCI总线技术,在物理接口方面采用2mm的高密度气孔插针,物理板卡采用成熟的欧洲机械3U和6U标准,总线系统中加入热插拔技术,用户开发时,硬件仅需在原有的PCI设备卡的基础上添加Compact PCI附加电路信号,软件无需修改即可运行,特别是热插拔技术,,具有很大的应用空间。 本论文以Compact PCI总线为基础按项目具体要求,设计实现了多路信号采集卡,主要实现了4路CAN总线数据收发,8路模拟量转换,8路开关量输入和8路开关量输出的数据存储和交换功能。采用集成芯片LPC2294微控器实现采集模块的硬件电路,使用PCI9030桥接芯片以及电源管理芯片LTC1643L设计实现Compact PCI总线接口电路,采集系统与主机通过双口RAM进行数据的交互,外加扩展存储器,CAN总线收发器,光电耦合器,线性电源等器件实现系统的硬件设计,主机操作系统选用硬实时操作系统VxWorks,主要基于本系统的应用环境,要求较高的实时性和可靠性。软件设计上采用分层的框架形式,尽量减小模块间的耦合,主要有ARM采集程序,VxWorks下Compact PCI总线的驱动程序,系统运行过程中,充分考虑了二者的同步,采用类似于信号量的方式,设计同步数据格式,划分内存布局,编写同步程序,完成系统软件的设计。 在设计硬件原理图和PCB布线后,经过多次调试,分析不断地修改原理图和数据参数,最终在硬件上实现系统的功能,驱动程序的开发涉及操作系统知识以及硬件原理,也是本系统最难的,VxWorks操作系统开发资料稀少,而且闭源,最后先在Windows下实现驱动,熟悉驱动程序结构,经过多次调试和修改后,最终在VxWorks下编写出Compact PCI总线的驱动程序,完成系统的功能。
[Abstract]:With the development of industrial control technology, the traditional IPC control mode more and more highlights the drawbacks, which can not meet the high speed of industrial control system. The requirement of high strength and high reliability. Compact PCI bus is proposed, which solves the urgent requirement that compact PCI bus technology is compatible with PCI bus technology. In the aspect of physical interface, the high density air hole pin of 2 mm is adopted. The physical board card adopts the mature European mechanical 3U and 6U standards. The hot swapping technology is added to the bus system, and the user develops it. The hardware only need to add the Compact PCI additional circuit signal to the original PCI device card, and the software can run without modification, especially the hot-plug technology, so it has great application space. On the basis of Compact PCI bus, this paper designs and implements a multi-channel signal acquisition card, which mainly realizes 8-channel analog data conversion of four CAN bus data transceivers and transceivers. The data storage and exchange function of 8-way switch quantity input and 8-way switch quantity output. The hardware circuit of acquisition module is realized by integrated chip LPC2294 microcontroller. The interface circuit of Compact PCI bus is designed by using PCI9030 bridge chip and power management chip LTC1643L. The acquisition system interacts with the host through dual-port RAM, and the extended memory can bus transceiver, photocoupler, linear power supply and other devices to achieve the hardware design of the system. The host operating system adopts the hard real-time operating system VxWorkswhich is mainly based on the application environment of the system and requires high real-time and reliability. The software design adopts a layered framework form. As far as possible to reduce the coupling between modules, the main ARM acquisition program VxWorks Compact PCI bus driver, the system running process, the full consideration of the synchronization between the two. The synchronous data format is designed, the memory layout is divided, the synchronous program is written, and the system software is designed in a similar way to semaphore. After designing the hardware schematic diagram and PCB wiring, after many debugging, we analyze and modify the schematic diagram and data parameters constantly, finally realize the function of the system on the hardware. Driver development involves operating system knowledge and hardware principle, and is the most difficult VxWorks operating system development data, and closed source. Finally, the driver is realized under Windows, familiar with the structure of the driver, after many debugging and modification, finally the driver of Compact PCI bus is written in VxWorks. Complete the function of the system.
【学位授予单位】:哈尔滨工程大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP274.2;TP336

【参考文献】

相关期刊论文 前10条

1 李蒙,舒云星;JTAG口及其对Flash的在线编程[J];单片机与嵌入式系统应用;2003年06期

2 刘勇,佟为明,林景波;基于WinDriver的PCI CAN板卡Windows驱动程序开发[J];低压电器;2005年09期

3 张豫榕,董磊;VxWorks的PCI配置方法和应用实例[J];电子与电脑;2005年Z1期

4 张蔚,徐华,丁学文,金大海;CAN总线在机车监控系统中的应用[J];电子工程师;2003年04期

5 黄迅,孙政顺;利用WinDriver开发PCI设备驱动程序[J];电子技术应用;2001年03期

6 刘鑫 ,周金莲;CompactPCI总线工控机技术的现状与应用[J];电子技术应用;2002年07期

7 于世江,崔红娟,杨帆;CompactPCI-高性能电信计算机平台[J];电子质量;2002年11期

8 陈进,申峰;CompactPCI技术特点与发展[J];广东通信技术;2003年10期

9 张原;邹程帅;张帅;宋鹏;;基于VxWorks的PCI总线多功能数据采集卡驱动开发[J];电子设计工程;2012年12期

10 何礼;金雷;;基于CPCI平台的热插拔技术及实现[J];工业控制计算机;2007年08期



本文编号:1478277

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1478277.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户a3fcd***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com