多路数据采集与分析系统的设计及应用外文翻译外文文献英文文献_第1页
多路数据采集与分析系统的设计及应用外文翻译外文文献英文文献_第2页
多路数据采集与分析系统的设计及应用外文翻译外文文献英文文献_第3页
多路数据采集与分析系统的设计及应用外文翻译外文文献英文文献_第4页
多路数据采集与分析系统的设计及应用外文翻译外文文献英文文献_第5页
已阅读5页,还剩10页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

附录五中英文资料Multi-channeldatacollectionandanalysis

ofthedesignandapplicationAbstract:ThePapermainlyintroducesamultichanneldataacquisitionandanalysissystemcomposedofonePCandonemeasuringinstrument.Thesystemcantesteightproductsparallelly.Itreducesthetestcostandimprovesworkefficiency.Thepaperalsogivesthehardwarestructureandsoftwareflowdiagramofthesystem.Theapplicationinthegyrotestisalsointroducedbriefly.Keywords:communicationprot;dataacquisition;gyro;testWiththedevelopmentofcomputertechnologyandthedigitalmeasuringinstrument,usuallybycomputerandmeasuringinstrumentstocommunicatewitheachotherinreal-timedatacollectionanduseofcomputerpowerfulcomputingcapabilitytoconducttheanalysisofthedataprocessing.Particularlyinthelargevolumeofdata,measuringthelengthoftimeoccasions,suchastheGyro-tilttest,usingcomputerforautomaticcontrolofmeasuringinstruments,automaticdataacquisitionandanalysisitisparticularlyimportant,cansavealotofmanpowerandmaterialresourcestoimproveworkefficiency,reducecosts,Theconventionalmethodoftestingisusuallyameasuringinstrumentatthesametimecanonlytestaproduct,namelyacomputerandameasuringinstrumenttestsystemcanonlybecomposedofserialtesting.Totestmultipleproductsatthesametime,theyneedmultiplesystems,testingproductsinlargevolume,lowefficiency,suchasthecompositionofseveralsetsoftestsystem,anincreaseofcost.FirstonamachinewithaPCandameasuringinstrumentconsistingof8-waydatacollectionandanalysis

