基于异步调用技术的仪用驱动程序及配套软件设计
发布时间:2019-06-14 14:04
【摘要】:近年来,以信息技术为代表的新技术推动着电子行业飞速增长,也使电子测量仪器得到快速发展。在仪器功能越来越强、性能越来越优化的同时,对仪器研发也带来了技术挑战,如:构建可靠稳定的仪用软硬件自动测试平台,使仪器既具有灵活性、兼容性、可扩展性,还能满足数据传输率持续增长等方面的需求。仪器的驱动程序是应用程序和底层硬件之间交互的桥梁,它提供了硬件到操作系统的接口,其自身的稳定性和健壮性对仪器整机性能而言尤为重要。因此,针对仪用驱动程序及其配套软件进行专门研究和设计优化,是提高仪器稳定性的关键。本文以某基于PXI Express总线的电磁频谱监测模块为应用背景,详细探讨了基于异步I/O的驱动程序设计技术,及与之相关的MFC上层软件开发。论文首先给出了一种普适的仪用平台组成方案和仪用软件平台框架设计,在此基础上对基于Windows操作系统的WDM驱动程序进行了深入分析,内容包括WDM架构驱动程序的模型、DMA等驱动程序编程中的相关技术、重叠I/O(Overlapped)等Windows I/O过程相关技术。随后,论文分别对基于异步I/O的WDM驱动程序设计、MFC上层软件开发这两大任务进行了重点介绍。对WDM驱动程序设计,论文依次说明了设备对象及其层次结构、标识符设计,例程设计和Overlapped驱动程序设计;对MFC上层软件开发,论文给出了分层结构设计,读写寄存器、读写DSP数据、连续读写DMA的MFC功能实现,以及基于Overlapped的上层软件设计。最后,论文以电磁频谱监测模块为应用目标搭建了测试验证系统。在测试验证过程中,论文进行了驱动程序及配套软件需求分析,讨论了其中PXI Express接口子模块的设计实现,并给出了对驱动程序及配套软件的测试结果。经测试验证,本文所设计开发的WDM驱动程序和MFC上层软件已稳定运行在Windows操作系统下,实现了预期功能。由此验证了基于异步I/O调用的驱动技术对改善仪器整机性能的有效性。
[Abstract]:In recent years, the new technology represented by information technology has promoted the rapid growth of the electronic industry, but also made the rapid development of electronic measuring instruments. While the function of the instrument is stronger and the performance is more and more optimized, it also brings technical challenges to the research and development of the instrument, such as the construction of a reliable and stable automatic test platform for instrument software and hardware, so that the instrument can not only have flexibility, compatibility, expansibility, but also meet the needs of the continuous growth of data transmission rate. The driver of the instrument is the bridge between the application program and the underlying hardware. It provides the interface between the hardware and the operating system. Its own stability and robustness are particularly important to the performance of the instrument. Therefore, the key to improve the stability of the instrument is to carry out special research and design optimization of the driver and its supporting software. In this paper, based on the application background of an electromagnetic spectrum monitoring module based on PXI Express bus, the driver design technology based on asynchronous I / O and the related MFC upper software development are discussed in detail. In this paper, a universal composition scheme of instrument platform and the framework design of instrument software platform are given. On this basis, the WDM driver based on Windows operating system is deeply analyzed, including the model of WDM architecture driver, the related technology of DMA and other driver programming, and the related technology of Windows I / O process such as overlapping I 鈮,
本文编号:2499444
[Abstract]:In recent years, the new technology represented by information technology has promoted the rapid growth of the electronic industry, but also made the rapid development of electronic measuring instruments. While the function of the instrument is stronger and the performance is more and more optimized, it also brings technical challenges to the research and development of the instrument, such as the construction of a reliable and stable automatic test platform for instrument software and hardware, so that the instrument can not only have flexibility, compatibility, expansibility, but also meet the needs of the continuous growth of data transmission rate. The driver of the instrument is the bridge between the application program and the underlying hardware. It provides the interface between the hardware and the operating system. Its own stability and robustness are particularly important to the performance of the instrument. Therefore, the key to improve the stability of the instrument is to carry out special research and design optimization of the driver and its supporting software. In this paper, based on the application background of an electromagnetic spectrum monitoring module based on PXI Express bus, the driver design technology based on asynchronous I / O and the related MFC upper software development are discussed in detail. In this paper, a universal composition scheme of instrument platform and the framework design of instrument software platform are given. On this basis, the WDM driver based on Windows operating system is deeply analyzed, including the model of WDM architecture driver, the related technology of DMA and other driver programming, and the related technology of Windows I / O process such as overlapping I 鈮,
本文编号:2499444
本文链接:https://www.wllwen.com/kejilunwen/dianlilw/2499444.html
教材专著