基于STM32的数据采集系统英文文献Word文档下载推荐.docx

上传人:b****4 文档编号:7553689 上传时间:2023-05-08 格式:DOCX 页数:10 大小:188.83KB
下载 相关 举报
基于STM32的数据采集系统英文文献Word文档下载推荐.docx_第1页
第1页 / 共10页
基于STM32的数据采集系统英文文献Word文档下载推荐.docx_第2页
第2页 / 共10页
基于STM32的数据采集系统英文文献Word文档下载推荐.docx_第3页
第3页 / 共10页
基于STM32的数据采集系统英文文献Word文档下载推荐.docx_第4页
第4页 / 共10页
基于STM32的数据采集系统英文文献Word文档下载推荐.docx_第5页
第5页 / 共10页
基于STM32的数据采集系统英文文献Word文档下载推荐.docx_第6页
第6页 / 共10页
基于STM32的数据采集系统英文文献Word文档下载推荐.docx_第7页
第7页 / 共10页
基于STM32的数据采集系统英文文献Word文档下载推荐.docx_第8页
第8页 / 共10页
基于STM32的数据采集系统英文文献Word文档下载推荐.docx_第9页
第9页 / 共10页
基于STM32的数据采集系统英文文献Word文档下载推荐.docx_第10页
第10页 / 共10页
亲,该文档总共10页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

基于STM32的数据采集系统英文文献Word文档下载推荐.docx

《基于STM32的数据采集系统英文文献Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《基于STM32的数据采集系统英文文献Word文档下载推荐.docx(10页珍藏版)》请在冰点文库上搜索。

基于STM32的数据采集系统英文文献Word文档下载推荐.docx

本文可编辑可修改,如果觉得对您有帮助请收藏以便随时查阅,最后祝您生活愉快业绩进步,以下为基于STM32的数据采集系统英文文献的全部内容。

DesignoftheDataAcquisitionSystemBasedonSTM32

ABSTRACT

Earlydetectionoffailuresinmachineryequipmentsisoneofthemostimportantconcernstoindustry.Inordertomonitoreffectiveofrotatingmachinery,wedevelopmentamicro—controlleruC/OS—IIsystemofsignalacquisitionsystembasedonSTM32inthispaper。

wehavegiventhewholedesignschemeofsystemandthemulti-channelvibrationsignalinaxisX,YandZoftherotaryshaftcanbeacquiredrapidlyanddisplayinreal—time.Oursystemhasthecharacterofsimplestructure,lowpowerconsumption,miniaturization。

Keywords:

STM32;

dataacquisition;

embeddedsystem;

uC/OS—II;

1.1。

Introduction

Thereal—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,andthedevelopmentofmulticommunicationmodeandlong-distancefordatatransmission.Soastomeettheactualacquisitionsystemmultitaskingrequirements,thisarticlehasdesignedbasedonSTM32micro-controlleruC/OS—IIsystemofsignalacquisitionsystem.Therefore,inordertomeettheactualacquisitionsystemmultitaskrequirements,thisnoveltyofthisarticlehasdesignedasignalacquisitionsysteminmicro-controlleruC/OS—IIbasedonSTM32。

2。

Architectureofdataacquisitionsystem

Dataacquisitionaskeytechnologyformonitoringequipment,recentlyalotofworkhasbeendoneonit。

AnembeddedparalleldataacquisitionsystembasedonFPGAisOptimizeddesignedwhichwillmakeitreasonabletodivideandallocatehigh-speedandlow-speedA/D[5].Instead,ithasuseahigh—speedA/D

converterandStratixIIseriesofFPGAfordatacollectionandprocessing,inwhichthemaincontributionisusedoftheCompactPeripheralComponentInterconnect,thesystemhasthecharactersofmodularization,sturdinessandscalability[6].ButremotecontrolwillbeneededinSpecialConditions,thispaperintroducetheembeddedoperatingsystemplatformbasedonWindowsCEanduC/OS-IItodesignaremoteacquisitionandcontrolsystemwiththeGPRSwirelesstechnology[7-8]。

Inordertoachievethedatasharingofmulti-user,ithasbuildtheembeddeddynamicwebsitefordataacquisitionmanagementanddisseminationwiththeARM9andLinuxoperationsystem[9].AdatacollectionterminaldevicesisdesignedbasedonARM7microprocessorLPC2290andembeddedreal—timeoperatingsystemuC/OS—IItosolvethereal—timeacquisitionofmultichannelsmallsignalandmulti-channeltransmission[10].Ontheotherhands,twoparallelDSP-basedsystemdedicatedtothedataacquisitiononrotatingmachines,andtheinnersignalconditionerisusedtoadaptthesensoroutputtotheinputrangeoftheacquisition,andthensignalpost—processingbythedesignsoftware,whilethemostfrequentlystructureistouseDASandFPGA—based,andsuchprogramsarealsodependentontheDAScost。

Inordertomeetmarketrequirementsoflowpowerconsumption,lowcost,andmobility,Fig。

1inthispaperpresentsthedesignoverallstructurediagramofdataacquisitionsystem.ThroughSPIinterface,thesystemgetsthedatacollectionwiththreeaxisaccelerationsensorintotheSTM32controllerofinnerA/Dconversionmodulewith12-bit,thisprocessisnon-interferingparallelacquisition。

Oursystemuses240x400LCDandtouchscreenmodulereal—timetodisplaythecollecteddatainrealtime.

1。

STM32micro-controller