system,whichcancarryoutmultiplesetsofproducttesting,atnoadditionalcostonthebasisofacomputergivefullplaytotheadvantagesofautomatictest,Improveworkefficiency.1PrincipleThesystemhardwareandsoftwaresystem.APCthroughaRS232portandameasuringinstrumentconnected,PC-parallelport(LPT)andan8-waychannelselectorattachedtoa8-wayconnectorwillchannelselectorwereconnectedwithanumberoftestproducts.TheworkingprincipleasshowninFigure1.Thecourseoftesting,computerthroughtheparallelport8-waycontrolchannelselection,wereopendifferentchannels,eachchannelfordatatransmissionbychoosingtomeasuringinstruments,measuringinstrumentsthroughtheRS232porttothecomputerdatasenttosave,Acompletecycleofallchannelsofdatacollection,andthishasalsotestedanumberofproductfeatures.U&erInt*rDatAcquisitionFunctionSynchronQMSControFuoctionModuli4Co*ripLit*rInterf3C&Modulerall«lselectioncontrol(noduleDaraAcquisitionFunctionDataAcqvisitionThefrshshowsoutputDataan5lysisCotnrunicationControlModule118-waychannels«lectorMeasureinstruuirntportsKRS232ParalleiportsFCsoftwaresystemExt'&rnalhardwaresystanproductfeatures.U&erInt*rDatAcquisitionFunctionSynchronQMSControFuoctionModuli4Co*ripLit*rInterf3C&Modulerall«lselectioncontrol(noduleDaraAcquisitionFunctionDataAcqvisitionThefrshshowsoutputDataan5lysisCotnrunicationControlModule118-waychannels«lectorMeasureinstruuirntportsKRS232ParalleiportsFCsoftwaresystemExt'&rnalhardwaresystanFigure1systemblockdiagramofworkThroughoutthecourseoftesting,allthecontroloperationshavecompletedthesoftwareautomatically,withouthumanintervention.2hardwaredesignThesystemismainlytousethecomputeronboardRS232communicationportsanddigitalmeasuringinstrumentofcommunicationportconnectingcommunications,re-useLPTparallelportona8-waychannelselectorforaccesscontrol.8-waychannelofchoiceforan8-electedoneofanalogswitchesandrelatedcircuit,thecontrolsignalsfromthecomputer'sparallelporttoprovideandmeetshownintable1.Table1TherelationbetweenchannelselectionandportoutputCommunicationsportoutputBinarycodeChannelselectionselectchannel00001100122010330114410055101661107711188-waychannelselectorindustrycanusetheSCM,subjecttoadditionalcontrols,selectRS232serialportasdatatransmission,becausetheRS232portisthecomputerandmeasuringinstrumentsonthestandardconfiguration,communicatewitheachotherwithoutadditionalhardware,Easytouse.Inaddition,aserialcommunication-onlyabit,withonlyastandarddata-voltagepotential,hencemoredifficultindataerrors.Inaparallelporttotransferdata8-bit,datatransmissionspeed,butthedatavulnerabletointerference.Transmissiondistanceinashorteramountofdatatransmissionlargercircumstances,maybeparallelport(suchasGPIB,LPT,etc.)tocommunicate.Inaddition,sinceLPTparallelportmaysignaltransmission,channelselectionissuitableforthecontrolport.Systeminthecourseofwork,goodaccesscontrolmodulesanddataacquisitionmodulesynchronizationisparticularlyimportantbecausedifferentchannelsofdata第3页共50页storageneedsofthecorrespondingdatabufferpool,whichiscontrolledbysoftware.3softwaredesignThewholesystemsoftwaredesignisthemostimportantpart.Softwaresystemfromthebottomofthecommunicationprotocolcanbedividedintofunctionalthree-tiermoduleanduserinterface.Softwaredesignintheuseofmulti-threadedWindowstechnology,thetechnologyfordatacollectionprocedurescaneffectivelyacceleratethereactiontimeandincreasetheefficiencyofimplementation.Theproceduresusedinaseparatethreadfordatacollection,sotheguaranteedmaximumenergycollectionofreal-time;usinganotherthreadatthesametimedataprocessing,suchprocedurestoavoidasingle-threadedthesametimeonlytheimplementationofafunctionaldeficiencies.Especiallywhentheamountofdatacollection,dataprocessingtask,usingmulti-threadedtechnologywillgreatlyimprovetheefficiencyofthesystemasawhole.DataAcquisitionModuleDataacquisitionmodulestoeightchannelsofdatainacycleofalltheacquisitiontothecomputer,andsavethechannel,andthecorrespondingdatainthebuffer.ItsproceduresdiagramshowninFigure2.StartImtialisationCComniunicatioaports,variable^Openchaimdj.(Parallel

Communications)j.channeldataacquisition(SerialCommunication)Fig2FlowdiagramofdataacquisitionAtthebeginningofprocedures,withthechoiceofcontrolandstoredatabufferatthesametimetoswitchtothesamechannel,8-waydatacollectioncycleandcommandjudgement,intheendnotreceivedorders,hasrecyclingcollectiontodo.Multi-channeldataacquisitionprocessthedatavulnerabletointerference,especiallyinthefast-channelswitching,thedatavulnerabletofluctuations,asshowninFigure3.Atthistimeifthedatacollection,willbecollectingthewrongdata,theneedtoaddsomesoftwarealgorithmstopreventthisfromhappening.Ifwedeveloptheautomateddatatrackingalgorithmtoautomaticallytrackeachchanneldatatodeterminewhetherthechannelinastablestate,andonlythestabilityofdataacquisition,thevolatilityofotherdata.Inaddition,thesoftwarecanalsoaddsomefilteringalgorithm(suchaslimitingfilter,etc.)tofilteroutman-madeinterferenceorotherfactorscausedbythemutationdata.Limitingfilterfor乂/因一丫一区可)Figure3channelswitching,thedatavolatilityWhenthenewcollecteddataandthedatabeforeadifferencetotheabsolutevalueofmorethanonesetofvaluesthatthedataisinvalid,andthepreviousdatafromthecurrentdata.3.2DataAnalysisModuleInthedataanalysismodulecanbeaddedifthealgorithmanalysis,graphicsdisplayandprintoutput,andotherusefulfeatures,suchasgyroscopesandstabilityinthestandarddeviationalgorithmcanfunctioninthecourseoftestingreal-timecalculationofzerostability,andthroughchartshows.Zerostabilitycalculationformulaasfollows:(2)Accordingtofirst-(2)toprepareanalgorithmfunction,andthencallintheanalysismodule.AnalysismodulediagramoftheprocedureshowninFigure4.

