毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计Word格式.docx
- 文档编号:13095432
- 上传时间:2022-10-04
- 格式:DOCX
- 页数:16
- 大小:239.84KB
毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计Word格式.docx
《毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计Word格式.docx》由会员分享,可在线阅读,更多相关《毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计Word格式.docx(16页珍藏版)》请在冰豆网上搜索。
LIPingZHOUYucaiXiangjunZENGYANGTing-fangChangshaUniversityofScienceandTechnology,Changsha410077,Hunan,P.R.China.
E-Mail:
0702liping@
Abstract-AlltheDS18B20sensors,usedforthemultipointtesttemperature,areconnectedwithMCUononeofIObus,andtemperaturedataarecollectedbyturns.Ifthesystemhasalargeamountofsensors,thetimeofMCUusedinprocessingthetemperaturedataisobviouslyprolonged,sothecycleofalternatetestgetslonger.Inthispaper,anewmethodthatDS18B20arerationallygroupedispresented,andsomemeasuresaretakeninsoftware;
asaresult,thespeedofalternatetestadvancesdistinctly.
Keywords-DS18B20Group,temperaturetest,timespentonthealternatetest.
I.INTRODUCTION
Asthesimplestructure,convenientinstallment,lowlossandwiderangeoftemperaturetest,DS18B20temperaturetestsensorsareappliedtothefieldswhichneedthemultipointtemperaturetest,suchasthechemicalindustry,thegrain,theenvironmentsupervisionandsoon.BecauseoftheadoptionofonebusintheDS18B20multipointtemperaturetestsystem,allDS18B20arehungononebus,andthenthetemperatureconversionvalueofeachtestpointisreadbyturns.Astheconversionvaluemustbereadafterreading-pinstatefor8times,andpositionandstoredatamustbemoved,sotimespendmuchinreadingonepointofthedatasystembyeverytime.Ifthetemperaturetestsystemislarge-scaled,thesystemlosscausedbyitisrathermuch,andthenthealternatetestspeedofthesystemdecreasesobviously,whichinfluencestheefficiencyofthemultipointtemperaturetestsystemseriously.Inthispaper,DS18B20arehungonsomeI/ObusesbygroupingDS18B20evenly,andtheconversiontemperaturedataisobtainedbyreadingthestateofDS18B20,thenthesystemlossdecreasesandthealternatetestspeedincreasesobviously,whichwon’tinfluencetheprecisionandthereliabilityoftheconversion.Asetofmultipointtemperaturetestofartificialenvironmentlaboratoryisachievedinthispaper,whichincreasesthetestefficiencyoftheformersystem.
□Ⅱ.CHARACTERISTICSOFDS18B20
DS18B20isthesinglebusdigitaltemperaturesensorfromAmericanDallasCompany.DS18B20isconsistedofthe64figuresROMengravedbylaser,thetemperaturesensitivitycomponent,non-volatiletemperaturealarmstrigger(Device
THandTL).DS18B20communicateswiththemicroprocessorbythesinglebusportandthetestrangeofDS18B20isfrom-55centigradeto+125centigrade,andtheincrementalvalueis0.5centigrade.Thetemperaturecanbechangedintofigureswithin720msandeachDS18B20hasthesole64figuresserialnumber.ThespecificcontentisrevealedasFig1:
Therearetwo8figuresstorages(No.0andNo.1)forstoringtemperaturevalueinDS18B20.No.0storagestorescomplementofthetemperaturevalue,andNo.1storessymbolsofthetemperaturevalue.Theusercandefinenon-volatiletemperaturealarmssetsanddistinguishthealarmssearchorderandseekthecomponenttemperaturealarmsstateoutsidethescheduledlimit.Therearetwoalternativewaysofpowersupply:
Signalbushigh-levelborrowpowerisadopted,orthe+5vpowersupplyexternallyisadopteddirectly.
Fig1DS18B2064bitROM
Ⅲ.APPLICATIONTHEGROUPINGTESTMETHOD
ThispaperillustratesthegroupingmethodwiththeinterfaceofDS18B20and89C52.AssumingtheamountofthebusesonP1portis4andthetemperaturetestsystemneeds100DS18B20sensors,whichcanbedistributedequallytothe4I/Olines.Ifthenumberofsensorscannotbedividedbythenumberofbuseseven,thenumberdisparityofsensors
onbusesisnomorethanone,whichcanbehandledwhilereadingnumbers.Thepowerissuppliedexternally.OwningtothesynchronisticconversionineachDS18B20,theintensecurrentisneeded,andthesignalbuscannotbeusedforthepowersupply,otherwisethesystemcannotworkinorder.TheschematiccircuitisshownasFig2(theDS18B20signalbusesofthesamegrouparehungonsomebusesofP1port).WhenreadandwritetheDS18B20,thestrictschedulemustbekept.FirstareversionpulseissenttoallDS18B20.Afterthereversion,SkipROMorderissenttoeachcircuit
simultaneouslyfromtheI/Oport,andtheconversionorderissent,thenallsensorsbegintransform.Aftertheconversion,MatchRomorderissenttoeachcircuitsimultaneously,and64bitsserialnumberissent.DS18B20isselectedforeachgroup,andScratchPaddataisread.Finallythedataistransformed.Thedataofserial-readistransformedintotheactualtemperaturevalue.OnealternatetestisfinishedaftertheDS18B20temperaturedataisreadcompletelybythecyclicalreadingfor25times.ThewholeflowchartisshownasFig3.
Fig3thediagramofcollectingtemper
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 毕业论文 外文 翻译 基于 DS18B20 分组 方式 温度 测试 系统 设计