DS18B20外文翻译.docx
- 文档编号:4239696
- 上传时间:2022-11-28
- 格式:DOCX
- 页数:13
- 大小:262.82KB
DS18B20外文翻译.docx
《DS18B20外文翻译.docx》由会员分享,可在线阅读,更多相关《DS18B20外文翻译.docx(13页珍藏版)》请在冰豆网上搜索。
DS18B20外文翻译
毕业设计外文资料翻译
外文出处:
2007SecondIEEEConferenceonIndustrialElectronicsandApplications
学院:
信息工程系:
电子信息工程
专业:
电子信息工程
班级:
电子073
学号:
6100207237
学生姓名:
彭均均
外文原文:
ADesignoftheTemperatureTestSystemBasedonGroupingDS18B20
LIPingZHOUYucaiXiangjunZENGYANGTing-fang
ChangshaUniversityofScienceandTechnology,
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(DeviceTHandTL).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.
Fig3thediagramofcollectingtemperaturebygroupedDS18B20
Nowthetime-consuminginthetestsystemofthesinglebusandthegroupinganalysesmethodisillustratedrespectively.Thereversiontimesequenceandthetime
sequenceofwritingandreadingonebitforthemicroprocessorarerevealedinfigures4-6.Thefigureshow:
ThereversionperiodofDS18B20is495us-1020us;thewritingperiodofonebitis60us-120us;thereadingperiodofonebitisabove60us;thespanofwritingorreadingthenextbitis1us.AstheA/Dconversiontimeis97.35ms(9precisions),ifitiscountedbytheshortestway,thetotaltime-consumingofalternatetestiscalculatedrespectivelyasfollows:
(1)Singlebus
495us+2*(8*60+7)us+97.35ms+495us+100*(64*60+63+8*60+7+9*60+8)us=552.534ms
(2)Groupingmode
495us+2*(8*60+7)us+97.35ms+20(64*60+63+8*60+7+9*60+8)us=189.804ms
Asthesmallproportionofthenumerationsystemconversionandthestoragetimeinthewholeperiod,theunknowncrystal-oscillatorfrequency,thenumerationsystem
conversionandstoragetimeisnotcounted.Accordingly,thealternatetesttimewhichgroupingmodeconsumesismuchshorterthansinglebusmodeobviously
Fig4DS18B20reversiontimesequenceFig4DS18B20reversiontimesequence
IV.EXAMPLEOFTHEDESIGN
Theasphalttransportationvehicleisthemaintransportationequipmentbetweenthematerialfieldandroadsurface.Theunavoidabletemperaturedecreasingbecauseoftheasphalttransportationvehicle’slongworkingandtransportationdistanceinfluencesthepavingqualityoftheroadsurface,thespecificmeasuresmustbetakenaccordingtotheheatreleaseoftheshell.ThispaperdesignedasetofwirelesstemperatureusingDS18B20groupingmodetestsystemfortestingthetemperatureoftheasphalttransportationvehicleshell,andthetotalpointsis120.Temperaturetestsystemsoftwareadoptsthemodulardesign.Thehypogenousmachinecollectsdata,storesdata,setsupDS18B20,andsendsthewirelessmoduleandsoon.TheepigenousmachineadoptsPCmachines,mainlyreceivesthetemperaturedatafromthehypogenousmachine.Theepigenousmachinedisplays,storesandmanagesdata.Thesimplecommunicationbetweenpeopleandmachinesisperformedbytheepigenousmachine.Thispaperwillnotillustratethesimpleprocedureoftheepigenousmachineindetail.Thefollowingistheillustrationofpartsofhypogenous
machine.includingthecomponentsofsystemhardware,softwarefunctionsandprocess.
A.Systemhardware
ConsideringthemultipointtemperaturenumberofthetemporarystorageandtheconsiderableinternalRAMduringthevalueconversion,thechiefcontrollingchipadoptsATMEL89C52Single-ChipMicrocomputerwith256bytesRAMand8KBE2PROMprocedurestorage.AsthedistinguishablecodeofDS18S20isreadandnumbered,theliquidcrystalmodule(AoKelaChineseintegratedmoduleof
OCMJJinPengCompany)andthekeyboardmoduleareadded.ThewirelessdigitaltransmissionadoptsthewirelessmodulePTR2000inthewholereception-sendingform,whichmayhastwoamateurbandstochooseandtheregulativeBaud
Rate(themaxis20Kbit/s),andtheSingle-ChipMicrocomputerserialportdatacanbereceiveddirectly.ThesystemhardwarestructureisshownasFig7:
DS18B20,withthepowersupply,dividedinto8groupshungonP1port(P1.0-P1.7).ThewirelessmoduleishungonserialportdirectlyandthehardwarewatchdogadoptstheMAX813chip.Whenthepowerisaddedtothesystem,the89C52reversionsignalistransmittedfromtheMAX813reversionpin,andthevalueofthereversionpulseis200ms.Whentheprocedureisinorder,apulsesignalmustbesenttoMAX813WDIpininnomorethantheintervalof1.6stoclearawaythewatch-dogtimer.Iftheintervalismorethan1.6s,thepindoesnotreceivethepulsesignal,andthenthe89C52mustbereversed.As120DS18B20serialnumbersmustbestoredinthesystem,thedatastorageDS1225(8K)againstthepowerfailureisdeveloped.
B.Systemsoftwarefunctionandprocess
ThesoftwarepartofthetemperaturetestsystemnumbersDS18B20,collectsandtransformsdata,performsthewirelesscommunication,manageskeyboardandsoon.Fortheconvenienceoftheproceduredebuggingandthereliability,themoduledesignisadopted,mainlyincludingthekeyboardprocessingmodule,thewirelesscommunicationmodule,themoduleoftemperaturecollectionandprocessing,thedisplaymoduleandsoon.ThesoftwareflowchartisshownasFig8Afterthereversionofaddpower89C52self-checksfirst,thenallocateseachbranchproceduremodule.Thechiefproceduremanagesthekeyboard,initializesthesystemand
transferseachfunctionalmodule.ThehaullineiskepttoperformDS18B20editmission.120poi
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- DS18B20 外文 翻译