基于LabVIEW和FPGA的虚拟仪器平台设计毕设论文最终530.doc
文本预览下载声明
毕业设计论文
基于LabVIEW 和FPGA 的虚拟仪器平台设计
摘要
现代生产要求电子仪器品种多、功能强、精度高、自动化程度高,而且要求测试的速度快、实时性好,具有良好的人机界面。虚拟仪器正好可以实现这些要求。在电子实验中使用多种仪器,如信号发生器、万用表、频率计、示波器等,如果能把它们都设计成虚拟仪器,利用计算机来提高仪器的集成度,减少实验匹配的仪器的种类、数量和实验室面积,便能从根本上改变实验室的面貌,克服传统测量仪器单一功能的缺点。
本设计正是以这种思想为出发点,以电子技术实验室的真实函数信号发生器、示波器、频率计为蓝本,利用LabVIEW编程来设计虚拟函数信号发生器、虚拟存储示波器、虚拟频率计,并将其合并在一个虚拟平台上面,能够分别实现虚拟仿真函数信号发生器、存储示波器、及频率计的功能,实现真正意义上的虚拟仪器平台。其虚拟平台上面的函数信号发生器可以产生正弦波、三角波、方波三种波形,并能够实现波形频率从1Hz到2MHz可调,峰峰值从0.1V到8.0V可调,实时性很好;示波器能正确的显示波形,并能实现频率和幅值的可调;频率计可以对0HZ到99.99KHZ的信号进行频率的测量。
本设计利用RS-232串口进行数据的传输,实现了LabVIEW与FPGA的通信。同时对仿真信号的生成与控制做了详细的分析,以及对设计中的问题进行了深入的探讨。本设计旨在找到一个能够改革教学实验室的有效途径。
关键词:虚拟仪器,LabVIEW,RS-232,FPGA
THE DESIGN OF VIRTUAL INSTRUMENTS PLATFORM BASED ON LABVIEW AND FPGA
ABSTRACT
Modern production requires electronic instrumentation variety many, strong function, high precision, high degree of automation, and high speed, good real-time in testing, good man-machine interface. Virtual Instruments can meet precisely these requirements. A variety of instruments are used in the electronic experiments, such as signal generator, multimeter, frequency meter, oscilloscope, etc. If we are able to design them to virtual instruments, improve the integration of instruments using computer and reduce the type and number of instruments matched to experiments and the space of laboratory, then we can change the face of the laboratory fundamentally and conquer the shortcomings of single function of the traditional measuring instruments.
The design of this thinking is the starting point of electronic technology to the real function of the laboratory signal generator, oscilloscope, frequency meter based on the use of LabVIEW programming to design the virtual function signal generator, virtual storage oscilloscope, the virtual frequency meter, and combined in a virtual platform, to achieve the virtual simulation function, respectively, signal generator, oscilloscope, and frequency of functions, the realization of the true sense of the virtual instrument p
显示全部