StartFigure4dataanalysisprocessflowchartBecausethesystemusesmulti-threadedtechnology,inthecycleofoperationandwillnotaffecttheacquisitionmodule'soperation.Themodulealsoinitsalgorithminthefunctionofanyexpansion,formingaalgorithmtoadapttodifferentproceduresfordataanalysis.Inaddition,softwaredesign,afriendlyuserinterfaceisnecessaryintheprocessofthefunctionsfromthepackage,throughaunifiedinterfacetousers,toreduceoperatingdifficultiesandenhanceefficiency.4systemtestresultsFigure5to8intheanalysisofdataacquisitionsystems,atthesametimetwothree-axisgyroandasingleaxisgyroscopetotalofsevenroadtestdataofthesituation.Itsprecisedatacollection,dataanalysiscanbeconductedatthesametime,andthroughreal-timecharts,user-friendly,easytooperate.Figure58DataCollectionandAnalysisSystem5ConclusionMulti-channeldataacquisitionandanalysissystemforthehardwarerequirementssimple,easytosetup,canbeappliedtovarioustestsoccasions,itcanalsotestmultipleproducts,therebyreducingthecostandenhanceefficiency.Asaresultofamulti-threadedtechnology,thespeedofdataacquisitionsystemsandhardwareonly(instrument)andtheresponsespeedofthespeedofCommunication.Withthecollectionandanalysissoftwarealgorithmhasnothingtodo.PADprogrammingtoolscanbeusedtodevelopadatacollection,dataanalysis,graphicsdisplayandprintoutput,andotherpowerfulfeaturesandfriendlyuserinterfaceofoursoftware.Softwaremodulardesignandeasytocarryoutexpansion,accordingtodifferentalgorithmfordataanalysisattherequestofupgrades,andhardwarecanremainthesame.Thesystemgivefullplaytotheuseofcomputersandmeasuringinstrumentsofmutualcommunication,automationandtestadvantage.多路数据采集与分析系统的设计及应用摘要:介绍了用一台PC机和一台测量仪表组成的8路数据采集与分析系统。该系统可并行测多个产品,从而降低测试成本,提高工作效率。给出了系统硬件结构和软件流程图,并介绍了该系统在陀螺测试中应用。关键词:通信端口;数据采集;陀螺;测试随着计算机技术的发展和测量仪表的数字化,通常利用计算机和测量仪表相互通信进行数据的实时采集,并利用计算机强大的运算能力进行数据的分析处理。特别在数据量大、测量时间长的场合,如陀螺零位稳定性测试,利用计算机对测量仪表进行自动控制、自动数据采集分析显得尤为重要,可节省大量人力和物力,提高工作效率,降低成本,常规的测试法通常一台测量仪表在同一时间只能测试一个产品,即一台计算机和一台测量仪表组成的测试系统只能进行用行测试。若要同时测试多个产品,就需多个系统,在测试产品量较大时,工作效率低,如组成多套测试系统,增加了成本。先介绍一个用一台PC机和一台测量仪表组成的8路数据采集与分析系统,可同时进行多套产品的测试,在不增加成本的基础上,充分发挥了计算机自动测试的优势,提高了工作效率。1系统原理该系统有硬件系统和软件系统组成。一台PC机通过RS232端口和一台测量仪表相连接,PC机并行端口(LPT)和一个8路通道选择器相连,一个8路连接头将通道选择器分别与多个测试产品连接。系统的工作原理如图1所示。测试过程中,计算机通过并行端口控制8路通道选择器,分别打开不同的通道,各通道数据通过选择器传送到测量仪表中,测量仪表再通过RS232端口把数据发送到计算机中保存,在一个周期内完成所有通道的数据采集,这样就实现了同时测试多个产品的功能。

用户界面功能模块计算机接口数据采

集功能步制块

同控模数据分折功能Hnv据集块

数来模显出表输能图示功AU^Hnv数分模据析块产品产品3用户界面功能模块计算机接口数据采

集功能步制块

同控模数据分折功能Hnv据集块

数来模显出表输能图示功AU^Hnv数分模据析块产品产品3丁丁器道择制块

通选控模据信制块

数通拄模位表并行端口'RS2321।并行端口UV外郃硬件系统rc机软件系统外郃硬件系统图1系统工作原理框图在整个测试过程中,所有的控制操作都有软件自动完成,不需人为干预2硬件设计该系统主要是用计算机自带的RS232通信端口和数字化测量仪表的通信端口连接通信,再利用LPT并行端口对一个8路通道选择器进行通道控制。8路通道选择器利用一个8选1的模拟开关和相关电路组成,它的控制信号由计算机的并行端口提供,并满足表1所示。表1通道选择器和通信端口输出的对应关系通信端口输出二进制码通道选择器选择通道00001100122010330114410055101661107711188路通道选择器业可使用单片机,但需额外的控制,选才¥RS232串口作为数据传输端口,是因为RS232端口是计算机和测量仪表上的标准配置,相互通信不需额外的硬件,使用方便。另外,串行通信一次只传1个位,处理的数据电压只有一个标准电位,因此较不易发生数据错误。并行端口可在一次的数据传输中传输8个位,数据传输速度快,但易发生数据干扰。在传输距离较短、传输的数据量较大的情况下,可采用并行端口(如GP旧、LPT等)进行通信。另外,由于LPT端口可并行传输信号,因此适合用作通道选择器的控制端口。系统工作过程中,通道控制好模块和数据采集模块的同步显得特别重要,因为不同通道的数据需要存储在对应的数据缓冲池中,这由软件进行控制。3软件设计软件设计是整个系统中最重要的部分。软件系统从下至上可分为通信协议层、功能模块和用户界面三层。在软件设计中采用Windows多线程技术,此技术进行数据采集可有效加快程序的反应速度,增加执行的效率。该程序中采用一个单独的线程进行数据采集,如此能量最大限度的保证采集的实时性;采用另一个线程同时进行数据处理,这样避免了单线程程序同一时间只能执行一个

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论