ProcediaComputerScience17(2013)222–2281877-0509©2013TheAuthors.PublishedbyElsevierB.V.Selectionandpeer-reviewunderresponsibilityoftheorganizersofthe2013InternationalConferenceonInformationTechnologyandQuantitativeManagementdoi:10.1016/j.procs.2013.05.030InformationTechnologyandQuantitativeManagement(ITQM2013)DesignoftheDataAcquisitionSystemBasedonSTM32Hui-fuZhang1,WeiKang1*1DepartmentofComputerScienceandTechnology,HunanUniversityofScienceandTechnology,Xiangtan411201,ChinaAbstractEarlydetectionoffailuresinmachineryequipmentsisoneofthemostimportantconcernstoindustry.Inordertomonitoreffectiveofrotatingmachinery,wedevelopmentamicro--systemofsignalacquisitionsystembasedonSTM32inthispaper.wehavegiventhewholedesignschemeofsystemandthemulti-channelvibrationsignalinaxisX,YandZoftherotaryshaftcanbeacquiredrapidlyanddisplayinreal-time.Oursystemhasthecharacterofsimplestructure,lowpowerconsumption,miniaturization.©2013TheAuthors.PublishedbyElsevierB.V.Selectionand/orpeer-reviewunderresponsibilityoftheorganizersofthe2013InternationalConferenceonComputationalScienceKeywords:STM32;dataacquisition;embeddedsystem;-;1.IntroductionThereal-timeacquisitionofvibrationinrotatingmachinerycaneffectivelypredict,assessanddiagnoseequipmentoperationstate,theindustrygetsvibrationdataacquisitionRapidlyandanalysisinreal-timecanmonitortherotatingmachinerystateandguaranteethesaferunningoftheequipment.Inordertopreventfailure,reducemaintenancetime,improvetheeconomicefficiency,Thepurposeoffaultdiagnosissystemcandetectthesedevicesthroughthevibrationsignalacquisitionofrotatingmachinery,andprocessthedataacquisition,thenitwillmaketimelyjudgmentofrunningstateofequipment.Whilethedataacquisitionmoduleisthecorepartofthefaultdiagnosissystem[1-4].Thepracticalapplicationintheindustrialfield,istheequipmentoperatingparameterswillbeacquiredtomonitorequipmentoperatingstate.Intraditionaldataacquisitionsystems,thedatafromacquisitioncardaregenerallysendintothecomputer,andspecificsoftwarewillbedevelopedforthedataacquisition.ThemaincontributionofthispaperhasdesignedtheSTM32platformwithARMtechnology,thathasbecomeatraditionalmainstreamtechnologyinembeddedsystems,andthecollectingdatatowardthedirectionofhighreal-time,multi-parameter,high-precision,whiledatastoragebecomelargecapacity,moreminiaturizationandportable,andthedevelopmentofmulti-communicationmodeandlong-distancefordatatransmission.Soastomeettheactualacquisitionsystem*Correspondingauthor.Tel.:086-0731-15073230255.E-mailaddress:kwandy88@163.comAvailableonlineat©2013TheAuthors.PublishedbyElsevierB.V.Selectionandpeer-reviewunderresponsibilityoftheorganizersofthe2013InternationalConferenceonInformationTechnologyandQuantitativeManagement223Hui-fuZhangandWeiKang/ProcediaComputerScience17(2013)222–228multitaskingrequirements,thisarticlehas-systemofsignalacquisitionsystem.Therefore,inordertomeettheactualacquisitionsystemmultitaskrequirements,thisnoveltyofthisarticlehasdesignedasignalacquisitionsysteminmicro--basedonSTM32.2.ArchitectureofdataacquisitionsystemDataacquisitionaskeytechnologyformonitoringequipment,recentlyalotofworkhasbeendoneonit.AnembeddedparalleldataacquisitionsystembasedonFPGAisOptimizeddesignedwhichwillmakeitreasonabletodivideandallocatehigh-speedandlow-speedA/D[5].Instead,ithasuseahigh-speedA/DconverterandStratixIIseriesofFPGAfordatacollectionandprocessing,inwhichthemaincontributionisusedoftheCompactPeripheralComponentInterconnect,thesystemhasthecharactersofmodularization,sturdinessandscalability[6].ButremotecontrolwillbeneededinSpecialConditions,thispaperintroducetheembeddedoperatingsystemplatformbasedonWindowsCEand-todesignaremoteacquisitionandcontrolsystemwiththeGPRSwirelesstechnology[7-8].Inordertoachievethedatasharingofmulti-user,ithasbuildtheembeddeddynamicwebsitefordataacquisitionmanagementanddisseminationwiththeARM9andLinuxoperationsystem[9].AdatacollectionterminaldevicesisdesignedbasedonARM7microprocessorLPC2290andembeddedreal-time-tosolvethereal-timeacquisitionofmulti-channelsmallsignalandmulti-channeltransmission[10].Ontheotherhands,twoparallelDSP-basedsystemdedicatedtothedataacquisitiononrotatingmachines,andtheinnersignalconditionerisusedtoadaptthesensoroutputtotheinputrangeoftheacquisition,andthensignalpost-processingbythedesignsoftware,whilethemostfrequentlystructureistouseDASandFPGA-based,andsuchprogramsarealsodependentontheDAScost.Inordertomeetmarketrequirementsoflowpowerconsumption,lowcost,andmobility,Fig.1inthispaperpresentsthedesignoverallstructurediagramofdataacquisitionsystem.ThroughSPIinterface,thesystemgetsthedatacollectionwiththreeaxisaccelerationsensorintotheSTM32controllerofinnerA/Dconversionmodulewith12-bit,thisprocessisnon-interferingparallelacquisition.Oursystemuses240x400LCDandtouchscreenmodulereal-timetodisplaythecollecteddatainrealtime.670)9(7&RUWH[0ResetcircuitPowercircuitRS232USBEthernetRTCcircuitFLASHSRAMLcdtouch-screenJTAGMMA7455LA/DFig.1HardwareFrameworkofSystem2.1.STM32micro-controllerA32bitRISCSTM32F103VET6,usedastheprocessorinoursys