基于labview和fpga的虚拟仪器平台设计本科毕业设计

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

基于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 exp eriments, 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 platform. Its virtual platform for the above function signal generator can produce sine wave, triangle wave, square wave three, and be able to achieve the waveform frequency from 1Hz to 2MHz Adjustable peak peak adjustable from 0.1V to 8.0V, a very good real-time; oscilloscope waveform display correctly, and to achieve an adjustable frequency and amplitude; 0HZ Cymometer can 99.99KHZ signal to the frequency measurements.

The design of the use of RS-232 serial port for data transmission, the realization of the LabVIEW and FPGA communication. At the same time, the generation of simulation and control signals to do a detailed analysis, as well as

相关文档
最新文档