长春某大学本科毕业设计I摘要随着电子计算机技术和软件开发技术的日新月异,电子计算机在数据的实时分析和处理,显示,存贮等方面的优势与传统的仪器相比越来越明显。与此同时,随着计算机性价比的不断提升,传统仪器的价格又长期居高不下,再加上传统仪器的功能单一,发展虚拟仪器已经成为一个不可阻挡的历史潮流。美国NI公司在这种大环境下,率先发起了对虚拟仪器的研究开发,推出了Labview软件开发平台。本课题在掌握了虚拟仪器的基本结构及信号处理的相关知识基础之上,设计了一套虚拟示波器。对虚拟仪器的概念,结构,发展趋势进行了相关分析。介绍了与信号处理相关的基础知识,主要是傅里叶变换。虚拟仪器主要由硬件和软件两个部分构成。本文对虚拟示波器的硬件即数据采集卡进行了初略的介绍,对其软件部分进行了详细研究。在此基础上完成了频谱分析模块,存储模块,显示模块,滤波模块,测量模块的设计。关键词:虚拟仪器虚拟示波器频谱分析数据采集长春某大学本科毕业设计IIAbstractAlongwiththecomputertechnologyandsoftwaretechnologyisdevelopingrapidly,andtheelectroniccomputerinreal-timedataanalysisandprocessing,storage,show,theadvantagesofthecomparedwithtraditionalinstrumentsismoreandmoreobvious.Meanwhile,alongwiththecomputercost-effectiverising,thepriceoftraditionalinstruments,plushighandlong-termsinglefunctionoftraditionalinstruments,developmentvirtualinstrumenthasbecomeanirreversiblehistoricaltrend.TheUnitedStatesinthiskindofenvironmentinNI,pioneeredtheresearchanddevelopmentofvirtualinstrument,helaunchedaLabviewsoftwaredevelopmentplatform.Thistopicontheconceptofvirtualinstrument,thestructure,thedevelopmenttrendforthecorrelationanalysis.Introducesandsignalprocessingrelatedbasicknowledge,mainlyFouriertransformation.Virtualinstrumentmainlybythehardwareandsoftwaretwoparts.Inthispaperthehardwarethatvirtualoscilloscopedataacquisitioncardofinitialslightly,anddiscussesitssoftwareaspartofadeepanalysis.Virtualoscilloscopesoftwareisdividedintoseveralrelativelyindependentmodules,suchasspectrumanalysismodule,storagemodule,displaymodule,filtermodulesetc.Keywords:virtualinstrument;virtualoscilloscope;Spectrumanalysis;datacollection长春某大学本科毕业设计III目录摘要.................................................................................................................................IAbstract.........................................................................................................................II第1章绪论..................................................................................................................11.1虚拟仪器的基本概念......................................................................................11.2虚拟仪器的构成..............................................................................................11.3虚拟仪器的较传统仪器的优势......................................................................11.4虚拟仪器的现状及发展方向..........................................................................11.5本论文的主要工作..........................................................................................2第2章系统软件的开发平台Labview简介..............................................................32.1labview的基本概述........................................................................................32.2labview的模板分析........................................................................................42.2.1工具模板...............................................................................................52.2.2控件选板..............................................................................................62.2.3函数选板...............................................................................................6第3章系统硬件设计..................................................................................................83.1数据采集技术..................................................................................................83.1.1数据采集系统信号分类.......................................................................83.1.2基于计算机的数据采集系统各部分的作用.......................................83.2数据采集系统的设计....................................................................................103.2.1采样/保持器的工作原理...................................................................113.2.2多路转换模拟开关.............................................................................12第4章虚拟示波器的软件设计................................................................................144.1系统总体构成................................................................................................154.2滤波器............................................................................................................164.3存储与回放模块............................................................................................174.4频谱分析模块................................................................................................194.5参数测量模块................................................................................................22第5章虚拟示波器的调试........................................................................................245.1波形显示........................................................................................................245.2频谱分析........................................................................................................245.3参数测量........................................................................................................25第6章结论和展望....................................................................................................26参考文献.................................................................................................