硕士论文-基于PCI数据采集卡的虚拟函数记录系统的研究及开发

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

重庆大学硕士学位论文基于PCI数据采集卡的虚拟函数记录系统的研究及开发姓名:何加锋申请学位级别:硕士专业:结构工程指导教师:袁政强20060501IPCLabVIEWPCPCIPCLabVIEWX—YLabVIEWPCLabVIEWIIABSTRACTWiththedevelopmentandpopularizationofcomputertechnology,digitizerisreplacinganalogdevicegradually.Themeasureandcontroltechnologyplaysamoreandmoreimportantroleintheprocessofproductionandscientificresearch.Asthetimegoing,theconventionalinstrumentsareemergingshortages.Soitisnecessarytoimproveconventionalinstruments.Inthispaper,theconceptionofthevirtualinstrumentandthemeritsofwhichagainstconventionalinstrumenthasbeenintroduced.VirtualinstrumentsystemsbasedonPChavebeenanalyzed;theprogrammingenvironmentofvirtualinstrumentLabVIEWhasbeenintroduced.Onthefoundationofthesoftwareandhardwareplatformmentionedabove,aroundtheanticipanttargetwhichthePC-basedvirtualinstrumentinthispaperisexpectedtoachieve,thedesignthoughtandthewholestructureonwhichthevirtualinstrumentwasbuiltaredescribedindetails.Followingthesethoughtsasprinciples,apracticaldatacollectionsystemwasdesigned.Inthispaper,Thelogicstructureofthevirtualfunctionrecordsystemanditssoftwareandhardwaredesignisdetailed.OntakingfulladvantageofthehardwarecapabilityofthedataacquisitioncardandofthewholePCplatform,utilizingthestrongfunctionswhichLabVIEWpossesses,avirtualX-Yfunctionrecordinstrumentwasdeveloped,thefunctionsofwhichincludingdatacollecting,dataprocessing,datarealtimeshowinganddatastorageetc..Throughtheactualverification,thevirtualX-Yfunctionrecordsystemcancompletelyfulfilltherequestofdatacollectioninlowperiodrepeatloadingtest.Andcertificatedbyanotherexperiment,aslongasthesoftwarearithmeticisslightlyameliorated,thevirtualtestinstrumentwiththisimprovementcanbeusedindatacollectionindynamictests.Thevirtualinstrumentisanewlyarisensubject.Thispapercanprovideideasinfurtherstudyonvirtualizationofotherconventionalexperimentinstrument.Aslongasbeingexpandedslightlymore,makinguseofthesignalsgeneratingfunctionofLabVIEW,combiningtheanaloganddigitalsignaloutputfunctionwhichthedataacquisitioncardhasandthestrongnetworkfunctionwhichPCssupport,thevirtualinstrumentsystemcancarryoutautocontrol,servo-controlandlongrangecontrolfunctions.Theworkofthispaperstillneedsfurtherstudy,theprogramstillneedsfurtheroptimizationandimprovementinpracticability.Keywords:Virtualinstrument,LabVIEW,Signalcollection,Digitalfiltering1111.11.1.1I/O121.1.2A/DA/DA/D/A/D131.11.1Fig1.1ThetheoryofdataacquisitionsystemincomputerA/D1.1.3123121122A/D14341.1.4X-YX-YX-YXYY500/XY25×30cm21.0%1234X-Y1.1.5virtualinstrument1.2151.2Fig.1.2Thetheoryofdataacquisitionsystemincomputer123PCIPCPC1.1.6PCIPCI2003PCPCIPCI200312BitA/DD/A8/1621248PGA2031101001000PGA202A/D:±5V±10V0~10VD/A:±5V±10V010VX-86CPUAMDSempron2200+256MBDDR33380GB16MicrosoftWindowsXPProfessionalNINationalInstrumentsLabVIEW7.0ExpressX-Y1.2PCINILabVIEW1.LabVIEW2.3.4.2LabVIEW72LabVIEW2.12.1.1VirtualInstrumentsPC/(),212080NationalInstrumentsCompanyNI“”“”2080NILabVIEW2LabVIEW8NIHPHPVEETektronixRacal90NIHP21502.1.22.12.1Table2.1DifferencebetweenVirtualInstrumentandTraditionalInstrument,,,,510122LabVIEW92.1.3LabVIEWLabWindows/CVIPC-DAQ2.12.1Fig.2.1ThestructureofdataacquisitionsystemincomputerGPIBIEEE488PCVXIPXIGPIB,PC-DAQ,VXIPXIGPIBGPIBIEEE488HP70GPIB2425GPIBGPIBPC81MB/s20m500m15GPIBPCGPIBGPIBLabVIEWLabWindows/CVILabVIEWLabWindows/CVI2LabVIEW10VXIVXIVMEBuseXtensionforInstrumentationVMEHP19871992IEEE1155VXIGPIBPCVME1998VXI206480MB/s256VXIVXIPXIPXI1997NIPXIPCIPCIeXtensionforInstrumentationCompactPCIPXIVXIPXICompactPCIPXIPXI8PCI3-4PCI-PCI256PCPCIGPIBA/D1Gb/s,2464I/OI/O/PC2LabVIEW11PCPCPCI2003GPIBPXIVXIPCPC-DAQ1)I/OAPICPUDMADAQ2)BorlandCVisualC++LabWindows/CVI,GNILabVIEWHPHPVEEI/OI/OLabVIEW,GPIBVXILabVIEWHewlettPackardPhilipsTektronixB&KFluke,LabVIEWWindows2LabVIEW12,NI2.2PC-DAQ(DAQ)1)(ADC)2)3)4)(RTD)2LabVIEW135)12ADCADCADCADC3ADCADC8121628=256212=4096216=655364ADC5ADCADC2LabVIEW14ADC6LSB1LSB12010V100VVLSBµ24)4096100/(101=×=24µV2.3LabVIEW2.3.1LabVIEWLabVIEWLaboratoryVirtualInstrumentEngineeringWorkbenchNILabVIEWLabVIEWLabVIEW2.3.2LabVIEWCBASICLabVIEWLabVIEWGgraphicallanguageLabVIEWLabVIEWVIVI(frontpanel)(blockdiagram)/(icon/connector)2LabVIEW15VI(control)(indicator)2.2VI——,VIVI2.2VI2.2VIFig2.2ThefrontpanelanddiagramofaVI2LabVIEW162.2WhileLoopVIVI/VIVIVI/LabVIEW(Tools)(Controls)(Functions)(ToolsPalette)VI(ControlsPalette)(FunctionsPalette)LabVIEWGLabVIEWVILabVIEW2LabVIEW17LabVIEW32LabVIEWWindowsI/OPID/50040DLLDynamicLinkLibrary,CINCodeInterfaceNodeCBASICActiveXVBVCTCP/IPINTERNETLabVIEWLabVIEWVIServer2.3.3LabVIEWLabVIEW198620LabVIEW7.1PIDWindowsUnixMacintoshSunLinuxHP-UXLabVIEW2LabVIEW18LabVIEWLabVIEWLabVIEWLabVIEWGPIBVXIPLCInternetActiveXDDESQLLabVIEWLabVIEWLabVIEWBridgeVIEWLabVIEWLabVIEWLabVIEWLabVIEWPCLabVIEWC++/CLabVIEW2.4,,LabVIEWLabVIEW31933.1DataAcquisitionDAQPCDAQADC/A/DA/D/A/DPC//ADC10µS100Hz1/100=0.01S=10MS=10000µS10µS10µS10µS100Hz320PCIPCI3233MHz132MB/S,PCI:168±5V±10V010V:100MΩ±2V1248PGA2031101001000PGA2022µS0.05%A/DA/D12Bit(4096)±1LSB()10µS0.1%A/D8254A/D100KHzFIFO1KWords12BitsX-Y1Hz3213.2LabVIEWLabVIEWLabVIEWNILabVIEWDAQNILabVIEWLabVIEWLab

1 / 68
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功