【正文】
I 摘要 隨著電子計(jì)算機(jī)技術(shù)和軟件開(kāi)發(fā)技術(shù)的日新月異,電子計(jì)算機(jī)在數(shù)據(jù)的實(shí)時(shí)分析和處理,顯示,存貯等方面的優(yōu)勢(shì)與傳統(tǒng)的儀器相比越來(lái)越明顯。與此同時(shí),隨著計(jì)算機(jī)性價(jià)比的不斷提升,傳統(tǒng)儀器的價(jià)格又長(zhǎng)期居高不下,再加上傳統(tǒng)儀器的功能單一,發(fā)展虛擬儀器已經(jīng)成為一個(gè)不可阻擋的歷史潮流。美國(guó) NI 公司在這種大環(huán)境下,率先發(fā)起了對(duì)虛擬儀器的研究開(kāi)發(fā),推出了 Labview 軟件開(kāi)發(fā)平臺(tái)。 本課題在掌握了虛擬儀器的基本結(jié)構(gòu)及信號(hào)處理的相關(guān)知識(shí)基礎(chǔ)之上,設(shè)計(jì)了一套虛擬示波器。對(duì)虛擬儀器的概念,結(jié)構(gòu),發(fā)展趨勢(shì)進(jìn)行了相關(guān)分析。介紹了與信號(hào) 處理相關(guān)的基礎(chǔ)知識(shí),主要是傅里葉變換。虛擬儀器主要由硬件和軟件兩個(gè)部分構(gòu)成。本文對(duì)虛擬示波器的硬件即數(shù)據(jù)采集卡進(jìn)行了初略的介紹,對(duì)其軟件部分進(jìn)行了詳細(xì)研究。在此基礎(chǔ)上完成了頻譜分析模塊,存儲(chǔ)模塊,顯示模塊,濾波模塊,測(cè)量模塊的設(shè)計(jì)。 關(guān)鍵詞:虛擬儀器 虛擬示波器 頻譜分析 數(shù)據(jù)采集 II Abstract Along with the puter technology and software technology is developing rapidly, and the electronic puter in realtime data analysis and processing, storage, show, the advantages of the pared with traditional instruments is more and more obvious. Meanwhile, along with the puter costeffective rising, the price of traditional instruments, plus high and longterm single function of traditional instruments, development virtual instrument has bee an irreversible historical trend. The United States in this kind of environment in NI, pioneered the research and development of virtual instrument, he launched a Labview software development platform. This topic on the concept of virtual instrument, the structure, the development trend for the correlation analysis. Introduces and signal processing related basic knowledge, mainly Fourier transformation. Virtual instrument mainly by the hardware and software two parts. In this paper the hardware that virtual oscilloscope data acquisition card of initial slightly, and discusses its software as part of a deep analysis. Virtual oscilloscope software is divided into several relatively independent modules, such as spectrum analysis module, storage module, display module, filter modules etc. Key words: virtual instrument; virtual oscilloscope; Spectrum analysis; data collection III 目錄 摘要 ................................................................................................................................. I Abstract ..........................................................................................................................II 第 1 章 緒論 .................................................................................................................. 1 虛擬儀器的基本概念 ...................................................................................... 1 虛擬儀器的構(gòu)成 .............................................................................................. 1 虛擬儀器的較傳統(tǒng)儀器的優(yōu)勢(shì) ...................................................................... 1 虛擬儀器的現(xiàn) 狀及發(fā)展方向 .......................................................................... 1 本論文的主要工作 .......................................................................................... 2 第 2 章 系統(tǒng)軟件的開(kāi)發(fā)平臺(tái) Labview 簡(jiǎn)介 .............................................................. 3 labview 的基本概述 ........................................................................................ 3 labview 的模板分析 ........................................................................................ 4 工具模板 ............................................................................................... 5 控件選板 .............................................................................................. 6 函數(shù)選板 ............................................................................................... 6 第 3 章 系統(tǒng)硬件設(shè)計(jì) .................................................................................................. 8 數(shù)據(jù)采集技術(shù) .................................................................................................. 8 數(shù)據(jù)采集系統(tǒng)信號(hào)分類(lèi) ....................................................................... 8 基于計(jì)算機(jī)的數(shù)據(jù)采集系統(tǒng)各部分的作用 ....................................... 8 數(shù)據(jù)采集系統(tǒng)的設(shè)計(jì) .................................................................................... 10 采樣 /保持器的工作原理 .................................................................... 11 多路轉(zhuǎn)換模擬開(kāi)關(guān) ............................................................................. 12 第 4 章 虛擬示波器的軟件設(shè)計(jì) ................................................................................ 14 系統(tǒng)總體構(gòu)成 ................................................................................................ 15 濾波器 ............................................................................................................ 16 存儲(chǔ)與回放模塊 ............................................................................................ 17 頻譜分析模塊 ................................