节点文献
基于PC/104的电子设备振动信号在线记录仪的研制
Development of an On-Line Vibration Recorder of Electronic Equipment Bsaed on PC/104
【作者】 葛冉;
【导师】 毛玉良;
【作者基本信息】 东南大学 , 机械电子工程, 2006, 硕士
【摘要】 通用振动测试仪一般不具备较长时间的在线记录功能。研制功能强、成本低的振动信号在线记录仪,用于各种车载、船载、机载电子设备的在线振动监测,对电子设备因振动、冲击而导致失灵或失效的原因做出合理的判断。这对于事故追忆与分析,评价电子设备隔振系统的性能和改善其机械结构,均具有重要意义。针对通用振动测试仪的局限性,论文提出了基于“PC+数据采集卡”的记录仪后端系统的设计方案。确立了以嵌入式PC/104 CPU模块SPTc-300-VE加CF卡构成的PC平台,移植了Windows 98plus,扩展了自行研制的16通道同步、硬件控制采样的PC/104总线数据采集卡。利用CPLD芯片设计出符合数据采集卡要求的专用集成电路,缩减了电路板面积,提高了硬件设计质量。为提高Windows环境下数据采集的实时性,利用DriverStudio编写了数据采集卡的内核态设备驱动程序,并提供了方便上层调用的动态链接库。在操作系统的特权层,实现了中断方式的连续采集,同时通过设备文件读写和加大缓冲区的方法,有效避免了高速数据采集时可能出现的数据丢失现象。开发了基于多线程的用户态测试程序,能以循环写文件的方式连续地记录振动信号。论文还规划了记录仪系统软件的整体结构,采用模块化和面向对象的程序设计方法,借助于MeasurementStudio,以多线程的方式编写了在线监测软件,同时对看门狗定时器进行了合理地编程调用,有效地保证了系统软件的持续正确运行,提高了系统的可靠性。最后,论文给出了实验室条件下记录仪的测试实例,并分析了目前工作中的不足,指明了进一步研究的方向。
【Abstract】 Universal vibrometer has not the function of lasting and on-line recording. Therefore, it is necessary to develop a more powerful and lower cost vibration recorder for the on-line vibration monitoring of various electronic equipment on vehicle to find out the breakage cause resulting from vibration or impulsion,which is significant in recollecting and analyzing accident, estimating the capability of isolation system and improving the mechanism structure.To resolve the deficiency of universal vibrometer, a framework of the back-end system based on PC with a DAQ board is put forward in this thesis. Firstly, a PC platform composed of the embedded CPU module SPTc-300-VE and CF card is established. On this PC platform, Windows 98plus is transplanted and a DAQ board of PC/104 bus, which can sample 16 channels synchronously and automatically, is extended. A CPLD chip is used to design an ASIC of the DAQ board, which reduces the PCB area and enhances the design quality of hardware.Secondly, to improve the real-time performance of DAQ under the environment of Windows, a device driver in kernel mode is developed using DriverStudio and a DLL which facilitates the upper application call is offered. Continuous DAQ with an interrupted way is accomplished in privilege class of OS. Data loss is avoided effectively in virtue of device file operation and enlarging data buffer zone. A user-mode application based on mutil-thread, which can continuously record vibration in a circular method, is programmed.Thirdly, the whole software structure of recorder is constituted. By modularization and object-oriented programming technology, the on-line monitoring software based on mutil-thread is developed with MeasurementStudio. The watchdog is utilized reasonably, which guarantees the persistence and enhances the reliability of the system.In the end, the application of the recorder in lab is discussed, and some insufficiencies and expectation of the project are pointed out.
【Key words】 Vibration; Recorder; Data Acquisition; PC/104; CPLD; Device Driver; MeasurementStudio;
- 【网络出版投稿人】 东南大学 【网络出版年期】2007年 04期
- 【分类号】TP23
- 【被引频次】3
- 【下载频次】239