A32bitRISCSTM32F103VET6,usedastheprocessorinoursystem,comparedwithsimilarproducts,theSTM32F103VET6workat72MHZ,withcharactersofstrongperformanceandlowpowerconsumption,real-timeandlow-cost。

Theprocessorincludes:

512KFLASH,64KSRAM,anditwillcommunicatebyusingfiveserialportswhichcontainaCANbus,aUSB2.0SLAVEmodeandaEthernetinterface,whatsmoretwoRS232portsarealsoincluded.ThesysteminourpaperextendtheSST25VF016BserialmemorythroughtheSPIbusinterface,thatwillregardasthetemporarystoragewhencollectlargenumberofdata,furthermore,wehavetheA/Dconverterwith12bitsresolution,andthefastestconversionupto1us,with3.6Vfull-scaleofthesystem。

Inadditiontodesignofthesystempowersupplycircuit,theresetcircuit,RTCcircuitandGPIOporttoassurancesystemneedsandnormaloperation。

Dataacquisition

Themachinestateisnormalornotismainlydependedonthevibrationsignal。

Inthispaper,toacquirethevibrationdataofrotatingmachineryrotor,wehaveusedvibrationaccelerationtransducersMMA7455Lwhichcouldcollectthedatafromaxisx,y,andzofthecompanyofFree-scale.Thekindofvibrationaccelerationtransducershasadvantageoflowcostandsmallsize,highsensitivityandlargedynamicrangewithsmallinterference.MMA7455Lismainlyconsistsofgravitysensingunitandsignalconditioningcircuitcomposition,andthissensorwillamplifythetinydatabeforesignalpreprocessing。

Indataacquisitionprocessofoursystem,theerrorofsamplingstageismainlycausedbyquantified,andtheerrorisdependedonthebitsoftheA/Dconverter,whenweregardthemaximumvoltageasVmax,theADconverterbitsisn,andthequantizationQ=Vmax/2n,then,thequantizationerrorisobeyeduniformdistributionin[—q/2,q/2][13]。

ThedesignedSTM32couldbuiltatmostthree12—bitparallelADCinthispaper,whichtheoreticalindexis72dBandtheactualdynamicrangeisbetween54to60dBwhile2or3bitsisimpactedbynoise,thedynamicrangeofmeasurementcanupto1000timeswith60dB.Forthevastmajorityofthevibrationsignal,themaximumsamplingrateof10kHZcanmeetactualdemand,andthehigherfrequencyofcollectionisgenerallyusedinthe8—12bitsAD,thereforeoneofcontributionofthisworkistochooseabuilt—in12-bitA/Dtomeettheaccuracyofvibrationsignalacquisitionandlowercostinthisexperiment。

3.Softwaredesign

3.1.TransplantationofC/OS

Inordertoensurereal-timeandsafetydatacollectionrequirements,inthissystem,akindofRTOSwhosesourcecodeisopenandsmallisproposed。

Italsocanbeeasilytobecutdown,repottedandsolidified,anditsbasicfunctionsincludingtaskmanagementandresourcemanagement,storagemanagementandsystemmanagement.TheRTOSembeddedsystemcouldsupport64tasks,withatmost56usertasks,andfourtasksofthehighestandthelowestprioritieswillberetainedinsystem。

TheuC/OS—IIassignsprioritiesofthetasksaccordingtotheirimportance,theoperationsystemexecutivethetaskfromtheprioritysequenceandeachtaskhaveindependentpriority.Theoperatingsystemkernelisstreamlined,andmulti-taskingfunctioniswellcomparedwithothers,itcanbetransplantedtoprocessorsthatfrom8-bitto64—bit。

Thetransplantinthesystemaretomodifythethreefilesystemstructure:

OS_CPU_C。

HOS_CPU。

C,OS_CPU_A.ASM.Maintransplantationprocedureisasfollows:

A.OS_CPU_C。

H

Ithasdefinedthedatatypes,thelengthandgrowthdirectionofstackintheprocessor.Becausedifferentmicroprocessorshavedifferentwordlength,sotheuC/OS-IItransplantationincludeaseriesoftypedefinitiontoensureitsportability,andtherevisedcodeasfollows:

typedefunsignedcharBOOLEAN;

typedefunsignedcharINT8U;

typedefsignedcharINT8S;

typedefunsignedshortINT16U;

typedefsignedshortINT16U;

typedefunsignedintINT32U;

typedefsignedintINT32S;

typedeffloatFP32;

typedefdoubleFP64;

typedefunsignedintOS_STK;

typedefunsignedintOS_CPU_SR;

Cortex-M3processordefinestheOS_ENTER_CRITICAL()andOS_EXIT_CRITICAL()asopeningandclosinginterrupt,andtheymustsetto32bitofthestackOS_STKandCPUregisterlength.Inaddition,thathasdefinedthestackpointerOS_STK_GROWTHstackgrowthdirectionfromhighaddresstoloweraddress.

B。

OS_CPU。

C

TomodifythefunctionOSTaskStkInit()accordingtotheprocessor,thenineremaininguserinterfacefunctionsandhookfunctionscanbenullwithoutspecialrequirements,theywillproducecodeforthesefunctionsonlywhentheOS_CPU_HOOKS_ENissetto1inthefileofOS_CFG.H。

ThestackinitializationfunctionOSTaskStkInit()returntothenewtopofthestackpointer.

OS_CPU_A.ASM

Mostofthetransplantworkarecompletedinthesedocuments,andmodifythefollowingfunctions.

OsStartHighRdy()isusedforrunningthemostpri

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > PPT模板 > 其它模板

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2