当前位置:主页 > 科技论文 > 电力论文 >

PXIe示波器模块软件设计

发布时间:2018-06-21 06:21

  本文选题:IVI + 虚拟界面 ; 参考:《电子科技大学》2015年硕士论文


【摘要】:电子信息技术发展日新月异,模块化数字示波器正向多功能、集成化的方向迅速迈进。大数据、高速率将成为虚拟示波器发展的主题,总线数据吞吐率必然成为采集系统中的瓶颈。因此,基于PXIe总线的虚拟示波器凭借其高传输带宽越来越受用户的青睐。与此同时,虚拟示波器对软件的高性能和多功能也提出了较高的要求。结合国内外示波器的应用需求和发展前景,本论文实现了PXIe示波器模块软件设计。本论文为提高大数据采集速率,基于PXIe总线开发了具备I/O读写和DMA传输方式的PXIe接口驱动程序,为应用程序和示波器硬件模块高效快速通信提供了桥梁。结合虚拟示波器应用程序多功能、易操作、健壮性和可维护等特点,实现了PXIe示波器虚拟界面和仪器驱动器的设计,供用户对实时波形观测和分析。本论文软件设计主要从以下三个方面展开研究:1.为实现PXIe示波器模块应用软件和硬件模块数据高速传输,开发兼具I/O传输功能和DMA传输功能的PXIe接口驱动程序。2.基于VC6.0开发环境设计示波器人机交互界面,实现波形采集显示,参数测量和波形运算等等。另外,为减少死区时间,捕捉瞬态异常信号,软件增加高速捕获功能,实现荧光绘图;为提高应用软件性能和系统资源利用率,引用多线程技术;为提高波形刷新效率,研究并实现Direct Draw二维绘图技术;为增强软件规范性和易维护性,采用XML文件动态更新界面控件。3.搭建符合IVI技术规范的示波器类驱动器和专用驱动器,实现专用驱动器中各功能模块具体的封装和调试,包括水平设置、触发设置、通道设置、数据采集以及多个功能模块等。通过I/O请求向FPGA发控制字实现对硬件模块的控制和操作,供用户对实时信号的观测和处理。通过对上述三个方面的研究及实施,实现了PXIe接口驱动高效数据传输,设计了良好的PXIe示波器模块人机操作界面和仪器驱动器。经过软硬件联合调试,可观察到输入信号实时波形以及准确的参数测量值。最后,通过测试,各项功能基本达到本课题软件设计预定目标。
[Abstract]:With the rapid development of electronic information technology, the modular digital oscilloscope is moving forward in the direction of multifunction and integration. Big data, high speed will become the theme of virtual oscilloscope development, bus data throughput is bound to become the bottleneck in the acquisition system. Therefore, the virtual oscilloscope based on PXIe bus is more and more popular with its high transmission bandwidth. At the same time, the virtual oscilloscope also put forward higher requirements for the high performance and multi-function of the software. According to the application demand and development prospect of oscilloscope at home and abroad, the software design of PXIe oscilloscope module is realized in this paper. In order to improve the acquisition rate of big data, a PXIe interface driver with I / O read, write and DMA transmission mode is developed based on PXIe bus, which provides a bridge for efficient and fast communication between the application program and the oscilloscope hardware module. The design of virtual interface and instrument driver of PXIe oscilloscope is realized by combining the characteristics of virtual oscilloscope application program such as multifunction, easy to operate, robustness and maintainability, which can be used to observe and analyze real-time waveform of PXIe oscilloscope. In this paper, the software design mainly from the following three aspects of research: 1. In order to realize the high speed data transmission of PXIe oscilloscope module application software and hardware module, the PXIe interface driver, which has both I / O transmission function and DMA transmission function, is developed. The man-machine interface of oscilloscope is designed based on VC6.0, and the waveform collection and display, parameter measurement and waveform operation are realized. In addition, in order to reduce dead time and catch transient abnormal signals, the software adds high speed capture function to realize fluorescent drawing; in order to improve the performance of application software and system resource utilization, the multithread technology is used; in order to improve the efficiency of waveform refresh, This paper studies and implements Direct draw 2D drawing technology, and in order to enhance software standardization and maintainability, it adopts XML file to update interface control. 3. The Oscilloscope driver and special driver which accord with IVI technical specification are built to realize the specific encapsulation and debugging of each functional module in the special driver, including horizontal setting, trigger setting, channel setting, data acquisition and multiple functional modules. Through I / O request to send control word to FPGA to realize the control and operation of the hardware module for users to observe and process the real-time signal. Through the research and implementation of the above three aspects, the PXIe interface is realized to drive efficient data transmission, and a good PXIe oscilloscope module man-machine operation interface and instrument driver are designed. The real-time waveform of the input signal and the accurate parameter measurement value can be observed through the joint debugging of software and hardware. Finally, through the test, each function basically achieves this topic software design goal.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2015
【分类号】:TM935.3

【参考文献】

相关期刊论文 前2条

1 孟会;刘雪峰;;PCI Express总线技术分析[J];计算机工程;2006年23期

2 杨立峰;;基于MFC的多线程编程技术[J];扬州职业大学学报;2008年02期



本文编号:2047566

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/dianlilw/2047566.html


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

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