毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计.docx

上传人:b****1 文档编号:163707 上传时间:2022-10-04 格式:DOCX 页数:16 大小:239.84KB
下载 相关 举报
毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计.docx_第1页
第1页 / 共16页
毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计.docx_第2页
第2页 / 共16页
毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计.docx_第3页
第3页 / 共16页
毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计.docx_第4页
第4页 / 共16页
毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计.docx_第5页
第5页 / 共16页
点击查看更多>>
下载资源
资源描述

毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计.docx

《毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计.docx》由会员分享,可在线阅读,更多相关《毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计.docx(16页珍藏版)》请在冰豆网上搜索。

毕业论文外文翻译-基于DS18B20分组方式温度测试系统设计.docx

外文原文:

ADesignoftheTemperatureTestSystemBasedonGroupingDS18B20

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模板 > 中国风

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1