成都理工大学硕士学位论文海底原位X探针分析系统的数控模块研制及软件开发姓名:于姗姗申请学位级别:硕士专业:测试计量技术及仪器指导教师:赖万昌20090601IX1983920097X863X2006AA09Z219X1.Labwindows/CVIXXX2.XEDiX-X3.XRF4.XRFII1)-2)3)14)DDE5)XRFEDXRFXRFEDXRFLabwindows/CVIAbstractIIITheCNCModuleandSoftwareDevelopmentofIn-SituX-RayProbeAnalysisSysteminOceanSedimentsIntroductionoftheauthor:Yushanshan,female,wasborninsept.,1983whosetutorwasProfessorLaiwanchang.ShegraduatedfromChengduUniversityofTechnologyinTestandMeasurementInstrumentmajorandwasgrantedtheMasterDegreeinJune,2009.AbstractAsseabedisthestorehouseofvariousresources,itisofgreatsignificancetospeeduptheexplorationandutilizationofseabedmineralresources.Seabedmineralresourcesexplorationrequiresadvancedequipmentsandtechnologies.ThesituX-rayfluorescenceanalysistechnologyintheseabed,whichcannotonlyspeedupprospectingandexplorationofresources,butalsocangreatlyreducecosts,isoneofhightechnologiesneededurgentlynowadaysinthecountry.Thispaperderivedfromthesubjectofthemarineareasin-SituX-rayprobeanalysissysteminoceansediments2006AA09Z219in863Program.Itspurposeistosolveparameterssettingofthedigitalprobe,automaticbackgroundcorrection,dataprocessingandinterpretationintheseabedmeasurement.Thispaperisdividedintotwoparts,softwareandhardware.Forthesoftwarepart,VirtualInstrumentSoftwareisdesignedtobeusedinin-SituX-rayprobeanalysissysteminoceansediments,sothatitcancarryoutremotecontrol,dataacquisitionandanalysisoftheseabedmaterialtoachievethemulti-elementanalysisinsitu.While,theHardwarepartisadigitalcontrolmoduledevelopedtomeettheneedofthesystemforremotemonitoringandcontrol.Inthispaper,thesoftwareisdesignedupondemandanalysiswiththetop-downmodulardesignconcept.Thesoftwareprogramwhichadoptsthemulti-threadingtechnology,canachieveuserinterfaceresponse,measurementcontrolanddataprocessingatthesametime,fullyutilizingthesystemresourcesandimprovingtheresponsespeed.Thesoftwaretestingplanappliesbottom-upmodularandacombinationofavarietyoftestingtechnologiestoensuresoftwareperformanceandreliability.Theachievementsandinnovationofpapersareasfollows:AbstractIV1.BasedontheLabwindows/CVI,utilityX-rayprobeanalysissoftwarewithindependentintellectualpropertyrightshasbeendeveloped.ThevirtualinstrumenttechnologyintheX-rayfluorescenceanalysisfieldisused.Thatwillhelptobreakthemonopolyofforeigntechnology,andcontributetothenationalizationandpracticaluseofin-SituX-rayprobeanalysissoftwareinoceansediments.2.Digitalcontrolmoduleofthewholesystemhasbeendeveloped;precisionreal-timecontrolEDiX-typeofX-raytubeoperatingparameters,spectrometersystemmagnificationhavebeenachieved.Thesecouldcreatefavorableconditionsfortherealizationofautomaticspectrumstabilizationandminiaturizationinstruments.3.ResearchfindingshavebeentransplantedtoindoorXRFanalyzer,andappliedinthedeterminationofcoalofChongqingNantongCoalMineandthegradeanalysisofcoppernickeloreinXinjiangkalatongke,whichhasachievedgoodresultsandgreateconomicbenefits.4.ComparedwithsimilarXRFanalysissoftware,thesoftwarediscussedinthepaperischaracterizedbythefollowingachievements:1)Automaticandsemi-automaticqualitativeanalysishasbeencompleted.2)Themulti-parametercalibrationmodelanddataprocessingcanbesetupdynamically.3)Real-timedigitalautomaticspectrumstabilization,steadyprecisionis±1spectralRoadhasbeenachieved.4)DDE(DynamicDataExchange)technologyhasbeenusedforreal-timedynamicdatastorage.5)Twomethodsofenergycalibration---manualandautomatic---areavailableinthesystem.Informationization,intelligentization,automatizationaredevelopmenttrendofinstrumentsinthefuture.Throughthevirtualinstrumentsoftwarecanautomaticallymeasureawiderangeofelements,andoptionalstimulatesourcessoastoenhancethetechnologicallevelandintelligentizationofXRFanalyticalinstruments,promotetheEDXRFtechnologyandasaresultprovideabetterplatformfortheapplicationofXRFanalysis.Thesoftwarediscussedinthepaperisofgreatversatilityandpracticability,whichcanbeappliedtogammaspectroscopysystem,α-rayspectrometrysystem,andotherspectroscopymeasurements.Keywords:SoftwareXRFVirtualInstrumentsLabwindows/CVIIX1983920097X863X2006AA09Z219X1.Labwindows/CVIXXX2.XEDiX-X3.XRF4.XRF11.XRF1955LevequeXX[1]2060X[2]207080X[3-6]BattlleX109CdSi(Li)KLX109CdSi(Li)XRF2090XXSi-PIN238Pu241Am1000m510[7]1998B.C.XX1)35ppm2)X21XXX[8]INNOV-XINNOV-XALPHA-4000TiBi22NITONXl3t500132Al94Pu37EDX-Pocket-IIIXTiAg2.[9]NI2080[10]Labwindows/CVINIANSIC3.EDXRFEDXRFXX[11]XEDXRF[11-17]1)32)3)X()DOSCWIN-CELinnuxwindowsVBVC()X[18]EDXRFEDXRFX[1-8,11-18]4X863XXEDiX-XXXXX5EDXRFEDXRF1.1)X2)EDiX-X2.1)Labwindows/CVIX2)3)4)5)6)7)8)X69)110)DDE11)7NI2080VirtualInstrumentVI[10]CAT[9][9]I/O[9,10,19]1.2.PC81.PCPCI/O[20]2.3.[20]4.NINI5.[21]2-192-1I/OI/O1.PC-DAQ2.GPIBGPIB3.VXIVXI4.PXIPXI5.Serial2-2VISAI/O2-2VISAI/OI/OI/OVISASerialUSBGPIB10I/O:TurboCMicrosoftVisualBasicVisualC++BorlandDelphiSybasePowerBuilderNILabWindows/CVINILabVIEWAgilentVEEHPTIGTektronixEz-TestTek-TNSWaveTestWaveTestVIP()HEMDataSnap-Marter[20,22]NILabVEIWNlLabWindow/CVIANSICDLLCLabWindow/CVILabWindow/CVI[20-23]Labwindows/CVILabwindows/CVINI32WindowsMacOSUNIXANSICC1.Labwindows/CVI[9]111)Lab