版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、ThedigitaltemperaturesensorofDS18B20ThedigitaltemperaturesensorofDS18B20,ThisproductusestheAmericanDALLAScompanysDS18B20networkdigitaltemperaturesensorchippackage.butbecomewear-resistanttouch,thephysicalvolumeissmall,convenient,packagingformisvaried,Suitableforallkindsofnarrowspaceindigitaltemperatu
2、retestandcontrolfieldequipment.Unique1-WireTMinterfacerequiresonlyoneportpinforcommunication.Multidropcapabilitysimplifiesdistributedtemperaturesensingapplications,requiresnoexternalcomponents,Canbepoweredfromdataline.Powersupplyrangeis3.0Vto5.5V,Zerostandbypowerrequired,Measurestemperaturesfrom-55C
3、to+125C.Fahrenheitequivalentis-67Fto+257F,0.5Caccuracyfrom-10Cto+85C,Thermometerresolutionisprogrammablefrom9to12bits,Converts12-bittemperaturetodigitalwordin750ms(max.).User-definable,nonvolatiletemperaturealarmsettings,Alarmsearchcommandidentifiesandaddressesdeviceswhosetemperatureisoutsideofprogr
4、ammedlimits(temperaturealarmcondition).Applicationsincludethermostaticcontrols,industrialsystems,consumerproducts,thermometers,oranythermallysensitivesystem.1、 thedescriptionoftechniquefunction:1) Single-lineinterfaceisunique,DS18B20whilelinkingwithmicroprocessoronlyneedalinecanimmediatelycarryoutth
5、edoubleofmicroprocessorandDS18B20towardthecommunication.2) measurescope-55+125,propermeasureresolutions0.5.3) supportseveralsetnetsfunction,severalDS18B20canmergeatuniquethreeon-line,themostcanmerge8,ifamountwasexcessive,itwouldmakepowersupplythepowerelectricvoltageoverlow,resultinthusthesignaldeliv
6、ersofunsteady,therealizationsordertomeasuremore4) workthepower:35V|DC5) dontneedanyoutercirclecomponentintheuse6) measuretheresultmeasureawaystringwith912numberslinetransmission7) stainlesssteelsprotecttotakecareofdiameter68) beapplicabletoDN1525,DN40DN250variousequipmentsthatlieindustrialpipingofqu
7、alityandnarrowandsmallspacemeasure9) standardsinstallthethreadM10X1,M12X1.5,theG1|2termchooses10) PVCelectriccabledirectthelineorvirtuoustypeballtypeconnectlineboxline,theeasytoandotherelectricappliancesequipmentslinks.2、 Application1) productsareapplicabletocoldstorage,foodCang,keepabottle,tele-com
8、municationsengineroom,electricpowerengineroom,cableslotetc.measuresmoderatecontrolrealm2) stalktiles,urnbody,theFangmachine,theaircondition,waitsindustrialequipmentsofnarrowandsmallspacetomeasureamoderatecontrol.3) caraircondition,refrigerator,coldcabinet,andmediumlowtemperaturedryboxofetc.s.4) prov
9、idehot|makecoldpipingcaloriestocalculate,thecentralairconditiondividesathermalenergytocalculatetomeasureamoderatecontrolwithindustrialrealm3、ProductmodelnumberandspecificationtypetemperaturerangeinstallthreadelectriccablelengthapplypipingTS-18B20-55125no1.5mTS-18B20A-55125M10X11.5mDN1525TS-18B20B-55
10、1251/2GConnectslineboxDN40604、ConnectlineinstructionThecharacteristicsspecialfrontlineconnects,needsalinetocorrespondbylettertoordermoreabilityandsimplifiedadistributetypethetemperaturespreadthefeelingapplicationdidntneedanexternalcomponenttousedatatotallinepowersupply,theelectricvoltagescopehasneve
11、rneededtoprovideforusethepowerdiagraphtemperaturescopeforthe3.0-5.5VsBE-55cto+125C.TheFahrenheitisequalhence-67-257Fahrenheitdegree-102goto+85Caccuracyinsidethescopeis此5CThetemperaturespreadsafeelingmachinesprogrammableresolutiontoconvertinto12numberformatsfor912temperaturesbiggestbeworthto750amilli
12、-ofsecondthecustomercandefineofnotandeasilylosesextemperaturetoreporttothepolicetoestablishanapplicationtoincludeaconstanttemperaturecontrol,industrialsystem,consumeelectronicsproductthermometer,oranyhotsensitivesystemThenumberthermometerthatdescribestheDS18B20provides9-12(theprogrammableequipmentst
13、emperaturereadanumber.TheinformationisdisheveledhairtosendtoconnectthroughalinefromtheDS18B20,socentralmicroprocessorandDS18B20onlyhaveaperlineconjunction.Forreadandwriteandthetemperatureconversioncanacquireenergyfromthedataline,dontneedtocircumscribethepower.BecauseeachDS18B20includesaspecialordina
14、lnumber,severalds18bs20sesescanbeexistedtoatotallineatthesametime.Thismakesthetemperaturespreadafeelingmachinetoplaceinmanydifferentplaces.Itsuseisalotof,includeanairconditionenvironmentcontrol,detectequipmentsinsidethebuildingormachine,andcarryonprocessmonitorandcontrol.TheDS18B20internalstructurem
15、ainlyconstitutestofromthefour-partcent:64temperaturesthatonlyengraveROMandtemperaturetospreadafeelingmachineanddontvaporizereporttothepolicetotriggeramachineTHandTLandallocationtodepositamachine.WhileequipingsignallineGao,theinternalcapacitorstoresanenergyfromalineandcorrespondsbylettercircuittothef
16、ilmpowersupply,andatlowelectricityevenperiodforfilmpowersupplyuntilnextGaoDianPingsarrivalrefreshes.ThepoweroftheDS18B20canalso.5Velectricvoltagesgetfrom3Vs-5sintheexterior.TheDS18B20adoptsfrontlinecorrespondencetoconnect.Becausethefrontlinecorrespondenceconnects,havetopreviouslycompleteROMenactment
17、,otherwisememoryandcontrolfunctionwillcannotuse.Mainlyprovidefollowingfunctiontoorderanyfirstofa:1)readROM2)ROMmatch3)searchROM4)jumpROM5)reporttothepoliceacheck.Theseinstructionoperationthefunctionhasno64sequencesthatonlyengraveROMofasparepart,canbehangingseveralsparepartsonthefrontlinetomakeselect
18、ionacertainsparepart,atthesametime,thetotallinecanalsoknowalwayson-linehanghowmuch,whatkindofequipments.IftheinstructionsuccessfullymakestheDS18B20completiontemperaturemeasure,thedatasavesinthesavingmachineofDS18B20.TheperformanceofacontrolfunctionconductordesignationDS18B20measures.Measureresultwil
19、lbeplacedintheDS18B20memories,andcanletreadingtosendouttheconductorofrememberingthefunction,readingcontentsofsliceascendsavingmachine.ThetemperaturereportstothepolicetotriggermachineTHandTLstoallhaveonewordstanzaEEPROMdata.IfDS18B20nottheusereporttothepolicetocheckinstruction,thesedepositamachinetob
20、eageneralcustomertorememberuse.Stillcarrytothereisallocationwordsthestanzaconvertingbyidealsolutiontemperaturenumberontheslice.WriteTH,TLinstructionandallocationwordstanzamakesuseofinstructioncompletionthatremembersfunction.Passtoslowlysaveamachinetoreadtodepositamachine.Alldatasreadwritingallabegin
21、ningfromthelowest.TheDS18B20has4maindataparts:1、 onlyengrave64sequencesinROMarewhatfactoryfrontbeonlyengravedlikes,itcanseemaketheaddresssequencethatistheDS18B20code.64alignmentsthatonlyengraveROMare:Starting8(28Hs)istheproducttypemarknumber,immediatelyafterof48sequencesthatistheDS18B20oneself,last8
22、is56frontcirculatingredundancyschoolstocheckcode.(CRC=X8+Xs5+Xs4+s1)ThefunctionthatonlyengravesROMistomakeeachDS18B20alleachnotsame,socancarryoutapurposethatisalwayson-linetohangtoconnectseveralDS18B20s.2、 thetemperatureintheDS18B20spreadafeelingmachinetocompletethediagraphtothetemperatureandtake12c
23、onversionsasanexample:Thebinarysystemexpandingwith16signsrepairscodetoreadtocountaformtoprovide,with0.0625|theLSBformexpress,amongthem,theSisasign.ThesavingmachineofDS18B20includeshighspeedtotemporarysavemachineRAMandcangiveorgetanelectricshocktowipeinadditiontoRAM,cangiveorgetanelectricshocktowipei
24、nadditiontoRAMincludestemperaturetotriggermachineTHandTLagain,andanallocationdepositsamachine.Savingmachineabilitytheintegrityreallysettlethecommunicationoffront-lineport,thenumberstartsusingtowritetheorderofdepositingthemachinetowriteintodepositamachine,immediatelyaftercanalsouseorderofreadingtodep
25、ositthemachinetoconfirmthesenumbers.AfterconfirmingcanusetheorderthatthereplicationdepositsamachinecangiveorgetanelectricshocktowipetotransferthesenumberstoinadditiontoRAMin.Whileoncemodifyingtodepositthenumberinthemachine,thisprocesscanensuretheintegrityofnumber.ThehighspeedtemporarysavesmachineRAM
26、toconstitutetofromthesavingmachineof8wordstanzas;Thefirstandthesecondwordstanzaaretemperaturestoshow.ThefourthSha-howordstanzaistomakeduplicateTHandTL,atthesametimethefourthSha-honumberofwordstanzacanrenew;Thefifthwordstanzaistomakeduplicateallocationtodepositamachine,thefifthnumberofwordstanzacanre
27、newatthesametime;6,7,8,threewordstanzasarecalculatoroneselfuse.Usingreadsthattheorderthatdepositamachinecanreadtheninthwordstanza,thiswordstanzaiseightwordstanzastothefronttocarryonschoolstocheck.648ex-oneselfcodesthatisaDS18B20thatonlyengraveROM,next48areacontinuousnumbercode,8ofendisto56ex-oftheCR
28、Cschoolscheck.64-thelightofengraveROMandincludethefunctionorderof5ROMs:ReadROM,matchROM,jumpupROM,checktoseekROMandreporttothepolicetochecktoseek.TheDS18B20canuseexternalpowerVDDaswellasusethepowerinthelivingonofinnerpart.WhentheVDDportconnectstheelectricvoltagewith3.0VsVs-5.5sesisuseexternalpower;W
29、hentheVDDportconnectsgroundusedthepowerinthelivingonofinnerpart.Nomatterisaninnerparttoliveonthepoweroranexternalpowersupply,11theOlinewanttoconnecta5KQtoorsolyanduppullelectricresistance.Allocationsdepositingamachineistheconversionthatinstallsdifferentnumbertomakesuretemperatureandnumber.R1,theR0is
30、thedecisionoftemperature,fromtheR1,thedifferentcombinationofR0caninstallfor9,10,11,12temperaturesshow.Socanknowadifferenttemperatureconversiontoshouldofconversiontime,fourkindsofresolutionsofallocationsdistinguishto0.5,0.25,0.125and0.0625,factorytakeinstallingas12.DS18B20atfactorywithinstallfor12,re
31、adtemperaturetotallyread16,sotheempressis112entermaketoconvertinto10entermakeafteratmultiply0.0625isthenmeasureoftemperature,alsoneedtobejudgedplusorminus.Front5piecewordsaresigns,current5is1:00,readoftemperatureisminusquantity;5is0:00,readatpresentoftemperatureisplusquantity.16numbersputfromlowtoGa
32、oWei.Theinstructionagreesoncodeoperatinginstructions:1) Thetemperatureconvertsthe44HstartDS18B20tocarryonatemperatureconversion2) ReadtotemporarysavemachineBEHtoreadtotemporarysavemachine9wordstanzacontentses3) Writetemporaryandsavethemachine4EHstowriteinadatatemporaryTHofsavingthemachineandTLwordst
33、anza4) Thereplicationtemporarysavesthemachine48HstemporarysavetheTHofmachineandTLwordstanzatowriteE2RAM5) Re-adjusttheE2RAMB8sHswritetheE2THwithinRAMsandTLwordstanzatoarrivetotemporarysavemachineTHandTLwordstanzaandreadthatthesignalthattheB4HstartDS18B20ofthepowersupplymethodsendsoutthepowersupplyme
34、thodgiveslordCPUThebeginningofDS18B20startstoturn.1) placedatalinefirstGaoDianPing1.2) postpone(whatthetimerequestisntverystrict,butpossiblyalittlebitshorter)3) thedatalinepullalowelectricityeven0.4) postpone750.(thehorarytimescopecanfrom480-960)5) thedatalinepullGaoDianPing1.6) waitforwhilepostponi
35、ng(ifisearlytostarttobecomeanachievementthenin15-60timeinsideproducealowelectricitythatisreturnedbytheDS18B20even0.Canmakesureitsexistenceaccordingtothestatus,butshouldnoticecannotbeinfinitelycarryonwaitingfor,otherwisewillmakeproceduregetintotodiecirculating,socontrolwhilewantingtocarryontobesuper)
36、.7) ifCPUreadthedataison-linelowtogiveorgetanelectricshockeven0after,whilealsoneedingtodotopostponetimeforittopostponesfromsendoutofGaoDianPingstarttocalculatetoatleastwant480.8) pulldatalineagainGaoDaoGaotoendaftergivingorgettinganelectricshockiseven1.Asthesimplestructure,convenientinstallment,lowl
37、ossandwiderangeoftemperaturetest,DS18B20temperaturetestsensorsareappliedtothefieldswhichneedsthemultipointtemperaturetest,suchasthechemicalindustry,thegrain,theenvironmentsupervisionandsoon.BecauseoftheadoptionofonebusintheDS18B20multipointtemperaturetestsystem,allDS18B20arehungononebus,andthenthete
38、mperatureconversionvalueofeachtestpointisreadbyturns.Astheconversionvaluemustbereadafterreading-pinstatefor8times,andpositionandstoredatamustbemoved,sotimespendmuchinreadingonepointofthedatasystembyeverytime.Ifthetemperaturetestsystemislarge-scaled,thesystemlosscausedbyitisrathermuch,andthenthealter
39、natetestspeedofthesystemdecreasesobviously,whichinfluencestheefficiencyofthemultipointtemperaturetestsystemseriously.Inthispaper,DS18B20arehungonsomeI/ObusesbygroupingDS18B20evenly,andtheconversiontemperaturedataisobtainedbyreadingthestateofDS18B20,thenthesystemlossdecreasesandthealternatetestspeedi
40、ncreasesobviously,whichwoninfluencetheprecisionandthereliabilityoftheconversion.Asetofmultipointtemperaturetestofartificialenvironmentlaboratoryisachievedinthispaper,whichincreasesthetestefficiencyoftheformersystem.小|DS18B20isthesinglebusdigitaltemperaturesensorfromAmericanDallasCompany.DS18B20iscon
41、sistedofthe64figuresROMengravedbylaser,thetemperaturesensitivitycomponent,non-volatiletemperaturealarmstrigger(DeviceTHandTL).DS18B20communicateswiththemicroprocessorbythesinglebusportandthetestrangeofDS18B20isfrom-55centigradeto+125centigrade,andtheincrementalvalueis0.5centigrade.Thetemperaturecanb
42、echangedintofigureswithin720msandeachDS18B20hasthesole64figuresserialnumber.ThespecificcontentisrevealedasFig1:Therearetwo8figuresstorages(No.0andNo.1)forstoringtemperaturevalueinDS18B20.No.0storagestorescomplementofthetemperaturevalue,andNo.1storessymbolsofthetemperaturevalue.Theusercandefinenon-vo
43、latiletemperaturealarmssetsanddistinguishthealarmssearchorderandseekthecomponenttemperaturealarmsstateoutsidethescheduledlimit.Therearetwoalternativewaysofpowersupply:Signalbushigh-levelborrowpowerisadopted,orthe+5vpowersupplyexternallyisadopteddirectly.DS-18B20数字温度传感器DS-18B20数字温度传感器,该产品采用美国DALLAS公司
44、生产的DS18B20可组网数字温度传感器芯片封装而成,具有耐磨耐碰,体积小,使用方便,封装形式多样,适用于各种狭小空间设备数字测温和控制领域。DS18B20数字温度传感器,具有3引脚TO92小体积封装形式;温度测量范围为55C+125C,可编程为9位12位A/D转换精度,测温分辨率可达0.0625,被测温度用符号扩展的16位数字量的方式串行输出;其工作电源既可在远端引入,也可采用寄生电源方式产生;多个DS18B20可以并联到3根或2根线上,CPU只需一根端口线就能与诸多DS18B20通信,占用微处理器的端口较少,可节省大量的引线和逻辑电路。以上特点使DS18B20非常适用于远距离多点温度检测系
45、统。1、技术性能描述:1)独特的单线接口方式,DS18B20在与微处理器连接时仅需要一条口线即可实现微处理器与DS18B20的双向通讯。2)测温范围55C+125C,固有测温分辨率0.5C。3) 支持多点组网功能,多个DS18B20可以并联在唯一的三线上,最多只能并联8个,如果数量过多,会使供电电源电压过低,从而造成信号传输的不稳定,实现多点测温4) 工作电源:35V/DC5) 在使用中不需要任何外围元件6) 测量结果以912位数字量方式串行传送7)不锈钢保护管直径68) 适用于DN1525,DN40DN250各种介质工业管道和狭小空间设备测温9) 标准安装螺纹M10X1,M12X1.5,G1
46、/2任选10) PVC电缆直接出线或德式球型接线盒出线,便于与其它电器设备连接。2、应用范围:1) 该产品适用于冷冻库,粮仓,储罐,电讯机房,电力机房,电缆线槽等测温和控制领域2) 轴瓦,缸体,纺机,空调,等狭小空间工业设备测温和控制。3) 汽车空调、冰箱、冷柜、以及中低温干燥箱等。4) 供热/制冷管道热量计量,中央空调分户热能计量和工业领域测温和控制3、产品型号与规格:型号测温范围安装螺纹电缆长度适用管道TS-18B20-55125无1.5mTS-18B20A-55125M10X11.5mDN1525TS-18B20B-551251/2G接线盒DN40604、接线说明:特点独特的一线接口,只
47、需要一条口线通信多点能力,简化了分布式温度传感应用无需外部元件可用数据总线供电,电压范围为3.0V至5.5V无需备用电源测量温度范围为-55C至+125C。华氏相当于是-67到257华氏度-10C至+85C范围内精度为i05c温度传感器可编程的分辨率为912位温度转换为12位数字格式最大值为750毫秒用户可定义的非易失性温度报警设置应用范围包括恒温控制,工业系统,消费电子产品温度计,或任何热敏感系统描述该DS18B20的数字温度计提供9至12位(可编程设备温度读数。信息被发送到/从DS18B20通过1线接口,所以中央微处理器与DS18B20只有一个一条口线连接。为读写以及温度转换可以从数据线本
48、身获得能量,不需要外接电源。因为每一个DS18B20的包含一个独特的序号,多个ds18b20s可以同时存在于一条总线。这使得温度传感器放置在许多不同的地方。它的用途很多,包括空调环境控制,感测建筑物内温设备或机器,并进行过程监测和控制。DS18B20内部结构主要由四部分组成:64位光刻ROM、温度传感器、非挥发的温度报警触发器TH和TL、配置寄存器。该装置信号线高的时候,内部电容器储存能量通由1线通信线路给片子供电,而且在低电平期间为片子供电直至下一个高电平的到来重新充电。DS18B20的电源也可以从外部3V-5.5V的电压得到。DS18B20采用一线通信接口。因为一线通信接口,必须在先完成R
49、OM设定,否则记忆和控制功能将无法使用。主要首先提供以下功能命令之一:1)读ROM2)ROM匹配3)搜索ROM4)跳过ROM5)报警检查。这些指令操作作用在没有一个器件的64位光刻ROM序列号,可以在挂在一线上多个器件选定某一个器件,同时,总线也可以知道总线上挂有多少,什么样的设备。若指令成功地使DS18B20完成温度测量,数据存储在DS18B20的存储器。一个控制功能指挥指示DS18B20的演出测温。测量结果将被放置在DS18B20内存中,并可以让阅读发出记忆功能的指挥,阅读内容的片上存储器。温度报警触发器TH和TL都有一字节EEPROM的数据。如果DS18B20不使用报警检查指令,这些寄存
50、器可作为一般的用户记忆用途。在片上还载有配置字节以理想的解决温度数字转换。写TH,TL指令以及配置字节利用一个记忆功能的指令完成。通过缓存器读寄存器。所有数据的读,写都是从最低位开始。DS18B20有4个主要的数据部件:1、 光刻ROM中的64位序列号是出厂前被光刻好的,它可以看作是该DS18B20的地址序列码。64位光刻ROM的排列是:开始8位(28H)是产品类型标号,接着的48位是该DS18B20自身的序列号,最后8位是前面56位的循环冗余校验码(CRC=X8+X5+X4+1)。光刻ROM的作用是使每一个DS18B20都各不相同,这样就可以实现一根总线上挂接多个DS18B20的目的。2、
51、DS18B20中的温度传感器可完成对温度的测量,以12位转化为例:用16位符号扩展的二进制补码读数形式提供,以0.0625/LSB形式表达,其中S为符号位。DS18B20的存储器包括高速暂存器RAM和可电擦除RAM,可电擦除RAM又包括温度触发器TH和TL,以及一个配置寄存器。存储器能完整的确定一线端口的通讯,数字开始用写寄存器的命令写进寄存器,接着也可以用读寄存器的命令来确认这些数字。当确认以后就可以用复制寄存器的命令来将这些数字转移到可电擦除RAM中。当修改过寄存器中的数时,这个过程能确保数字的完整性。高速暂存器RAM是由8个字节的存储器组成;第一和第二个字节是温度的显示位。第三和第四个字节是复制TH和TL,同时第三和第四个字节的数字可以更新;第五个字节是复制配置寄存器,同时第五个字节的数字可以更新;六、七、八,三个字节是计算机自身使用。用读寄存器的命令能读
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 玉溪师范学院《数据结构与算法》2021-2022学年期末试卷
- 玉溪师范学院《模拟电子技术实验》2021-2022学年期末试卷
- 道路运输企业主要负责人理论考试题及答案-知识题库
- 国际金融实务教案
- 第一新声-2024年中国CRM市场研究报告
- 2024年玻璃石材家具项目成效分析报告
- 2024届河北省石家庄市晋州一中第一次高中毕业生复习统一检测试题数学试题
- 2024届广西壮族自治区桂林市人教A版高中数学试题高三二轮函数的图象与性质测试
- 2024届广西钦州市第三中学高三数学试题3月25日第4周测试题
- 采购合同履约检查方案
- 四平事业单位笔试真题及答案2024
- 2024广西专业技术人员继续教育公需科目参考答案(100分)
- 一年级数学上册苏教版《连加、连减》教学设计
- 北师大版数学二年级上册小学数学口算、简算、计算、应用题及能力提升训练检测题(含答案)
- 中国风非遗文化介绍山东大鼓
- 2022电化学储能电站安全规程
- 跨文化商务交际课程教学大纲
- 电动车安全主题教育
- 2024年国家公考《申论》题(副省级)(题目及答案解析)
- DL∕T 985-2022 配电变压器能效技术经济评价导则
- 学前儿童英语教育与活动指导(学前教育专业)全套教学课件
评论
0/150
提交评论